/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Language Toggle Styles */
.language-toggle {
    background: #2C2C2C;
    color: #F5F3F0;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-left: 20px;
}

.language-toggle:hover {
    background: #382b0b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.language-toggle .lang-text {
    font-weight: 600;
}

.language-toggle i {
    font-size: 0.8rem;
}

/* RTL Support */
html[dir="rtl"] {
    direction: rtl;
}

html[dir="rtl"] .language-toggle {
    margin-left: 0;
    margin-right: 20px;
}

/* Mobile language toggle positioning */
@media (max-width: 768px) {
    /* English version - top right */
    .language-toggle {
        position: absolute;
        top: 15px;
        right: 20px;
        left: auto;
        margin: 0;
        z-index: 1001;
    }
    
    /* Arabic version - top left */
    html[dir="rtl"] .language-toggle {
        position: absolute;
        top: 15px;
        left: 20px;
        right: auto;
        margin: 0;
        z-index: 1001;
    }
    
    /* Mobile hamburger positioning */
    .hamburger {
        position: absolute !important;
        right: 20px;
        left: auto;
        top: 15px;
        z-index: 1002;
    }
    
    html[dir="rtl"] .hamburger {
        right: auto !important;
        left: 20px !important;
    }
}

/* RTL Desktop Navigation */
@media (min-width: 769px) {
    html[dir="rtl"] .nav-menu {
        flex-direction: row-reverse;
    }
}

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

html[dir="rtl"] .logo {
    left: auto;
    right: 20px;
}

html[dir="rtl"] .hero-features {
    flex-direction: row-reverse;
}

html[dir="rtl"] .hero-actions {
    flex-direction: row-reverse;
}

/* Product Cards Styling */
.product-card {
    background: #F5F3F0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e8e8e8;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #382b0b;
}

.product-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-content {
    padding: 20px;
}

.product-content h3 {
    color: #2C2C2C;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    font-family: 'Playfair Display', serif;
}

.product-content p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 15px;
}

.product-price {
    margin-top: 15px;
    text-align: center;
}

.product-price span {
    background: linear-gradient(135deg, #382b0b, #2C2C2C);
    color: #F5F3F0;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
}

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

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .product-image {
        height: 180px;
    }
    
    .product-content {
        padding: 15px;
    }
    
    .product-content h3 {
        font-size: 1.2rem;
    }
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #2C2C2C;
    overflow-x: hidden;
    background-color: #F5F3F0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(245, 243, 240, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.logo {
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
    display: block;
}

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

.nav-link {
    text-decoration: none;
    color: #2C2C2C;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #654321;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #654321;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: #654321;
}

.nav-link.active::after {
    width: 100%;
}

.menu-btn {
    background: #2C2C2C;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.menu-btn:hover {
    background: #1A1A1A;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(44, 44, 44, 0.3);
}

.menu-btn.active {
    background: #654321;
    color: white;
}

.menu-btn.active:hover {
    background: #8B4513;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    position: absolute;
    right: 20px;
}

/* RTL hamburger positioning */
html[dir="rtl"] .hamburger {
    right: auto !important;
    left: 20px !important;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #2C2C2C;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 44, 44, 0.8) 0%, rgba(101, 67, 33, 0.6) 100%);
}


.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-text {
    margin-bottom: 3rem;
}

.hero-title {
    font-family: 'Fahkwang', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    color: #F5F3F0;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #F5F3F0;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    min-width: 160px;
}

.cta-button.primary {
    background: #654321;
    color: #F5F3F0;
    border: 2px solid #654321;
}

.cta-button.primary:hover {
    background: transparent;
    color: #654321;
    border-color: #654321;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(101, 67, 33, 0.3);
}

.cta-button.secondary {
    background: transparent;
    color: #F5F3F0;
    border: 2px solid #F5F3F0;
}

.cta-button.secondary:hover {
    background: #F5F3F0;
    color: #2C2C2C;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(245, 243, 240, 0.3);
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: #F5F3F0;
    opacity: 0.9;
}

.feature-item i {
    font-size: 2rem;
    color: #654321;
    margin-bottom: 0.5rem;
}

.feature-item span {
    font-size: 0.9rem;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Blend Section */
.blend-section {
    padding: 80px 0;
    background: white;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    text-align: center;
    color: #2C2C2C;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #2C2C2C;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 4rem;
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.05);
}

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

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: 15px;
    background: #f9f9f9;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 3rem;
    color: #654321;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #2C2C2C;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #2C2C2C;
    line-height: 1.6;
}

/* Products Section */
.products-section {
    padding: 80px 0;
    background: #F5F3F0;
}

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

