/* =============================================
   RESPONSIVE CSS MASTER - Vitrine Independente
   Responsividade Completa para Todos Dispositivos
   Mobile-First Approach
   ============================================= */

/* ===== CSS CUSTOM PROPERTIES FOR RESPONSIVE ===== */
:root {
    --container-padding-mobile: 12px;
    --container-padding-tablet: 20px;
    --container-padding-desktop: 24px;
    --spacing-mobile: 8px;
    --spacing-tablet: 16px;
    --spacing-desktop: 24px;
}

/* ===== BASE RESPONSIVE UTILITIES ===== */
.hide-mobile { display: none !important; }
.hide-tablet { display: block !important; }
.hide-desktop { display: block !important; }
.show-mobile-only { display: block !important; }
.show-tablet-only { display: none !important; }
.show-desktop-only { display: none !important; }

/* =============================================
   MOBILE FIRST - BASE STYLES (0px - 479px)
   Extra Small Devices - Phones Portrait
   ============================================= */

/* Container */
.container {
    width: 100%;
    max-width: 100%;
    padding-left: var(--container-padding-mobile);
    padding-right: var(--container-padding-mobile);
    margin: 0 auto;
}

/* Typography Mobile */
html {
    font-size: 14px;
}

h1, .h1 { font-size: 1.5rem; line-height: 1.2; }
h2, .h2 { font-size: 1.25rem; line-height: 1.3; }
h3, .h3 { font-size: 1.125rem; line-height: 1.4; }
h4, .h4 { font-size: 1rem; line-height: 1.4; }
p, .body-text { font-size: 0.875rem; line-height: 1.6; }
.small-text { font-size: 0.75rem; }

/* Header Mobile */
.public-header {
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    flex-wrap: wrap;
    gap: 10px;
}

.header-logo,
.header-logo-vitrine {
    max-height: 40px !important;
    max-width: 140px !important;
}

/* Vitrine Top Bar Mobile */
.vitrine-top-bar {
    padding: 12px 0;
}

.vitrine-top-bar-wrapper {
    flex-direction: column !important;
    align-items: center !important;
    gap: 12px !important;
}

.logo-link-vitrine {
    display: flex;
    justify-content: center;
    width: 100%;
}

/* Search Mobile */
.search-filters-container {
    width: 100% !important;
    max-width: 100% !important;
    flex-direction: row !important;
    gap: 8px !important;
}

.vitrine-search-form {
    flex: 1 !important;
    min-width: 0;
}

.search-input-wrapper {
    padding: 4px 12px !important;
    border-radius: 10px !important;
}

.search-input {
    padding: 10px 8px !important;
    font-size: 14px !important;
}

/* Filter Button Mobile */
.filter-toggle-btn-desktop {
    display: none !important;
}

.filter-toggle-btn {
    display: flex !important;
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
    padding: 0 !important;
    border-radius: 10px !important;
    align-items: center !important;
    justify-content: center !important;
}

.filter-toggle-btn span {
    display: none !important;
}

/* Products Grid Mobile - 2 Columns */
.products-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
    padding: 0 !important;
}

/* Product Card Mobile */
.product-card,
.product-card-modern {
    border-radius: 12px !important;
    overflow: hidden;
}

.product-image-wrapper,
.product-image-modern {
    aspect-ratio: 1 !important;
}

.product-info,
.product-info-modern {
    padding: 8px 10px !important;
}

.product-brand,
.product-brand-modern {
    font-size: 0.6rem !important;
    margin-bottom: 2px !important;
}

.product-name,
.product-name-modern {
    font-size: 0.75rem !important;
    line-height: 1.25 !important;
    margin-bottom: 4px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    min-height: 2.5em;
}

.product-price,
.product-price-modern {
    font-size: 0.9rem !important;
}

.product-price-original {
    font-size: 0.7rem !important;
}

.product-installments,
.price-installments {
    font-size: 0.6rem !important;
    margin-top: 2px !important;
}

/* Product Actions Mobile */
.product-actions,
.product-actions-modern {
    padding: 6px 8px 8px !important;
    gap: 4px !important;
    flex-wrap: nowrap !important;
}

.product-actions-modern a,
.btn-add-cart {
    padding: 8px !important;
    font-size: 0.7rem !important;
    border-radius: 8px !important;
    flex: 1 !important;
    min-width: 0 !important;
}

