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

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

:root {
    /* Color Palette - Modern Professional */
    --primary-dark-blue: #0f2847;
    --primary-blue: #1a3a52;
    --secondary-blue: #2c5aa0;
    --light-blue: #3d7ec8;
    --accent-red: #e63946;
    --accent-orange: #ff8c42;
    --accent-gold: #ffc107;
    --accent-green: #06d6a0;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --medium-gray: #e9ecef;
    --dark-gray: #2c3e50;
    --text-color: #333333;
    --text-light: #666666;
    --border-color: #dee2e6;
    
    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-light: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-heavy: 0 8px 32px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 12px 48px rgba(0, 0, 0, 0.18);
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease-out;
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    background-color: var(--white);
    direction: rtl;
    line-height: 1.6;
    font-weight: 400;
    overflow-x: hidden;
}

/* ============ HEADER & NAVIGATION ============ */
header {
    background: linear-gradient(135deg, var(--primary-dark-blue) 0%, var(--primary-blue) 50%, var(--secondary-blue) 100%);
    color: var(--white);
    padding: 1.2rem 0;
    box-shadow: var(--shadow-medium);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background-attachment: fixed;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.8rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--white);
    transition: var(--transition);
    flex-shrink: 0;
}

.logo:hover {
    transform: scale(1.08);
    filter: brightness(1.1);
}

.logo img {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    transition: var(--transition);
}

.logo:hover img {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
}

nav a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition-fast);
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    padding: 0.5rem 0;
    opacity: 0.95;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-orange));
    transition: var(--transition-fast);
}

nav a:hover::after {
    width: 100%;
}

nav a:hover {
    color: var(--accent-gold);
    opacity: 1;
}

/* ============ CONTAINER ============ */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ============ HERO SECTION ============ */
.hero {
    background: linear-gradient(135deg, var(--primary-dark-blue) 0%, var(--primary-blue) 50%, var(--secondary-blue) 100%);
    color: var(--white);
    padding: 7rem 2rem;
    text-align: center;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 140, 66, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 193, 7, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 0%, rgba(61, 126, 200, 0.1) 0%, transparent 50%);
    pointer-events: none;
    animation: gradientShift 15s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.8rem;
    margin-bottom: 1.5rem;
    font-weight: 900;
    letter-spacing: -1px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    animation: fadeInDown 0.8s ease-out;
    line-height: 1.2;
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    font-weight: 300;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease-out 0.2s both;
    line-height: 1.6;
}

.hero-cta {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-orange));
    color: var(--primary-dark-blue);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
    animation: fadeInUp 0.8s ease-out 0.4s both;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.hero-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.3s ease;
}

.hero-cta:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(255, 193, 7, 0.5);
}

.hero-cta:hover::before {
    left: 100%;
}

/* ============ CATEGORIES SECTION ============ */
.categories-section {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, var(--light-gray) 0%, #ffffff 100%);
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
}

.categories-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(61, 126, 200, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.section-title {
    font-size: 2.8rem;
    color: var(--primary-dark-blue);
    margin-bottom: 3.5rem;
    text-align: center;
    font-weight: 900;
    position: relative;
    padding-bottom: 1.5rem;
    animation: fadeInDown 0.6s ease-out;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-red), var(--accent-gold), var(--accent-green));
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(230, 57, 70, 0.3);
}

.categories-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.8rem;
    justify-items: center;
    position: relative;
    z-index: 1;
}

.category-btn {
    padding: 1.1rem 2rem;
    border: 2px solid var(--primary-blue);
    background: var(--white);
    color: var(--primary-blue);
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    font-size: 1rem;
    box-shadow: var(--shadow-light);
    width: 100%;
    max-width: 220px;
    font-family: 'Cairo', sans-serif;
    position: relative;
    overflow: hidden;
}

.category-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    transition: left 0.3s ease;
    z-index: -1;
}

.category-btn:hover,
.category-btn.active {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: var(--white);
    border-color: transparent;
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
    left: 0;
}

.category-btn:hover::before,
.category-btn.active::before {
    left: 0;
}

/* ============ PRODUCTS SECTION ============ */
.products-section {
    padding: 5rem 2rem;
    background: linear-gradient(180deg, var(--white) 0%, var(--light-gray) 100%);
    position: relative;
    overflow: hidden;
}

.products-section::before {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(230, 57, 70, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.8rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.product-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition-slow);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    position: relative;
    animation: fadeInUp 0.6s ease-out;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-red), var(--accent-gold), var(--accent-green));
    opacity: 0;
    transition: var(--transition);
    z-index: 10;
}

