/* =====================================
   MOBILE HEADER RESPONSIVE STYLES
   ===================================== */

/* Mobile toggle hamburger button */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  transition: background 0.3s;
  flex-shrink: 0;
}

.mobile-toggle:hover {
  background: #f5f5f5;
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: #333;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu slide animation (only on screens < 992px) */
@media (max-width: 991.98px) {
  .mobile-menu {
    display: block !important;
    visibility: hidden;
    opacity: 0;
    transform: translateX(-100%);
    transition: visibility 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
  }

  .mobile-menu.open {
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
  }
}

/* Overlay when mobile menu is open */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 99999;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.3s ease, opacity 0.3s ease;
  pointer-events: none;
}

.mobile-menu-overlay.active {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

/* Backdrop blur support */
@supports (backdrop-filter: blur(4px)) {
  .mobile-menu-overlay.active {
    backdrop-filter: blur(4px);
  }
}

/* Prevent body scroll when mobile menu open */
body.mobile-menu-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

/* Search toggle default hidden on desktop */
.search-toggle-mobile {
  display: none;
}

/* =====================================
   PAGE TITLE
   ===================================== */
.page-title.gsap-reveal {
  background: #f8f9fa;
  border-bottom: 1px solid #e5e5e5;
  padding: 18px 0;
  margin-bottom: 0;
}

/* =====================================
   SHOP TOP FILTER WRAPPER — 2-LINE DESIGN
   ===================================== */
.shop-top-filter-wrapper {
  padding: 12px 16px;
}
.shop-top-filter-wrapper .sptfl {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.shop-top-filter-wrapper .quickFilter {
  flex-shrink: 0;
}
.shop-top-filter-wrapper .shop-sorting {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 200px;
}
.shop-top-filter-wrapper .shop-view {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 2px;
}

@media (max-width: 1399px) {
  .col-gd {
      width: 25%;
  }
  .hero-area3.hero-area4 .item {
      height: 450px;
  }
}
@media (max-width: 1366px) {
  .slider-area-wrapper .item-inner {
      max-width: 70%;
  }
  .flash-sell-area.three_column_product .section-title h2{
      font-size: 24px;
  }
  .flash-sell-area.three_column_product .section-title h2 {
      font-size: 20px;
  }
}

@media (max-width: 1050px) {
  .left-category-area .category-list .navi-link img{
      display: none;
  }
  .left-category-area .category-list .navi-link {
      padding: 17px 8px;
  }
  .left-category-area .category-list {
      padding: 14px 0px;
  }
  .left-category-area .category-list .navi-link i {
      top: 5px;
  }

}

@media (max-width: 991px) {
  .page-title.gsap-reveal {
    padding: 14px 0;
    margin-bottom: 0;
  }
  .page-title h1,
  .page-title h2,
  .page-title h3 {
    font-size: 17px;
  }
  .page-title .breadcrumbs,
  .page-title h1,
  .page-title h2,
  .page-title h3 {
    text-align: center;
  }

  .hero-area3 .right-img img {
      max-width: 220px;
      display: inline-block;
      margin-bottom: 20px;
  }
  .slider-area-wrapper .item-inner {
      max-width: 100%;
  }

  .hero-area3 .left-content .title {
      font-size: 24px;
      line-height: 34px;
  }
  .hero-area3 .left-content{
      text-align: center;
      width: 100%;
  }
  .owl-carousel .owl-prev, .owl-carousel .owl-next {
      width: 30px;
      height: 30px;
      line-height: 30px;
  }
  .hero-area3 .left-content .subtitle {
      font-size: 30px;
  }
  .service-section.mt-60.pt-0{
      margin-top: 30px !important;
  }

  .col-gd {
      width: 33.333%;
  }
  .newproduct-section .section-title,
  .sps-two .section-title
  {
      display: block;
      text-align: center;
  }
  .sps-two  .section-title h2,
  .newproduct-section  .section-title h2
  {
      display: inline-block;
      margin-bottom : 20px;
  }
  .newproduct-section .section-title .links,
  .sps-two .section-title .links
  {
      display : block;
  }
  .newproduct-section .section-title .links, 
  .sps-two .section-title .links 
  {
      padding-bottom: 10px;
  }
  .section-title .links a::before {
      display: none;
  }
  .widget.p-4 {
      padding: 0px !important;
      box-shadow: none !important;
  }
  .contact-page .card.widget.p-4,
  .checkut-page .card.widget.p-4
  {
      border-radius: 5px !important;
      padding: 1.5rem !important;
  }
  .topbar{
      position: relative;
  }
  .compare-mobile {
      margin-right: 0px;
      margin-left: 10px;
  }
  .site-header .search-box-wrap{
      position: absolute;
      left: 0px;
      width: 100%;
      background: #fff;
      width: 100%;
      height: 100%;
      top: 0px;
      z-index: 999;
  }
  .close-m-serch{
      font-size: 24px;
      margin-left: 20px;
      cursor: pointer;
  }
  .track-order-link.wishlist-mobile{
      margin-right: 10px;
  }
  .t-h-dropdown {
      margin-right: 10px;
  }
  .hero-slider .item {
      height: 430px;
  }
  .body_theme2 .hero-slider .item {
      height: 430px;
  }
}

@media (max-width: 767px) {
  .page-title.gsap-reveal {
    padding: 10px 0;
    margin-bottom: 0;
  }

  .shop-top-filter-wrapper .sptfl {
    gap: 10px;
  }
  .shop-top-filter-wrapper .quickFilter {
    order: 1;
  }
  .shop-top-filter-wrapper .shop-view {
    order: 2;
    margin-left: auto;
  }
  .shop-top-filter-wrapper .shop-sorting {
    order: 3;
    flex: 1 1 100%;
    min-width: unset;
  }
  .shop-top-filter-wrapper select.form-control:not([size]):not([multiple]) {
      height: 35px;
  }
  .quickFilter .quickFilter-title{
      height: 35px;
      line-height: 35px;
  }
  .shop-top-filter-wrapper .shop-sorting .form-control {
      max-width: 155px;
  }

  .col-gd {
      width: 50%;
  }
  .hero-slider .owl-carousel .owl-nav div {
      width: 35px;
      height: 35px;
      line-height: 35px;
  }
  .hero-slider .item {
      padding: 0px 20px;
  }
  .payment-methods .single-payment-method {
      width: 50%;
  }
  .details-page-top-right-content{
      margin-top: 30px;
  }
  .t-m-s-a{
      text-align: center;
  }
  a.genius-banner {
      margin-bottom: 30px;
  }
  .deal-of-day-section .section-title{
      display: block;
      text-align: center;
  }
  .deal-of-day-section .section-title h2{
      display: inline-block;
  }
  .deal-of-day-section .countdown{
      display: table;
      margin: 0 auto;
  }
  .deal-of-day-section .section-title .right-area{
      padding: 10px 0px 10px;
  }
  .flash-sell-area .section-title{
      text-align: left;
  }

}
@media (max-width: 576px) {
  .page-title.gsap-reveal {
    padding: 8px 0;
    margin-bottom: 0;
  }
  .page-title h1,
  .page-title h2,
  .page-title h3 {
    font-size: 15px;
  }
  .page-title .breadcrumbs > li {
    font-size: 12px;
  }

  .shop-top-filter-wrapper {
    padding: 10px 12px;
  }
  .shop-top-filter-wrapper .shop-sorting {
    flex-wrap: wrap;
    justify-content: center;
  }
  .shop-top-filter-wrapper .shop-sorting .form-control {
    max-width: 100%;
    width: 100%;
  }

  .hero-slider .item {
      height: 340px;
  }
  .announcement-with-content .left-area {
      display: none;
  }
  .announcement-with-content .right-area {
      padding-left: 0px;
  }
  .announcement-with-content .right-area h3{
      font-size: 24px;
      font-weight: 600;
  }
}


@media (max-width: 500px) {
  .hero-area3.hero-area4 .item {
      height: 250px;
  }
  .slider-area-wrapper .item-inner .title {
      font-size: 30px;
  }
  .slider-area-wrapper .item-inner .subtitle {
      font-size: 15px;
      line-height: 24px;
  }

  .selected-product-section .features-slider .owl-nav div{
      top: 50% !important;
      transform: translateY(-50%);
  }
  .selected-product-section .features-slider .owl-nav div.owl-prev{
      left: -10px;
      right: auto;
  }
  .selected-product-section .features-slider .owl-nav div.owl-next{
      right: -10px;
  }
  .product-card .product-title > a {
      font-size: 13px !important;
      display: block;
  }
  .product-card .product-category>a{
      font-size: 12px;
  }
  .deal-of-day-section .section-title .h3::before{
      display: none;
  }
  .site-header .toolbar .toolbar-item {
      width: 34px;
      margin-left: 6px;
  }
  .flash-sell-new-section .product-card{
      display: block;
  }
  .flash-sell-new-section .product-card .product-thumb{
      width: 100%;
  }
  .flash-sell-area .section-title h2{
      font-size: 20px;
  }
  .p-action-button{
      display: block;
      margin-top: 12px;
  }
  .details-page-top-right-content .product-quantity{
      float: none;
  }
  .topbar .search-box-inner .search-box select {
      width: 80px;
  }
  .site-header .search-box-wrap .input-group{
      position: unset;
  }
  .site-header .search-box-wrap .search-box-inner{
      position: relative;
  }
}

@media (max-width: 414px) {
  .page-title.gsap-reveal {
    padding: 6px 0;
    margin-bottom: 0;
  }
  .page-title h1,
  .page-title h2,
  .page-title h3 {
    font-size: 14px;
  }

  .shop-top-filter-wrapper {
    padding: 8px 10px;
  }
  .shop-top-filter-wrapper .sptfl {
    gap: 8px;
  }

  .g-3, .gy-3 {
      --bs-gutter-y: 10px !important;
  }
  .g-3, .gx-3 {
      --bs-gutter-x: 10px !important;
  }
  .t-h-dropdown {
      margin-right: 8px;
  }
  .section-title h2 {
      font-size: 20px;
  }
  .details-page-top-right-content .p-title-main {
      font-size: 20px;
      line-height: 30px;
  }
 
}
@media (max-width: 390px) {
  .product-card .product-price > del{
      display: block;
  }
}
@media (max-width: 360px) {
  .product-card .product-title > a {
      font-size: 12px !important;
  }
  .product-card .product-card-body {
      padding: 10px 5px 0px;
  }
  .product-card.p-col .product-thumb {
      width: 100px;
      margin-right: 20px;
  }
  .genius-banner .inner-content h4 {
      font-size: 20px;
  }
}

.pagination {
  display: block; 
}
.pagination li {
  display: inline-block;
  margin: 3px 3px;
}