/* ============================================
   ObuvkiNaEdro - Modern Wholesale Platform CSS
   ============================================ */

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --primary: #1a2332;
    --primary-light: #2c3e50;
    --accent: #e67e22;
    --accent-hover: #d35400;
    --success: #27ae60;
    --danger: #e74c3c;
    --warning: #f39c12;
    --info: #3498db;
    --text: #2c3e50;
    --text-light: #7f8c8d;
    --bg: #f8f9fa;
    --bg-white: #ffffff;
    --border: #e0e0e0;
    --shadow: 0 2px 15px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: all 0.3s ease;
    --font: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Roboto', sans-serif;
}

html { scroll-behavior: smooth; }
body {
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a { color: var(--accent); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent-hover); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container-wide { max-width: 1400px; margin: 0 auto; padding: 0 20px; }

/* ==================== HEADER ==================== */
.site-header {
    background: var(--primary);
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.header-top {
    background: rgba(0,0,0,0.2);
    padding: 8px 0;
    font-size: 0.85rem;
}
.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header-top a { color: rgba(255,255,255,0.8); }
.header-top a:hover { color: #fff; }
.header-top-links { display: flex; gap: 20px; }
.header-top-links svg { width: 14px; height: 14px; margin-right: 5px; vertical-align: -2px; }

.header-main {
    padding: 15px 0;
}
.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}
.logo:hover { color: #fff; }
.logo span { color: var(--accent); }
.logo small {
    font-size: 0.5em;
    font-weight: 400;
    opacity: 0.7;
    display: block;
    margin-top: -5px;
}

/* Navigation */
.main-nav ul {
    display: flex;
    gap: 5px;
    align-items: center;
}
.main-nav a {
    color: rgba(255,255,255,0.85);
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}
.main-nav a:hover,
.main-nav a.active {
    color: #fff;
    background: rgba(255,255,255,0.1);
}

.header-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
}

/* ==================== BUTTONS ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    line-height: 1.4;
}
.btn svg { width: 18px; height: 18px; }

.btn-primary {
    background: var(--accent);
    color: #fff;
}
.btn-primary:hover {
    background: var(--accent-hover);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(230,126,34,0.3);
}

.btn-secondary {
    background: var(--primary);
    color: #fff;
}
.btn-secondary:hover {
    background: var(--primary-light);
    color: #fff;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
}
.btn-outline:hover {
    background: var(--accent);
    color: #fff;
}

.btn-white {
    background: #fff;
    color: var(--primary);
}
.btn-white:hover {
    background: rgba(255,255,255,0.9);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-sm { padding: 8px 18px; font-size: 0.85rem; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-success { background: var(--success); color: #fff; }
.btn-success:hover { background: #219a52; color: #fff; }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: #c0392b; color: #fff; }

/* ==================== HERO ==================== */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(230,126,34,0.15) 0%, transparent 70%);
    border-radius: 50%;
}
.hero-content {
    max-width: 600px;
    position: relative;
    z-index: 1;
}
.hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}
.hero h1 span { color: var(--accent); }
.hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 30px;
    line-height: 1.7;
}
.hero-buttons { display: flex; gap: 15px; flex-wrap: wrap; }

/* ==================== SECTIONS ==================== */
.section {
    padding: 70px 0;
}
.section-header {
    text-align: center;
    margin-bottom: 50px;
}
.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}
.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.section-bg { background: var(--bg-white); }

