/* ============================================================ */
/* FILE: client/css/style.css - Complete Global Styles          */
/* ============================================================ */

/* ----- RESET & GLOBAL ----- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Times New Roman', Times, serif;
}
body {
    background: #f2f2f2;
    color: #111111;
    transition: background 0.3s, color 0.3s;
}
body.dark-mode {
    background: #0f1724;
    color: #e8edf5;
}
:root {
    --primary: #222222;
    --primary-light: #4a4a4a;
    --accent: #555555;
    --accent-dark: #000000;
    --bg-light: #ededed;
    --card-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    --card-bg: #ffffff;
    --border-color: #d7d7d7;
    --text-color: #111111;
    --radius-bottom: 0 0 32px 32px;
}
body.dark-mode {
    --card-bg: #1a2634;
    --border-color: #2d3a4a;
    --text-color: #e8edf5;
    --card-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}
body.dark-mode .main-header {
    background: #141e2b;
    border-bottom-color: #2d3a4a;
}
body.dark-mode .main-header .nav-links a {
    color: #bcc9db;
}
body.dark-mode .main-header .nav-links a:hover {
    color: var(--accent);
}
body.dark-mode .search-bar {
    background: #1f2d3d;
}
body.dark-mode .search-bar input {
    color: #e8edf5;
}
body.dark-mode .product-card {
    background: var(--card-bg);
    border-color: var(--border-color);
}
body.dark-mode .product-card .product-name {
    color: #e8edf5;
}
body.dark-mode .filter-sidebar {
    background: var(--card-bg);
    border-color: var(--border-color);
}
body.dark-mode .order-summary {
    background: var(--card-bg);
    border-color: var(--border-color);
}
body.dark-mode .category-card {
    background: var(--card-bg);
    border-color: var(--border-color);
    color: #e8edf5;
}
body.dark-mode .modal-box {
    background: #1a2634;
}
body.dark-mode .modal-box h2 {
    color: #e8edf5;
}
body.dark-mode .preview-area {
    background: #111b26;
}
body.dark-mode .bill-form input,
body.dark-mode .bill-form textarea,
body.dark-mode .bill-form select,
body.dark-mode .modal-controls input {
    background: #1f2d3d;
    color: #e8edf5;
    border-color: #2d3a4a;
}
body.dark-mode .cart-item {
    border-bottom-color: #2d3a4a;
}

/* ============================================================ */
/* HEADER / NAVIGATION (Logo Centered & Bigger)                 */
/* ============================================================ */
.main-header {
    background: white;
    padding: 0.8rem 2rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #d7d7d7;
    transition: background 0.3s, border-color 0.3s;
    border-radius: var(--radius-bottom);
    gap: 0.5rem 1rem;
    flex-wrap: wrap;
}

/* --- Left: Brand Name "H CLOTHING HOUSE" --- */
.header-left {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}
.brand-text {
    display: inline-flex;
    align-items: baseline;
    gap: 0.2rem;
    font-family: 'Times New Roman', Times, serif;
    color: var(--primary);
    white-space: nowrap;
}
.brand-text .brand-letter {
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1;
    color: var(--primary);
}
.brand-text .brand-name {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    line-height: 1.1;
    margin-bottom: 4px;
    color: var(--primary);
}
body.dark-mode .brand-text .brand-letter,
body.dark-mode .brand-text .brand-name {
    color: #e8edf5;
}