.product-actions-modern a span {
    display: none !important;
}

.product-actions-modern a i {
    margin: 0 !important;
    font-size: 0.9rem !important;
}

/* Badges Mobile */
.product-badge,
.product-discount-badge,
.product-vip-badge-modern {
    padding: 3px 6px !important;
    font-size: 0.6rem !important;
    top: 6px !important;
    left: 6px !important;
}

.product-images-badge {
    padding: 2px 5px !important;
    font-size: 0.55rem !important;
}

/* Carousel Mobile */
.carousel-container {
    border-radius: 12px !important;
    margin-bottom: 16px !important;
}

.carousel-btn {
    width: 32px !important;
    height: 32px !important;
    font-size: 0.75rem !important;
}

.carousel-btn.prev { left: 8px !important; }
.carousel-btn.next { right: 8px !important; }

.carousel-dots {
    bottom: 8px !important;
    gap: 6px !important;
}

.carousel-dot {
    width: 6px !important;
    height: 6px !important;
}

/* Section Titles Mobile */
.section-title,
.showcase-title {
    font-size: 1.125rem !important;
    margin-bottom: 12px !important;
}

.section-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
    margin-bottom: 12px !important;
}

/* Showcase Scroll Mobile */
.showcase-scroll {
    gap: 10px !important;
    padding-bottom: 12px !important;
}

.showcase-scroll .product-card {
    min-width: 160px !important;
    max-width: 160px !important;
}

/* Cart Sidebar Mobile */
.cart-sidebar {
    width: 100% !important;
    max-width: 100% !important;
    right: -100% !important;
}

.cart-sidebar.open {
    right: 0 !important;
}

.cart-header {
    padding: 14px 16px !important;
}

.cart-title {
    font-size: 1rem !important;
}

.cart-items {
    padding: 12px !important;
}

.cart-item {
    padding: 12px !important;
    gap: 10px !important;
}

.cart-item-image {
    width: 60px !important;
    height: 60px !important;
    border-radius: 8px !important;
}

.cart-item-name {
    font-size: 0.8rem !important;
}

.cart-item-brand {
    font-size: 0.65rem !important;
}

.cart-item-price {
    font-size: 0.9rem !important;
}

.qty-btn {
    width: 26px !important;
    height: 26px !important;
    font-size: 0.8rem !important;
}

.qty-value {
    font-size: 0.85rem !important;
    min-width: 24px !important;
}

.cart-footer {
    padding: 14px 16px !important;
}

.btn-checkout {
    padding: 12px !important;
    font-size: 0.9rem !important;
    border-radius: 10px !important;
}

/* Cart Icon Fixed Mobile */
.cart-icon {
    bottom: 80px !important;
    right: 16px !important;
    width: 50px !important;
    height: 50px !important;
    font-size: 1.1rem !important;
}

.cart-count {
    min-width: 18px !important;
    height: 18px !important;
    font-size: 0.65rem !important;
    top: -4px !important;
    right: -4px !important;
}

/* Product Detail Page Mobile */
.product-page {
    padding: 16px 0 !important;
}

.product-detail-container {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
}

.product-gallery {
    gap: 10px !important;
}

.product-main-image {
    border-radius: 12px !important;
}

.product-thumbnails {
    gap: 8px !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
}

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

.product-details {
    gap: 16px !important;
}

.product-detail-brand {
    font-size: 0.75rem !important;
}

.product-detail-name {
    font-size: 1.25rem !important;
}

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

.product-detail-price .original {
    font-size: 0.95rem !important;
}

.product-detail-description {
    font-size: 0.9rem !important;
    line-height: 1.6 !important;
}

.variant-options {
    gap: 6px !important;
}

.variant-option {
    padding: 8px 14px !important;
    font-size: 0.8rem !important;
}

.product-quantity {
    gap: 12px !important;
}

.quantity-btn {
    width: 36px !important;
    height: 36px !important;
}

.quantity-input {
    width: 50px !important;
    padding: 8px !important;
    font-size: 0.9rem !important;
}

.product-buy-buttons {
    gap: 10px !important;
}

