/* ========================================
   CSS Variables - Logo Color Palette
   ======================================== */
:root {
    --primary-green: #8BC34A;
    --primary-green-dark: #689F38;
    --secondary-brown: #7B5B3E;
    --secondary-brown-dark: #5D442E;
    --bg-beige: #E8DED2;
    --bg-beige-light: #F5F1EC;
    --text-dark: #3E2723;
    --text-light: #6D4C41;
    --white: #FFFFFF;
    --border-color: #D7CCC8;
    --shadow: rgba(61, 44, 35, 0.1);
}

/* ========================================
   Global Styles
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-beige-light);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Lora', serif;
    color: var(--text-dark);
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
}

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

/* ========================================
   Header & Navigation
   ======================================== */
header {
    background-color: var(--white);
    box-shadow: 0 2px 8px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
    transition: opacity 0.3s ease;
}

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

.nav-menu a {
    color: var(--text-dark);
    font-weight: 400;
    padding: 0.5rem 0;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-green);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-green);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.cart-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 5px;
}

.cart-count {
    background-color: var(--primary-green);
    color: var(--white);
    border-radius: 50%;
    padding: 2px 8px;
    font-size: 0.75rem;
    font-weight: 600;
}

.language-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.language-switcher a {
    padding: 0.4rem 0.8rem;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 500;
    background-color: var(--bg-beige);
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.language-switcher a:hover {
    background-color: var(--primary-green);
    color: var(--white);
}

.language-switcher a.active-lang {
    background-color: var(--primary-green);
    color: var(--white);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    transition: all 0.3s ease;
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-green);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-green-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow);
}

.btn-secondary {
    background-color: var(--secondary-brown);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--secondary-brown-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--primary-green);
    color: var(--primary-green);
}

.btn-outline:hover {
    background-color: var(--primary-green);
    color: var(--white);
}

.btn-block {
    display: block;
    width: 100%;
    margin-top: 1rem;
}

.btn-disabled {
    background-color: #9e9e9e;
    color: var(--white);
    cursor: not-allowed;
    opacity: 0.6;
}

.btn-disabled:hover {
    background-color: #9e9e9e;
    transform: none;
    box-shadow: none;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    background: linear-gradient(135deg, var(--bg-beige) 0%, var(--bg-beige-light) 100%);
    padding: 80px 0;
    text-align: center;
}

.hero-logo {
    margin-bottom: 2rem;
    animation: fadeIn 1s ease-in;
}

.hero-logo img {
    max-width: 300px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 8px var(--shadow));
}

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

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--primary-green-dark);
    margin-bottom: 1rem;
    font-weight: 500;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 2rem;
}

/* ========================================
   Sections
   ======================================== */
section {
    padding: 60px 0;
}

section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.text-center {
    text-align: center;
    margin-top: 2rem;
}

/* ========================================
   Products Grid
   ======================================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.product-card {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px var(--shadow);
}

.product-image {
    width: 100%;
    height: 250px;
    object-fit: contain;
    background: linear-gradient(135deg, var(--bg-beige) 0%, var(--bg-beige-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    position: relative;
    overflow: hidden;
}

.product-card.out-of-stock {
    opacity: 0.7;
}

.product-card.out-of-stock .product-image {
    filter: grayscale(50%);
}

.out-of-stock-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-15deg);
    background: rgba(211, 47, 47, 0.95);
    color: white;
    padding: 0.75rem 2rem;
    font-size: 1.25rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 3px solid white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    pointer-events: none;
    z-index: 10;
}

.product-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-category {
    font-size: 0.85rem;
    color: var(--primary-green-dark);
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.product-name {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.product-description {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--secondary-brown);
}

.add-to-cart-btn {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* ========================================
   Values Section - Accordion Style
   ======================================== */
.values {
    background-color: var(--white);
}

.accordion-container {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    background-color: var(--bg-beige-light);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-item:hover {
    box-shadow: 0 4px 12px var(--shadow);
}

.accordion-header {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background-color: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background-color 0.3s ease;
}

.accordion-header:hover {
    background-color: rgba(139, 195, 74, 0.1);
}

.accordion-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.accordion-title {
    flex-grow: 1;
    font-family: 'Lora', serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-green-dark);
}

.accordion-toggle {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--primary-green);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.accordion-item.active .accordion-toggle {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 1.5rem;
}

.accordion-item.active .accordion-content {
    max-height: 200px;
    padding: 0 1.5rem 1.25rem 1.5rem;
}

.accordion-content p {
    margin: 0;
    color: var(--text-light);
    line-height: 1.6;
}

/* RTL (Right-to-Left) Support for Arabic */
[dir="rtl"] .accordion-header {
    text-align: right;
}

