/* ===== ANATOLIAN RENOVATIONS - RESPONSIVE STYLES ===== */

/* ========== PRODUCT CARD NEW DESIGN (Same as Shop Page) ========== */
.product-card-new {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card-new:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.product-card-new .product-image-wrapper {
    position: relative;
    padding-top: 100%;
    background: #f8f9fa;
    overflow: hidden;
}

.product-card-new .product-image-wrapper a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card-new .product-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card-new:hover .product-image-wrapper img {
    transform: scale(1.05);
}

.product-card-new .product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 12px;
    background: #e53e3e;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    z-index: 2;
}

.product-card-new .product-badge.out-of-stock {
    background: #718096;
}

.product-card-new .product-badge.sale {
    background: #e53e3e;
}

.product-card-new .product-info-new {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-card-new .product-name-new {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 12px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 42px;
}

.product-card-new .product-name-new a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.product-card-new .product-name-new a:hover {
    color: #555;
}

.product-card-new .product-price-row-new {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.product-card-new .current-price-new {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
}

.product-card-new .original-price-new {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
}

.product-card-new .add-cart-row-new {
    display: flex;
    align-items: stretch;
    gap: 0;
    margin-top: auto;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #1a1a1a;
}

.product-card-new .qty-container-new {
    display: flex;
    align-items: center;
    background: #fff;
    border-right: 1px solid #1a1a1a;
}

.product-card-new .qty-input-new {
    width: 50px;
    height: 44px;
    border: none;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    background: transparent;
    padding: 0;
    -moz-appearance: textfield;
}

.product-card-new .qty-input-new::-webkit-outer-spin-button,
.product-card-new .qty-input-new::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.product-card-new .qty-input-new:focus {
    outline: none;
}

.product-card-new .add-cart-btn-new {
    flex: 1;
    padding: 12px 16px;
    background: #1a1a1a;
    color: #fff;
    border: none;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.product-card-new .add-cart-btn-new:hover {
    background: #333;
}

.product-card-new .add-cart-btn-new:active {
    transform: scale(0.98);
}

.product-card-new .add-cart-btn-new.disabled,
.product-card-new .add-cart-btn-new:disabled {
    background: #9ca3af !important;
    cursor: not-allowed !important;
    opacity: 0.7;
}

/* Trending Section Grid Fix for New Cards */
.trending-grid .trending-product-card {
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    overflow: visible;
}

.trending-grid .trending-product-card .product-card-new {
    height: 100%;
}

/* Product Card New - Responsive */
@media (max-width: 991px) {
    .product-card-new .product-info-new {
        padding: 16px;
    }
    
    .product-card-new .product-name-new {
        font-size: 14px;
        min-height: 40px;
    }
    
    .product-card-new .current-price-new {
        font-size: 18px;
    }
}

@media (max-width: 767px) {
    .product-card-new .product-info-new {
        padding: 14px;
    }
    
    .product-card-new .product-name-new {
        font-size: 13px;
        min-height: 36px;
        margin-bottom: 10px;
    }
    
    .product-card-new .current-price-new {
        font-size: 16px;
    }
    
    .product-card-new .original-price-new {
        font-size: 12px;
    }
    
    .product-card-new .product-price-row-new {
        margin-bottom: 12px;
    }
    
    .product-card-new .qty-input-new {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .product-card-new .add-cart-btn-new {
        padding: 10px 12px;
        font-size: 11px;
    }
    
    .product-card-new .add-cart-btn-new i {
        display: none;
    }
}

@media (max-width: 480px) {
    .product-card-new .product-info-new {
        padding: 12px;
    }
    
    .product-card-new .product-name-new {
        font-size: 12px;
        min-height: 34px;
    }
    
    .product-card-new .current-price-new {
        font-size: 15px;
    }
    
    .product-card-new .original-price-new {
        font-size: 11px;
    }
    
    .product-card-new .qty-input-new {
        width: 35px;
        height: 38px;
        font-size: 13px;
    }
    
    .product-card-new .add-cart-btn-new {
        padding: 8px 8px;
        font-size: 10px;
        letter-spacing: 0;
    }
}

/* ========== OFFCANVAS MOBILE MENU FIX ========== */

/* Fix offcanvas logo and close button */
.offcanvas__top {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-bottom: 30px !important;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.offcanvas__logo {
  flex: 1;
  background: #031424;
  padding: 15px 20px;
  border-radius: 6px;
}

.offcanvas__logo img {
  max-width: 150px;
  height: auto;
  display: block;
}

.offcanvas__close {
  flex-shrink: 0;
  margin-left: 15px;
}

.offcanvas__close button {
  width: 40px !important;
  height: 40px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #031424 !important;
  border: 2px solid #031424 !important;
  border-radius: 50% !important;
  cursor: pointer !important;
  font-size: 0 !important;
  color: #ffffff !important;
  transition: all 0.3s ease !important;
  padding: 0 !important;
  position: relative !important;
}

.offcanvas__close button::before {
  content: "✕" !important;
  font-size: 22px !important;
  color: #ffffff !important;
  font-weight: bold !important;
  line-height: 1 !important;
}

.offcanvas__close button i {
  display: none !important;
}

.offcanvas__close button:hover {
  background: #ffffff !important;
  border-color: #031424 !important;
  transform: rotate(90deg);
}

.offcanvas__close button:hover::before {
  color: #031424 !important;
}

@media (max-width: 575px) {
  .offcanvas__logo img {
    max-width: 130px;
  }

  .offcanvas__close button {
  .offcanvas__close button {
    width: 36px !important;
    height: 36px !important;
  }
  
  .offcanvas__close button::before {
    font-size: 20px !important;
  }
  .offcanvas__close button {
    width: 36px !important;
    height: 36px !important;
  }
  
  .offcanvas__close button::before {
    font-size: 20px !important;
  }
  .offcanvas__close button {
    width: 36px !important;
    height: 36px !important;
  }
  
  .offcanvas__close button::before {
    font-size: 20px !important;
  }
  .offcanvas__close button {
    width: 36px !important;
    height: 36px !important;
  }
  
  .offcanvas__close button::before {
    font-size: 20px !important;
  }
  .offcanvas__close button {
    width: 36px !important;
    height: 36px !important;
  }
  
  .offcanvas__close button::before {
    font-size: 20px !important;
  }

  .header-middle-section .header-middle-wrapper {
    flex-wrap: wrap;
    gap: 15px;
    padding: 15px 0;
  }

  .header-middle-section .logo {
    flex: 0 0 auto;
    margin-right: auto;
  }

  .header-middle-section .logo img {
    max-width: 140px;
    height: auto;
  }

  .header-middle-section .search-widget {
    order: 3;
    flex: 1 1 100%;
    max-width: 100%;
  }

  .header-middle-section .call-us {
    display: none;
  }

  .header-middle-section .header-icons-group {
    gap: 12px;
  }

  .header-middle-section .header-icons-group a,
  .header-middle-section .menu-cart a {
    font-size: 18px;
  }
}

/* Mobile Specific */
@media (max-width: 575px) {
  .header-middle-section .logo img {
    max-width: 120px;
  }

  .header-middle-section .header-icons-group {
    gap: 8px;
  }

  .header-middle-section .header-icons-group a,
  .header-middle-section .menu-cart a {
    font-size: 16px;
  }
}

/* ========== HERO SECTION RESPONSIVE ========== */

@media (max-width: 991px) {
  .hero-section .hero-slide,
  .hero-section .hero-1 {
    min-height: 500px !important;
  }

  .hero-content h1 {
    font-size: 36px !important;
  }

  .hero-content h6 {
    font-size: 14px !important;
  }

  .hero-content p {
    font-size: 15px !important;
  }
}

@media (max-width: 767px) {
  .hero-section .hero-slide,
  .hero-section .hero-1 {
    min-height: 400px !important;
  }

  .hero-content h1 {
    font-size: 28px !important;
  }

  .hero-content p {
    font-size: 14px !important;
    padding: 0 15px;
  }

  .hero-content .theme-btn {
    padding: 12px 30px !important;
    font-size: 14px !important;
  }
}

@media (max-width: 575px) {
  .hero-section .hero-slide,
  .hero-section .hero-1 {
    min-height: 350px !important;
  }

  .hero-content h1 {
    font-size: 24px !important;
  }
}

/* ========== BREADCRUMB RESPONSIVE ========== */

@media (max-width: 767px) {
  .breadcrumb-wrapper {
    padding: 100px 0 60px !important;
  }

  .breadcrumb-wrapper h2 {
    font-size: 28px;
  }

  .breadcrumb-list li {
    font-size: 14px;
  }
}

@media (max-width: 575px) {
  .breadcrumb-wrapper {
    padding: 80px 0 50px !important;
  }

  .breadcrumb-wrapper h2 {
    font-size: 24px;
  }
}

/* ========== PRODUCT GRID RESPONSIVE ========== */

@media (max-width: 991px) {
  .product-store-item .product-image {
    height: 300px;
  }
}

@media (max-width: 767px) {
  .product-store-item .product-image {
    height: 280px;
  }

  .product-wrapper .nav {
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
  }

  .product-wrapper .nav-item {
    flex: 0 0 auto;
  }

  .product-wrapper .nav-link {
    padding: 10px 20px;
    font-size: 14px;
  }

  .shop-sidebar {
    margin-bottom: 40px;
  }
}

@media (max-width: 575px) {
  .product-store-item .product-image {
    height: 250px;
  }

  .product-store-item .product-content h5 {
    font-size: 16px;
    min-height: 40px;
  }

  .product-store-item .product-content h6 {
    font-size: 16px;
  }

  .product-wrapper .nav {
    flex-direction: column;
    width: 100%;
  }

  .product-wrapper .nav-item {
    width: 100%;
  }

  .product-wrapper .nav-link {
    width: 100%;
    text-align: center;
  }
}

/* ========== PRODUCT DETAILS RESPONSIVE ========== */

@media (max-width: 991px) {
  .shop-details-image {
    margin-bottom: 30px;
  }

  .shop-details-image .tab-content img {
    max-height: 400px;
    object-fit: contain;
  }
}

@media (max-width: 767px) {
  .shop-details-image .tab-content img {
    max-height: 300px;
  }

  .product-details-content h3 {
    font-size: 22px;
  }

  .price-list h3 {
    font-size: 24px;
  }

  .cart-wrp {
    flex-direction: column;
    gap: 15px;
  }

  .cart-wrp .cart-quantity {
    width: 100%;
    max-width: 200px;
  }

  .shop-btn {
    flex-direction: column;
    gap: 10px;
  }

  .shop-btn a {
    width: 100%;
    text-align: center;
  }

  .details-nav .nav button {
    padding: 12px 15px;
    font-size: 14px;
  }
}

@media (max-width: 575px) {
  .details-nav .nav {
    flex-direction: column;
  }

  .details-nav .nav button {
    width: 100%;
    text-align: left;
    border-radius: 5px !important;
    margin-bottom: 5px;
  }

  .shop-details-image .nav-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .shop-details-image .nav-tabs button {
    flex-shrink: 0;
    min-width: 80px;
  }
}

/* ========== SHOP CART RESPONSIVE ========== */

@media (max-width: 991px) {
  .cart-wrapper {
    overflow-x: auto;
  }

  .cart-wrapper table {
    min-width: 700px;
  }
}

@media (max-width: 767px) {
  .cart-total-box {
    margin-top: 30px;
  }

  .coupon-apply-wrapper {
    flex-direction: column;
    gap: 15px;
  }

  .coupon-apply-wrapper input {
    width: 100%;
  }
}

/* ========== CHECKOUT RESPONSIVE ========== */

@media (max-width: 991px) {
  .checkout-wrapper .col-lg-7 {
    margin-bottom: 40px;
  }
}

@media (max-width: 767px) {
  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 14px;
    padding: 12px 15px;
  }
}

/* ========== CONTACT PAGE RESPONSIVE ========== */

@media (max-width: 991px) {
  .contact-wrapper .col-lg-5 {
    margin-bottom: 40px;
  }
}

@media (max-width: 767px) {
  .contact-info-items {
    padding: 30px 20px;
  }

  .contact-info-items h3 {
    font-size: 20px;
  }
}

/* ========== ABOUT PAGE RESPONSIVE ========== */

@media (max-width: 991px) {
  .about-image {
    margin-bottom: 40px;
  }
}

@media (max-width: 767px) {
  .about-content h2 {
    font-size: 28px;
  }
}

/* ========== TESTIMONIAL RESPONSIVE ========== */

@media (max-width: 767px) {
  .testimonial-section .array-buttons {
    display: none;
  }

  .testimonial-card-item {
    padding: 30px 20px;
  }

  .testimonial-content h4 {
    font-size: 20px;
  }

  .testimonial-content p {
    font-size: 14px;
  }
}

/* ========== FOOTER RESPONSIVE ========== */

@media (max-width: 991px) {
  .footer-widget-wrapper .col-xl-3,
  .footer-widget-wrapper .col-lg-4 {
    margin-bottom: 40px;
  }
}

@media (max-width: 767px) {
  .footer-widget-wrapper .col-xl-3,
  .footer-widget-wrapper .col-lg-4 {
    margin-bottom: 30px;
    text-align: center;
  }

  .footer-widget-wrapper .ps-lg-5 {
    padding-left: 0 !important;
  }

  .footer-bottom .footer-wrapper {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .footer-bottom .bottom-list {
    justify-content: center;
  }

  .footer-logo img {
    margin: 0 auto;
  }

  .footer-content .social-icon {
    justify-content: center !important;
  }

  .footer-widget-wrapper .single-footer-widget ul {
    text-align: center;
  }
}

/* ========== MODAL RESPONSIVE ========== */

@media (max-width: 991px) {
  .modal-xl {
    max-width: 90%;
  }
}

@media (max-width: 767px) {
  .modal-xl {
    max-width: 95%;
    margin: 10px auto;
  }

  .shop-details-wrapper .product-details-content h3 {
    font-size: 20px;
  }

  .shop-details-wrapper .price-list h3 {
    font-size: 22px;
  }

  .modal-body {
    padding: 20px 15px;
  }
}

/* ========== FORMS RESPONSIVE ========== */

@media (max-width: 767px) {
  .form-clt input,
  .form-clt textarea,
  .form-clt select {
    font-size: 14px;
    padding: 12px 15px;
  }

  .login-sidebar,
  .sign-up-wrapper {
    padding: 30px 20px;
  }
}

/* ========== SECTION TITLES RESPONSIVE ========== */

@media (max-width: 767px) {
  .section-title h2 {
    font-size: 28px;
  }

  .section-title h6 {
    font-size: 14px;
  }
}

@media (max-width: 575px) {
  .section-title h2 {
    font-size: 24px;
  }
}

/* ========== BUTTONS RESPONSIVE ========== */

@media (max-width: 575px) {
  .theme-btn {
    padding: 14px 30px !important;
    font-size: 14px !important;
  }
}

/* ========== SPACING RESPONSIVE ========== */

@media (max-width: 767px) {
  .section-padding {
    padding: 60px 0;
  }

  .pt-130 {
    padding-top: 80px;
  }

  .pb-130 {
    padding-bottom: 80px;
  }

  .mb-5 {
    margin-bottom: 2rem !important;
  }

  .pb-4 {
    padding-bottom: 1.5rem !important;
  }
}

@media (max-width: 575px) {
  .section-padding {
    padding: 40px 0;
  }

  .pt-130 {
    padding-top: 60px;
  }

  .pb-130 {
    padding-bottom: 60px;
  }
}

/* ========== TABLE RESPONSIVE ========== */

@media (max-width: 767px) {
  .table-responsive {
    overflow-x: auto;
  }

  table {
    min-width: 100%;
    font-size: 14px;
  }

  table td,
  table th {
    padding: 10px;
  }
}

/* ========== PAGINATION RESPONSIVE ========== */

@media (max-width: 575px) {
  .pagination-area .pagination li {
    margin: 0 3px;
  }

  .pagination-area .pagination li a {
    width: 35px;
    height: 35px;
    line-height: 35px;
    font-size: 14px;
  }
}

/* ========== OFFCANVAS RESPONSIVE ========== */

@media (max-width: 575px) {
  .offcanvas__content {
    padding: 20px;
  }

  .offcanvas__contact li {
    font-size: 14px;
  }
}

/* ========== NEWS/BLOG RESPONSIVE ========== */

@media (max-width: 767px) {
  .news-card-items,
  .news-list-items {
    margin-bottom: 30px;
  }

  .news-content h3 {
    font-size: 20px;
  }
}

/* ========== ACCOUNT PAGE RESPONSIVE ========== */

@media (max-width: 991px) {
  .account-sidebar {
    margin-bottom: 40px;
  }
}

@media (max-width: 767px) {
  .account-sidebar ul li a {
    font-size: 14px;
    padding: 12px 15px;
  }
}

/* ========== FAQ PAGE RESPONSIVE ========== */

@media (max-width: 767px) {
  .faq-accordion .accordion-button {
    font-size: 16px;
    padding: 15px;
  }

  .faq-accordion .accordion-body {
    padding: 15px;
    font-size: 14px;
  }
}

/* ========== 404 PAGE RESPONSIVE ========== */

@media (max-width: 767px) {
  .error-content h2 {
    font-size: 80px;
  }

  .error-content h3 {
    font-size: 24px;
  }
}

@media (max-width: 575px) {
  .error-content h2 {
    font-size: 60px;
  }

  .error-content h3 {
    font-size: 20px;
  }
}

/* ========== UTILITIES ========== */

/* Ensure images don't overflow on mobile */
@media (max-width: 767px) {
  img {
    max-width: 100%;
    height: auto;
  }
}

/* Container adjustments for very small screens */
@media (max-width: 375px) {
  .container {
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* ========== HOME PAGE COMPREHENSIVE RESPONSIVE ========== */

/* Global Mobile Fixes */
@media (max-width: 991px) {
  html, body {
    overflow-x: hidden !important;
  }
  
  .container-fluid {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}

/* Product Item Card Mobile */
@media (max-width: 767px) {
  .product-store-item .product-image {
    height: auto !important;
    min-height: 200px !important;
  }
  
  .product-store-item .product-actions {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    padding: 10px !important;
    flex-direction: column !important;
    gap: 8px !important;
  }
  
  .product-store-item .action-btn {
    width: 100% !important;
    height: 42px !important;
    font-size: 13px !important;
  }
  
  .product-store-item .action-btn span {
    font-size: 12px !important;
  }
  
  .product-store-item .quick-view-btn {
    width: 36px !important;
    height: 36px !important;
    top: 10px !important;
    right: 10px !important;
  }
  
  .product-store-item .sale-badge {
    top: 10px !important;
    left: 10px !important;
    padding: 5px 10px !important;
    font-size: 11px !important;
  }
  
  .product-content {
    padding: 12px !important;
  }
  
  .product-content .product-category {
    font-size: 11px !important;
  }
  
  .product-content .product-title {
    font-size: 14px !important;
    line-height: 1.3 !important;
    min-height: auto !important;
    margin-bottom: 8px !important;
  }
  
  .product-content .product-title a {
    font-size: 14px !important;
  }
  
  .product-content .product-price {
    flex-wrap: wrap !important;
    gap: 5px !important;
  }
  
  .product-content .current-price {
    font-size: 18px !important;
  }
  
  .product-content .old-price {
    font-size: 14px !important;
  }
}

@media (max-width: 480px) {
  .product-store-item .product-image {
    min-height: 180px !important;
  }
  
  .product-content {
    padding: 10px !important;
  }
  
  .product-content .product-title {
    font-size: 13px !important;
  }
  
  .product-content .current-price {
    font-size: 16px !important;
  }
  
  .product-content .old-price {
    font-size: 12px !important;
  }
}

/* Newsletter Section Mobile */
@media (max-width: 767px) {
  .newsletter-section,
  .newsletter-box-items {
    padding: 40px 15px !important;
    margin: 0 !important;
  }
  
  .newsletter-box-items h2 {
    font-size: 24px !important;
    margin-bottom: 10px !important;
  }
  
  .newsletter-box-items p {
    font-size: 14px !important;
    margin-bottom: 20px !important;
  }
  
  .newsletter-form {
    flex-direction: column !important;
    gap: 10px !important;
  }
  
  .newsletter-form input {
    width: 100% !important;
    min-width: auto !important;
  }
  
  .newsletter-form button {
    width: 100% !important;
    padding: 14px 20px !important;
  }
}

/* Our Features Section Mobile */
@media (max-width: 767px) {
  .features-section,
  .feature-wrapper {
    padding: 40px 15px !important;
  }
  
  .feature-wrapper .row {
    gap: 20px !important;
  }
  
  .feature-icon-box {
    flex-direction: column !important;
    text-align: center !important;
    padding: 20px 15px !important;
  }
  
  .feature-icon-box .icon {
    margin-bottom: 15px !important;
    margin-right: 0 !important;
  }
  
  .feature-icon-box h5 {
    font-size: 16px !important;
  }
  
  .feature-icon-box p {
    font-size: 13px !important;
  }
}

/* Google Reviews Section Mobile */
@media (max-width: 991px) {
  .google-reviews-section {
    padding: 50px 15px !important;
  }
  
  .google-reviews-section .section-title h2 {
    font-size: 28px !important;
  }
  
  .reviews-grid {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
  }
}

@media (max-width: 767px) {
  .google-reviews-section {
    padding: 40px 15px !important;
  }
  
  .google-reviews-section .section-title h2 {
    font-size: 24px !important;
  }
  
  .review-card {
    padding: 20px !important;
  }
  
  .review-card .review-text {
    font-size: 14px !important;
  }
}

/* Product Blocks Section Mobile */
@media (max-width: 991px) {
  .product-blocks-section .row {
    flex-direction: column !important;
  }
  
  .product-blocks-section .col-lg-4 {
    width: 100% !important;
    margin-bottom: 30px !important;
  }
}

@media (max-width: 767px) {
  .product-blocks-section {
    padding: 40px 15px !important;
  }
  
  .product-blocks-section h4 {
    font-size: 20px !important;
    margin-bottom: 20px !important;
  }
  
  .small-product-item {
    padding: 12px !important;
  }
  
  .small-product-item img {
    width: 70px !important;
    height: 70px !important;
  }
  
  .small-product-item .product-info h6 {
    font-size: 13px !important;
  }
  
  .small-product-item .product-info .price {
    font-size: 14px !important;
  }
}

/* Featured Brands Section Mobile */
@media (max-width: 767px) {
  .brands-section,
  .brand-section {
    padding: 40px 15px !important;
  }
  
  .brands-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px !important;
  }
  
  .brand-item {
    padding: 15px !important;
  }
  
  .brand-item img {
    max-width: 80px !important;
    max-height: 40px !important;
  }
}

/* Product Collections Mobile */
@media (max-width: 991px) {
  .collections-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px !important;
  }
}

@media (max-width: 575px) {
  .collections-grid {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
  }
  
  .collection-card {
    min-height: 200px !important;
  }
  
  .collection-card h3 {
    font-size: 20px !important;
  }
}

/* Slide Cart Panel Mobile */
@media (max-width: 575px) {
  #slideCartPanel {
    width: 100% !important;
    max-width: 100% !important;
  }
  
  .slide-cart-header {
    padding: 15px !important;
  }
  
  .slide-cart-title {
    font-size: 16px !important;
  }
  
  .slide-cart-items {
    padding: 10px !important;
  }
  
  .slide-cart-item {
    padding: 12px !important;
  }
  
  .slide-cart-item-image {
    width: 60px !important;
    height: 60px !important;
  }
  
  .slide-cart-item-name {
    font-size: 13px !important;
  }
  
  .slide-cart-item-price {
    font-size: 14px !important;
  }
  
  .slide-cart-summary {
    padding: 15px !important;
  }
  
  .slide-cart-checkout-btn {
    padding: 14px !important;
    font-size: 14px !important;
  }
}

/* Quick View Modal Mobile */
@media (max-width: 767px) {
  .mfp-container {
    padding: 10px !important;
  }
  
  .popup-ajax-content {
    padding: 15px !important;
  }
  
  .popup-ajax-content .product-details-content h3 {
    font-size: 18px !important;
  }
  
  .popup-ajax-content .price-list h3 {
    font-size: 20px !important;
  }
  
  .popup-ajax-content .cart-wrp {
    flex-direction: column !important;
    gap: 10px !important;
  }
  
  .popup-ajax-content .theme-btn {
    width: 100% !important;
    padding: 12px 20px !important;
  }
}

/* Header Search Mobile */
@media (max-width: 767px) {
  .header-search-form {
    height: 44px !important;
  }
  
  .header-search-form input {
    font-size: 14px !important;
    padding: 0 10px !important;
  }
  
  .header-category-select {
    display: none !important;
  }
  
  .header-search-form button {
    width: 44px !important;
    padding: 0 !important;
  }
}

/* Fix horizontal scroll on all pages */
@media (max-width: 991px) {
  .hero-banner-wrapper,
  .featured-categories-wrapper {
    width: 100% !important;
    margin-left: 0 !important;
    overflow: hidden !important;
  }
}

/* Newsletter Modal Mobile */
@media (max-width: 767px) {
  #newsletter-modal .modal-dialog {
    margin: 15px !important;
    max-width: calc(100% - 30px) !important;
  }
  
  #newsletter-modal .modal-content {
    border-radius: 12px !important;
  }
  
  #newsletter-modal .row {
    flex-direction: column !important;
  }
  
  #newsletter-modal .col-md-5 {
    display: none !important;
  }
  
  #newsletter-modal .col-md-7 {
    width: 100% !important;
    padding: 30px 20px !important;
  }
  
  #newsletter-modal h2 {
    font-size: 24px !important;
  }
  
  #newsletter-modal p {
    font-size: 14px !important;
  }
  
  #newsletter-modal .close {
    top: 8px !important;
    right: 8px !important;
    width: 32px !important;
    height: 32px !important;
  }
}

/* Fix container overflow */
@media (max-width: 767px) {
  .container {
    max-width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  
  section {
    overflow-x: hidden !important;
  }
}

/* Mobile Navigation Fixes */
@media (max-width: 991px) {
  .offcanvas__info {
    width: 320px !important;
    max-width: 90% !important;
  }
  
  .offcanvas__content {
    padding: 20px !important;
  }
  
  .mobile-menu-nav li a {
    padding: 12px 0 !important;
    font-size: 15px !important;
  }
  
  .mobile-menu-nav .submenu {
    padding-left: 15px !important;
  }
  
  .mobile-menu-nav .submenu li a {
    font-size: 14px !important;
    padding: 10px 0 !important;
  }
}

/* Text wrapping on mobile */
@media (max-width: 575px) {
  h1, h2, h3, h4, h5, h6 {
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
  }
  
  p, span, a {
    word-wrap: break-word !important;
  }
}
