* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f8f9fa;
}

/* ========= FIRST NAVBAR ======== */

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #333;
    color: white;
    position: relative;
}

.logo {
    font-size: 1.5em;
    font-weight: bold;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links li {
    display: inline;
}

/* .nav-links .a {
    color: white;
    text-decoration: none;
    font-size: 1em;
} */

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1em;
}

.nav-links a:hover {
    color: #e95e02;
}

/* Navigation Buttons */
.nav-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.login-btn, .logout-btn, .cart-btn {
    background: white;
    text-decoration: none;
    color: #d45500;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 1em;
    border-radius: 5px;
    position: relative;
}



/* Cart Counter */
.cart-btn {
    position: relative;
}

.cart-btn span {
    background: red;
    color: white;
    font-size: 14px;
    border-radius: 50%;
    padding: 4px 8px;
    position: absolute;
    top: -8px;
    right: -8px;
}

/* Menu Toggle */
.menu-toggle {
    display: none;
    font-size: 1.5em;
    cursor: pointer;
    padding: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        background: #444;
        text-align: center;
        padding: 10px 0;
        transition: all 0.3s ease-in-out;
    }

    .nav-links.show {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }
}


/* ========= SECOND NAVBAR ======== */

.navbar-2 {
    display: flex;
    justify-content: center;
    padding: 12px;
    background: #f8f8f8;
    border-bottom: 2px solid #ddd;
}

.search-container {
    display: flex;
    align-items: center;
    border: 2px solid #ccc;
    border-radius: 30px;
    overflow: hidden;
    width: 55%;
    background: white;
    transition: 0.3s ease-in-out;
}

/* Category Dropdown */
.category-dropdown {
    border: none;
    background: #eee;
    padding: 12px;
    font-size: 1em;
    cursor: pointer;
    outline: none;
    border-right: 2px solid #ccc;
}

.category-dropdown:focus {
    background: #ddd;
}

/* Search Input */
.search-input {
    flex: 1;
    border: none;
    padding: 12px;
    font-size: 1em;
    outline: none;
}

/* Search Button */
.searchs-btn {
    border: none;
    background: #ff6f00;
    color: white;
    padding: 12px 18px;
    cursor: pointer;
    font-size: 1em;
    transition: 0.3s;
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
}

.searchs-btn:hover {
    background: #e65c00;
}

/* Responsive Design */
@media (max-width: 768px) {
    .search-container {
        width: 90%;
    }
}


/* ========== CHECKOUT PAGE ========= */

.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 20px;
}

.cart-section {
    flex: 2;
    background: #fff;
    padding: 20px;
    overflow-y: auto !important     ;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.cart-summary-card {
    flex: 1;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 300px;
}

#cart-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.cart-item img {
    width: 50px;
    height: 50px;
    border-radius: 5px;
}

.cart-item p {
    margin: 0;
}

.cart-summary-card select,
button {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    cursor: pointer;
}

button {
    background: #28a745;
    color: white;
    font-weight: bold;
    border: none;
}

button:hover {
    background: #218838;
}

hr {
    border: 0.5px solid #ddd;
}

/* Payment Card Modal */
#payment-card {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden; /* Hidden by default */
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

#payment-card.show {
    visibility: visible;
    opacity: 1;
}

.payment-content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.payment-content button {
    width: 100%;
    margin-top: 10px;
    padding: 10px;
}

#close-payment {
    background: #dc3545;
}

#close-payment:hover {
    background: #c82333;
}

.hidden {
    display: none;
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
        align-items: center;
    }

    .cart-section,
    .cart-summary-card {
        width: 100%;
        max-width: 400px;
        margin-bottom: 20px;
    }
}

/* ======= FOOTER SECTION ======== */

footer {
    background-color: #ebebeb;
    color: #000000;
    padding: 50px 20px;
    font-family: Arial, sans-serif;
}

/* Footer Rows */
.footer-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 20px 0;
}

