@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

:root {
    --primary-color: #e65c0c;
    --secondary-color: #f7741e;
    --text-color: #333;
    --light-text-color: #757575;
    --background-color: #F5F5F5;
    --white-color: #FFFFFF;
    --star-color: #FFC107;
    --border-color: #E0E0E0;
    --green-trust: #2E7D32; 
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    padding-bottom: 120px; 
}

.card {
    background-color: var(--white-color);
    margin-left: 8px;
    margin-right: 8px;
    margin-top: 8px;
    margin-bottom: 8px;
    padding: 16px;
    border-radius: 4px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background-color: rgba(255, 255, 255, 0.8);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

.main-header i {
    font-size: 20px;
}

.header-icons {
    display: flex;
    gap: 20px;
}

main {
    padding-top: 50px; 
}



.image-carousel {
    position: relative;
    width: 100%;
}


.carousel-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--primary-color);
    color: var(--white-color);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    opacity: 0.9;
    transition: opacity 0.2s;
    z-index: 10; 
}

.carousel-images img {
    width: 100%;
    height: auto;
    display: none;
}
.carousel-images img.active {
    display: block;
}
.carousel-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}
.carousel-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(0,0,0,0.3);
    cursor: pointer;
}
.carousel-dots .dot.active {
    background-color: var(--primary-color);
}

.price-section {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 8px 16px;
}
.flash-sale {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 700;
}
.flash-sale .fa-bolt {
    margin-right: 8px;
}
.countdown-text {
    margin-left: auto;
    font-weight: 400;
}
.countdown-timer {
    background-color: rgba(0,0,0,0.2);
    padding: 2px 6px;
    border-radius: 2px;
    margin-left: 8px;
    font-weight: 700;
}
.price-info {
    display: flex;
    align-items: baseline;
    margin-top: 4px;
}
.current-price {
    font-size: 24px;
    font-weight: 700;
}
.original-price {
    font-size: 14px;
    text-decoration: line-through;
    margin-left: 8px;
    opacity: 0.8;
}
.discount-badge {
    background-color: var(--secondary-color);
    font-size: 10px;
    padding: 2px 4px;
    border-radius: 2px;
    margin-left: 12px;
    font-weight: 700;
}
.first-purchase-discount {
    background-color: rgba(255,255,255,0.15);
    border: 1px solid var(--white-color);
    color: var(--white-color);
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 20px;
    display: inline-block;
    margin-top: 8px;
}

/* Informações do Produto */
.product-info-details h1 {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.4;
}
.product-variants {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0;
}
.variant-btn {
    background: #f0f0f0;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 8px 12px;
    font-size: 12px;
    cursor: pointer;
}
.variant-btn.active {
    background-color: #fcebeb;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Detalhes do produto */
.product-details h2 {
    font-size: 16px;
    margin-bottom: 12px;
}
.product-details ul {
    list-style: none;
}
.product-details ul li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    line-height: 1.5;
    font-size: 14px;
}
.product-details ul li i {
    color: var(--primary-color);
    margin-top: 4px;
}

/* Avaliações */
.reviews-section h2 {
    font-size: 16px;
    margin-bottom: 16px;
}
.review {
    border-top: 1px solid var(--border-color);
    padding: 16px 0;
}
.review:first-of-type {
    border-top: none;
    padding-top: 0;
}
.review-author {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}
.review-author img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}
.review-author p {
    font-weight: 500;
}
.review-stars i {
    font-size: 12px;
    color: var(--star-color);
}
.review-text {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 12px;
}
.review-image {
    width: 80px;
    height: 80px;
    border-radius: 4px;
    object-fit: cover;
}