/* --- Center: Logo Image (Centered & Bigger) --- */
.header-center {
    flex: 1 1 auto;
    text-align: center;
    min-width: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.logo {
    display: inline-flex;
    align-items: center;
    line-height: 1;
}
.logo img {
    display: block;
    height: 100px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
}

/* --- Right: Navigation + Cart + Actions (UNCHANGED) --- */
.header-right {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.3rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    flex-wrap: wrap;
}
.nav-links a {
    text-decoration: none;
    color: #333333;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: 0.15s;
    padding: 0.2rem 0;
    border-bottom: 2px solid transparent;
}
.nav-links a:hover {
    color: var(--primary);
    border-bottom-color: var(--accent);
}
.nav-links a.active {
    color: var(--primary);
    border-bottom-color: var(--accent);
}

.nav-bottom {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.cart-icon {
    position: relative;
    font-size: 1.4rem;
    color: var(--primary);
    cursor: pointer;
    text-decoration: none;
}
.cart-badge {
    position: absolute;
    top: -10px;
    right: -12px;
    background: #333333;
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 40px;
    min-width: 20px;
    text-align: center;
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.dark-toggle {
    background: none;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    color: var(--primary);
    padding: 0.2rem 0.4rem;
}
.auth-btn {
    background: #444444;
    border: none;
    color: white;
    padding: 0.2rem 0.8rem;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.75rem;
    transition: 0.2s;
    text-decoration: none;
}
.auth-btn:hover {
    background: #000000;
}

/* ----- FOOTER ----- */
.main-footer {
    text-align: center;
    padding: 2rem;
    border-top: 1px solid var(--border-color);
    margin-top: 2rem;
    color: #666;
    font-size: 0.9rem;
}

/* ----- PAGE CONTAINERS ----- */
.page-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 1.2rem 2rem 3rem;
}

/* ----- HERO CAROUSEL ----- */
.hero-slider {
    position: relative;
    width: 100%;
    height: 320px;
    border-radius: 24px 24px 32px 32px;
    overflow: hidden;
    margin-bottom: 2.4rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: opacity 0.6s ease;
    opacity: 0;
}
.slide.active {
    opacity: 1;
}
.slide-content {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 1.8rem 3.2rem;
    border-radius: 60px;
    color: white;
    font-size: 2.2rem;
    font-weight: 700;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease;
    text-align: center;
    max-width: 85%;
}
.slide-content:hover {
    transform: scale(1.02);
}
body.dark-mode .slide-content {
    background: rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 255, 255, 0.08);
}
.slider-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 5;
}
.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}
.slider-dot.active {
    background: white;
    transform: scale(1.3);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.3);
}
.slider-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* ----- CATEGORY CARDS ----- */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1.2rem;
    margin: 2rem 0 2.4rem;
}
.category-card {
    background: var(--bg-light);
    padding: 1.2rem 0.6rem;
    border-radius: 30px 30px 32px 32px;
    text-align: center;
    box-shadow: var(--card-shadow);
    cursor: pointer;
    transition: 0.2s;
    border: 1px solid #000000;
    font-weight: 600;
    color: var(--primary);
}
.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
    border-color: #000000;
}
.category-card i {
    font-size: 2rem;
    display: block;
    margin-bottom: 6px;
    color: var(--primary);
}

/* ----- SEARCH BAR ----- */
.inline-search {
    display: flex;
    justify-content: center;
    margin: 1.2rem 0 2rem;
}
.search-bar {
    display: flex;
    align-items: center;
    background: var(--bg-light);
    border: 2px solid #d7d7d7;
    border-radius: 50px;
    padding: 0.6rem 1.2rem;
    gap: 0.8rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}
