/* ============================================
   SecureZone Webáruház - Stíluslap
   ============================================ */

:root {
    --primary: #22c55e;
    --primary-dark: #16a34a;
    --secondary: #0a1628;
    --secondary-light: #1a365d;
    --danger: #ef4444;
    --warning: #f59e0b;
    --success: #22c55e;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --white: #ffffff;
    --radius: 12px;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--gray-50);
    color: var(--gray-900);
    line-height: 1.6;
}

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

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

/* ============================================
   HEADER
   ============================================ */

.header {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.header-top {
    background: rgba(0,0,0,0.3);
    padding: 8px 24px;
    font-size: 13px;
    color: rgba(255,255,255,0.8);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

.header-main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.logo-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 15px rgba(34,197,94,0.4);
}

.logo-text h1 {
    font-size: 26px;
    font-weight: 800;
    color: var(--white);
    margin: 0;
}

.logo-text span {
    font-size: 11px;
    color: var(--primary);
    letter-spacing: 2px;
}

.search-box {
    flex: 1;
    max-width: 500px;
    min-width: 200px;
}

.search-box input {
    width: 100%;
    padding: 14px 20px;
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    font-size: 14px;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    outline: none;
    transition: all 0.3s;
}

.search-box input:focus {
    border-color: var(--primary);
    background: rgba(255,255,255,0.15);
}

.search-box input::placeholder {
    color: rgba(255,255,255,0.5);
}

.header-actions {
    display: flex;
    gap: 8px;
}

.header-btn {
    padding: 12px 20px;
    background: transparent;
    border: none;
    border-radius: 10px;
    color: var(--white);
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
}

.header-btn:hover,
.header-btn.active {
    background: rgba(34,197,94,0.2);
}

.cart-count {
    position: absolute;
    top: 4px;
    right: 4px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-nav {
    background: rgba(0,0,0,0.2);
    padding: 0 24px;
    overflow-x: auto;
}

.header-nav-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    gap: 4px;
}

.nav-btn {
    padding: 12px 16px;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    color: rgba(255,255,255,0.8);
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.3s;
}

.nav-btn:hover,
.nav-btn.active {
    background: rgba(34,197,94,0.3);
    border-bottom-color: var(--primary);
    color: var(--primary);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--secondary);
    color: var(--white);
    padding: 48px 24px 24px;
    margin-top: 48px;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-section a,
.footer-section p {
    display: block;
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 10px;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--primary);
}

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

.footer-payments {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.footer-payments span {
    background: rgba(255,255,255,0.1);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
}

/* ============================================
   KOMPONENSEK
   ============================================ */

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 48px 24px;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 32px;
}

.card {
    background: var(--white);
    border-radius: 16px;
    border: 1px solid var(--gray-200);
    overflow: hidden;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(34,197,94,0.4);
}

.btn-secondary {
    background: var(--gray-100);
    color: var(--gray-700);
}

.btn-secondary:hover {
    background: var(--gray-200);
}

.btn-danger {
    background: var(--danger);
    color: var(--white);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

.btn-block {
    width: 100%;
}

/* Form elements */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-700);
}

.form-control {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    font-size: 14px;
    background: var(--white);
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
    font-family: inherit;
}

select.form-control {
    cursor: pointer;
}

/* Alerts */
.alert {
    padding: 16px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 14px;
}

.alert-success {
    background: #dcfce7;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

.alert-error {
    background: #fee2e2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.alert-warning {
    background: #fef3c7;
    color: #d97706;
    border: 1px solid #fde68a;
}

/* Badge */
.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.badge-success {
    background: #dcfce7;
    color: #16a34a;
}

.badge-warning {
    background: #fef3c7;
    color: #d97706;
}

.badge-danger {
    background: #fee2e2;
    color: #dc2626;
}

.badge-info {
    background: #dbeafe;
    color: #2563eb;
}

/* ============================================
   TERMÉK KÁRTYA
   ============================================ */

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.product-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    border: 1px solid var(--gray-200);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.product-card-badge {
    position: absolute;
    top: 12px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    z-index: 10;
}

.product-card-badge.sale {
    left: 12px;
    background: var(--danger);
    color: var(--white);
}

.product-card-badge.stock {
    right: 12px;
    background: var(--warning);
    color: var(--white);
}

.product-card-image {
    height: 180px;
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 70px;
}

.product-card-content {
    padding: 20px;
}

.product-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.product-card-brand {
    font-size: 11px;
    color: var(--gray-500);
    font-weight: 600;
}

.product-card-sku {
    font-size: 10px;
    color: var(--gray-400);
    font-family: monospace;
}

.product-card-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 8px;
    line-height: 1.3;
}

.product-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
}

.product-card-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--gray-900);
}

