
:root {

    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-tertiary: #1a1a1a;
    --bg-card: rgba(20, 20, 20, 0.8);
    --bg-glass: rgba(255, 255, 255, 0.03);
    --bg-glass-hover: rgba(255, 255, 255, 0.08);
    --bg-input: rgba(255, 255, 255, 0.05);

    --text-primary: #ffffff;
    --text-secondary: #e5e5e5;
    --text-muted: #888888;
    --text-dark: #0a0a0a;

    --border-light: rgba(255, 255, 255, 0.08);
    --border-medium: rgba(255, 255, 255, 0.15);
    --border-strong: rgba(255, 255, 255, 0.25);

    --color-success: #22c55e;
    --color-error: #ef4444;
    --color-warning: #f59e0b;
    --color-info: #3b82f6;

    --color-star: #fbbf24;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px rgba(255, 255, 255, 0.1);
    --blur-glass: blur(12px);
    --blur-strong: blur(20px);

    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-bounce: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;

    --container-max: 1200px;
    --container-padding: 20px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 400;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    line-height: 1.6;
    letter-spacing: 0.3px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition-normal);
}

a:hover {
    color: var(--text-secondary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}


.main-container {
    min-height: calc(100vh - 180px);
}

.section-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding-top: 40px;
}


h1, h2, h3, h4, h5, h6 {
    font-weight: 300;
    letter-spacing: 1px;
    line-height: 1.3;
}

h1 { font-size: 48px; }
h2 { font-size: 36px; }
h3 { font-size: 24px; }
h4 { font-size: 20px; }
h5 { font-size: 18px; }
h6 { font-size: 16px; }

.section-title {
    font-size: 28px;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 20px !important;
    color: var(--text-primary);
}


.icon {
    width: 1em;
    height: 1em;
    display: inline-block;
    vertical-align: middle;
    stroke: currentColor;
    fill: none;
}

.icon-sm { width: 16px; height: 16px; }
.icon-md { width: 20px; height: 20px; }
.icon-lg { width: 24px; height: 24px; }
.icon-xl { width: 32px; height: 32px; }

.icon-filled {
    fill: currentColor;
    stroke: none;
}

.icon-star-filled {
    fill: var(--color-star);
    stroke: none;
    color: var(--color-star);
}

.placeholder-icon {
    width: 48px;
    height: 48px;
    color: var(--text-muted);
}


.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: var(--blur-glass);
    -webkit-backdrop-filter: var(--blur-glass);
    border-bottom: 1px solid var(--border-light);
    transition: var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
}

.navbar-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 16px var(--container-padding);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.navbar-brand {
    flex-shrink: 0;

}
.navbar-brand img {
    width: 150px;
    height: auto;

}

.logo-link {
    font-size: 20px;
    font-weight: 300;
    letter-spacing: 4px;
    color: var(--text-primary);
    text-transform: uppercase;
}

.logo-link:hover {
    color: var(--text-secondary);
}


.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    flex: 1;
    justify-content: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-secondary);
    padding: 8px 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--text-primary);
    transition: var(--transition-normal);
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:hover::after {
    width: 100%;
}

.dropdown-trigger {
    position: relative;
}

.dropdown-catalog {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 180px;
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: var(--blur-strong);
    -webkit-backdrop-filter: var(--blur-strong);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(10px);
    transition: var(--transition-normal);
    box-shadow: var(--shadow-lg);
}

.dropdown-trigger:hover .dropdown-catalog {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-catalog a {
    display: block;
    padding: 10px 20px;
    font-size: 13px;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.dropdown-catalog a:hover {
    background: var(--bg-glass-hover);
    color: var(--text-primary);
}


.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.user-menu {
    position: relative;
}

.user-link {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 8px 12px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-normal);
}

.user-link:hover {
    background: var(--bg-glass-hover);
    border-color: var(--border-medium);
    color: var(--text-primary);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 200px;
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: var(--blur-strong);
    -webkit-backdrop-filter: var(--blur-strong);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-normal);
    box-shadow: var(--shadow-lg);
}

.user-menu:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    font-size: 13px;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.dropdown-item:hover {
    background: var(--bg-glass-hover);
    color: var(--text-primary);
}

.cart-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
}

.cart-link:hover {
    background: var(--bg-glass-hover);
    border-color: var(--border-medium);
}

.cart-link .icon {
    width: 20px;
    height: 20px;
}

.cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 20px;
    height: 20px;
    background: var(--text-primary);
    color: var(--bg-primary);
    font-size: 11px;
    font-weight: 600;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
}


.mobile-menu-btn {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    background: transparent;
    color: var(--text-primary);
    transition: var(--transition-normal);
}

.mobile-menu-btn:hover {
    background: var(--bg-glass-hover);
}

.mobile-menu-btn .icon {
    width: 24px;
    height: 24px;
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: var(--blur-strong);
    -webkit-backdrop-filter: var(--blur-strong);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    max-width: 320px;
    background: var(--bg-secondary);
    padding: 24px;
    transform: translateX(-100%);
    transition: var(--transition-slow);
    overflow-y: auto;
    z-index: 2001;
}

.mobile-menu-overlay.active .mobile-menu {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
}

.mobile-menu-close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    color: var(--text-primary);
    transition: var(--transition-normal);
}

.mobile-menu-close:hover {
    background: var(--bg-glass-hover);
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    font-size: 15px;
    color: var(--text-secondary);
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
}

.mobile-nav-item:hover,
.mobile-nav-item.active {
    background: var(--bg-glass-hover);
    color: var(--text-primary);
}

.mobile-nav-item .icon {
    width: 20px;
    height: 20px;
}

.mobile-menu-divider {
    height: 1px;
    background: var(--border-light);
    margin: 16px 0;
}


.btn-primary,
.btn-secondary,
.btn-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: var(--radius-lg);
    transition: var(--transition-normal);
    cursor: pointer;
}

.btn-primary {
    background: var(--text-primary);
    color: var(--bg-primary);
    border: 1px solid var(--text-primary);
}

.btn-primary:hover {
    background: transparent;
    color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-medium);
}

.btn-secondary:hover {
    background: var(--bg-glass-hover);
    border-color: var(--border-strong);
    transform: translateY(-2px);
}

.btn-link {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-light);
    padding: 10px 20px;
}

.btn-link:hover {
    background: var(--bg-glass-hover);
    color: var(--text-primary);
    border-color: var(--border-medium);
}

.btn-small {
    padding: 8px 16px;
    font-size: 12px;
}

.btn-block {
    width: 100%;
}

.btn-danger {
    color: var(--color-error);
    border-color: var(--color-error);
}

.btn-danger:hover {
    background: rgba(239, 68, 68, 0.1);
}

.btn-icon {
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: var(--radius-md);
}

.btn-remove {
    background: none;
    border: none;
    color: var(--color-error);
    font-size: 13px;
    padding: 8px 12px;
    cursor: pointer;
    transition: var(--transition-normal);
}

.btn-remove:hover {
    background: rgba(239, 68, 68, 0.1);
    border-radius: var(--radius-sm);
}


.card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: var(--transition-normal);
}

.card:hover {
    border-color: var(--border-medium);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: var(--transition-normal);
    position: relative;
}

.product-card:hover {
    border-color: var(--border-medium);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-image-wrapper {
    position: relative;
    overflow: hidden;
    background: var(--bg-tertiary);
}

.product-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: var(--transition-slow);
}

.product-placeholder {
    width: 100%;
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
}

.product-info {
    padding: 20px;
}

.product-name {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 6px;
    line-height: 1.4;
    color: var(--text-primary);
}

.product-category {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-description {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.5;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-price {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-primary);
}

.product-link {
    padding: 10px 16px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
}

.product-link:hover {
    background: var(--text-primary);
    color: var(--bg-primary);
}

.out-of-stock-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 8px 12px;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(239, 68, 68, 0.9);
    color: white;
    border-radius: var(--radius-sm);
}

.category-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 24px;
    text-align: center;
    transition: var(--transition-normal);
    cursor: pointer;
}

.category-card:hover {
    border-color: var(--border-medium);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.category-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    margin-bottom: 16px;
}

.category-placeholder {
    width: 100%;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border-radius: var(--radius-lg);
    margin-bottom: 16px;
    font-size: 40px;
}

.category-name {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 12px;
}

.category-link {
    display: inline-block;
    padding: 10px 20px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
}

.category-link:hover {
    background: var(--text-primary);
    color: var(--bg-primary);
    border-color: var(--text-primary);
}

.spec-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 40px 32px;
    text-align: center;
    transition: var(--transition-normal);
}

.spec-card:hover {
    border-color: var(--border-medium);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.spec-icon {
    font-size: 48px;
    margin-bottom: 24px;
}

.spec-card h3 {
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 16px;
}

.spec-card p {
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.7;
}

.spec-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
    letter-spacing: 0.5px;
}

.spec-link:hover {
    gap: 12px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 8px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
}

.specialization-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}


.hero-section {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 40px;
    text-align: center;
    background-image: url('../images/фон.jpg');
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid var(--border-light);
    margin-top: 76px;
}

.hero-content {
    max-width: 700px;
}

.hero-title {
    font-size: 64px;
    font-weight: 100;
    letter-spacing: 12px;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: 20px;
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 16px;
    letter-spacing: 2px;
    text-align: center !important;
}

.hero-description {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-btn {
    padding: 16px 40px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: var(--radius-lg);
    transition: var(--transition-normal);
}

.hero-btn:first-child {
    background: var(--text-primary);
    color: var(--bg-primary);
    border: 1px solid var(--text-primary);
}

.hero-btn:first-child:hover {
    background: transparent;
    color: var(--text-primary);
    transform: translateY(-2px);
}

.hero-btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-medium);
}

.hero-btn-secondary:hover {
    background: var(--bg-glass-hover);
    border-color: var(--text-primary);
    transform: translateY(-2px);
}


.specialization-section,
.categories-section,
.featured-section {
    padding: 80px 0;
}

.about-preview {
    background: var(--bg-secondary);
    padding: 80px 40px;
    margin: 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.about-preview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: var(--container-max);
    margin: 0 auto;
}

.about-preview-text h2 {
    font-size: 32px;
    font-weight: 300;
    margin-bottom: 24px;
}

.about-preview-text p {
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-preview-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.mini-stat {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 28px;
    text-align: center;
}

.mini-stat-number {
    font-size: 28px;
    font-weight: 300;
    margin-bottom: 8px;
}

.mini-stat-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.features-section {
    background: var(--bg-secondary);
    padding: 80px 40px;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.feature-box {
    text-align: center;
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    transition: var(--transition-normal);
}

.feature-box:hover {
    border-color: var(--border-medium);
    transform: translateY(-4px);
}

.feature-icon {
    font-size: 32px;
    margin-bottom: 20px;
}

.feature-title {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 12px;
}

.feature-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}


.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
}

.form-control,
.search-input {
    width: 100%;
    padding: 14px 16px;
    font-size: 14px;
    background: var(--bg-input);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    transition: var(--transition-normal);
}

.form-control::placeholder,
.search-input::placeholder {
    color: var(--text-muted);
}

.form-control:focus,
.search-input:focus {
    outline: none;
    border-color: var(--border-strong);
    background: var(--bg-glass-hover);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.05);
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='1.5'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
}

select.form-control option {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.quantity-input {
    width: 80px;
    padding: 10px 12px;
    text-align: center;
    background: var(--bg-input);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    color: var(--text-primary);
}

.quantity-input:focus {
    outline: none;
    border-color: var(--border-strong);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-section {
    margin-bottom: 32px;
    padding: 0;
    border: none;
}

.form-section legend {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-light);
    width: 100%;
}


.alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px;
    margin: 0 var(--container-padding) 20px;
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    border-radius: var(--radius-lg);
    border: 1px solid;
    background: var(--bg-card);
    backdrop-filter: var(--blur-glass);
}

.alert-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.alert ul {
    margin: 0;
    padding-left: 16px;
}

.alert-success {
    border-color: var(--color-success);
    color: var(--color-success);
}

.alert-error {
    border-color: var(--color-error);
    color: var(--color-error);
}


.product-detail-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
}

.product-detail-image {
    position: sticky;
    top: 100px;
}

.product-detail-img {
    width: 100%;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
}

.product-detail-placeholder {
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
}

.product-detail-placeholder .icon {
    width: 80px;
    height: 80px;
    color: var(--text-muted);
}

.breadcrumb {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.breadcrumb a {
    color: var(--text-secondary);
}

.breadcrumb a:hover {
    color: var(--text-primary);
}

.product-detail-title {
    font-size: 36px;
    font-weight: 300;
    margin-bottom: 12px;
}

.product-detail-category {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.rating-section {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-light);
}

.rating {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    font-weight: 500;
}

.rating .icon {
    color: var(--color-star);
}

.review-count {
    font-size: 13px;
    color: var(--text-muted);
}

.product-detail-description {
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.8;
    font-size: 15px;
}

.product-detail-actions {
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border-light);
}

.price-section {
    display: flex;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 24px;
}

.price-label {
    font-size: 13px;
    color: var(--text-muted);
}

.price-value {
    font-size: 36px;
    font-weight: 300;
}

.quantity-section {
    margin-bottom: 24px;
}

.quantity-section label {
    display: block;
    margin-bottom: 10px;
    font-size: 13px;
    color: var(--text-muted);
}

.stock-info {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 16px;
}

.out-of-stock-message {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
    color: var(--text-muted);
}

/* Reviews */
.reviews-section {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 1px solid var(--border-light);
}

.review-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 32px;
    margin-bottom: 40px;
}

.review-form-wrapper h3 {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 24px;
}

.review-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.review-item {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 24px;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.review-author {
    font-weight: 500;
}

.review-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.review-rating .icon {
    color: var(--color-star);
}

.review-comment {
    color: var(--text-secondary);
    margin-bottom: 12px;
    line-height: 1.6;
}

.review-date {
    font-size: 12px;
    color: var(--text-muted);
}

.related-products {
    margin-top: 80px;
}


.catalog-wrapper {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
}

.sidebar {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 24px;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.sidebar-section {
    margin-bottom: 32px;
}

.sidebar-section:last-child {
    margin-bottom: 0;
}

.sidebar-title {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-light);
}

.search-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.search-btn {
    padding: 12px;
    background: var(--text-primary);
    color: var(--bg-primary);
    border: none;
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition-normal);
}

.search-btn:hover {
    background: var(--text-secondary);
}

.category-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.category-item {
    display: block;
    padding: 12px 16px;
    font-size: 14px;
    color: var(--text-muted);
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
}

.category-item:hover,
.category-item.active {
    background: var(--bg-glass-hover);
    color: var(--text-primary);
}

.sort-select {
    width: 100%;
    padding: 12px;
    background: var(--bg-input);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 14px;
    cursor: pointer;
}

.main-content {
    min-height: 400px;
}

.search-info {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 48px;
}

.pagination-item {
    min-width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    font-size: 14px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
    cursor: pointer;
}

.pagination-item:hover,
.pagination-item.active {
    background: var(--text-primary);
    color: var(--bg-primary);
    border-color: var(--text-primary);
}

.cart-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
}

