* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial;
    background: #f1f3f6;
    direction: rtl;
    overflow-x: hidden;
}

/* NAVBAR */
.navbar {
    background: #131921;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.menu-btn {
    font-size: 32px;
    color: white;
    cursor: pointer;
}

.logo {
    font-size: 32px;
    font-weight: bold;
    color: #25D366;
    letter-spacing: 3px;
}

.logo-link {
    text-decoration: none;
}

.search-box {
    width: 50%;
}

.search-box input {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
}

/* SIDEBAR */
.sidebar {
    position: fixed;
    top: 0;
    right: -300px;
    width: 250px;
    height: 100%;
    background: white;
    padding: 30px;
    z-index: 9999;
    transition: 0.3s;
    box-shadow: -5px 0 10px rgba(0, 0, 0, 0.2);
}

.sidebar.active {
    right: 0;
}

.close-btn {
    font-size: 25px;
    cursor: pointer;
    margin-bottom: 30px;
}

.sidebar h3 {
    margin-bottom: 20px;
    font-size: 25px;
}

.sidebar ul {
    list-style: none;
}

.sidebar li {
    padding: 15px;
    margin-bottom: 10px;
    background: #f1f3f6;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
}

.sidebar li:hover {
    background: #25D366;
    color: white;
}

/* HERO */
.hero {
    height: 500px;
    background: url('https://images.unsplash.com/photo-1607082349566-187342175e2f?q=80&w=1600') center/cover;
    position: relative;
}

.overlay {
    background: rgba(0, 0, 0, 0.5);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
}

.overlay h1 {
    font-size: 60px;
    margin-bottom: 20px;
}

.overlay p {
    font-size: 24px;
}

/* PRODUCTS */
.container {
    width: 90%;
    margin: 50px auto;
}

.products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-10px);
}

.card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.card-content {
    padding: 20px;
}

.card-content h2 {
    margin-bottom: 15px;
}

.price {
    font-size: 28px;
    color: #25D366;
    margin-bottom: 15px;
}

.btn {
    display: block;
    background: #25D366;
    padding: 14px;
    text-align: center;
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-size: 18px;
}

/* MOBILE */
@media(max-width: 768px) {
    .search-box {
        width: 60%;
    }

    .overlay h1 {
        font-size: 35px;
    }
}

/* ADMIN */
.admin-container {
    width: 90%;
    margin: 50px auto;
}

.admin-form {
    background: white;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 50px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.admin-form h2 {
    margin-bottom: 25px;
}

.admin-form label {
    display: block;
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: bold;
}

.admin-form input,
.admin-form textarea,
.admin-form select {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 16px;
}

.admin-form textarea {
    height: 140px;
    resize: none;
}

.save-btn {
    width: 100%;
    margin-top: 30px;
    padding: 15px;
    background: #25D366;
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 18px;
    cursor: pointer;
}

/* AMAZON PRODUCT */
.amazon-product {
    width: 95%;
    margin: 40px auto;
    display: grid;
    grid-template-columns: 1fr 1fr 350px;
    gap: 40px;
    align-items: start;
}

/* IMAGES */
.product-images {
    background: white;
    padding: 20px;
    border-radius: 15px;
}

.main-product-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 10px;
}

.small-gallery {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.small-gallery img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    border: 2px solid #ddd;
}

/* DETAILS */
.product-details {
    background: white;
    padding: 30px;
    border-radius: 15px;
}

.product-details h1 {
    font-size: 38px;
    margin-bottom: 20px;
}

.stars {
    font-size: 25px;
    margin-bottom: 20px;
}

.price-section {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.main-price {
    font-size: 40px;
    color: #25D366;
    font-weight: bold;
}

.old-price {
    font-size: 25px;
    text-decoration: line-through;
    color: gray;
}

.stock-box {
    background: #25D366;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    display: inline-block;
    margin-bottom: 20px;
}

.delivery {
    font-size: 18px;
    margin-bottom: 20px;
}

.big-description {
    font-size: 18px;
    line-height: 2;
    margin-bottom: 30px;
}

/* SPECS */
.specs {
    background: #f1f3f6;
    padding: 20px;
    border-radius: 10px;
}

.specs h3 {
    margin-bottom: 15px;
}

.specs ul {
    line-height: 2;
}

/* BUY BOX */
.buy-box {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 100px;
}

.buy-price {
    font-size: 40px;
    color: #25D366;
    font-weight: bold;
    margin-bottom: 20px;
}

.buy-box p {
    margin-bottom: 15px;
}

.buy-now-btn {
    display: block;
    background: #25D366;
    padding: 18px;
    text-align: center;
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-size: 20px;
    margin-top: 25px;
}

/* REVIEWS */
.reviews-section {
    width: 95%;
    margin: 50px auto;
}

.review-box {
    background: white;
    padding: 25px;
    border-radius: 15px;
    margin-top: 20px;
}
/* SUPPORT SHORTCUTS */
.support-shortcuts {
    width: 95%;
    margin: 50px auto;
    background: #fff;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.support-shortcuts h3 {
    margin-bottom: 20px;
    font-size: 22px;
    color: #131921;
}

.shortcuts-grid {
    display: flex;
    gap: 20px;
    justify-content: space-around;
    flex-wrap: wrap;
}

.shortcuts-grid a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    background: #f1f3f6;
    padding: 15px;
    border-radius: 10px;
    width: 150px;
    transition: 0.3s;
    color: #131921;
}

.shortcuts-grid a:hover {
    background: #25D366;
    color: white;
}

.shortcuts-grid img {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
}