.product-card-price-old {
    font-size: 13px;
    color: var(--gray-400);
    text-decoration: line-through;
}

/* ============================================
   HERO
   ============================================ */

.hero {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 50%, #1e3a5f 100%);
    padding: 60px 24px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(34,197,94,0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h2 {
    font-size: 42px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
    line-height: 1.2;
}

.hero h2 span {
    color: var(--primary);
}

.hero p {
    font-size: 18px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 32px;
    max-width: 600px;
}

/* ============================================
   FEATURES
   ============================================ */

.features {
    background: var(--white);
    padding: 40px 24px;
    border-bottom: 1px solid var(--gray-200);
}

.features-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: #f0fdf4;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
}

.feature-text h4 {
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.feature-text p {
    font-size: 13px;
    color: var(--gray-500);
}

/* ============================================
   CATEGORIES
   ============================================ */

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
}

.category-card {
    padding: 24px 16px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s;
}

.category-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.category-card-icon {
    font-size: 36px;
    margin-bottom: 12px;
}

.category-card-name {
    font-weight: 600;
    color: var(--gray-900);
    font-size: 14px;
    margin-bottom: 4px;
}

.category-card-count {
    font-size: 12px;
    color: var(--gray-500);
}

/* ============================================
   SIDEBAR
   ============================================ */

.sidebar {
    width: 260px;
    flex-shrink: 0;
}

.sidebar-card {
    background: var(--white);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid var(--gray-200);
}

.sidebar-card h4 {
    margin: 0 0 16px 0;
    font-size: 16px;
    font-weight: 600;
}

.sidebar-list {
    list-style: none;
}

.sidebar-list li a,
.sidebar-list li button {
    width: 100%;
    padding: 10px 12px;
    background: transparent;
    border: none;
    border-radius: 8px;
    text-align: left;
    cursor: pointer;
    color: var(--gray-700);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.sidebar-list li a:hover,
.sidebar-list li button:hover,
.sidebar-list li a.active,
.sidebar-list li button.active {
    background: #f0fdf4;
    color: var(--primary-dark);
}

/* ============================================
   KOSÁR
   ============================================ */

.cart-item {
    display: flex;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--gray-100);
    gap: 16px;
}

.cart-item-image {
    width: 70px;
    height: 70px;
    background: var(--gray-100);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-weight: 600;
    color: var(--gray-900);
    font-size: 14px;
    margin-bottom: 4px;
}

.cart-item-sku {
    font-size: 12px;
    color: var(--gray-500);
}

.cart-quantity {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-quantity button {
    width: 32px;
    height: 32px;
    border: 1px solid var(--gray-200);
    border-radius: 6px;
    background: var(--white);
    cursor: pointer;
    font-size: 16px;
}

.cart-quantity span {
    width: 30px;
    text-align: center;
    font-weight: 600;
}

.cart-item-price {
    width: 100px;
    text-align: right;
    font-weight: 700;
}

.cart-item-remove {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 6px;
    background: #fee2e2;
    color: var(--danger);
    cursor: pointer;
}

/* Összesítő */
.cart-summary {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    border-radius: 20px;
    padding: 28px;
    color: var(--white);
}

.cart-summary h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 20px 0;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
}

.cart-summary-row span:first-child {
    color: rgba(255,255,255,0.7);
}

.cart-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 16px;
}

.cart-summary-total span:first-child {
    font-size: 16px;
    font-weight: 600;
}

.cart-summary-total span:last-child {
    font-size: 26px;
    font-weight: 700;
    color: var(--primary);
}

/* ============================================
   SZÁLLÍTÁS / FIZETÉS
   ============================================ */

.shipping-option,
.payment-option {
    display: flex;
    align-items: center;
    padding: 16px;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    cursor: pointer;
    background: var(--white);
    margin-bottom: 10px;
    transition: all 0.3s;
}

.shipping-option.selected,
.payment-option.selected {
    border-color: var(--primary);
    border-width: 2px;
    background: #f0fdf4;
}

.shipping-option input,
.payment-option input {
    display: none;
}

.option-icon {
    font-size: 28px;
    margin-right: 16px;
}

.option-info {
    flex: 1;
}

.option-info h5 {
    font-weight: 600;
    margin: 0 0 4px 0;
}

.option-info p {
    font-size: 12px;
    color: var(--gray-500);
    margin: 0;
}

.option-price {
    text-align: right;
    font-weight: 700;
}

.option-price.free {
    color: var(--primary);
}

.option-price small {
    display: block;
    font-size: 11px;
    color: var(--gray-500);
    font-weight: 400;
}

/* ============================================
   BREADCRUMB
   ============================================ */

.breadcrumb {
    margin-bottom: 24px;
    font-size: 14px;
    color: var(--gray-500);
}