.cart-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 20px;
    transition: var(--transition-normal);
}

.cart-item:hover {
    border-color: var(--border-medium);
}

.cart-item-image img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.cart-item-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cart-item-title {
    font-size: 16px;
    font-weight: 500;
}

.cart-item-price {
    font-size: 14px;
    color: var(--text-muted);
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-muted);
}

.cart-item-subtotal {
    font-size: 15px;
    font-weight: 500;
}

.cart-summary {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 28px;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.cart-summary h2 {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 14px;
    color: var(--text-muted);
}

.summary-row.total-row {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-primary);
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}

.summary-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
}

.cart-table th {
    text-align: left;
    padding: 16px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-light);
}

.cart-table td {
    padding: 20px 16px;
    border-bottom: 1px solid var(--border-light);
}

.cart-row:hover {
    background: var(--bg-glass);
}

.product-cell {
    display: flex;
    align-items: center;
    gap: 16px;
}

.cart-product-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.cart-product-placeholder {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border-radius: var(--radius-lg);
}

.cart-product-name {
    font-weight: 500;
}

.price-cell,
.subtotal-cell,
.quantity-cell,
.actions-cell {
    text-align: center;
}


.checkout-wrapper {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
}

.checkout-form-section h2 {
    font-size: 28px;
    font-weight: 300;
    margin-bottom: 40px;
}

.checkout-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.checkout-summary {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 28px;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.checkout-summary h2 {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 24px;
}

.order-items {
    margin-bottom: 24px;
}

.order-item {
    display: flex;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-light);
}

.item-info {
    flex: 1;
}

.item-name {
    font-weight: 500;
    margin-bottom: 4px;
}

.item-qty {
    font-size: 12px;
    color: var(--text-muted);
}

.item-total {
    font-weight: 500;
}

.summary-divider {
    height: 1px;
    background: var(--border-medium);
    margin: 20px 0;
}

.order-confirmation {
    max-width: 800px;
    margin: 0 auto;
}

.confirmation-header {
    text-align: center;
    margin-bottom: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--border-light);
}

.confirmation-header h1 {
    font-size: 36px;
    font-weight: 300;
    margin-bottom: 12px;
}

.order-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 32px;
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-light);
}

.order-header h2 {
    font-size: 20px;
    font-weight: 400;
}

.order-status {
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--radius-md);
    border: 1px solid;
}

.status-pending {
    color: var(--color-warning);
    border-color: var(--color-warning);
    background: rgba(245, 158, 11, 0.1);
}

.status-processing {
    color: var(--color-info);
    border-color: var(--color-info);
    background: rgba(59, 130, 246, 0.1);
}

.status-shipped {
    color: var(--color-info);
    border-color: var(--color-info);
    background: rgba(59, 130, 246, 0.1);
}

.status-delivered {
    color: var(--color-success);
    border-color: var(--color-success);
    background: rgba(34, 197, 94, 0.1);
}

.status-cancelled {
    color: var(--color-error);
    border-color: var(--color-error);
    background: rgba(239, 68, 68, 0.1);
}

.order-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.info-item {
    background: var(--bg-glass);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 16px;
}

.info-item label {
    display: block;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.order-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 32px;
}

.order-table th {
    text-align: left;
    padding: 16px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-light);
}

.order-table td {
    padding: 16px;
    border-bottom: 1px solid var(--border-light);
}

.order-product-link {
    font-weight: 500;
}

.delivery-address {
    background: var(--bg-glass);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 32px;
}

.delivery-address h3 {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
}

.order-actions {
    display: flex;
    gap: 16px;
}

.orders-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 24px;
    text-align: center;
}

.stat-number {
    font-size: 32px;
    font-weight: 300;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.orders-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.order-card-item {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.order-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: var(--bg-glass);
    border-bottom: 1px solid var(--border-light);
}

.order-card-body {
    padding: 24px;
}


.auth-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 250px);
    padding: 40px 20px;
}

.auth-form-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-2xl);
    padding: 48px;
    width: 100%;
    max-width: 420px;
}

.auth-form-card h2 {
    text-align: center;
    font-size: 28px;
    font-weight: 300;
    margin-bottom: 32px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.auth-link {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: var(--text-muted);
}

.auth-link a {
    color: var(--text-primary);
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 3px;
}


.account-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.account-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 28px;
}

.account-card h3 {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
}

.account-info-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
}

.account-info-item:last-child {
    border-bottom: none;
}

.account-info-label {
    color: var(--text-muted);
    font-size: 14px;
}

.account-info-value {
    font-weight: 500;
}


.contacts-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contacts-info h2 {
    font-size: 28px;
    font-weight: 300;
    margin-bottom: 32px;
}

.contact-item {
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border-light);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item h3 {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-item p {
    color: var(--text-muted);
    margin-bottom: 6px;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
}

.social-link:hover {
    background: var(--bg-glass-hover);
    border-color: var(--border-medium);
}

.contact-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 32px;
    height: fit-content;
}

.contact-form-wrapper h2 {
    font-size: 24px;
    font-weight: 300;
    margin-bottom: 28px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}


.admin-dashboard h2 {
    font-size: 28px;
    font-weight: 300;
    margin-bottom: 32px;
}

.dashboard-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 28px;
    text-align: center;
    transition: var(--transition-normal);
}

.dashboard-card:hover {
    border-color: var(--border-medium);
    transform: translateY(-4px);
}

.card-title {
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.card-number {
    font-size: 36px;
    font-weight: 300;
    margin-bottom: 16px;
}

.card-link {
    display: inline-block;
    padding: 10px 20px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: var(--text-primary);
    color: var(--bg-primary);
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
}

.card-link:hover {
    background: var(--text-secondary);
}


.admin-header h2 {
    margin: 0;
}

.table-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-bottom: 32px;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th {
    text-align: left;
    padding: 16px 20px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    background: var(--bg-glass);
    border-bottom: 1px solid var(--border-light);
}

.admin-table td {
    padding: 16px 0px;
    font-size: 14px;
}

.admin-table tr:last-child td {
    border-bottom: none;
}

.admin-table tr:hover td {
    background: var(--bg-glass);
}

.actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.status-select {
    padding: 8px 12px;
    background: var(--bg-input);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 12px;
    cursor: pointer;
}

.status-toggle {
    padding: 6px 12px;
    background: transparent;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 12px;
    cursor: pointer;
    transition: var(--transition-normal);
}

.status-toggle:hover {
    background: var(--bg-glass-hover);
}

.status-active { color: var(--color-success); }
.status-inactive { color: var(--color-error); }
.status-admin { color: var(--text-primary); font-weight: 500; }
.status-user { color: var(--text-muted); }

/* Admin Form */
.admin-form-wrapper {
    max-width: 600px;
}

.admin-form-wrapper h2 {
    font-size: 28px;
    font-weight: 300;
    margin-bottom: 32px;
}

.admin-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-actions {
    display: flex;
    gap: 16px;
    margin-top: 16px;
}

.current-image {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}

.current-image img {
    max-width: 100px;
    border-radius: var(--radius-md);
}


.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-light);
    padding: 60px 20px 24px;
    margin-top: 80px;
}

.footer-container {
    max-width: var(--container-max);
    margin: 0 auto;
    display: grid;
    gap: 60px;
    margin-bottom: 40px;
}
.footer-top {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-links {
     display: flex;
     gap: 40px;
}
.footer-social{
    display: flex;
    gap: 16px;
    margin-top: 16px;
}
.footer-title{
    margin-bottom: 14px;
}
.footer-brand {
    padding-right: 40px;
}

.footer-logo img {
    width: 150px;
    height: auto;
}

.footer-description {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
}

.footer-section h3 {
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.footer-list li {
    margin-bottom: 12px;
}

.footer-list a {
    font-size: 14px;
    color: var(--text-muted);
    transition: var(--transition-normal);
}

.footer-list a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--border-light);
    font-size: 13px;
    color: var(--text-muted);
}


.empty-state {
    text-align: center;
    padding: 80px 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
}

.empty-state p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.empty-message {
    text-align: center;
    color: var(--text-muted);
    padding: 40px;
    font-style: italic;
}


.about-hero {
    text-align: center;
    padding: 80px 40px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-light);
    margin-top: 76px;
}

.about-hero h1 {
    font-size: 48px;
    font-weight: 100;
    letter-spacing: 8px;
    margin-bottom: 20px;
}

.about-hero p {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

.about-section {
    padding: 80px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}


.review-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 28px;
    margin-bottom: 20px;
}

.review-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.review-product-name {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 8px;
}

.review-rating-large {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 18px;
    font-weight: 500;
}

.review-rating-large .icon {
    color: var(--color-star);
}

.review-product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    margin-bottom: 16px;
}


.error-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 250px);
    text-align: center;
    padding: 40px 20px;
}

.error-code {
    font-size: 120px;
    font-weight: 100;
    letter-spacing: 20px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.error-message {
    font-size: 24px;
    font-weight: 300;
    margin-bottom: 32px;
}


@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.animate-fade-in {
    animation: fadeIn 0.5s ease forwards;
}

.animate-fade-in-up {
    animation: fadeInUp 0.5s ease forwards;
}

.animate-shake {
    animation: shake 0.3s ease;
}

.animate-pulse {
    animation: pulse 0.3s ease;
}

.stagger-item {
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards;
}

.stagger-item:nth-child(1) { animation-delay: 0.1s; }
.stagger-item:nth-child(2) { animation-delay: 0.2s; }
.stagger-item:nth-child(3) { animation-delay: 0.3s; }
.stagger-item:nth-child(4) { animation-delay: 0.4s; }
.stagger-item:nth-child(5) { animation-delay: 0.5s; }
.stagger-item:nth-child(6) { animation-delay: 0.6s; }

@media (max-width: 1024px) {
    .hero-title {
        font-size: 48px;
        letter-spacing: 8px;
    }

    .about-preview-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .checkout-wrapper {
        grid-template-columns: 1fr;
    }

    .contacts-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-menu-overlay {
        display: block;
    }

    .hero-section {
        padding: 60px 20px;
        min-height: auto;
    }

    .hero-title {
        font-size: 32px;
        letter-spacing: 4px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-btn {
        width: 100%;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .specialization-grid {
        grid-template-columns: 1fr;
    }

    .about-preview-stats {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .catalog-wrapper {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
        margin-bottom: 24px;
    }

    .product-detail-wrapper {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .product-detail-image {
        position: static;
    }

    .product-detail-title {
        font-size: 28px;
    }

    .cart-wrapper {
        grid-template-columns: 1fr;
    }

    .cart-summary {
        position: static;
    }

    .cart-item {
        grid-template-columns: 80px 1fr;
    }

    .cart-item-image img {
        width: 80px;
        height: 80px;
    }

    .checkout-wrapper {
        grid-template-columns: 1fr;
    }

    .checkout-summary {
        position: static;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    /* Order */
    .order-info-grid {
        grid-template-columns: 1fr;
    }

    .orders-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .footer-brand {
        padding-right: 0;
    }

    /* Typography */
    .section-title {
        font-size: 22px;
    }

    h1 { font-size: 32px; }
    h2 { font-size: 26px; }
}

@media (max-width: 480px) {
    :root {
        --container-padding: 16px;
    }

    /* Navbar */
    .navbar-container {
        padding: 12px 16px;
    }

    .logo-link {
        font-size: 16px;
        letter-spacing: 2px;
    }

    /* Hero */
    .hero-title {
        font-size: 24px;
        letter-spacing: 2px;
    }

    .hero-section {
        padding: 40px 16px;
    }

    /* Grids */
    .products-grid {
        grid-template-columns: 1fr;
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .orders-stats {
        grid-template-columns: 1fr;
    }

    /* Product */
    .product-image {
        height: 200px;
    }

    .product-info {
        padding: 16px;
    }

    .product-price {
        font-size: 16px;
    }

    /* Buttons */
    .btn-primary,
    .btn-secondary {
        padding: 12px 20px;
        font-size: 12px;
    }

    /* Auth */
    .auth-form-card {
        padding: 32px 24px;
    }

    /* About */
    .about-hero h1 {
        font-size: 32px;
        letter-spacing: 4px;
    }

    /* Error */
    .error-code {
        font-size: 80px;
    }
}

@media print {
    .navbar,
    .footer,
    .mobile-menu-overlay {
        display: none;
    }

    body {
        background: white;
        color: black;
    }

    .main-container {
        padding: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}


::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--border-medium);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--border-strong);
}

::selection {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
}

.glass-card {
    background: var(--bg-card);
    backdrop-filter: var(--blur-glass);
    -webkit-backdrop-filter: var(--blur-glass);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 24px;

}

/* Layout */
.account-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
}

@media (max-width: 768px) {
    .account-layout {
        grid-template-columns: 1fr;
    }
}

.page-header {
    background: var(--bg-secondary);
    padding: 60px 0 40px;
    border-bottom: 1px solid var(--border-light);
    margin-top: 46px;
}

.page-title {
    font-size: 32px;
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.page-subtitle {
    color: var(--text-muted);
    font-size: 14px;
}

/* Sidebar Navigation */
.account-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.account-nav {
    padding: 8px;
}

.account-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    font-size: 14px;
    color: var(--text-secondary);
    border-radius: var(--radius-lg);
    transition: var(--transition-normal);
    margin-bottom: 4px;
}

.account-nav-item:hover {
    background: var(--bg-glass-hover);
    color: var(--text-primary);
}

.account-nav-item.active {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    font-weight: 500;
}

.account-nav-item.logout {
    color: var(--color-error);
    margin-top: 8px;
    border-top: 1px solid var(--border-light);
    padding-top: 18px;
}

.account-nav-item.logout:hover {
    background: rgba(239, 68, 68, 0.1);
}

/* Account Stats */
.account-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

@media (max-width: 768px) {
    .account-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .account-stats {
        grid-template-columns: 1fr;
    }
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    transition: var(--transition-normal);
}

.stat-card:hover {
    border-color: var(--border-medium);
    transform: translateY(-2px);
}

.stat-card .icon {
    width: 32px;
    height: 32px;
    color: var(--text-primary);
}

.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 24px;
    font-weight: 500;
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Account Grid */
.account-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

@media (max-width: 768px) {
    .account-grid {
        grid-template-columns: 1fr;
    }
}

/* Account Card */
.account-card {
    padding: 24px;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
}

.card-header h3 {
    font-size: 18px;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

/* Profile Info */
.profile-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
}

.info-value {
    font-weight: 500;
    text-align: right;
}

/* Recent Orders */
.recent-orders {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: var(--bg-glass);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    transition: var(--transition-normal);
}

.order-item:hover {
    background: var(--bg-glass-hover);
    border-color: var(--border-medium);
    transform: translateY(-2px);
}

.order-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.order-number {
    font-weight: 500;
    font-size: 14px;
}

.order-date {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-muted);
}

.order-status {
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--radius-sm);
    border: 1px solid;
}

.status-pending {
    color: var(--color-warning);
    border-color: var(--color-warning);
    background: rgba(245, 158, 11, 0.1);
}

.status-processing {
    color: var(--color-info);
    border-color: var(--color-info);
    background: rgba(59, 130, 246, 0.1);
}

.status-shipped {
    color: var(--color-info);
    border-color: var(--color-info);
    background: rgba(59, 130, 246, 0.1);
}

.status-delivered {
    color: var(--color-success);
    border-color: var(--color-success);
    background: rgba(34, 197, 94, 0.1);
}

.status-cancelled {
    color: var(--color-error);
    border-color: var(--color-error);
    background: rgba(239, 68, 68, 0.1);
}

/* Empty States */
.empty-orders {
    text-align: center;
    padding: 40px 20px;
}



.empty-orders p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

/* Form Card */
.form-card {
    padding: 32px;
}

.form-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
}

.form-card-header .icon {
    width: 32px;
    height: 32px;
}

.form-card-header h3 {
    font-size: 20px;
    font-weight: 400;
    margin: 0;
}

/* Profile Form */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

.form-group {
    margin-bottom: 0;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.form-group-full {
    grid-column: 1 / -1;
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    font-size: 14px;
    background: var(--bg-input);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    transition: var(--transition-normal);
}

.form-control:focus {
    outline: none;
    border-color: var(--border-strong);
    background: var(--bg-glass-hover);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.05);
}

textarea.form-control {
    min-height: 80px;
    resize: vertical;
}

.form-actions {
    display: flex;
    gap: 16px;
    margin-top: 32px;
}

@media (max-width: 768px) {
    .form-actions {
        flex-direction: column;
    }
}

/* Password Form */
.password-input {
    position: relative;
}

.password-input .form-control {
    padding-right: 48px;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
    transition: var(--transition-fast);
}

.password-toggle:hover {
    color: var(--text-primary);
}

.password-requirements {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-top: 24px;
}

.password-requirements h4 {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.password-requirements ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.password-requirements li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 6px;
}

.password-requirements .icon {
    color: var(--color-success);
    width: 16px;
    height: 16px;
}

/* Auth Pages */
.auth-page {
    min-height: calc(100vh - 180px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    margin-top: 140px
}

.auth-container {
    display: flex;
    margin: auto;

}

@media (min-width: 1024px) {
    .auth-container {
        align-items: center;
    }
}

.auth-card {
    padding: 48px 40px;
    width: 400px;
}

.auth-header {
    text-align: center;
    margin-bottom: 40px;
}

.auth-logo {
    display: inline-block;
    font-size: 20px;
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.auth-header h1 {
    font-size: 28px;
    font-weight: 300;
    margin-bottom: 8px;
}

.auth-header p {
    color: var(--text-muted);
    font-size: 14px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.btn-block {
    width: 100%;
}

.btn-lg {
    padding: 18px 32px;
    font-size: 14px;
    letter-spacing: 2px;
}

.auth-footer {
    text-align: center;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border-light);
}

.auth-footer p {
    color: var(--text-muted);
    font-size: 14px;
}

.auth-footer a {
    color: var(--text-primary);
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 3px;
}



@media (min-width: 1024px) {
    .auth-features {
        padding-left: 40px;
        border-left: 1px solid var(--border-light);
    }
}

.auth-feature {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--text-muted);
}

.auth-feature .icon {
    width: 24px;
    height: 24px;
    color: var(--text-primary);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .account-grid {
        grid-template-columns: 1fr;
    }

    .form-card {
        padding: 24px;
    }

    .auth-card {
        padding: 32px 24px;
    }

    .account-stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 40px 0 24px;
    }

    .page-title {
        font-size: 24px;
    }

    .form-actions {
        flex-direction: column;
    }

    .auth-header h1 {
        font-size: 24px;
    }
}

/* Form Validation Styles */




.error-message {
    color: var(--color-error);
    font-size: 12px;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Loading States */
.form-loading {
    position: relative;
    opacity: 0.7;
    pointer-events: none;
}

.form-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    border: 2px solid var(--border-light);
    border-top-color: var(--text-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}


.contacts-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 80px;
}

@media (max-width: 1024px) {
    .contacts-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

.contacts-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media (max-width: 768px) {
    .contacts-info {
        grid-template-columns: 1fr;
    }
}

.contact-card {
    padding: 24px;
    text-align: center;
    transition: var(--transition-normal);
}

.contact-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-medium);
}

