/* --- Color Palette & Base Settings --- */
:root {
    --primary-color: #9B2D4A; 
    --accent-color: #D6637E; 
    --bg-light: #faf9f6; 
    --text-dark: #333333;
    --card-bg: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

h1, h2, h3, .logo {
    font-family: 'Playfair Display', serif;
}

/* --- Logo Text Color --- */
.logo-text {
    color: #000000; 
    margin-left: 10px; 
    font-size: 24px; 
    font-weight: 700; 
}

/* --- Navigation --- */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background-color: var(--bg-light);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: background-color 0.3s, box-shadow 0.3s;
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 60px;
    width: auto;
    display: block;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--accent-color);
}

/* --- Interactive Shop Dropdown (FIXED) --- */
nav ul li.dropdown {
    position: relative;
    display: inline-block;
    padding-bottom: 20px; 
    margin-bottom: -20px; 
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #ffffff;
    min-width: 220px;
    box-shadow: 0px 8px 25px rgba(0,0,0,0.15);
    z-index: 1000;
    border-radius: 8px;
    overflow: hidden;
    top: 100%;
    left: 0;
}

.dropdown-content a {
    color: var(--text-dark);
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    transition: background 0.3s, padding-left 0.3s;
    font-size: 14px;
    border-bottom: 1px solid #f0f0f0;
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background-color: #faf9f6;
    color: var(--accent-color);
    padding-left: 25px;
}

nav ul li.dropdown:hover .dropdown-content {
    display: block;
}

.lang-nav-dropdown {
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 5px 10px;
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
}

.lang-nav-dropdown:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.lang-nav-dropdown option {
    background-color: #fff;
    color: var(--text-dark);
}

/* --- Hero Section (Home Page) --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(250, 249, 246, 0.8), rgba(250, 249, 246, 0.9)), url('https://images.unsplash.com/photo-1596040033229-a9821ebd058d?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover;
    padding: 0 20px;
}

.hero h1 {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: #fff;
    text-decoration: none;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.3s, background-color 0.3s;
}

.btn:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

/* --- Products Section Layout (Home Page) --- */
.products-section {
    padding: 100px 50px 50px;
    text-align: center;
}

.products-section h2 {
    font-size: 36px;
    margin-bottom: 50px;
    color: var(--primary-color);
}

.card-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.card {
    background-color: var(--card-bg);
    padding: 40px 30px;
    border-radius: 15px;
    width: 300px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: box-shadow 0.3s ease; 
    cursor: pointer;
}

.card:hover {
    box-shadow: 0 15px 40px rgba(0,0,0,0.1); 
}

.card-icon {
    font-size: 50px;
    margin-bottom: 20px;
}

.card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.card p {
    color: #666666;
    transition: color 0.3s ease; 
}

.card:hover p {
    color: #000000; 
}

.view-btn {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-color); 
    margin-top: 15px;
    display: inline-block;
    transition: color 0.3s ease; 
}

.card:hover .view-btn {
    color: #8e3800; 
}

a.card-link {
    text-decoration: none !important;
    color: inherit !important;
    display: block;
}

/* --- Footer --- */
footer {
    background-color: var(--primary-color);
    color: #fff;
    text-align: center;
    padding: 60px 20px;
}

footer h2 {
    margin-bottom: 15px;
}

.footer-contact-info p {
    font-size: 16px;
    margin: 5px 0;
    color: #ffffff;
    opacity: 0.9;
}

.footer-contact-info span {
    font-weight: 600;
    color: var(--accent-color);
}

footer .btn {
    background-color: var(--accent-color);
    margin-top: 20px;
    margin-bottom: 40px;
}

footer .btn:hover {
    background-color: #e67e22;
}

.copyright {
    font-size: 14px;
    opacity: 0.7;
}

/* ==========================================================================
   CLASSIC PRODUCT PAGE SPECIFICS
   ========================================================================== */
.collection-header {
    padding: 120px 50px 30px;
    text-align: center;
    background-color: #fff;
    border-bottom: 1px solid #eaeaea;
}

