* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    background: #fffafa;
    color: #30282b;
    line-height: 1.7;
}

button,
a {
    font-family: inherit;
}

button {
    cursor: pointer;
}


/* الشريط العلوي */

.top-bar {
    background: #30282b;
    padding: 8px 7%;
    text-align: right;
}

.top-bar a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
}


/* رأس الموقع */

.header {
    width: 100%;
    min-height: 82px;
    padding: 14px 7%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

.logo {
    text-decoration: none;
    color: inherit;
    white-space: nowrap;
}

.logo h2 {
    color: #ae5d7b;
    font-size: 24px;
    line-height: 1.2;
}

.logo span {
    display: block;
    color: #7b6b71;
    font-size: 12px;
    letter-spacing: 2px;
}

.navbar {
    display: flex;
    align-items: center;
    gap: 24px;
}

.navbar a {
    color: #30282b;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.navbar a:hover {
    color: #ae5d7b;
}

.cart-button {
    border: none;
    background: #ae5d7b;
    color: white;
    padding: 11px 17px;
    border-radius: 30px;
    font-weight: bold;
}

.cart-button span {
    display: inline-block;
    background: white;
    color: #ae5d7b;
    min-width: 25px;
    padding: 2px 7px;
    margin-right: 5px;
    border-radius: 50%;
}


/* واجهة الموقع */

.hero {
    min-height: 560px;
    padding: 80px 7%;
    display: flex;
    align-items: center;
    background:
        linear-gradient(
            135deg,
            rgba(255, 244, 248, 0.98),
            rgba(244, 210, 223, 0.92)
        );
}

.hero-content {
    max-width: 650px;
}

.small-title {
    color: #ae5d7b;
    font-weight: bold;
}

.hero h1 {
    font-size: 54px;
    line-height: 1.25;
    margin: 14px 0 18px;
}

.hero p {
    color: #6b5c62;
    font-size: 18px;
    max-width: 580px;
    margin-bottom: 28px;
}

.main-button {
    display: inline-block;
    background: #ae5d7b;
    color: white;
    text-decoration: none;
    padding: 13px 28px;
    border-radius: 30px;
    font-weight: bold;
    transition: 0.3s;
}

.main-button:hover {
    background: #8e4561;
    transform: translateY(-3px);
}


/* العناوين */

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title span {
    color: #ae5d7b;
    font-weight: bold;
}

.section-title h2 {
    font-size: 38px;
    margin-top: 3px;
}


/* التصنيفات */

.categories-section {
    padding: 85px 7%;
}

.categories-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.category-card {
    border: 2px solid transparent;
    background: white;
    padding: 25px 12px;
    border-radius: 18px;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.07);
    transition: 0.3s;
}

.category-card:hover,
.category-card.active {
    border-color: #ae5d7b;
    transform: translateY(-5px);
}

.category-icon {
    width: 68px;
    height: 68px;
    margin: 0 auto 12px;
    border-radius: 50%;
    background: #f9e6ed;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 31px;
}

.category-card h3 {
    color: #30282b;
    font-size: 16px;
}


/* المنتجات */

.products-section {
    min-height: 450px;
    padding: 85px 7%;
    background: #fff4f7;
}

.products-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 7px 25px rgba(0, 0, 0, 0.08);
    transition: 0.3s;
}

.product-card:hover {
    transform: translateY(-7px);
}

.product-card.hidden {
    display: none;
}