.contact-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-glass);
    border-radius: 50%;
}

.contact-icon .icon {
    width: 32px;
    height: 32px;
}

.contact-card h3 {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.contact-value {
    display: block;
    font-size: 18px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 12px;
    transition: var(--transition-fast);
}

.contact-value:hover {
    color: var(--text-secondary);
}

.contact-note {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.5;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 8px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
}

.social-link:hover {
    background: var(--bg-glass-hover);
    border-color: var(--border-medium);
    transform: translateY(-2px);
}

.social-link .icon {
    width: 20px;
    height: 20px;
}

.contact-form-section {
    padding: 32px;
    height: fit-content;
}

.contact-form-section h2 {
    font-size: 24px;
    font-weight: 300;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.form-description {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 32px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* FAQ Section */
.faq-section {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 1px solid var(--border-light);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 32px;
}

@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

.faq-item {
    padding: 24px;
    transition: var(--transition-normal);
}

.faq-item:hover {
    transform: translateY(-4px);
    border-color: var(--border-medium);
}

.faq-item h3 {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.faq-item p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 14px;
}



.reviews-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .views-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .reviews-stats {
        grid-template-columns: 1fr;
    }
}

.reviews-stats .icon {
    width: 32px;
    height: 32px;
}

.reviews-stats .star-filled {
    color: var(--color-star);
    fill: var(--color-star);
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.review-card {
    padding: 24px;
    transition: var(--transition-normal);
}

.review-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-medium);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-light);
}

@media (max-width: 768px) {
    .review-header {
        flex-direction: column;
        gap: 16px;
    }
}

.review-author {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    font-size: 18px;
    color: var(--text-primary);
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.author-name {
    font-weight: 500;
    font-size: 16px;
}

.review-product {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.review-product:hover {
    color: var(--text-primary);
}

.review-date {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-muted);
}

.review-rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.review-rating .icon {
    width: 18px;
    height: 18px;
}

.star-filled {
    fill: var(--color-star);
    color: var(--color-star);
}

.star-empty {
    color: var(--text-muted);
}

.rating-text {
    font-weight: 500;
    font-size: 14px;
    margin-left: 4px;
}

.review-body {
    margin-bottom: 20px;
}

.review-text {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.review-product-preview {
    max-width: 200px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-light);
}

.review-product-preview img {
    width: 100%;
    height: auto;
    transition: var(--transition-normal);
}

.review-product-preview:hover img {
    transform: scale(1.05);
}

.review-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}

@media (max-width: 480px) {
    .review-footer {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
}

.btn-helpful {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--bg-glass);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    color: var(--text-muted);
    font-size: 13px;
    cursor: pointer;
    transition: var(--transition-normal);
}

.btn-helpful:hover {
    background: var(--bg-glass-hover);
    color: var(--text-primary);
    border-color: var(--border-medium);
}

.btn-helpful.marked {
    background: var(--color-success);
    color: white;
    border-color: var(--color-success);
}


.cart-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
}

@media (max-width: 1024px) {
    .cart-layout {
        grid-template-columns: 1fr;
    }
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cart-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 20px;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    transition: var(--transition-normal);
}

@media (max-width: 768px) {
    .cart-item {
        grid-template-columns: 100px 1fr;
        gap: 16px;
        padding: 16px;
    }
}

@media (max-width: 480px) {
    .cart-item {
        grid-template-columns: 1fr;
    }
}

.cart-item:hover {
    border-color: var(--border-medium);
    transform: translateY(-2px);
}

.cart-item-image {
    width: 120px;
    height: 120px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-tertiary);
}

@media (max-width: 768px) {
    .cart-item-image {
        width: 100px;
        height: 100px;
    }
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cart-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.cart-item-name {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    flex: 1;
}

.cart-item-name a {
    color: var(--text-primary);
    transition: var(--transition-fast);
}

.cart-item-name a:hover {
    color: var(--text-secondary);
}

.cart-item-remove {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border-light);
    cursor: pointer;
    transition: var(--transition-normal);
    flex-shrink: 0;
}

.cart-item-remove:hover {
    background: var(--color-error);
    color: white;
    border-color: var(--color-error);
}

.cart-item-price {
    display: flex;
    align-items: center;
    gap: 8px;
}

.price-per-item {
    font-weight: 500;
    font-size: 16px;
}

.price-multiply {
    color: var(--text-muted);
    font-size: 14px;
}

.cart-item-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

@media (max-width: 480px) {
    .cart-item-controls {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 8px;
}

.qty-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-glass);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition-normal);
}

.qty-btn:hover {
    background: var(--bg-glass-hover);
    border-color: var(--border-medium);
}

.qty-input {
    width: 60px;
    height: 36px;
    text-align: center;
    background: var(--bg-input);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 14px;
}

.qty-input:focus {
    outline: none;
    border-color: var(--border-strong);
}

.cart-item-subtotal {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.subtotal-label {
    color: var(--text-muted);
    font-size: 13px;
}

.subtotal-value {
    font-size: 18px;
    color: var(--text-primary);
}

/* Cart Summary */
.cart-summary {
    padding: 24px;
    height: fit-content;
    position: sticky;
    top: 100px;
}

@media (max-width: 1024px) {
    .cart-summary {
        position: static;
    }
}

.summary-title {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
}

.summary-rows {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--text-secondary);
}

.delivery-free {
    color: var(--color-success);
    font-weight: 500;
}

.summary-divider {
    height: 1px;
    background: var(--border-light);
    margin: 20px 0;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 24px;
}

.total-value {
    font-size: 24px;
    color: var(--text-primary);
}

.summary-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.summary-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-muted);
    padding: 12px;
    background: var(--bg-glass);
    border-radius: var(--radius-md);
}

.cart-continue {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--border-light);
    text-align: center;
}

/* Empty Cart */
.empty-state {
    text-align: center;
    padding: 80px 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
}

.empty-icon {
    width: 64px;
    height: 64px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.empty-state h3 {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.empty-state p {
    color: var(--text-muted);
    margin-bottom: 32px;
    font-size: 15px;
}



.category-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg,
        rgba(10, 10, 10, 0.9) 0%,
        rgba(26, 26, 26, 0.8) 100%),
        url('/images/category-hero.jpg');
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid var(--border-light);
}

.hero-title {
    font-size: 48px;
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 16px;
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 32px;
        letter-spacing: 2px;
    }
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 600px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .hero-subtitle {
        font-size: 16px;
    }
}

.category-intro {
    margin: 80px 0;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.category-intro h2 {
    font-size: 32px;
    font-weight: 300;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.category-intro p {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 16px;
}

.category-types {
    margin: 80px 0;
}

.types-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

@media (max-width: 1024px) {
    .types-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .types-grid {
        grid-template-columns: 1fr;
    }
}

.type-card {
    padding: 32px;
    text-align: center;
    transition: var(--transition-normal);
    display: block;
    color: inherit;
}

.type-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-medium);
}

.type-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-glass);
    border-radius: 50%;
}

.type-icon .icon {
    width: 32px;
    height: 32px;
}

.type-card h3 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.type-card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.type-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.benefits-section {
    margin: 80px 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 40px;
}

@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

.benefit-card {
    padding: 32px;
    transition: var(--transition-normal);
}

.benefit-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-medium);
}

.benefit-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-glass);
    border-radius: var(--radius-lg);
}

.benefit-card h3 {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.benefit-card p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 14px;
}

.cta-section {
    margin: 80px 0;
}

.cta-content {
    padding: 60px 40px;
    text-align: center;
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.03) 0%,
        rgba(255, 255, 255, 0.01) 100%);
}

.cta-content h2 {
    font-size: 32px;
    font-weight: 300;
    margin-bottom: 16px;
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .cta-content h2 {
        font-size: 24px;
    }
}

.cta-content p {
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 32px;
}

.btn-lg {
    padding: 18px 40px;
    font-size: 14px;
    letter-spacing: 2px;
}


.catalog-wrapper {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
}

@media (max-width: 1024px) {
    .catalog-wrapper {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* Filter Sidebar */
.filter-sidebar {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 24px;
    height: fit-content;
    position: sticky;
    top: 100px;
}

@media (max-width: 1024px) {
    .filter-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1001;
        background: var(--bg-secondary);
        backdrop-filter: var(--blur-strong);
        -webkit-backdrop-filter: var(--blur-strong);
        border-radius: 0;
        padding: 24px;
        transform: translateX(-100%);
        transition: var(--transition-slow);
        overflow-y: auto;
        display: none;
    }

    .filter-sidebar.active {
        transform: translateX(0);
        display: block;
    }
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
}

.filter-header h3 {
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.filter-close-btn {
    display: none;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition-normal);
}

@media (max-width: 1024px) {
    .filter-close-btn {
        display: flex;
    }
}

.filter-close-btn:hover {
    background: var(--bg-glass-hover);
    border-color: var(--border-medium);
}

.filter-section {
    margin-bottom: 32px;
}

.filter-section:last-child {
    margin-bottom: 0;
}

.filter-title {
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

/* Search Form */
.search-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.search-input-wrapper {
    position: relative;
}

.search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.search-input {
    width: 100%;
    padding: 12px 16px 12px 40px;
    font-size: 14px;
    background: var(--bg-input);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    transition: var(--transition-normal);
}

.search-input:focus {
    outline: none;
    border-color: var(--border-strong);
    background: var(--bg-glass-hover);
}

/* Filter List */
.filter-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.filter-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    font-size: 14px;
    color: var(--text-secondary);
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
    background: transparent;
    border: 1px solid transparent;
}

.filter-item:hover {
    background: var(--bg-glass-hover);
    color: var(--text-primary);
    border-color: var(--border-light);
}

.filter-item.active {
    background: var(--bg-glass);
    color: var(--text-primary);
    border-color: var(--border-light);
    font-weight: 500;
}

/* Catalog Content */
.catalog-content {
    min-height: 400px;
}

.catalog-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-light);
}

@media (max-width: 768px) {
    .catalog-toolbar {
        flex-direction: column;
        align-items: stretch;
    }
}

.filter-toggle-btn {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: transparent;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-normal);
}

@media (max-width: 1024px) {
    .filter-toggle-btn {
        display: flex;
    }
}

.filter-toggle-btn:hover {
    background: var(--bg-glass-hover);
    border-color: var(--border-medium);
}

.search-results-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-muted);
}

.search-results-info strong {
    color: var(--text-primary);
    font-weight: 500;
}

.catalog-count {
    font-size: 14px;
    color: var(--text-muted);
}

/* Product Badge */
.product-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 6px 10px;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--radius-sm);
}

.badge-out {
    background: rgba(239, 68, 68, 0.9);
    color: white;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 48px;
    flex-wrap: wrap;
}

.pagination-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    transition: var(--transition-normal);
}

.pagination-btn:hover {
    background: var(--bg-glass-hover);
    border-color: var(--border-medium);
}

.pagination-item {
    min-width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    transition: var(--transition-normal);
}

.pagination-item:hover {
    background: var(--bg-glass-hover);
    color: var(--text-primary);
    border-color: var(--border-medium);
}