.search-bar:focus-within {
    border-color: var(--primary);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
}
.search-bar input {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-size: 0.95rem;
    color: var(--text-color);
    font-family: inherit;
}
.search-bar input::placeholder {
    color: #a8b5c7;
}
.search-bar button {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}
.search-bar button:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(244, 162, 97, 0.4);
}
.search-bar button:active {
    transform: scale(0.95);
}
.inline-search .search-bar {
    max-width: 500px;
    width: 100%;
}
body.dark-mode .search-bar {
    background: #1f2d3d;
    border-color: #2d3a4a;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}
body.dark-mode .search-bar:focus-within {
    border-color: var(--accent);
    box-shadow: 0 8px 28px rgba(244, 162, 97, 0.2);
}
body.dark-mode .search-bar input {
    color: #e8edf5;
}
body.dark-mode .search-bar input::placeholder {
    color: #7a8699;
}

/* ----- PRODUCT GRID ----- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.8rem;
    margin-top: 0.8rem;
}
.product-card {
    background: white;
    border-radius: 20px 20px 32px 32px;
    padding: 1rem 0.8rem 1.2rem;
    box-shadow: var(--card-shadow);
    transition: 0.2s;
    display: flex;
    flex-direction: column;
    border: 1px solid #eef3f8;
    position: relative;
}
.product-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
}
.product-card img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 16px 16px 24px 24px;
    background: #eef3f8;
}
.product-name {
    font-weight: 600;
    margin: 0.6rem 0 0.2rem;
}
.product-price {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.1rem;
}
.product-rating {
    color: #f4b942;
    letter-spacing: 2px;
    font-size: 0.9rem;
}
.stock-badge {
    font-size: 0.7rem;
    padding: 0.1rem 0.6rem;
    border-radius: 40px;
    display: inline-block;
    margin-top: 4px;
}
.stock-low {
    background: #fde8e8;
    color: #c0392b;
}
.stock-medium {
    background: #fef9e7;
    color: #b7950b;
}
.stock-high {
    background: #e8f5e9;
    color: #27ae60;
}
body.dark-mode .stock-low {
    background: #2c1818;
    color: #e74c3c;
}
body.dark-mode .stock-medium {
    background: #2c2418;
    color: #f1c40f;
}
body.dark-mode .stock-high {
    background: #182818;
    color: #2ecc71;
}
.card-actions {
    display: flex;
    gap: 6px;
    margin-top: 10px;
    flex-wrap: wrap;
}
.wishlist-btn {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: #ccc;
    transition: 0.2s;
    padding: 0.2rem 0.4rem;
    position: absolute;
    top: 12px;
    right: 12px;
}
.wishlist-btn.active {
    color: #222222;
}
.wishlist-btn:hover {
    transform: scale(1.2);
}
.btn {
    background: #222222;
    border: none;
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 40px;
    font-weight: 500;
    cursor: pointer;
    transition: 0.15s;
    font-size: 0.8rem;
}
.btn-accent {
    background: #555555;
    color: white;
}
.btn-accent:hover {
    background: #000000;
}
.btn-outline {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
}
.btn-outline:hover {
    background: var(--primary);
    color: white;
}
.btn-sm {
    padding: 0.25rem 0.8rem;
    font-size: 0.75rem;
}
.btn-danger {
    background: #444444;
    color: white;
}
.btn-danger:hover {
    background: #000000;
}

/* ----- SHOP LAYOUT (filter + grid) ----- */
.shop-layout {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}
.filter-sidebar {
    flex: 0 0 220px;
    background: #f5f5f5;
    padding: 1.2rem 1.2rem 1.8rem;
    border-radius: 24px 24px 32px 32px;
    box-shadow: var(--card-shadow);
    height: fit-content;
    transition: background 0.3s, border-color 0.3s;
    border: 1px solid transparent;
}
.filter-group {
    margin-bottom: 1.6rem;
}
.filter-group label {
    display: block;
    margin: 0.3rem 0;
    font-size: 0.9rem;
}
.filter-group select {
    width: 100%;
    padding: 0.4rem;
    border-radius: 30px;
    border: 1px solid #c1c1c1;
    transition: background 0.3s, color 0.3s, border-color 0.3s;
}
body.dark-mode .filter-group select {
    background: #1f2d3d;
    color: #e8edf5;
    border-color: #2d3a4a;
}
.product-area {
    flex: 1;
}

/* ----- MODAL (personalization) ----- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 20, 30, 0.7);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
}
.modal-overlay.open {
    display: flex;
}
.modal-box {
    background: white;
    max-width: 700px;
    width: 94%;
    padding: 1.8rem;
    border-radius: 32px 32px 40px 40px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    transition: background 0.3s;
}
.modal-box h2 {
    margin-bottom: 0.6rem;
    color: var(--primary);
}
.preview-area {
    background: #eef3f8;
    border-radius: 24px 24px 32px 32px;
    padding: 1.2rem;
    text-align: center;
    min-height: 180px;
    position: relative;
    margin: 0.6rem 0;
    background-image: url('https://picsum.photos/seed/blanktee/400/300');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: background 0.3s;
}
.preview-area canvas {
    max-width: 100%;
    border-radius: 16px;
    background: transparent;
}
.modal-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin: 1rem 0;
    align-items: center;
}
.modal-controls input,
.modal-controls button {
    padding: 0.4rem 0.8rem;
    border-radius: 40px;
    border: 1px solid #dce3ec;
}
.modal-controls button {
    background: var(--primary);
    color: white;
    border: none;
}

/* ----- CHECKOUT ----- */
.checkout-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}
.bill-form input,
.bill-form textarea,
.bill-form select {
    width: 100%;
    padding: 0.6rem 1rem;
    margin: 0.3rem 0 0.8rem;
    border-radius: 30px 30px 32px 32px;
    border: 1px solid #dce3ec;
    transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.cart-item {
    display: flex;
    justify-content: space-between;
    padding: 0.6rem 0;
    border-bottom: 1px solid #ecf0f5;
    transition: border-color 0.3s;
}
.order-summary {
    background: var(--bg-light);
    padding: 1.2rem;
    border-radius: 24px 24px 32px 32px;
    box-shadow: var(--card-shadow);
    transition: background 0.3s, border-color 0.3s;
    border: 1px solid transparent;
}

/* ----- REVIEWS ----- */
.reviews-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}
.review-item {
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--border-color);
}
.review-item:last-child {
    border-bottom: none;
}
.review-rating {
    color: #666666;
}
.review-form {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin: 0.6rem 0;
}
.review-form input,
.review-form select,
.review-form textarea {
    padding: 0.4rem 0.8rem;
    border-radius: 30px;
    border: 1px solid var(--border-color);
    background: var(--bg-light);
    transition: 0.2s;
}
body.dark-mode .review-form input,
body.dark-mode .review-form select,
body.dark-mode .review-form textarea {
    background: #1f2d3d;
    color: #e8edf5;
    border-color: #2d3a4a;
}