.btn-buy-now,
.btn-add-to-cart {
    padding: 14px !important;
    font-size: 0.9rem !important;
    border-radius: 10px !important;
}

/* Checkout Mobile */
.checkout-page {
    padding: 16px 0 !important;
}

.checkout-container {
    padding: 0 !important;
}

.checkout-header {
    margin-bottom: 20px !important;
}

.checkout-logo {
    max-height: 45px !important;
}

.checkout-title {
    font-size: 1.25rem !important;
}

.checkout-steps {
    gap: 4px !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 0 0 8px !important;
    margin-bottom: 16px !important;
}

.checkout-step {
    padding: 8px 12px !important;
    font-size: 0.7rem !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}

.checkout-step i {
    display: none !important;
}

.checkout-content {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
}

.checkout-form-section {
    padding: 14px !important;
    border-radius: 12px !important;
}

.checkout-form-title {
    font-size: 1rem !important;
    margin-bottom: 14px !important;
}

.checkout-summary {
    padding: 14px !important;
    border-radius: 12px !important;
    position: static !important;
    order: -1 !important;
}

.summary-item {
    padding: 10px 0 !important;
    gap: 10px !important;
}

.summary-item-image {
    width: 50px !important;
    height: 50px !important;
    border-radius: 8px !important;
}

.summary-item-name {
    font-size: 0.8rem !important;
}

.summary-item-qty {
    font-size: 0.7rem !important;
}

.summary-item-price {
    font-size: 0.85rem !important;
}

.summary-row {
    font-size: 0.85rem !important;
}

.summary-row.total {
    font-size: 1rem !important;
}

/* Form Elements Mobile */
.form-group label {
    font-size: 0.8rem !important;
    margin-bottom: 4px !important;
}

.form-group input,
.form-group select,
.form-group textarea,
.input,
.form-control {
    padding: 10px 12px !important;
    font-size: 16px !important; /* Prevents iOS zoom */
    border-radius: 8px !important;
}

.form-row {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
}

/* Buttons Mobile */
.btn-primary,
.btn-secondary {
    padding: 12px 16px !important;
    font-size: 0.875rem !important;
    width: 100% !important;
    border-radius: 10px !important;
}

/* Auth Pages Mobile */
.auth-page {
    padding: 20px 12px !important;
}

.auth-card {
    padding: 20px !important;
    border-radius: 12px !important;
    margin: 0 !important;
}

.auth-logo {
    max-height: 50px !important;
    margin-bottom: 16px !important;
}

.auth-title {
    font-size: 1.25rem !important;
}

.auth-subtitle {
    font-size: 0.85rem !important;
}

/* Footer Mobile */
.public-footer {
    padding: 24px 0 !important;
}

.footer-content {
    gap: 6px !important;
}

.footer-brand {
    font-size: 0.95rem !important;
}

.footer-dev {
    font-size: 0.8rem !important;
}

.footer-info {
    font-size: 0.7rem !important;
}

/* Faixa Rotativa Mobile */
.faixa-container {
    padding: 10px 0 !important;
    font-size: 11px !important;
}

.faixa-btn {
    padding: 0 10px !important;
    font-size: 14px !important;
}

.faixa-texto {
    padding: 0 5px !important;
}

/* Logos Section Mobile */
.logos-section {
    padding: 20px 0 !important;
}

.logos-track {
    gap: 20px !important;
}

.logo-item {
    width: 80px !important;
    height: 40px !important;
}

/* Policies Pages Mobile */
.policy-page {
    padding: 30px 0 !important;
}

.policy-title {
    font-size: 1.5rem !important;
    margin-bottom: 20px !important;
}

.policy-content {
    padding: 20px !important;
    border-radius: 12px !important;
}

.policy-content h2 {
    font-size: 1.1rem !important;
    margin: 16px 0 10px !important;
}

.policy-content p {
    font-size: 0.9rem !important;
}

/* Thank You Page Mobile */
.thank-you-page {
    padding: 30px 16px !important;
}

.thank-you-icon {
    width: 60px !important;
    height: 60px !important;
    font-size: 1.75rem !important;
    margin-bottom: 20px !important;
}

.thank-you-title {
    font-size: 1.5rem !important;
    margin-bottom: 10px !important;
}

.thank-you-message {
    font-size: 0.9rem !important;
    margin-bottom: 24px !important;
}