.pagination-item.active {
    background: var(--text-primary);
    color: var(--bg-primary);
    border-color: var(--text-primary);
    font-weight: 500;
}



.about-intro {
    margin: 80px 0;
}

.intro-grid {
    display: grid;
    text-align: center;
    gap: 60px;
    align-items: center;
}

@media (max-width: 1024px) {
    .intro-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.intro-text h2 {
    font-size: 32px;
    font-weight: 300;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.intro-text p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 16px;
    font-size: 16px;
}

.intro-text p:last-child {
    margin-bottom: 0;
}

.intro-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 300px;
    border-radius: var(--radius-xl);
}

.intro-image .icon {
    width: 80px;
    height: 80px;
    color: var(--text-primary);
}

/* Timeline */
.about-timeline {
    margin: 80px 0;
    position: relative;
}

.timeline {
    position: relative;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: calc(100% - 80px);
    background: var(--border-light);
    top: 40px;
}

@media (max-width: 768px) {
    .timeline::before {
        left: 30px;
    }
}

.timeline-item {
    position: relative;
    width: calc(50% - 40px);
    padding: 24px;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .timeline-item {
        width: calc(100% - 60px);
        margin-left: 60px;
    }
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: calc(50% + 40px);
}

@media (max-width: 768px) {
    .timeline-item:nth-child(even) {
        left: 60px;
    }
}

.timeline-item::before {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--text-primary);
    border-radius: 50%;
    top: 32px;
}

.timeline-item:nth-child(odd)::before {
    right: -46px;
}

.timeline-item:nth-child(even)::before {
    left: -46px;
}

@media (max-width: 768px) {
    .timeline-item::before {
        left: -40px;
        right: auto;
    }
}

.timeline-year {
    display: inline-block;
    padding: 6px 12px;
    background: var(--bg-glass);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    font-size: 12px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.timeline-item h3 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.timeline-item p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 14px;
}

/* Values */
.about-values {
    margin: 80px 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
}

@media (max-width: 1024px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .values-grid {
        grid-template-columns: 1fr;
    }
}

.value-card {
    padding: 32px;
    text-align: center;
    transition: var(--transition-normal);
}

.value-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-medium);
}

.value-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-glass);
    border-radius: 50%;
}

.value-card h3 {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.value-card p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 14px;
}

/* Specialization */
.about-specialization {
    margin: 80px 0;
}

.spec-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 40px;
}

@media (max-width: 1024px) {
    .spec-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

.spec-card {
    padding: 40px 32px;
    text-align: center;
    transition: var(--transition-normal);
}

.spec-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-medium);
}

.spec-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-glass);
    border-radius: 50%;
}

.spec-icon .icon {
    width: 40px;
    height: 40px;
}

.spec-card h3 {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.spec-card p {
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.7;
    font-size: 15px;
}

.spec-list {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
    text-align: left;
}

.spec-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
}

.spec-list .icon {
    color: var(--color-success);
    flex-shrink: 0;
    margin-top: 2px;
}

.spec-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.spec-link:hover {
    gap: 12px;
}

/* Stats */
.about-stats {
    margin: 80px 0;
    padding: 60px 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 48px;
    font-weight: 300;
    margin-bottom: 12px;
    color: var(--text-primary);
    line-height: 1;
}

.stat-item p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.5;
}

/* CTA */
.about-cta {
    margin: 80px 0;
}

.cta-content {
    padding: 60px 40px;
    text-align: center;
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.03) 0%,
        rgba(255, 255, 255, 0.01) 100%);
}

.cta-content h2 {
    font-size: 32px;
    font-weight: 300;
    margin-bottom: 16px;
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .cta-content h2 {
        font-size: 24px;
    }
}

.cta-content p {
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .cta-buttons {
        flex-direction: column;
    }
}

/* JavaScript for toggling filters */
.filter-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: var(--blur-strong);
    -webkit-backdrop-filter: var(--blur-strong);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

.filter-overlay.active {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 1024px) {
    .filter-sidebar {
        transform: translateX(-100%);
    }

    .filter-sidebar.active {
        transform: translateX(0);
    }

    .filter-overlay.active + .filter-sidebar {
        transform: translateX(0);
    }
}

/* Animation for mobile sidebar */
@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}

@keyframes slideOutLeft {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
}

.filter-sidebar {
    animation-duration: 0.3s;
    animation-timing-function: ease;
    animation-fill-mode: forwards;
}

.filter-sidebar.slide-in {
    animation-name: slideInLeft;
}

.filter-sidebar.slide-out {
    animation-name: slideOutLeft;
}


.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
}

@media (max-width: 1024px) {
    .product-detail {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.product-gallery {
    position: sticky;
    top: 100px;
}

.product-main-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-light);
}

.product-detail-img {
    width: 100%;
    height: auto;
    display: block;
}

.product-detail-placeholder {
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-info-block {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.product-header {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.product-category-badge {
    display: inline-block;
    padding: 8px 16px;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    background: var(--bg-glass);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    align-self: flex-start;
}

.product-detail-title {
    font-size: 32px;
    font-weight: 300;
    line-height: 1.3;
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .product-detail-title {
        font-size: 24px;
    }
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-light);
}

.rating-stars {
    display: flex;
    gap: 4px;
}

.rating-stars .icon {
    width: 20px;
    height: 20px;
}

.star-filled {
    fill: var(--color-star);
    color: var(--color-star);
}

.star-empty {
    color: var(--text-muted);
}

.rating-value {
    font-weight: 500;
    font-size: 16px;
}

.rating-count {
    font-size: 14px;
    color: var(--text-muted);
}

.product-description {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 15px;
}

.product-price-block {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    border-bottom: 1px solid var(--border-light);
}

.price-value {
    font-size: 32px;
    font-weight: 500;
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .price-value {
        font-size: 28px;
    }
}

.stock-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: var(--radius-md);
}

.stock-status.in-stock {
    color: var(--color-success);
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.stock-status.out-of-stock {
    color: var(--color-error);
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.product-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 0;
    border-bottom: 1px solid var(--border-light);
}

@media (max-width: 640px) {
    .product-actions {
        flex-direction: column;
        align-items: stretch;
    }
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 8px;
}

.qty-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-glass);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition-normal);
}

.qty-btn:hover {
    background: var(--bg-glass-hover);
    border-color: var(--border-medium);
}

.qty-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.qty-input {
    width: 60px;
    height: 40px;
    text-align: center;
    background: var(--bg-input);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
}

.qty-input:focus {
    outline: none;
    border-color: var(--border-strong);
}

.btn-add-cart {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 32px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
}

@media (max-width: 640px) {
    .btn-add-cart {
        width: 100%;
    }
}

.out-of-stock-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 40px;
    text-align: center;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
}

.out-of-stock-block .icon {
    width: 48px;
    height: 48px;
    color: var(--color-error);
}

.out-of-stock-block p {
    font-size: 16px;
    color: var(--text-muted);
}

.product-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding-top: 24px;
}

@media (max-width: 768px) {
    .product-features {
        grid-template-columns: 1fr;
    }
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--bg-glass);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    transition: var(--transition-normal);
}

.feature-item:hover {
    background: var(--bg-glass-hover);
    border-color: var(--border-medium);
}

.feature-item .icon {
    width: 24px;
    height: 24px;
    color: var(--text-primary);
}

.feature-item span {
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 500;
}

/* Reviews Section */
.reviews-section {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 1px solid var(--border-light);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-light);
}

@media (max-width: 768px) {
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}

.section-title {
    font-size: 28px;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
}

.review-badge {
    padding: 8px 16px;
    background: var(--bg-glass);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 500;
}

.review-form-card {
    padding: 32px;
    margin-bottom: 40px;
}

.review-form-card h3 {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 24px;
}

.review-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.rating-select {
    position: relative;
}

.rating-select .icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--text-muted);
}

.login-prompt {
    padding: 32px;
    text-align: center;
    margin-bottom: 40px;
}

.login-prompt .icon {
    width: 48px;
    height: 48px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.login-prompt p {
    color: var(--text-muted);
    font-size: 15px;
}

.login-prompt a {
    color: var(--text-primary);
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.review-card {
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    transition: var(--transition-normal);
}

.review-card:hover {
    border-color: var(--border-medium);
    transform: translateY(-2px);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

@media (max-width: 768px) {
    .review-header {
        flex-direction: column;
        gap: 12px;
    }
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-glass);
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-avatar .icon {
    width: 20px;
    height: 20px;
    color: var(--text-primary);
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.author-name {
    font-weight: 500;
    font-size: 14px;
}

.review-date {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-muted);
}

.review-text {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 14px;
}

.empty-reviews {
    text-align: center;
    padding: 60px 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
}

.empty-reviews .empty-icon {
    width: 64px;
    height: 64px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.empty-reviews h3 {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.empty-reviews p {
    color: var(--text-muted);
    font-size: 15px;
}

/* Related Products */
.related-section {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 1px solid var(--border-light);
}

.related-section .section-title {
    font-size: 24px;
    font-weight: 300;
    margin-bottom: 40px;
    text-align: center;
}



.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
}

@media (max-width: 1024px) {
    .checkout-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

.checkout-form-section {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.checkout-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-card {
    padding: 32px;
}

.form-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-light);
}

.form-card-header .icon {
    width: 24px;
    height: 24px;
    color: var(--text-primary);
}

.form-card-header h3 {
    font-size: 20px;
    font-weight: 400;
    margin: 0;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

.form-group {
    margin-bottom: 0;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-group-full {
    grid-column: 1 / -1;
}

.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.payment-option {
    display: block;
    cursor: pointer;
}

.payment-option input {
    display: none;
}

.payment-option-content {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--bg-glass);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-lg);
    transition: var(--transition-normal);
}

.payment-option input:checked + .payment-option-content {
    background: var(--bg-glass-hover);
    border-color: var(--text-primary);
}

.payment-option-content .icon {
    width: 24px;
    height: 24px;
    color: var(--text-primary);
}

.payment-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.payment-name {
    font-weight: 500;
    font-size: 14px;
    color: var(--text-primary);
}

.payment-desc {
    font-size: 12px;
    color: var(--text-muted);
}

.checkout-summary {
    padding: 32px;
    height: fit-content;
    position: sticky;
    top: 100px;
}

@media (max-width: 1024px) {
    .checkout-summary {
        position: static;
    }
}

.order-items-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
    max-height: 400px;
    overflow-y: auto;
    padding-right: 8px;
}

.order-items-list::-webkit-scrollbar {
    width: 4px;
}

.order-items-list::-webkit-scrollbar-track {
    background: var(--bg-glass);
}

.order-items-list::-webkit-scrollbar-thumb {
    background: var(--border-medium);
    border-radius: 2px;
}

.order-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px;
    background: var(--bg-glass);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
}

.order-item-image {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--bg-tertiary);
    flex-shrink: 0;
}

.order-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
}

.order-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.item-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.3;
}

.item-qty {
    font-size: 12px;
    color: var(--text-muted);
}

.item-total {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    white-space: nowrap;
}

.summary-rows {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--text-secondary);
}

.delivery-free {
    color: var(--color-success);
    font-weight: 500;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 24px;
}

.total-value {
    font-size: 24px;
    color: var(--text-primary);
}

.checkout-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
}

.checkout-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: var(--text-muted);
}

