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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #f5f5f5;
}

/* Header */
header {
    background-color: white;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e0e0e0;
}

.logo {
    font-size: 32px;
    font-weight: bold;
    color: #000;
}

.logo img {
    height: 100px;
    width: auto;
}

.logo .small-text {
    font-size: 12px;
    color: #666;
    display: block;
}

.search-bar {
    flex: 1;
    margin: 0 40px;
    display: flex;
    align-items: center;
    background-color: #f0f0f0;
    border-radius: 20px;
    padding: 8px 15px;
}

.search-bar input {
    border: none;
    background: none;
    flex: 1;
    outline: none;
    font-size: 14px;
}

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

.header-icons span {
    cursor: pointer;
    font-size: 18px;
}

.location {
    font-size: 12px;
    text-align: right;
}

/* Navigation */
nav {
    background-color: #000;
    padding: 15px 40px;
    display: flex;
    gap: 30px;
}

nav a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    cursor: pointer;
}

nav a:hover {
    opacity: 0.8;
}

.carousel-container {
    background-image: url(img/capa.svg);
    background-size: cover;       /* cobre o container inteiro */
    background-position: center;  /* centraliza a imagem */
    background-repeat: no-repeat; /* evita repetição */
    padding: 40px;
    position: relative;
}


.carousel {
    
    border-radius: 10px;
    padding: 60px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    min-height: 400px;
    position: relative;
}

.carousel-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    gap: 40px;
}

.carousel-text {
    flex: 1;
}

.carousel-text h2 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.carousel-text p {
    font-size: 20px;
    color: #666;
}

.carousel-image {
    flex: 1;
    height: 350px;
    overflow: hidden;
}

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


.product-info {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    left: 0;
    background-image: url(capa.svg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.product-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 8px;
}

.product-specs {
    font-size: 12px;
    color: #666;
    margin-bottom: 15px;
}

.price-label {
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
}

.price-old {
    font-size: 18px;
    color: #333;
    text-decoration: line-through;
    margin-right: 10px;
}

.price-new {
    display: inline-block;
    background-color: #000;
    color: white;
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
}

.price-discount {
    display: inline-block;
    background-color: #4169e1;
    color: white;
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 14px;
    margin-left: 10px;
    margin-top: 5px;
}

.carousel-dots {
    text-align: center;
    padding: 20px 0;
}

.dot {
    height: 10px;
    width: 10px;
    margin: 0 5px;
    background-color: #ccc;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
}

.dot.active {
    background-color: #2196F3;
}

/* Products Section */
.products-section {
    padding: 40px;
    background-color: white;
}

.products-container {
    display: flex;
    gap: 30px;
    justify-content: space-between;
    overflow-x: auto;
    padding: 20px 0;
}

.product-card {
    flex: 0 0 auto;
    width: 200px;
    text-align: center;
    cursor: pointer;
}

.product-image {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, #87ceeb 0%, #87ceeb 50%, #ff6b9d 50%, #ff6b9d 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
}

.product-image img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.product-card h3 {
    font-size: 14px;
    margin-bottom: 8px;
    color: #333;
}

.product-card p {
    font-size: 12px;
    color: #666;
}

/* Navigation Arrows */
.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.nav-arrow.left {
    left: 20px;
}

.nav-arrow.right {
    right: 20px;
}

.nav-arrow:hover {
    background-color: white;
}

/* Sidebar */
.sidebar {
    position: fixed;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    min-width: 50px;
    z-index: 5;
}

.sidebar-icon {
    font-size: 20px;
    margin: 10px 0;
    cursor: pointer;
}

.sidebar-text {
    font-size: 10px;
    color: #666;
    margin-top: 5px;
}

.produto-detalhe {
    max-width: 1200px;
    margin: 40px auto;
    background: white;
    border-radius: 15px;
    padding: 40px;
    display: flex;
    gap: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.produto-detalhe img {
    width: 420px;
    max-width: 100%;
    object-fit: contain;
}

.produto-detalhe .info {
    flex: 1;
}

.produto-detalhe h1 {
    font-size: 32px;
    margin-bottom: 10px;
    color: #000;
}

.produto-detalhe p {
    font-size: 14px;
    color: #666;
    margin-bottom: 25px;
}

.produto-detalhe label {
    font-size: 13px;
    font-weight: 500;
    color: #333;
    display: block;
    margin-bottom: 8px;
}

.produto-detalhe select {
    width: 100%;
    padding: 12px 15px;
    border-radius: 10px;
    border: 1px solid #ddd;
    background-color: #f5f5f5;
    font-size: 14px;
    margin-bottom: 20px;
    outline: none;
}

.produto-detalhe select:focus {
    border-color: #000;
    background-color: #fff;
}

.produto-detalhe .preco {
    font-size: 28px;
    font-weight: bold;
    color: #000;
    margin: 20px 0;
}

.produto-detalhe button {
    width: 100%;
    padding: 15px;
    background-color: #000;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.produto-detalhe button:hover {
    background-color: #222;
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .produto-detalhe {
        flex-direction: column;
        padding: 25px;
    }

    .produto-detalhe img {
        width: 100%;
    }
}