/* ==================== PRODUCT CARDS ==================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 25px;
}

.product-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-card-image {
    aspect-ratio: 1;
    overflow: hidden;
    background: #f0f0f0;
    position: relative;
}
.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.product-card:hover .product-card-image img {
    transform: scale(1.08);
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 2;
}
.badge-sale { background: var(--danger); color: #fff; }
.badge-new { background: var(--success); color: #fff; }
.badge-out { background: var(--text-light); color: #fff; }

.product-card-body {
    padding: 20px;
}
.product-card-category {
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}
.product-card-title {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-card-title a { color: inherit; }
.product-card-title a:hover { color: var(--accent); }

.product-card-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
}
.product-card-price .old-price {
    font-size: 0.9rem;
    color: var(--text-light);
    text-decoration: line-through;
    font-weight: 400;
    margin-right: 8px;
}

.price-hidden {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.price-hidden svg { width: 16px; height: 16px; }

.product-card-meta {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap;
}
.product-card-meta span {
    font-size: 0.8rem;
    color: var(--text-light);
    background: var(--bg);
    padding: 3px 10px;
    border-radius: 20px;
}

/* ==================== CATEGORIES ==================== */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}
.category-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid transparent;
}
.category-card:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
}
.category-card img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 15px;
}
.category-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 5px;
}
.category-card span {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* ==================== BLOG ==================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}
.blog-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}
.blog-card-image {
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #f0f0f0;
}
.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}
.blog-card-body {
    padding: 25px;
}
.blog-card-date {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 8px;
}
.blog-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
}
.blog-card-title a { color: var(--text); }
.blog-card-title a:hover { color: var(--accent); }
.blog-card-excerpt {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
}
.blog-card-link {
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* ==================== FORMS ==================== */
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text);
}
.form-group label .required {
    color: var(--danger);
}
.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-family: var(--font);
    transition: var(--transition);
    background: var(--bg-white);
    color: var(--text);
}
.form-control:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(230,126,34,0.1);
}
textarea.form-control {
    min-height: 120px;
    resize: vertical;
}
select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%237f8c8d' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* ==================== AUTH PAGES ==================== */
.auth-page {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}
.auth-box {
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 45px;
    width: 100%;
    max-width: 500px;
}
.auth-box.wide { max-width: 650px; }
.auth-box h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--primary);
}
.auth-box .subtitle {
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 0.95rem;
}
.auth-links {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ==================== ALERTS ==================== */
.alert {
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}
.alert svg { width: 20px; height: 20px; flex-shrink: 0; }
.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-danger { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.alert-warning { background: #fff3cd; color: #856404; border: 1px solid #ffeeba; }
.alert-info { background: #d1ecf1; color: #0c5460; border: 1px solid #bee5eb; }

/* ==================== FEATURES ==================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}
.feature-card {
    text-align: center;
    padding: 40px 25px;
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}
.feature-icon svg { width: 32px; height: 32px; color: #fff; fill: #fff; }
.feature-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.feature-card p { color: var(--text-light); font-size: 0.9rem; line-height: 1.6; }

/* ==================== PAGINATION ==================== */
.pagination {
    display: flex;
    gap: 5px;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap;
}
.pagination a, .pagination span {
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
}
.pagination a {
    background: var(--bg-white);
    color: var(--text);
    border: 1px solid var(--border);
}
.pagination a:hover { border-color: var(--accent); color: var(--accent); }
.pagination .active {
    background: var(--accent);
    color: #fff;
    border: 1px solid var(--accent);
}

/* ==================== PRODUCT PAGE ==================== */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    padding: 40px 0;
}
.product-gallery {
    position: relative;
}
.product-main-image {
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 1;
    background: #f0f0f0;
}
.product-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}
.product-thumbs img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}
.product-thumbs img:hover,
.product-thumbs img.active { border-color: var(--accent); }

.product-info h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.product-info .sku {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-bottom: 15px;
}
.product-price-big {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 20px;
}
.product-price-big .old { text-decoration: line-through; color: var(--text-light); font-weight: 400; font-size: 1.2rem; }
.product-description {
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 25px;
}
.product-attributes {
    margin-bottom: 25px;
}
.product-attributes table {
    width: 100%;
    border-collapse: collapse;
}
.product-attributes td {
    padding: 10px 15px;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
}
.product-attributes td:first-child {
    font-weight: 600;
    color: var(--text-light);
    width: 40%;
}

/* ==================== BREADCRUMB ==================== */
.breadcrumb {
    padding: 15px 0;
    font-size: 0.85rem;
}
.breadcrumb a { color: var(--text-light); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: var(--text-light); margin: 0 8px; }
.breadcrumb strong { color: var(--text); font-weight: 600; }

/* ==================== FILTERS ==================== */
.catalog-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 30px;
    padding: 40px 0;
}
.catalog-sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
}
.filter-section {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}
.filter-section h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--bg);
}
.filter-section ul li {
    margin-bottom: 8px;
}
.filter-section ul li a {
    color: var(--text);
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.filter-section ul li a:hover,
.filter-section ul li a.active {
    background: rgba(230,126,34,0.1);
    color: var(--accent);
}
.filter-section ul li a span {
    color: var(--text-light);
    font-size: 0.8rem;
}

.catalog-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}
.catalog-toolbar .results-count {
    color: var(--text-light);
    font-size: 0.9rem;
}
.catalog-toolbar select {
    padding: 8px 35px 8px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    background: var(--bg-white);
}

