:root {
    --cor1: #c1c1ff;
    --cor2: #5d5bed;
    --cor3: #6260ee;
    --cor-border: #dfdfdf;
    --cor-bg1: #f4f4ff;
    --cor-bg2: #e8e8ff;
    --cor-bg3: #7d7dff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    letter-spacing: 0.25px;
}

body {
    background-color: var(--cor-bg1);
}

.container {
    margin: 0 auto;
}

header {
    position: fixed;
    left: 0;
    right: 0;
    height: 68px;
    background-color: #fdfdfd;
    border-bottom: 1px solid var(--cor-border);
    z-index: 5;
}

.header-content {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo a {
    text-decoration: none;
}

.logo a img {
    width: 80px;
}

.categories-dropdown {
    position: relative;
    font-family: 'Poppins', sans-serif;
}

.dropdown-btn {
    background: var(--cor3);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.arrow-down {
    width: 10px;
}

.login-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--cor3);
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    margin-left: 20px;
    padding: 2px;
    border: 1px solid var(--cor3);
    border-radius: 100%;
    transition: all 0.2s ease;
}

.login-btn img {
    width: 32px;
}

.login-btn img:first-child {
    display: block;
}

.login-btn img:last-child {
    display: none;
}

.login-btn:hover {
    background: var(--cor3);
    color: white;
}

.login-btn:hover img:first-child {
    display: none;
}

.login-btn:hover img:last-child {
    display: block;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    background-color: white;
    min-width: 180px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-radius: 4px;
    z-index: 10;
}

.dropdown-content a {
    color: #333;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 14px;
}

.dropdown-content a:hover {
    background-color: var(--cor-bg1);
}

.categories-dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-btn:hover {
    background: var(--cor2);
}

.search-form {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    border: 1px solid var(--cor-border);
    border-radius: 50px;
    width: 50%;
    transition: all 0.2s ease-in-out;
    margin: 0 auto;
}

.search-form:hover {
    background-color: rgb(244, 244, 255);
}

.search {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.search input {
    height: 30px;
    border: none;
    background-color: transparent;
    width: 92%;
    padding-left: 15px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.8em;
}

.search i {
    cursor: pointer;
    padding: 0 10px;
    margin-left: auto;
}

.search i img {
    width: 16px;
}

.content {
    width: 100%;
    padding-top: 100px;
}

.banner-section {
    width: 100%;
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
    border: none;
}

.slider {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    cursor: pointer;
}

.slide.active {
    opacity: 1;
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(93, 91, 237, 0.5);
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    transition: background-color 0.2s;
    z-index: 2;
}

.slider-nav:hover {
    background: rgba(93, 91, 237, 0.8);
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 2;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: var(--cor1);
    cursor: pointer;
    padding: 0;
    transition: background-color 0.2s;
}

.dot.active {
    background: var(--cor2);
}

.dot:hover {
    background: var(--cor3);
}

.categories-section {
    font-family: 'Poppins-Medium', sans-serif;
    font-size: 1rem;
    margin-bottom: 10px;
}

.categories-list {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.category-link {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    padding: 10px 20px;
    cursor: pointer;
    text-decoration: none;
    color: var(--cor2);
}

.category-link.active {
    background-color: var(--cor-bg3);
    color: #fff;
}

.category-link:hover:not(.active) {
    background-color: var(--cor-bg2);
}

.products-section {
    /* max-width: 1200px; */
    /* margin: 0 auto; */
    font-family: 'Poppins-SemiBold', sans-serif;
}

.products-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-card {
    display: flex;
    align-items: flex-start;
    background-color: #fdfdfd;
    border: 1px solid var(--cor-border);
    border-radius: 10px;
    padding: 20px;
    position: relative;
    cursor: pointer;
}

.product-card .product-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.product-card .product-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    height: 150px;
    justify-content: space-between;
}

.product-card .product-details {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.product-card .actions {
    display: inline-flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--cor-border);
    border-radius: 50px;
    padding: 2px;
    margin-top: 15px;
    width: fit-content;
}

.product-card .actions button:first-child {
    margin-left: 12px;
}

.product-card .actions button:last-child {
    margin-right: 12px;
}

.like-button, .comments-button, .share-button {
    display: flex;
    align-items: center;
    gap: 5px;
    background: transparent;
    border: none;
    color: #666;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    padding: 5px;
    transition: color 0.2s;
    position: relative;
    z-index: 2;
}

.like-button:hover, .comments-button:hover, .share-button:hover {
    opacity: 0.8;
}

.like-button img, .comments-button img, .share-button img {
    width: 20px;
    height: 20px;
    margin: 0;
}

.comments-section {
    display: none;
    margin-top: 15px;
    padding: 15px;
    background: #f8f8f8;
    border-radius: 8px;
    width: 100%;
}

.comments-section.active {
    display: block;
}

.comments-section h4 {
    font-family: 'Poppins-Medium', sans-serif;
    font-size: 1rem;
    color: #333;
    margin-bottom: 10px;
}

.product-image {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 20px;
}

.product-card h3 {
    font-size: 1.4rem;
    color: #333;
    margin-top: 0;
}

.product-card .price {
    font-size: 1.3rem;
    font-weight: 500;
    color: #5d5bed;
    font-family: 'Poppins-Bold', sans-serif;
}

.product-card .price .currency {
    font-size: 1.1rem;
    font-weight: normal;
    margin-right: 3px;
}

.popup {
    padding: 20px 30px;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    position: fixed;
    top: 100%;
    left: 50%;
    background: var(--cor1);
    color: var(--cor2);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%);
    transition: transform 0.3s, opacity 0.2s, visibility 0.2s;
}

.popup.active {
    transform: translateX(-50%) translateY(-120%);
    opacity: 1;
    visibility: visible;
}

.loading-indicator {
    text-align: center;
    padding: 20px;
    width: 100%;
}

.spinner {
    width: 40px;
    height: 40px;
    margin: 0 auto;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@font-face {
    font-family: 'Poppins-Light';
    src: url('../fonts/Poppins-Light.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-Regular.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins-Medium';
    src: url('../fonts/Poppins-Medium.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins-SemiBold';
    src: url('../fonts/Poppins-SemiBold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins-Bold';
    src: url('../fonts/Poppins-Bold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
}

@media (min-width: 1200px) {
    .container {
        max-width: 1200px;
    }
}

@media (max-width: 480px) {
    .product-card {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }

    .product-image {
        margin-right: 0;
        margin-bottom: 15px;
        width: 100%;
        height: auto;
        max-width: 200px;
    }
}

@media (max-width: 320px) {
}
