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

body {
    font-family: 'Inter', sans-serif;
    background: #000;
    color: #fff;
    overflow-x: hidden;
    min-height: 100vh;
}

.space-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at bottom, #1B2735 0%, #090A0F 100%);
    z-index: -1;
}

.space-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background-image: 
        radial-gradient(3px 3px at 20px 30px, rgba(255, 255, 255, 0.9), transparent),
        radial-gradient(2px 2px at 60px 70px, rgba(168, 192, 255, 0.8), transparent),
        radial-gradient(2px 2px at 50px 50px, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(194, 233, 251, 0.9), transparent),
        radial-gradient(3px 3px at 90px 10px, rgba(255, 255, 255, 1), transparent),
        radial-gradient(2px 2px at 150px 120px, rgba(168, 192, 255, 0.7), transparent);
    background-repeat: repeat;
    background-size: 200px 200px;
    animation: space-move 80s linear infinite;
}

.space-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(118, 75, 162, 0.1) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

@keyframes space-move {
    from { transform: translate(0, 0); }
    to { transform: translate(-200px, -200px); }
}

.navbar {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-img {
    height: 40px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    background: linear-gradient(45deg, #fff, #a8c0ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-menu a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    white-space: nowrap;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #fff;
}

.language-toggle {
    position: sticky;
    top: 80px;
    z-index: 99;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 0;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.lang-btn {
    padding: 0.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.lang-btn.active {
    background: linear-gradient(45deg, #667eea 0%, #764ba2 100%);
    border-color: transparent;
    color: white;
}

.category-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    padding: 0 1rem;
}

.filter-btn {
    padding: 0.8rem 1.8rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: linear-gradient(45deg, #667eea 0%, #764ba2 100%);
    border-color: transparent;
    color: white;
}

.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

.hero {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, #fff, #a8c0ff, #c2e9fb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.product-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.product-image {
    width: 100%;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #a8c0ff;
    margin-bottom: 1rem;
}

.buy-btn {
    width: 100%;
    padding: 0.8rem;
    background: linear-gradient(45deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
}

.buy-btn:hover {
    transform: scale(1.05);
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: rgba(20, 20, 30, 0.95);
    backdrop-filter: blur(20px);
    margin: 5% auto;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: modalSlideIn 0.3s;
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #fff;
    cursor: pointer;
    z-index: 1;
}

.close:hover {
    color: #667eea;
}

.modal-body {
    padding: 2rem;
    overflow-y: auto;
}

.modal-body h2 {
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
}

.modal-price {
    font-size: 1.5rem;
    color: #a8c0ff;
    font-weight: 700;
    margin-bottom: 2rem;
}

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

.modal-section label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 600;
    font-size: 1.1rem;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.qty-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1.5rem;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s;
}

.qty-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

#quantity {
    width: 80px;
    height: 40px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-size: 1.2rem;
    border-radius: 10px;
}

.size-selector {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.size-btn {
    padding: 0.8rem 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
}

.size-btn:hover {
    border-color: #667eea;
}

.size-btn.selected {
    background: linear-gradient(45deg, #667eea 0%, #764ba2 100%);
    border-color: transparent;
}

.total-price {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: right;
    color: #a8c0ff;
}

.purchase-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(45deg, #25D366 0%, #128C7E 100%);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s;
    margin-top: 1rem;
}

.purchase-btn:hover {
    transform: scale(1.05);
}

.page-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    min-height: calc(100vh - 80px);
}

.page-container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    background: linear-gradient(45deg, #fff, #a8c0ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-section,
.contact-section {
    margin-bottom: 2.5rem;
}

.about-section h2,
.contact-section h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #a8c0ff;
}

.about-section p,
.contact-section p {
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
}

.feature-list {
    list-style: none;
    padding-left: 0;
}

.feature-list li {
    padding: 0.8rem 0;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.contact-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.contact-card p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
}

.contact-link {
    color: #a8c0ff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
}

.contact-link:hover {
    text-decoration: underline;
}

.contact-btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(45deg, #25D366 0%, #128C7E 100%);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: transform 0.2s;
}

.contact-btn:hover {
    transform: scale(1.05);
}

.hours {
    font-weight: 600;
    color: #a8c0ff !important;
}

.faq-list {
    margin-top: 1.5rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-item h4 {
    color: #a8c0ff;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.modal-product-image {
    width: 100%;
    height: 250px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.modal-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.login-screen {
    /* Styles for this component have been moved to admin-styles.css */
}

.login-container {
    /* Styles for this component have been moved to admin-styles.css */
}

.admin-logo {
    /* Styles for this component have been moved to admin-styles.css */
}

.admin-subtitle {
    /* Styles for this component have been moved to admin-styles.css */
}

.login-form {
    /* Styles for this component have been moved to admin-styles.css */
}

.admin-login-btn {
    /* Styles for this component have been moved to admin-styles.css */
}

.login-error {
    /* Styles for this component have been moved to admin-styles.css */
}

.admin-panel {
    /* Styles for this component have been moved to admin-styles.css */
}

.admin-nav {
    /* Styles for this component have been moved to admin-styles.css */
}

.admin-logo-small {
    /* Styles for this component have been moved to admin-styles.css */
}

.admin-nav-buttons {
    /* Styles for this component have been moved to admin-styles.css */
}

.admin-nav-btn {
    /* Styles for this component have been moved to admin-styles.css */
}

.logout-btn {
    /* Styles for this component have been moved to admin-styles.css */
}

.admin-container {
    /* Styles for this component have been moved to admin-styles.css */
}

.admin-header {
    /* Styles for this component have been moved to admin-styles.css */
}

.primary-btn {
    /* Styles for this component have been moved to admin-styles.css */
}

.products-table {
    /* Styles for this component have been moved to admin-styles.css */
}

.table-product-img {
    /* Styles for this component have been moved to admin-styles.css */
}

.action-buttons {
    /* Styles for this component have been moved to admin-styles.css */
}

.edit-btn, .delete-btn {
    /* Styles for this component have been moved to admin-styles.css */
}

.edit-btn {
    /* Styles for this component have been moved to admin-styles.css */
}

.delete-btn {
    /* Styles for this component have been moved to admin-styles.css */
}

.admin-modal {
    /* Styles for this component have been moved to admin-styles.css */
}

.product-form {
    /* Styles for this component have been moved to admin-styles.css */
}

.form-group {
    /* Styles for this component have been moved to admin-styles.css */
}

.form-group input,
.form-group select,
.form-group textarea {
    /* Styles for this component have been moved to admin-styles.css */
}

.form-group textarea {
    /* Styles for this component have been moved to admin-styles.css */
}

.size-checkboxes {
    /* Styles for this component have been moved to admin-styles.css */
}

.size-checkbox {
    /* Styles for this component have been moved to admin-styles.css */
}

.form-actions {
    /* Styles for this component have been moved to admin-styles.css */
}

.secondary-btn {
    /* Styles for this component have been moved to admin-styles.css */
}

.admin-access-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(102, 126, 234, 0.2);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 50;
}

.admin-access-btn:hover {
    background: rgba(102, 126, 234, 0.4);
    transform: scale(1.1);
}

[dir="rtl"] {
    direction: rtl;
}

[dir="rtl"] .nav-menu {
    flex-direction: row-reverse;
}

[dir="rtl"] .modal-body {
    text-align: right;
}

[dir="rtl"] .total-price {
    text-align: left;
}

[dir="rtl"] .nav-container {
    flex-direction: row-reverse;
}

[dir="rtl"] .logo-link {
    flex-direction: row-reverse;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .nav-container {
        padding: 0 1rem;
    }

    .nav-menu {
        gap: 1rem;
    }
    
    .nav-menu a {
        font-size: 0.9rem;
    }
    
    .page-container {
        padding: 2rem 1.5rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .contact-methods {
        grid-template-columns: 1fr;
    }
    
    .category-filters {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .language-toggle {
        padding: 0.8rem 0;
    }
    
    .lang-btn {
        padding: 0.4rem 1.2rem;
        font-size: 0.85rem;
    }

    .modal-body {
        padding: 1.5rem;
    }
    
    .modal-content {
        margin: 5% auto;
        width: 95%;
    }
    
    .admin-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .products-table {
        overflow-x: auto;
    }

    .products-table table {
        min-width: 800px;
    }

    .admin-nav {
        flex-direction: column;
        gap: 1rem;
    }

    .form-actions {
        flex-direction: column;
    }

    .action-buttons {
        flex-direction: column;
    }
}