/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --forest-green: #1b3022;
    --deep-gold: #c5a059;
    --cream: #f9f7f2;
    --charcoal: #2d2d2d;
    --light-green: #2a4d3a;
    --light-gold: #d4b87a;
    --gray-light: #e8e5dd;
    --shadow: 0 4px 20px rgba(27, 48, 34, 0.1);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Montserrat", sans-serif;
    color: var(--charcoal);
    background-color: var(--cream);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Playfair Display", serif;
    font-weight: 600;
    color: var(--forest-green);
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

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

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: "Montserrat", sans-serif;
}

.btn-primary {
    background-color: var(--deep-gold);
    color: var(--forest-green);
}

.btn-primary:hover {
    background-color: var(--light-gold);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background-color: transparent;
    color: var(--forest-green);
    border: 2px solid var(--deep-gold);
}

.btn-secondary:hover {
    background-color: var(--deep-gold);
    color: var(--cream);
}

.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--gray-light);
}

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

/* ===== ANNOUNCEMENT BAR ===== */
.announcement-bar {
    background-color: var(--forest-green);
    color: var(--deep-gold);
    padding: 8px 0;
    overflow: hidden;
    position: relative;
}

.announcement-content {
    white-space: nowrap;
    animation: scrollText 20s linear infinite;
}

@keyframes scrollText {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* ===== HEADER ===== */
.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--cream);
    box-shadow: 0 2px 10px rgba(27, 48, 34, 0.1);
}

.header-top {
    padding: 15px 0;
    border-bottom: 1px solid rgba(197, 160, 89, 0.2);
}

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

.logo a {
    display: flex;
    flex-direction: column;
}

.logo h1 {
    font-size: 28px;
    margin-bottom: 5px;
}

.logo .tagline {
    font-size: 12px;
    letter-spacing: 1.5px;
    color: var(--deep-gold);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-image {
    width: 90px;
    height: 90px;
    border-radius: 50%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.language-selector select {
    padding: 8px 12px;
    border: 1px solid var(--deep-gold);
    border-radius: 4px;
    background-color: transparent;
    color: var(--forest-green);
    font-family: "Montserrat", sans-serif;
}

.user-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-icon,
.cart-icon {
    position: relative;
    cursor: pointer;
}

.user-icon i,
.cart-icon i {
    font-size: 20px;
    color: var(--forest-green);
    transition: var(--transition);
}

.user-icon:hover i,
.cart-icon:hover i {
    color: var(--deep-gold);
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--cream);
    border-radius: 4px;
    box-shadow: var(--shadow);
    padding: 10px 0;
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
}

.user-icon:hover .user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown a,
.user-dropdown .user-name {
    display: block;
    padding: 8px 15px;
    font-size: 14px;
}

.user-dropdown .user-name {
    font-weight: 600;
    color: var(--deep-gold);
    border-bottom: 1px solid rgba(197, 160, 89, 0.1);
    margin-bottom: 5px;
}

.user-dropdown a:hover {
    background-color: rgba(197, 160, 89, 0.1);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--deep-gold);
    color: var(--forest-green);
    font-size: 12px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

/* ===== NAVIGATION ===== */
.main-nav {
    padding: 15px 0;
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--forest-green);
    cursor: pointer;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    font-weight: 500;
    font-size: 16px;
    position: relative;
    padding: 5px 0;
}

.nav-menu a.active {
    color: var(--deep-gold);
}

.nav-menu a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--deep-gold);
    transition: var(--transition);
}

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

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--cream);
    min-width: 200px;
    border-radius: 4px;
    box-shadow: var(--shadow);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 8px 20px;
    font-size: 14px;
}

.dropdown-menu a:hover {
    background-color: rgba(197, 160, 89, 0.1);
}

.nav-search {
    flex: 0 0 250px;
}

.search-form {
    display: flex;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid rgba(197, 160, 89, 0.3);
    border-radius: 4px;
    font-family: "Montserrat", sans-serif;
    background-color: transparent;
}

.search-input:focus {
    outline: none;
    border-color: var(--deep-gold);
}

.search-btn {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    background: none;
    border: none;
    padding: 0 15px;
    color: var(--forest-green);
    cursor: pointer;
}

/* ===== FLOATING ICONS ===== */
.floating-icons {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.floating-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.floating-icon:hover {
    transform: translateY(-5px);
}

.whatsapp {
    background-color: #25d366;
}

.cart-float {
    background-color: var(--deep-gold);
    color: var(--forest-green);
    position: relative;
}

.cart-float .cart-count {
    top: -5px;
    right: -5px;
}

/* ===== SECTION STYLES ===== */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 36px;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--deep-gold);
}