.breadcrumb {
    font-size: 13px;
    color: #777;
    margin-bottom: 15px;
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

.collection-header h1 {
    font-size: 32px;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.collection-page {
    padding: 40px 50px;
    display: flex;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.sidebar {
    width: 260px;
    flex-shrink: 0;
}

.filter-group {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid #eaeaea;
}

.filter-group h3 {
    font-size: 16px;
    margin-bottom: 15px;
    color: var(--text-dark);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.filter-dropdown {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: #555;
    background-color: #fff;
    cursor: pointer;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    appearance: auto;
}

.filter-dropdown:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 5px rgba(44, 94, 80, 0.2);
}

.main-content {
    flex: 1;
}

.products-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    font-size: 14px;
    color: #555;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 30px;
}

.product-card {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #eaeaea; 
    text-align: center;
    transition: box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
}

.product-img {
    width: 100%;
    height: 220px;
    background: #f9f9f9;
    border-radius: 4px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 70px; 
}

.product-card h4 {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.4;
    font-family: 'Poppins', sans-serif; 
}

.price-row {
    margin: auto 0 20px 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    align-items: center;
}

.sale-price {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
}

.regular-price {
    font-size: 14px;
    color: #999;
    text-decoration: line-through; 
}

.add-cart-btn {
    background-color: #fff;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 10px;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s;
}

.add-cart-btn:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* =========================================
   ABOUT US PAGE STYLES
   ========================================= */
.about-page-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 50px 20px;
}

.about-text-block {
    text-align: center;
    font-size: 18px;
    margin-bottom: 60px;
    color: #555;
}

.section-heading {
    text-align: center;
    color: var(--primary-color);
    margin: 60px 0 30px;
    font-size: 32px;
}

.core-values-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.value-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    width: 200px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.value-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.roots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.root-item h3 {
    color: var(--accent-color);
    margin-bottom: 10px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.gallery-img {
    background-color: #f5f5f5;
    height: 200px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    transition: transform 0.3s;
    cursor: pointer;
}

.gallery-img:hover {
    transform: scale(1.05);
}

.map-container-full {
    width: 100%;
    margin-bottom: -5px; 
}

.map-container-full iframe {
    display: block;
    width: 100%;
}

.about-hero {
    padding: 160px 50px 80px; 
    text-align: center;
    background: linear-gradient(rgba(250, 249, 246, 0.85), rgba(250, 249, 246, 0.95)), url('image/steep-hill-tea.png') center/cover;
    background-attachment: fixed; 
    border-bottom: 1px solid #eee;
}

.about-hero h1 {
    font-size: 48px;
    color: var(--primary-color);
    margin-top: 15px;
}

.about-hero .breadcrumb {
    font-weight: 500;
    font-size: 15px;
}
/* ==========================================================================
   TRENDY SHOP PAGE SPECIFICS
   ========================================================================== */
.trendy-shop-hero {
    padding: 180px 20px 80px;
    text-align: center;
    background: linear-gradient(rgba(250, 249, 246, 0.4), rgba(250, 249, 246, 0.7)), url('image/port.jpg') center/cover;
    background-attachment: fixed;
    border-bottom: 1px solid #eee;
}

.trendy-shop-hero h1 {
    font-size: 42px;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.trendy-shop-hero p {
    color: #333;
    font-size: 18px;
    margin-top: 10px;
    font-weight: 500;
}

.trendy-shop-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 40px 30px;
}

.shop-filter-pills {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.pill-btn {
    padding: 10px 25px;
    border: 2px solid #eaeaea;
    background: transparent;
    border-radius: 30px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s ease;
}

.pill-btn:hover {
    border-color: var(--primary-color);
}

.pill-btn.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 5px 15px rgba(44, 94, 80, 0.3);
}

.shop-category-section {
    margin-bottom: 80px;
}

.category-title {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eaeaea;
}

.trendy-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 40px;
}

.trendy-card {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    position: relative;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid transparent;
}

.trendy-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    border-color: #f0f0f0;
}

.badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 10;
}