/* Estilos da Seção de Confiança e Loja */
.product-stats-detailed {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.9rem;
    margin-bottom: 16px;
}
.product-stats-detailed .rating {
    display: flex;
    align-items: center;
    gap: 2px;
}
.rating-score {
    font-weight: 500;
    margin-right: 4px;
}
.product-stats-detailed .rating i {
    color: var(--star-color);
    font-size: 0.8rem;
}
.reviews-count {
    color: var(--light-text-color);
    margin-left: 4px;
}
.sold-count {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-color);
}
.sold-count i {
    color: var(--light-text-color);
}
.shipping-info, .refund-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    padding: 8px 0;
    color: var(--text-color);
}
.shipping-info i, .refund-info i {
    color: var(--green-trust);
    font-size: 1.1rem;
}
.trust-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}
.trust-header h3 {
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
}
.trust-level {
    font-size: 0.8rem;
    color: var(--green-trust);
    font-weight: 500;
}
.trust-bar {
    width: 100%;
    height: 4px;
    background-color: #FFCDD2;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 12px;
}
.trust-progress {
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 2px;
}
.trust-metrics {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--light-text-color);
    margin-bottom: 16px;
}
.metric {
    display: flex;
    align-items: center;
    gap: 4px;
}
.metric i {
    font-size: 0.8rem;
}
.reliable-seller-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: #E8F5E9;
    color: var(--green-trust);
    font-size: 0.8rem;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 4px;
}
.store-details {
    display: flex;
    align-items: center;
    gap: 12px;
}
.store-logo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
}
.store-name-detailed {
    flex-grow: 1;
}
.store-name-detailed h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
}
.store-name-detailed p {
    margin: 2px 0 0;
    font-size: 0.8rem;
    color: var(--light-text-color);
}
.follow-btn {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 6px 20px;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    margin-left: auto;
}

/* --- ESTILOS DO RODAPÉ MODIFICADOS E ADICIONADOS --- */

/* Contêiner que agrupa a garantia e a barra de navegação */
.fixed-footer-wrapper {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    box-shadow: 0 -1px 3px rgba(0,0,0,0.1);
}

/* Faixa de Garantia Verde */
.guarantee-banner {
    background-color: #E8F5E9; /* Verde claro */
    color: #2E7D32; /* Verde escuro */
    text-align: center;
    padding: 6px;
    font-size: 13px;
    font-weight: 500;
}

/* Barra de Navegação Inferior */
.sticky-footer {
    display: flex;
    align-items: center;
    height: 60px;
    background-color: var(--white-color);
    padding: 0 8px;
}

/* Ícones do Rodapé (Loja, Chat, Avaliações) */
.footer-icons {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 50%;
    height: 100%;
}
.footer-icons a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: var(--light-text-color);
    font-size: 11px;
    flex-grow: 1;
}
.footer-icons a i {
    font-size: 22px;
    margin-bottom: 2px;
}


.buy-now-btn {
    width: 50%;
    height: 44px;
    background-color: var(--primary-color);
    color: var(--white-color);
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}



.suggestions-section {
    background-color: var(--white-color);
    padding: 16px 0; 
}

.suggestions-section h2 {
    font-size: 1rem;
    font-weight: 500;
    margin: 0 16px 16px 16px; 
}

.suggestions-scroll-container {
    display: flex;
    overflow-x: auto; 
    gap: 12px;
    padding: 0 16px; 
    -ms-overflow-style: none;  
    scrollbar-width: none;  
}

.suggestions-scroll-container::-webkit-scrollbar {
    display: none; 
}

.suggestion-card {
    flex: 0 0 160px; 
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.suggestion-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.suggestion-details {
    padding: 8px;
    display: flex;
    flex-direction: column;
    flex-grow: 1; 
}

.suggestion-title {
    font-size: 13px;
    color: var(--text-color);
    line-height: 1.4;
    height: 36px; 
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 6px;
}

.suggestion-rating {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-bottom: 4px;
}

.suggestion-rating i {
    font-size: 11px;
    color: var(--star-color);
}

.suggestion-rating span {
    font-size: 11px;
    color: var(--light-text-color);
    margin-left: 2px;
}

.suggestion-sold {
    font-size: 11px;
    color: var(--light-text-color);
    margin-bottom: 8px;
}

.suggestion-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-top: auto; 
    margin-bottom: 12px;
}

