* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Rubik', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    font-family: 'Rubik', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

/* Announcement Bar */
.announcement-bar {
    width: 100%;
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    color: white;
    padding: 8px 0;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    height: 35px;
}

.announcement-wrapper {
    height: 100%;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
}

.announcement-content {
    display: inline-flex;
    flex-direction: row;
    animation: scroll-horizontal 30s linear infinite;
    gap: 100px;
    white-space: nowrap;
    will-change: transform;
    align-items: center;
}

.announcement-item {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    white-space: nowrap;
    flex-shrink: 0;
    height: 100%;
}

.announcement-text {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.announcement-separator {
    font-size: 1.2rem;
    opacity: 0.8;
}

@keyframes scroll-horizontal {
    0% {
        transform: translateX(100vw);
    }
    100% {
        transform: translateX(calc(-100% - 100px));
    }
}

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

/* Header */
.header {
    width: 100%;
    border-bottom: none;
    padding: 10px 0;
    margin-bottom: 30px;
    background: transparent;
    position: relative;
}

.header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #4A90E2 0%, #357ABD 50%, #4A90E2 100%);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.logo-container {
    margin-bottom: 0;
}

.logo {
    max-width: 90px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Product Section */
.product-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Product Images */
.product-images {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.main-image {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 10px;
    overflow: hidden;
    background: #f0f0f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    touch-action: pan-x pan-y;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease, opacity 0.3s ease;
    user-select: none;
    -webkit-user-drag: none;
}

.main-image:hover img {
    transform: scale(1.05);
}

.image-thumbnails-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.image-thumbnails {
    display: flex;
    gap: 10px;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    width: 100%;
    flex: 1;
    min-width: 0;
    scroll-behavior: smooth;
    max-width: calc(6 * 80px + 5 * 10px);
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.image-thumbnails::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.thumbnail-nav {
    background: #4A90E2;
    color: white;
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
    z-index: 10;
}

.thumbnail-nav:hover {
    background: #357ABD;
    transform: scale(1.1);
}

.thumbnail-nav:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.thumbnail-nav:disabled:hover {
    transform: none;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    background: #f0f0f0;
    flex-shrink: 0;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-user-drag: none;
    pointer-events: auto;
}

.thumbnail[style*="display: none"] {
    display: none !important;
}

.thumbnail:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.thumbnail.active {
    border-color: #667eea;
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.3);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
}

/* Product Info */
.product-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Promotional Banners */
.promo-banners {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.promo-badge {
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.promo-badge.frete-gratis {
    background-color: #4A90E2;
    color: white;
}

.promo-badge.pre-venda {
    background-color: #4A90E2;
    color: white;
}

/* Product Title */
.product-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
    line-height: 1.4;
    margin: 0;
}

/* Rating */
.rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.stars {
    color: #FFD700;
    font-size: 1.5rem;
    letter-spacing: 2px;
}

.rating-count {
    color: #666;
    font-size: 0.9rem;
}

.price-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.price-main {
    display: flex;
    align-items: baseline;
    gap: 15px;
    flex-wrap: wrap;
}

.price {
    font-size: 2.8rem;
    font-weight: 800;
    color: #4A90E2;
    line-height: 1;
}

.price::before {
    content: 'R$';
    font-size: 1.8rem;
    font-weight: 700;
    color: #4A90E2;
    margin-right: 3px;
}

.price-comparison {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.old-price {
    font-size: 1.3rem;
    color: #999;
    text-decoration: line-through;
    font-weight: 500;
}

.discount-badge {
    background-color: #f5576c;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    white-space: nowrap;
}

.economy-text {
    color: #4A90E2;
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

/* Color Selection */
.color-selection h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #333;
}

.color-options {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.color-option {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 3px solid #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.color-option:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.color-option.active {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.3);
}

.color-option.active::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
}

.selected-color {
    font-size: 1rem;
    color: #666;
}

/* Buy Button */
.buy-button {
    padding: 18px 30px;
    font-size: 1.2rem;
    font-weight: bold;
    color: white;
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.4);
}

.buy-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.6);
    background: linear-gradient(135deg, #357ABD 0%, #2a6ba8 100%);
}

.buy-button:active {
    transform: translateY(0);
}

/* Shipping Info */
.shipping-info {
    text-align: center;
}

.shipping-badge {
    display: inline-block;
    padding: 10px 20px;
    background: #e3f2fd;
    color: #1976D2;
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.95rem;
}

/* Highlights */
.highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 0.95rem;
}

.highlight-item .icon {
    font-size: 1.5rem;
}

/* Description Section */
.description-section {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.description-section h2 {
    font-size: 2rem;
    margin-bottom: 25px;
    color: #333;
    border-bottom: 3px solid #667eea;
    padding-bottom: 10px;
}

.description-section h3 {
    font-size: 1.5rem;
    margin: 30px 0 15px 0;
    color: #667eea;
}

.intro-text {
    font-size: 1.2rem;
    font-weight: 500;
    color: #555;
    margin-bottom: 20px;
}

.description-section p {
    margin-bottom: 15px;
    color: #666;
    line-height: 1.8;
}

/* Description Images */
.description-images {
    display: flex;
    flex-direction: column;
    margin: 25px 0;
    gap: 0;
}

.desc-img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0;
    padding: 0;
}

.advantages-section,
.specifications-section,
.package-section,
.usage-tips,
.warranty-section {
    margin: 25px 0;
}

.advantages-list,
.specifications-list,
.package-list,
.tips-list {
    list-style: none;
    padding-left: 0;
}

.advantages-list li,
.specifications-list li,
.package-list li,
.tips-list li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: #666;
    line-height: 1.8;
}