.breadcrumb a {
    color: var(--gray-500);
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb span {
    margin: 0 8px;
}

/* ============================================
   TERMÉK OLDAL
   ============================================ */

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    padding: 40px;
}

.product-image {
    background: var(--gray-100);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 120px;
    min-height: 400px;
}

.product-info h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0 0 16px 0;
}

.product-meta {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.product-meta span {
    background: var(--gray-100);
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 12px;
    color: var(--gray-600);
}

.product-description {
    font-size: 16px;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 24px;
}

.product-specs h4 {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 12px 0;
}

.product-specs ul {
    margin: 0 0 24px 20px;
    color: var(--gray-600);
    font-size: 14px;
    line-height: 1.8;
}

.product-price-box {
    margin-bottom: 24px;
}

.product-price-old {
    font-size: 16px;
    color: var(--gray-400);
    text-decoration: line-through;
}

.product-price {
    font-size: 36px;
    font-weight: 700;
    color: var(--gray-900);
}

.product-price-note {
    font-size: 14px;
    color: var(--gray-500);
    margin-top: 4px;
}

.product-stock {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.product-stock.in-stock {
    color: var(--success);
}

.product-stock.low-stock {
    color: var(--warning);
}

.product-stock.out-of-stock {
    color: var(--danger);
}

.product-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

.quantity-selector {
    display: flex;
    align-items: center;
    border: 1px solid var(--gray-200);
    border-radius: 10px;
}

.quantity-selector button {
    width: 44px;
    height: 44px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 20px;
}

.quantity-selector input {
    width: 50px;
    text-align: center;
    font-weight: 600;
    border: none;
    background: transparent;
}

/* ============================================
   PÉNZTÁR
   ============================================ */

.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 32px;
    margin-top: 32px;
}

.checkout-section {
    background: var(--white);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    border: 1px solid var(--gray-200);
}

.checkout-section h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 20px 0;
}

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

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkbox-group label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
}

.checkbox-group input {
    margin-top: 4px;
}

/* ============================================
   ADMIN PANEL
   ============================================ */

.admin-layout {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 260px;
    background: linear-gradient(180deg, var(--secondary) 0%, var(--secondary-light) 100%);
    min-height: 100vh;
    padding: 24px 0;
    position: fixed;
    left: 0;
    top: 0;
}

.admin-sidebar-logo {
    padding: 0 24px;
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-sidebar-logo span {
    font-size: 32px;
}

.admin-sidebar-logo h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    margin: 0;
}

.admin-sidebar-logo small {
    display: block;
    font-size: 11px;
    color: var(--primary);
}

.admin-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    border-left: 3px solid transparent;
    transition: all 0.3s;
}

.admin-nav a:hover,
.admin-nav a.active {
    background: rgba(34,197,94,0.15);
    border-left-color: var(--primary);
    color: var(--primary);
}

.admin-nav a span {
    font-size: 18px;
}

.admin-content {
    margin-left: 260px;
    padding: 32px;
    flex: 1;
    background: var(--gray-50);
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.admin-header h2 {
    font-size: 28px;
    font-weight: 700;
    margin: 0;
}

/* Dashboard kártyák */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.stat-card {
    background: var(--white);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid var(--gray-200);
}

.stat-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.stat-card-label {
    font-size: 13px;
    color: var(--gray-500);
    margin-bottom: 8px;
}

.stat-card-value {
    font-size: 28px;
    font-weight: 700;
}

.stat-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

/* Admin táblázat */
.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th {
    padding: 14px 16px;
    text-align: left;
    font-size: 13px;
    color: var(--gray-500);
    background: var(--gray-50);
    border-bottom: 2px solid var(--gray-200);
}

.admin-table td {
    padding: 16px;
    border-bottom: 1px solid var(--gray-100);
}

.admin-table tr:hover td {
    background: var(--gray-50);
}

/* Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 24px;
}

.modal {
    background: var(--white);
    border-radius: 20px;
    width: 100%;
    max-width: 700px;
    max-height: 90vh;
    overflow: auto;
}

.modal-header {
    padding: 24px;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--gray-500);
}

.modal-body {
    padding: 24px;
}

.modal-footer {
    padding: 20px 24px;
    border-top: 1px solid var(--gray-200);
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

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

@media (max-width: 1024px) {
    .product-detail {
        grid-template-columns: 1fr;
    }
    
    .checkout-layout {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        display: none;
    }
}

@media (max-width: 768px) {
    .header-main {
        flex-direction: column;
    }
    
    .search-box {
        max-width: 100%;
        order: 3;
    }
    
    .hero h2 {
        font-size: 28px;
    }
    
    .admin-sidebar {
        width: 100%;
        position: relative;
    }
    
    .admin-content {
        margin-left: 0;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}