.product-placeholder {
    background: white;
    border-radius: 15px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.product-placeholder:hover {
    transform: translateY(-5px);
}

.placeholder-content i {
    font-size: 3rem;
    color: #654321;
    margin-bottom: 1rem;
}

.placeholder-content p {
    color: #2C2C2C;
    font-style: italic;
}

.menu-button {
    display: inline-block;
    margin: 0 auto;
    background: #2C2C2C;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    text-align: center;
    width: auto;
    min-width: 180px;
}

.menu-button:hover {
    background: #1A1A1A;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(44, 44, 44, 0.3);
}

.menu-button-container {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

/* About Section */
.about-section {
    padding: 80px 0;
    background: #F5F3F0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    text-align: center;
}

.about-text h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #2C2C2C;
    margin-bottom: 1rem;
}

.about-text p {
    color: #2C2C2C;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.learn-more-button {
    background: transparent;
    color: #2C2C2C;
    padding: 12px 25px;
    border: 2px solid #2C2C2C;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.learn-more-button:hover {
    background: #2C2C2C;
    color: white;
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: contain;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    background: #F5F3F0;
    padding: 2rem;
}

/* Instagram Section */
.instagram-section {
    padding: 80px 0;
    background: #F5F3F0;
}

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

.instagram-post img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.instagram-post img:hover {
    transform: scale(1.05);
}

.instagram-title {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #2C2C2C;
    margin-bottom: 1rem;
}

.instagram-tags {
    text-align: center;
}

.tag {
    display: inline-block;
    background: #2C2C2C;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    margin: 0 5px;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.instagram-link:hover {
    background: #654321;
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(101, 67, 33, 0.3);
}

/* Footer */
.footer {
    background: #F5F3F0;
    color: #2C2C2C;
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
    position: relative;
}

.footer-content::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 25%;
    width: 1px;
    background-color: #D0D0D0;
}

.footer-content::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    background-color: #D0D0D0;
}

.footer-section {
    position: relative;
}

.footer-section:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: -1rem;
    width: 1px;
    background-color: #D0D0D0;
}

.footer-section.contact-info p {
    color: #2C2C2C;
    margin-bottom: 0.5rem;
    text-align: left;
}

.footer-section.location-social p {
    color: #2C2C2C;
    margin-bottom: 1rem;
    text-align: left;
}

