/* ========================================
   CONFORTOCARE - DETALHES CSS
   Estilos para página de detalhes do produto
======================================== */

/* ========================================
   BREADCRUMBS
======================================== */
.breadcrumbs {
    background: var(--bg-secondary);
    padding: 20px 0;
    border-bottom: 1px solid var(--border-subtle);
}

.breadcrumbs ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.breadcrumbs li {
    font-size: 14px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.breadcrumbs a {
    color: var(--text-secondary);
    transition: var(--transition);
}

.breadcrumbs a:hover {
    color: var(--primary-orange);
}

.breadcrumbs li:last-child {
    color: var(--primary-orange);
    font-weight: 600;
}

/* ========================================
   SEÇÃO DE DETALHES
======================================== */
.product-details-section {
    padding: 60px 0;
    background: var(--bg-primary);
}

.product-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

/* ========================================
   GALERIA DE IMAGENS
======================================== */
.product-gallery {
    position: relative;
}

.product-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 8px 18px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    color: #fff;
}

.product-badge.orange { background: linear-gradient(135deg, #FF6B35, #FF8C42); }
.product-badge.red { background: linear-gradient(135deg, #EF4444, #DC2626); }
.product-badge.green { background: linear-gradient(135deg, #10B981, #059669); }
.product-badge.blue { background: linear-gradient(135deg, #3B82F6, #2563EB); }
.product-badge.gold { background: linear-gradient(135deg, #F59E0B, #D97706); }

.product-discount-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #EF4444, #DC2626);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    font-weight: 900;
    z-index: 2;
    box-shadow: 0 4px 16px rgba(239, 68, 68, 0.4);
}

.main-image {
    width: 100%;
    height: 500px;
    background: var(--bg-secondary);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-subtle);
    margin-bottom: 20px;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 12px;
}

.thumbnail {
    width: 100%;
    height: 100px;
    background: var(--bg-secondary);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: var(--transition);
}

.thumbnail:hover,
.thumbnail.active {
    border-color: var(--primary-orange);
    box-shadow: var(--shadow-sm);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========================================
   GALERIA DE VÍDEOS
======================================== */
.product-videos-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid var(--border-subtle);
}

.videos-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.videos-title i {
    color: var(--primary-orange);
    font-size: 24px;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.video-item {
    position: relative;
    background: var(--bg-secondary);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--border-subtle);
    aspect-ratio: 16/9;
}

.product-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #000;
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(2px);
}

.video-overlay:hover {
    background: rgba(0, 0, 0, 0.7);
}

.play-button {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(255, 107, 53, 0.4);
    padding-left: 6px;
}

.video-overlay:hover .play-button {
    transform: scale(1.15);
    box-shadow: 0 12px 32px rgba(255, 107, 53, 0.6);
}

.product-video::-webkit-media-controls-panel {
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.8));
}

.product-video::-webkit-media-controls-play-button {
    background-color: var(--primary-orange);
    border-radius: 50%;
}

.videos-grid:has(.video-item:only-child) {
    grid-template-columns: 1fr;
    max-width: 800px;
}

/* ========================================
   INFORMAÇÕES DO PRODUTO
======================================== */
.product-info-main {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.product-title {
    font-size: 32px;
    font-weight: 900;
    color: var(--text-primary);
    line-height: 1.2;
    margin: 0;
}

.product-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Meta Info */
.product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
    background: var(--bg-elevated);
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
}

.meta-item i {
    color: var(--primary-orange);
    font-size: 18px;
}

/* Identificação do Produto */
.product-identification {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 15px;
    background: var(--bg-elevated);
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
}

.id-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: var(--bg-card);
    border-radius: 8px;
    border: 1px solid var(--border-subtle);
    min-width: fit-content;
}

.id-item i {
    font-size: 20px;
    color: var(--primary-orange);
}

.id-item > div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.id-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.id-value {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
}

/* ========================================
   SEÇÃO DE PREÇO
======================================== */
.price-section {
    padding: 25px;
    background: var(--bg-secondary);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.price-old-section {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.price-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-old-value {
    font-size: 18px;
    color: var(--text-muted);
    text-decoration: line-through;
}

.price-current-section {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.price-current-value {
    font-size: 36px;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.price-installment-section,
.price-discount-section {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-secondary);
    padding: 12px;
    background: var(--bg-elevated);
    border-radius: 10px;
}

.price-installment-section i,
.price-discount-section i {
    color: var(--primary-orange);
    font-size: 16px;
}

.price-installment-section strong,
.price-discount-section strong {
    color: var(--text-primary);
    font-weight: 700;
}

/* ========================================
   FEATURES PRINCIPAIS
======================================== */
.product-features-main {
    padding: 25px;
    background: var(--bg-elevated);
    border-radius: 16px;
    border: 1px solid var(--border-subtle);
}

.product-features-main h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-features-main h3 i {
    color: var(--accent-green);
}

.product-features-main ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.product-features-main li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-secondary);
}

.product-features-main li i {
    color: var(--accent-green);
    font-size: 14px;
    flex-shrink: 0;
}

/* ========================================
   SEÇÃO DE COMPRA
======================================== */
.purchase-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 25px;
    background: var(--bg-secondary);
    border-radius: 16px;
    border: 2px solid var(--border-color);
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 15px;
}

.quantity-selector label {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-elevated);
    padding: 8px;
    border-radius: 12px;
    border: 2px solid var(--border-color);
}

.qty-btn {
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-orange);
    font-size: 16px;
    font-weight: 700;
    transition: var(--transition);
}

.qty-btn:hover {
    background: var(--gradient-primary);
    color: #fff;
}

.quantity-controls input {
    width: 60px;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    border: none;
    background: transparent;
}

.action-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 12px;
}

.btn-add-cart,
.btn-buy-now {
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
}

.btn-add-cart {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: var(--shadow-sm);
}

.btn-add-cart:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.btn-buy-now {
    background: var(--bg-elevated);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.btn-buy-now:hover {
    background: var(--accent-green);
    color: #fff;
    border-color: var(--accent-green);
}

.btn-favorite {
    width: 56px;
    height: 56px;
    background: var(--bg-elevated);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 22px;
    transition: var(--transition);
}

.btn-favorite:hover,
.btn-favorite.active {
    background: rgba(239, 68, 68, 0.1);
    border-color: #EF4444;
    color: #EF4444;
}

.btn-favorite.active i {
    animation: pulse 0.4s ease;
}

/* ========================================
   GARANTIAS
======================================== */
.product-guarantees {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.guarantee-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: var(--bg-elevated);
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
}

.guarantee-item i {
    color: var(--accent-green);
    font-size: 18px;
}

/* ========================================
   COMPARTILHAR
======================================== */
.share-section {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--bg-elevated);
    border-radius: 12px;
}

.share-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
}

