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

:root {
    --bg-main: hsl(224, 71%, 4%);
    --bg-card: hsla(222, 47%, 8%, 0.6);
    --bg-card-hover: hsla(222, 47%, 12%, 0.85);
    --border-color: hsla(217, 30%, 20%, 0.5);
    --border-hover: hsla(250, 60%, 50%, 0.6);
    
    /* Neon gradients */
    --accent-primary: hsl(250, 89%, 65%);
    --accent-secondary: hsl(190, 90%, 50%);
    --grad-primary: linear-gradient(135deg, hsl(263, 90%, 60%) 0%, hsl(217, 91%, 60%) 100%);
    --grad-glow: linear-gradient(135deg, rgba(139, 92, 246, 0.3) 0%, rgba(59, 130, 246, 0.3) 100%);
    
    --text-main: hsl(210, 40%, 98%);
    --text-muted: hsl(215, 20%, 65%);
    --text-highlight: hsl(190, 90%, 50%);
    
    --shadow-neon: 0 0 20px rgba(139, 92, 246, 0.25);
    --shadow-neon-strong: 0 0 35px rgba(139, 92, 246, 0.5);
    
    --font-outfit: 'Outfit', sans-serif;
    --font-inter: 'Inter', sans-serif;
    
    --transition-smooth: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Reset and Globals */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-inter);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(99, 102, 241, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(6, 182, 212, 0.08) 0%, transparent 45%);
}

a {
    color: inherit;
    text-decoration: none;
}

button, input, select, textarea {
    font-family: inherit;
    color: inherit;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-primary);
}

/* Header & Glassmorphic Navbar */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background-color: rgba(12, 13, 20, 0.75);
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-outfit);
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -1px;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-secondary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-secondary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.cart-icon-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    padding: 0.75rem 1rem;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    transition: var(--transition-smooth);
}

.cart-icon-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-neon);
}

.cart-count {
    background: var(--grad-primary);
    padding: 0.2rem 0.5rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

/* Layout Main */
main {
    flex: 1;
    max-width: 1600px;
    width: 100%;
    margin: 0 auto;
    padding: 2rem;
}

/* Catalog Page Layout */
.catalog-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
}

/* Filters Sidebar */
.filters-sidebar {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2rem;
    height: fit-content;
    position: sticky;
    top: 100px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.filter-section {
    margin-bottom: 2rem;
}

.filter-section h3 {
    font-family: var(--font-outfit);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    letter-spacing: 0.5px;
    border-left: 3px solid var(--accent-primary);
    padding-left: 0.75rem;
}

.search-input-wrapper {
    position: relative;
}

.search-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 0.8rem 1rem 0.8rem 2.5rem;
    color: var(--text-main);
    transition: var(--transition-smooth);
}

.search-input:focus {
    outline: none;
    border-color: var(--accent-primary);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-neon);
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.brand-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.checkbox-label:hover {
    color: var(--text-main);
}

.checkbox-label input {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.03);
    cursor: pointer;
    position: relative;
    transition: var(--transition-smooth);
}

.checkbox-label input:checked {
    background: var(--grad-primary);
    border-color: transparent;
}

.checkbox-label input:checked::after {
    content: "✓";
    position: absolute;
    color: white;
    font-size: 0.75rem;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: 700;
}

.price-range-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.price-range-inputs {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.price-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.5rem;
    text-align: center;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

/* Product Card */
.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 1px;
    background: var(--grad-primary);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: var(--transition-smooth);
    pointer-events: none;
}

.product-card:hover {
    transform: translateY(-8px);
    background: var(--bg-card-hover);
    box-shadow: var(--shadow-neon);
}

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

.product-image-container {
    height: 280px;
    background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, rgba(0,0,0,0) 80%);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
    overflow: hidden;
    position: relative;
}

.product-image {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0.75rem;
}

.product-brand {
    font-family: var(--font-outfit);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--accent-secondary);
}

.product-title {
    font-family: var(--font-outfit);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
}

.product-card-specs {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin: 0.5rem 0 1rem;
    font-size: 0.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 0.75rem;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}

