@import url('https://fonts.googleapis.com/css2?family=Marhey:wght@400;700&display=swap');

:root {
    --primary-color: #4A90E2;
    --text-main: #333;
    --text-secondary: #555;
    --text-light: #666;
    --border-color: #ddd;
    --bg-light: #f5f5f7;
    --bg-white: #fff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Marhey', sans-serif;
    caret-color: transparent;
}
:focus {
    outline: none;
}
body {
    background-color: var(--bg-light);
    direction: rtl;
    color: var(--text-main);
    line-height: 1.5;
}

/* Header Styles */
.header {
    width: 100%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    background-color: var(--bg-white);
    z-index: 100;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 4%;
    border-bottom: 1px solid var(--border-color);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: var(--primary-color);
}

.navbar {
    display: flex;
    gap: 25px;
}

a {
    position:relative;
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

a:hover {
    color: #8B9B8B;
}
.nav-item {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s ease;
}

.nav-item:hover {
    color: #8B9B8B;
}

.user-actions {
    display: flex;
    gap: 20px;
    font-size: 20px;
}

.action-icon {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.action-icon:hover {
    color:#8B9B8B;
}

/* Breadcrumb Styles */
.breadcrumb {
    padding: 12px 4%;
    background-color: #f9f9f9;
}

.breadcrumb-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.breadcrumb-item {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 13px;
    transition: color 0.3s ease;
}

.breadcrumb-item:hover {
    color:#8B9B8B;
}

.breadcrumb-separator {
    color: #aaa;
}

/* Product Layout */
.product-container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
}

.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 20px;
}

/* Product Gallery */
.product-gallery {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
    font-family: 'Marhey', sans-serif;
}

.main-image-container {
    width: 100%;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--bg-white);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
    font-family: 'Marhey', sans-serif;
}

.main-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
    cursor: zoom-in;
}

.main-image:hover {
    transform: scale(1.05);
}

.zoom-icon {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    padding: 5px 12px;

}

.zoom-text {
    font-size: 12px;
}

.thumbnails {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.thumbnail-container {
    width: 75px;
    height: 75px;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.thumbnail-container.active {
    border-color: #8B9B8B;
}

.thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Product Details */
.product-details {
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product-title {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.arabic-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-main);
}

.english-title {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-secondary);
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.currency {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-main);
}

.amount {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-main);
}

.product-description {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-light);
}
.product-usage,.product-ingredients {
    margin-top: 20px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-light);
}
.product-usage h3 {
    font-weight: 600;
    margin-bottom: 10px;
    color: #222;
}

 /*Product Actions */
.product-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.quantity-selector {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
}