.suggestion-price .original-price {
    font-size: 11px;
    color: var(--light-text-color);
    text-decoration: line-through;
}

.suggestion-price .current-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
}

.suggestion-btn {
    width: 100%;
    border: none;
    border-radius: 4px;
    padding: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.suggestion-btn.buy {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.suggestion-btn.sold-out {
    background-color: var(--border-color);
    color: var(--light-text-color);
    cursor: not-allowed;
}


.follow-btn.following {
    background-color: var(--primary-color); 
    color: var(--white-color); 
    border-color: var(--primary-color); 
}



.shipping-info, .refund-info {
    padding: 0;
    gap: 6px;
    align-items: center;
}


.delivery-guarantees {
    background-color: var(--white-color);
    border-radius: 4px;
    padding: 12px;
    margin-top: 16px; 
}


.shipping-info {
    font-size: 14px;
    color: var(--light-text-color);
    margin-bottom: 12px;
}
.shipping-info i {
    color: #333; 
    font-size: 16px;
}


.shipping-badge {
    background-color: #E0F2F1; 
    color: #00796B; 
    font-weight: 500;
    padding: 4px 8px;
    border-radius: 4px;
}


.refund-info {
    background-color: #E8F5E9; 
    padding: 10px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    color: #2E7D32; 
}
.refund-info i {
    font-size: 16px;
    color: #2E7D32; 
}


.main-header {
    justify-content: flex-end; 
    background-color: var(--white-color);
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.cart-icon-wrapper {
    position: relative;
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -10px;
    background-color: var(--primary-color);
    color: var(--white-color);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 10px;
    font-weight: 700;
    border: 1px solid var(--white-color);
}




.suggestions-section h2 {
    margin: 0 0 16px 16px; 
}


.suggestions-wrapper {
    position: relative;
}


.suggestions-nav-btn {
    position: absolute;
    top: 40%; 
    transform: translateY(-50%);
    z-index: 10;
    
    background-color: rgba(238, 77, 45, 0.85); 
    color: var(--white-color);
    
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.2s;
}

.suggestions-nav-btn:hover {
    background-color: rgba(238, 77, 45, 1); 
}

#suggest-prev {
    left: 4px; 
}

#suggest-next {
    right: 4px; 
}



.reviews-section h2 {
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
    margin-top: 16px;
}


.rating-distribution {
    margin-bottom: 24px;
}

.rating-distribution h2, .about-product h2 {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 16px;
    border: none;
    padding: 0;
    margin-top: 0;
}

.rating-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
    font-size: 14px;
}

.rating-row .star-label {
    flex-shrink: 0;
    color: var(--light-text-color);
}
.rating-row .star-label i {
    color: var(--star-color);
}

.rating-row .bar {
    flex-grow: 1;
    height: 6px;
    background-color: var(--border-color);
    border-radius: 3px;
    overflow: hidden;
}

.bar .bar-fill {
    height: 100%;
    background-color: var(--star-color);
    border-radius: 3px;
}

.rating-row .count {
    font-size: 12px;
    color: var(--light-text-color);
}


.about-product {
    margin-bottom: 16px;
}

.info-alert {
    background-color: #FFFBEA; 
    border: 1px solid #FEEFB3; 
    border-radius: 4px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.info-alert i {
    color: #F8B400; 
}

.info-alert p {
    font-size: 13px;
    color: #B54A09; 
    margin: 0;
}

.product-description p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-color);
}

.product-description p i {
    margin-right: 4px;
}


.about-product {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}
.about-product h2 { font-size: 1rem; font-weight: 500; border: none; padding: 0; margin-top: 0; margin-bottom: 16px; }

.product-description p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-color);
}
.product-description p i {
    display: none; 
}

