/* Reset e Configurações Gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: #ffffff;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

.container{
  max-width: 390px!important;
  width:100%;
  margin:0 auto!important;
}

/* Header */
.header {
    background-color: #ffffff;
    border-bottom: 1px solid #e9ecef;
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 3px 20px;
}

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

.back-btn, .menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.back-btn:hover, .menu-btn:hover {
    background-color: #f5f5f5;
}

.header-title {
    flex: 1;
    text-align: center;
}

.header-title h1 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #333;
}

.marker-specs {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.marker-specs span {
    font-size: 12px;
    color: #666;
    line-height: 1.2;
}

/* Product Gallery */
.product-gallery {
    background-color: #ffffff;
    padding: 20px;
    text-align: center;
}

.carousel-container {
    position: relative;
    width: 100%;
    max-width: 390px;
    margin: 0 auto;
    background-color: #f8f9fa;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    height: 350px;
}

.carousel-slide {
    flex: 0 0 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide.active {
    /* Slide ativo */
}

.slide-image {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: 0 auto;
}

.carousel-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: #FF6B35;
}

/* Flash Sale Banner */
.flash-sale {
    background-color: #FC732B;
    color: white;
    padding: 17px 20px 15px 20px;
    margin: 0;
    position: relative;
}

.sale-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 30px;
}

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

