@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap");

/* Global Styles */
:root {
    --primary-color: #00b14f;
    --secondary-color: #333;
    --light-gray: #f5f5f5;
    --text-dark: #333;
    --text-light: #fff;
    --border-radius: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Arial", sans-serif;
}

body {
    color: var(--text-dark);
    line-height: 1.6;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

/* Preloader Styles */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

#preloader img {
    width: 300px; /* Adjust size as needed */
    height: auto;
    animation: pulse 1.5s infinite ease-in-out;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

#preloader.hide {
    opacity: 0;
    pointer-events: none;
}

/* Top announcement bar */
.announcement-bar {
    background-color: #000;
    color: #fff;
    padding: 10px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    height: 40px; /* Adjust based on content */
}

.container.test {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px; /* Adjust as needed */
    margin: 0 auto;
    position: relative;
}

.promo-slider {
    flex: 1;
    text-align: center;
    position: relative;
    height: 20px; /* Match promo height */
    overflow: hidden;
}

.promo-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.announcement-bar .promo {
    font-size: 14px;
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: fit-content;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
    color: #fff;
}

.announcement-bar .promo.active {
    transform: translateY(0);
    opacity: 1;
    color: #fff;
}

.announcement-bar .shop-now {
    font-weight: bold;
    margin-left: 5px;
}

.language-selector {
    display: flex;
    align-items: center;
    margin-left: 20px; /* Space between promo & language */
}

/* Header Styles */
header {
    background-color: var(--text-light);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}
.h-logo {
    width: 170px;
    padding: 0 10px;
}
.logo img {
    max-height: 50px; /* Ensures the logo isn't too tall */
    width: auto; /* Keeps the original aspect ratio */
    display: block; /* Removes extra spacing */
}

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

.nav-menu a {
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
    border-bottom: 1px solid var(--primary-color);
}

/**/
.header-actions {
    display: flex;
    gap: 15px;
    align-items: center;
    position: relative;
}

/* Search Styles */
.search-container {
    display: flex;
    align-items: center;
    position: relative;
}

.search-input-wrapper {
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    overflow: hidden;
    transition: width 0.3s ease;
    background: white;
    border-radius: 4px;
}

.search-input {
    border: 1px solid #ddd;
    padding: 8px 15px;
    outline: none;
    width: 200px;
    box-sizing: border-box;
}

.search-container.active .search-input-wrapper {
    width: 200px;
    padding: 0 10px;
}

/* Dropdown Containers */
.dropdown-container {
    position: relative;
    height: 40px;
    display: flex;
    align-items: center;
}

.dropdown-toggle {
    position: relative;
    display: block;
}

/* Dropdown Menus */
.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px 0;
    min-width: 200px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 100;
}

.dropdown-menu a {
    display: block;
    padding: 8px 15px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s;
}

.dropdown-menu a:hover {
    background: #f5f5f5;
}

/* Cart Specific Styles */
.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff6b6b;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-menu {
    right: 0;
}

.cart-items {
    max-height: 300px;
    overflow-y: auto;
    padding: 0 15px;
}

.cart-items p {
    margin: 10px 0;
    color: #777;
    text-align: center;
}

.view-cart {
    display: block;
    text-align: center;
    background: #f5f5f5;
    padding: 8px;
    margin-top: 10px;
    border-top: 1px solid #eee;
}

/**/
.img-icon {
    width: 20px;
    height: 20px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

/* Breadcrumb */
.breadcrumb {
    padding: 15px 20px;
    background-color: var(--light-gray);
}

.breadcrumb a {
    text-decoration: none;
    color: var(--text-color);
}

.breadcrumb span {
    margin: 0 5px;
    color: var(--dark-gray);
}

.privacy-header {
    margin-bottom: 30px;
}

.privacy-header h1 {
    font-size: 24px;
    margin-bottom: 10px;
}

.last-updated {
    color: var(--dark-gray);
    font-size: 14px;
    margin-bottom: 10px;
}

.notice-warning {
    font-style: italic;
    margin-bottom: 20px;
}

.policy-section {
    margin-bottom: 30px;
}

.policy-section h2 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text-color);
}