.product-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0) 0%, rgba(61, 126, 200, 0.05) 100%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
    z-index: 1;
}

.product-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-gold);
}

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

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

.product-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    background: linear-gradient(135deg, var(--light-gray), var(--medium-gray));
    transition: var(--transition-slow);
    display: block;
    position: relative;
    z-index: 2;
}

.product-card:hover .product-image {
    transform: scale(1.1) rotate(1deg);
}

.product-info {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 3;
}

.product-category {
    color: var(--accent-red);
    font-size: 0.8rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    background: rgba(230, 57, 70, 0.1);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    width: fit-content;
}

.product-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-dark-blue);
    margin-bottom: 0.8rem;
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
    transition: var(--transition-fast);
}

.product-card:hover .product-name {
    color: var(--secondary-blue);
}

.product-description {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
    line-height: 1.6;
    flex-grow: 1;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 1.2rem;
    border-top: 2px solid var(--border-color);
    gap: 1rem;
    flex-wrap: wrap;
}

.product-price {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--accent-red);
    transition: var(--transition-fast);
}

.product-card:hover .product-price {
    color: var(--accent-orange);
    transform: scale(1.05);
}

.product-price-label {
    font-size: 0.75rem;
    color: #999;
    display: block;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============ BUTTONS ============ */
.btn {
    padding: 0.85rem 1.8rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 600;
    font-family: 'Cairo', sans-serif;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    gap: 0.5rem;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:active::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-red), #d42a3f);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(230, 57, 70, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(26, 58, 82, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(26, 58, 82, 0.4);
}

.btn-small {
    padding: 0.7rem 1.4rem;
    font-size: 0.9rem;
    border-radius: 8px;
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #1faa50 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    border: none;
    text-decoration: none;
    transition: var(--transition);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    flex-shrink: 0;
    font-size: 0.95rem;
}

.btn-whatsapp:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
    background: linear-gradient(135deg, #1faa50 0%, #16843e 100%);
    color: var(--white);
    text-decoration: none;
}

.btn-whatsapp:active {
    transform: translateY(-1px) scale(0.98);
}

/* ============ EMPTY STATE ============ */
.empty-state {
    text-align: center;
    padding: 5rem 2rem;
    background: linear-gradient(135deg, var(--light-gray), #ffffff);
    border-radius: 20px;
    margin: 2rem 0;
    border: 3px dashed var(--border-color);
    position: relative;
    overflow: hidden;
}

.empty-state::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(61, 126, 200, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.empty-state-icon {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    opacity: 0.5;
    animation: float 3s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.empty-state p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

/* ============ FOOTER ============ */
footer {
    background: linear-gradient(135deg, var(--primary-dark-blue) 0%, var(--primary-blue) 50%, var(--secondary-blue) 100%);
    color: var(--white);
    padding: 5rem 2rem 2rem;
    margin-top: 5rem;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 140, 66, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 193, 7, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3.5rem;
    margin-bottom: 3rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    color: var(--accent-gold);
    font-size: 1.3rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    margin-bottom: 1rem;
    display: block;
    font-size: 1rem;
    transition: var(--transition-fast);
    line-height: 1.8;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.footer-section a:hover {
    color: var(--accent-gold);
    transform: translateX(-5px);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1rem;
    transition: var(--transition-fast);
}

.contact-info-item:hover {
    transform: translateX(-5px);
}

.contact-info-item a {
    margin-bottom: 0;
    display: inline;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, #25d366, #1faa50);
    color: var(--white);
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    margin-top: 0.5rem;
    width: fit-content;
}

.whatsapp-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
    background: linear-gradient(135deg, #1faa50, #16843e);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.75);
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.95rem;
}

/* ============ ANIMATIONS ============ */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============ CONTACT PAGE STYLES ============ */
.contact-section {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, var(--light-gray) 0%, #ffffff 100%);
    min-height: calc(100vh - 200px);
}

.contact-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--shadow-heavy);
    animation: fadeInUp 0.6s ease-out;
}

.contact-title {
    font-size: 2.5rem;
    color: var(--primary-dark-blue);
    margin-bottom: 1rem;
    font-weight: 900;
}

.contact-subtitle {
    color: var(--text-light);
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    color: var(--primary-dark-blue);
    font-weight: 700;
    font-size: 1.05rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
    color: var(--text-color);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-blue);
    box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.1);
    transform: translateY(-2px);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.submit-btn {
    width: 100%;
    padding: 1.2rem;
    background: linear-gradient(135deg, var(--accent-red), #d42a3f);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
    font-family: 'Cairo', sans-serif;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(230, 57, 70, 0.4);
}

.submit-btn:active {
    transform: translateY(-1px);
}

/* ============ ADMIN PANEL STYLES ============ */
.admin-header {
    background: linear-gradient(135deg, var(--primary-dark-blue) 0%, var(--primary-blue) 100%);
    color: var(--white);
    padding: 1.5rem 0;
    box-shadow: var(--shadow-medium);
    margin-bottom: 3rem;
}

.admin-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.admin-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 2rem;
    color: var(--primary-dark-blue);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    margin-bottom: 2rem;
}

.admin-table thead {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: var(--white);
}

.admin-table th {
    padding: 1.2rem;
    text-align: right;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-table td {
    padding: 1rem 1.2rem;
    border-bottom: 1px solid var(--border-color);
}

.admin-table tbody tr:hover {
    background: var(--light-gray);
    transition: var(--transition-fast);
}

.admin-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-light);
    margin-bottom: 2rem;
}

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