/* ----- DELIVERY OPTIONS ----- */
.delivery-options {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 0.6rem 0;
}
.delivery-option {
    padding: 0.6rem 1.2rem;
    border: 2px solid var(--border-color);
    border-radius: 30px 30px 32px 32px;
    cursor: pointer;
    transition: 0.2s;
    background: var(--card-bg);
}
.delivery-option.selected {
    border-color: #333333;
    background: #333333;
    color: white;
}
.delivery-option:hover {
    border-color: var(--accent);
}

/* ----- AUTH PAGES (login, signup) ----- */
.auth-container {
    max-width: 400px;
    margin: 2rem auto;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 24px 24px 32px 32px;
    box-shadow: var(--card-shadow);
}
.auth-container h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--primary);
}
.auth-container input {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid #d7d7d7;
    border-radius: 12px;
    font-size: 0.95rem;
    background: #f4f4f4;
    color: var(--text-color);
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}
.auth-container input:focus {
    outline: none;
    background: white;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0,0,0,0.08);
}
.auth-container .btn {
    width: 100%;
    padding: 0.9rem;
    font-size: 0.95rem;
}
.auth-container p {
    text-align: center;
    margin-top: 1rem;
    color: #666;
}
.auth-container a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}
.auth-container a:hover {
    text-decoration: underline;
}
body.dark-mode .auth-container input {
    background: #1f2d3d;
    border-color: #2d3a4a;
    color: #e8edf5;
}
body.dark-mode .auth-container input:focus {
    background: #252e3a;
    border-color: var(--accent);
}
body.dark-mode .auth-container {
    background: #1a2634;
}

/* ============================================================ */
/* ABOUT PAGE                                                   */
/* ============================================================ */
#page-about {
    max-width: 900px;
    margin: 0 auto;
}
#page-about h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
    text-align: center;
    letter-spacing: 1px;
}
.about-subtitle {
    text-align: center;
    color: #555555;
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 2rem;
    letter-spacing: 2px;
}
.about-content {
    background: #f5f5f5;
    padding: 2.5rem 3rem;
    border-radius: 24px 24px 32px 32px;
    box-shadow: var(--card-shadow);
    transition: background 0.3s, box-shadow 0.3s;
    border: 1px solid transparent;
    line-height: 1.8;
    font-size: 1.05rem;
    color: var(--text-color);
}
body.dark-mode .about-content {
    background: #1a2634;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border-color: #2d3a4a;
}
.about-content p {
    margin-bottom: 1.2rem;
}
.about-content p:last-child {
    margin-bottom: 0;
}
.about-content .highlight {
    color: var(--accent);
    font-weight: 600;
}
.about-content .brand-name-inline {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--primary);
}
body.dark-mode .about-content .brand-name-inline {
    color: #e8edf5;
}
.about-content .quote {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-style: italic;
    text-align: center;
    padding: 1.5rem 0;
    border-top: 2px solid var(--border-color);
    border-bottom: 2px solid var(--border-color);
    margin: 1.5rem 0;
    color: #222222;
}
body.dark-mode .about-content .quote {
    color: var(--accent);
    border-color: #2d3a4a;
}

/* ============================================================ */
/* CONTACT PAGE                                                 */
/* ============================================================ */
#page-contact {
    max-width: 600px;
    margin: 0 auto;
}
#page-contact h2 {
    text-align: center;
    margin-bottom: 0.4rem;
    color: var(--primary);
}
.contact-intro,
.contact-email {
    text-align: center;
    color: #444;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}
.contact-email a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}
.contact-email a:hover {
    text-decoration: underline;
}
.contact-success {
    display: none;
    margin-bottom: 1rem;
    padding: 1rem 1.2rem;
    border-radius: 16px;
    background: #e6f7e6;
    color: #1b5e20;
    border: 1px solid #a3d9a5;
}
#contactForm {
    background: white;
    padding: 2rem;
    border-radius: 24px 24px 32px 32px;
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    transition: background 0.3s, box-shadow 0.3s;
    border: 1px solid transparent;
}
body.dark-mode #contactForm {
    background: #1a2634;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border-color: #2d3a4a;
}
#contactForm input,
#contactForm textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 2px solid #d7d7d7;
    border-radius: 12px;
    font-size: 0.95rem;
    background: var(--bg-light);
    color: var(--text-color);
    transition: all 0.3s ease;
    font-family: inherit;
    resize: vertical;
}
#contactForm input:focus,
#contactForm textarea:focus {
    outline: none;
    background: white;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(244, 162, 97, 0.1);
}
#contactForm input::placeholder,
#contactForm textarea::placeholder {
    color: #a8b5c7;
}
body.dark-mode #contactForm input,
body.dark-mode #contactForm textarea {
    background: #1f2d3d;
    border-color: #2d3a4a;
    color: #e8edf5;
}
body.dark-mode #contactForm input:focus,
body.dark-mode #contactForm textarea:focus {
    background: #252e3a;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(244, 162, 97, 0.15);
}
body.dark-mode #contactForm input::placeholder,
body.dark-mode #contactForm textarea::placeholder {
    color: #7a8699;
}
#contactForm button {
    width: 100%;
    padding: 0.9rem 1.2rem;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    border: none;
    color: white;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.4rem;
}
#contactForm button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}
#contactForm button:active {
    transform: translateY(0);
}
.contact-success {
    background: #f0f0f0;
    color: #222222;
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 1rem;
    display: none;
}
body.dark-mode .contact-success {
    background: #182818;
    color: #2ecc71;
}

