/* =========================================
   ECOMANIAS - VISUAL IMPROVEMENTS v1
   Enhanced Branding & Aesthetics
   ========================================= */

/* === 1. PRODUCT CARDS - CONSISTENT HEIGHT === */
.products-grid,
.grid-products,
#productsGrid,
#offersGrid,
.grid[data-product-grid] {
    display: grid !important;
    align-items: stretch !important;
}

.product-card {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    min-height: 42rem;
}

.product-card .card-body {
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: column !important;
}

.product-card .card-title {
    min-height: 4.2rem !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.product-card .price {
    margin-top: auto !important;
    padding-top: var(--space-3) !important;
}

.product-card .btn-add-cart {
    margin-top: auto !important;
}

/* === 2. TRUST BAR - ENHANCED VISUALS === */
.trust-bar {
    background: linear-gradient(135deg, #0f2419 0%, #1a3d2d 40%, #0f2419 100%) !important;
    position: relative;
    overflow: hidden;
}

.trust-bar::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(16, 185, 129, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(16, 185, 129, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.trust-bar-item {
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.01em;
    transition: all 0.3s ease-out !important;
    position: relative;
}

.trust-bar-item:hover {
    transform: translateY(-2px);
    color: #82e0aa !important;
}

.trust-bar-item svg {
    width: 1.8rem !important;
    height: 1.8rem !important;
    transition: transform 0.3s ease-out;
}

.trust-bar-item:hover svg {
    transform: scale(1.15);
}

/* === 3. BADGES - STANDARDIZED POSITIONING === */
.card-badge,
.badge {
    font-size: 1rem !important;
    padding: 0.5rem 1rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.05em !important;
    border-radius: 2rem !important;
    text-transform: uppercase !important;
}

.card-badge {
    top: 1rem !important;
    left: 1rem !important;
    z-index: 15 !important;
}

.card-badge-right {
    left: auto !important;
    right: 1rem !important;
}

/* Reduce shake animation intensity */
.badge-hot {
    animation: badge-shake-subtle 3s ease-in-out infinite !important;
}

@keyframes badge-shake-subtle {

    0%,
    100% {
        transform: rotate(-2deg);
    }

    25% {
        transform: rotate(-3deg);
    }

    75% {
        transform: rotate(-1deg);
    }
}

/* Reduce pulse intensity */
.badge-sale {
    animation: badge-pulse-subtle 2.5s ease-in-out infinite !important;
}

@keyframes badge-pulse-subtle {

    0%,
    100% {
        transform: rotate(-2deg) scale(1);
    }

    50% {
        transform: rotate(-2deg) scale(1.03);
    }
}

/* === 4. ANIMATIONS - SMOOTHER TRANSITIONS === */
.reveal {
    animation-duration: 0.6s !important;
    animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.card {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.4s ease !important;
}

.card:hover {
    transform: translateY(-8px) scale(1.01) !important;
}

/* === 5. HERO SECTION - ENHANCED CTA === */
.hero .btn-cta,
.btn-cta.btn-pulse {
    position: relative;
    animation: hero-cta-pulse 2s ease-in-out infinite !important;
}

@keyframes hero-cta-pulse {

    0%,
    100% {
        box-shadow: 0 8px 30px rgba(245, 158, 11, 0.4);
    }

    50% {
        box-shadow: 0 12px 40px rgba(245, 158, 11, 0.6), 0 0 60px rgba(245, 158, 11, 0.2);
    }
}

/* === 6. FOOTER - ENRICHED STYLING === */
.footer {
    background: linear-gradient(180deg, #0d1f17 0%, #071410 100%) !important;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.4), transparent);
}

.footer-brand p,
.footer-description {
    font-size: 1.35rem !important;
    line-height: 1.7 !important;
    opacity: 0.85;
}

.footer-links a {
    transition: all 0.3s ease !important;
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.footer-links a:hover::after {
    width: 100%;
}

.social-icon {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.social-icon:hover {
    transform: translateY(-4px) scale(1.1) !important;
    background: var(--primary) !important;
}

/* === 7. CATEGORY CARDS - ENHANCED VISUALS === */
.category-card {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.category-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), rgba(5, 150, 105, 0.1));
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.category-card:hover::before {
    opacity: 1;
}

.category-card:hover {
    transform: translateY(-10px) scale(1.02) !important;
    box-shadow: 0 20px 40px -10px rgba(16, 185, 129, 0.25) !important;
}

/* === 8. EMPTY CART STATE === */
#emptyCart {
    text-align: center;
    padding: var(--space-12) var(--space-6) !important;
}

#emptyCart::before {
    content: '🛒';
    display: block;
    font-size: 6rem;
    margin-bottom: var(--space-4);
    filter: grayscale(0.3);
}

/* === 9. PRODUCT DETAIL - LAYOUT IMPROVEMENTS === */
.product-gallery {
    position: sticky;
    top: 10rem;
}

.product-info .price-current {
    font-size: 3rem !important;
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Feature items in product page */
.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(16, 185, 129, 0.05);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(16, 185, 129, 0.1);
    transform: translateX(4px);
}

/* === 10. WHATSAPP BUTTON - ENHANCED === */
.whatsapp-btn {
    animation: whatsapp-bounce 2s ease-in-out infinite !important;
}

@keyframes whatsapp-bounce {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.whatsapp-btn:hover {
    animation: none !important;
    transform: scale(1.1) !important;
}

/* === 11. IMAGES - CONSISTENT STYLING === */
.card-image img {
    background: linear-gradient(145deg, #f8fdfb, #ffffff) !important;
}

/* === 12. FORM INPUTS - ENHANCED === */
.form-input:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.15) !important;
    outline: none !important;
}

/* === 13. SCROLL REVEAL IMPROVEMENTS === */
[class*="reveal"] {
    --animation-distance: 20px;
}

/* === 14. INSTALLMENT TEXT - BETTER VISIBILITY === */
.installments,
.card-installments {
    font-size: 1.15rem !important;
    color: var(--gray-500) !important;
    font-weight: 500;
}

/* === 15. SECTION HEADERS - PREMIUM LOOK === */
.section-title span {
    position: relative;
    display: inline-block;
}

.section-title span::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--eco-mint-400));
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal .section-title span::after {
    transform: scaleX(1);
}

/* === RESPONSIVE ADJUSTMENTS === */
@media (max-width: 768px) {
    .product-card {
        min-height: 38rem;
    }

    .trust-bar-item {
        font-size: 1.1rem !important;
    }

    .card:hover {
        transform: translateY(-4px) scale(1.005) !important;
    }
}

@media (max-width: 480px) {
    .product-card {
        min-height: 35rem;
    }
}

/* =========================================
   PREMIUM PRODUCT PAGE - HIGH CONVERSION
   ========================================= */

/* === PRODUCT PAGE CONTAINER === */
.product-page {
    background: linear-gradient(180deg, #ffffff 0%, #f8fffe 30%, #f0fdf4 70%, #ecfdf5 100%) !important;
    min-height: 100vh;
}

/* === PRODUCT GALLERY - ENHANCED === */
.product-gallery {
    position: sticky !important;
    top: 8rem !important;
    align-self: start;
}

.product-image-main {
    position: relative;
    border-radius: 2rem !important;
    overflow: hidden;
    box-shadow: 0 25px 50px -15px rgba(0, 0, 0, 0.12),
        0 12px 25px -8px rgba(16, 185, 129, 0.1) !important;
    background: linear-gradient(145deg, #ffffff, #f0fdf4);
    border: 3px solid rgba(16, 185, 129, 0.1) !important;
}

.product-image-main::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 70%, rgba(0, 0, 0, 0.05) 100%);
    pointer-events: none;
    z-index: 1;
}

.product-image-main img {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.product-image-main:hover img {
    transform: scale(1.08) !important;
}

/* Thumbnail styling */
.product-thumbnail {
    border-radius: 1rem !important;
    border: 3px solid transparent !important;
    transition: all 0.3s ease !important;
    overflow: hidden;
    cursor: pointer;
}

.product-thumbnail:hover {
    border-color: rgba(16, 185, 129, 0.5) !important;
    transform: translateY(-3px);
}

.product-thumbnail.active {
    border-color: var(--primary) !important;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3) !important;
}

/* === PRODUCT INFO SECTION === */
.product-info {
    padding: var(--space-lg) !important;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 2rem;
    border: 1px solid rgba(16, 185, 129, 0.1);
}

/* === PRODUCT BADGE - PREMIUM === */
.product-badge {
    display: inline-flex !important;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem !important;
    font-size: 1.1rem !important;
    font-weight: 800 !important;
    border-radius: 10rem !important;
    margin-bottom: var(--space-md) !important;
    animation: badge-float 3s ease-in-out infinite;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

@keyframes badge-float {

    0%,
    100% {
        transform: translateY(0) rotate(-2deg);
    }

    50% {
        transform: translateY(-5px) rotate(-2deg);
    }
}

/* === PRODUCT TITLE - ENHANCED === */
.product-title {
    font-size: clamp(2.4rem, 4vw, 3.6rem) !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    color: var(--eco-forest-800) !important;
    margin-bottom: var(--space-md) !important;
    background: linear-gradient(135deg, #1a4d3a 0%, #0f2419 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* === PRODUCT RATING - ENHANCED === */
.product-rating {
    display: inline-flex !important;
    align-items: center;
    gap: 0.6rem;
    padding: 0.8rem 1.4rem;
    background: linear-gradient(135deg, #fef3c7, #fef9c3);
    border-radius: 10rem;
    margin-bottom: var(--space-lg) !important;
    box-shadow: 0 2px 10px rgba(245, 158, 11, 0.15);
}

.product-rating svg {
    color: #f59e0b !important;
    filter: drop-shadow(0 2px 3px rgba(245, 158, 11, 0.4)) !important;
    animation: star-twinkle 2s ease-in-out infinite;
}

.product-rating svg:nth-child(2) {
    animation-delay: 0.1s;
}

.product-rating svg:nth-child(3) {
    animation-delay: 0.2s;
}

.product-rating svg:nth-child(4) {
    animation-delay: 0.3s;
}

.product-rating svg:nth-child(5) {
    animation-delay: 0.4s;
}

@keyframes star-twinkle {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.product-rating span {
    color: #92400e !important;
    font-weight: 600 !important;
}

/* === PRICE BOX - HIGH CONVERSION === */
.product-price-box {
    position: relative;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 50%, #a7f3d0 100%) !important;
    border-radius: 2rem !important;
    padding: 2.5rem !important;
    margin-bottom: var(--space-xl) !important;
    border: 2px solid rgba(16, 185, 129, 0.2) !important;
    box-shadow: 0 10px 40px -10px rgba(16, 185, 129, 0.25),
        inset 0 -4px 0 rgba(5, 150, 105, 0.1) !important;
    overflow: hidden;
}

.product-price-box::before {
    content: '💚';
    position: absolute;
    top: -10px;
    right: 10px;
    font-size: 6rem;
    opacity: 0.1;
    transform: rotate(15deg);
}

.product-price-old {
    font-size: 1.6rem !important;
    color: #9ca3af !important;
    text-decoration: line-through !important;
    display: block;
    margin-bottom: 0.5rem;
}

.product-price-current {
    font-size: clamp(3rem, 6vw, 4.5rem) !important;
    font-weight: 900 !important;
    display: block !important;
    background: linear-gradient(135deg, #059669 0%, #10b981 50%, #34d399 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    text-shadow: none !important;
    line-height: 1.1 !important;
    animation: price-glow 2s ease-in-out infinite;
}

@keyframes price-glow {

    0%,
    100% {
        filter: brightness(1);
    }

    50% {
        filter: brightness(1.1);
    }
}

.product-price-pix {
    display: inline-flex !important;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #059669, #0d9488) !important;
    color: white !important;
    padding: 0.8rem 1.5rem !important;
    border-radius: 10rem !important;
    font-size: 1.4rem !important;
    font-weight: 700 !important;
    margin-top: 1rem !important;
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.3);
    animation: pix-pulse 2s ease-in-out infinite;
}

@keyframes pix-pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
        box-shadow: 0 6px 20px rgba(5, 150, 105, 0.4);
    }
}

.product-installments {
    margin-top: 1rem !important;
    font-size: 1.3rem !important;
    color: var(--gray-600) !important;
}

.product-installments strong {
    color: var(--primary) !important;
    font-weight: 700 !important;
}

/* === QUANTITY SELECTOR - ENHANCED === */
.quantity-selector {
    display: flex !important;
    align-items: center;
    gap: 1.5rem !important;
    padding: 1.5rem;
    background: rgba(16, 185, 129, 0.03);
    border-radius: 1.5rem;
    margin-bottom: var(--space-lg) !important;
}

.quantity-selector label {
    font-weight: 700 !important;
    color: var(--eco-forest-800) !important;
    font-size: 1.4rem !important;
}

.quantity-controls {
    display: flex;
    align-items: center;
    border: 2px solid var(--eco-sand-200) !important;
    border-radius: 1.2rem !important;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.quantity-btn {
    width: 4.5rem !important;
    height: 4.5rem !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 2rem !important;
    font-weight: 700 !important;
    color: var(--primary) !important;
    background: white !important;
    border: none !important;
    cursor: pointer;
    transition: all 0.2s ease !important;
}

.quantity-btn:hover {
    background: var(--primary) !important;
    color: white !important;
}

.quantity-btn:active {
    transform: scale(0.95);
}

.quantity-input {
    width: 5rem !important;
    text-align: center !important;
    font-size: 1.8rem !important;
    font-weight: 700 !important;
    color: var(--eco-forest-800) !important;
    border: none !important;
    border-left: 2px solid var(--eco-sand-200) !important;
    border-right: 2px solid var(--eco-sand-200) !important;
    background: white !important;
}

/* === PRODUCT ACTIONS - CTA BUTTON === */
.product-actions {
    margin-bottom: var(--space-xl) !important;
}

.product-actions .btn-primary {
    width: 100% !important;
    padding: 2rem 3rem !important;
    font-size: 1.8rem !important;
    font-weight: 800 !important;
    border-radius: 1.5rem !important;
    background: linear-gradient(135deg, #059669 0%, #10b981 50%, #34d399 100%) !important;
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.4),
        0 4px 15px rgba(16, 185, 129, 0.3) !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    position: relative;
    overflow: hidden;
}

.product-actions .btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.product-actions .btn-primary:hover::before {
    transform: translateX(100%);
}

.product-actions .btn-primary:hover {
    transform: translateY(-4px) scale(1.02) !important;
    box-shadow: 0 15px 50px rgba(16, 185, 129, 0.5),
        0 8px 25px rgba(16, 185, 129, 0.4) !important;
}

.product-actions .btn-primary:active {
    transform: translateY(-2px) scale(1) !important;
}

.product-actions .btn-primary svg {
    width: 2.4rem !important;
    height: 2.4rem !important;
    animation: cart-bounce 1s ease-in-out infinite;
}

@keyframes cart-bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-3px);
    }
}

/* === PRODUCT FEATURES - TRUST SIGNALS === */
.product-features {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.2rem !important;
    margin-bottom: var(--space-xl) !important;
}

.feature-item {
    display: flex !important;
    align-items: center !important;
    gap: 1rem !important;
    padding: 1.4rem 1.6rem !important;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), rgba(16, 185, 129, 0.02)) !important;
    border-radius: 1.2rem !important;
    border: 1px solid rgba(16, 185, 129, 0.1) !important;
    transition: all 0.3s ease !important;
    font-size: 1.3rem !important;
    font-weight: 600 !important;
    color: var(--eco-forest-700) !important;
}

.feature-item:hover {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(16, 185, 129, 0.05)) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 5px 15px rgba(16, 185, 129, 0.15) !important;
}

.feature-item svg {
    flex-shrink: 0;
    width: 2.2rem !important;
    height: 2.2rem !important;
    color: var(--primary) !important;
    stroke-width: 2.5 !important;
}

/* === URGENCY BAR === */
.urgency-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #fef3c7, #fef9c3);
    border-radius: 1rem;
    margin-bottom: var(--space-lg);
    border: 1px solid rgba(245, 158, 11, 0.2);
    font-size: 1.3rem;
    font-weight: 600;
    color: #92400e;
}