.checkout-feature .icon {
    width: 16px;
    height: 16px;
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .cart-item-details {
        gap: 16px;
    }

    .cart-item-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .cart-item-remove {
        position: absolute;
        top: 20px;
        right: 20px;
    }

    .cart-item-controls {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .cart-item-subtotal {
        align-self: flex-end;
    }

    .product-detail {
        gap: 32px;
    }

    .product-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .quantity-control {
        justify-content: center;
    }

    .checkout-form {
        gap: 20px;
    }

    .form-card {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .cart-item {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .cart-item-image {
        width: 100%;
        height: 200px;
    }

    .cart-item-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .cart-item-header {
        align-items: center;
    }

    .cart-item-controls {
        align-items: center;
    }

    .product-gallery {
        position: static;
    }

    .product-detail-title {
        font-size: 20px;
    }

    .product-features {
        grid-template-columns: 1fr;
    }

    .checkout-summary {
        padding: 20px;
    }

    .btn-primary,
    .btn-secondary {
        padding: 12px 20px;
        font-size: 12px;
    }
}


.cart-item {
    animation: slideInUp 0.3s ease forwards;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cart-item.removing {
    animation: slideOutDown 0.3s ease forwards;
}

@keyframes slideOutDown {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(20px);
    }
}

.quantity-control {
    transition: var(--transition-normal);
}

.quantity-control.changing {
    animation: pulse 0.3s ease;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}



.form-control.error {
    border-color: var(--color-error);
    background: rgba(239, 68, 68, 0.05);
}

.form-control.success {
    border-color: var(--color-success);
    background: rgba(34, 197, 94, 0.05);
}

.error-message {
    color: var(--color-error);
    font-size: 12px;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.success-message {
    color: var(--color-success);
    font-size: 12px;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}



.btn-loading {
    position: relative;
    color: transparent;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.form-loading {
    position: relative;
    opacity: 0.7;
    pointer-events: none;
}

.form-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    border: 2px solid var(--border-light);
    border-top-color: var(--text-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}



@media (prefers-reduced-motion: reduce) {
    .cart-item,
    .product-card,
    .review-card,
    .category-card {
        animation: none;
        transition: none;
    }
}

/* Focus styles for accessibility */
.btn-primary:focus,
.btn-secondary:focus,
.form-control:focus,
.qty-input:focus,
.qty-btn:focus,
.cart-item-remove:focus,
.payment-option input:focus + .payment-option-content {
    outline: 2px solid var(--text-primary);
    outline-offset: 2px;
}


@media (prefers-color-scheme: dark) {
    :root {
        --bg-primary: #0a0a0a;
        --bg-secondary: #111111;
        --bg-tertiary: #1a1a1a;
        --bg-card: rgba(20, 20, 20, 0.95);
        --bg-glass: rgba(255, 255, 255, 0.05);
        --bg-glass-hover: rgba(255, 255, 255, 0.08);
        --bg-input: rgba(255, 255, 255, 0.07);

        --text-primary: #ffffff;
        --text-secondary: #e5e5e5;
        --text-muted: #888888;

        --border-light: rgba(255, 255, 255, 0.1);
        --border-medium: rgba(255, 255, 255, 0.15);
        --border-strong: rgba(255, 255, 255, 0.25);
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    :root {
        --text-primary: #ffffff;
        --text-secondary: #ffffff;
        --text-muted: #cccccc;
        --border-light: #ffffff;
        --border-medium: #ffffff;
        --border-strong: #ffffff;
    }

    .btn-primary,
    .btn-secondary {
        border-width: 2px;
    }

    .form-control,
    .search-input,
    .qty-input {
        border-width: 2px;
    }
}


@media print {
    .navbar,
    .footer,
    .product-actions,
    .cart-item-remove,
    .qty-btn,
    .quantity-control,
    .checkout-features,
    .summary-actions,
    .btn-primary,
    .btn-secondary {
        display: none !important;
    }

    .cart-item,
    .product-detail,
    .checkout-summary,
    .form-card,
    .review-card {
        border: 1px solid #000 !important;
        box-shadow: none !important;
        background: white !important;
        color: black !important;
    }

    a {
        color: black !important;
        text-decoration: underline;
    }

    .page-header {
        background: white !important;
        color: black !important;
    }
}
/* Стили для таблиц админ-панели */
.admin-table-wrapper {
    overflow-x: auto;
    margin-top: 1.5rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.admin-table thead {
    background: rgba(0, 0, 0, 0.1);
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.admin-table th {
    padding: 1rem 1.5rem;
    text-align: left;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

.admin-table tbody tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.admin-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.03);
}

.admin-table td {
    padding: 1rem 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Стили для ячеек с пользователями */
.user-cell {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.user-info {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
}

.user-email {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Стили для ячеек с продуктами */
.product-cell {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.product-thumb {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
}

.product-thumb-placeholder {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.3);
}

.product-name {
    font-weight: 500;
    max-width: 250px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Стили для бейджей статусов */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.status-pending {
    background: rgba(255, 193, 7, 0.15);
    color: #ffc107;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.status-processing {
    background: rgba(0, 123, 255, 0.15);
    color: #007bff;
    border: 1px solid rgba(0, 123, 255, 0.3);
}

.status-shipped {
    background: rgba(111, 66, 193, 0.15);
    color: #6f42c1;
    border: 1px solid rgba(111, 66, 193, 0.3);
}

.status-delivered {
    background: rgba(40, 167, 69, 0.15);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.status-cancelled {
    background: rgba(220, 53, 69, 0.15);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

.status-active {
    background: rgba(40, 167, 69, 0.15);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.status-inactive {
    background: rgba(108, 117, 125, 0.15);
    color: #6c757d;
    border: 1px solid rgba(108, 117, 125, 0.3);
}

/* Стили для бейджей категорий */
.category-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Стили для бейджей остатков */
.stock-badge {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.stock-ok {
    background: rgba(40, 167, 69, 0.15);
    color: #28a745;
}

.stock-low {
    background: rgba(255, 193, 7, 0.15);
    color: #ffc107;
}

.stock-out {
    background: rgba(220, 53, 69, 0.15);
    color: #dc3545;
}

/* Стили для выбора статуса */
.status-select {
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 140px;
}

.status-select:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.3);
}

.status-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

/* Стили для ячеек с ценами */
.price-cell {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    font-family: 'Courier New', monospace;
}

/* Стили для ячеек с датами */
.date-cell {
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Стили для ячеек с ID */
.id-cell {
    color: rgba(255, 255, 255, 0.5);
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
}

/* Стили для ячеек с действиями */
.actions-cell {
    display: flex;
    gap: 0.5rem;
}

.btn-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-icon:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
}

.btn-icon.btn-danger {
    color: rgba(220, 53, 69, 0.8);
    border-color: rgba(220, 53, 69, 0.2);
}

.btn-icon.btn-danger:hover {
    background: rgba(220, 53, 69, 0.15);
    border-color: rgba(220, 53, 69, 0.3);
    color: #dc3545;
}

/* Стили для ссылок в таблице */
.order-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.order-link:hover {
    color: var(--primary-color-hover);
    text-decoration: underline;
}

/* Стили для пагинации */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.pagination-btn {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.pagination-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
}

.pagination-item {
    min-width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.pagination-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
}

.pagination-item.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* Стили для пустых состояний */
.empty-state-small {
    padding: 3rem 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
}

.empty-state-small .icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    opacity: 0.3;
}

.empty-state-small p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* Стили для форм */
.admin-form {
    padding: 2rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group-full {
    grid-column: 1 / -1;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.form-control {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
    background: rgba(255, 255, 255, 0.08);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form-hint {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

/* Стили для чекбоксов */
.checkbox-group {
    margin-top: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Стили для загрузки файлов */
.file-upload {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

.file-input {
    display: none;
}

.file-label {
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.file-label:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.file-name {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Стили для предпросмотра изображений */
.current-image-preview {
    margin-bottom: 1.5rem;
}

.preview-image {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.preview-label {
    display: block;
    margin-top: 0.5rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Стили для кнопок форм */
.form-actions {
    display: flex;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Стили для заголовков секций */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.section-header h2 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
}

/* Адаптивность */
@media (max-width: 1200px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .admin-table td,
    .admin-table th {
        padding: 0.75rem 1rem;
    }
}

@media (max-width: 768px) {
    .admin-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .admin-header .btn {
        align-self: stretch;
        justify-content: center;
    }

    .admin-stats {
        grid-template-columns: 1fr;
    }

    .form-actions {
        flex-direction: column;
    }

    .form-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .admin-form {
        padding: 1.5rem;
    }

    .file-upload {
        flex-direction: column;
        align-items: stretch;
    }

    .actions-cell {
        flex-wrap: wrap;
    }

    .pagination-item,
    .pagination-btn {
        min-width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
}



.admin-page {
    display: flex;
    background: var(--bg-primary);
}

.admin-sidebar {
    width: 280px;
    background: var(--bg-card);
    backdrop-filter: var(--blur-glass);
    -webkit-backdrop-filter: var(--blur-glass);
    border-right: 1px solid var(--border-light);
    padding: 62px 0;
    padding-top: 118px;
    position: absolute;
    overflow-y: auto;
    z-index: 100;
}

.admin-content {
    flex: 1;
    margin-left: 280px;
    padding: 32px;
    padding-top: 120px;
    overflow-y: auto;
}

@media (max-width: 1024px) {
    .admin-sidebar {
        transform: translateX(-100%);
        transition: var(--transition-normal);
    }

    .admin-sidebar.active {
        transform: translateX(0);
    }

    .admin-content {
        margin-left: 0;
        padding: 24px;
    }
}

/* Admin Logo */
.admin-logo {
    padding: 0 24px 32px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-light);
}

.admin-logo a {
    font-size: 20px;
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--text-primary);
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
}

.admin-badge {
    display: inline-block;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: var(--bg-glass);
    border: 1px solid var(--border-light);
    color: var(--text-primary);
    border-radius: var(--radius-sm);
}

/* Admin Navigation */
.admin-nav {
    padding: 0 16px;
}

.admin-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    font-size: 14px;
    color: var(--text-secondary);
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
    text-decoration: none;
    margin-bottom: 4px;
}

.admin-nav-item:hover {
    background: var(--bg-glass-hover);
    color: var(--text-primary);
}

.admin-nav-item.active {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    font-weight: 500;
}

.admin-nav-divider {
    height: 1px;
    background: var(--border-light);
    margin: 16px 0;
}

.admin-nav-item.logout {
    color: var(--color-error);
    margin-top: 8px;
    border-top: 1px solid var(--border-light);
    padding-top: 18px;
}

.admin-nav-item.logout:hover {
    background: rgba(239, 68, 68, 0.1);
}

/* Admin Header */
.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-light);
}

@media (max-width: 768px) {
    .admin-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}

.admin-header h1 {
    font-size: 28px;
    font-weight: 300;
    letter-spacing: 2px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-welcome {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

/* Admin Stats */
.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .admin-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .admin-stats {
        grid-template-columns: 1fr;
    }
}

.admin-stat-card {
    padding: 24px;
    transition: var(--transition-normal);
}

.admin-stat-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-medium);
    box-shadow: var(--shadow-md);
}

.admin-stat-card.highlight {
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.05) 0%,
        rgba(255, 255, 255, 0.02) 100%);
    border-color: var(--border-strong);
}



.stat-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-glass);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    margin-bottom: 20px;
}

.stat-icon .icon {
    width: 24px;
    height: 24px;
    color: var(--text-primary);
}

.stat-info {
    margin-bottom: 20px;
}

.stat-value {
    display: block;
    font-size: 32px;
    font-weight: 300;
    color: var(--text-primary);
    margin-bottom: 4px;
    line-height: 1;
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-normal);
}

.stat-link:hover {
    color: var(--text-primary);
    gap: 12px;
}

/* Admin Section */
.admin-section {
    padding: 32px;
    margin-bottom: 32px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-light);
}

@media (max-width: 768px) {
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}

.section-header h2 {
    font-size: 20px;
    font-weight: 400;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-small {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: var(--transition-normal);
}

.btn-small:hover {
    background: var(--bg-glass-hover);
    border-color: var(--border-strong);
    transform: translateX(4px);
}

/* Admin Table */
.admin-table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    background: var(--bg-glass);
    border: 1px solid var(--border-light);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.admin-table thead {
    background: rgba(255, 255, 255, 0.03);
}

.admin-table th {
    padding: 16px 20px;
    text-align: left;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-light);
    white-space: nowrap;
}

.admin-table tbody tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    transition: var(--transition-fast);
}

.admin-table tbody tr:hover {
    background: var(--bg-glass-hover);
}

.admin-table td {
    padding: 16px 20px;
    font-size: 14px;
    color: var(--text-secondary);
    vertical-align: middle;
}

/* User Cell */
.user-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-cell .icon {
    width: 16px;
    height: 16px;
    color: var(--text-muted);
}

/* Status Badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--radius-sm);
    border: 1px solid;
    white-space: nowrap;
}

.status-badge .icon {
    width: 12px;
    height: 12px;
}

.status-pending {
    color: var(--color-warning);
    border-color: var(--color-warning);
    background: rgba(245, 158, 11, 0.1);
}

.status-processing {
    color: var(--color-info);
    border-color: var(--color-info);
    background: rgba(59, 130, 246, 0.1);
}

.status-shipped {
    color: var(--color-info);
    border-color: var(--color-info);
    background: rgba(59, 130, 246, 0.1);
}

.status-delivered {
    color: var(--color-success);
    border-color: var(--color-success);
    background: rgba(34, 197, 94, 0.1);
}

.status-cancelled {
    color: var(--color-error);
    border-color: var(--color-error);
    background: rgba(239, 68, 68, 0.1);
}

/* Price Cell */
.price-cell {
    font-weight: 500;
    font-family: 'Courier New', monospace;
    color: var(--text-primary);
    white-space: nowrap;
}

/* Order Link */
.order-link {
    color: var(--text-primary);
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition-fast);
}

.order-link:hover {
    color: var(--color-info);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Date Cell */
.date-cell {
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
    white-space: nowrap;
}

.date-cell .icon {
    width: 14px;
    height: 14px;
}

/* Empty State */
.empty-state-small {
    text-align: center;
    padding: 48px 32px;
}

.empty-state-small .icon {
    width: 48px;
    height: 48px;
    color: var(--text-muted);
    margin-bottom: 16px;
    opacity: 0.5;
}

.empty-state-small p {
    color: var(--text-muted);
    font-size: 14px;
    margin: 0;
}



.admin-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 101;
    cursor: pointer;
    transition: var(--transition-normal);
}

@media (max-width: 1024px) {
    .admin-menu-toggle {
        display: flex;
    }
}

.admin-menu-toggle:hover {
    background: var(--bg-glass-hover);
    border-color: var(--border-medium);
}

.admin-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: var(--blur-strong);
    -webkit-backdrop-filter: var(--blur-strong);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

.admin-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}



.admin-stat-card {
    animation: fadeInUp 0.5s ease forwards;
}

.admin-stat-card:nth-child(1) { animation-delay: 0.1s; }
.admin-stat-card:nth-child(2) { animation-delay: 0.2s; }
.admin-stat-card:nth-child(3) { animation-delay: 0.3s; }
.admin-stat-card:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



.admin-sidebar::-webkit-scrollbar {
    width: 6px;
}

.admin-sidebar::-webkit-scrollbar-track {
    background: var(--bg-glass);
}

.admin-sidebar::-webkit-scrollbar-thumb {
    background: var(--border-medium);
    border-radius: 3px;
}

.admin-sidebar::-webkit-scrollbar-thumb:hover {
    background: var(--border-strong);
}

.admin-table-wrapper::-webkit-scrollbar {
    height: 8px;
}

.admin-table-wrapper::-webkit-scrollbar-track {
    background: var(--bg-glass);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.admin-table-wrapper::-webkit-scrollbar-thumb {
    background: var(--border-medium);
    border-radius: 4px;
}

.admin-table-wrapper::-webkit-scrollbar-thumb:hover {
    background: var(--border-strong);
}



@media print {
    .admin-sidebar {
        display: none;
    }

    .admin-content {
        margin-left: 0;
        padding: 0;
    }

    .admin-header,
    .admin-stats,
    .btn-small,
    .stat-link {
        display: none;
    }

    .admin-section {
        border: 1px solid #000;
        box-shadow: none;
        background: white !important;
        color: black !important;
        page-break-inside: avoid;
    }

    .admin-table {
        width: 100%;
        border-collapse: collapse;
    }

    .admin-table th,
    .admin-table td {
        border: 1px solid #000;
        color: black !important;
        background: white !important;
    }
}


@media (prefers-color-scheme: dark) {
    .admin-stat-card.highlight {
        background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.03) 0%,
            rgba(255, 255, 255, 0.01) 100%);
    }

    .admin-table tbody tr:hover {
        background: rgba(255, 255, 255, 0.02);
    }
}



@media (prefers-reduced-motion: reduce) {
    .admin-stat-card,
    .admin-stat-card:hover,
    .admin-nav-item,
    .btn-small:hover {
        transition: none;
        animation: none;
    }
}
.form-group label {
    padding-top: 30px;
}


.map-section {
    margin: 80px 0;
}

.map-section .section-title {
    font-size: 28px;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-primary);
}

.map-wrapper {
    overflow: hidden;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
    background: var(--bg-card);
}

.map-container {
    width: 100%;
    height: 400px;
    position: relative;
    background: var(--bg-tertiary);
}

@media (max-width: 768px) {
    .map-container {
        height: 300px;
    }
}

/* Стили для Яндекс.Карт */
.ymaps-2-1-79-map {
    border-radius: var(--radius-xl) var(--radius-xl) 0 0 !important;
}

.ymaps-2-1-79-inner-panes {
    border-radius: var(--radius-xl) var(--radius-xl) 0 0 !important;
}

/* Заглушка для карты */
.map-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.03) 0%,
        rgba(255, 255, 255, 0.01) 100%);
    position: relative;
}

.map-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(90deg, transparent 49%, var(--border-light) 50%, transparent 51%),
        linear-gradient(0deg, transparent 49%, var(--border-light) 50%, transparent 51%);
    background-size: 50px 50px;
    opacity: 0.1;
}

.placeholder-content {
    text-align: center;
    padding: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    position: relative;
    z-index: 1;
    backdrop-filter: var(--blur-glass);
    -webkit-backdrop-filter: var(--blur-glass);
}

.placeholder-content .icon {
    width: 64px;
    height: 64px;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.placeholder-content h3 {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.placeholder-content p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 14px;
}

/* Информация под картой */
.map-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding: 32px;
    background: var(--bg-glass);
    border-top: 1px solid var(--border-light);
}

@media (max-width: 768px) {
    .map-info {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 24px;
    }
}

.map-address {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    cursor: pointer;
    transition: var(--transition-normal);
}

.map-address:hover {
    transform: translateX(4px);
}

.map-address .icon {
    width: 24px;
    height: 24px;
    color: var(--text-primary);
    flex-shrink: 0;
    margin-top: 4px;
}

.map-address h3 {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.map-address p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.5;
}

.map-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-secondary);
}