.spec-label {
    color: var(--text-muted);
    font-weight: 500;
    white-space: nowrap;
}

.spec-value {
    color: var(--text-main);
    text-align: right;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 70%;
}

.product-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 1rem;
}

.product-price {
    font-family: var(--font-outfit);
    font-size: 1.4rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff 0%, var(--text-muted) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn-primary {
    background: var(--grad-primary);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    box-shadow: var(--shadow-neon-strong);
    transform: scale(1.03);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    padding: 0.8rem 1.5rem;
    border-radius: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--border-hover);
}

.btn-danger {
    background: linear-gradient(135deg, hsl(350, 80%, 55%) 0%, hsl(340, 80%, 45%) 100%);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-danger:hover {
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.35);
}

/* Product Detail Page */
.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 2rem;
}

.detail-gallery {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem;
    height: 500px;
    backdrop-filter: blur(16px);
}

.detail-gallery img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.detail-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.detail-content h1 {
    font-family: var(--font-outfit);
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.specs-table tr {
    border-bottom: 1px solid var(--border-color);
}

.specs-table td {
    padding: 1rem 0;
}

.specs-table td:first-child {
    font-weight: 500;
    color: var(--text-muted);
    width: 35%;
}

.specs-table td:last-child {
    color: var(--text-main);
}

/* Sliding Cart Drawer */
.cart-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

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

.cart-drawer {
    position: fixed;
    top: 0;
    right: -450px;
    width: 450px;
    height: 100vh;
    background: hsla(222, 47%, 6%, 0.95);
    border-left: 1px solid var(--border-color);
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    backdrop-filter: blur(20px);
}

.cart-drawer.active {
    right: 0;
}

.cart-drawer-header {
    padding: 2rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-drawer-header h2 {
    font-family: var(--font-outfit);
    font-size: 1.5rem;
}

.close-cart-btn {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
}

.close-cart-btn:hover {
    color: var(--text-main);
}

.cart-drawer-items {
    flex: 1;
    padding: 2rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cart-item {
    display: flex;
    gap: 1rem;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 1.5rem;
}

.cart-item img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
}

.cart-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.cart-item-title {
    font-weight: 600;
    font-size: 0.95rem;
}

.cart-item-price {
    color: var(--accent-secondary);
    font-weight: 700;
    font-size: 0.9rem;
}

.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.qty-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.9rem;
}

.qty-btn:hover {
    border-color: var(--accent-primary);
}

.cart-drawer-footer {
    padding: 2rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-outfit);
    font-size: 1.25rem;
    font-weight: 700;
}

/* Checkout Page Styling */
.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 450px;
    gap: 4rem;
    margin-top: 2rem;
}

.checkout-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 32px;
    padding: 3rem;
    backdrop-filter: blur(16px);
}

.checkout-card h2 {
    font-family: var(--font-outfit);
    font-size: 2rem;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 0.9rem 1.25rem;
    color: var(--text-main);
    transition: var(--transition-smooth);
}

select.form-control {
    background-color: hsl(224, 71%, 8%);
    color: var(--text-main);
}

select.form-control option {
    background-color: hsl(224, 71%, 8%);
    color: var(--text-main);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-primary);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: var(--shadow-neon);
}

/* Delivery Options Radios */
.delivery-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.delivery-option-card {
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.25rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.01);
}

.delivery-option-card input {
    display: none;
}

.delivery-option-card:hover {
    border-color: var(--border-hover);
    background: rgba(255, 255, 255, 0.03);
}

.delivery-option-card.active {
    border-color: var(--accent-primary);
    background: rgba(139, 92, 246, 0.05);
    box-shadow: var(--shadow-neon);
}

.delivery-option-card.active i, .delivery-option-card.active span {
    color: var(--text-main);
}

.delivery-icon {
    font-size: 1.5rem;
    color: var(--text-muted);
}

/* Autocomplete Suggestion List */
.autocomplete-wrapper {
    position: relative;
}

.autocomplete-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: hsl(222, 47%, 8%);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-top: 0.25rem;
    max-height: 250px;
    overflow-y: auto;
    z-index: 10;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

