﻿/* ============================================
   SwapMeetMTY - Main Stylesheet
   Paleta: Grafito (#1F2328) / Naranja (#F57C00) / Gris acero (#6B7280)
   ============================================ */

/* --- Design Tokens --- */
:root {
    --brand-slate: #1F2328;
    --brand-tan: #F57C00;
    --brand-navy: #1F2328;
    --primary: var(--brand-slate);
    --primary-dark: #16191d;
    --primary-light: #2d3239;
    --accent: var(--brand-tan);
    --accent-dark: #e06800;
    --accent-hover: #ff9124;
    --navy: var(--brand-navy);
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #3b82f6;
    --bg: #f4f5f7;
    --surface: #ffffff;
    --text: #1F2328;
    --text-secondary: #6B7280;
    --text-muted: #9CA3AF;
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-full: 9999px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);
    --font-main: 'DM Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
    font-family: var(--font-main);
    font-size: 15px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
}
a { color: var(--accent-dark); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--brand-slate); }
img { max-width: 100%; height: auto; }
ul { list-style: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
button { cursor: pointer; }

/* --- Container --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* --- 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; }
.inline-form { display: inline; }

/* ============================================ HEADER */
.main-header {
    background: var(--brand-slate);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* -- Top Row: Logo | Search | Actions -- */
.header-row-top {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 12px 0;
}
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img { height: 75px; width: auto; object-fit: contain; }

/* Search */
.header-search {
    flex: 1;
    max-width: 680px;
    display: flex;
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
.header-search input {
    flex: 1; border: none; padding: 12px 18px; outline: none;
    font-size: 15px; color: var(--text); background: transparent;
}
.header-search input::placeholder { color: #999; }
.header-search button {
    background: var(--accent); color: #fff; border: none;
    padding: 12px 20px; font-size: 17px; cursor: pointer; transition: background 0.2s;
}
.header-search button:hover { background: var(--accent-dark); }

/* Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}
.header-action-link {
    display: flex; align-items: center; gap: 6px;
    color: rgba(255,255,255,0.85); font-size: 13px; font-weight: 500;
    padding: 8px 12px; border-radius: var(--radius-sm);
    transition: background 0.2s, color 0.2s; white-space: nowrap;
}
.header-action-link:hover { background: rgba(255,255,255,0.1); color: #fff; }
.header-action-link i { font-size: 16px; }
.action-label { display: inline; }

/* Cart icon (in header row) */
.cart-link {
    position: relative; display: flex; align-items: center; justify-content: center;
    font-size: 22px; color: rgba(255,255,255,0.9); padding: 8px 12px;
    border-radius: var(--radius-sm); transition: background 0.2s;
}
.cart-link:hover { background: rgba(255,255,255,0.1); color: #fff; }
.cart-count {
    position: absolute; top: 2px; right: 2px;
    background: var(--danger); color: #fff; font-size: 10px; font-weight: 700;
    min-width: 18px; height: 18px; border-radius: 9px; padding: 0 4px;
    display: flex; align-items: center; justify-content: center;
    line-height: 1;
}

/* Mobile Toggle */
.mobile-toggle { display: none; background: none; border: none; font-size: 24px; color: #fff; padding: 8px; cursor: pointer; }

/* -- Navigation Row -- */
.header-nav-row {
    background: rgba(0,0,0,0.12);
    border-top: 1px solid rgba(255,255,255,0.08);
}
.nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-menu { display: flex; align-items: center; gap: 0; list-style: none; margin: 0; padding: 0; }
.nav-menu > li > a {
    display: flex; align-items: center; gap: 6px;
    padding: 10px 18px; color: rgba(255,255,255,0.75);
    font-weight: 500; font-size: 13px; transition: background 0.2s, color 0.2s;
    white-space: nowrap;
}
.nav-menu > li > a:hover, .nav-menu > li > a.active {
    background: rgba(255,255,255,0.1); color: #fff;
}
.nav-categories-btn { font-weight: 600 !important; }
.nav-categories-btn i:first-child { margin-right: 2px; }
.nav-arrow { font-size: 9px; margin-left: 3px; opacity: 0.7; }

/* Nav right (phone) */
.nav-right {
    display: flex; align-items: center; gap: 15px; margin-left: auto;
}
.nav-contact {
    color: rgba(255,255,255,0.6); font-size: 12px; white-space: nowrap;
}
.nav-contact i { margin-right: 5px; }

/* ============================================ NAVIGATION DROPDOWN */
.has-dropdown { position: relative; }
.has-dropdown .dropdown-menu {
    position: absolute; top: 100%; left: 0; background: var(--surface);
    min-width: 240px; box-shadow: var(--shadow-lg);
    border-radius: 0 0 var(--radius-md) var(--radius-md); display: none; z-index: 200;
}
.has-dropdown:hover .dropdown-menu { display: block; }
.has-dropdown .dropdown-menu a {
    display: block; padding: 11px 20px; color: var(--text-secondary); font-size: 14px; transition: background 0.2s;
}
.has-dropdown .dropdown-menu a:hover { background: rgba(245,124,0,0.08); color: var(--brand-slate); }
.has-dropdown .dropdown-menu .view-all { border-top: 1px solid var(--border); font-weight: 600; color: var(--accent-dark); }

/* ============================================ ALERTS */
.flash-messages { margin-top: 15px; }
.alert {
    padding: 14px 18px; border-radius: var(--radius-md); margin-bottom: 12px;
    font-size: 14px; display: flex; align-items: center; gap: 10px;
}
.alert i { font-size: 18px; }
.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-error { 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; }
.alert-close { margin-left: auto; background: none; border: none; font-size: 20px; cursor: pointer; opacity: 0.5; line-height: 1; }
.alert-close:hover { opacity: 1; }

/* ============================================ MAIN CONTENT */
.main-content { min-height: 60vh; padding: 30px 0; }

/* ============================================ SECTION TITLE */
.section-title { text-align: center; margin-bottom: 40px; }
.section-title h2 { font-size: 28px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.section-title p { color: var(--text-muted); font-size: 15px; }
.section-title .underline { width: 60px; height: 4px; background: var(--accent); margin: 12px auto 0; border-radius: 2px; }

/* ============================================ BUTTONS */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 10px 22px; border-radius: var(--radius-sm); font-weight: 600;
    font-size: 14px; border: none; cursor: pointer; transition: all 0.2s; text-decoration: none;
}
.btn-primary { background: var(--brand-slate); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); color: #fff; }
.btn-secondary { background: #6c757d; color: #fff; }
.btn-secondary:hover { background: #5a6268; color: #fff; }
.btn-success { background: var(--success); color: #fff; }
.btn-success:hover { background: #059669; color: #fff; }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: #dc2626; color: #fff; }
.btn-warning { background: var(--warning); color: #333; }
.btn-outline { background: transparent; border: 2px solid var(--brand-slate); color: var(--brand-slate); }
.btn-outline:hover { background: var(--brand-slate); color: #fff; }
.btn-sm { padding: 6px 14px; font-size: 13px; }
.btn-lg { padding: 14px 30px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-link { background: none; border: none; color: var(--accent-dark); font-weight: 500; cursor: pointer; padding: 0; }

/* ============================================ PRODUCT CARDS */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 25px; }
.product-card {
    background: var(--surface); border-radius: var(--radius-lg); overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s; border: 1px solid var(--border); position: relative;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product-card-image { position: relative; aspect-ratio: 1; overflow: hidden; background: #f5f5f5; }
.product-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.product-card:hover .product-card-image img { transform: scale(1.05); }

/* Badges */
.product-badge {
    position: absolute; top: 10px; left: 10px;
    padding: 3px 10px; border-radius: var(--radius-full);
    font-size: 11px; font-weight: 700; color: #fff;
    letter-spacing: 0.3px; line-height: 1.4; z-index: 2;
}
.badge-sale { background: var(--danger); }
.badge-new { background: var(--brand-slate); }
.badge-featured { background: var(--accent-dark); }

.product-card-body { padding: 15px; }
.product-card-category { font-size: 12px; color: var(--text-muted); text-transform: uppercase; margin-bottom: 5px; }
.product-card-title {
    font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 8px;
    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-dark); }
.product-card-price { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.price-current { font-size: 18px; font-weight: 700; color: var(--brand-slate); }
.price-original { font-size: 14px; color: var(--text-muted); text-decoration: line-through; }
.price-discount { font-size: 12px; color: var(--danger); font-weight: 600; }
.product-card-actions { display: flex; gap: 8px; }
.product-card-actions .btn { flex: 1; font-size: 13px; padding: 8px; }

/* ============================================ HERO / BANNER */
.hero { background: var(--brand-slate); color: #fff; padding: 80px 0; text-align: center; }
.hero h1 { font-size: 42px; font-weight: 800; margin-bottom: 15px; }
.hero p { font-size: 18px; opacity: 0.9; margin-bottom: 30px; max-width: 600px; margin-left: auto; margin-right: auto; }
.hero .btn { font-size: 16px; padding: 14px 35px; }

/* Banner Slider */
.banner-slider { position: relative; overflow: hidden; border-radius: var(--radius-lg); margin-bottom: 40px; }
.banner-slide { display: none; width: 100%; }
.banner-slide.active { display: block; }
.banner-slide img { width: 100%; height: 400px; object-fit: cover; }

/* ============================================ CATEGORIES GRID */
.categories-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 20px; }
.category-card {
    background: var(--surface); border-radius: var(--radius-lg); text-align: center;
    padding: 25px 15px; border: 1px solid var(--border); transition: transform 0.2s, border-color 0.2s;
}
.category-card:hover { transform: translateY(-3px); border-color: var(--accent); }
.category-card img { width: 80px; height: 80px; object-fit: cover; border-radius: 50%; margin-bottom: 12px; }
.category-card h3 { font-size: 15px; font-weight: 600; color: var(--text); }

/* ============================================ PAGINATION */
.pagination { display: flex; justify-content: center; align-items: center; gap: 5px; margin-top: 30px; }
.pagination a, .pagination span { padding: 8px 14px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 500; }
.pagination a { background: var(--surface); color: var(--text); border: 1px solid var(--border); }
.pagination a:hover { background: var(--brand-slate); color: #fff; border-color: var(--brand-slate); }
.pagination .active { background: var(--brand-slate); color: #fff; border: 1px solid var(--brand-slate); }
.pagination .disabled { opacity: 0.5; pointer-events: none; }

/* ============================================ FORMS */
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.form-control {
    width: 100%; padding: 10px 14px; border: 2px solid var(--border);
    border-radius: var(--radius-md); font-size: 14px; transition: border-color 0.2s; background: var(--surface);
}
.form-control:focus { border-color: var(--accent); outline: none; }
.form-control.is-invalid { border-color: var(--danger); }
.invalid-feedback { color: var(--danger); font-size: 13px; margin-top: 4px; }
select.form-control { appearance: auto; }
textarea.form-control { min-height: 100px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.form-check { display: flex; align-items: center; gap: 8px; }
.form-check input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--brand-slate); }
.form-hint { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

/* ============================================ TABLES */
.table-responsive { overflow-x: auto; }
.data-table {
    width: 100%; border-collapse: collapse; background: var(--surface);
    border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm);
}
.data-table th {
    background: #f8f9fa; padding: 12px 15px; text-align: left; font-weight: 600;
    font-size: 13px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; border-bottom: 2px solid var(--border);
}
.data-table td { padding: 12px 15px; border-bottom: 1px solid var(--border-light); font-size: 14px; }
.data-table tr:hover { background: rgba(245,124,0,0.04); }
.data-table tr:last-child td { border-bottom: none; }

/* ============================================ STATUS BADGES */
.status-badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: var(--radius-full); font-size: 12px; font-weight: 600; }
.status-pending { background: #fff3cd; color: #856404; }
.status-paid, .status-active { background: #d4edda; color: #155724; }
.status-preparing { background: #d1ecf1; color: #0c5460; }
.status-shipped { background: #cce5ff; color: #004085; }
.status-delivered { background: #d4edda; color: #155724; }
.status-cancelled { background: #f8d7da; color: #721c24; }
.status-refunded { background: #e2e3e5; color: #383d41; }
.status-inactive { background: #e2e3e5; color: #383d41; }

/* ============================================ CARD COMPONENT */
.card { background: var(--surface); border-radius: var(--radius-lg); border: 1px solid var(--border); overflow: hidden; }
.card-header { padding: 15px 20px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.card-header h3 { font-size: 16px; font-weight: 600; }
.card-body { padding: 20px; }
.card-footer { padding: 15px 20px; border-top: 1px solid var(--border); background: #f8f9fa; }

/* ============================================ FOOTER */
.main-footer { background: var(--navy); color: rgba(255,255,255,0.7); padding: 50px 0 0; margin-top: 50px; }
.footer-grid {
    display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 30px;
    padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-col h4 { color: #fff; font-size: 16px; font-weight: 700; margin-bottom: 18px; }
.footer-col p { font-size: 14px; line-height: 1.8; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: rgba(255,255,255,0.7); font-size: 14px; }
.footer-col ul li a:hover { color: var(--accent); }
.footer-col .contact-info li { display: flex; align-items: flex-start; gap: 10px; }
.footer-col .contact-info i { margin-top: 3px; color: var(--accent); width: 16px; }
.social-links { display: flex; gap: 12px; margin-top: 15px; }
.social-links a {
    width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.7); transition: all 0.2s;
}
.social-links a:hover { background: var(--accent); color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; }
.footer-bottom p { font-size: 13px; }
.payment-methods { display: flex; gap: 12px; font-size: 28px; color: rgba(255,255,255,0.4); }

/* ============================================ BACK TO TOP */
.back-to-top {
    position: fixed; bottom: 25px; right: 25px; width: 45px; height: 45px;
    border-radius: 50%; background: var(--brand-slate); color: #fff; border: none;
    font-size: 18px; cursor: pointer; opacity: 0; visibility: hidden;
    transition: all 0.3s; z-index: 999; box-shadow: var(--shadow-md);
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-3px); background: var(--primary-dark); }

/* ============================================ FILTERS SIDEBAR */
.catalog-layout { display: grid; grid-template-columns: 260px 1fr; gap: 25px; }
.filters-sidebar { position: sticky; top: 90px; }
.filter-group { margin-bottom: 20px; }
.filter-group h4 {
    font-size: 14px; font-weight: 700; color: var(--text);
    padding-bottom: 10px; border-bottom: 2px solid var(--accent); margin-bottom: 12px;
}
.filter-list { max-height: 200px; overflow-y: auto; }
.filter-list label { display: flex; align-items: center; gap: 8px; padding: 5px 0; font-size: 14px; color: var(--text-secondary); cursor: pointer; }
.price-range { display: flex; gap: 10px; align-items: center; }
.price-range input { width: 100px; padding: 6px 10px; border: 1px solid #ddd; border-radius: var(--radius-sm); }

/* ============================================ PRODUCT DETAIL */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.product-main-image {
    width: 100%; aspect-ratio: 1; border-radius: var(--radius-lg);
    overflow: hidden; background: #f5f5f5; margin-bottom: 12px;
}
.product-main-image img { width: 100%; height: 100%; object-fit: contain; }
.product-thumbnails { display: flex; gap: 10px; }
.product-thumbnails img {
    width: 70px; height: 70px; border-radius: var(--radius-sm); object-fit: cover;
    border: 2px solid transparent; cursor: pointer; transition: border-color 0.2s;
}
.product-thumbnails img:hover, .product-thumbnails img.active { border-color: var(--accent); }
.product-info h1 { font-size: 26px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.product-meta { display: flex; gap: 15px; margin-bottom: 15px; font-size: 13px; color: var(--text-muted); }
.product-price-block { margin-bottom: 20px; }
.product-price-block .price-current { font-size: 28px; }
.product-description { color: var(--text-secondary); line-height: 1.8; margin-bottom: 20px; }
.product-variants { margin-bottom: 20px; }
.variant-options { display: flex; gap: 8px; flex-wrap: wrap; }
.variant-option {
    padding: 8px 16px; border: 2px solid #ddd; border-radius: var(--radius-sm);
    cursor: pointer; font-size: 14px; transition: all 0.2s;
}
.variant-option:hover, .variant-option.selected { border-color: var(--accent); background: rgba(245,124,0,0.08); }
.quantity-selector { display: flex; align-items: center; gap: 0; margin-bottom: 20px; }
.quantity-selector button { width: 40px; height: 40px; border: 2px solid #ddd; background: #f8f9fa; font-size: 18px; cursor: pointer; }
.quantity-selector button:first-child { border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
.quantity-selector button:last-child { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.quantity-selector input { width: 60px; height: 40px; text-align: center; border: 2px solid #ddd; border-left: none; border-right: none; font-weight: 600; }
.stock-info { font-size: 14px; margin-bottom: 15px; }
.stock-info.in-stock { color: var(--success); }
.stock-info.low-stock { color: var(--warning); }
.stock-info.out-of-stock { color: var(--danger); }

/* ============================================ CART PAGE */
.cart-table { width: 100%; }
.cart-table td { vertical-align: middle; }
.cart-item-info { display: flex; align-items: center; gap: 15px; }
.cart-item-image { width: 80px; height: 80px; border-radius: var(--radius-sm); overflow: hidden; }
.cart-item-image img { width: 100%; height: 100%; object-fit: cover; }
.cart-summary { background: var(--surface); border-radius: var(--radius-lg); padding: 25px; border: 1px solid var(--border); }
.cart-summary h3 { margin-bottom: 15px; }
.cart-summary-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; }
.cart-summary-row.total { font-size: 18px; font-weight: 700; border-top: 2px solid var(--border); padding-top: 15px; margin-top: 10px; }

/* ============================================ CHECKOUT */
.checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 30px; }
.checkout-section { margin-bottom: 25px; }
.checkout-section h3 { font-size: 18px; font-weight: 700; margin-bottom: 15px; padding-bottom: 10px; border-bottom: 2px solid var(--border); }
.payment-methods-list, .shipping-methods-list { display: grid; gap: 10px; }
.method-option {
    display: flex; align-items: center; gap: 12px; padding: 15px;
    border: 2px solid var(--border); border-radius: var(--radius-md); cursor: pointer; transition: border-color 0.2s;
}
.method-option:hover, .method-option.selected { border-color: var(--accent); background: rgba(245,124,0,0.06); }
.method-option input[type="radio"] { accent-color: var(--brand-slate); }
.method-option-info h4 { font-size: 15px; font-weight: 600; }
.method-option-info p { font-size: 13px; color: var(--text-muted); }

/* ============================================ EMPTY STATE */
.empty-state { text-align: center; padding: 60px 20px; }
.empty-state i { font-size: 64px; color: var(--border); margin-bottom: 20px; }
.empty-state h3 { font-size: 20px; color: var(--text); margin-bottom: 10px; }
.empty-state p { color: var(--text-muted); margin-bottom: 20px; }

/* ============================================ SPINNER */
.spinner { display: inline-block; width: 20px; height: 20px; border: 3px solid rgba(255,255,255,0.3); border-top-color: #fff; border-radius: 50%; animation: spin 0.6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================ HERO SLIDER */
.hero-slider { position: relative; overflow: hidden; background: var(--navy); }
.slider-wrapper { position: relative; }
.slide { display: none; min-height: 420px; background-size: cover; background-position: center; position: relative; }
.slide::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to right, rgba(0,0,0,0.6), rgba(0,0,0,0.1)); }
.slide.active { display: flex; align-items: center; }
.slide-content { position: relative; z-index: 2; max-width: 600px; color: #fff; }
.slide-content h1 { font-size: 42px; font-weight: 800; margin-bottom: 15px; line-height: 1.2; }
.slide-content p { font-size: 18px; margin-bottom: 25px; opacity: 0.9; }
.slider-prev, .slider-next {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(255,255,255,0.2); border: none; color: #fff;
    width: 50px; height: 50px; border-radius: 50%; font-size: 20px;
    cursor: pointer; z-index: 5; transition: background 0.3s; backdrop-filter: blur(5px);
}
.slider-prev:hover, .slider-next:hover { background: rgba(255,255,255,0.4); }
.slider-prev { left: 20px; }
.slider-next { right: 20px; }
.slider-dots { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 5; }
.dot { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,0.4); border: none; cursor: pointer; transition: background 0.3s; }
.dot.active { background: #fff; }

/* ============================================ SECTIONS */
.section { padding: 50px 0; }
.section-alt { background: rgba(245,124,0,0.05); }
.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.section-header h2 { font-size: 24px; font-weight: 700; color: var(--navy); }
.section-header h2 i { color: var(--accent-dark); margin-right: 8px; }
.section-link { font-weight: 600; font-size: 14px; color: var(--accent-dark); }
.section-link:hover { text-decoration: underline; color: var(--brand-slate); }

/* Category Cards on Homepage */
.categories-section .categories-grid { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.category-card .category-image {
    width: 100px; height: 100px; border-radius: 50%; overflow: hidden; margin: 0 auto 12px;
    background: #f5f5f5; display: flex; align-items: center; justify-content: center;
}
.category-card .category-image img { width: 100%; height: 100%; object-fit: cover; }
.category-placeholder { font-size: 36px; color: #ccc; }
.cat-count { font-size: 12px; color: var(--text-muted); }

/* Product Card (from _product-card.php) */
.product-card .product-image { display: block; position: relative; aspect-ratio: 1; overflow: hidden; background: #f5f5f5; }
.product-card .product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.product-card:hover .product-image img { transform: scale(1.05); }
.product-no-image { display: flex; align-items: center; justify-content: center; height: 100%; font-size: 48px; color: #ddd; }
.product-no-image-lg { display: flex; align-items: center; justify-content: center; height: 100%; min-height: 400px; font-size: 80px; color: #ddd; background: #f5f5f5; border-radius: var(--radius-lg); }
.product-info { padding: 15px; }
.product-category { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; display: block; }
.product-name { font-size: 14px; font-weight: 600; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-name a { color: var(--text); }
.product-name a:hover { color: var(--accent-dark); }
.product-price { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.price-old { font-size: 13px; color: var(--text-muted); text-decoration: line-through; }
.product-stock { font-size: 11px; margin-bottom: 8px; display: block; }
.product-stock.out-of-stock { color: var(--danger); }
.product-stock.low-stock { color: #e67e22; }
.product-actions { display: flex; }
.btn-add-cart { width: 100%; font-size: 13px; }

/* ============================================ PROMO BANNER */
.promo-banner { background: var(--brand-slate); padding: 50px 0; color: #fff; }
.promo-content { display: flex; align-items: center; justify-content: space-between; }
.promo-text h2 { font-size: 28px; font-weight: 700; margin-bottom: 10px; }
.promo-text p { font-size: 16px; margin-bottom: 20px; opacity: 0.9; }
.promo-text .btn { background: var(--accent); color: var(--navy); }
.promo-text .btn:hover { background: var(--accent-hover); }
.promo-icon { font-size: 80px; opacity: 0.3; }

/* ============================================ BRANDS GRID */
.brands-grid { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; align-items: center; }
.brand-item { padding: 15px 25px; background: var(--surface); border-radius: var(--radius-md); border: 1px solid var(--border); transition: border-color 0.2s, box-shadow 0.2s; }
.brand-item:hover { border-color: var(--accent); box-shadow: var(--shadow-sm); }
.brand-item img { height: 40px; width: auto; object-fit: contain; }
.brand-item span { font-size: 14px; font-weight: 600; color: var(--text-secondary); }

/* ============================================ FEATURES GRID */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }
.feature-item { text-align: center; padding: 30px 15px; }
.feature-item i { font-size: 36px; color: var(--accent-dark); margin-bottom: 15px; }
.feature-item h3 { font-size: 16px; font-weight: 700; margin-bottom: 5px; }
.feature-item p { font-size: 13px; color: var(--text-muted); }

/* ============================================ BREADCRUMB */
.breadcrumb-section { background: var(--surface); border-bottom: 1px solid var(--border); padding: 12px 0; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; flex-wrap: wrap; }
.breadcrumb a { color: var(--accent-dark); }
.breadcrumb .separator { color: #ccc; }
.breadcrumb span:last-child { color: var(--text-secondary); }

/* ============================================ CATALOG SIDEBAR (enhanced) */
.catalog-sidebar {
    background: var(--surface); border-radius: var(--radius-lg); padding: 20px; border: 1px solid var(--border);
    position: sticky; top: 90px; max-height: calc(100vh - 110px); overflow-y: auto;
}
.sidebar-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.sidebar-header h3 { font-size: 16px; font-weight: 700; }
.sidebar-close { display: none; background: none; border: none; font-size: 20px; cursor: pointer; color: var(--text-secondary); }
.filter-list { list-style: none; padding: 0; }
.filter-list li { margin-bottom: 2px; }
.filter-list li a { display: block; padding: 5px 10px; border-radius: var(--radius-sm); font-size: 14px; color: var(--text-secondary); transition: all 0.2s; }
.filter-list li a:hover { background: rgba(245,124,0,0.08); color: var(--brand-slate); }
.filter-list li.active a { background: var(--brand-slate); color: #fff; font-weight: 600; }
.price-filter { display: flex; gap: 8px; align-items: center; }
.price-filter input { width: 100%; padding: 6px 10px; border: 1px solid #ddd; border-radius: var(--radius-sm); }
.filter-checkbox { display: flex; align-items: center; gap: 8px; padding: 5px 0; font-size: 14px; color: var(--text-secondary); cursor: pointer; }
.filter-checkbox input { accent-color: var(--brand-slate); }

/* ============================================ CATALOG TOOLBAR */
.catalog-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; flex-wrap: wrap; gap: 10px; }
.toolbar-left { display: flex; align-items: center; gap: 15px; }
.btn-filter-toggle { display: none; }
.results-count { font-size: 14px; color: var(--text-secondary); }
.sort-select { width: auto; padding: 8px 12px; border-radius: var(--radius-sm); }
.subcategories-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.subcategory-tag { padding: 6px 14px; background: rgba(245,124,0,0.1); color: var(--accent-dark); border-radius: var(--radius-full); font-size: 13px; font-weight: 500; transition: all 0.2s; }
.subcategory-tag:hover { background: var(--brand-slate); color: #fff; }

/* ============================================ PRODUCT DETAIL (enhanced) */
.product-detail-section { padding: 40px 0; }
.gallery-main { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: #f5f5f5; margin-bottom: 12px; }
.gallery-main img { width: 100%; height: auto; min-height: 400px; object-fit: contain; }
.gallery-thumbs { display: flex; gap: 10px; }
.thumb { border: 2px solid transparent; border-radius: var(--radius-sm); overflow: hidden; cursor: pointer; width: 70px; height: 70px; padding: 0; background: #f5f5f5; transition: border-color 0.2s; }
.thumb.active, .thumb:hover { border-color: var(--accent); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-brand-link { font-size: 13px; color: var(--accent-dark); text-transform: uppercase; letter-spacing: 0.5px; font-weight: 600; }
.product-title { font-size: 28px; font-weight: 700; color: var(--navy); margin: 8px 0 5px; }
.product-sku { font-size: 13px; color: var(--text-muted); margin-bottom: 15px; }
.product-price-detail { margin-bottom: 20px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.product-price-detail .price-old { font-size: 18px; }
.product-price-detail .price-current { font-size: 32px; font-weight: 800; color: var(--brand-slate); }
.price-save { font-size: 13px; background: #e8f5e9; color: #2e7d32; padding: 3px 10px; border-radius: var(--radius-full); }
.product-short-desc { font-size: 15px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 15px; }
.product-stock-info { margin-bottom: 15px; }
.stock-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; }
.stock-badge.in-stock { color: var(--success); }
.stock-badge.low-stock { color: #e67e22; }
.stock-badge.out-of-stock { color: var(--danger); }
.product-info-detail .product-variants { margin: 20px 0; }
.product-info-detail .product-variants h4 { font-size: 14px; font-weight: 700; margin-bottom: 10px; }
.variant-option { display: flex; align-items: center; gap: 8px; padding: 8px 16px; border: 2px solid #ddd; border-radius: var(--radius-sm); cursor: pointer; }
.variant-option:has(input:checked) { border-color: var(--accent); background: rgba(245,124,0,0.08); }
.variant-option input[type="radio"] { accent-color: var(--brand-slate); }
.add-to-cart-form { display: flex; gap: 12px; align-items: center; margin-bottom: 25px; flex-wrap: wrap; }
.btn-add-to-cart { flex: 1; min-width: 200px; }
.product-meta { border-top: 1px solid var(--border); padding-top: 15px; margin-bottom: 15px; }
.meta-item { font-size: 14px; margin-bottom: 5px; }
.meta-item strong { color: var(--text); }
.product-guarantees { display: flex; gap: 20px; flex-wrap: wrap; padding: 15px; background: #f8f9fa; border-radius: var(--radius-md); }
.guarantee { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-secondary); font-weight: 500; }
.guarantee i { color: var(--accent-dark); }

/* ============================================ PRODUCT TABS */
.product-tabs { margin-bottom: 50px; }
.tabs-header { display: flex; border-bottom: 2px solid var(--border); }
.tab-btn { padding: 12px 24px; border: none; background: none; font-weight: 600; font-size: 15px; color: var(--text-muted); cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -2px; transition: all 0.2s; }
.tab-btn.active { color: var(--brand-slate); border-bottom-color: var(--accent); }
.tab-btn:hover { color: var(--brand-slate); }
.tab-panel { display: none; padding: 25px 0; }
.tab-panel.active { display: block; }
.product-description { line-height: 1.8; color: var(--text-secondary); }
.product-description img { border-radius: var(--radius-sm); margin: 15px 0; }
.specs-table { width: 100%; border-collapse: collapse; }
.specs-table td { padding: 10px 15px; border-bottom: 1px solid var(--border-light); font-size: 14px; }
.specs-table tr:nth-child(even) { background: #f8f9fa; }
.related-products { margin-top: 50px; }
.related-products h2 { font-size: 22px; font-weight: 700; margin-bottom: 25px; }

/* ============================================ CONTACT PAGE */
.contact-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; }
.contact-info h1 { font-size: 28px; font-weight: 700; margin-bottom: 10px; }
.contact-info > p { color: var(--text-secondary); margin-bottom: 30px; }
.contact-details { display: flex; flex-direction: column; gap: 20px; }
.contact-item { display: flex; gap: 15px; }
.contact-item i { font-size: 22px; color: var(--accent-dark); width: 28px; margin-top: 3px; }
.contact-item h4 { font-size: 15px; font-weight: 600; margin-bottom: 3px; }
.contact-item p { font-size: 14px; color: var(--text-secondary); }
.contact-social { display: flex; gap: 10px; margin-top: 30px; }
.social-btn {
    width: 42px; height: 42px; border-radius: 50%; background: rgba(245,124,0,0.1); display: flex;
    align-items: center; justify-content: center; color: var(--accent-dark); font-size: 18px; transition: all 0.2s;
}
.social-btn:hover { background: var(--brand-slate); color: #fff; }
.contact-form-wrapper { background: var(--surface); padding: 30px; border-radius: var(--radius-lg); border: 1px solid var(--border); }
.contact-form-wrapper h2 { font-size: 22px; font-weight: 700; margin-bottom: 20px; }

/* ============================================ POLICY PAGE */
.policy-content { max-width: 860px; margin: 0 auto; padding: 40px 0; }
.policy-content h1 { font-size: 30px; font-weight: 700; margin-bottom: 10px; color: var(--navy); }
.policy-meta { font-size: 13px; color: var(--text-muted); margin-bottom: 30px; }
.policy-meta i { margin-right: 5px; color: var(--accent-dark); }
.prose { line-height: 1.85; color: var(--text-secondary); font-size: 15px; }
.prose h2 { font-size: 20px; font-weight: 700; margin: 35px 0 12px; color: var(--text); padding-bottom: 8px; border-bottom: 2px solid var(--border); }
.prose h3 { font-size: 17px; font-weight: 600; margin: 22px 0 8px; color: var(--text); }
.prose p { margin-bottom: 14px; }
.prose a { color: var(--accent-dark); text-decoration: underline; }
.prose a:hover { color: var(--brand-tan); }
.prose ul, .prose ol { margin: 10px 0 18px 22px; }
.prose li { margin-bottom: 6px; }
.prose strong { color: var(--text); }

/* Policy badges */
.policy-badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 15px 0 20px; }
.badge-policy {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 14px; border-radius: 20px; font-size: 13px; font-weight: 600;
    background: #e8f5e9; color: #2e7d32;
}
.badge-policy.new { background: #e8f5e9; color: #2e7d32; }
.badge-policy.open-box { background: #fff3e0; color: #e65100; }
.badge-policy.return { background: #e3f2fd; color: #1565c0; }
.badge-policy.refurbished { background: #f3e5f5; color: #7b1fa2; }
.badge-policy.used { background: #fce4ec; color: #c62828; }
.badge-policy.parts { background: #efebe9; color: #4e342e; }

/* Policy contact box */
.policy-contact-box {
    background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--brand-tan);
    border-radius: var(--radius); padding: 20px 24px; margin: 20px 0;
}
.policy-contact-box p { margin-bottom: 8px; font-size: 14px; }
.policy-contact-box p:last-child { margin-bottom: 0; }
.policy-contact-box i { width: 20px; color: var(--brand-tan); margin-right: 6px; }
.policy-contact-box a { color: var(--accent-dark); text-decoration: underline; }
.policy-contact-box a:hover { color: var(--brand-tan); }

/* Policy warning */
.policy-warning {
    background: #fff8e1; border: 1px solid #ffe082; border-left: 4px solid #f9a825;
    border-radius: var(--radius); padding: 18px 22px; margin: 20px 0;
    display: flex; align-items: flex-start; gap: 12px;
}
.policy-warning i { color: #f9a825; font-size: 20px; margin-top: 2px; flex-shrink: 0; }
.policy-warning p { margin: 0; font-size: 14px; color: #5d4037; }

/* Policy table */
.policy-table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 14px; }
.policy-table thead { background: var(--brand-slate); color: #fff; }
.policy-table th { padding: 12px 16px; text-align: left; font-weight: 600; }
.policy-table td { padding: 12px 16px; border-bottom: 1px solid var(--border); }
.policy-table tbody tr:hover { background: rgba(0,0,0,0.02); }

/* Cookie type grid */
.cookie-type-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 20px 0;
}
.cookie-type-card {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 20px; transition: box-shadow 0.2s;
}
.cookie-type-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.cookie-type-card h4 { font-size: 15px; font-weight: 700; margin-bottom: 8px; color: var(--text); display: flex; align-items: center; gap: 8px; }
.cookie-type-card h4 i { color: var(--brand-tan); }
.cookie-type-card p { font-size: 13px; line-height: 1.7; color: var(--text-secondary); margin: 0; }

/* Browser instructions */
.browser-instructions {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 18px 0;
}
.browser-item {
    display: flex; align-items: flex-start; gap: 12px;
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 16px;
}
.browser-item i { font-size: 24px; color: var(--text-muted); flex-shrink: 0; margin-top: 2px; }
.browser-item h5 { font-size: 14px; font-weight: 700; margin-bottom: 4px; color: var(--text); }
.browser-item p { font-size: 13px; color: var(--text-secondary); margin: 0; line-height: 1.6; }

/* Warranty exclusions grid */
.warranty-exclusions {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 18px 0;
}
.exclusion-item {
    display: flex; align-items: center; gap: 10px;
    background: #fef2f2; border: 1px solid #fecaca; border-radius: var(--radius);
    padding: 14px 16px; font-size: 14px; color: #991b1b;
}
.exclusion-item i { color: #dc2626; flex-shrink: 0; }

/* Steps timeline */
.steps-timeline { margin: 24px 0; }
.step-item {
    display: flex; gap: 16px; margin-bottom: 20px; position: relative;
}
.step-item:not(:last-child)::after {
    content: ''; position: absolute; left: 19px; top: 42px; bottom: -10px;
    width: 2px; background: var(--border);
}
.step-number {
    width: 40px; height: 40px; border-radius: 50%; background: var(--brand-tan); color: #fff;
    display: flex; align-items: center; justify-content: center; font-weight: 700;
    font-size: 16px; flex-shrink: 0; z-index: 1;
}
.step-content h4 { font-size: 15px; font-weight: 700; margin-bottom: 4px; color: var(--text); }
.step-content p { font-size: 14px; color: var(--text-secondary); margin: 0; line-height: 1.7; }

/* Payment methods grid */
.payment-methods-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 20px 0;
}
.payment-method-card {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 24px; text-align: center; transition: box-shadow 0.2s;
}
.payment-method-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.payment-icon { font-size: 32px; color: var(--brand-tan); margin-bottom: 12px; }
.payment-method-card h4 { font-size: 15px; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.payment-method-card p { font-size: 13px; color: var(--text-secondary); margin: 0; line-height: 1.6; }
.payment-brands { display: flex; justify-content: center; gap: 12px; margin-top: 12px; font-size: 28px; color: var(--text-muted); }

/* Shipping methods grid */
.shipping-methods-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 20px 0;
}
.shipping-method-card {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 24px; text-align: center; transition: box-shadow 0.2s;
}
.shipping-method-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.shipping-icon { font-size: 30px; color: var(--brand-slate); margin-bottom: 12px; }
.shipping-method-card h4 { font-size: 15px; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.shipping-method-card p { font-size: 13px; color: var(--text-secondary); margin: 0; line-height: 1.6; }

/* ============================================ RESPONSIVE */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: repeat(3, 1fr); }
    .product-detail { grid-template-columns: 1fr; }
    .checkout-layout { grid-template-columns: 1fr; }
    .catalog-layout { grid-template-columns: 1fr; }
    .catalog-sidebar { display: none; position: fixed; top: 0; left: 0; width: 300px; height: 100vh; z-index: 1000; border-radius: 0; max-height: 100vh; }
    .catalog-sidebar.open { display: block; }
    .sidebar-close { display: block; }
    .btn-filter-toggle { display: inline-flex; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-layout { grid-template-columns: 1fr; }
    .promo-content { flex-direction: column; text-align: center; }
    .action-label { display: none; }
    .header-action-link { padding: 8px 8px; }
    .logo img { height: 60px; }
    .promo-icon { display: none; }
}

@media (max-width: 768px) {
    .header-row-top { flex-wrap: wrap; gap: 10px; padding: 10px 0; }
    .logo img { height: 50px; }
    .header-search { order: 3; max-width: 100%; flex-basis: 100%; }
    .action-label { display: none; }
    .header-action-link { padding: 8px 8px; }
    .header-action-link i { font-size: 18px; }
    .mobile-toggle { display: block; }
    .header-nav-row { display: none; }
    .header-nav-row.open { display: block; }
    .nav-bar { flex-direction: column; }
    .nav-menu { flex-direction: column; width: 100%; }
    .nav-menu > li > a { border-bottom: 1px solid rgba(255,255,255,0.08); padding: 12px 18px; }
    .nav-right { display: none; }
    .slide { min-height: 300px; }
    .slide-content h1 { font-size: 26px; }
    .slide-content p { font-size: 15px; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
    .cookie-type-grid, .browser-instructions, .warranty-exclusions, .payment-methods-grid { grid-template-columns: 1fr; }
    .shipping-methods-grid { grid-template-columns: 1fr; }
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .form-row { grid-template-columns: 1fr; }
    .product-title { font-size: 22px; }
    .product-price-detail .price-current { font-size: 26px; }
    .features-grid { grid-template-columns: 1fr 1fr; gap: 15px; }
}

@media (max-width: 480px) {
    .products-grid { grid-template-columns: 1fr; }
    .container { padding: 0 15px; }
    .slide { min-height: 250px; }
    .slide-content h1 { font-size: 22px; }
    .features-grid { grid-template-columns: 1fr; }
    .add-to-cart-form { flex-direction: column; }
    .btn-add-to-cart { width: 100%; }
    .footer-grid { grid-template-columns: 1fr; }
    .cookie-type-grid, .browser-instructions, .warranty-exclusions, .payment-methods-grid { grid-template-columns: 1fr; }
    .shipping-methods-grid { grid-template-columns: 1fr; }
    .policy-table { font-size: 13px; }
    .policy-table th, .policy-table td { padding: 10px 12px; }
}