.share-buttons {
    display: flex;
    gap: 10px;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #fff;
    transition: var(--transition);
}

.share-btn.whatsapp { background: #25D366; }
.share-btn.facebook { background: #1877F2; }
.share-btn.email { background: #EA4335; }
.share-btn.link { background: var(--primary-orange); }

.share-btn:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* ========================================
   TABS DE INFORMAÇÕES
======================================== */
.product-tabs {
    background: var(--bg-secondary);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-subtle);
    margin-bottom: 60px;
}

.tabs-header {
    display: flex;
    background: var(--bg-elevated);
    border-bottom: 2px solid var(--border-subtle);
}

.tab-btn {
    flex: 1;
    padding: 20px 30px;
    background: transparent;
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    border: none;
    border-bottom: 3px solid transparent;
    transition: var(--transition);
}

.tab-btn:hover {
    background: var(--bg-secondary);
    color: var(--primary-orange);
}

.tab-btn.active {
    background: var(--bg-secondary);
    color: var(--primary-orange);
    border-bottom-color: var(--primary-orange);
}

.tabs-content {
    padding: 40px;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

.tab-content h3 {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 25px;
}

.tab-content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.tab-content h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 30px;
    margin-bottom: 15px;
}

/* Specs Grid */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.spec-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: var(--bg-elevated);
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
}

.spec-item i {
    color: var(--primary-orange);
    font-size: 24px;
    flex-shrink: 0;
}

.spec-item div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.spec-item strong {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
}

.spec-item span {
    font-size: 15px;
    color: var(--text-secondary);
}

/* Dimensions Grid */
.dimensions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.dimension-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 30px;
    background: var(--bg-elevated);
    border-radius: 16px;
    text-align: center;
    border: 2px solid var(--border-subtle);
    transition: var(--transition);
}

.dimension-card:hover {
    border-color: var(--primary-orange);
    box-shadow: var(--shadow-sm);
}

.dimension-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(255, 140, 66, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-orange);
    font-size: 24px;
}