/* ==================== SEARCH ==================== */
.search-bar {
    position: relative;
    max-width: 400px;
}
.search-bar input {
    width: 100%;
    padding: 12px 45px 12px 18px;
    border: 2px solid var(--border);
    border-radius: 50px;
    font-size: 0.95rem;
    transition: var(--transition);
}
.search-bar input:focus {
    border-color: var(--accent);
    outline: none;
}
.search-bar button {
    position: absolute;
    right: 5px;
    top: 5px;
    bottom: 5px;
    padding: 0 15px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 50px;
    cursor: pointer;
}

/* ==================== FOOTER ==================== */
.site-footer {
    background: var(--primary);
    color: rgba(255,255,255,0.8);
    margin-top: auto;
}
.footer-main {
    padding: 60px 0 40px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}
.footer-col h3 {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
}
.footer-col p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 10px;
}
.footer-col ul li {
    margin-bottom: 10px;
}
.footer-col ul li a {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    transition: var(--transition);
}
.footer-col ul li a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}

/* ==================== BLOG SINGLE ==================== */
.blog-single {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}
.blog-single h1 {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 15px;
}
.blog-single .meta {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 30px;
    display: flex;
    gap: 15px;
}
.blog-single .featured-image {
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 30px;
    aspect-ratio: 16/9;
}
.blog-single .featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.blog-content {
    font-size: 1.05rem;
    line-height: 1.8;
}
.blog-content h2 { font-size: 1.5rem; margin: 30px 0 15px; }
.blog-content h3 { font-size: 1.2rem; margin: 25px 0 12px; }
.blog-content p { margin-bottom: 15px; }
.blog-content ul, .blog-content ol { margin: 15px 0; padding-left: 30px; }
.blog-content li { margin-bottom: 8px; }
.blog-content img { border-radius: var(--radius-sm); margin: 20px 0; }
.blog-content blockquote {
    border-left: 4px solid var(--accent);
    padding: 15px 25px;
    margin: 20px 0;
    background: var(--bg);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic;
}

/* ==================== PROFILE ==================== */
.profile-page { padding: 40px 0; }
.profile-header {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 25px;
}
.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
}
.profile-info h2 { font-size: 1.4rem; font-weight: 700; }
.profile-info p { color: var(--text-light); font-size: 0.9rem; }

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}
.status-pending { background: #fff3cd; color: #856404; }
.status-approved { background: #d4edda; color: #155724; }
.status-rejected { background: #f8d7da; color: #721c24; }

/* ==================== ABOUT PAGE ==================== */
.about-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff;
    padding: 60px 0;
    text-align: center;
}
.about-hero h1 { font-size: 2.5rem; font-weight: 800; }
.about-hero p { font-size: 1.1rem; opacity: 0.9; max-width: 600px; margin: 15px auto 0; }

.about-content {
    padding: 60px 0;
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.8;
}

/* ==================== CONTACT PAGE ==================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 50px 0;
}
.contact-info-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--shadow);
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}
.contact-info-card .icon {
    width: 50px;
    height: 50px;
    background: rgba(230,126,34,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-info-card .icon svg { width: 22px; height: 22px; fill: var(--accent); }
.contact-info-card h4 { font-size: 1rem; font-weight: 600; margin-bottom: 3px; }
.contact-info-card p { color: var(--text-light); font-size: 0.9rem; }

/* ==================== ADMIN ==================== */
.admin-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    min-height: 100vh;
}
.admin-sidebar {
    background: var(--primary);
    color: #fff;
    padding: 25px 0;
}
.admin-sidebar .logo {
    padding: 0 25px 25px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 20px;
    font-size: 1.2rem;
}
.admin-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 25px;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    transition: var(--transition);
}
.admin-nav a:hover, .admin-nav a.active {
    background: rgba(255,255,255,0.1);
    color: #fff;
}
.admin-nav a svg { width: 20px; height: 20px; }
.admin-nav .divider {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin: 15px 0;
}

