/* Global font family */
body {
    font-family: 'Roboto', sans-serif;
}

/* Top Announcement Bar */
.top-announcement-bar {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
    z-index: 1060;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.top-announcement-bar.verified {
    background: linear-gradient(135deg, #28a745, #20c997);
}

.top-announcement-bar.verifying {
    background: linear-gradient(135deg, #ffc107, #fd7e14);
    animation: pulse 1.5s ease-in-out infinite alternate;
}

@keyframes pulse {
    0% {
        opacity: 0.8;
    }
    100% {
        opacity: 1;
    }
}

.top-announcement-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Loading Spinner */
.loading-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
}

.spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.loading-spinner.hidden {
    display: none !important;
}

/* Trust Badges */
.trust-badges .badge {
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
}

/* Urgency Timer */
.urgency-timer .alert {
    background: linear-gradient(135deg, #dc3545, #c82333);
    border: none;
    color: white;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
}

.timer-display {
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    font-weight: bold;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.3rem 0.8rem;
    border-radius: 8px;
    letter-spacing: 1px;
}

/* Stock Counter */
.stock-counter {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 0.75rem;
}

.stock-number {
    background: linear-gradient(135deg, #ffc107, #fd7e14);
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.9rem;
}

.stock-bar {
    width: 60px;
    height: 6px;
    background: #e9ecef;
    border-radius: 3px;
    overflow: hidden;
}

.stock-progress {
    width: 30%;
    height: 100%;
    background: linear-gradient(135deg, #dc3545, #c82333);
    border-radius: 3px;
    animation: pulse-bar 2s ease-in-out infinite;
}

@keyframes pulse-bar {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Social Proof */
.social-proof .alert {
    background: linear-gradient(135deg, #17a2b8, #138496);
    border: none;
    color: white;
}

/* Enhanced Price Section */
.price-current {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0066cc !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.price-savings {
    font-size: 0.8rem;
    animation: bounce-savings 2s ease-in-out infinite;
}

@keyframes bounce-savings {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.price-per-day {
    font-size: 1rem;
    background: linear-gradient(135deg, #28a745, #20c997);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Enhanced CTA Button */
.btn-cta-primary {
    background: linear-gradient(135deg, #28a745, #20c997);
    border: none;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.4);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-cta-primary:hover {
    background: linear-gradient(135deg, #20c997, #28a745);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.5);
    color: white;
}

.btn-cta-primary::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;
}

.btn-cta-primary:hover::before {
    left: 100%;
}

.pulse-animation {
    animation: pulse-cta 3s ease-in-out infinite;
}

@keyframes pulse-cta {
    0%, 100% { 
        box-shadow: 0 4px 15px rgba(40, 167, 69, 0.4);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 6px 25px rgba(40, 167, 69, 0.6);
        transform: scale(1.02);
    }
}

.cta-text {
    font-size: 1.2rem;
    font-weight: 800;
}

/* Security badges under CTA */
.cta-section small {
    font-size: 0.8rem;
}

.header-shadow {
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: top 0.3s ease;
}

body.bar-verified .header-shadow {
    top: 0;
}

.header-shadow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to bottom, #d9d9d9, #efefef);
    z-index: -1;
}

/* Breadcrumb customization */
.breadcrumb {
    font-size: 0.875rem;
    color: #888;
}

.breadcrumb-item a {
    color: #888;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: #0066cc;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "/";
    color: #888;
}

/* Product images carousel */
.product-images {
    max-width: 100%;
    overflow: hidden;
}

.carousel {
    max-width: 500px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.image-container {
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    overflow: hidden;
}

.image-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
}

/* Carousel controls customization */
.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 102, 204, 0.8);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s ease;
}

.carousel:hover .carousel-control-prev,
.carousel:hover .carousel-control-next {
    opacity: 1;
}

.carousel-control-prev {
    left: 15px;
}

.carousel-control-next {
    right: 15px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 20px;
    height: 20px;
}

/* Carousel indicators - linha style */
.carousel-indicators {
    bottom: 15px;
    margin-bottom: 0;
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-left: 0%;
    margin-right: 0%;
}

.carousel-indicators [data-bs-target] {
    flex: 1;
    height: 4px;
    border-radius: 2px;
    background-color: #e0e0e0 !important;
    border: none;
    margin: 0;
    transition: all 0.3s ease;
    min-width: 20px;
}

.carousel-indicators .active {
    background-color: #007dc5 !important;
}

/* Product info section */
.product-category {
    font-size: 1rem;
    font-weight: 400;
    color: #888;
    margin-bottom: 0.5rem;
}

.product-title {
    font-size: 1.75rem;
    font-weight: 400;
    color: #333;
    line-height: 1.3;
    margin-bottom: 1rem;
}

/* Product variations */
.product-variations h6 {
    font-weight: 600;
    color: #333;
}

.variation-option {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 0.75rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.variation-option:hover {
    border-color: #0066cc;
    background-color: #f8f9ff;
}

.variation-option input[type="radio"]:checked + label {
    color: #0066cc;
}

.variation-option:has(input[type="radio"]:checked) {
    border-color: #0066cc;
    background-color: #f8f9ff;
}

.variation-option label {
    cursor: pointer;
    margin-bottom: 0;
    padding: 0;
}

.variation-option input[type="radio"] {
    display: none;
}

.stars i {
    font-size: 1rem;
}

/* Price section */
.price-section h2 {
    font-weight: 700;
    color: #0066cc !important;
}

/* Discount program */
.discount-program {
    border: 1px solid #ffebee;
    background-color: #fafafa !important;
}

.discount-program h6 {
    color: #d32f2f;
    font-weight: 600;
}

.discount-program .btn-danger {
    background-color: #ff6b6b;
    border-color: #ff6b6b;
    font-weight: 500;
}

.discount-program .btn-danger:hover {
    background-color: #ff5252;
    border-color: #ff5252;
}

/* Delivery info */
.delivery-info {
    margin-top: 1rem;
}

.free-shipping {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 0.75rem;
}

.free-shipping i {
    font-size: 1.5rem;
}

.free-shipping strong {
    font-size: 1rem;
}

/* Tabs */
.nav-tabs .nav-link {
    color: #6c757d;
    border: none;
    border-bottom: 2px solid transparent;
    font-weight: 500;
}

.nav-tabs .nav-link.active {
    color: #0066cc;
    border-bottom-color: #0066cc;
    background-color: transparent;
}

.nav-tabs .nav-link:hover {
    border-bottom-color: #ccc;
}

/* Reviews section */
.reviews-summary h5 {
    font-weight: 600;
}

.review-item {
    background: #fafafa;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.rating-breakdown {
    font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .carousel {
        max-width: 100%;
        margin: 0;
    }
    
    .image-container {
        height: 300px;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
    }
    
    .carousel-control-prev {
        left: 10px;
    }
    
    .carousel-control-next {
        right: 10px;
    }

    
    .carousel-indicators [data-bs-target] {
        height: 3px;
        min-width: 15px;
    }
    
    .price-section .d-flex {
        flex-wrap: wrap;
        gap: 0.5rem !important;
    }
    
    .price-section .btn {
        flex: 1;
        min-width: 120px;
    }
}

/* Custom button styles */
.btn-primary {
    background-color: #0066cc;
    border-color: #0066cc;
    font-weight: 500;
}

.btn-primary:hover {
    background-color: #0052a3;
    border-color: #0052a3;
}

/* Floating Buy Button */
.floating-buy-btn {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #0066cc, #004499);
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1050;
    padding: 0.75rem 0;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

.floating-buy-btn.show {
    transform: translateY(0);
}

.floating-product-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    background: white;
    border-radius: 8px;
    padding: 4px;
}

.floating-buy-btn .btn-warning {
    background-color: #ffc107;
    border-color: #ffc107;
    color: #000;
    box-shadow: 0 2px 8px rgba(255, 193, 7, 0.3);
}

.floating-buy-btn .btn-warning:hover {
    background-color: #ffb300;
    border-color: #ffb300;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.4);
}

/* Footer styles */
footer {
    border-top: 1px solid #dee2e6;
}

footer .social-links a {
    font-size: 1.3rem;
    transition: color 0.3s ease;
}

footer .social-links a:hover {
    color: #0066cc !important;
}

footer h6 {
    font-weight: 600;
    margin-bottom: 0.75rem;
}

/* FAQ Section */
.faq-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 12px !important;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

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

.accordion-button {
    background: white;
    border: none;
    padding: 1.25rem 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    font-size: 1rem;
    border-radius: 12px !important;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, #0066cc, #004499);
    color: white;
    box-shadow: none;
}

.accordion-button:not(.collapsed) .bi {
    color: #ffc107 !important;
}

.accordion-button:focus {
    box-shadow: none;
    border: none;
}

.accordion-button::after {
    background-size: 1.2rem;
    margin-left: auto;
}

.accordion-body {
    padding: 1.5rem;
    background: white;
    color: #555;
    line-height: 1.6;
    font-size: 0.95rem;
}

.accordion-body strong {
    color: #0066cc;
}

/* Disclaimer styles */
.disclaimer-text {
    max-height: 200px;
    overflow-y: auto;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    font-size: 0.75rem !important;
    line-height: 1.4;
}

.disclaimer-text p {
    margin-bottom: 0.75rem !important;
    font-size: 0.75rem !important;
}

.disclaimer-text::-webkit-scrollbar {
    width: 6px;
}

.disclaimer-text::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.disclaimer-text::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

.disclaimer-text::-webkit-scrollbar-thumb:hover {
    background: #999;
}

/* Mobile optimizations */
@media (max-width: 768px) {
    /* Trust badges mobile */
    .trust-badges {
        text-align: center;
    }
    
    .trust-badges .badge {
        font-size: 0.7rem;
        margin-bottom: 0.25rem;
    }
    
    /* Timer mobile */
    .timer-display {
        font-size: 1rem;
        padding: 0.25rem 0.6rem;
    }
    
    /* Stock counter mobile */
    .stock-counter {
        padding: 0.5rem;
    }
    
    .stock-number {
        font-size: 0.85rem;
        padding: 0.15rem 0.4rem;
    }
    
    .stock-bar {
        width: 50px;
        height: 5px;
    }
    
    /* Price section mobile */
    .price-current {
        font-size: 2rem;
    }
    
    .price-savings {
        font-size: 0.75rem;
    }
    
    .price-per-day {
        font-size: 0.9rem;
    }
    
    /* CTA button mobile */
    .btn-cta-primary {
        font-size: 1rem;
        padding: 1rem;
    }
    
    .cta-text {
        font-size: 1.1rem;
    }
    
    /* Floating button mobile adjustments */
    .floating-buy-btn .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .floating-product-img {
        width: 40px;
        height: 40px;
    }
    
    .floating-buy-btn h6 {
        font-size: 0.9rem;
    }
    
    .floating-buy-btn .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
} 