.order-number {
    font-size: 1.1rem !important;
}

/* Modal Mobile */
.checkout-modal-content {
    max-width: calc(100% - 24px) !important;
    margin: 12px !important;
    border-radius: 16px !important;
    max-height: 90vh !important;
}

.checkout-modal-header {
    padding: 14px 16px !important;
}

.checkout-modal-header h3 {
    font-size: 1.1rem !important;
}

.checkout-modal-body {
    padding: 14px 16px !important;
}

.checkout-modal-footer {
    padding: 14px 16px !important;
    flex-direction: column !important;
    gap: 10px !important;
}

.btn-modal-cancel,
.btn-modal-save {
    width: 100% !important;
    padding: 12px !important;
}

/* =============================================
   SMALL PHONES (480px - 575px)
   ============================================= */
@media (min-width: 480px) {
    html {
        font-size: 15px;
    }
    
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }
    
    .products-grid {
        gap: 12px !important;
    }
    
    .product-info,
    .product-info-modern {
        padding: 10px 12px !important;
    }
    
    .product-name,
    .product-name-modern {
        font-size: 0.8rem !important;
    }
    
    .product-price,
    .product-price-modern {
        font-size: 0.95rem !important;
    }
    
    .showcase-scroll .product-card {
        min-width: 180px !important;
        max-width: 180px !important;
    }
    
    .header-logo,
    .header-logo-vitrine {
        max-height: 45px !important;
        max-width: 160px !important;
    }
}

/* =============================================
   LARGE PHONES (576px - 767px)
   ============================================= */
@media (min-width: 576px) {
    html {
        font-size: 15px;
    }
    
    .container {
        padding-left: var(--container-padding-tablet);
        padding-right: var(--container-padding-tablet);
    }
    
    .products-grid {
        gap: 16px !important;
    }
    
    .product-info,
    .product-info-modern {
        padding: 12px !important;
    }
    
    .product-name,
    .product-name-modern {
        font-size: 0.85rem !important;
    }
    
    .product-brand,
    .product-brand-modern {
        font-size: 0.65rem !important;
    }
    
    .product-actions-modern a {
        padding: 10px !important;
        font-size: 0.75rem !important;
    }
    
    .showcase-scroll .product-card {
        min-width: 200px !important;
        max-width: 200px !important;
    }
    
    .cart-sidebar {
        width: 380px !important;
        max-width: 100% !important;
        right: -380px !important;
    }
    
    .cart-sidebar.open {
        right: 0 !important;
    }
}

/* =============================================
   TABLETS (768px - 1023px)
   ============================================= */