.product-section {
    margin-top: 24px;
}
.product-section h3 {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.product-section ul {
    list-style: none;
    padding-left: 0;
}
.product-section ul li {
    display: flex;
    align-items: flex-start; 
    gap: 10px;
    margin-bottom: 10px;
    font-size: 15px;
    line-height: 1.7;
}

.product-section ul li i {
    display: none;
}


.icon-list li {
    font-size: 15px;
    line-height: 1.7;
}

.warning-text {
    font-weight: 500;
    color: var(--text-color);
}
.warning-text i {
    color: #F8B400; 
    margin-right: 4px;
}
.final-cta {
    font-weight: 500;
    font-size: 14px;
    text-align: center;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}
.prev-btn {
    left: 12px;
}
.next-btn {
    right: 12px;
}



.main-footer-links {
    background-color: var(--background-color); 
    padding: 24px 16px;
    margin: 0;
    border-radius: 0;
}

.footer-section {
    margin-bottom: 24px;
}

.footer-section:last-child {
    margin-bottom: 0;
}

.footer-title {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 16px;
    color: var(--text-color);
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 16px;
    color: var(--light-text-color);
    font-size: 14px;
}

.footer-divider {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 24px 0;
}

.guarantees-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; 
    gap: 16px;
}

.guarantee-item {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: var(--text-color);
}

.green-dot {
    width: 8px;
    height: 8px;
    background-color: var(--green-trust);
    border-radius: 50%;
    margin-right: 8px;
}


@media (max-width: 360px) {
    .guarantees-grid {
        grid-template-columns: 1fr; 
    }
}



.chat-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); 
    z-index: 200;
    display: flex;
    justify-content: center;
    align-items: flex-end; 
    
    
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.chat-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.chat-modal-content {
    background-color: var(--white-color);
    width: 100%;
    max-width: 500px; 
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    padding: 16px;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.1);
    transform: translateY(100%);
    transition: transform 0.3s ease-out;
}

.chat-modal-overlay.active .chat-modal-content {
    transform: translateY(0);
}

.chat-header {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-bottom: 24px;
}

.chat-header h2 {
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
}

.close-chat-btn {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--light-text-color);
    cursor: pointer;
}

.chat-message-received {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 24px;
}

.seller-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #eee;
}

.message-bubble {
    background-color: #FF4D6D; 
    color: var(--white-color);
    padding: 12px 16px;
    border-radius: 20px;
    font-size: 14px;
    max-width: 75%;
}

.question-prompt {
    font-size: 14px;
    color: var(--light-text-color);
    margin-bottom: 12px;
}

.quick-questions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.question-btn {
    width: 100%;
    background-color: var(--white-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 14px;
    text-align: left;
    font-size: 14px;
    color: var(--text-color);
    cursor: pointer;
    transition: background-color 0.2s;
}

.question-btn:hover {
    background-color: #f9f9f9;
}



.chat-body {
    max-height: 70vh; 
    overflow-y: auto; 
    padding-right: 8px; 
}


.chat-message-sent {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 16px;
}


.message-bubble-sent {
    background-color: #f0f0f0; 
    color: var(--text-color);
    padding: 12px 16px;
    border-radius: 20px;
    font-size: 14px;
    max-width: 75%;
}



.purchase-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 300;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.purchase-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.purchase-modal-content {
    background-color: var(--white-color);
    width: 100%;
    max-width: 500px;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.1);
    transform: translateY(100%);
    transition: transform 0.3s ease-out;
}

.purchase-modal-overlay.active .purchase-modal-content {
    transform: translateY(0);
}

.purchase-header {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
}

.purchase-header h3 {
    font-size: 1rem;
    font-weight: 500;
}

.close-purchase-btn {
    position: absolute;
    right: 16px;
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--light-text-color);
    cursor: pointer;
}

.purchase-body {
    padding: 16px;
}

.purchase-product-image {
    position: relative;
    width: 100%;
    margin-bottom: 16px;
}

.purchase-product-image img {
    width: 100%;
    border-radius: 8px;
}

.purchase-favorite-btn {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.purchase-favorite-btn i {
    font-size: 16px;
}

.purchase-carousel-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
}
.purchase-carousel-dots .dot {
    width: 7px; height: 7px;
    background-color: #ccc;
    border-radius: 50%;
}
.purchase-carousel-dots .dot.active {
    background-color: var(--primary-color);
}