.admin-content {
    padding: 30px;
    background: var(--bg);
    overflow-y: auto;
}
.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}
.admin-header h1 {
    font-size: 1.6rem;
    font-weight: 700;
}

/* Stats cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}
.stat-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 20px;
}
.stat-icon {
    width: 55px;
    height: 55px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}
.stat-icon svg { width: 28px; height: 28px; fill: #fff; }
.stat-icon.blue { background: linear-gradient(135deg, #3498db, #2980b9); }
.stat-icon.green { background: linear-gradient(135deg, #27ae60, #219a52); }
.stat-icon.orange { background: linear-gradient(135deg, #e67e22, #d35400); }
.stat-icon.red { background: linear-gradient(135deg, #e74c3c, #c0392b); }
.stat-info h3 { font-size: 1.6rem; font-weight: 700; }
.stat-info p { color: var(--text-light); font-size: 0.85rem; }

/* Admin table */
.admin-table-wrap {
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}
.admin-table {
    width: 100%;
    border-collapse: collapse;
}
.admin-table th {
    background: var(--bg);
    padding: 14px 20px;
    text-align: left;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-light);
}
.admin-table td {
    padding: 14px 20px;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
}
.admin-table tr:hover { background: rgba(230,126,34,0.03); }
.admin-table .actions { display: flex; gap: 8px; }

/* Admin form card */
.admin-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 30px;
    margin-bottom: 25px;
}
.admin-card h2 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--bg);
}

/* ==================== EMPTY STATE ==================== */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}
.empty-state svg { width: 80px; height: 80px; fill: var(--border); margin-bottom: 20px; }
.empty-state h3 { font-size: 1.3rem; margin-bottom: 10px; }
.empty-state p { color: var(--text-light); margin-bottom: 20px; }

/* ==================== 404 ==================== */
.page-404 {
    text-align: center;
    padding: 100px 20px;
}
.page-404 h1 { font-size: 6rem; font-weight: 800; color: var(--accent); }
.page-404 h2 { font-size: 1.5rem; margin-bottom: 15px; }
.page-404 p { color: var(--text-light); margin-bottom: 30px; }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 992px) {
    .catalog-layout { grid-template-columns: 1fr; }
    .catalog-sidebar { display: none; }
    .product-detail { grid-template-columns: 1fr; gap: 30px; }
    .footer-main { grid-template-columns: 1fr 1fr; }
    .admin-layout { grid-template-columns: 1fr; }
    .admin-sidebar { display: none; }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .hero { padding: 50px 0; }
    .hero h1 { font-size: 2rem; }
    .header-top { display: none; }
    .main-nav { display: none; }
    .main-nav.active {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary);
        border-top: 1px solid rgba(255,255,255,0.1);
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    }
    .main-nav.active ul {
        flex-direction: column;
        width: 100%;
    }
    .main-nav.active a {
        padding: 12px 15px;
        width: 100%;
    }
    .menu-toggle { display: block; }
    .footer-main { grid-template-columns: 1fr; }
    .products-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 15px; }
    .blog-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .auth-box { padding: 30px 25px; }
    .section { padding: 40px 0; }
    .section-header h2 { font-size: 1.5rem; }
    .blog-single h1 { font-size: 1.6rem; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
    .products-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .product-card-body { padding: 12px; }
    .product-card-title { font-size: 0.9rem; }
    .product-card-price { font-size: 1.05rem; }
    .hero-buttons { flex-direction: column; }
    .stats-grid { grid-template-columns: 1fr; }
}

/* ==================== UTILITIES ==================== */
.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.d-flex { display: flex; }
.gap-1 { gap: 10px; }
.gap-2 { gap: 20px; }
.flex-wrap { flex-wrap: wrap; }
.justify-between { justify-content: space-between; }
.align-center { align-items: center; }
.hidden { display: none; }