@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
    
    .container {
        max-width: 720px;
        padding-left: var(--container-padding-tablet);
        padding-right: var(--container-padding-tablet);
    }
    
    .hide-mobile { display: block !important; }
    .show-mobile-only { display: none !important; }
    .show-tablet-only { display: block !important; }
    
    /* Header Tablet */
    .public-header {
        padding: 14px 0;
    }
    
    .header-logo,
    .header-logo-vitrine {
        max-height: 50px !important;
        max-width: 180px !important;
    }
    
    /* Vitrine Top Bar Tablet */
    .vitrine-top-bar-wrapper {
        flex-direction: row !important;
        justify-content: space-between !important;
        flex-wrap: wrap !important;
        gap: 16px !important;
    }
    
    .logo-link-vitrine {
        width: auto !important;
    }
    
    .search-filters-container {
        flex: 1 !important;
        max-width: 500px !important;
    }
    
    .filter-toggle-btn {
        width: auto !important;
        min-width: auto !important;
        padding: 10px 16px !important;
    }
    
    .filter-toggle-btn span {
        display: inline !important;
    }
    
    /* Products Grid Tablet - 3 Columns */
    .products-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 20px !important;
    }
    
    .product-info,
    .product-info-modern {
        padding: 14px !important;
    }
    
    .product-name,
    .product-name-modern {
        font-size: 0.9rem !important;
    }
    
    .product-brand,
    .product-brand-modern {
        font-size: 0.7rem !important;
    }
    
    .product-price,
    .product-price-modern {
        font-size: 1rem !important;
    }
    
    .product-installments,
    .price-installments {
        font-size: 0.7rem !important;
    }
    
    .product-actions-modern a span {
        display: inline !important;
    }
    
    /* Carousel Tablet */
    .carousel-btn {
        width: 40px !important;
        height: 40px !important;
        font-size: 1rem !important;
    }
    
    .carousel-btn.prev { left: 12px !important; }
    .carousel-btn.next { right: 12px !important; }
    
    /* Section Titles Tablet */
    .section-title,
    .showcase-title {
        font-size: 1.375rem !important;
    }
    
    .section-header {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
    }
    
    /* Product Detail Tablet */
    .product-detail-container {
        gap: 30px !important;
    }
    
    .product-detail-name {
        font-size: 1.5rem !important;
    }
    
    .product-detail-price .current {
        font-size: 1.75rem !important;
    }
    
    .product-thumbnail {
        width: 70px !important;
        height: 70px !important;
    }
    
    /* Checkout Tablet */
    .checkout-steps {
        gap: 8px !important;
        flex-wrap: wrap !important;
        overflow-x: visible !important;
        justify-content: center !important;
    }
    
    .checkout-step {
        padding: 10px 16px !important;
        font-size: 0.8rem !important;
    }
    
    .checkout-step i {
        display: inline-block !important;
    }
    
    .checkout-form-section,
    .checkout-summary {
        padding: 20px !important;
        border-radius: 16px !important;
    }
    
    /* Form Elements Tablet */
    .form-row {
        grid-template-columns: 1fr 1fr !important;
    }
    
    /* Auth Tablet */
    .auth-card {
        padding: 32px !important;
        max-width: 420px !important;
        margin: 0 auto !important;
    }
    
    .auth-title {
        font-size: 1.5rem !important;
    }
    
    /* Footer Tablet */
    .public-footer {
        padding: 32px 0 !important;
    }
    
    /* Policy Pages Tablet */
    .policy-content {
        padding: 32px !important;
    }
}

/* =============================================
   SMALL DESKTOPS (1024px - 1199px)
   ============================================= */
@media (min-width: 1024px) {
    .container {
        max-width: 960px;
        padding-left: var(--container-padding-desktop);
        padding-right: var(--container-padding-desktop);
    }
    
    .hide-tablet { display: none !important; }
    .hide-desktop { display: none !important; }
    .show-tablet-only { display: none !important; }
    .show-desktop-only { display: block !important; }
    
    /* Filter Buttons Desktop */
    .filter-toggle-btn {
        display: none !important;
    }
    
    .filter-toggle-btn-desktop {
        display: flex !important;
    }
    
    /* Products Grid Desktop - 4 Columns */
    .products-grid {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 24px !important;
    }
    
    .product-card,
    .product-card-modern {
        border-radius: 16px !important;
    }
    
    .product-info,
    .product-info-modern {
        padding: 16px !important;
    }
    
    .product-name,
    .product-name-modern {
        font-size: 0.95rem !important;
    }
    
    .product-price,
    .product-price-modern {
        font-size: 1.1rem !important;
    }
    
    /* Product Detail Desktop - 2 Columns */
    .product-detail-container {
        grid-template-columns: 1fr 1fr !important;
        gap: 40px !important;
    }
    
    .product-detail-name {
        font-size: 1.75rem !important;
    }
    
    .product-detail-price .current {
        font-size: 2rem !important;
    }
    
    /* Checkout Desktop - 2 Columns */
    .checkout-content {
        grid-template-columns: 1fr 380px !important;
    }
    
    .checkout-summary {
        position: sticky !important;
        top: 100px !important;
        order: 0 !important;
    }
    
    /* Cart Sidebar Desktop */
    .cart-sidebar {
        width: 400px !important;
        right: -400px !important;
    }
}

/* =============================================
   MEDIUM DESKTOPS (1200px - 1399px)
   ============================================= */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    
    .products-grid {
        gap: 28px !important;
    }
    
    .product-info,
    .product-info-modern {
        padding: 18px !important;
    }
    
    .product-name,
    .product-name-modern {
        font-size: 1rem !important;
    }
    
    .product-price,
    .product-price-modern {
        font-size: 1.15rem !important;
    }
    
    .product-detail-name {
        font-size: 2rem !important;
    }
    
    .product-detail-price .current {
        font-size: 2.25rem !important;
    }
}