.suggestion-item {
    padding: 0.8rem 1.25rem;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    transition: var(--transition-smooth);
}

.suggestion-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--accent-secondary);
}

.suggestion-sub {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.15rem;
}

/* Order Summary Column */
.order-summary-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 32px;
    padding: 3rem;
    height: fit-content;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    backdrop-filter: blur(16px);
}

.order-summary-card h3 {
    font-family: var(--font-outfit);
    font-size: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.summary-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.summary-item-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
}

.summary-item-row span:last-child {
    font-weight: 600;
}

.checkout-button {
    width: 100%;
    font-family: var(--font-outfit);
    font-size: 1.15rem;
    padding: 1rem;
    border-radius: 16px;
    margin-top: 1rem;
}

/* Successful Checkout Page */
.success-container {
    max-width: 600px;
    margin: 4rem auto;
    text-align: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 32px;
    padding: 4rem;
    backdrop-filter: blur(16px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.success-icon-wrapper {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.1);
    border: 2px solid rgb(34, 197, 94);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px rgba(34, 197, 94, 0.2);
    animation: success-pulse 2s infinite;
}

.success-icon-wrapper i {
    font-size: 3rem;
    color: rgb(34, 197, 94);
}

.success-container h1 {
    font-family: var(--font-outfit);
    font-size: 2.2rem;
    font-weight: 800;
}

.order-details-box {
    width: 100%;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.status-badge {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.8rem;
    width: fit-content;
}

.status-badge.paid {
    background: rgba(34, 197, 94, 0.15);
    color: rgb(74, 222, 128);
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.status-badge.pending {
    background: rgba(234, 179, 8, 0.15);
    color: rgb(253, 224, 71);
    border: 1px solid rgba(234, 179, 8, 0.3);
}

.status-badge.failed {
    background: rgba(239, 68, 68, 0.15);
    color: rgb(248, 113, 113);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Monobank Sandbox Simulator Styling */
.mono-sandbox-container {
    max-width: 480px;
    margin: 4rem auto;
    background: #111111;
    border: 1px solid #222222;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
    font-family: var(--font-inter);
}

.mono-header {
    background: #1e1e1e;
    padding: 2.5rem 2rem 2rem;
    text-align: center;
    border-bottom: 1px solid #282828;
    position: relative;
}

.mono-logo {
    font-family: var(--font-outfit);
    font-weight: 800;
    font-size: 1.6rem;
    letter-spacing: -0.5px;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.mono-logo-badge {
    background: #e95353;
    color: white;
    font-size: 0.65rem;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
}

.mono-cat-avatar {
    width: 65px;
    height: 65px;
    background: #f7d23d;
    border-radius: 50%;
    margin: 1.5rem auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    box-shadow: 0 8px 16px rgba(247, 210, 61, 0.2);
}

.mono-body {
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.mono-amount {
    font-size: 2.4rem;
    font-family: var(--font-outfit);
    font-weight: 800;
    color: #ffffff;
}

.mono-details {
    width: 100%;
    background: #181818;
    border-radius: 20px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    font-size: 0.9rem;
    border: 1px solid #222222;
}

.mono-details-row {
    display: flex;
    justify-content: space-between;
    color: #8e8e93;
}

.mono-details-row span:last-child {
    color: #ffffff;
    font-weight: 500;
}

.mono-actions {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn-mono-pay {
    background: #ffffff;
    color: #000000;
    width: 100%;
    padding: 1.1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-mono-pay:hover {
    background: #e2e2e2;
    transform: translateY(-2px);
}

.btn-mono-fail {
    background: transparent;
    color: #e95353;
    border: 1px solid rgba(233, 83, 83, 0.3);
    width: 100%;
    padding: 1.1rem;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-mono-fail:hover {
    background: rgba(233, 83, 83, 0.05);
    border-color: #e95353;
}

/* Animations */
@keyframes success-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(34, 197, 94, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

/* Accordion Filters */
.filter-accordion {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}
.filter-accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-light);
    user-select: none;
    padding: 0.5rem 0;
    transition: var(--transition-smooth);
}
.filter-accordion-header:hover {
    color: var(--accent-secondary);
}
.filter-accordion-icon {
    font-size: 0.8rem;
    transition: transform var(--transition-smooth);
}
.filter-accordion.active .filter-accordion-icon {
    transform: rotate(180deg);
}
.filter-accordion-content {
    display: none;
    padding-top: 0.75rem;
    flex-direction: column;
    gap: 0.75rem;
    max-height: 200px;
    overflow-y: auto;
}
.filter-accordion.active .filter-accordion-content {
    display: flex;
}
.filter-accordion-content::-webkit-scrollbar {
    width: 4px;
}
.filter-accordion-content::-webkit-scrollbar-track {
    background: transparent;
}
.filter-accordion-content::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 2px;
}

/* Admin Panel Styles */
.admin-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2.5rem;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}
.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}
.admin-title-group h1 {
    font-size: 2rem;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}
.admin-title-group p {
    color: var(--text-muted);
}
.admin-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}
.admin-tab-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition-smooth);
}
.admin-tab-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
}
.admin-tab-btn.active {
    background: var(--grad-primary);
    border-color: transparent;
    color: var(--text-light);
    box-shadow: var(--shadow-neon);
}
.admin-tab-content {
    display: none;
}
.admin-tab-content.active {
    display: block;
}
.admin-actions {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 1.5rem;
}
.admin-table-wrapper {
    overflow-x: auto;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}
.admin-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    background: rgba(12, 13, 20, 0.4);
}
.admin-table th, .admin-table td {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
}
.admin-table th {
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-light);
    font-weight: 600;
}
.admin-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}
.admin-table td {
    color: var(--text-muted);
}
.admin-table td strong {
    color: var(--text-light);
}
.admin-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}
.admin-badge-success {
    background: rgba(34, 197, 94, 0.1);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.2);
}
.admin-badge-warning {
    background: rgba(234, 179, 8, 0.1);
    color: #facc15;
    border: 1px solid rgba(234, 179, 8, 0.2);
}
.admin-badge-info {
    background: rgba(59, 130, 246, 0.1);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.2);
}
.admin-btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.05);
}
.admin-btn-edit {
    color: var(--accent-secondary);
    border-color: rgba(6, 182, 212, 0.2);
}
.admin-btn-edit:hover {
    background: rgba(6, 182, 212, 0.1);
    border-color: var(--accent-secondary);
}
.admin-btn-delete {
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.2);
}
.admin-btn-delete:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: #ef4444;
}