[dir="rtl"] .accordion-toggle {
    order: -1;
    margin-left: auto;
}

[dir="rtl"] .accordion-icon {
    order: initial;
}

[dir="rtl"] .accordion-title {
    text-align: right;
    order: initial;
}

[dir="rtl"] .accordion-content {
    text-align: right;
}

[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] h4,
[dir="rtl"] h5,
[dir="rtl"] h6 {
    text-align: right;
}

[dir="rtl"] p {
    text-align: right;
}

[dir="rtl"] section p {
    text-align: inherit;
}

[dir="rtl"] .hero-content {
    text-align: center;
}

[dir="rtl"] .hero-content p {
    text-align: center;
}

[dir="rtl"] .about-preview {
    text-align: center;
}

[dir="rtl"] .about-preview h2 {
    text-align: center !important;
}

[dir="rtl"] .about-preview p {
    text-align: center !important;
}

[dir="rtl"] .about-preview .about-content {
    text-align: center;
}

[dir="rtl"] .about-content {
    text-align: right;
}

[dir="rtl"] .about-content h2 {
    text-align: right;
}

[dir="rtl"] .about-content p {
    text-align: right;
}

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

[dir="rtl"] .about-text h2 {
    text-align: right;
}

[dir="rtl"] .page-header {
    text-align: right;
}

[dir="rtl"] .page-header h1 {
    text-align: right;
}

[dir="rtl"] .page-header p {
    text-align: right;
}

[dir="rtl"] .about-content-section {
    text-align: right;
}

[dir="rtl"] .cta-section {
    text-align: right;
}

[dir="rtl"] .cta-section h2,
[dir="rtl"] .cta-section p {
    text-align: right;
}

[dir="rtl"] .values {
    text-align: center;
}

[dir="rtl"] .values h2 {
    text-align: center;
}

[dir="rtl"] .contact-section {
    text-align: right;
}

[dir="rtl"] .contact-info h2,
[dir="rtl"] .contact-info h3,
[dir="rtl"] .contact-info p {
    text-align: right;
}

[dir="rtl"] .contact-form-container h2 {
    text-align: right;
}

[dir="rtl"] .contact-details {
    text-align: right;
}

[dir="rtl"] .form-group label {
    text-align: right;
    display: block;
}

[dir="rtl"] .checkout-form-container h2,
[dir="rtl"] .checkout-form-container h3 {
    text-align: right;
}

[dir="rtl"] .checkout-summary h2 {
    text-align: right;
}

[dir="rtl"] .checkout-notice h3,
[dir="rtl"] .checkout-notice p {
    text-align: right;
}

[dir="rtl"] .cart-summary h2 {
    text-align: right;
}

[dir="rtl"] ul,
[dir="rtl"] li {
    text-align: right;
}

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

/* ========================================
   About Preview Section
   ======================================== */
.about-preview {
    background-color: var(--bg-beige);
    text-align: center;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-content h2 {
    margin-bottom: 1.5rem;
}

.about-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* ========================================
   Page Header
   ======================================== */
.page-header {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-dark) 100%);
    color: var(--white);
    padding: 20px 0;
    text-align: center;
}

.page-header h1 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.95;
}

/* ========================================
   Products Section
   ======================================== */
