:root {
    --primary-color: #3E2723; /* Brown */
    --secondary-color: #D4AF37; /* Gold */
    --light-bg: #f9f9f9;
    --white: #ffffff;
    --text-color: #333;
    --border-color: #eee;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { 
    font-family: 'Poppins', sans-serif; 
    background: var(--light-bg); 
    color: var(--text-color); 
    overflow-x: hidden;
    /* Content Protection */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
input, textarea {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}
img {
    -webkit-user-drag: none;
}
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }

/* Header Wrapper for Black Background Effect */
.header-wrapper {
    background-color: #000;
}

/* Top Bar */
.top-bar { background: #000; color: #fff; padding: 10px 0; font-size: 0.9rem; text-align: center; font-weight: 600; }
.top-bar p { margin: 0; }

/* Shimmer Animation for Logos */
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.logo h1, .footer-logo {
    background: linear-gradient(to right, var(--secondary-color) 20%, #fff 40%, #fff 60%, var(--secondary-color) 80%);
    background-size: 200% auto;
    color: var(--secondary-color);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 3s linear infinite;
    display: inline-block;
}

/* Main Header */
.main-header { 
    background: #fff; 
    position: sticky; 
    top: 0; 
    z-index: 1000; 
    transition: 0.3s; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
    margin-top: -1px; /* Fix potential gap */
}
.header-container { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; position: relative; }

/* Logo Styling */
.logo h1 {
    font-family: 'Pacifico', cursive;
    font-size: 2.2rem;
    margin: 0;
    font-weight: 400;
    /* Shimmer is handled by global class rule */
}
.logo a { text-decoration: none; }

/* Gold Border with Shimmer */
.main-header::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 3px;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
    background-size: 200% 100%;
    animation: shimmer 3s infinite linear;
}

/* Logo Shimmer */
.logo img { height: 50px; position: relative; overflow: hidden; }
.logo-container { position: relative; display: inline-block; }
.logo-container::after {
    content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
    transform: skewX(-25deg);
    animation: logoShimmer 3s infinite;
}

@keyframes logoShimmer { 0% { left: -100%; } 100% { left: 200%; } }
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }

/* Navigation */
.main-nav ul { display: flex; gap: 20px; align-items: center; margin: 0; }
.main-nav li { position: relative; } /* Added for dropdown positioning */
.main-nav a { font-size: 0.95rem; font-weight: 500; color: #333; text-transform: capitalize; padding: 5px 0; position: relative; font-family: 'Poppins', sans-serif; }
.main-nav a:hover { color: var(--secondary-color); }
.main-nav a::after { content: ''; position: absolute; width: 0; height: 2px; bottom: 0; left: 0; background: var(--secondary-color); transition: 0.3s; }
.main-nav a:hover::after { width: 100%; }

/* Dropdown Menu */
.main-nav ul ul {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    flex-direction: column;
    width: 200px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    transform: translateY(10px);
    z-index: 1000;
    border-radius: 0 0 10px 10px;
    padding: 10px 0;
    align-items: flex-start;
    gap: 0;
}
.main-nav li:hover > ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.main-nav ul ul li { width: 100%; }
.main-nav ul ul a {
    padding: 10px 20px;
    display: block;
    width: 100%;
    font-size: 0.9rem;
}
.main-nav ul ul a::after { display: none; }
.main-nav ul ul a:hover {
    background: #f9f9f9;
    color: var(--secondary-color);
    padding-left: 25px;
}

/* Header Icons */
.header-icons { display: flex; gap: 15px; align-items: center; }
.header-icons i { font-size: 1.2rem; cursor: pointer; color: #333; transition: 0.3s; }
.header-icons i:hover { color: var(--secondary-color); }
.search-btn { display: flex; align-items: center; justify-content: center; width: 35px; height: 35px; border-radius: 50%; background: transparent; }
.cart-btn-container { position: relative; }
.cart-count { position: absolute; top: -8px; right: -8px; background: var(--secondary-color); color: #fff; font-size: 0.7rem; width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.mobile-menu-btn { display: none; font-size: 1.5rem; cursor: pointer; background: none; border: none; }

/* Cargo Tracking Trigger */
.cargo-tracking-trigger {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px; /* Sabit genişlik */
    height: 60px; /* Sabit yükseklik */
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%; /* Tam yuvarlak */
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    cursor: pointer;
    transition: all 0.3s ease;
    animation: bounce 2s infinite;
    border: 2px solid var(--secondary-color);
    padding: 0; /* Padding sıfırlandı */
}

.cargo-tracking-trigger:hover {
    background: #fff;
    transform: translateX(-50%) scale(1.1);
    box-shadow: 0 12px 25px rgba(0,0,0,0.35);
}

.cargo-icon-wrapper {
    background: transparent; /* Wrapper arka planı kaldırıldı */
    color: var(--primary-color); /* İkon rengi kahverengi */
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem; /* İkon boyutu */
}

/* Span silindiği için ilgili stil kaldırıldı */

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateX(-50%) translateY(0);}
    40% {transform: translateX(-50%) translateY(-10px);}
    60% {transform: translateX(-50%) translateY(-5px);}
}

/* Custom Modal Styles */
.custom-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.custom-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.custom-modal-container {
    background: #fff;
    width: 90%;
    max-width: 450px;
    border-radius: 20px;
    position: relative;
    padding: 40px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.custom-modal-overlay.active .custom-modal-container {
    transform: scale(1);
}

.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #aaa;
    cursor: pointer;
    transition: 0.3s;
}

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

/* Slider */
.slider-container { position: relative; overflow: hidden; border-radius: 20px; margin: 20px auto; height: 500px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1s; }
.slide.active { opacity: 1; z-index: 2; }
.slide-bg-img { width: 100%; height: 100%; object-fit: cover; transform: scale(1); }

@keyframes zoomOutEffect { from { transform: scale(1.2); } to { transform: scale(1); } }
.slide.active .slide-bg-img { animation: zoomOutEffect 4s ease-out forwards; }

.slider-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.9); width: 45px; height: 45px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 10; transition: 0.3s; box-shadow: 0 5px 15px rgba(0,0,0,0.1); color: #333; }
.slider-btn:hover { background: #fff; color: var(--secondary-color); transform: translateY(-50%) scale(1.1); }
.prev { left: 25px; } .next { right: 25px; }

/* Category Row (Desktop & Mobile) */
.category-row {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin: 40px auto;
    flex-wrap: wrap; /* Desktop behavior */
}

.category-item {
    text-align: center;
    cursor: pointer;
    transition: 0.3s;
    flex: 0 0 auto; /* Prevent shrinking */
    width: 90px; /* Fixed width for alignment */
}

.category-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 10px;
    padding: 2px; /* Ring thickness */
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); /* Instagram-like gradient */
    /* Or brand colors: background: linear-gradient(45deg, var(--secondary-color), #3E2723); */
    position: relative;
    transition: transform 0.3s;
}

.story-ring-inner {
    background: #fff;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    padding: 2px; /* Gap between ring and image */
    overflow: hidden;
}

.category-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.category-item p {
    font-size: 0.8rem;
    font-weight: 500;
    color: #333;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.category-item:hover .category-circle {
    transform: scale(1.05);
}

/* Mobile Responsiveness */

