@import url('https://fonts.googleapis.com/css2?family=Honk&family=Outfit:wght@300;400;600;700;800;900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');

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

html {
    scroll-behavior: smooth;
}

body {
    background: #e3e6e6;
    overflow-x: hidden;
    min-height: 100vh;
}

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

/* Navigation Styles */
nav {
    background: #131921;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

nav.scrolled {
    padding: 5px 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.logo {
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.nav-country {
    display: flex;
    align-items: end;
    margin-left: 15px;
    font-size: 13px;
    color: #c4c4c4;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 5px;
    border-radius: 3px;
}

.nav-country:hover {
    border: 1px solid #fff;
}

.nav-country h1 {
    color: #fff;
    font-size: 14px;
}

.nav-search {
    flex: 1;
    display: flex;
    align-items: center;
    margin-left: 15px;
    border-radius: 4px;
    max-width: 1000px;
    color: gray;
    background: #fff;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.nav-search:focus-within {
    box-shadow: 0 0 0 3px #febd69;
    transform: translateY(-1px);
}

.nav-search-gategory {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    gap: 5px;
    background: #e5e5e5;
    border-radius: 5px 0 0 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.nav-search-gategory:hover {
    background: #d5d5d5;
}

.nav-search-input {
    border: none;
    outline: none;
    padding-left: 20px;
    width: 100%;
    font-size: 14px;
}

.nav-search-icon {
    max-width: 41px;
    padding: 8px;
    background: #febd69;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-search-icon:hover {
    background: #f3a847;
    transform: scale(1.05);
}

.nav-language {
    display: flex;
    align-items: center;
    gap: 2px;
    font-weight: 600;
    margin-left: 15px;
    cursor: pointer;
    padding: 5px;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.nav-language:hover {
    border: 1px solid #fff;
}

.nav-text {
    margin-left: 15px;
    cursor: pointer;
    padding: 5px;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.nav-text:hover {
    border: 1px solid #fff;
}

.nav-text p {
    font-size: 10px;
}

.nav-text h1 {
    font-size: 14px;
}

.nav-cart {
    display: flex;
    align-items: center;
    margin-right: 15px;
    cursor: pointer;
    padding: 5px;
    border-radius: 3px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-cart:hover {
    border: 1px solid #fff;
}

.nav-cart img {
    transition: transform 0.3s ease;
}

.nav-cart:hover img {
    transform: scale(1.1);
}

/* Bottom Navigation */
.nav-bottom {
    display: flex;
    align-items: center;
    padding: 8px 20px;
    background: #232f3e;
    gap: 20px;
    color: #fff;
    font-size: 15px;
    position: sticky;
    top: 60px;
    z-index: 999;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.nav-bottom div,
.nav-bottom p {
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.nav-bottom div:hover,
.nav-bottom p:hover {
    background: #37475a;
}

.nav-bottom div {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
}

/* Header Slider */
.header-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
    margin-bottom: 0;
}

.header-slider ul {
    display: flex;
    overflow-y: hidden;
    transition: transform 0.5s ease-in-out;
    margin: 0;
    padding: 0;
    list-style: none;
}

.header-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 70%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 70%, transparent 100%);
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.header-slider a {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.3);
    color: rgba(0, 0, 0, 0.6);
    text-decoration: none;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.header-slider a:hover {
    background: rgba(255, 255, 255, 0.5);
    color: rgba(0, 0, 0, 0.9);
    padding: 40px 25px;
}

.control-prev {
    left: 0;
}

.control-next {
    right: 0;
}

/* Fade-in Animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Box Styles */
.box-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 20px auto;
    max-width: 1500px;
    padding: 0 20px;
}

.box-col {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 20px;
    background: #fff;
    width: calc(25% - 20px);
    min-width: 280px;
    min-height: 380px;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.box-col::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.box-col:hover::before {
    left: 100%;
}

.hover-lift {
    transition: all 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.box-col h3 {
    font-size: 21px;
    font-weight: 700;
    color: #0f1111;
    margin-bottom: 5px;
    line-height: 1.3;
}

.box-img-container {
    overflow: hidden;
    border-radius: 4px;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f7f7f7;
}

.box-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.box-col:hover .box-img-container img {
    transform: scale(1.1);
}

.box-col a {
    font-size: 14px;
    color: #007185;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.box-col a:hover {
    color: #c7511f;
    text-decoration: underline;
}

.box-col a i {
    transition: transform 0.3s ease;
}

.box-col a:hover i {
    transform: translateX(5px);
}

.header-box {
    margin-top: -350px;
    position: relative;
    z-index: 1;
    padding-top: 20px;
}

/* Products Slider */
.products-slider {
    background: #fff;
    margin: 20px auto;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    max-width: 1500px;
    margin-left: 20px;
    margin-right: 20px;
}

.products-slider h2 {
    font-size: 21px;
    font-weight: 700;
    color: #0f1111;
    margin-bottom: 15px;
    padding-left: 5px;
}

.products-slider .products {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    margin-top: 10px;
    scroll-behavior: smooth;
    padding: 10px 0;
}

.product-item {
    min-width: 200px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.product-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s ease;
    pointer-events: none;
}

.product-item:hover::after {
    background: rgba(0, 0, 0, 0.05);
}

.product-item img {
    max-width: 200px;
    max-height: 200px;
    transition: transform 0.3s ease;
    display: block;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

.products-slider .products::-webkit-scrollbar {
    height: 8px;
}

.products-slider .products::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.products-slider .products::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
    transition: background 0.3s ease;
}

.products-slider .products::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Products Slider with Price */
.products-slider-with-price {
    background: #fff;
    margin: 20px auto;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    max-width: 1500px;
    margin-left: 20px;
    margin-right: 20px;
}

.products-slider-with-price h2 {
    font-size: 21px;
    font-weight: 700;
    color: #0f1111;
    margin-bottom: 15px;
    padding-left: 5px;
}

.products-slider-with-price .products {
    display: flex;
    overflow-x: auto;
    gap: 15px;
    margin-top: 10px;
    scroll-behavior: smooth;
    padding: 10px 0;
}

.products-slider-with-price .products::-webkit-scrollbar {
    height: 8px;
}

.products-slider-with-price .products::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.products-slider-with-price .products::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
    transition: background 0.3s ease;
}

.products-slider-with-price .products::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.product-card {
    display: flex;
    flex-direction: column;
    justify-content: end;
    min-width: 210px;
    background: #fbfbfb;
    padding: 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    border: 1px solid #e0e0e0;
}

.product-img-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
    overflow: hidden;
    border-radius: 4px;
}

.product-card img {
    max-width: 110px;
    transition: transform 0.4s ease;
}

.product-card:hover img {
    transform: scale(1.15) rotate(2deg);
}

.product-offer {
    margin: 8px 0;
}

.product-offer p {
    background: #cc0c39;
    color: #fff;
    display: inline-block;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 13px;
    font-weight: 600;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.product-offer span {
    color: #cc0c39;
    font-weight: 600;
    font-size: 12px;
    margin-left: 5px;
}

.product-price {
    color: gray;
    font-size: 12px;
    margin: 5px 0;
}

.product-price span {
    font-size: 18px;
    font-weight: 700;
    color: #0f1111;
}

.product-card h4 {
    font-size: 14px;
    font-weight: 600;
    margin: 8px 0;
    color: #0f1111;
    line-height: 1.4;
}

/* Footer */
footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #131921;
    color: #fff;
    padding: 40px 60px;
    margin-top: 40px;
    text-align: center;
}

footer img {
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

footer img:hover {
    transform: scale(1.1);
}

footer p {
    line-height: 1.8;
    color: #ddd;
}

footer span {
    font-size: 24px;
    font-weight: 600;
    cursor: pointer;
    color: #febd69;
    transition: color 0.3s ease;
}

footer span:hover {
    color: #f3a847;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #febd69;
    color: #131921;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: #f3a847;
    transform: translateY(-5px);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .box-col {
        width: calc(33.333% - 20px);
    }

    .header-box {
        margin-top: -250px;
    }
}

@media (max-width: 1024px) {
    .box-col {
        width: calc(50% - 20px);
    }

    .header-box {
        margin-top: -200px;
    }
}

@media (max-width: 768px) {
    nav {
        flex-wrap: wrap;
        padding: 10px;
    }

    .nav-search {
        order: 3;
        width: 100%;
        margin: 10px 0;
    }

    .box-col {
        width: 100%;
        min-width: auto;
    }

    .box-row {
        padding: 0 10px;
    }

    .header-box {
        margin-top: -150px;
    }

    .products-slider,
    .products-slider-with-price {
        margin-left: 10px;
        margin-right: 10px;
    }
}

/* Loading Animation */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

.loading {
    animation: shimmer 2s infinite;
    background: linear-gradient(to right, #f0f0f0 0%, #e0e0e0 50%, #f0f0f0 100%);
    background-size: 1000px 100%;
}