.admin-form-group label {
    display: block;
    margin-bottom: 0.6rem;
    color: var(--primary-dark-blue);
    font-weight: 700;
}

.admin-form-group input,
.admin-form-group textarea,
.admin-form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.admin-form-group input:focus,
.admin-form-group textarea:focus,
.admin-form-group select:focus {
    outline: none;
    border-color: var(--secondary-blue);
    box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.1);
}

/* ============ RESPONSIVE DESIGN ============ */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    nav ul {
        gap: 1.5rem;
        justify-content: center;
    }

    .hero {
        padding: 4rem 1.5rem;
        min-height: 400px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .hero-cta {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .categories-list {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }

    .category-btn {
        max-width: 100%;
        padding: 0.9rem 1.5rem;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 2rem;
    }

    .product-card {
        transform: none !important;
    }

    .product-card:hover {
        transform: translateY(-10px) !important;
    }

    .product-image {
        height: 220px;
    }

    .product-info {
        padding: 1.5rem;
    }

    .product-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .btn-whatsapp {
        width: 100%;
        justify-content: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-container {
        padding: 2rem;
    }

    .contact-title {
        font-size: 1.8rem;
    }

    .admin-container {
        padding: 0 1rem;
    }

    .admin-table {
        font-size: 0.9rem;
    }

    .admin-table th,
    .admin-table td {
        padding: 0.8rem;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 0.8rem;
    }

    .logo {
        font-size: 1.4rem;
    }

    .logo img {
        height: 40px;
    }

    nav ul {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .hero {
        padding: 3rem 1rem;
        min-height: 350px;
    }

    .hero h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-cta {
        padding: 0.9rem 1.8rem;
        font-size: 0.95rem;
    }

    .section-title {
        font-size: 1.6rem;
        margin-bottom: 1.5rem;
    }

    .categories-list {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .product-card {
        border-radius: 12px;
    }

    .product-image {
        height: 200px;
    }

    .product-info {
        padding: 1.2rem;
    }

    .product-name {
        font-size: 1.2rem;
    }

    .product-price {
        font-size: 1.5rem;
    }

    .btn-small {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }

    .empty-state {
        padding: 3rem 1rem;
        border-radius: 15px;
    }

    .empty-state-icon {
        font-size: 3.5rem;
        margin-bottom: 1rem;
    }

    .empty-state p {
        font-size: 1rem;
    }

    footer {
        padding: 3rem 1rem 1rem;
        margin-top: 3rem;
    }

    .footer-content {
        gap: 2rem;
    }

    .footer-section h3 {
        font-size: 1.1rem;
    }

    .footer-section p,
    .footer-section a {
        font-size: 0.95rem;
        margin-bottom: 0.8rem;
    }

    .contact-container {
        padding: 1.5rem;
    }

    .contact-title {
        font-size: 1.5rem;
    }

    .contact-subtitle {
        font-size: 1rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.8rem;
        font-size: 1rem;
    }

    .submit-btn {
        padding: 1rem;
        font-size: 1rem;
    }
}

/* ============ UTILITY CLASSES ============ */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

.rounded { border-radius: 8px; }
.rounded-lg { border-radius: 12px; }
.rounded-full { border-radius: 50%; }

.shadow { box-shadow: var(--shadow-light); }
.shadow-md { box-shadow: var(--shadow-medium); }
.shadow-lg { box-shadow: var(--shadow-heavy); }

.opacity-50 { opacity: 0.5; }
.opacity-75 { opacity: 0.75; }

.cursor-pointer { cursor: pointer; }
.no-select { user-select: none; }