.dimension-info strong {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    display: block;
    margin-bottom: 5px;
}

.dimension-info span {
    font-size: 20px;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   PRODUTOS RELACIONADOS - RESPONSIVO
======================================== */
.related-products {
    margin-top: 80px;
    padding-top: 40px;
    border-top: 2px solid var(--border-subtle);
}

.section-header-related {
    text-align: center;
    margin-bottom: 40px;
}

.section-header-related h2 {
    font-size: 32px;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 10px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.section-header-related i {
    color: var(--primary-orange);
}

.section-header-related p {
    font-size: 16px;
    color: var(--text-secondary);
}

/* Container do Carrossel */
.carousel-related-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
}

.carousel-related-wrapper {
    overflow: hidden;
    flex: 1;
}

/* Grid de Produtos - Desktop (scroll horizontal) */
.products-grid-related {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 10px;
}

.products-grid-related::-webkit-scrollbar {
    height: 8px;
}

.products-grid-related::-webkit-scrollbar-track {
    background: var(--bg-elevated);
    border-radius: 10px;
}

.products-grid-related::-webkit-scrollbar-thumb {
    background: var(--primary-orange);
    border-radius: 10px;
}

/* Card de Produto com largura fixa */
.product-card-related {
    min-width: 280px;
    max-width: 280px;
    flex-shrink: 0;
    background: var(--bg-secondary);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-subtle);
    transition: var(--transition);
    position: relative;
}

/* Botões de Navegação - Desktop */
.carousel-btn {
    position: relative;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
    z-index: 10;
}

.carousel-btn:hover {
    transform: scale(1.15);
    box-shadow: var(--shadow-glow);
}

.carousel-btn:active {
    transform: scale(0.95);
}

.carousel-btn i {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Card de Produto */
.product-card-related {
    background: var(--bg-secondary);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-subtle);
    transition: var(--transition);
    position: relative;
}

.product-card-related:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-orange);
}

.product-badge-small {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 2;
    color: #fff;
}