/* =============================================
   LARGE DESKTOPS (1400px+)
   ============================================= */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    /* Products Grid Large - 5 Columns */
    .products-grid {
        grid-template-columns: repeat(5, 1fr) !important;
        gap: 28px !important;
    }
    
    .product-card,
    .product-card-modern {
        min-height: 400px;
    }
}

/* =============================================
   EXTRA LARGE SCREENS (1600px+)
   ============================================= */
@media (min-width: 1600px) {
    .container {
        max-width: 1500px;
    }
    
    .products-grid {
        grid-template-columns: repeat(5, 1fr) !important;
        gap: 32px !important;
    }
}

/* =============================================
   TOUCH DEVICE OPTIMIZATIONS
   ============================================= */
@media (hover: none) and (pointer: coarse) {
    /* Remove hover effects on touch devices */
    .product-card:hover,
    .product-card-modern:hover {
        transform: none !important;
        box-shadow: none !important;
    }
    
    .product-card:hover .product-image,
    .product-card-modern:hover .product-image-modern {
        transform: none !important;
    }
    
    /* Always show actions on touch */
    .product-actions {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
    
    /* Minimum touch target size - 44px */
    .btn-primary,
    .btn-secondary,
    .btn-add-cart,
    .btn-checkout,
    .btn-buy-now,
    .filter-toggle-btn,
    .carousel-btn,
    .qty-btn,
    .quantity-btn {
        min-height: 44px !important;
        min-width: 44px !important;
    }
    
    /* Better active states for touch feedback */
    .product-card:active,
    .product-card-modern:active {
        transform: scale(0.98) !important;
    }
    
    .btn-primary:active,
    .btn-secondary:active,
    .btn-add-cart:active,
    .btn-checkout:active {
        transform: scale(0.97) !important;
    }
}

/* =============================================
   LANDSCAPE MODE PHONES
   ============================================= */
@media (max-height: 500px) and (orientation: landscape) {
    .cart-sidebar {
        max-height: 100vh !important;
    }
    
    .mobile-filter-panel {
        max-height: 90vh !important;
    }
    
    .checkout-modal-content {
        max-height: 95vh !important;
    }
    
    .auth-page {
        padding: 16px !important;
        min-height: auto !important;
    }
    
    .auth-card {
        padding: 16px !important;
    }
    
    .auth-logo {
        max-height: 40px !important;
        margin-bottom: 12px !important;
    }
}

/* =============================================
   HIGH DPI / RETINA SCREENS
   ============================================= */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .product-card,
    .product-card-modern,
    .auth-card,
    .checkout-form-section,
    .checkout-summary {
        border-width: 0.5px !important;
    }
}

/* =============================================
   REDUCED MOTION PREFERENCE
   ============================================= */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .carousel-track {
        transition: none !important;
    }
    
    .logos-track {
        animation: none !important;
    }
    
    .product-card:hover,
    .product-card-modern:hover {
        transform: none !important;
    }
}

/* =============================================
   PRINT STYLES
   ============================================= */
@media print {
    .public-header,
    .public-footer,
    .cart-icon,
    .cart-sidebar,
    .filter-toggle-btn,
    .filter-toggle-btn-desktop,
    .carousel-btn,
    .product-actions,
    .product-actions-modern,
    .faixa-container {
        display: none !important;
    }
    
    .products-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 16px !important;
    }
    
    .product-card,
    .product-card-modern {
        break-inside: avoid;
        page-break-inside: avoid;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}

/* =============================================
   SAFE AREA INSETS (iPhone X+ / Notch Devices)
   ============================================= */
@supports (padding: max(0px)) {
    .public-header {
        padding-top: max(10px, env(safe-area-inset-top)) !important;
    }
    
    .public-footer {
        padding-bottom: max(24px, env(safe-area-inset-bottom)) !important;
    }
    
    .cart-icon {
        bottom: max(80px, calc(80px + env(safe-area-inset-bottom))) !important;
        right: max(16px, env(safe-area-inset-right)) !important;
    }
    
    .cart-sidebar {
        padding-bottom: env(safe-area-inset-bottom) !important;
    }
    
    .mobile-filter-panel {
        padding-bottom: max(24px, env(safe-area-inset-bottom)) !important;
    }
}