.section-subtitle {
    font-size: 18px;
    color: var(--light-green);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== FOOTER ===== */
.main-footer {
    background-color: var(--forest-green);
    color: var(--cream);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h4 {
    color: var(--deep-gold);
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-logo h3 {
    color: var(--deep-gold);
    margin-bottom: 5px;
}

.footer-description {
    margin: 15px 0;
    font-size: 14px;
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(197, 160, 89, 0.1);
    color: var(--deep-gold);
}

.social-links a:hover {
    background-color: var(--deep-gold);
    color: var(--forest-green);
}

.footer-links li {
    margin-bottom: 12px;
    font-size: 14px;
}

.footer-links i {
    margin-right: 10px;
    color: var(--deep-gold);
}

.footer-products li {
    margin-bottom: 15px;
}

.footer-products a {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-products img {
    width: 50px;
    height: 50px;
    border-radius: 4px;
    object-fit: cover;
}

.footer-products h5 {
    font-size: 14px;
    margin-bottom: 5px;
}

.footer-products .price {
    color: var(--deep-gold);
    font-weight: 600;
}

.footer-bottom {
    border-top: 1px solid rgba(197, 160, 89, 0.2);
    padding-top: 30px;
    text-align: center;
}

.legal-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.legal-links a {
    font-size: 14px;
    color: var(--deep-gold);
}

.legal-links a:hover {
    text-decoration: underline;
}

.copyright {
    font-size: 14px;
    color: rgba(249, 247, 242, 0.7);
}

/* ===== CART SIDEBAR ===== */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 350px;
    height: 100%;
    background-color: var(--cream);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 1100;
    display: flex;
    flex-direction: column;
    transition: right 0.4s ease;
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(197, 160, 89, 0.2);
}

.cart-header h3 {
    display: flex;
    align-items: center;
    gap: 10px;
}

.close-cart {
    background: none;
    border: none;
    font-size: 20px;
    color: var(--forest-green);
    cursor: pointer;
    transition: var(--transition);
}

.close-cart:hover {
    color: var(--deep-gold);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.empty-cart {
    text-align: center;
    padding: 40px 0;
    color: var(--light-green);
}

.empty-cart i {
    font-size: 48px;
    margin-bottom: 15px;
    opacity: 0.5;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid rgba(197, 160, 89, 0.2);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 600;
}

.cart-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(27, 48, 34, 0.5);
    z-index: 1099;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

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

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        height: 100%;
        background-color: var(--cream);
        flex-direction: column;
        padding: 80px 30px 30px;
        transition: left 0.4s ease;
        z-index: 1000;
        box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
    }

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

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding-left: 20px;
        margin-top: 10px;
        display: none;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .nav-search {
        display: none;
    }

    .section-title {
        font-size: 28px;
    }

    .section-subtitle {
        font-size: 16px;
    }

    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .floating-icons {
        bottom: 10px;
        left: 10px;
    }

    .floating-icon {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

/* Cart Item Styles */
.cart-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 15px;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(27, 48, 34, 0.05);
    margin-bottom: 15px;
    animation: slideInRight 0.3s ease;
    border: 1px solid rgba(197, 160, 89, 0.1);
    transition: var(--transition);
}

.cart-item:hover {
    border-color: var(--deep-gold);
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.1);
}

.cart-item-img {
    width: 80px;
    height: 80px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(197, 160, 89, 0.2);
}

.cart-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.cart-item-details {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cart-item-details h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--forest-green);
    margin: 0 0 8px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cart-item-details p {
    font-size: 13px;
    color: var(--light-green);
    margin: 0 0 5px 0;
}

.shipping-info-small {
    font-size: 11px !important;
    color: var(--deep-gold) !important;
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(197, 160, 89, 0.05);
    padding: 3px 8px;
    border-radius: 4px;
    width: fit-content;
    margin-bottom: 10px;
}

.cart-item-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.quantity-control {
    display: flex;
    align-items: center;
    border: 1px solid rgba(197, 160, 89, 0.3);
    border-radius: 4px;
    overflow: hidden;
    background-color: white;
}

.quantity-btn {
    width: 28px;
    height: 28px;
    background: white;
    border: none;
    color: var(--forest-green);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: var(--transition);
}

.quantity-btn:hover {
    background-color: var(--deep-gold);
    color: var(--forest-green);
}

.quantity {
    width: 30px;
    height: 28px;
    text-align: center;
    border-left: 1px solid rgba(197, 160, 89, 0.3);
    border-right: 1px solid rgba(197, 160, 89, 0.3);
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    color: var(--forest-green);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
}

.remove-item {
    background: none;
    border: none;
    color: #dc3545;
    cursor: pointer;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
    padding: 5px 8px;
    border-radius: 4px;
}

.remove-item:hover {
    background-color: rgba(220, 53, 69, 0.1);
}

.cart-item-total {
    text-align: right;
    font-weight: 600;
    color: var(--deep-gold);
    font-size: 16px;
    padding-top: 5px;
}
