/**
 * ROMAX MARKETING - Responsive Stylesheet
 * Premium Power Tools Ecommerce Website
 */

/* Logo Responsive */
.logo-mobile {
    display: none;
}

@media (max-width: 767px) {
    .logo-desktop {
        display: none;
    }
    .logo-mobile {
        display: block;
    }
}

/* ========================================
   Large Devices (Less than 1200px)
======================================== */
@media (max-width: 1199px) {
    .hero-title {
        font-size: 42px;
    }
    
    .hero-slide {
        height: 500px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .nav-links li a {
        padding: 15px 15px;
    }
}

/* ========================================
   Medium Devices (Less than 992px)
======================================== */
@media (max-width: 991px) {
    .top-header-left {
        text-align: center;
        margin-bottom: 10px;
    }
    
    .top-header-right {
        justify-content: center;
    }
    
    .main-header {
        padding: 12px 0;
    }
    
    .logo img {
        max-height: 45px;
    }
    
    .search-bar {
        margin: 15px 0;
    }
    
    .header-actions {
        gap: 15px;
    }
    
    .header-action-item span:not(.action-count) {
        display: none;
    }
    
    .hero-slide {
        height: 450px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .category-card-image {
        height: 180px;
    }
    
    .footer-widget {
        margin-bottom: 30px;
    }
    
    .payment-methods {
        justify-content: center;
        margin-top: 15px;
    }
}

/* ========================================
   Small Devices (Less than 768px)
======================================== */
@media (max-width: 767px) {
    .top-header {
        padding: 6px 0;
        font-size: 11px;
    }
    
    .top-header-links {
        gap: 10px;
    }
    
    .top-header-links li a {
        font-size: 11px;
    }
    
    .social-icons {
        display: none;
    }
    
    .main-header {
        padding: 10px 0;
    }
    
    .logo img {
        max-height: 40px;
    }
    
    .header-actions {
        gap: 12px;
    }
    
    .header-action-item i {
        font-size: 18px;
    }
    
    .header-action-item .action-count {
        width: 16px;
        height: 16px;
        font-size: 9px;
    }
    
    .mobile-menu-toggle {
        font-size: 22px;
    }
    
    .hero-slide {
        height: 400px;
    }
    
    .hero-content {
        padding: 0 10px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 11px;
        padding: 6px 15px;
    }
    
    .hero-description {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero-buttons .btn-primary,
    .hero-buttons .btn-outline {
        width: 100%;
        justify-content: center;
    }
    
    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .slider-arrow.prev {
        left: 10px;
    }
    
    .slider-arrow.next {
        right: 10px;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .section-header {
        margin-bottom: 30px;
    }
    
    .section-title {
        font-size: 26px;
    }
    
    .section-subtitle {
        font-size: 12px;
    }
    
    .category-card-image {
        height: 150px;
    }
    
    .category-card-content h4 {
        font-size: 16px;
    }
    
    .product-image {
        height: 180px;
        padding: 15px;
    }
    
    .product-image img {
        max-height: 140px;
    }
    
    .product-info {
        padding: 12px 15px;
    }
    
    .product-name {
        font-size: 14px;
    }
    
    .current-price {
        font-size: 16px;
    }
    
    .why-choose-card {
        padding: 25px 20px;
    }
    
    .why-choose-icon {
        width: 60px;
        height: 60px;
        font-size: 26px;
    }
    
    .offer-banner {
        padding: 30px 20px;
    }
    
    .offer-title {
        font-size: 28px;
    }
    
    .countdown-item {
        text-align: center;
    }
    
    .countdown-value {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .stat-icon {
        font-size: 32px;
    }
    
    .newsletter-section {
        padding: 40px 0;
    }
    
    .newsletter-content {
        text-align: center;
        margin-bottom: 20px;
    }
    
    .newsletter-content h3 {
        font-size: 20px;
    }
    
    .main-footer {
        padding: 50px 0 0;
    }
    
    .footer-title {
        margin-top: 20px;
    }
    
    .footer-bottom {
        text-align: center;
    }
    
    .footer-bottom p {
        margin-bottom: 10px;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 20px;
        right: 20px;
    }
    
    .back-to-top {
        width: 40px;
        height: 40px;
        font-size: 16px;
        bottom: 20px;
        right: 80px;
    }
    
    .page-header {
        padding: 40px 0;
    }
    
    .page-header h1 {
        font-size: 28px;
    }
    
    .cart-table {
        display: block;
        overflow-x: auto;
    }
    
    .cart-product-info {
        min-width: 200px;
    }
    
    .auth-card {
        padding: 30px 20px;
        margin: 0 15px;
    }
}

/* ========================================
   Extra Small Devices (Less than 576px)
======================================== */
@media (max-width: 575px) {
    .top-header-left {
        display: none;
    }
    
    .top-header-right {
        width: 100%;
    }
    
    .top-header-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-slide {
        height: 350px;
    }
    
    .hero-title {
        font-size: 24px;
    }
    
    .hero-description {
        font-size: 13px;
    }
    
    .countdown-timer {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .countdown-value {
        width: 55px;
        height: 55px;
        font-size: 20px;
    }
    
    .stat-item {
        margin-bottom: 30px;
    }
    
    .stat-item:last-child {
        margin-bottom: 0;
    }
    
    .stat-number {
        font-size: 32px;
    }
    
    .stat-label {
        font-size: 12px;
    }
    
    .testimonial-card {
        padding: 20px;
    }
    
    .testimonial-text {
        font-size: 14px;
    }
    
    .testimonial-avatar {
        width: 50px;
        height: 50px;
    }
}

/* ========================================
   Preloader Responsive
======================================== */
@media (max-width: 576px) {
    .gear-large {
        font-size: 60px;
    }
    
    .gear-small {
        font-size: 30px;
    }
    
    .preloader-text .brand-name {
        font-size: 28px;
        letter-spacing: 5px;
    }
    
    .progress-bar {
        width: 150px;
    }
}

/* ========================================
   Product Grid Responsive
======================================== */
@media (max-width: 576px) {
    .product-grid .col-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* ========================================
   Category Sidebar Responsive
======================================== */
@media (max-width: 991px) {
    .category-sidebar {
        width: 280px;
    }
}

/* ========================================
   Touch Device Optimizations
======================================== */
@media (hover: none) {
    .product-actions {
        opacity: 1;
        transform: translateX(0);
    }
    
    .category-item:hover .subcategory-list {
        display: none;
    }
    
    .nav-links .dropdown-menu {
        display: none;
    }
}

/* ========================================
   Print Styles
======================================== */
@media print {
    .top-header,
    .main-header,
    .nav-bar,
    .category-sidebar,
    .whatsapp-float,
    .back-to-top,
    .newsletter-section,
    .main-footer {
        display: none !important;
    }
    
    .main-content {
        padding: 0;
    }
    
    body {
        font-size: 12pt;
        color: #000;
        background: #fff;
    }
    
    a {
        color: #000;
        text-decoration: underline;
    }
}