.quantity-btn {
    background: #f5f5f5;
    border: none;
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.quantity-btn:hover {
    background-color: #e5e5e5;
}

.quantity-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.quantity-input {
    width: 50px;
    height: 40px;
    border: none;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
}

.add-to-cart-btn {
    background-color: #8B9B8B;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 0 25px;
    height: 40px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-to-cart-btn:hover {
    background-color: #8B9B8B;
}

.buy-now-btn {
    background-color: var(--bg-white);
    color: #8B9B8B;
    border: 1px solid #8B9B8B;
    border-radius: 4px;
    padding: 0 25px;
    height: 40px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.buy-now-btn:hover {
    background-color: #f0f8ff;
}

.end{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Roboto Slab", serif;
    height: 100vh;
    background:url('../image/hhh.png')center center/cover no-repeat ;
    position: relative;
    /*background: linear-gradient(135deg, #8B9B8B 0%, #8B9B8B 100%);*/
    color: #6D4534;
    line-height: 1.6;
    min-height: 100vh;


}
.container3 {
    max-width: 1200px;
    width: 90%; /* يجعل العنصر متجاوبًا */
    padding: 2rem;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(109, 69, 52, 0.05);

    /* محاذاة في المنتصف */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


/* Logo Section */
.logo-section {
    text-align: center;
    margin-bottom: 3rem;
}

.logo {
    max-width: 120px;
    height: auto;
}

/* Main Content Section */
.main-content {
    display: flex;
    justify-content: space-between;
    gap: 4rem;
    margin-bottom: 4rem;
}

/* Newsletter Section */
.newsletter-section {
    flex: 1;
    text-align: left;
    max-width: 500px;
}

.newsletter-content h4 {
    color: #6D4534;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.newsletter-content p4 {
    color: #6D4534;
    font-size: 1rem;
    margin-bottom: 2rem;
    font-weight: 400;
}

.signup-form {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: center;
}

.email-input {
    flex: 1;
    padding: 0.8rem;
    border: none;
    border-bottom: 2px solid #6D4534;
    background: transparent;
    color: #6D4534;
    font-size: 1rem;
    text-align: left;
    font-family: "Futura PT", sans-serif;
    font-weight: 400;
    outline: none;
}

.signup-button {
    background-color: #6D4534;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 20px;
    cursor: pointer;
    transition: background 0.3s ease;
    font-family: "Futura PT", sans-serif;
}

.signup-button:hover {
    background-color: #8B9B8B;
}


.social-icons {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.social-icon {
    color: #6d4534;
    font-size: 1.5rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: #8B9B8B;
}

/* Footer Columns */
.footer-columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    text-align: right;
}

.footer-column h5 {
    color: #6D4534;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.8rem;
}

.footer-column ul li a {
    color: #6D4534;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
    font-weight: 400;
}

.footer-column ul li a:hover {
    color: #8B9B8B;
}

/* Bottom Footer */
.bottom-footer {
    border-top: 1px solid #6D4534;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #6D4534;
    font-size: 0.9rem;
}

.legal-links a {
    color: #6D4534;
    text-decoration: none;
    margin-right: 2rem;
    transition: color 0.3s ease;
    font-weight: 400;
}

.legal-links a:hover {
    color: #8B9B8B;
}

.copyright {
    color: #6D4534;
    font-weight: 400;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-content {
        flex-direction: column;
        gap: 2rem;
    }

    .newsletter-section {
        text-align: center;
    }

    .signup-form {
        flex-direction: column;
    }

    .footer-columns {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .bottom-footer {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .legal-links {
        margin-bottom: 1rem;
    }

    .legal-links a {
        display: block;
        margin: 0.5rem 0;
    }
}

@media (max-width: 992px) {
    .main-content {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
        text-align: center;
    }

    .newsletter-section {
        max-width: 100%;
    }

    .signup-form {
        flex-direction: column;
        align-items: stretch;
    }

    .signup-button {
        width: 100%;
    }

    .footer-columns {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-column ul {
        padding: 0;
    }

    .social-icons {
        justify-content: center;
    }

    .bottom-footer {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .legal-links a {
        margin-right: 1rem;
    }
}

@media (max-width: 576px) {
    .container3 {
        width: 95%;
        padding: 1.5rem;
    }

    .newsletter-content h4 {
        font-size: 1.5rem;
    }

    .newsletter-content p4 {
        font-size: 0.95rem;
    }

    .email-input {
        font-size: 0.95rem;
    }

    .signup-button {
        font-size: 0.95rem;
        padding: 0.7rem 1.2rem;
    }

    .social-icon {
        font-size: 1.3rem;
    }

    .footer-column h5 {
        font-size: 0.95rem;
    }

    .footer-column ul li a {
        font-size: 0.9rem;
    }

    .legal-links a {
        font-size: 0.85rem;
    }

    .copyright {
        font-size: 0.85rem;
    }
}
@media (max-width: 768px) {
    .container3 {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        margin: 2rem auto;
    }
}


/* Responsive Styles */
@media (max-width: 1024px) {
    .navbar {
        display: none;
    }

    .top-bar {
        justify-content: space-between;
    }
}

@media (max-width: 992px) {
    .product-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .top-bar {
        padding: 10px 15px;
    }

    .social-icons {
        gap: 10px;
    }

    .user-actions {
        gap: 15px;
    }

    .product-container {
        padding: 0 15px;
        margin: 10px auto;
    }

    .product-layout {
        gap: 20px;
    }

    .arabic-title {
        font-size: 20px;
    }

    .english-title {
        font-size: 16px;
    }

    .product-actions {
        flex-direction: column;
        width: 100%;
    }

    .add-to-cart-btn,
    .buy-now-btn {
        width: 100%;
    }

    .main-image-container {
        height: 350px;
    }

    .main-image {
        height: 100%;
        object-fit: contain;
    }

    .thumbnail-container {
        width: 60px;
        height: 60px;
    }
}