.advantages-list li::before,
.specifications-list li::before,
.package-list li::before,
.tips-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
    font-size: 1.2rem;
}

.indicated-for {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin: 25px 0;
}

.disclaimer {
    font-size: 0.9rem;
    color: #999;
    font-style: italic;
    margin-top: 10px;
}

.manual-link {
    text-align: center;
    margin-top: 30px;
}

.manual-button {
    display: inline-block;
    padding: 15px 30px;
    background: #667eea;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.manual-button:hover {
    background: #5568d3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* Reviews Section */
.reviews-section {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.reviews-section h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #333;
    border-bottom: 3px solid #4A90E2;
    padding-bottom: 10px;
}

.reviews-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.review-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.review-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.reviewer-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.reviewer-name {
    font-weight: 600;
    color: #333;
    font-size: 1rem;
}

.verified-badge {
    font-size: 0.85rem;
    color: #4A90E2;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background-color: #e3f2fd;
    padding: 4px 10px;
    border-radius: 12px;
}

.review-stars {
    color: #FFD700;
    font-size: 1.4rem;
    letter-spacing: 2px;
    flex-shrink: 0;
}

.review-text {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
}

/* FAQ Section */
.faq-section {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.faq-section h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #333;
    border-bottom: 3px solid #667eea;
    padding-bottom: 10px;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.faq-question {
    width: 100%;
    padding: 20px;
    background: #f8f9fa;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #e9ecef;
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: bold;
    color: #667eea;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 20px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 20px;
}

.faq-answer p {
    color: #666;
    line-height: 1.8;
}

/* Footer */
.footer {
    width: 100%;
    background-color: #333;
    color: white;
    padding: 20px 0;
    margin-top: 40px;
    border-top: 2px solid #000;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.footer-content p {
    margin: 0;
    font-size: 0.9rem;
    color: #ccc;
}

/* Responsive Design */
@media (max-width: 768px) {
    .product-section {
        grid-template-columns: 1fr;
        gap: 30px;
        width: 100%;
        max-width: 100%;
        padding: 15px;
        margin: 0;
        box-sizing: border-box;
    }

    .logo {
        max-width: 100px;
    }

    .product-title {
        font-size: 1.3rem;
    }

    .price {
        font-size: 2.2rem;
    }

    .price::before {
        font-size: 1.4rem;
    }

    .old-price {
        font-size: 1.1rem;
    }

    .discount-badge {
        font-size: 0.85rem;
        padding: 3px 10px;
    }

    .highlights {
        grid-template-columns: 1fr;
    }

    .description-section,
    .reviews-section,
    .faq-section {
        padding: 25px 20px;
    }

    .description-section h2,
    .reviews-section h2,
    .faq-section h2 {
        font-size: 1.6rem;
    }

    .reviews-container {
        grid-template-columns: 1fr;
    }

    .color-options {
        justify-content: center;
    }

    .image-thumbnails-wrapper {
        width: 100%;
        max-width: 100%;
        padding: 0 5px;
        box-sizing: border-box;
    }

    .image-thumbnails {
        max-width: calc(4 * 80px + 3 * 10px);
        flex: 1;
        min-width: 0;
    }

    .thumbnail-nav {
        width: 28px;
        height: 28px;
        font-size: 1.1rem;
        flex-shrink: 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }

    .logo {
        max-width: 80px;
    }

    .product-title {
        font-size: 1.1rem;
    }

    .price {
        font-size: 1.8rem;
    }

    .price::before {
        font-size: 1.2rem;
    }

    .old-price {
        font-size: 1rem;
    }

    .discount-badge {
        font-size: 0.8rem;
        padding: 3px 8px;
    }

    .economy-text {
        font-size: 0.9rem;
    }

    .buy-button {
        font-size: 1rem;
        padding: 15px 20px;
    }

    .image-thumbnails-wrapper {
        width: 100%;
        max-width: 100%;
        padding: 0 5px;
        box-sizing: border-box;
    }

    .image-thumbnails {
        max-width: calc(4 * 80px + 3 * 10px);
        flex: 1;
        min-width: 0;
    }

    .thumbnail-nav {
        width: 28px;
        height: 28px;
        font-size: 1.1rem;
        flex-shrink: 0;
    }
}