.new-badge { background-color: var(--primary-color); color: #fff; }
.top-badge { background-color: #f1c40f; color: #333; }
.sale-badge { background-color: #e74c3c; color: #fff; }

.wishlist-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #fff;
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 10;
    transition: transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wishlist-btn:hover {
    transform: scale(1.1);
}

.trendy-img-wrap {
    width: 100%;
    height: 240px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    margin-bottom: 20px;
    transition: transform 0.5s ease;
}

.trendy-card:hover .trendy-img-wrap {
    transform: scale(1.03); 
}

.trendy-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.trendy-info h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.3;
}

.trendy-add-btn {
    margin-top: auto;
    width: 100%;
    padding: 12px;
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.trendy-add-btn:hover {
    background-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 15px rgba(44, 94, 80, 0.2);
}

/* ==========================================================================
   LOGIN ICON & MODAL STYLES
   ========================================================================== */
.login-icon {
    font-size: 22px;
    color: var(--primary-color);
    text-decoration: none;
    transition: transform 0.3s, color 0.3s;
    display: inline-block;
    line-height: 1;
}

.login-icon:hover {
    transform: scale(1.15);
    color: var(--accent-color);
}

.modal {
    display: none; 
    position: fixed; 
    z-index: 2000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    background-color: rgba(0,0,0,0.6); 
    backdrop-filter: blur(3px); 
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    background-color: #fff;
    padding: 40px;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    position: relative;
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    text-align: center;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.modal.show .modal-content {
    transform: translateY(0);
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #999;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s;
}

.close-btn:hover {
    color: var(--accent-color);
}

.modal-content h2 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.modal-content p {
    font-size: 14px;
    color: #666;
    margin-bottom: 25px;
}

.input-group {
    margin-bottom: 20px;
    text-align: left;
}

.input-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.input-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 5px rgba(44, 94, 80, 0.2);
}

.btn-full {
    width: 100%;
    margin-top: 10px;
}

.modal-footer {
    margin-top: 25px;
    display: flex;
    justify-content: space-between;
    font-size: 13px;
}

.modal-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.modal-footer a:hover {
    color: var(--accent-color);
}

/* ==========================================================================
   PREMIUM HOMEPAGE BANNER (Parallax Effect)
   ========================================================================== */
.premium-banner-strip {
    width: 100%;
    height: 400px;
    background-image: url('image/port.jpg');
    background-size: cover; 
    background-position: center; 
    background-attachment: fixed; 
    box-shadow: inset 0 10px 20px rgba(0,0,0,0.2);
    margin-top: 60px;
    margin-bottom: 0; 
}

/* ==========================================================================
   DEDICATED CONTACT PAGE STYLES
   ========================================================================== */
.contact-page-wrapper {
    background-color: var(--bg-light);
    padding: 60px 20px 100px;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.contact-info-box {
    flex: 1;
    min-width: 300px;
    padding: 50px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    background: linear-gradient(rgba(250, 249, 246, 0.85), rgba(250, 249, 246, 0.95)), url('image/steep-hill-tea.png') center/cover;
}

.contact-form-box {
    flex: 1;
    min-width: 300px;
    background: #fff;
    padding: 50px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.contact-info-box h3 {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 30px;
    border-bottom: 2px solid #eaeaea;
    padding-bottom: 15px;
}

.contact-form-box h3 {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 30px;
    border-bottom: 2px solid #eaeaea;
    padding-bottom: 15px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-info-box .info-icon {
    font-size: 24px;
    background: #fff;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--accent-color);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.contact-info-box .info-item h4 {
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 5px;
    font-weight: 600;
}

.contact-info-box .info-item p,
.contact-info-box .info-item a {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.trendy-contact-form .form-row {
    display: flex;
    gap: 20px;
}

.trendy-contact-form .form-row .form-group {
    flex: 1;
}

.trendy-contact-form .form-group {
    margin-bottom: 25px;
    text-align: left;
}

.trendy-contact-form label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.trendy-contact-form input,
.trendy-contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    transition: all 0.3s ease;
    background-color: #faf9f6;
}

.trendy-contact-form input:focus,
.trendy-contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(44, 94, 80, 0.1);
}

.trendy-contact-form textarea {
    resize: vertical;
}

/* ==========================================================================
   CHECKOUT PAGE & FUNNEL STYLES
   ========================================================================== */
.checkout-wrapper {
    max-width: 1200px;
    margin: 110px auto 80px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    padding: 0 20px;
}

.checkout-funnel {
    background: #ffffff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border: 1px solid #eaeaea;
}

.checkout-heading {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.checkout-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 15px;
}

.progress-step {
    font-size: 14px;
    font-weight: 500;
    color: #aaa;
    transition: color 0.3s;
}

.progress-step.active {
    color: var(--primary-color);
    font-weight: 600;
}

.funnel-step {
    display: none;
    animation: fadeIn 0.4s ease-in-out;
}

.funnel-step.active-step {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.payment-method-box {
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    padding: 20px;
    background: #faf9f6;
    margin-bottom: 20px;
}

.order-summary-sidebar {
    background: #ffffff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border: 1px solid #eaeaea;
    position: sticky;
    top: 110px;
    height: fit-content;
}

.summary-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.summary-img {
    width: 60px;
    height: 60px;
    background: #f5f5f5;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    border: 1px solid #eaeaea;
}

.summary-details {
    flex: 1;
}

.summary-details h4 {
    font-size: 14px;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.summary-details p {
    font-size: 12px;
    color: #888;
}

.summary-price {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 15px;
}

.summary-totals .total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 14px;
    color: #555;
}

.summary-totals .grand-total {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    border-top: 2px solid #eaeaea;
    padding-top: 15px;
    margin-top: 15px;
}

@media (max-width: 900px) {
    .checkout-wrapper {
        grid-template-columns: 1fr;
        display: flex;
        flex-direction: column-reverse;
        gap: 30px;
    }
    .order-summary-sidebar {
        position: static;
    }
}

/* ==========================================================================
   HEADER CART ICON & NOTIFICATION BADGE
   ========================================================================== */
.cart-icon-container {
    position: relative;
    font-size: 24px;
    color: var(--primary-color);
    text-decoration: none;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
}

.cart-icon-container:hover {
    transform: scale(1.15);
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -12px;
    background-color: #e74c3c;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: transform 0.2s ease;
}

.cart-bump {
    transform: scale(1.4);
}
/* =========================================
   PASSWORD TOGGLE EYE STYLES
   ========================================= */
.password-toggle { position: absolute; right: 0; top: 10px; cursor: pointer; display: flex; align-items: center; justify-content: center; height: 20px; width: 24px; z-index: 10; }
.password-toggle svg { transition: stroke 0.3s; }
.password-toggle:hover svg { stroke: var(--primary-color, #2874f0); }
#fk-password { padding-right: 30px !important; }

/* --- GLOBAL 3-COLUMN LAYOUT & SIDEBAR FIX --- */
.shop-layout-wrapper {
    display: grid !important;
    grid-template-columns: 280px 1fr !important;
    gap: 30px !important;
    align-items: start !important;
    margin-top: 20px !important;
    max-width: 1400px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.shop-sidebar {
    position: sticky !important;
    top: 100px !important;
    background: #fff !important;
    padding: 25px !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03) !important;
    border: 1px solid #eaeaea !important;
}

#dynamic-storefront, .trendy-product-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 25px !important;
    width: 100% !important;
}

@media (max-width: 1100px) {
    .shop-layout-wrapper { grid-template-columns: 220px 1fr !important; }
    #dynamic-storefront, .trendy-product-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

@media (max-width: 768px) {
    .shop-layout-wrapper { grid-template-columns: 1fr !important; }
    .shop-sidebar { position: static !important; margin-bottom: 20px !important; }
    #dynamic-storefront, .trendy-product-grid { grid-template-columns: 1fr !important; }
}

/* --- GLOBAL UI COMPONENTS (Login, Cart, Footer) --- */

/* 1. Filter Pill Buttons */
.pill-btn { text-decoration: none; display: inline-block; }

/* 2. Login Modal Styles */
.fk-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.6); z-index: 2000; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity 0.3s ease; }
.fk-overlay.active { opacity: 1; visibility: visible; }
.fk-modal { display: flex; width: 750px; height: 530px; background: #fff; border-radius: 4px; overflow: hidden; position: relative; transform: scale(0.95); transition: transform 0.3s ease; box-shadow: 0 4px 23px 0 rgba(0,0,0,0.2); font-family: 'Poppins', sans-serif; }
.fk-overlay.active .fk-modal { transform: scale(1); }
.fk-close { position: absolute; top: 15px; right: 20px; font-size: 28px; font-weight: 300; color: #878787; cursor: pointer; z-index: 2001; line-height: 1; transition: color 0.2s; }
.fk-close:hover { color: #333; }
.fk-left { width: 40%; background-color: var(--primary-color); padding: 40px 33px; color: #fff; display: flex; flex-direction: column; position: relative; }
.fk-left h2 { font-family: 'Poppins', sans-serif; font-size: 28px; font-weight: 500; margin-bottom: 16px; letter-spacing: 0; }
.fk-left p { font-size: 18px; line-height: 1.5; color: #f9f9f9; }
.fk-left-img { margin-top: auto; width: 100%; height: 130px; background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" fill="%23ffffff" opacity="0.1"><circle cx="50" cy="50" r="40"/></svg>'); background-position: bottom center; background-repeat: no-repeat; background-size: contain; }
.fk-right { width: 60%; padding: 56px 35px 16px; position: relative; display: flex; flex-direction: column; background: #fff; }
.fk-input-group { position: relative; margin-bottom: 30px; margin-top: 20px; }
.fk-input-group input { width: 100%; border: none; border-bottom: 1px solid #e0e0e0; padding: 10px 0; font-size: 15px; font-family: 'Poppins', sans-serif; outline: none; background: transparent; color: #333; transition: border-color 0.2s; }
.fk-input-group label { position: absolute; left: 0; top: 10px; color: #878787; font-size: 15px; pointer-events: none; transition: 0.2s ease all; font-family: 'Poppins', sans-serif; }
.fk-input-group input:focus ~ label, .fk-input-group input:valid ~ label { top: -14px; font-size: 12px; color: #878787; }
.fk-input-group input:focus { border-bottom: 2px solid var(--primary-color); }
.fk-terms { font-size: 12px; color: #878787; margin-bottom: 20px; line-height: 1.5; }
.fk-terms a { color: var(--primary-color); text-decoration: none; font-weight: 500; }
.fk-btn-primary { background: var(--primary-color); color: #fff; width: 100%; height: 48px; border: none; border-radius: 2px; font-size: 15px; font-weight: 500; font-family: 'Poppins', sans-serif; cursor: pointer; box-shadow: 0 1px 2px 0 rgba(0,0,0,.2); transition: 0.2s; margin-bottom: 16px; }
.fk-btn-primary:hover { box-shadow: 0 2px 4px 0 rgba(0,0,0,.2); opacity: 0.95; }
.fk-btn-secondary { background: #fff; color: var(--primary-color); width: 100%; height: 48px; border: 1px solid #dbdbdb; border-radius: 2px; font-size: 15px; font-weight: 500; font-family: 'Poppins', sans-serif; cursor: pointer; box-shadow: 0 1px 2px 0 rgba(0,0,0,.1); transition: 0.2s; }
.fk-btn-secondary:hover { box-shadow: 0 2px 4px 0 rgba(0,0,0,.2); }
@media (max-width: 768px) { .fk-modal { flex-direction: column; width: 90%; height: auto; max-height: 90vh; overflow-y: auto; } .fk-left { width: 100%; padding: 30px 20px; } .fk-left-img { display: none; } .fk-right { width: 100%; padding: 30px 20px; } }

/* 3. Shopping Cart Drawer Styles */
.cart-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.6); z-index: 3000; opacity: 0; visibility: hidden; transition: opacity 0.3s ease; }
.cart-overlay.active { opacity: 1; visibility: visible; }
.cart-drawer { position: fixed; top: 0; right: -450px; width: 100%; max-width: 400px; height: 100vh; background: #fff; z-index: 3001; box-shadow: -5px 0 20px rgba(0,0,0,0.15); transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); display: flex; flex-direction: column; font-family: 'Poppins', sans-serif; }
.cart-drawer.active { right: 0; }
.cart-header { padding: 20px 25px; border-bottom: 1px solid #eee; display: flex; justify-content: space-between; align-items: center; background: var(--bg-light, #faf9f6); }
.cart-header h2 { margin: 0; font-size: 20px; font-weight: 600; color: #1a2520; font-family: 'Playfair Display', serif; }
.cart-close { font-size: 28px; cursor: pointer; color: #888; transition: 0.2s; line-height: 1; }
.cart-close:hover { color: var(--accent-color); transform: rotate(90deg); }
.cart-body { flex: 1; overflow-y: auto; padding: 20px 25px; }
.cart-footer { padding: 20px 25px; border-top: 1px solid #eee; background: #fff; }
.cart-subtotal { display: flex; justify-content: space-between; font-size: 18px; font-weight: 600; margin-bottom: 20px; color: #1a2520; }
.btn-checkout { display: block; width: 100%; text-align: center; background: var(--primary-color); color: #fff; padding: 15px; text-decoration: none; border-radius: 4px; font-weight: 600; transition: 0.3s; font-size: 16px; border: none; cursor: pointer; }
.btn-checkout:hover { opacity: 0.9; box-shadow: 0 4px 12px rgba(155, 45, 74, 0.3); }
.btn-view-cart { display: block; width: 100%; text-align: center; background: transparent; color: #1a2520; padding: 14px; text-decoration: none; border: 1px solid #ddd; border-radius: 4px; font-weight: 500; transition: 0.3s; margin-top: 12px; font-size: 15px; }
.btn-view-cart:hover { border-color: var(--primary-color); color: var(--primary-color); background: #faf9f6; }
.drawer-item { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid #f5f5f5; }
.drawer-item-img { font-size: 32px; width: 65px; height: 65px; display: flex; align-items: center; justify-content: center; background: radial-gradient(circle, #f9f9f9 0%, #eef2f3 100%); border-radius: 8px; }
.drawer-item-info { flex: 1; }
.drawer-item-title { font-size: 14px; font-weight: 500; margin: 0 0 5px 0; color: #333; line-height: 1.3; }
.drawer-item-price { font-size: 14px; font-weight: 700; color: var(--primary-color); margin-bottom: 8px; }
.drawer-item-qty { display: flex; align-items: center; gap: 12px; background: #f5f5f5; padding: 4px 10px; border-radius: 4px; width: fit-content; }
.drawer-item-qty button { border: none; background: transparent; cursor: pointer; font-size: 18px; color: #555; display: flex; align-items: center; justify-content: center; }
.drawer-item-qty button:hover { color: var(--accent-color); }
.drawer-empty { text-align: center; color: #888; margin-top: 60px; display: flex; flex-direction: column; align-items: center; }
.drawer-empty-icon { font-size: 50px; margin-bottom: 15px; opacity: 0.5; }
@media (max-width: 480px) { .cart-drawer { width: 100%; right: -100%; max-width: 100%; } }

/* 4. Deep Burgundy Footer Styles */
.premium-footer { background-color: var(--primary-color); color: #f1f1f1; font-family: 'Poppins', sans-serif; padding: 70px 5% 20px; border-top: 5px solid var(--accent-color); margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; margin-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 40px; }
.footer-col h3 { color: #ffffff; font-family: 'Playfair Display', serif; font-size: 22px; margin-bottom: 25px; font-weight: 600; position: relative; padding-bottom: 10px; }
.footer-col h3::after { content: ''; position: absolute; left: 0; bottom: 0; width: 40px; height: 2px; background-color: var(--accent-color); }
.footer-col p { color: #f1f1f1; font-size: 14px; line-height: 1.8; margin-bottom: 15px; opacity: 0.9; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: #f1f1f1; text-decoration: none; font-size: 14px; transition: all 0.3s ease; display: inline-block; opacity: 0.9; }
.footer-links a:hover { color: #fff; transform: translateX(5px); opacity: 1; font-weight: 500; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 15px; font-size: 14px; color: #f1f1f1; line-height: 1.6; opacity: 0.9; }
.footer-icon { font-size: 18px; color: var(--accent-color); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px; color: #e0e0e0; font-size: 13px; }
.footer-policy-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-policy-links a { color: #e0e0e0; text-decoration: none; transition: color 0.3s ease; }
.footer-policy-links a:hover { color: #fff; }
.footer-socials { display: flex; gap: 12px; margin-top: 20px; }
.footer-socials a { background: rgba(255,255,255,0.1); color: #fff; width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; border-radius: 50%; text-decoration: none; transition: 0.3s; font-size: 16px; }
.footer-socials a svg { width: 16px; height: 16px; fill: currentColor; }
.footer-socials a:hover { background: var(--accent-color); transform: translateY(-3px); color: #fff; }
@media (max-width: 768px) { .footer-bottom { flex-direction: column; text-align: center; justify-content: center; } .footer-policy-links { justify-content: center; } }

/* ==========================================================================
   USER AUTHENTICATION DROPDOWN & HOVER EFFECTS
   ========================================================================== */
/* 1. Show the dropdown when hovering over the container */
#user-menu-container:hover #auth-dropdown { 
    display: block !important; 
}

/* 2. Turn 'Login' or 'My Account' text pinkish on hover */
#login-btn:hover { 
    color: var(--accent-color) !important; 
}

/* 3. Style the links inside the dropdown when hovered (Profile, Logout, etc.) */
#auth-dropdown a {
    transition: padding-left 0.3s ease, color 0.3s ease, background-color 0.3s ease;
}

#auth-dropdown a:hover { 
    background-color: #faf9f6 !important; 
    color: var(--accent-color) !important; 
    padding-left: 25px !important; /* Creates a nice sliding effect */
}

/* Make sure the logout button stays red unless hovered */
#logout-btn {
    color: #e74c3c !important;
}

#logout-btn:hover {
    color: #c0392b !important;
    background-color: #fff0f0 !important;
}

/* ==========================================================================
   CHECKOUT PAGE STYLES
   ========================================================================== */
body.checkout-page-body { background-color: #f7f9f8; }
.checkout-wrapper { max-width: 1200px; margin: 120px auto 60px; padding: 0 20px; display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: start; }
.checkout-funnel, .order-summary-sidebar { background: #fff; padding: 35px; border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,0.04); border: 1px solid #eaeaea; }
.checkout-progress { display: flex; border-bottom: 2px solid #f0f0f0; margin-bottom: 30px; }
.progress-step { flex: 1; text-align: center; padding: 15px 0; color: #aaa; font-weight: 500; font-size: 14px; position: relative; }
.progress-step.active { color: var(--primary-color, #1a2520); font-weight: 600; }
.progress-step.active::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 100%; height: 2px; background: var(--accent-color, #27ae60); }
.checkout-heading { font-family: 'Playfair Display', serif; font-size: 24px; color: var(--primary-color, #1a2520); margin-bottom: 20px; padding-bottom: 10px; border-bottom: 1px solid #f0f0f0; }

.nature-form .form-row { display: flex; gap: 15px; margin-bottom: 15px; }
.nature-form .form-row .form-group { flex: 1; margin-bottom: 0; }
.nature-form .form-group { margin-bottom: 15px; position: relative; }
.nature-form label { display: block; font-size: 13px; font-weight: 600; color: #444; margin-bottom: 6px; }
.nature-form input[type="text"], .nature-form input[type="email"], .nature-form input[type="tel"], .nature-form input[type="password"], .nature-form select { width: 100%; padding: 12px 15px; border: 1px solid #ddd; border-radius: 6px; font-family: 'Poppins', sans-serif; font-size: 14px; box-sizing: border-box; outline: none; transition: border-color 0.3s; background: #fafafa;}
.nature-form input:focus, .nature-form select:focus { border-color: var(--accent-color, #27ae60); background: #fff; box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.1); }

.green-submit-btn { display: block; width: 100%; background: var(--accent-color, #27ae60); color: #fff; padding: 15px; border: none; border-radius: 6px; font-family: 'Poppins', sans-serif; font-size: 16px; font-weight: 600; cursor: pointer; transition: 0.3s; text-align: center; }
.green-submit-btn:hover { background: #1e8449; box-shadow: 0 4px 12px rgba(39,174,96,0.2); transform: translateY(-1px); }

.summary-totals { margin-top: 25px; }
.total-row { display: flex; justify-content: space-between; margin-bottom: 12px; font-size: 15px; color: #555; align-items: center; }
.grand-total { font-size: 18px; font-weight: 700; color: #1a2520; border-top: 1px solid #eaeaea; padding-top: 15px; margin-top: 15px; }

.funnel-step { display: none; }
.funnel-step.active-step { display: block; animation: fadeIn 0.4s ease; }

.gateway-option { display: flex; justify-content: space-between; align-items: center; padding: 15px 20px; border: 1px solid #ddd; background: #fff; cursor: pointer; transition: 0.3s; margin-bottom: -1px; }
.gateway-option:first-child { border-radius: 8px 8px 0 0; }
.gateway-option:last-of-type { border-radius: 0 0 8px 8px; }
.gateway-option.active-gateway { background: #fdfaf6; border: 1px solid var(--accent-color); z-index: 2; position: relative; }
.gateway-label { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: 15px; margin: 0; cursor: pointer; }
.gateway-label input { accent-color: var(--accent-color); width: 18px; height: 18px; }
.card-form-wrapper { display: none; padding: 20px; background: #fafafa; border: 1px solid #ddd; border-top: none; border-radius: 0 0 8px 8px; margin-bottom: 20px; }

.card-icon { position: absolute; right: 15px; top: 38px; font-size: 20px; transition: 0.3s; }

@media (max-width: 768px) { 
    .checkout-wrapper { grid-template-columns: 1fr; margin-top: 100px; } 
    .nature-form .form-row { flex-direction: column; gap: 0; } 
    .nature-form .form-row .form-group { margin-bottom: 15px; } 
}

/* ==========================================================================
   PROFILE & ACCOUNT PAGE STYLES
   ========================================================================== */
.account-wrapper { max-width: 1200px; margin: 60px auto 80px; padding: 0 20px; display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: start; }
.account-sidebar { background: #fff; border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.03); border: 1px solid #eaeaea; padding: 20px 0; position: sticky; top: 110px; z-index: 10; }
.account-user-info { padding: 0 20px 20px; border-bottom: 1px solid #eee; text-align: center; }
.account-avatar { width: 70px; height: 70px; background: var(--primary-color); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 28px; margin: 0 auto 10px; font-family: 'Playfair Display', serif; }
.account-nav { list-style: none; padding: 0; margin: 20px 0 0; }
.account-nav li a { display: block; padding: 15px 25px; color: #555; text-decoration: none; font-weight: 500; transition: 0.3s; font-size: 15px; border-left: 3px solid transparent; cursor: pointer; }
.account-nav li a:hover { background: #faf9f6; color: var(--accent-color); }
.account-nav li a.active-tab { background: #faf9f6; color: var(--primary-color); border-left-color: var(--primary-color); font-weight: 600; }

.account-content-area { background: #fff; border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.03); border: 1px solid #eaeaea; padding: 40px; min-height: 500px; }
.account-content-area h2 { font-family: 'Playfair Display', serif; color: var(--primary-color); margin-bottom: 25px; font-size: 28px; border-bottom: 2px solid #eee; padding-bottom: 15px; }

.profile-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: #666; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 1px; }
.form-group input { width: 100%; padding: 14px; border: 1px solid #ddd; border-radius: 6px; font-family: 'Poppins', sans-serif; font-size: 15px; outline: none; transition: 0.3s; box-sizing: border-box; background: #faf9f6; }
.form-group input:focus { border-color: var(--primary-color); background: #fff; box-shadow: 0 0 0 3px rgba(155, 45, 74, 0.1); }
.save-btn { background: var(--primary-color); color: #fff; border: none; padding: 15px 30px; border-radius: 6px; font-family: 'Poppins', sans-serif; font-size: 16px; font-weight: 600; cursor: pointer; transition: 0.3s; }
.save-btn:hover { background: var(--accent-color); transform: translateY(-2px); box-shadow: 0 4px 15px rgba(155, 45, 74, 0.2); }

@media (max-width: 768px) { 
    .account-wrapper { grid-template-columns: 1fr; margin-top: 50px; } 
    .profile-form-grid { grid-template-columns: 1fr; } 
    .account-content-area { padding: 25px; } 
    .order-history-table { display: block; overflow-x: auto; white-space: nowrap; } 
}

/* ==========================================================================
   PROFILE PAGE TABS & ORDER HISTORY
   ========================================================================== */
.tab-content { display: none; animation: fadeIn 0.4s ease; }
.tab-content.active-content { display: block; }

.order-history-table { width: 100%; border-collapse: collapse; text-align: left; margin-top: 15px; }
.order-history-table th { padding: 15px; background: #faf9f6; border-bottom: 1px solid #eee; color: #666; font-size: 12px; text-transform: uppercase; font-weight: 600; }
.order-history-table td { padding: 18px 15px; border-bottom: 1px solid #eee; color: #444; font-size: 14px; vertical-align: middle; }
.invoice-btn { background: #111a16; color: #fff; padding: 10px 18px; border-radius: 6px; font-weight: 600; cursor: pointer; border: none; font-size: 12px; font-family: 'Poppins', sans-serif; transition: 0.3s; white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; }
.invoice-btn:hover { background: var(--primary-color); transform: translateY(-1px); box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.invoice-btn:disabled { background: #888; cursor: not-allowed; opacity: 0.7; }

/* ==========================================================================
   MODAL FIXES (PASSWORD EYE, REMEMBER ME, POLICY LINKS)
   ========================================================================== */
.fk-input-group { position: relative; }
.password-toggle { position: absolute; right: 0px; top: 12px; cursor: pointer; display: flex; align-items: center; justify-content: center; height: 20px; width: 24px; z-index: 10; pointer-events: auto; }
.password-toggle svg { transition: stroke 0.3s; width: 18px; height: 18px; }
.password-toggle:hover svg { stroke: var(--primary-color); }
#fk-password { padding-right: 35px !important; }

.fk-terms { position: relative; z-index: 50; }
.fk-terms a { color: var(--primary-color); font-weight: 600; text-decoration: underline; pointer-events: auto; position: relative; z-index: 100; }
/* ==========================================================================
   BULLETPROOF MOBILE RESPONSIVE PATCH
   ========================================================================== */

/* Tablet Adjustments */
@media screen and (max-width: 992px) {
    .shop-layout-wrapper, .checkout-wrapper, .account-wrapper, .product-main-grid { 
        grid-template-columns: 1fr !important; 
        gap: 20px !important; 
    }
    .shop-sidebar, .order-summary-sidebar, .account-sidebar { 
        position: relative !important; 
        top: 0 !important; 
        width: 100% !important; 
        margin-bottom: 20px !important; 
    }
}

/* Smartphone Adjustments */
@media screen and (max-width: 768px) {
    /* 1. Kill Horizontal Scrolling (The #1 Mobile Killer) */
    html, body { 
        overflow-x: hidden !important; 
        width: 100% !important; 
    }

    /* 2. Fix Header & Navigation */
    header#navbar { 
        padding: 15px 20px !important; 
    }
    .logo img { 
        height: 40px !important; /* Smaller logo for phones */
    }
    .logo-text { 
        font-size: 20px !important; 
    }
    
    /* Mobile Menu Toggle Button */
    .mobile-menu-toggle { 
        display: block !important; 
        position: absolute; 
        right: 20px; 
        top: 20px; 
        font-size: 28px; 
        color: var(--primary-color); 
        cursor: pointer; 
        z-index: 3000; 
    }
    
    /* Mobile Menu Overlay */
    nav ul { 
        display: none !important; /* Hidden until toggled */
        flex-direction: column !important; 
        position: fixed !important; 
        top: 70px !important; 
        left: 0 !important; 
        width: 100% !important; 
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        background: #fff !important; 
        box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important; 
        padding: 20px !important; 
        z-index: 2999 !important; 
        gap: 15px !important;
        align-items: flex-start !important;
    }
    nav ul.mobile-active { 
        display: flex !important; 
    }
    
    /* Mobile Dropdown Fixes */
    nav ul li.dropdown .dropdown-content { 
        position: relative !important; 
        box-shadow: none !important; 
        padding-left: 15px !important; 
        display: none; 
        width: 100% !important; 
        border-left: 2px solid var(--primary-color) !important; 
        margin-top: 10px !important; 
    }
    nav ul li.dropdown.active .dropdown-content { 
        display: block !important; 
    }
    
    /* 3. Force Containers to Stack */
    .checkout-wrapper, .account-wrapper, .contact-container, .product-main-grid, .editorial-intro {
        display: flex !important;
        flex-direction: column !important;
        padding: 15px !important;
        margin-top: 80px !important;
    }

    /* 4. Storefront Grid to Single Column */
    #dynamic-storefront, .trendy-product-grid, .portfolio-grid, .home-category-container {
        display: grid !important;
        grid-template-columns: 1fr !important;
        width: 100% !important;
        gap: 20px !important;
    }

    /* 5. Typography Scaling */
    .hero h1, .about-hero h1, .trendy-shop-hero h1, .export-hero-advanced h1 { 
        font-size: 32px !important; 
        line-height: 1.2 !important; 
    }
    .hero, .about-hero, .trendy-shop-hero, .export-hero-advanced { 
        padding-top: 120px !important; 
        padding-bottom: 60px !important; 
    }

    /* 6. Form & Input Fixes */
    .nature-form .form-row, .profile-form-grid, .trendy-contact-form .form-row { 
        flex-direction: column !important; 
        gap: 15px !important; 
    }

    /* 7. Image Containment */
    img, iframe { 
        max-width: 100% !important; 
        height: auto !important; 
    }
}
/* Fix for Dynamic Announcement Bar */
#top-announcement-bar {
    display: none; /* Hidden by default until text is loaded */
    width: 100%;
    z-index: 1001; /* Stay above navbar */
    transition: all 0.3s ease;
}

#top-announcement-bar:not(:empty) {
    display: block !important;
}
/* Prevent the flash of an empty bar during page loads */
#top-announcement-bar {
    display: none !important; /* Force hide by default */
    background-color: #d81b60;
    color: #ffffff;
    text-align: center;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    width: 100%;
    z-index: 3001;
    position: sticky;
    top: 0;
}

/* Only show the bar if JavaScript confirms there is text and adds this class to the body */
body.has-announcement #top-announcement-bar {
    display: block !important;
}

/* Adjust navbar only when the announcement is active */
body.has-announcement #navbar {
    top: 40px; 
    transition: top 0.3s ease;
}
/* ==========================================================================
   AXISTRADE PROFESSIONAL FOOTER (BRAND SYNCED)
   ========================================================================== */
.axistrade-footer {
    background-color: var(--primary-color, #9B2D4A); /* Pure Brand Maroon */
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    padding-top: 60px;
    width: 100%;
    margin-top: 40px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    color: #ffffff;
    font-size: 28px;
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: 700;
}

.footer-about {
    color: #f0f0f0;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 25px;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-socials a {
    color: var(--primary-color, #9B2D4A);
    background: #ffffff;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: transform 0.3s;
    font-weight: bold;
}

.footer-socials a:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.footer-links, .footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a, .footer-contact a {
    color: #f0f0f0;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover, .footer-contact a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-contact li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: #f0f0f0;
    font-size: 14px;
    line-height: 1.6;
}

.footer-contact .icon {
    font-size: 18px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 50px auto 0;
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.footer-bottom p {
    margin: 0;
    color: #e0e0e0;
    font-size: 13px;
}

.legal-links {
    display: flex;
    gap: 20px;
    font-size: 13px;
}

.legal-links a {
    color: #e0e0e0;
    text-decoration: none;
    transition: color 0.3s;
}

.legal-links a:hover {
    color: #ffffff;
    text-decoration: underline;
}