.feature .icon {
    width: 16px;
    height: 16px;
    color: var(--text-primary);
}

/* Кастомизация элементов управления картой */
.ymaps-2-1-79-zoom {
    background: var(--bg-card) !important;
    border: 1px solid var(--border-light) !important;
    border-radius: var(--radius-md) !important;
    overflow: hidden !important;
    box-shadow: var(--shadow-sm) !important;
}

.ymaps-2-1-79-zoom__button {
    background: transparent !important;
    border: none !important;
    color: var(--text-primary) !important;
    transition: var(--transition-fast) !important;
}

.ymaps-2-1-79-zoom__button:hover {
    background: var(--bg-glass-hover) !important;
}

.ymaps-2-1-79-zoom__separator {
    background: var(--border-light) !important;
}

.ymaps-2-1-79-fullscreen-button {
    background: var(--bg-card) !important;
    border: 1px solid var(--border-light) !important;
    border-radius: var(--radius-md) !important;
    overflow: hidden !important;
    box-shadow: var(--shadow-sm) !important;
}

.ymaps-2-1-79-fullscreen-button__content {
    background: transparent !important;
    color: var(--text-primary) !important;
}

.ymaps-2-1-79-fullscreen-button:hover .ymaps-2-1-79-fullscreen-button__content {
    background: var(--bg-glass-hover) !important;
}

/* Стили для маркера */
.ymaps-2-1-79-balloon {
    border-radius: var(--radius-lg) !important;
    box-shadow: var(--shadow-md) !important;
    backdrop-filter: var(--blur-glass) !important;
    -webkit-backdrop-filter: var(--blur-glass) !important;
}

.ymaps-2-1-79-balloon__content {
    background: var(--bg-card) !important;
    color: var(--text-primary) !important;
    font-family: 'Montserrat', sans-serif !important;
    padding: 16px !important;
    border-radius: var(--radius-lg) !important;
    font-size: 14px !important;
}

.ymaps-2-1-79-balloon__close-button {
    color: var(--text-primary) !important;
    opacity: 0.7 !important;
    transition: var(--transition-fast) !important;
}

.ymaps-2-1-79-balloon__close-button:hover {
    opacity: 1 !important;
}

/* Стили для тени маркера */
.ymaps-2-1-79-placemark-overlay {
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3)) !important;
}

/* Анимации */
.map-wrapper {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Загрузка карты */
.map-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: var(--bg-tertiary);
}

.map-loading::after {
    content: '';
    width: 40px;
    height: 40px;
    border: 2px solid var(--border-light);
    border-top-color: var(--text-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Мобильная адаптация */
@media (max-width: 768px) {
    .map-section {
        margin: 60px 0;
    }

    .map-section .section-title {
        font-size: 24px;
        margin-bottom: 32px;
    }

    .map-info {
        padding: 20px;
    }

    .ymaps-2-1-79-controls__control {
        transform: scale(0.9);
    }
}

@media (max-width: 480px) {
    .map-container {
        height: 250px;
    }

    .placeholder-content {
        padding: 24px;
    }

    .placeholder-content .icon {
        width: 48px;
        height: 48px;
    }
}

/* Тёмная тема для карты */
@media (prefers-color-scheme: dark) {
    .map-container {
        background: #1a1a1a;
    }

    .ymaps-2-1-79-layers-pane {
        filter: grayscale(1) invert(0.9) hue-rotate(180deg) !important;
    }

    .ymaps-2-1-79-placemark-overlay {
        filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5)) !important;
    }
}

/* Адаптация для сниженной анимации */
@media (prefers-reduced-motion: reduce) {
    .map-wrapper,
    .map-address {
        animation: none;
        transition: none;
    }
}

/* --------------------------------------------------------------------------
   Monochrome editorial storefront — 2026 redesign
   -------------------------------------------------------------------------- */

:root {
    --ink: #191816;
    --paper: #f6f3ed;
    --paper-strong: #ebe6dd;
    --stone: #d7d0c5;
    --muted-ink: #706d66;
    --line-editorial: rgba(25, 24, 22, 0.16);
    --bg-primary: var(--paper);
    --bg-secondary: #efebe4;
    --bg-tertiary: #e8e2d9;
    --bg-card: #fbfaf7;
    --bg-glass: rgba(25, 24, 22, 0.04);
    --bg-glass-hover: rgba(25, 24, 22, 0.08);
    --bg-input: #f0ece5;
    --text-primary: var(--ink);
    --text-secondary: #4f4b44;
    --text-muted: var(--muted-ink);
    --text-dark: var(--paper);
    --border-light: var(--line-editorial);
    --border-medium: rgba(25, 24, 22, 0.25);
    --border-strong: rgba(25, 24, 22, 0.45);
    --radius-sm: 0;
    --radius-md: 0;
    --radius-lg: 0;
    --radius-xl: 0;
    --radius-2xl: 0;
    --container-max: 1440px;
}

html {
    background: var(--paper);
}

body {
    background: var(--paper);
    color: var(--ink);
    font-family: 'DM Sans', Arial, sans-serif;
    letter-spacing: 0;
}

body::selection {
    background: var(--ink);
    color: var(--paper);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: 3px;
}

.navbar {
    position: sticky;
    background: rgba(246, 243, 237, 0.96);
    border-bottom: 1px solid var(--line-editorial);
    box-shadow: none;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.navbar.scrolled {
    background: rgba(246, 243, 237, 0.98);
}

.navbar-container {
    min-height: 76px;
    max-width: none;
    padding: 0 clamp(24px, 4vw, 58px);
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr) auto;
    gap: 28px;
}

.brand-wordmark {
    display: flex;
    align-items: center;
    width: max-content;
    color: var(--ink);
    font-family: 'DM Sans', Arial, sans-serif;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.22em;
    line-height: 1;
    text-decoration: none;
}

.nav-menu {
    gap: clamp(18px, 2.6vw, 42px);
    justify-content: center;
}

.nav-link {
    padding: 28px 0 25px;
    color: var(--ink);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: none;
}

.nav-link::after {
    bottom: 19px;
    background: var(--ink);
}

.nav-actions {
    gap: 10px;
}

.btn-link.btn-small {
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid var(--line-editorial);
    border-radius: 0;
    color: var(--ink);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.btn-link.btn-small:hover {
    color: var(--paper);
    background: var(--ink);
    border-color: var(--ink);
}

.cart-link {
    width: 38px;
    height: 38px;
    border: 1px solid var(--line-editorial);
    border-radius: 50%;
    color: var(--ink);
}

.cart-count {
    background: var(--ink);
    color: var(--paper);
}

.main-container {
    min-height: 0;
}

.editorial-home {
    max-width: 1440px;
    margin: 0 auto;
    overflow: hidden;
}

.editorial-hero {
    height: min(704px, calc(100vh - 76px));
    min-height: 620px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(460px, 1fr);
    border-bottom: 1px solid var(--line-editorial);
}

.editorial-hero-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: clamp(58px, 8vw, 128px);
}

.editorial-kicker {
    margin: 0 0 23px;
    color: var(--muted-ink);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.editorial-hero h1,
.editorial-pieces h2,
.editorial-manifesto h2 {
    max-width: 620px;
    margin: 0;
    color: var(--ink);
    font-family: 'DM Serif Display', Georgia, serif;
    font-weight: 400;
    letter-spacing: -0.045em;
}

.editorial-hero h1 {
    font-size: clamp(58px, 6vw, 96px);
    line-height: 0.93;
}

.editorial-intro {
    max-width: 410px;
    margin: 30px 0 36px;
    color: #555149;
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 21px;
    line-height: 1.32;
}

.editorial-primary-action {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 38px;
    min-width: 215px;
    padding: 17px 19px;
    background: var(--ink);
    color: var(--paper);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: background 180ms ease, transform 180ms ease;
}

.editorial-primary-action:hover {
    color: var(--paper);
    background: #3b3833;
    transform: translateY(-2px);
}

.editorial-primary-action .icon,
.editorial-text-link .icon {
    width: 18px;
    height: 18px;
}

.editorial-hero-media {
    position: relative;
    min-height: 100%;
    margin: 0;
    overflow: hidden;
    background: var(--paper-strong);
}

.editorial-hero-media img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    object-position: 52% center;
}

.editorial-hero-media figcaption {
    position: absolute;
    right: 24px;
    bottom: 22px;
    padding: 9px 12px;
    background: rgba(246, 243, 237, 0.9);
    color: var(--ink);
    font-size: 11px;
    letter-spacing: 0.02em;
}

.editorial-pieces {
    padding: clamp(68px, 8vw, 118px) clamp(24px, 4vw, 58px);
}

.editorial-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 40px;
}

.editorial-pieces h2 {
    font-size: clamp(42px, 4vw, 62px);
    line-height: 0.98;
}

.editorial-text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 5px;
    border-bottom: 1px solid var(--ink);
    color: var(--ink);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
}

.editorial-text-link:hover {
    color: #6c685f;
    border-color: #6c685f;
}

.editorial-product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.editorial-product-card {
    min-width: 0;
}

.editorial-product-image {
    display: block;
    height: clamp(310px, 32vw, 486px);
    overflow: hidden;
    background: var(--paper-strong);
}

.editorial-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 450ms cubic-bezier(0.22, 1, 0.36, 1);
}

.editorial-product-card:hover .editorial-product-image img {
    transform: scale(1.035);
}

.editorial-product-meta {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 15px 2px 0;
}

.editorial-product-meta h3 {
    margin: 0;
    font-family: 'DM Sans', Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0;
}

.editorial-product-meta h3 a {
    color: var(--ink);
}

.editorial-product-meta p,
.editorial-product-meta span {
    margin: 4px 0 0;
    color: var(--muted-ink);
    font-size: 12px;
}

.editorial-product-meta span {
    flex-shrink: 0;
    color: var(--ink);
    font-weight: 500;
}

.editorial-manifesto {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(250px, 0.75fr);
    gap: 70px;
    padding: clamp(72px, 9vw, 145px) clamp(24px, 8vw, 122px);
    background: var(--ink);
}

.editorial-manifesto .editorial-kicker,
.editorial-manifesto h2,
.editorial-manifesto p,
.editorial-manifesto .editorial-text-link {
    color: var(--paper);
}

.editorial-manifesto h2 {
    grid-column: 1;
    font-size: clamp(47px, 5vw, 80px);
    line-height: 0.94;
}

.editorial-manifesto > .editorial-kicker {
    grid-column: 1 / -1;
    margin: 0;
    color: #bdb7ac;
}

.editorial-manifesto-copy {
    align-self: end;
}

.editorial-manifesto-copy p {
    margin: 0 0 30px;
    color: #d6d0c5;
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 23px;
    line-height: 1.3;
}

.editorial-manifesto .editorial-text-link {
    border-color: var(--paper);
}

.footer {
    margin-top: 0;
    background: #11100e;
    color: var(--paper);
    border: 0;
}

.footer-wordmark {
    color: var(--paper);
}

.footer a,
.footer-title,
.footer-copyright,
.footer-tagline,
.footer-legal a {
    color: var(--paper);
}

.footer a:hover {
    color: #c9c1b5;
}

@media (max-width: 960px) {
    .navbar-container {
        grid-template-columns: 150px 1fr auto;
        padding: 0 24px;
    }

    .nav-menu {
        gap: 18px;
    }

    .nav-actions .btn-link.btn-small {
        display: none;
    }

    .editorial-hero {
        min-height: auto;
        grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
    }

    .editorial-hero-media img {
        min-height: 620px;
    }
}

@media (max-width: 760px) {
    html,
    body {
        overflow-x: clip;
    }

    .navbar-container {
        min-height: 66px;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px;
        padding: 0 18px;
    }

    .brand-wordmark {
        font-size: 14px;
        letter-spacing: 0.18em;
    }

    .nav-menu,
    .nav-actions > .btn-link {
        display: none;
    }

    .mobile-menu-btn {
        display: inline-flex;
        width: 42px;
        height: 42px;
    }

    .nav-actions {
        gap: 6px;
    }

    .cart-link {
        width: 34px;
        height: 34px;
    }

    .editorial-hero {
        display: flex;
        flex-direction: column;
        height: auto;
        min-height: 0;
    }

    .editorial-hero-copy {
        order: 2;
        padding: 48px 24px 58px;
    }

    .editorial-hero-media {
        order: 1;
        min-height: 460px;
    }

    .editorial-hero-media img {
        min-height: 460px;
        object-position: 51% 55%;
    }

    .editorial-hero h1 {
        font-size: clamp(55px, 15vw, 76px);
    }

    .editorial-intro {
        margin: 24px 0 30px;
        font-size: 19px;
    }

    .editorial-section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
    }

    .editorial-product-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .editorial-product-image {
        height: min(112vw, 510px);
    }

    .editorial-manifesto {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .editorial-manifesto h2 {
        font-size: clamp(48px, 14vw, 70px);
    }
}

/* Global refinement: quieter retail surfaces and lighter information density. */
.section-container {
    max-width: 1320px;
    padding-right: clamp(20px, 3vw, 44px);
    padding-left: clamp(20px, 3vw, 44px);
}

.page-header {
    margin: 0;
    padding: clamp(64px, 8vw, 112px) 0 42px;
    background: var(--paper);
    border-bottom: 1px solid var(--line-editorial);
}

.page-title,
.category-intro h2,
.about-intro h2,
.contacts-title,
.auth-title {
    color: var(--ink);
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: clamp(46px, 5vw, 76px);
    font-weight: 400;
    letter-spacing: -0.04em;
    line-height: 0.96;
}

.page-subtitle {
    max-width: 420px;
    margin-top: 16px;
    color: var(--muted-ink);
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 20px;
    line-height: 1.35;
}

.catalog-wrapper {
    align-items: start;
    gap: clamp(32px, 5vw, 74px);
    margin: 0;
    padding: 52px 0 128px;
}

.filter-sidebar {
    position: sticky;
    top: 100px;
    width: 220px;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.filter-header,
.filter-section {
    padding: 0 0 22px;
    margin-bottom: 22px;
    border-bottom: 1px solid var(--line-editorial);
}

.filter-header h3,
.filter-title {
    color: var(--ink);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.filter-item {
    padding: 9px 0;
    border: 0;
    border-radius: 0;
    color: var(--muted-ink);
    font-size: 14px;
}

.filter-item.active,
.filter-item:hover {
    background: transparent;
    color: var(--ink);
}

.filter-item.active::before {
    content: '—';
    margin-right: 8px;
}

.search-input,
.form-control,
.contact-form input,
.contact-form textarea,
.auth-form input {
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--line-editorial);
    border-radius: 0;
    color: var(--ink);
    box-shadow: none;
}

.search-input:focus,
.form-control:focus,
.contact-form input:focus,
.contact-form textarea:focus,
.auth-form input:focus {
    border-color: var(--ink);
    box-shadow: none;
}

.catalog-content {
    min-width: 0;
    padding-bottom: 0;
}

.catalog-toolbar {
    min-height: 42px;
    margin-bottom: 28px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line-editorial);
}