/* First Row */
.first-row .column {
    width: 18%;
    text-align: left;
}

.first-row h4 {
    font-size: 18px;
    margin-bottom: 12px;
    color: #000000;
}

.first-row h4 a {
    color: #000000;
    text-decoration: none;
    font-size: 24px;
    transition: color 0.3s ease-in-out;
}

.first-row h4 a:hover {
    color: #d45500;
    text-decoration: underline;
    font-size: 26px;
    font-weight: bold;
}

.first-row p {
    font-size: 14px;
    color: #000000;
    margin-bottom: 10px;
}

.first-row ul {
    list-style: none;
    padding: 0;
}

.first-row ul li {
    margin-bottom: 6px;
}

.first-row ul li a {
    color: #000000;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease-in-out;
}

.first-row ul li a:hover {
    color: #d45500;
}

/* Social Icons */
.social-icons {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.social-icons i {
    font-size: 35px;
    transition: transform 0.3s ease-in-out;
}

.social-icons .facebook {
    color: #3b5998;
}

.social-icons .facebook:hover {
    color: #052e85;
}

.social-icons .instagram {
    color: #c13584;
}

.social-icons .instagram:hover {
    color: #e92e6c;
}

.social-icons .twitter {
    color: #000000;
}

.social-icons .twitter:hover {
    color: #3d3d3f;
}

.social-icons .youtube {
    color: #ff0000;
}

.social-icons .youtube:hover {
    color: #c70000;
}

.social-icons .tiktok {
    color: #000;
}

.social-icons .tiktok:hover {
    color: #2e2e2e;
}

/* Second Row */
.second-row {
    border-top: 1px solid #444;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Currency & Country Dropdowns */
.currency-select,
.country-select {
    width: 48%;
    padding: 12px;
    background: #222;
    color: #fff;
    border: 1px solid #555;
    border-radius: 5px;
    font-size: 14px;
    outline: none;
    cursor: pointer;
}

/* Subscription Box */
.subscribe-box {
    display: flex;
    align-items: center;
    background: #222;
    border-radius: 25px;
    padding: 6px;
    max-width: 400px;
    margin-top: 5px;
}

.subscribe-box input {
    flex: 1;
    border: none;
    padding: 12px;
    background: none;
    color: #fff;
    font-size: 14px;
}

.subscribe-box input::placeholder {
    color: #bbb;
}

.subscribe-box button {
    background: #e63946;
    color: #fff;
    border: none;
    padding: 12px 18px;
    cursor: pointer;
    border-radius: 25px;
    font-size: 14px;
    transition: background 0.3s ease-in-out;
}

.subscribe-box button:hover {
    background: #d62839;
}

.disclaimer {
    font-size: 12px;
    color: #000000;
    margin-top: 8px;
}

/* Third Row */
.third-row {
    border-top: 1px solid #444;
    padding-top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

/* Payment Icons */
.payment-methods {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.payment-methods img {
    width: 50px;
    border-radius: 5px;
    height: auto;
    margin: 0 8px;
    transition: transform 0.3s ease-in-out;
}

.payment-methods img:hover {
    transform: scale(1.1);
}

/* Mobile Site Link */
.third-row a {
    color: #000000;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    transition: color 0.3s ease-in-out;
}

.third-row a:hover {
    text-decoration: underline;
    color: #e63946;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .footer-row {
        flex-direction: column;
        text-align: center;
    }

    .first-row .column {
        width: 100%;
        margin-bottom: 20px;
    }

    .second-row {
        flex-direction: column;
        text-align: center;
    }

    .second-row .currency-select, .currency-select {
        width: 100%;
        margin-bottom: 10px;
    }

    .currency-select,
    .country-select {
        width: 100%;
        margin-bottom: 10px;
    }

    .subscribe-box {
        max-width: 100%;
    }

    .third-row {
        flex-direction: column;
        text-align: center;
    }

    .payment-methods img {
        margin: 5px;
    }
}