/* Modal Form Styles */
.admin-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-smooth);
}
.admin-modal.active {
    opacity: 1;
    pointer-events: all;
}
.admin-modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    width: 90%;
    max-width: 650px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2.5rem;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.admin-modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 1.5rem;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-smooth);
}
.admin-modal-close:hover {
    color: var(--text-light);
}
.admin-modal h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}
.admin-form-group {
    margin-bottom: 1.25rem;
}
.admin-form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-muted);
}
.admin-form-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    color: var(--text-light);
    transition: var(--transition-smooth);
}
.admin-form-input:focus {
    outline: none;
    border-color: var(--accent-primary);
    background: rgba(255, 255, 255, 0.08);
}
.admin-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.admin-form-submit {
    width: 100%;
    margin-top: 1rem;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .catalog-layout {
        grid-template-columns: 1fr;
    }
    .filters-sidebar {
        position: relative;
        top: 0;
        margin-bottom: 2rem;
    }
    .checkout-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .product-detail-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .detail-gallery {
        height: 350px;
    }
}

@media (max-width: 580px) {
    .nav-container {
        padding: 1rem;
    }
    .logo {
        font-size: 1.4rem;
    }
    .cart-icon-btn {
        padding: 0.6rem 0.8rem;
    }
    .products-grid {
        grid-template-columns: 1fr;
    }
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .delivery-options {
        grid-template-columns: 1fr;
    }
    .cart-drawer {
        width: 100%;
        right: -100%;
    }
}