.catalog-count,
.search-results-info {
    color: var(--muted-ink);
    font-size: 13px;
}

.products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 34px 18px;
    align-items: start;
}

.product-card {
    overflow: visible;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.product-card:hover {
    border: 0;
    box-shadow: none;
    transform: none;
}

.product-image-link,
.product-image {
    display: block;
    width: 100%;
}

.product-image-link {
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: var(--paper-strong);
}

.product-image {
    height: 100%;
    object-fit: cover;
    transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.product-card:hover .product-image {
    transform: scale(1.025);
}

.product-info {
    padding: 15px 0 0;
    background: transparent;
}

.product-category {
    color: var(--muted-ink);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.product-name,
.product-name a {
    color: var(--ink);
    font-family: 'DM Sans', Arial, sans-serif;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0;
}

.product-footer {
    margin-top: 12px;
    padding-top: 0;
    border-top: 0;
}

.product-price {
    color: var(--ink);
    font-size: 14px;
    font-weight: 600;
}

.product-link {
    padding-bottom: 3px;
    border-bottom: 1px solid var(--ink);
    color: var(--ink);
    font-size: 12px;
    font-weight: 500;
}

.glass-card,
.type-card,
.benefit-card,
.value-card,
.spec-card,
.timeline-item,
.stat-card,
.review-card,
.cta-content,
.login-prompt,
.review-form-card {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
}

.type-card,
.benefit-card,
.value-card,
.spec-card,
.timeline-item,
.review-card {
    border-top: 1px solid var(--line-editorial);
}

.review-card {
    padding: 28px 0;
}

.review-card:hover {
    transform: none;
    background: transparent;
    box-shadow: none;
}

.reviews-list {
    gap: 0;
    margin-bottom: 120px;
}

.btn-primary,
.btn-secondary,
.btn-block,
.btn-lg {
    border-radius: 0;
    box-shadow: none;
}

.btn-primary {
    background: var(--ink);
    color: var(--paper);
}

.btn-primary:hover {
    background: #393631;
    color: var(--paper);
    transform: none;
    box-shadow: none;
}

.footer {
    position: relative;
    z-index: 1;
}

@media (max-width: 980px) {
    .catalog-wrapper {
        grid-template-columns: 1fr;
        padding-bottom: 90px;
    }

    .filter-sidebar {
        position: relative;
        top: auto;
        width: 100%;
    }

    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .page-header {
        padding: 52px 0 30px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .product-image-link {
        aspect-ratio: 1 / 1.15;
    }
}

/* English collection and story pages */
.collection-page,
.about-editorial {
    max-width: 1320px;
    margin: 0 auto;
    padding: clamp(64px, 8vw, 120px) clamp(20px, 4vw, 58px) 128px;
}

.collection-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(250px, 0.55fr);
    gap: 32px 10vw;
    align-items: end;
    padding-bottom: 62px;
    border-bottom: 1px solid var(--line-editorial);
}

.collection-intro .editorial-kicker {
    grid-column: 1 / -1;
    margin-bottom: 0;
}

.collection-intro h1,
.about-editorial h1 {
    margin: 0;
    color: var(--ink);
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: clamp(56px, 7vw, 104px);
    font-weight: 400;
    letter-spacing: -0.05em;
    line-height: 0.9;
}

.collection-intro > p {
    margin: 0;
    color: var(--muted-ink);
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 22px;
    line-height: 1.3;
}

.collection-intro > .editorial-text-link {
    grid-column: 2;
    justify-self: start;
}

.collection-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 42px 18px;
    padding-top: 44px;
}

.collection-piece-image {
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: var(--paper-strong);
}

.collection-piece-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.collection-piece:hover img {
    transform: scale(1.025);
}

.collection-piece-meta {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-top: 14px;
}

.collection-piece-meta h2,
.collection-piece-meta h2 a {
    margin: 0;
    color: var(--ink);
    font-family: 'DM Sans', Arial, sans-serif;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0;
}

.collection-piece-meta span {
    color: var(--muted-ink);
    font-size: 13px;
    white-space: nowrap;
}

.collection-empty {
    grid-column: 1 / -1;
    color: var(--muted-ink);
}

.about-editorial-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.7fr);
    gap: 48px 10vw;
    padding-bottom: clamp(74px, 10vw, 150px);
}

.about-editorial-intro .editorial-kicker {
    grid-column: 1 / -1;
    margin-bottom: 0;
}

.about-editorial-intro > div {
    align-self: end;
}

.about-editorial-intro > div p {
    margin: 0 0 20px;
    color: var(--muted-ink);
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 22px;
    line-height: 1.35;
}

.about-principles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--line-editorial);
}

.about-principles article {
    min-height: 270px;
    padding: 26px 26px 30px 0;
    border-right: 1px solid var(--line-editorial);
}

.about-principles article:not(:first-child) {
    padding-left: 26px;
}

.about-principles article:last-child {
    border-right: 0;
}

.about-principles span {
    color: var(--muted-ink);
    font-size: 12px;
    letter-spacing: 0.1em;
}

.about-principles h2 {
    margin: 42px 0 10px;
    color: var(--ink);
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 32px;
    font-weight: 400;
}

.about-principles p {
    max-width: 265px;
    margin: 0;
    color: var(--muted-ink);
    font-size: 14px;
    line-height: 1.5;
}

.about-editorial-cta {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 32px;
    margin-top: 90px;
    padding: 42px 0 0;
    border-top: 1px solid var(--line-editorial);
}

.about-editorial-cta .editorial-kicker {
    margin: 0;
}

@media (max-width: 760px) {
    .collection-intro,
    .about-editorial-intro {
        grid-template-columns: 1fr;
        padding-bottom: 48px;
    }

    .collection-intro > .editorial-text-link {
        grid-column: 1;
    }

    .collection-grid {
        grid-template-columns: 1fr;
    }

    .about-principles {
        grid-template-columns: 1fr;
    }

    .about-principles article,
    .about-principles article:not(:first-child) {
        min-height: 0;
        padding: 26px 0;
        border-right: 0;
        border-bottom: 1px solid var(--line-editorial);
    }

    .about-editorial-cta {
        align-items: flex-start;
        flex-direction: column;
        margin-top: 58px;
    }
}

/* Reviews: match the collection and story page hierarchy rather than using an icon-led title. */
.reviews-page-header {
    padding-bottom: clamp(48px, 6vw, 78px);
}

.reviews-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(230px, 0.45fr);
    gap: 24px clamp(32px, 8vw, 132px);
    align-items: end;
}

.reviews-intro .editorial-kicker {
    grid-column: 1 / -1;
    margin: 0;
}

.reviews-intro .page-title {
    margin: 0;
    font-size: clamp(56px, 7vw, 104px);
    letter-spacing: -0.05em;
    line-height: 0.9;
}

.reviews-intro .page-subtitle {
    max-width: 285px;
    margin: 0 0 3px;
    color: var(--muted-ink);
    font-family: 'DM Sans', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.5;
}