/* ============================================================ */
/* QUICK VIEW MODAL                                             */
/* ============================================================ */
.quick-view-box {
    max-width: 800px;
    padding: 2rem;
    position: relative;
}
.quick-view-box .close-modal-btn {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-color);
    opacity: 0.5;
    transition: opacity 0.2s;
}
.quick-view-box .close-modal-btn:hover {
    opacity: 1;
}
.quick-view-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}
.quick-view-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
}
.quick-view-details h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 0.2rem;
}
.quick-view-category {
    color: var(--accent);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}
.quick-view-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0.5rem 0;
}
.quick-view-rating {
    color: #f4b942;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}
.quick-view-description {
    color: var(--text-color);
    opacity: 0.7;
    line-height: 1.6;
    margin: 1rem 0;
    font-family: 'Inter', sans-serif;
}
.quick-view-actions {
    display: flex;
    gap: 0.8rem;
    margin-top: 1rem;
}
.quick-view-actions .btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
}

/* ----- NO PRODUCTS ----- */
.no-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    background: var(--card-bg);
    border-radius: 20px;
    border: 1px solid var(--border-color);
}
.no-products h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}
.no-products p {
    color: var(--text-color);
    opacity: 0.6;
    margin-bottom: 1.2rem;
}

/* ============================================================ */
/* RESPONSIVE HEADER (Overrides)                                */
/* ============================================================ */
@media (max-width: 820px) {
    .main-header {
        padding: 0.6rem 1rem;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.4rem 0.8rem;
    }
    .header-left {
        flex: 0 0 auto;
        order: 1;
    }
    .header-center {
        flex: 0 0 auto;
        order: 0;
        min-width: 60px;
        width: 100%;
        text-align: center;
    }
    .header-right {
        flex: 1 1 100%;
        flex-direction: column;
        align-items: center;
        gap: 0.3rem;
        order: 2;
    }
    .nav-links {
        justify-content: center;
        gap: 0.6rem;
    }
    .nav-links a {
        font-size: 0.8rem;
        padding: 0.15rem 0;
    }
    .nav-bottom {
        justify-content: center;
        gap: 0.8rem;
    }
    .logo img {
        height: 70px;
    }
    .brand-text .brand-letter {
        font-size: 2.2rem;
    }
    .brand-text .brand-name {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .main-header {
        flex-direction: column;
        align-items: stretch;
        padding: 0.5rem 0.8rem;
    }
    .header-left {
        order: 1;
        text-align: center;
    }
    .header-center {
        order: 0;
        width: 100%;
    }
    .header-right {
        order: 2;
        flex-direction: column;
        align-items: center;
    }
    .nav-links {
        justify-content: center;
        gap: 0.5rem;
        flex-wrap: wrap;
    }
    .nav-links a {
        font-size: 0.75rem;
    }
    .nav-bottom {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }
    .logo img {
        height: 55px;
        max-width: 120px;
    }
    .brand-text .brand-letter {
        font-size: 1.8rem;
    }
    .brand-text .brand-name {
        font-size: 0.75rem;
        letter-spacing: 0.4px;
    }
}

/* ============================================================ */
/* RESPONSIVE FOR QUICK VIEW, ABOUT, CONTACT (unchanged)       */
/* ============================================================ */
@media (max-width: 720px) {
    .quick-view-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .quick-view-actions {
        flex-direction: column;
    }
    .quick-view-actions .btn {
        width: 100%;
        text-align: center;
    }
    #page-about h2 {
        font-size: 2rem;
    }
    .about-content {
        padding: 1.5rem;
    }
}