.urgency-bar svg {
    color: #f59e0b;
    animation: clock-tick 1s linear infinite;
}

@keyframes clock-tick {

    0%,
    100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(10deg);
    }

    75% {
        transform: rotate(-10deg);
    }
}

/* === PRODUCT DESCRIPTION === */
.product-description {
    background: white !important;
    padding: 2rem !important;
    border-radius: 1.5rem !important;
    border: 1px solid rgba(16, 185, 129, 0.1) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03) !important;
}

.product-description h3 {
    color: var(--eco-forest-800) !important;
    font-size: 1.8rem !important;
    font-weight: 700 !important;
    margin-bottom: 1rem !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-description-content {
    color: var(--gray-600) !important;
    line-height: 1.8 !important;
    font-size: 1.4rem !important;
}

.product-description-content table {
    background: var(--eco-sand-50) !important;
    border-radius: 1rem !important;
    overflow: hidden;
}

.product-description-content table td {
    padding: 1rem 1.5rem !important;
}

.product-description-content table tr:nth-child(even) {
    background: rgba(16, 185, 129, 0.03) !important;
}

/* === RELATED PRODUCTS SECTION === */
.related-section {
    background: linear-gradient(180deg, #f0fdf4 0%, #ecfdf5 100%) !important;
    padding: var(--space-2xl) 0 !important;
}

/* === MOBILE RESPONSIVE - PRODUCT PAGE === */
@media (max-width: 900px) {
    .product-info {
        padding: var(--space-md) !important;
    }

    .product-features {
        grid-template-columns: 1fr !important;
    }

    .product-price-box {
        padding: 2rem !important;
    }

    .product-actions .btn-primary {
        padding: 1.6rem 2rem !important;
        font-size: 1.6rem !important;
    }
}

@media (max-width: 480px) {
    .product-title {
        font-size: 2rem !important;
    }

    .product-price-current {
        font-size: 2.8rem !important;
    }

    .quantity-btn {
        width: 3.5rem !important;
        height: 3.5rem !important;
    }
}

/* === BUY NOW BUTTON - SECONDARY CTA === */
.btn-buy-now {
    position: relative;
    overflow: hidden;
}

.btn-buy-now:hover {
    transform: translateY(-3px) scale(1.02) !important;
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.45) !important;
}

.btn-buy-now::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.btn-buy-now:hover::after {
    transform: translateX(100%);
}

/* === DISCOUNT BADGE IN PRICE BOX === */
.discount-badge {
    animation: discount-pop 0.5s ease-out, discount-pulse 2s ease-in-out 0.5s infinite;
}

@keyframes discount-pop {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes discount-pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* ================================================================
   COMPREHENSIVE MOBILE RESPONSIVE FIXES
   ================================================================ */

/* === GLOBAL MOBILE FIXES === */
@media (max-width: 768px) {

    /* Prevent horizontal scroll */
    html,
    body {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100vw !important;
    }

    .container {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
        max-width: 100% !important;
    }

    /* Fix sections padding */
    section,
    .section {
        padding: 3rem 0 !important;
    }

    /* === HEADER MOBILE === */
    .header {
        padding: 1rem !important;
    }

    .header .container {
        gap: 1rem !important;
    }

    .logo img {
        max-height: 40px !important;
    }

    .header-icons {
        gap: 0.8rem !important;
    }

    .header-icons a,
    .header-icons button {
        padding: 0.6rem !important;
    }

    .header-icons svg {
        width: 22px !important;
        height: 22px !important;
    }

    /* === TRUST BAR MOBILE === */
    .trust-bar {
        padding: 0.8rem 1rem !important;
        font-size: 1.2rem !important;
    }

    .trust-bar .container {
        gap: 0.5rem !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
    }

    /* === NAVIGATION MOBILE === */
    .nav-menu {
        padding: 1rem !important;
    }

    .nav-link {
        padding: 1rem 1.5rem !important;
        font-size: 1.4rem !important;
    }

    /* === PRODUCT PAGE MOBILE === */
    .product-container {
        padding: 1rem !important;
        gap: 2rem !important;
    }

    .product-gallery {
        position: relative !important;
        top: auto !important;
    }

    .product-image-main {
        border-radius: 1.2rem !important;
        max-height: 350px !important;
    }

    .product-thumbnails {
        gap: 0.8rem !important;
        justify-content: center !important;
    }

    .product-thumbnail {
        width: 60px !important;
        height: 60px !important;
    }

    .product-info {
        padding: 1.5rem !important;
    }

    .product-badge {
        font-size: 1.1rem !important;
        padding: 0.5rem 1rem !important;
    }

    .product-title {
        font-size: 2rem !important;
        line-height: 1.3 !important;
        margin-bottom: 1rem !important;
    }

    .product-rating {
        padding: 0.6rem 1rem !important;
        font-size: 1.2rem !important;
        flex-wrap: wrap !important;
        gap: 0.5rem !important;
    }

    .product-rating .star {
        width: 16px !important;
        height: 16px !important;
    }

    /* === PRICE BOX MOBILE === */
    .product-price-box {
        padding: 1.5rem !important;
        border-radius: 1.2rem !important;
        margin: 1.5rem 0 !important;
    }

    .product-price-old {
        font-size: 1.4rem !important;
    }

    .product-price-current {
        font-size: 2.6rem !important;
    }

    .discount-badge {
        font-size: 1.1rem !important;
        padding: 0.4rem 0.8rem !important;
    }

    .product-price-pix {
        font-size: 1.3rem !important;
        padding: 0.6rem 1.2rem !important;
    }

    .product-installments {
        font-size: 1.2rem !important;
    }

    /* === URGENCY BAR MOBILE === */
    .urgency-bar {
        padding: 1rem !important;
        font-size: 1.2rem !important;
        border-radius: 1rem !important;
        flex-wrap: wrap !important;
        text-align: center !important;
        justify-content: center !important;
    }

    /* === QUANTITY SELECTOR MOBILE === */
    .quantity-selector {
        padding: 1rem !important;
    }

    .quantity-selector label {
        font-size: 1.2rem !important;
    }

    .quantity-controls {
        border-radius: 1rem !important;
    }

    .quantity-btn {
        width: 4rem !important;
        height: 4rem !important;
        font-size: 1.8rem !important;
    }

    .quantity-input {
        width: 5rem !important;
        font-size: 1.6rem !important;
    }

    /* === BUTTONS MOBILE === */
    .product-actions {
        gap: 1rem !important;
    }

    .product-actions .btn-primary {
        padding: 1.4rem 1.5rem !important;
        font-size: 1.4rem !important;
        border-radius: 1rem !important;
        gap: 0.8rem !important;
    }

    .product-actions .btn-primary svg {
        width: 18px !important;
        height: 18px !important;
    }

    .btn-buy-now {
        padding: 1.3rem !important;
        font-size: 1.3rem !important;
        border-radius: 1rem !important;
        margin-top: 0.8rem !important;
    }

    /* === FEATURES GRID MOBILE === */
    .product-features {
        grid-template-columns: 1fr 1fr !important;
        gap: 1rem !important;
        padding: 1rem !important;
    }

    .feature-item {
        padding: 1rem !important;
        font-size: 1.1rem !important;
        border-radius: 1rem !important;
    }

    .feature-item svg {
        width: 24px !important;
        height: 24px !important;
    }

    /* === PRODUCT DESCRIPTION MOBILE === */
    .product-description {
        padding: 1.5rem !important;
        border-radius: 1.2rem !important;
    }

    .product-description h3 {
        font-size: 1.6rem !important;
    }

    .product-description-content {
        font-size: 1.3rem !important;
    }

    .product-description-content table {
        font-size: 1.2rem !important;
    }

    .product-description-content table td {
        padding: 0.8rem 1rem !important;
    }

    /* === RELATED PRODUCTS MOBILE === */
    .related-section {
        padding: 2rem 1rem !important;
    }

    .related-section h2 {
        font-size: 2rem !important;
        margin-bottom: 1.5rem !important;
    }

    .related-grid,
    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
    }

    /* === PRODUCT CARDS MOBILE === */
    .product-card {
        border-radius: 1.2rem !important;
    }

    .product-card .card-image {
        height: 160px !important;
    }

    .product-card .card-body {
        padding: 1rem !important;
    }

    .product-card .card-title {
        font-size: 1.2rem !important;
        line-height: 1.3 !important;
        margin-bottom: 0.5rem !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }

    .product-card .price {
        gap: 0.3rem !important;
    }

    .product-card .price-compare {
        font-size: 1.1rem !important;
    }

    .product-card .price-current {
        font-size: 1.4rem !important;
    }

    .product-card .btn-add-cart {
        padding: 0.8rem !important;
        font-size: 1.1rem !important;
        gap: 0.4rem !important;
    }

    .product-card .btn-add-cart svg {
        width: 14px !important;
        height: 14px !important;
    }

    .product-card .card-badge {
        font-size: 1rem !important;
        padding: 0.3rem 0.6rem !important;
    }

    /* === CART PAGE MOBILE === */
    .cart-container {
        padding: 1rem !important;
    }

    .cart-item {
        flex-direction: column !important;
        gap: 1rem !important;
        padding: 1rem !important;
    }

    .cart-item-image {
        width: 100% !important;
        max-width: 120px !important;
        margin: 0 auto !important;
    }

    .cart-item-details {
        text-align: center !important;
    }

    .cart-summary {
        padding: 1.5rem !important;
    }

    /* === CHECKOUT PAGE MOBILE === */
    .checkout-container {
        padding: 1rem !important;
    }

    .checkout-form {
        padding: 1.5rem !important;
    }

    .form-row {
        flex-direction: column !important;
        gap: 1rem !important;
    }

    .form-group {
        margin-bottom: 1rem !important;
    }

    .form-group label {
        font-size: 1.3rem !important;
    }

    .form-group input,
    .form-group select {
        padding: 1.2rem !important;
        font-size: 1.4rem !important;
    }

    /* === FOOTER MOBILE === */
    .footer {
        padding: 2rem 1rem !important;
    }

    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        text-align: center !important;
    }

    .footer-column h3 {
        font-size: 1.4rem !important;
    }

    .footer-column p,
    .footer-column a {
        font-size: 1.2rem !important;
    }

    .footer-bottom {
        flex-direction: column !important;
        gap: 1rem !important;
        text-align: center !important;
    }

    /* === WHATSAPP BUTTON MOBILE === */
    .whatsapp-float {
        bottom: 15px !important;
        right: 15px !important;
        width: 55px !important;
        height: 55px !important;
    }

    .whatsapp-float svg {
        width: 28px !important;
        height: 28px !important;
    }
}

/* === EXTRA SMALL MOBILE (< 400px) === */
@media (max-width: 400px) {
    .container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .product-title {
        font-size: 1.8rem !important;
    }

    .product-price-current {
        font-size: 2.2rem !important;
    }

    .product-features {
        grid-template-columns: 1fr !important;
    }

    .related-grid,
    .products-grid {
        grid-template-columns: 1fr !important;
    }

    .product-card .card-image {
        height: 200px !important;
    }

    .btn-buy-now {
        font-size: 1.2rem !important;
        padding: 1.2rem !important;
    }

    .product-actions .btn-primary {
        font-size: 1.3rem !important;
        padding: 1.2rem !important;
    }
}

/* === FIX HORIZONTAL OVERFLOW GLOBALLY === */
* {
    max-width: 100%;
}

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

/* === SMOOTH SCROLLING === */
html {
    scroll-behavior: smooth;
}

/* === FIX INPUT ZOOM ON iOS === */
@supports (-webkit-touch-callout: none) {

    input,
    select,
    textarea {
        font-size: 16px !important;
    }
}