.product-image {
    width: 100%;
    height: 280px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.product-info {
    padding: 21px;
}

.product-category {
    color: #ae5d7b;
    font-size: 13px;
    font-weight: bold;
}

.product-info h3 {
    margin: 7px 0;
    font-size: 22px;
}

.product-info p {
    color: #75676c;
    min-height: 75px;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 18px;
}

.product-footer strong {
    color: #ae5d7b;
    font-size: 19px;
}

.add-to-cart {
    border: none;
    background: #30282b;
    color: white;
    padding: 10px 16px;
    border-radius: 25px;
    transition: 0.3s;
}

.add-to-cart:hover {
    background: #ae5d7b;
}


/* رسالة عدم وجود منتجات */

.no-products {
    max-width: 500px;
    margin: 0 auto;
    padding: 50px 25px;
    background: white;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 7px 25px rgba(0, 0, 0, 0.07);
}

.no-products.hidden {
    display: none;
}

.no-products-icon {
    font-size: 60px;
    margin-bottom: 12px;
}

.no-products h3 {
    font-size: 24px;
    margin-bottom: 5px;
}

.no-products p {
    color: #75676c;
}


/* التواصل */

.contact-section {
    padding: 80px 7%;
    text-align: center;
}

.contact-box {
    max-width: 700px;
    margin: auto;
    padding: 50px 25px;
    background: #f8e8ee;
    border-radius: 25px;
}

.contact-box h2 {
    font-size: 36px;
}

.contact-box p {
    margin: 10px 0 22px;
    color: #6b5c62;
}

.whatsapp-button {
    display: inline-block;
    background: #25d366;
    color: white;
    text-decoration: none;
    padding: 13px 28px;
    border-radius: 30px;
    font-weight: bold;
}


/* سلة المشتريات */

.cart-sidebar {
    position: fixed;
    top: 0;
    left: -420px;
    width: 400px;
    max-width: 90%;
    height: 100%;
    background: white;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    transition: 0.4s;
    box-shadow: 5px 0 25px rgba(0, 0, 0, 0.22);
}

.cart-sidebar.active {
    left: 0;
}

.cart-header {
    padding: 20px;
    border-bottom: 1px solid #eeeeee;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart-header button {
    border: none;
    background: transparent;
    font-size: 34px;
}

.cart-items {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

.empty-cart {
    text-align: center;
    color: #777777;
    margin-top: 30px;
}

.cart-item {
    padding: 14px 0;
    border-bottom: 1px solid #eeeeee;
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.remove-item {
    border: none;
    background: transparent;
    color: #c72d2d;
    font-weight: bold;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid #eeeeee;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.checkout-button {
    width: 100%;
    border: none;
    background: #25d366;
    color: white;
    padding: 14px;
    border-radius: 10px;
    font-weight: bold;
}

.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}


/* أسفل الموقع */

.footer {
    background: #30282b;
    color: white;
    text-align: center;
    padding: 22px;
}


/* التابلت */

@media screen and (max-width: 1000px) {

    .categories-container {
        grid-template-columns: repeat(3, 1fr);
    }

    .products-container {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* الهاتف */

@media screen and (max-width: 750px) {

    .navbar {
        display: none;
    }

    .hero {
        min-height: 480px;
    }

    .hero h1 {
        font-size: 39px;
    }

    .categories-container {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media screen and (max-width: 500px) {

    .header {
        padding: 12px 4%;
    }

    .logo h2 {
        font-size: 18px;
    }

    .logo span {
        font-size: 10px;
    }

    .cart-button {
        padding: 9px 11px;
    }

    .hero {
        padding: 55px 6%;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    .categories-section,
    .products-section {
        padding: 60px 5%;
    }

    .products-container {
        grid-template-columns: 1fr;
    }

    .section-title h2 {
        font-size: 31px;
    }

}.product-page{
    max-width:1200px;
    margin:60px auto;
    padding:30px;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:50px;
    align-items:center;
}

.product-gallery{
    background:white;
    border-radius:25px;
    padding:30px;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
}

.product-gallery img{
    width:100%;
    height:600px;
    object-fit:contain;
}

.product-details h1{
    font-size:42px;
    margin:15px 0;
}

.price{
    color:#ae5d7b;
    font-size:35px;
    font-weight:bold;
    margin-bottom:20px;
}

.description{
    font-size:18px;
    color:#666;
    margin-bottom:25px;
}

.features{
    display:grid;
    gap:12px;
    margin-bottom:30px;
}

.feature{
    background:#fff4f7;
    padding:15px;
    border-radius:12px;
}

.back-button {
    background: #ae5d7b;
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: bold;
}

.details-page {
    min-height: calc(100vh - 150px);
    padding: 60px 7%;
    background: #fff4f7;
}

.details-card {
    max-width: 1150px;
    margin: 0 auto;
    background: white;
    border-radius: 28px;
    padding: 35px;
    display: grid;
    grid-template-columns: minmax(320px, 1fr) minmax(320px, 1fr);
    gap: 50px;
    align-items: center;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
}

.details-image {
    width: 100%;
    height: 520px;
    padding: 25px;
    background: #fffafa;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.details-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.details-content {
    padding: 10px;
}

.details-category {
    color: #ae5d7b;
    font-size: 15px;
    font-weight: bold;
}

.details-content h1 {
    font-size: 42px;
    line-height: 1.25;
    margin: 10px 0 15px;
}

.details-price {
    color: #ae5d7b;
    font-size: 34px;
    font-weight: bold;
    margin-bottom: 20px;
}

.details-description {
    color: #6e6266;
    font-size: 18px;
    line-height: 1.9;
    margin-bottom: 24px;
}

.details-features {
    display: grid;
    gap: 12px;
    margin-bottom: 28px;
}

.details-feature {
    background: #fff4f7;
    padding: 13px 16px;
    border-radius: 12px;
    font-weight: bold;
}

.details-order-button {
    display: inline-block;
    background: #25d366;
    color: white;
    text-decoration: none;
    padding: 15px 28px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: bold;
}

@media screen and (max-width: 850px) {

    .details-page {
        padding: 30px 5%;
    }

    .details-card {
        grid-template-columns: 1fr;
        padding: 22px;
        gap: 25px;
    }

    .details-image {
        height: 380px;
    }

    .details-content h1 {
        font-size: 31px;
    }

    .details-price {
        font-size: 28px;
    }

}.cart-item {
    padding: 17px 0;
    border-bottom: 1px solid #eeeeee;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.cart-item-image {
    width: 65px;
    height: 65px;
    object-fit: contain;
    background: white;
    border-radius: 10px;
    border: 1px solid #eeeeee;
}

.cart-item-details {
    flex: 1;
}

.cart-item-details h4 {
    margin-bottom: 4px;
    font-size: 16px;
}

.cart-item-price {
    color: #766a6e;
    font-size: 14px;
    margin-bottom: 8px;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 9px 0;
}

.quantity-button {
    width: 34px;
    height: 34px;
    border: none;
    background: #f7e4eb;
    color: #30282b;
    border-radius: 50%;
    font-size: 21px;
    font-weight: bold;
    cursor: pointer;
}

.quantity-button:hover {
    background: #ae5d7b;
    color: white;
}

.quantity-number {
    min-width: 28px;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
}

.item-subtotal {
    display: block;
    color: #ae5d7b;
    font-size: 14px;
}

.remove-item {
    border: none;
    background: transparent;
    color: #c72d2d;
    font-weight: bold;
    cursor: pointer;
}

.cart-footer {
    display: grid;
    gap: 11px;
}

.checkout-button {
    width: 100%;
    min-height: 48px;
    border: none;
    color: white;
    padding: 13px;
    border-radius: 12px;
    font-family: inherit;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
}

.whatsapp-checkout {
    background: #25d366;
}

.visa-checkout {
    background: #30282b;
}

.visa-checkout:hover {
    background: #ae5d7b;
}.social-section {
    padding: 55px 7%;
    text-align: center;
    background: #fff4f7;
}

.social-section h2 {
    font-size: 30px;
    margin-bottom: 8px;
}

.social-section p {
    color: #766a6e;
    margin-bottom: 25px;
}

.social-icons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
}

.social-link {
    width: 150px;
    min-height: 110px;
    padding: 18px 12px;
    background: white;
    border-radius: 18px;
    text-decoration: none;
    color: #30282b;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 7px 24px rgba(0, 0, 0, 0.08);
    transition: 0.3s;
}

.social-link:hover {
    transform: translateY(-6px);
}

.social-link span {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    font-weight: bold;
}

.facebook span {
    background: #1877f2;
}

.instagram span {
    background: linear-gradient(
        135deg,
        #f9ce34,
        #ee2a7b,
        #6228d7
    );
}

.tiktok span {
    background: #111111;
}

.social-link strong {
    font-size: 15px;
}

@media screen and (max-width: 550px) {

    .social-link {
        width: 110px;
        min-height: 100px;
    }

}.footer-links{
    display:flex;
    justify-content:center;
    gap:25px;
    flex-wrap:wrap;
    padding:20px;
    background:#fff;
    border-top:1px solid #eee;
}

.footer-links a{
    color:#b66a8d;
    text-decoration:none;
    font-weight:600;
    transition:.3s;
}

.footer-links a:hover{
    color:#8f4f6d;
}