@media (max-width: 760px) {
    .reviews-intro {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .reviews-intro .page-subtitle {
        max-width: 310px;
        margin-bottom: 0;
    }
}

/* Atelier direction — a sharper, architectural visual system for the public storefront. */
:root {
    --atelier-ink: #181917;
    --atelier-concrete: #302f2b;
    --atelier-paper: #efeee8;
    --atelier-lime: #d8ff00;
    --atelier-line: rgba(24, 25, 23, 0.22);
}

body {
    background: var(--atelier-paper);
    color: var(--atelier-ink);
    font-family: 'DM Sans', Arial, sans-serif;
    letter-spacing: 0;
}

a {
    color: inherit;
}

.navbar {
    height: 76px;
    background: rgba(239, 238, 232, 0.96);
    border-bottom: 1px solid var(--atelier-line);
    box-shadow: none;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.navbar-container {
    max-width: none;
    height: 100%;
    padding: 0 clamp(20px, 3vw, 48px);
}

.brand-wordmark {
    color: var(--atelier-ink);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.18em;
}

.nav-menu {
    gap: clamp(18px, 2.4vw, 40px);
}

.nav-link,
.nav-actions .btn-link,
.cart-link {
    color: var(--atelier-ink);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.nav-actions .btn-link {
    padding: 11px 13px;
    border: 1px solid var(--atelier-line);
    border-radius: 0;
}

.nav-actions .btn-link:last-of-type {
    display: none;
}

.cart-link {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid var(--atelier-line);
    border-radius: 50%;
}

.cart-count {
    top: -4px;
    right: -4px;
    width: 17px;
    height: 17px;
    display: grid;
    place-items: center;
    background: var(--atelier-lime);
    color: var(--atelier-ink);
    font-size: 9px;
    font-weight: 700;
}

.mobile-menu-btn {
    border: 1px solid var(--atelier-line);
    border-radius: 0;
}

body:has(.atelier-home) .navbar {
    background: rgba(24, 25, 23, 0.42);
    border-color: rgba(239, 238, 232, 0.18);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

body:has(.atelier-home) .brand-wordmark,
body:has(.atelier-home) .nav-link,
body:has(.atelier-home) .nav-actions .btn-link,
body:has(.atelier-home) .cart-link {
    color: var(--atelier-paper);
}

body:has(.atelier-home) .nav-actions .btn-link,
body:has(.atelier-home) .cart-link,
body:has(.atelier-home) .mobile-menu-btn {
    border-color: rgba(239, 238, 232, 0.32);
}

.atelier-home {
    overflow: hidden;
    background: var(--atelier-ink);
}

.atelier-hero {
    min-height: max(720px, 100svh);
    position: relative;
    isolation: isolate;
    overflow: hidden;
    color: var(--atelier-paper);
    background: var(--atelier-concrete);
}

.atelier-hero-media,
.atelier-hero-media::after {
    position: absolute;
    inset: 0;
}

.atelier-hero-media {
    z-index: -2;
    margin: 0;
}

.atelier-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.atelier-hero-media::after {
    z-index: 1;
    content: '';
    background: rgba(20, 20, 18, 0.34);
}

.atelier-hero-copy {
    position: relative;
    z-index: 2;
    width: min(660px, 52vw);
    padding: clamp(158px, 18vh, 238px) 0 96px clamp(78px, 11vw, 190px);
}

.atelier-kicker {
    margin: 0;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.atelier-hero-copy .atelier-kicker {
    margin-bottom: 26px;
    color: rgba(239, 238, 232, 0.72);
}

.atelier-hero h1,
.atelier-statement h2,
.atelier-gallery h2,
.atelier-catalog-header .page-title {
    margin: 0;
    font-family: 'Roboto Condensed', Arial Narrow, sans-serif;
    font-weight: 600;
    letter-spacing: -0.055em;
    text-transform: uppercase;
}

.atelier-hero h1 {
    max-width: 610px;
    font-size: clamp(72px, 8.6vw, 150px);
    line-height: 0.78;
}

.atelier-hero-copy > p:not(.atelier-kicker) {
    max-width: 260px;
    margin: 32px 0 35px;
    color: rgba(239, 238, 232, 0.76);
    font-size: 15px;
    line-height: 1.45;
}

.atelier-primary-action {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    min-width: 232px;
    padding: 15px 18px;
    background: var(--atelier-lime);
    color: var(--atelier-ink);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: transform 180ms ease, background 180ms ease;
}

.atelier-primary-action:hover {
    color: var(--atelier-ink);
    background: var(--atelier-paper);
    transform: translateX(7px);
}

.atelier-hero-vertical {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: clamp(17px, 3vw, 52px);
    margin: 0;
    color: var(--atelier-paper);
    font-family: 'Roboto Condensed', Arial Narrow, sans-serif;
    font-size: clamp(58px, 8vw, 130px);
    font-weight: 700;
    letter-spacing: -0.08em;
    line-height: 0.76;
    opacity: 0.97;
    text-orientation: mixed;
    transform: translateY(-50%) rotate(180deg);
    writing-mode: vertical-rl;
}

.atelier-hero-index {
    position: absolute;
    right: clamp(24px, 4vw, 72px);
    bottom: 44px;
    z-index: 2;
    width: 185px;
    padding-top: 16px;
    border-top: 1px solid rgba(239, 238, 232, 0.45);
}

.atelier-hero-index span,
.atelier-gallery-meta > span {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 36px;
    line-height: 1;
}

.atelier-hero-index p {
    margin: 12px 0 16px;
    font-size: 13px;
    line-height: 1.4;
}

.atelier-hero-index a,
.atelier-inline-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 5px;
    border-bottom: 1px solid currentColor;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.atelier-statement {
    display: grid;
    grid-template-columns: 0.72fr 1.2fr 0.7fr;
    gap: clamp(30px, 6vw, 110px);
    align-items: end;
    padding: clamp(84px, 11vw, 178px) clamp(24px, 7vw, 124px);
    background: var(--atelier-paper);
    color: var(--atelier-ink);
}

.atelier-statement h2 {
    max-width: 630px;
    font-size: clamp(68px, 9.4vw, 166px);
    line-height: 0.74;
}

.atelier-statement > div {
    padding-bottom: 9px;
}

.atelier-statement > div p {
    max-width: 245px;
    margin: 0 0 30px;
    font-size: 16px;
    line-height: 1.45;
}

.atelier-gallery {
    padding: clamp(54px, 8vw, 118px) clamp(20px, 4vw, 68px) 0;
    background: var(--atelier-ink);
    color: var(--atelier-paper);
}

.atelier-gallery-heading {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr auto;
    gap: 30px;
    align-items: end;
    max-width: 1450px;
    margin: 0 auto 54px;
}

.atelier-gallery-heading .atelier-kicker {
    color: rgba(239, 238, 232, 0.62);
}

.atelier-gallery h2 {
    font-size: clamp(72px, 10vw, 170px);
    line-height: 0.73;
}

.atelier-gallery-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.8fr 1.1fr;
    gap: 1px;
    max-width: 1450px;
    margin: 0 auto;
    background: rgba(239, 238, 232, 0.22);
}

.atelier-gallery-piece {
    position: relative;
    min-height: 590px;
    overflow: hidden;
    background: #292a27;
}

.atelier-gallery-piece--luna {
    margin-top: clamp(55px, 8vw, 140px);
    min-height: 500px;
}

.atelier-gallery-piece--loafer {
    min-height: 690px;
}

.atelier-gallery-image,
.atelier-gallery-image img {
    display: block;
    width: 100%;
    height: 100%;
}

.atelier-gallery-image {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.atelier-gallery-image::after {
    position: absolute;
    inset: 0;
    content: '';
    background: rgba(12, 12, 11, 0.24);
}

.atelier-gallery-image img {
    object-fit: cover;
    filter: grayscale(1) contrast(1.14) brightness(0.8);
    transition: transform 700ms cubic-bezier(0.2, 0.6, 0.2, 1);
}

.atelier-gallery-piece:hover .atelier-gallery-image img {
    transform: scale(1.045);
}

.atelier-gallery-meta {
    position: absolute;
    z-index: 2;
    right: 23px;
    bottom: 23px;
    left: 23px;
}

.atelier-gallery-meta > span {
    color: var(--atelier-lime);
}

.atelier-gallery-meta h3 {
    margin: 13px 0 3px;
    font-size: 17px;
    font-weight: 500;
}

.atelier-gallery-meta p {
    margin: 0;
    color: rgba(239, 238, 232, 0.68);
    font-size: 12px;
}

.atelier-catalog-header {
    padding: clamp(138px, 17vw, 232px) 0 clamp(62px, 7vw, 105px);
    background: var(--atelier-paper);
    border-bottom: 1px solid var(--atelier-line);
}

.atelier-catalog-header .section-container {
    display: grid;
    grid-template-columns: 0.46fr 1.3fr 0.52fr;
    gap: 24px;
    align-items: end;
    max-width: 1450px;
    padding-top: 0;
}

.atelier-catalog-header .atelier-kicker {
    align-self: start;
}

.atelier-catalog-header .page-title {
    font-size: clamp(86px, 12.5vw, 210px);
    line-height: 0.72;
}

.atelier-catalog-header .page-subtitle {
    max-width: 255px;
    margin: 0 0 5px;
    color: var(--atelier-ink);
    font-family: 'DM Sans', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.45;
}

.catalog-wrapper {
    max-width: 1450px;
    padding: clamp(42px, 6vw, 82px) 0 145px;
}

.filter-sidebar {
    top: 112px;
    width: 205px;
}

.filter-header,
.filter-section {
    padding-bottom: 19px;
    margin-bottom: 20px;
    border-color: var(--atelier-line);
}

.filter-header h3,
.filter-title,
.catalog-count,
.search-results-info {
    color: var(--atelier-ink);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.search-input-wrapper {
    border-bottom: 1px solid var(--atelier-line);
}

.search-input {
    color: var(--atelier-ink);
    border-radius: 0;
}

.search-input::placeholder {
    color: rgba(24, 25, 23, 0.55);
}

.search-form .btn-primary {
    padding: 13px 14px;
    border-radius: 0;
    background: var(--atelier-ink);
    color: var(--atelier-paper);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.filter-item {
    color: rgba(24, 25, 23, 0.6);
}

.filter-item.active,
.filter-item:hover {
    color: var(--atelier-ink);
}

.catalog-toolbar {
    min-height: 28px;
    margin-bottom: 29px;
    border-bottom: 1px solid var(--atelier-line);
}

.products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(38px, 5vw, 82px) 15px;
}

.product-card {
    position: relative;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.product-card:nth-child(3n + 2) {
    margin-top: clamp(44px, 7vw, 120px);
}

.product-image-link {
    aspect-ratio: 0.76;
    background: #d4d1c9;
    border-radius: 0;
}

.product-image {
    filter: grayscale(1) contrast(1.05);
    transition: transform 500ms ease, filter 350ms ease;
}

.product-card:hover .product-image {
    filter: grayscale(0.25) contrast(1.05);
    transform: scale(1.035);
}

.atelier-product-number {
    position: absolute;
    z-index: 2;
    top: 12px;
    left: 13px;
    color: var(--atelier-ink);
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 29px;
    line-height: 1;
}

.product-info {
    padding: 15px 0 0;
}

.product-category {
    color: rgba(24, 25, 23, 0.6);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.product-name {
    margin: 5px 0 10px;
    color: var(--atelier-ink);
    font-family: 'Roboto Condensed', Arial Narrow, sans-serif;
    font-size: 25px;
    font-weight: 600;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.product-footer {
    padding-top: 10px;
    border-top: 1px solid var(--atelier-line);
}

.product-price,
.product-link {
    color: var(--atelier-ink);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.product-link {
    text-transform: uppercase;
}

.reviews-page-header,
.page-header {
    background: var(--atelier-paper);
    border-color: var(--atelier-line);
}

.product-detail {
    gap: clamp(38px, 6vw, 104px);
    margin-bottom: 112px;
}

.product-gallery {
    top: 108px;
}

.product-main-image {
    border: 0;
    border-radius: 0;
    background: #d4d1c9;
}

.product-detail-img {
    filter: contrast(1.04);
}

.product-info-block {
    gap: 22px;
    padding-top: 1px;
}

.product-category-badge {
    padding: 8px 10px;
    color: var(--atelier-ink);
    background: transparent;
    border: 1px solid var(--atelier-line);
    border-radius: 0;
    font-size: 10px;
    font-weight: 700;
}

.product-detail-title {
    color: var(--atelier-ink);
    font-family: 'Roboto Condensed', Arial Narrow, sans-serif;
    font-size: clamp(42px, 4.8vw, 78px);
    font-weight: 600;
    letter-spacing: -0.055em;
    line-height: 0.86;
    text-transform: uppercase;
}

.product-rating,
.product-price-block,
.product-actions {
    border-color: var(--atelier-line);
}

.product-description,
.rating-count {
    color: rgba(24, 25, 23, 0.64);
}

.price-value {
    color: var(--atelier-ink);
    font-family: 'Roboto Condensed', Arial Narrow, sans-serif;
    font-size: 42px;
    font-weight: 600;
    letter-spacing: -0.04em;
}

.stock-status,
.stock-status.in-stock,
.stock-status.out-of-stock {
    padding: 7px 9px;
    border-radius: 0;
    font-size: 11px;
}

.btn-add-cart {
    border-radius: 0;
    background: var(--atelier-ink);
    color: var(--atelier-paper);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.btn-add-cart:hover {
    background: var(--atelier-lime);
    color: var(--atelier-ink);
}

.qty-btn,
.qty-input {
    border-radius: 0;
    border-color: var(--atelier-line);
    color: var(--atelier-ink);
}

.product-features {
    gap: 0;
}

.feature-item {
    padding: 18px;
    border-radius: 0;
    border-color: var(--atelier-line);
    background: transparent;
}

@media (max-width: 760px) {
    .navbar {
        height: 66px;
    }

    .navbar-container {
        padding: 0 18px;
    }

    .brand-wordmark {
        font-size: 14px;
    }

    .atelier-hero {
        min-height: 790px;
    }

    .atelier-hero-media img {
        object-position: 62% center;
    }

    .atelier-hero-media::after {
        background: rgba(20, 20, 18, 0.38);
    }

    .atelier-hero-copy {
        width: auto;
        padding: 128px 24px 150px;
    }

    .atelier-hero h1 {
        max-width: 320px;
        font-size: clamp(66px, 20vw, 92px);
        line-height: 0.79;
    }

    .atelier-hero-vertical {
        top: auto;
        right: 16px;
        bottom: 77px;
        left: auto;
        font-size: 48px;
        transform: rotate(180deg);
    }

    .atelier-hero-index {
        right: 24px;
        bottom: 23px;
        width: 160px;
    }

    .atelier-statement,
    .atelier-gallery-heading,
    .atelier-catalog-header .section-container {
        grid-template-columns: 1fr;
    }

    .atelier-statement {
        gap: 32px;
        padding: 78px 24px;
    }

    .atelier-statement h2 {
        font-size: clamp(72px, 23vw, 100px);
    }

    .atelier-gallery {
        padding: 62px 16px 0;
    }

    .atelier-gallery-heading {
        gap: 20px;
        margin-bottom: 37px;
        padding: 0 8px;
    }

    .atelier-gallery h2 {
        font-size: clamp(72px, 24vw, 104px);
    }

    .atelier-gallery-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }

    .atelier-gallery-piece,
    .atelier-gallery-piece--luna,
    .atelier-gallery-piece--loafer {
        min-height: 510px;
        margin-top: 0;
    }

    .atelier-catalog-header {
        padding: 118px 0 54px;
    }

    .atelier-catalog-header .page-title {
        font-size: clamp(58px, 17vw, 68px);
        letter-spacing: -0.075em;
    }

    .product-detail {
        margin-bottom: 70px;
    }

    .product-detail-title {
        font-size: clamp(42px, 14vw, 58px);
    }

    .atelier-catalog-header .section-container {
        gap: 23px;
    }

    .catalog-wrapper {
        padding: 36px 0 92px;
    }

    .product-card:nth-child(3n + 2) {
        margin-top: 0;
    }

    .product-image-link {
        aspect-ratio: 0.84;
    }
}

/* Final atelier pass: navigation, footer, focus and motion are part of the same system. */
html {
    scroll-behavior: auto;
}

:where(a, button, input, select, textarea):focus-visible {
    outline: 2px solid #657700;
    outline-offset: 3px;
}

.nav-link {
    padding: 10px 0;
    transition: color 160ms ease, opacity 160ms ease;
}

.nav-link::after {
    display: none;
}

.nav-link:hover {
    color: var(--atelier-ink);
    opacity: 0.58;
}

.nav-actions .btn-link {
    min-width: 88px;
    text-align: center;
}

.mobile-menu-overlay {
    display: block;
    background: rgba(10, 10, 9, 0.92);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    pointer-events: none;
}

.mobile-menu-overlay.active {
    pointer-events: auto;
}

.mobile-menu {
    width: min(100vw, 480px);
    max-width: none;
    padding: 24px 24px 30px;
    color: var(--atelier-paper);
    background: var(--atelier-ink);
    border-right: 1px solid rgba(239, 238, 232, 0.18);
    box-shadow: none;
}

.mobile-menu-header {
    align-items: flex-start;
    margin-bottom: 26px;
    padding-bottom: 19px;
    border-color: rgba(239, 238, 232, 0.18);
}

.mobile-menu-kicker {
    margin: 0 0 7px;
    color: rgba(239, 238, 232, 0.58);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.mobile-menu .logo-link {
    display: inline-block;
    color: var(--atelier-paper);
    font-family: 'Roboto Condensed', Arial Narrow, sans-serif;
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -0.045em;
    line-height: 0.9;
}

.mobile-menu-close {
    width: 42px;
    height: 42px;
    color: var(--atelier-paper);
    border: 1px solid rgba(239, 238, 232, 0.28);
    border-radius: 0;
}

.mobile-menu-close:hover {
    color: var(--atelier-ink);
    background: var(--atelier-lime);
}

.mobile-nav-list {
    gap: 0;
}

.mobile-nav-item {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) auto;
    gap: 0;
    min-height: 47px;
    padding: 9px 0;
    color: var(--atelier-paper);
    border-bottom: 1px solid rgba(239, 238, 232, 0.14);
    border-radius: 0;
    font-family: 'Roboto Condensed', Arial Narrow, sans-serif;
    font-size: clamp(27px, 8vw, 38px);
    font-weight: 500;
    letter-spacing: -0.035em;
    line-height: 0.92;
}

.mobile-nav-item:hover,
.mobile-nav-item.active {
    color: var(--atelier-lime);
    background: transparent;
}

.mobile-nav-index {
    align-self: start;
    padding-top: 3px;
    color: rgba(239, 238, 232, 0.52);
    font-family: 'DM Sans', Arial, sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1;
}

.mobile-nav-item:hover .mobile-nav-index {
    color: var(--atelier-lime);
}

.mobile-menu-divider {
    margin: 12px 0;
    background: rgba(239, 238, 232, 0.24);
}

.mobile-nav-item .cart-count {
    align-self: center;
    width: 21px;
    height: 21px;
    color: var(--atelier-ink);
    font-family: 'DM Sans', Arial, sans-serif;
    font-size: 10px;
    letter-spacing: 0;
}

.footer {
    margin-top: 0;
    padding: clamp(64px, 8vw, 118px) clamp(20px, 4vw, 68px) 0;
    color: var(--atelier-paper);
    background: var(--atelier-ink);
    border: 0;
}

.footer-container {
    max-width: 1450px;
    gap: 0;
    margin-bottom: 0;
}

.footer-top {
    display: grid;
    grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.28fr);
    gap: clamp(44px, 8vw, 144px);
    margin: 0;
    padding-bottom: clamp(52px, 7vw, 100px);
}

.footer-brand {
    padding: 0;
}

.footer-wordmark {
    color: var(--atelier-paper);
    font-family: 'Roboto Condensed', Arial Narrow, sans-serif;
    font-size: clamp(52px, 6vw, 96px);
    font-weight: 600;
    letter-spacing: -0.07em;
    line-height: 0.75;
}

.footer-tagline {
    max-width: 195px;
    margin: 26px 0 0;
    color: rgba(239, 238, 232, 0.62);
    font-size: 14px;
    line-height: 1.5;
}

.footer-social {
    gap: 0;
    margin-top: 25px;
}

.footer .social-link {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    color: var(--atelier-paper);
    border: 1px solid rgba(239, 238, 232, 0.22);
    border-right: 0;
}

.footer .social-link:last-child {
    border-right: 1px solid rgba(239, 238, 232, 0.22);
}

.footer .social-link:hover {
    color: var(--atelier-ink);
    background: var(--atelier-lime);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.footer-title,
.footer-section h3 {
    margin: 0 0 20px;
    color: rgba(239, 238, 232, 0.5);
    font-family: 'DM Sans', Arial, sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.footer-list li {
    margin-bottom: 11px;
}

.footer-list a,
.footer-contacts li,
.footer-contacts span {
    color: var(--atelier-paper);
    font-size: 13px;
    line-height: 1.35;
}

.footer-list a:hover {
    color: var(--atelier-lime);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 0 20px;
    color: rgba(239, 238, 232, 0.5);
    border-top: 1px solid rgba(239, 238, 232, 0.2);
    font-size: 10px;
    letter-spacing: 0.08em;
    text-align: left;
    text-transform: uppercase;
}

.footer-copyright,
.footer-legal a {
    color: inherit;
}

.footer-legal {
    display: flex;
    gap: 18px;
}

.footer :focus-visible {
    outline-color: var(--atelier-lime);
}

/* A four-column footer needs more room than the mid-size layout can provide. */
@media (max-width: 1240px) and (min-width: 761px) {
    .footer-top {
        grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.28fr);
        gap: clamp(40px, 5vw, 72px);
    }

    .footer-links {
        grid-template-columns: repeat(2, minmax(180px, 1fr));
        column-gap: clamp(32px, 4vw, 60px);
        row-gap: 38px;
    }

    .footer-section:last-child {
        grid-column: 1 / -1;
    }

    .footer-contacts li,
    .footer-contacts a,
    .footer-contacts span {
        overflow-wrap: anywhere;
    }
}

@media (max-width: 1024px) and (min-width: 761px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 46px;
    }

    .footer-brand {
        max-width: 320px;
    }

    .footer-links {
        max-width: 620px;
    }
}

@media (max-width: 760px) {
    .nav-actions .btn-link {
        display: none;
    }

    .mobile-menu {
        padding: 22px 20px 26px;
    }

    .mobile-nav-item {
        min-height: 44px;
        font-size: clamp(27px, 9vw, 34px);
    }

    .footer {
        padding: 62px 24px 0;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 48px;
        padding-bottom: 48px;
    }

    .footer-wordmark {
        font-size: clamp(47px, 12.5vw, 52px);
    }

    .footer-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 34px;
    }

    .footer-section:last-child {
        grid-column: 1 / -1;
        padding-top: 2px;
    }

    .footer-contacts li,
    .footer-contacts a,
    .footer-contacts span {
        overflow-wrap: anywhere;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 9px;
        font-size: 9px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