.policy-section p {
    margin-bottom: 15px;
}

.policy-section ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.policy-section li {
    margin-bottom: 10px;
}

/* Footer */
.new1 {
    position: relative;
    right: 20px;
}
footer {
    background-color: #000;
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-column {
    flex: 1;
    min-width: 160px;
    margin-bottom: 30px;
    margin-right: 20px;
}

.footer-column:last-child {
    margin-right: 0;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 20px;
}

.footer-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links li {
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 100;
}

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

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

.footer-subscribe p {
    margin-bottom: 10px;
    font-size: 14px;
}

.subscribe-form {
    display: flex;
    margin-top: 15px;
    border: 1px solid grey;
    border-radius: 8px;
    padding: 0 15px;
}

.subscribe-input {
    flex: 1;
    padding: 10px;
    border: none;
    background: #000000;
    outline: none;
    color: white;
}

.subscribe-btn {
    background: none;
    border: none;
    color: white;
    padding: -10px;
    cursor: pointer;
}

.qr-code {
    width: 100px;
    height: 130px;
    margin: 10px 0;
    background-color: #fff;
}

.footer-social-icons {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.footer-social-icons a {
    color: white;
}

.footer-bottom {
    margin-top: 30px;
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    font-size: 14px;
    color: #999;
}

/* Responsive Styles */
@media screen and (max-width: 1024px) {
    .faq-container {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
    }

    .sidebar ul {
        display: flex;
        flex-wrap: wrap;
        border-left: none;
        border-bottom: 1px solid var(--border-color);
    }

    .sidebar li {
        padding: 10px 15px;
        border-bottom: none;
        margin-right: 10px;
    }

    .sidebar li:first-child {
        border-left: none;
        border-bottom: 3px solid var(--primary-color);
        margin-left: 0;
        padding-left: 10px;
    }
}

@media screen and (max-width: 768px) {
    #preloader img {
        width: min(100px, 20vw);
    }
    .logo img {
        max-height: 50px; /* Ensures the logo isn't too tall */
        width: 150px; /* Keeps the original aspect ratio */
        display: block; /* Removes extra spacing */
    }
    .announcement-bar .promo {
        font-size: 12px;
    }
    .language-selector {
        display: none;
    }
    .new1 {
        position: relative;
        left: 6px;
    }
    .header-container {
        padding: 10px 0;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        z-index: 99;
        color: black;
    }

    .nav-menu.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }
    .hero {
        padding: 10px;
        min-height: 310px;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
        padding: 10px;
    }

    .hero-title {
        font-size: 15px;
        font-weight: 400;
    }
    .hero-description {
        font-size: 13px;
        font-weight: lighter;
    }

    .hero-image {
        opacity: 0.3;
        width: 100%;
        right: auto;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    .search-box button {
        position: absolute;
        right: 3px;
        top: 3px;
        background-color: var(--primary-color);
        color: white;
        border: none;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }

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

    .values-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        position: relative;
        left: -9px;
    }
    .value-card,
    .value-title,
    .value-description {
        width: 100%;
    }
    .subscribe-form {
        width: 65%;
    }
    .subscribe-input {
        width: 20%;
    }
    .subscribe-btn {
        position: relative;
        right: 25px;
    }
}

@media screen and (max-width: 480px) {
    .header {
        padding: 10px 15px;
    }

    .hero h1 {
        font-size: 24px;
    }

    .search-box input {
        padding: 12px 15px;
        font-size: 14px;
    }

    .search-box button {
        width: 35px;
        height: 35px;
    }

    .accordion-title {
        font-size: 15px;
    }

    .subscribe-form input {
        width: 150px;
    }
}