.current-price {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.current-price .price {
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.5px;
    margin-right: 5px;
}

.coupon-icon {
    opacity: 0.9;
    filter: brightness(1.2);
}

.prices-wrapp{
  display: flex;
  align-items: center;
}

.original-price {
    font-size: 14px;
    text-decoration: line-through;
    color:#ffc2a2;
    line-height: 1;
    margin-bottom: 2px;
    margin-right: 5px;
}

.discount {
    font-size: 11px;
    line-height: 1;
    font-weight: 500;
    background:#FE5D38;
    padding: 7px 5px;
}

.flash-section {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.flash-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.flash-icon {
    filter: brightness(1.2);
}

.flash-text {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.countdown {
  font-size: 13px;
  opacity: 0.95;
  font-weight: 400;
}

/* Product Info */
.product-info {
    background-color: #ffffff;
    padding: 15px 0;
}

.product-header {
    margin-bottom: 20px;
}

.product-title {
    margin-bottom: 15px;
    line-height: 1;
}

.promo-label {
    background: linear-gradient(97deg, #F1A8B9 -2.55%, #FFF 50.77%, #91F9EE 104.08%);
    color: #000;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 11px;
    display: inline-block;
    font-weight: 400;
}

.title-text {
    font-size: 17px;
    font-weight: 600;
    line-height: 1;
    color: #333;
    display: inline;
}

.product-rating {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 8px;
}

.star-icon {
    width: 18px;
    height: 18px;
    margin-right: 4px;
}

.rating-number {
    font-weight: 600;
    color: #333;
    font-size: 12px;
    margin-right:2px;
}

.reviews-count {
    color: #6895FF;
    font-size: 12px;
    font-weight: 500;
}

.separator {
    color: #E1E4EA;
    margin: 0 6px;
    font-weight: 300;
}

.sales-count {
    color: #525866;
    font-size: 12px;
    font-weight: 500;
}

.shipping-highlight {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 15px 0;
    padding: 12px 0;
}

.truck-icon {
    color: #4CAF50;
    filter: hue-rotate(90deg);
}

.shipping-text {
    color: #4CAF50;
    font-weight: 600;
    font-size: 16px;
}

.shipping-details {
    color: #666;
    font-size: 14px;
    margin-left: auto;
}

.divider {
    height: 1px;
    background-color: #e9ecef;
    margin: 15px 0;
}

.shipping-info {
  display: flex;
  align-items: flex-start;
  margin: 15px 0;
  flex-direction: column;
}

.shipping-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.shipping-details {
  display: flex;
  flex-direction: row;
  gap: 7px;
  align-items: flex-start;
}

.shipping-title {
    font-weight: 500;
    color: #1A6F6A;
    background:#DBF7F8;
    font-size: 12px;
    padding: 1px 7px;
    border-radius: 3px;
}

.shipping-subtitle {
    color: #666;
    font-size: 12px;
}

.shipping-price {
    color: #666;
    font-size: 12px;
    margin: 0 0 0 37px;
}

.return-policy {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #333;
    font-size: 12px;
}

/* Reviews Section */
.reviews-section {
    background-color: #ffffff;
    padding: 20px;
}

.reviews-header {
    margin-bottom: 20px;
}

.reviews-header h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.overall-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
}

.rating-text {
    font-size: 17px;
    font-weight: 600;
    color: #333;
}

.rating-text .sub{
  font-size:14px;
}
.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.review-item {
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.review-item:last-child {
    border-bottom: none;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
    flex-direction: column;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.reviewer-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.reviewer-name {
    font-weight: 500;
    color: #333;
    font-size: 16px;
}

.review-rating {
    display: flex;
    gap: 2px;
    margin-top: 8px;
}

.review-rating .star {
    width: 13px;
    height: 13px;
}

.review-item-info {
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
}

.review-text {
    color: #333;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 12px;
}

.review-images {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.review-photo {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.2s;
}

.review-photo:hover {
    transform: scale(1.05);
}

/* Seller Section */
.seller-section {
    background-color: #ffffff;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 10px solid #f6f6f6;
    border-bottom: 10px solid #f6f6f6;
}

.seller-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.seller-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.seller-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.seller-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.seller-products {
    font-size: 14px;
    color: #666;
}

.follow-btn {
    background-color: #f0f0f0;
    color: #333;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.follow-btn:hover {
    background-color: #e0e0e0;
}

.follow-btn.following {
    background-color: #FF6B35;
    color: white;
}

/* About Product */
.about-product {
    background-color: #ffffff;
    padding: 20px;
}

.about-product h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.product-description p {
    color: #333;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.product-features h4 {
    font-weight: 500;
    margin-bottom: 10px;
    color: #333;
}

.product-features ul {
    list-style: none;
}

.product-features li {
    color: #333;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 5px;
}

/* Footer */
.footer {
    background-color: #F2F2F2;
    padding: 20px;
}

.footer-content h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.footer-content.container {
  padding: 0 20px;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #FF6B35;
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #ffffff;
    border-top: 1px solid #e9ecef;
    padding: 12px 20px;
    z-index: 100;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

.bottom-nav .container{
  display: flex;
  align-items: center;
  gap: 15px;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    cursor: pointer;
    min-width: 50px;
}

.nav-label {
    font-size: 11px;
    color: #666;
    font-weight: 500;
}

.nav-actions {
    flex: 1;
    display: flex;
    gap: 12px;
    margin-left: auto;
}

.review-btn {
    background-color: #F2F2F2;
    color: #333;
    padding: 12px;
    border-radius: 8px;
    border:0;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    flex: 1;
    text-align: center;
}

.review-btn:hover {
    background-color: #f8f9fa;
    border-color: #ccc;
}

    .buy-btn {
        background-color: #e91e63;
        color: white;
        border: none;
        padding: 12px;
        border-radius: 8px;
        font-size: 13px;
        font-weight: 600;
        cursor: pointer;
        transition: background-color 0.2s;
        flex: 1;
        text-align: center;
        box-shadow: 0 2px 4px rgba(233, 30, 99, 0.3);
    }

    .buy-btn:hover {
        background-color: #c2185b;
        box-shadow: 0 3px 6px rgba(233, 30, 99, 0.4);
    }

/* Animações */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

.slide-in {
    animation: slideIn 0.6s ease-out;
}

/* Estados de hover e focus */
button:focus,
a:focus {
    outline: 2px solid #FF6B35;
    outline-offset: 2px;
}

img {
    max-width: 100%;
    height: auto;
}

/* Utilidades */
.hidden {
    display: none !important;
}

.visible {
    display: block !important;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

/* Modal para visualização de imagens */
.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    cursor: pointer;
}

.image-modal img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
}

/* Scroll suave */
html {
    scroll-behavior: smooth;
}

@media(max-width:430px){

  .sale-content{
    gap: 15px;
  }

  .flash-sale{
    padding: 12px 10px;
  }

  .flash-header{
    padding:0;
    margin-bottom: 3px;
    gap: 0;
  }

  .flash-header img{
    max-width: 20px;
  }

  .flash-text {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0;
  }

  .current-price .price{
    font-size: 18px;
  }

  .product-info{
    padding: 15px 10px;
  }

}