.social-links {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.social-link {
    display: inline-block;
    width: 30px;
    height: 30px;
    background: #2C2C2C;
    color: white;
    text-align: center;
    line-height: 30px;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 0.8rem;
}

.social-link:hover {
    background: #654321;
}

.footer-section.policy-links {
    display: flex;
    flex-direction: column;
}

.footer-section.policy-links a {
    color: #2C2C2C;
    text-decoration: none;
    margin-bottom: 0.5rem;
    text-align: left;
    transition: color 0.3s ease;
}

.footer-section.policy-links a:hover {
    color: #654321;
}

.footer-section.logo-section {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-section.logo-section img {
    height: 120px;
    width: auto;
    display: block;
    max-width: 100%;
}

.footer-bottom {
    padding-top: 1rem;
}

.footer-bottom hr {
    border: none;
    height: 1px;
    background-color: #D0D0D0;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        width: 100%;
        height: calc(100vh - 70px);
        flex-direction: column;
        background-color: #F5F3F0;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        z-index: 1000;
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu a {
        padding: 1.2rem 1rem;
        display: block;
        font-size: 1.1rem;
        font-weight: 500;
        border-bottom: 1px solid #e0e0e0;
        text-align: center;
        width: 100%;
        transition: background-color 0.3s ease;
    }

    .nav-menu a:hover {
        background-color: rgba(44, 44, 44, 0.05);
    }

    .nav-menu a:last-child {
        border-bottom: none;
    }

    /* RTL Mobile Navigation Fix */
    html[dir="rtl"] .nav-menu {
        left: auto;
        right: -100%;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        text-align: center;
        transition: right 0.3s ease;
    }

    html[dir="rtl"] .nav-menu.active {
        left: auto;
        right: 0;
    }

    /* Language toggle in mobile menu */
    .nav-menu .language-toggle {
        margin: 1rem auto 0;
        width: fit-content;
        display: flex !important;
        align-items: center;
        justify-content: center;
        background: #2C2C2C;
        color: #F5F3F0;
        border: 2px solid #F5F3F0;
        border-radius: 25px;
        padding: 10px 18px;
        font-size: 1rem;
        font-weight: 600;
        transition: all 0.3s ease;
    }

    .nav-menu .language-toggle:hover {
        background: #F5F3F0;
        color: #2C2C2C;
    }

    html[dir="rtl"] .nav-menu .language-toggle {
        margin: 1rem auto 0;
        direction: rtl;
    }

    .hero {
        padding: 100px 20px 50px;
        min-height: 90vh;
    }

    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        line-height: 1.6;
        margin-bottom: 2rem;
    }
    
    /* Mobile touch targets */
    .cta-button, .menu-button, .learn-more-button {
        min-height: 48px;
        padding: 14px 24px;
        font-size: 1rem;
        touch-action: manipulation;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .cta-button {
        width: 100%;
        max-width: 280px;
    }

    .hero-features {
        gap: 2rem;
        margin-top: 2rem;
    }

    .feature-item {
        flex: 1;
        min-width: 120px;
    }


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

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

    .footer-content::after,
    .footer-content::before {
        display: none;
    }

    .footer-section:not(:last-child)::after {
        display: none;
    }

    .footer-section.logo-section {
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .footer-section.logo-section img {
        height: 100px;
        width: auto;
        display: block;
        max-width: 100%;
    }

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

    .features-grid {
        grid-template-columns: 1fr;
    }

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

    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Medium mobile devices (481px - 600px) */
@media (max-width: 600px) and (min-width: 481px) {
    .hero-title {
        font-size: 2.2rem;
    }

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

    .container {
        padding: 0 20px;
    }

    .nav-container {
        padding: 0 20px;
    }

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

    .image-gallery {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.8rem;
    }

    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

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

    .hero-actions {
        flex-direction: row;
        gap: 1rem;
        flex-wrap: wrap;
    }

    .cta-button {
        flex: 1;
        min-width: 150px;
    }
}

/* Small mobile devices (up to 480px) */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.2;
        margin-bottom: 0.8rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        line-height: 1.4;
        margin-bottom: 1.5rem;
    }
    
    /* RTL mobile navigation links */
    html[dir="rtl"] .nav-menu a {
        text-align: center;
        direction: rtl;
    }
    

    .hero-features {
        flex-direction: column;
        gap: 1rem;
        margin-top: 1.5rem;
    }

    .feature-item {
        min-width: auto;
        padding: 0.5rem;
    }

    .feature-item i {
        font-size: 1.5rem;
    }

    .feature-item span {
        font-size: 0.8rem;
    }

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

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

    .instagram-grid {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 0 15px;
    }

    /* Navigation mobile optimization */
    .nav-container {
        padding: 0 15px;
    }

    .logo img {
        max-height: 35px;
    }

    .language-toggle {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    /* Hero actions mobile */
    .hero-actions {
        flex-direction: column;
        gap: 1rem;
        margin-top: 1.5rem;
    }

    .cta-button {
        width: 100%;
        text-align: center;
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    /* Features grid mobile */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .feature-card h3 {
        font-size: 1.2rem;
    }

    .feature-card p {
        font-size: 0.9rem;
    }

    /* Image gallery mobile */
    .image-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    /* About section mobile */
    .about-content {
        flex-direction: column;
        gap: 2rem;
    }

    .about-text {
        order: 2;
    }

    .about-image {
        order: 1;
        text-align: center;
    }

    .about-image img {
        max-width: 200px;
    }

    /* Instagram grid mobile */
    .instagram-post img {
        height: 150px;
    }

    /* Footer mobile */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-section {
        margin-bottom: 1.5rem;
    }

    .social-links {
        justify-content: center;
    }

    /* Policy links mobile */
    .policy-links {
        flex-direction: column;
        gap: 0.5rem;
    }

    .policy-links a {
        padding: 0.5rem;
        font-size: 0.9rem;
    }
}

/* Mobile optimizations */
* {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Allow text selection for input fields and important content */
input, textarea, [contenteditable], .selectable {
    -webkit-user-select: text;
    -khtml-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

/* Touch improvements */
button, .btn, .cta-button, .tab-btn, .category-btn, .add-to-cart-btn {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
    touch-action: manipulation;
    min-height: 44px; /* iOS recommended touch target size */
    min-width: 44px;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

/* Prevent zoom on input focus for iOS */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
    select, textarea, input[type="text"], input[type="password"], 
    input[type="datetime"], input[type="datetime-local"], input[type="date"], 
    input[type="month"], input[type="time"], input[type="week"], 
    input[type="number"], input[type="email"], input[type="url"], 
    input[type="search"], input[type="tel"], input[type="color"] {
        font-size: 16px;
    }
}

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

.feature-card,
.product-placeholder,
.instagram-post {
    animation: fadeInUp 0.6s ease-out;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #654321;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #8B4513;
}