.product-badge-small.badge-novo { background: linear-gradient(135deg, #10B981, #059669); }
.product-badge-small.badge-promocao { background: linear-gradient(135deg, #EF4444, #DC2626); }
.product-badge-small.badge-destaque { background: linear-gradient(135deg, #F59E0B, #D97706); }

.product-discount-small {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #EF4444, #DC2626);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    z-index: 2;
}

.product-image-related {
    display: block;
    height: 220px;
    overflow: hidden;
    background: var(--bg-elevated);
}

.product-image-related img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card-related:hover .product-image-related img {
    transform: scale(1.15);
}

.product-info-related {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.product-info-related h3 {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
}

.product-info-related h3 a {
    color: var(--text-primary);
    transition: var(--transition);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-info-related h3 a:hover {
    color: var(--primary-orange);
}

.product-price-related {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.price-old-small {
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: line-through;
}

.price-current-small {
    font-size: 22px;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-add-cart-small {
    width: 100%;
    padding: 12px;
    background: var(--gradient-primary);
    color: #fff;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-add-cart-small:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* ========================================
   RESPONSIVE - TABLET
======================================== */
@media (max-width: 1024px) {
    .product-details-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    /* Produtos relacionados - 3 por linha no tablet */
    .products-grid-related {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
    
    .specs-grid,
    .dimensions-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   RESPONSIVE - MOBILE
======================================== */
@media (max-width: 768px) {
    .product-details-section {
        padding: 40px 0;
    }
    
    .main-image {
        height: 350px;
    }
    
    .product-title {
        font-size: 24px;
    }
    
    .price-current-value {
        font-size: 28px;
    }
    
    .action-buttons {
        grid-template-columns: 1fr;
    }
    
    .btn-favorite {
        width: 100%;
        height: 50px;
    }
    
    .product-guarantees {
        grid-template-columns: 1fr;
    }
    
    .tabs-header {
        overflow-x: auto;
    }
    
    .tab-btn {
        padding: 16px 20px;
        font-size: 14px;
        white-space: nowrap;
    }
    
    .tabs-content {
        padding: 25px;
    }
    .product-identification {
        flex-direction: column;
    }
    
    .id-item {
        width: 100%;
    }
    
    .videos-grid {
        grid-template-columns: 1fr;
    }
    
    .play-button {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .videos-title {
        font-size: 18px;
    }
    
    /* PRODUTOS RELACIONADOS - MOBILE (2 por linha) */
    .related-products {
        margin-top: 50px;
        padding-top: 30px;
    }
    
    .section-header-related h2 {
        font-size: 24px;
    }
    
    .section-header-related p {
        font-size: 14px;
    }
    
    /* Ocultar botões de navegação */
    .carousel-btn {
        display: none;
    }
    
    /* Grid de 2 colunas no mobile */
    .carousel-related-container {
        gap: 0;
    }
    
    .carousel-related-wrapper {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .carousel-related-wrapper::-webkit-scrollbar {
        display: none;
    }
    
    .products-grid-related {
    display: flex;
    gap: 12px;
    padding: 10px 0 30px;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.products-grid-related::-webkit-scrollbar {
    display: none;
}

.product-card-related {
    min-width: 170px;
    max-width: 170px;
}
    
    .product-card-related:hover {
        transform: none;
    }
    
    .product-image-related {
        height: 180px;
    }
    
    .product-info-related {
        padding: 15px;
        gap: 10px;
    }
    
    .product-info-related h3 {
        font-size: 14px;
        min-height: 36px;
    }
    
    .price-current-small {
        font-size: 20px;
    }
    
    .btn-add-cart-small {
        padding: 10px;
        font-size: 12px;
        gap: 6px;
    }
    
    /* Indicador de scroll visual */
    .section-header-related::after {
        content: '← Deslize para ver mais →';
        display: block;
        text-align: center;
        font-size: 12px;
        color: var(--text-muted);
        margin-top: 10px;
        font-weight: 500;
        animation: pulseScroll 2s infinite;
    }
    
    @keyframes pulseScroll {
        0%, 100% { opacity: 0.5; }
        50% { opacity: 1; }
    }
    
    .related-products.scrolled .section-header-related::after {
        display: none;
    }
}

/* ========================================
   RESPONSIVE - MOBILE PEQUENO
======================================== */
@media (max-width: 480px) {
    .section-header-related h2 {
        font-size: 20px;
    }
    
    .product-image-related {
        height: 160px;
    }
    
    .product-info-related h3 {
        font-size: 13px;
    }
    
    .price-current-small {
        font-size: 18px;
    }
    
    .product-videos-section {
        margin-top: 30px;
        padding-top: 20px;
    }
    
    .play-button {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .product-badge-small {
        font-size: 9px;
        padding: 4px 10px;
    }
    
    .product-discount-small {
        width: 40px;
        height: 40px;
        font-size: 11px;
    }
}

/* ========================================
   ANIMAÇÕES
======================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
}

@keyframes pulseScroll {
    0%, 100% { 
        opacity: 0.5; 
    }
    50% { 
        opacity: 1; 
    }
}

/* ========================================
   AJUSTES FINAIS E OTIMIZAÇÕES
======================================== */

/* Remover scroll horizontal indesejado */
.carousel-related-wrapper {
    position: relative;
}

/* Garantir que badges não quebrem o layout */
.product-badge-small,
.product-discount-small {
    pointer-events: none;
}

/* Melhorar performance das animações */
.product-card-related,
.carousel-btn,
.share-btn,
.btn-add-cart-small {
    will-change: transform;
}

/* Suavizar transições em dispositivos móveis */
@media (max-width: 768px) {
    * {
        -webkit-tap-highlight-color: transparent;
    }
    
    .product-card-related {
        will-change: auto;
    }
}

/* Estado de loading para imagens */
.product-image-related img[src=""],
.main-image img[src=""] {
    background: linear-gradient(90deg, 
        var(--bg-elevated) 25%, 
        var(--bg-secondary) 50%, 
        var(--bg-elevated) 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Ajuste de foco para acessibilidade */
.carousel-btn:focus,
.btn-add-cart-small:focus,
.share-btn:focus {
    outline: 3px solid var(--primary-orange);
    outline-offset: 2px;
}

/* Garantir boa visualização em telas muito pequenas */
@media (max-width: 360px) {
    .products-grid-related {
        gap: 8px;
    }
    
    .product-info-related {
        padding: 12px;
    }
    
    .product-info-related h3 {
        font-size: 12px;
    }
    
    .price-current-small {
        font-size: 16px;
    }
    
    .btn-add-cart-small {
        font-size: 11px;
        padding: 8px;
    }
}

/* Print styles */
@media print {
    .carousel-btn,
    .share-section,
    .btn-add-cart-small {
        display: none !important;
    }
}