.products-filter {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.products-filter label {
    font-weight: 500;
    color: var(--text-dark);
}

.products-filter select {
    padding: 10px 20px;
    border: 2px solid var(--border-color);
    border-radius: 25px;
    background-color: var(--white);
    color: var(--text-dark);
    font-size: 1rem;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.products-filter select:focus {
    outline: none;
    border-color: var(--primary-green);
}

/* ========================================
   Cart Section
   ======================================== */
.empty-cart {
    text-align: center;
    padding: 60px 20px;
}

.empty-cart p {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

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

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cart-item {
    display: flex;
    gap: 1.5rem;
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px var(--shadow);
}

.cart-item-image {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--bg-beige) 0%, var(--bg-beige-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    flex-shrink: 0;
}

.cart-item-info {
    flex-grow: 1;
}

.cart-item-name {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.cart-item-price {
    font-size: 1.1rem;
    color: var(--secondary-brown);
    font-weight: 600;
    margin-bottom: 1rem;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--bg-beige-light);
    padding: 5px 10px;
    border-radius: 25px;
}

.quantity-controls button {
    background-color: var(--primary-green);
    color: var(--white);
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.quantity-controls button:hover {
    background-color: var(--primary-green-dark);
}

.quantity-controls span {
    min-width: 30px;
    text-align: center;
    font-weight: 600;
}

.remove-item-btn {
    background-color: transparent;
    border: 2px solid var(--secondary-brown);
    color: var(--secondary-brown);
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.remove-item-btn:hover {
    background-color: var(--secondary-brown);
    color: var(--white);
}

.cart-summary {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px var(--shadow);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.cart-summary h2 {
    font-size: 1.5rem;
    text-align: left;
    margin-bottom: 1.5rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 1rem;
}

.summary-row.total {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    border-bottom: none;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid var(--primary-green);
}

/* ========================================
   About Content Section
   ======================================== */
.about-content-section {
    background-color: var(--white);
}

.about-text {
    max-width: 800px;
    margin: 0 auto;
}

.about-text h2 {
    font-size: 2rem;
    text-align: left;
    margin-bottom: 1rem;
    margin-top: 2rem;
    color: var(--primary-green-dark);
}

.about-text h2:first-child {
    margin-top: 0;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    line-height: 1.8;
}

.about-text ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.about-text li {
    margin-bottom: 0.75rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-dark) 100%);
    color: var(--white);
    text-align: center;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-section .btn-primary {
    background-color: var(--white);
    color: var(--primary-green);
}

.cta-section .btn-primary:hover {
    background-color: var(--bg-beige-light);
}

/* ========================================
   Contact Section
   ======================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info h2,
.contact-form-container h2 {
    font-size: 2rem;
    text-align: left;
    margin-bottom: 1.5rem;
    color: var(--primary-green-dark);
}

.contact-info p {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.contact-icon {
    font-size: 2rem;
}

.contact-icon img {
    width: 2.5rem;
    height: 2.5rem;
    object-fit: contain;
}

.contact-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contact-item p {
    margin: 0;
    color: var(--text-dark);
    font-size: 1.1rem;
    font-weight: 500;
}

.social-links-large {
    margin-top: 2rem;
}

.social-links-large h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.social-links-large div {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-links-large a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-light);
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-links-large a img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.social-links-large a:hover {
    color: var(--primary-green);
    transform: translateX(5px);
}

/* ========================================
   Checkout Section
   ======================================== */
.checkout-notice {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-dark) 100%);
    color: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    text-align: center;
}

.checkout-notice h3 {
    color: var(--white);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.checkout-notice p {
    margin: 0;
    opacity: 0.95;
}

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

.checkout-form-container {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px var(--shadow);
}

.checkout-form-container h2 {
    font-size: 1.8rem;
    text-align: left;
    margin-bottom: 1.5rem;
    color: var(--primary-green-dark);
}

.form-section-title {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin: 2rem 0 1rem 0;
    padding-top: 1.5rem;
    border-top: 2px solid var(--border-color);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.checkout-summary {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px var(--shadow);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.checkout-summary h2 {
    font-size: 1.5rem;
    text-align: left;
    margin-bottom: 1.5rem;
    color: var(--primary-green-dark);
}

.checkout-items {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.checkout-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    color: var(--text-light);
}

.checkout-item-name {
    font-weight: 500;
    color: var(--text-dark);
}

.checkout-item-qty {
    font-size: 0.9rem;
    color: var(--text-light);
}

.checkout-item-price {
    font-weight: 600;
    color: var(--secondary-brown);
}

/* ========================================
   Forms
   ======================================== */
.contact-form {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
}

.form-group textarea {
    resize: vertical;
}

/* ========================================
   Custom Alert (matching theme)
   ======================================== */
.custom-alert {
    position: fixed;
    top: 100px;
    right: 20px;
    background-color: var(--white);
    border-left: 4px solid var(--primary-green);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 16px var(--shadow);
    z-index: 2000;
    animation: slideIn 0.3s ease;
    max-width: 350px;
}

.custom-alert.error {
    border-left-color: var(--secondary-brown);
}

.custom-alert .alert-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.custom-alert .alert-icon {
    font-size: 1.5rem;
}

.custom-alert .alert-message {
    flex-grow: 1;
    color: var(--text-dark);
    font-weight: 500;
}

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ========================================
   Product Modal
   ======================================== */
.product-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background-color: var(--white);
    border-radius: 16px;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

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

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    box-shadow: 0 2px 8px var(--shadow);
    transition: all 0.3s ease;
    z-index: 10;
}

.modal-close:hover {
    background-color: var(--primary-green);
    color: var(--white);
    transform: rotate(90deg);
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 2rem;
}

.modal-image {
    width: 100%;
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg-beige) 0%, var(--bg-beige-light) 100%);
}

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

/* Slideshow styles */
.slideshow-container {
    position: relative;
    background: linear-gradient(135deg, #f8f6f3 0%, #f5f2ed 100%);
}

.slideshow-image {
    display: none;
    width: 100%;
    height: 100%;
}

.slideshow-image.active {
    display: block;
}

.slideshow-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.slideshow-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.8);
    color: var(--text-dark);
    border: none;
    padding: 12px 16px;
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
    z-index: 2;
}

.slideshow-arrow:hover {
    background-color: var(--primary-green);
    color: var(--white);
}

.slideshow-arrow.prev {
    left: 10px;
}

.slideshow-arrow.next {
    right: 10px;
}

.slideshow-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.dot.active {
    background-color: var(--primary-green);
    width: 14px;
    height: 14px;
}

.modal-details {
    display: flex;
    flex-direction: column;
}

.modal-category {
    font-size: 0.9rem;
    color: var(--primary-green-dark);
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.modal-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.modal-price {
    font-size: 2rem;
    font-weight: 600;
    color: var(--secondary-brown);
    margin-bottom: 1.5rem;
}

.modal-description {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.modal-info {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.modal-info:last-of-type {
    margin-bottom: 2rem;
}

.modal-info strong {
    color: var(--text-dark);
    margin-right: 0.5rem;
}

.modal-ingredients {
    display: flex;
    flex-direction: column;
}

.modal-ingredients ul {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0 0;
}

.modal-ingredients li {
    color: var(--text-light);
    padding: 0.25rem 0;
    line-height: 1.6;
}

.modal-custom-order {
    background-color: var(--bg-beige-light);
    border-left: 3px solid var(--primary-green);
    padding: 1rem 1.25rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.modal-custom-order p {
    font-size: 0.95rem;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.6;
}

.modal-custom-order a {
    color: var(--primary-green-dark);
    font-weight: 600;
    text-decoration: underline;
    transition: all 0.3s ease;
}

.modal-custom-order a:hover {
    color: var(--secondary-brown);
    text-decoration: none;
}

.modal-gallery {
    padding: 2rem;
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    border-top: 2px solid var(--border-color);
    margin-top: 2rem;
}

.gallery-item {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 1.5rem;
    align-items: center;
    background-color: var(--bg-beige-light);
    border-radius: 12px;
    padding: 1.5rem;
}

.gallery-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    overflow: hidden;
    background: var(--white);
}

.gallery-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.gallery-caption {
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.6;
    padding: 1rem;
}

/* ========================================
   Footer
   ======================================== */
footer {
    background-color: var(--text-dark);
    color: var(--bg-beige-light);
    padding: 3rem 0 1rem;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.footer-section h3 {
    color: var(--primary-green);
    margin-bottom: 0;
    font-size: 1.2rem;
}

.footer-section p {
    line-height: 1.8;
    opacity: 0.9;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    opacity: 0.9;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    opacity: 1;
    color: var(--primary-green);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    align-items: center;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.social-links a img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.social-links a:hover {
    transform: scale(1.15);
    opacity: 0.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(232, 222, 210, 0.2);
    opacity: 0.8;
}

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

    .logo img {
        height: 40px;
    }

    .hero-logo img {
        max-width: 200px;
    }
    
    .nav-content {
        position: relative;
    }

    .nav-menu {
        position: fixed;
        top: 82px;
        right: -100%;
        width: 70%;
        height: calc(100vh - 82px);
        background-color: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem;
        gap: 1rem;
        box-shadow: -2px 0 8px var(--shadow);
        transition: right 0.3s ease;
    }

    .nav-menu.active {
        right: 0;
    }
    
    /* Keep cart and language switcher visible on mobile */
    .nav-menu .cart-link {
        position: fixed;
        top: 20px;
        right: 180px;
        z-index: 1002;
        background: transparent;
    }
    
    .nav-menu .language-switcher {
        position: fixed;
        top: 20px;
        right: 60px;
        z-index: 1001;
        gap: 0.25rem;
        background: transparent;
    }
    
    .nav-menu .language-switcher a {
        padding: 0.3rem 0.6rem;
        font-size: 0.85rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    section h2 {
        font-size: 2rem;
    }

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

    .cart-content {
        grid-template-columns: 1fr;
    }

    .cart-summary {
        position: static;
    }

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

    .cart-item {
        flex-direction: column;
    }

    .cart-item-image {
        width: 100%;
        height: 200px;
    }

    .checkout-content {
        grid-template-columns: 1fr;
    }

    .checkout-summary {
        position: static;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .modal-body {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }

    .modal-image {
        height: 300px;
    }

    .modal-title {
        font-size: 1.5rem;
    }

    .modal-price {
        font-size: 1.5rem;
    }

    .modal-gallery {
        padding: 1.5rem;
    }

    .gallery-item {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .gallery-caption {
        padding: 0.5rem;
    }
}

@media (max-width: 480px) {
    .hero-logo img {
        max-width: 150px;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }

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

    section {
        padding: 40px 0;
    }

    .value-card {
        padding: 1.5rem;
    }
}