/* Product Showcase */
.product-showcase-container { display: flex; gap: 30px; margin: 50px auto; height: 450px; align-items: stretch; }
.showcase-banner { flex: 0 0 350px; position: relative; border-radius: 20px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.15); background-color: #000; }
.showcase-banner img, .showcase-banner video { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.showcase-banner:hover img { transform: scale(1.05); }
.showcase-content { position: absolute; bottom: 30px; left: 30px; right: 30px; color: #fff; text-shadow: 0 2px 5px rgba(0,0,0,0.5); }
.showcase-tag { position: absolute; bottom: 20px; left: 20px; color: #fff; font-family: 'Pacifico', cursive; font-size: 1.3rem; text-shadow: 1px 1px 3px rgba(0,0,0,0.8); }

.showcase-carousel-wrapper { flex: 1; position: relative; overflow: hidden; padding: 10px 0; }
.showcase-track-container { width: 100%; height: 100%; overflow-x: auto; scroll-behavior: smooth; display: flex; align-items: center; scrollbar-width: none; }
.showcase-track-container::-webkit-scrollbar { display: none; }
.showcase-track { display: flex; gap: 20px; padding: 10px; }
.showcase-card { min-width: 250px; background: #fff; border-radius: 15px; padding: 15px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); position: relative; transition: 0.3s; display: flex; flex-direction: column; }
.showcase-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
.showcase-img-container { height: 200px; position: relative; overflow: hidden; border-radius: 10px; margin-bottom: 15px; }
.showcase-img-container img { width: 100%; height: 100%; object-fit: contain; }
.showcase-info h4 { font-size: 0.8rem; margin-bottom: 5px; color: #333; height: 40px; overflow: hidden; }
.showcase-price { font-weight: 700; color: var(--primary-color); font-size: 0.85rem; margin-bottom: 10px; }
.showcase-nav-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; background: #fff; border-radius: 50%; box-shadow: 0 5px 15px rgba(0,0,0,0.1); display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 10; transition: 0.3s; }
.showcase-nav-btn:hover { background: var(--secondary-color); color: #fff; }
.showcase-prev { left: 10px; } .showcase-next { right: 10px; }

/* Quantity Control (General) */
.quantity-control {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
    width: fit-content;
}
.qty-btn {
    width: 25px;
    height: 25px;
    background: #f9f9f9;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: #555;
    transition: 0.2s;
}
.qty-btn:hover {
    background: #eee;
    color: #000;
}
.qty-input {
    width: 35px;
    height: 25px;
    text-align: center;
    border: none;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    -moz-appearance: textfield;
    font-size: 0.8rem;
    font-weight: 600;
}
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.card-quantity-control {
    margin-top: auto; /* Push to bottom if flex column */
}

/* Comparison Slider */
.comparison-section { 
    text-align: center; 
    margin: 60px auto; 
    padding: 40px 0; 
    background: #fff; 
    border-radius: 20px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); 
    max-width: 1200px; /* Constrain width */
    width: 95%; /* Responsive */
}
.img-comp-container { position: relative; height: 500px; width: 100%; max-width: 100%; margin: 30px auto; overflow: hidden; border-radius: 15px; }
.img-comp-img { position: absolute; width: 100%; height: 100%; overflow: hidden; top: 0; left: 0; }
.img-comp-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.img-comp-slider { 
    position: absolute; 
    z-index: 9; 
    cursor: ew-resize; 
    width: 40px; 
    height: 40px; 
    background-color: #fff; 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    box-shadow: 0 0 15px rgba(0,0,0,0.3); 
    color: #333;
}
.img-comp-slider::before { 
    content: '||'; 
    font-family: monospace; 
    font-weight: 900; 
    font-size: 14px;
    letter-spacing: 1px;
}
/* White vertical line */
.img-comp-slider::after {
    content: '';
    position: absolute;
    top: -500px; /* Extend up */
    bottom: -500px; /* Extend down */
    width: 2px;
    background: #fff;
    z-index: -1;
}

/* Product Grid */
.section-title { text-align: center; margin: 50px 0 30px; }
.section-title h2 { font-family: 'Playfair Display', serif; font-size: 2rem; color: var(--primary-color); position: relative; display: inline-block; }
.section-title h2::after { content: ''; display: block; width: 50px; height: 3px; background: var(--secondary-color); margin: 10px auto 0; }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 50px; }
.product-card { background: #fff; border-radius: 15px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: 0.3s; position: relative; display: flex; flex-direction: column; height: 100%; }
.product-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
.product-image { position: relative; height: 300px; overflow: hidden; flex-shrink: 0; } /* Increased height */
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.product-card:hover .product-image img { transform: scale(1.1); }
.badge { position: absolute; top: 10px; left: 10px; padding: 5px 10px; border-radius: 20px; color: #fff; font-size: 0.75rem; font-weight: 600; z-index: 2; }
.badge.new { background: #4CAF50; }
.badge.sale { background: #e53935; }
.product-info { padding: 10px 15px; text-align: center; display: flex; flex-direction: column; flex-grow: 1; justify-content: space-between; }
.product-info h3 { 
    font-size: 0.75rem; 
    font-weight: 600; 
    margin-bottom: 5px; 
    color: #333; 
    line-height: 1.3; 
    overflow: hidden; 
    text-overflow: ellipsis; 
    display: -webkit-box; 
    -webkit-line-clamp: 2; 
    -webkit-box-orient: vertical; 
    min-height: 2.6em; 
}
.showcase-title {
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-align: center;
}
.product-bottom-row { display: flex; justify-content: space-between; align-items: center; margin-top: 5px; }
.product-price, .price { color: var(--secondary-color); font-weight: 700; font-size: 0.85rem; }
.old-price { 
    text-decoration: line-through; 
    color: #999; 
    font-size: 0.8rem; 
    margin-right: 5px; 
    font-weight: normal;
}

/* Service Features */
.service-features { padding: 40px 0; background-color: #fff; border-top: 1px solid #f0f0f0; margin-top: 50px; }
.feature-row { display: flex; flex-wrap: nowrap; justify-content: space-between; align-items: center; gap: 15px; }
.feature-item { display: flex; align-items: center; gap: 12px; padding: 5px; transition: transform 0.3s ease; flex: 1; min-width: auto; }
.feature-item:hover { transform: translateY(-2px); }
.feature-icon { font-size: 1.8rem; color: #3E2723; display: flex; align-items: center; justify-content: center; min-width: 40px; opacity: 0.9; }
.feature-text { display: flex; flex-direction: column; }
.feature-text h4 { margin: 0 0 3px; font-size: 0.9rem; color: #333; font-weight: 600; font-family: 'Poppins', sans-serif; letter-spacing: 0.3px; }
.feature-text p { margin: 0; font-size: 0.75rem; color: #777; line-height: 1.3; font-weight: 400; }

/* Newsletter */
.newsletter-section { 
    background-color: #3E2723; 
    padding: 20px 40px; 
    color: #fff; 
    border-radius: 50px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.2); 
    
    /* Floating Positioning */
    position: relative; 
    margin: -160px auto 0; /* Moved up further */
    width: 90%; 
    max-width: 1100px; 
    z-index: 20; 
}
.newsletter-content { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    flex-wrap: nowrap; 
    gap: 30px; 
    white-space: nowrap; 
}
.newsletter-text { flex-shrink: 0; }
.newsletter-text h2 { font-family: 'Playfair Display', serif; font-size: 1.4rem; margin-bottom: 2px; font-weight: 600; }
.newsletter-text p { color: #d7ccc8; margin: 0; font-size: 0.8rem; }
.newsletter-form { 
    display: flex; 
    background-color: transparent; 
    padding: 0; 
    border-radius: 0; 
    border: none; 
    width: 100%; 
    max-width: 400px; 
    flex-shrink: 0; 
    gap: 10px;
}
.newsletter-form input { 
    background: #FFFFF0; /* Ivory */
    border: 1px solid #ddd; 
    color: #000; /* Black */
    padding: 12px 20px; 
    flex: 1; 
    outline: none; 
    font-size: 0.9rem; 
    border-radius: 50px;
}
.newsletter-form input::placeholder { color: #666; }
.newsletter-form button { background-color: var(--secondary-color); color: #3E2723; border: none; padding: 12px 30px; border-radius: 50px; font-weight: 700; cursor: pointer; transition: 0.3s; font-size: 0.9rem; white-space: nowrap; }
.newsletter-form button:hover { background-color: #fff; transform: scale(1.05); }

/* Footer */
footer { 
    background: #1a1a1a; 
    color: #fff; 
    padding: 300px 0 40px; /* Increased top padding to prevent overlap */
    margin-top: 0; 
    position: relative;
    z-index: 1;
}
.footer-content { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 30px; }
.footer-col { flex: 1; min-width: 200px; }
.footer-logo { font-family: 'Pacifico', cursive; color: var(--secondary-color); font-size: 2.2rem; margin-bottom: 10px; display: block; }
.footer-col p { color: #bbb; line-height: 1.6; margin-bottom: 20px; font-size: 0.9rem; }
.social-icons { display: flex; gap: 10px; }
.social-icons a { width: 35px; height: 35px; background-color: #333; display: flex; align-items: center; justify-content: center; border-radius: 50%; color: #fff; transition: 0.3s; font-size: 0.9rem; }
.social-icons a:hover { background-color: var(--secondary-color); transform: translateY(-3px); }
.footer-col h3 { color: #fff; font-size: 0.9rem; font-weight: 700; text-transform: uppercase; margin-bottom: 20px; letter-spacing: 0.5px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: #bbb; display: flex; align-items: center; gap: 8px; font-size: 0.9rem; transition: 0.2s; }
.footer-col ul li a:hover { color: #fff; padding-left: 0; }
.footer-col ul li a i { font-size: 0.7rem; color: #666; } /* Chevron icon */
.footer-col ul li a:hover i { color: var(--secondary-color); }
.contact-item { display: flex; align-items: center; gap: 10px; margin-bottom: 15px; color: #bbb; font-size: 0.9rem; }
.contact-item i { color: var(--secondary-color); font-size: 0.9rem; width: 20px; text-align: center; }
.footer-bottom { margin-top: 50px; padding-top: 20px; border-top: 1px solid #222; display: flex; flex-direction: column; align-items: center; gap: 15px; }
.payment-methods { display: flex; gap: 15px; align-items: center; flex-wrap: wrap; justify-content: center; }
.payment-methods i { font-size: 2rem; color: #bbb; }
.copyright p { color: #666; font-size: 0.85rem; margin: 0; }

/* Authentication Pages */
.auth-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    padding: 40px 20px;
    background: #fdfdfd;
}
.auth-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    padding: 40px;
    width: 100%;
    max-width: 450px;
    text-align: center;
}
.auth-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}
.auth-header p {
    color: #888;
    margin-bottom: 30px;
}
.auth-form .form-group {
    position: relative;
    margin-bottom: 20px;
    text-align: left;
}
.auth-form input {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 1rem;
    outline: none;
    transition: 0.3s;
    background: #f9f9f9;
}
.auth-form input:focus {
    border-color: var(--secondary-color);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}
.auth-form label {
    position: absolute;
    left: 15px;
    top: 15px;
    color: #999;
    font-size: 1rem;
    pointer-events: none;
    transition: 0.3s;
}
.auth-form input:focus ~ label,
.auth-form input:not(:placeholder-shown) ~ label {
    top: -10px;
    left: 10px;
    background: #fff;
    padding: 0 5px;
    font-size: 0.8rem;
    color: var(--secondary-color);
    font-weight: 600;
}
.btn-auth {
    width: 100%;
    padding: 15px;
    background: var(--secondary-color);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 10px;
}
.btn-auth:hover {
    background: #3E2723;
    transform: translateY(-2px);
}
.auth-footer {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #666;
}
.auth-footer a {
    color: var(--secondary-color);
    font-weight: 600;
    text-decoration: none;
}
.auth-footer a:hover {
    text-decoration: underline;
}

/* Mobile Hamburger Menu */
.hamburger-menu {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--primary-color);
}

@media (max-width: 768px) {
    /* Header Adjustments */
    .header-container { 
        flex-direction: column; 
        gap: 15px; 
        position: relative;
    }
    
    /* Hamburger Visible */
    .hamburger-menu, .mobile-menu-btn {
        display: block !important;
        z-index: 2001; /* Ensure above sidebar */
        position: relative;
        color: #333; /* Ensure visible color */
        background: transparent;
        border: none;
        padding: 10px; /* Make clickable area larger */
    }

    /* Active Hamburger Button (Close Icon) */
    .mobile-menu-btn.active {
        position: fixed;
        top: 25px; /* Adjust based on header padding */
        right: 20px; /* Adjust based on container padding */
        z-index: 2002; /* Above overlay and sidebar */
        background: transparent; /* Or keep background if needed */
        color: #fff; /* White color for visibility on dark overlay */
    }
    
    /* Sidebar Mobile Menu */
    .main-nav {
        display: block; /* Always exist for transition */
        position: fixed;
        top: 0;
        left: -100%; /* Hidden off-screen */
        width: 280px;
        height: 100vh;
        background: #fff;
        z-index: 2000;
        transition: left 0.3s ease-in-out;
        box-shadow: 5px 0 15px rgba(0,0,0,0.1);
        padding-top: 80px; /* Space for top area */
        overflow-y: auto;
        border-radius: 0;
    }
    
    .main-nav.active {
        left: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        padding: 0;
        gap: 0;
    }
    
    .main-nav li {
        width: 100%;
        border-bottom: 1px solid #f5f5f5;
    }
    
    .main-nav a {
        display: flex;
        align-items: center;
        padding: 15px 20px;
        font-size: 1rem;
        cursor: pointer; /* Ensure pointer cursor */
        justify-content: space-between; /* Push icon to right */
    }

    .main-nav a i {
        transition: transform 0.3s ease;
        pointer-events: none; /* Prevent icon from capturing click */
    }
    
    .main-nav li.open > a > i {
        transform: rotate(180deg);
    }
    
    /* Mobile Dropdown */
    .main-nav ul ul {
        position: static; /* Stack naturally */
        width: 100%;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: #f9f9f9;
        display: none; /* Hidden by default, toggled via JS or CSS */
        padding: 0;
    }
    
    /* Show dropdown on hover or click - for mobile we might need JS click, 
       but for now let's make it always visible or hover if supported */
    /* REMOVED: .main-nav li:hover > ul { display: block; } to allow JS toggle */
    
    .main-nav ul ul a {
        padding-left: 40px;
        font-size: 0.9rem;
    }

    /* Overlay */
    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 1999;
        opacity: 0;
        visibility: hidden;
        transition: 0.3s;
    }
    
    .mobile-menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    /* Search Bar */
    .search-bar { width: 100%; margin: 10px 0; }
    
    /* Icons */
    .nav-icons { justify-content: center; width: 100%; }
    
    /* Hero Slider */
    .hero-slider .slide { height: 300px; }
    .hero-content h2 { font-size: 2rem; }
    .hero-content p { font-size: 1rem; }

    /* Product Showcase Mobile */
    .product-showcase-container { flex-direction: column; height: auto; }
    .showcase-banner { flex: 0 0 250px; width: 100%; margin-bottom: 20px; }
    .showcase-carousel-wrapper { padding: 0; }
    
    /* Category Row (Mobile) */
    .category-row {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 20px;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        gap: 20px;
    }
    
    .category-item {
        min-width: 100px;
        scroll-snap-align: start;
    }
    
    .category-row::-webkit-scrollbar {
        height: 5px;
    }
    
    .category-row::-webkit-scrollbar-thumb {
        background: var(--secondary-color);
        border-radius: 10px;
    }

    /* Product Grid */
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .product-image { height: 200px; }
    
    /* Comparison Slider */
    .img-comp-container { height: 300px; }
    .img-comp-img img { height: 300px; }
    
    /* Full Width Video Responsive */
    .full-width-video-section { height: auto; min-height: 400px; }
    .video-overlay h2 { font-size: 1.8rem; }
    .video-overlay p { font-size: 1rem; }
    
    /* Newsletter */
    .newsletter-section { 
        width: 90%; 
        padding: 20px; 
        flex-direction: column; 
        margin-top: -100px; /* Pull up more on mobile */
    }
    .newsletter-content { 
        flex-direction: column; 
        gap: 15px; 
        text-align: center;
        white-space: normal; /* Allow wrap on mobile */
    }
    .newsletter-text h2 { font-size: 1.4rem; white-space: normal; }
    .newsletter-form { 
        width: 100%; 
        max-width: 100%; 
        flex-direction: column; 
        gap: 15px; 
    }
    .newsletter-form input {
        width: 100%;
        text-align: center;
    }
    .newsletter-form button {
        width: 100%;
    }
    
    /* Footer */
    footer { 
        padding-top: 220px; 
        text-align: center; /* Center align all footer content */
    } 
    .footer-content { 
        flex-direction: column; 
        align-items: center; /* Center align flex items */
        gap: 30px;
    }
    .footer-col { 
        min-width: 100%; 
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .footer-col ul {
        padding: 0;
        list-style: none;
    }
    .footer-col ul li a {
        justify-content: center; /* Center links */
    }
    .social-icons { justify-content: center; margin-bottom: 15px; }
    .contact-item { justify-content: center; }
}

@media (max-width: 480px) {
    /* Small Mobile */
    .product-grid { grid-template-columns: 1fr; }
    .hero-slider .slide { height: 250px; }
}