.purchase-product-title {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 12px;
}

.product-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}
.tag-shipping, .tag-stock {
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 4px;
}
.tag-shipping {
    background-color: #E0F7FA;
    color: #00796B;
    border: 1px solid #B2EBF2;
}
.tag-stock {
    background-color: #FCE4EC;
    color: #C2185B;
    border: 1px solid #F8BBD0;
    display: flex;
    align-items: center;
}
.red-dot {
    width: 6px; height: 6px;
    background: #C2185B;
    border-radius: 50%;
    margin-right: 6px;
}

.purchase-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 16px;
}
.purchase-price .current {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}
.purchase-price .original {
    font-size: 0.9rem;
    color: var(--light-text-color);
    text-decoration: line-through;
}
.purchase-price .discount {
    background-color: #FBE9E7;
    color: var(--primary-color);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 3px 6px;
    border-radius: 4px;
}

.size-selection p {
    font-size: 0.9rem;
    margin-bottom: 10px;
}
.size-options {
    display: flex;
    gap: 10px;
}
.size-btn {
    background: #f0f0f0;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 8px 16px;
    cursor: pointer;
}
.size-btn.active {
    background-color: var(--primary-color);
    color: var(--white-color);
    border-color: var(--primary-color);
}

.purchase-footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 16px;
    border-top: 1px solid var(--border-color);
}
.cancel-btn, .confirm-btn {
    padding: 14px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
}
.cancel-btn {
    background-color: #f0f0f0;
    border: 1px solid var(--border-color);
    color: var(--text-color);
}
.confirm-btn {
    background-color: var(--primary-color);
    border: 1px solid var(--primary-color);
    color: var(--white-color);
}


.purchase-product-image {
    overflow: hidden;
}
.purchase-product-image img {
    display: none; 
}
.purchase-product-image img.active {
    display: block; 
}
.purchase-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 15;
    background-color: rgba(34, 34, 34, 0.6);
    color: var(--white-color);
    width: 32px; height: 32px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}
.purchase-nav-btn.prev { left: 10px; }
.purchase-nav-btn.next { right: 10px; }


.store-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 400; 
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.store-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.store-modal-content {
    background-color: var(--white-color);
    width: 100%;
    max-width: 380px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.store-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
}

.store-modal-header h3 {
    font-size: 1rem;
    font-weight: 500;
}

.close-store-btn {
    background-color: #f0f0f0;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--light-text-color);
    cursor: pointer;
}

.store-modal-body {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 16px;
}

.store-logo-modal {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    flex-shrink: 0;
}

.store-info-details h2 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 8px;
}

.store-info-details p {
    font-size: 0.9rem;
    color: var(--light-text-color);
    line-height: 1.5;
}

.reliable-badge {
    display: inline-block;
    background-color: #E8F5E9;
    color: var(--green-trust);
    font-size: 0.8rem;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 12px;
}


.review > .review-author {
    display: none;
}


.review {
    border-top: 1px solid var(--border-color);
    padding: 16px 0;
}
.reviews-section .review:first-of-type {
    padding-top: 0;
    border-top: none;
}


.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}


.review-author-details {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}


.author-line-1 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.author-name {
    font-weight: 500;
    font-size: 1rem;
    margin: 0; 
}

.review-stars {
    display: flex;
    gap: 2px;
}
.review-stars i {
    font-size: 12px;
    color: var(--star-color);
}


.author-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--light-text-color);
}

.separator-dot {
    font-size: 0.7rem;
}


.follow-user-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-color);
    padding: 6px 16px;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    flex-shrink: 0; 
    transition: background-color 0.2s, color 0.2s;
}

.follow-user-btn.following {
    background-color: var(--primary-color);
    color: var(--white-color);
    border-color: var(--primary-color);
}


.review-text {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 12px;
}

.review-image {
    width: 80px;
    height: 80px;
    border-radius: 4px;
    object-fit: cover;
}


.review-helpful-count {
    margin-top: 12px;
    font-size: 0.85rem;
    color: var(--light-text-color);
}