.flex-shrink-none {
  flex-shrink: 0;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.inset-0 {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.flex {
  display: flex;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.overflow-hidden {
  overflow: hidden;
}

.content-list-pagination .page-numbers.current {
  background-color: #ffffff;
  color: #000000;
  border-color: #ffffff;
}

/* Content List filters (category / brand / order dropdowns) */
.content-list-section > .flex.justify-between {
  gap: 32px;
}

.content-list-section > .flex.justify-between > .w-60 {
  max-width: 600px;
}

.content-list-filters {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Custom Dropdown Styling */
.custom-select-wrapper {
  position: relative;
  width: fit-content;
  display: flex;
  align-items: center;
}

.custom-select {
  position: relative;
  user-select: none;
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  font-weight: 400;
}

.custom-select__trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background-color: #1a1a1a;
  color: #ffffff;
  border: 1px solid #353535;
  border-radius: 8px;
  padding: 0 16px;
  height: 48px;
  cursor: pointer;
  transition: border-color 0.3s ease;
}

.custom-select__trigger span {
  white-space: nowrap;
}

.custom-select__trigger:hover {
  border-color: #666666;
}

.custom-select__trigger .chevron {
  transition: transform 0.3s ease;
}

.custom-select.open .custom-select__trigger .chevron {
  transform: rotate(180deg);
}

.custom-select__options {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background-color: #1a1a1a;
  border: 1px solid #353535;
  border-radius: 8px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 50;
  overflow: hidden;
}

.custom-select.open .custom-select__options {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.custom-option {
  padding: 12px 16px;
  color: #ffffff;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.custom-option:hover,
.custom-option.selected {
  background-color: #353535;
}

.bg-black {
  background-color: black;
}

.bg-opacity-50 {
  background-color: rgba(0, 0, 0, 0.5);
}

.opacity-0 {
  opacity: 0;
}

.hover\:opacity-100:hover {
  opacity: 1;
}

.transition-opacity {
  transition-property: opacity;
}

.duration-300 {
  transition-duration: 0.3s;
}

.grid {
  display: grid;
}

.grid-cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

.gap-5 {
  gap: 20px;
}

.justify-between {
  justify-content: space-between;
}

.gap-2 {
  gap: 8px;
}

.w-60 {
  width: 60%;
}

.w-40 {
  width: 40%;
}

.font-title {
  font-family: "DM Sans", Sans-serif;
}

.text-white {
  color: #ffffff;
}

.overflow-x-auto {
  overflow-x: auto;
}

.overflow-x-auto::-webkit-scrollbar {
  display: none;
}

/* Firefox */
.overflow-x-auto {
  scrollbar-width: none;
}

.flex-grow {
  flex-grow: 1;
  .elementor-button {
    width: 100%;
  }
}

.text-center {
  text-align: center;
}

.mb-4 {
  margin-bottom: 16px;
}

/* OUR BRAND */
.our-brands-carousel {
  width: calc((240px * 4) + (20px * 3)) !important;
  margin: 0 auto;
  overflow: hidden !important;
}

.our-brands-carousel .swiper-slide {
  background: #fff;
  border-radius: 8px;
  height: auto;
  width: 240px !important;
  flex-shrink: 0;
}

.our-brands-carousel .swiper-slide-inner {
  padding: 20px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 9;
}

/* Tablet: 3 logos */
@media screen and (max-width: 1024px) {
  .our-brands-carousel {
   width: calc((240px * 2) + (20px * 1)) !important;
   margin: 0 auto;
  }

  .our-brands-carousel .swiper-slide {
    width: 240px !important;
  }

}

/* Mobile: show 1 logo */
@media screen and (max-width: 767px) {
  .our-brands-carousel {
    width: 280px !important;
  }

  .our-brands-carousel .swiper-slide {
    width: 280px !important;
  }
}

/* SINGLE FOOTWEAR PAGE */
.single-product-container {
  padding: 160px 0;
  max-width: 1140px;
  margin: auto;
}

.breadcrumb {
  margin-bottom: 32px;
}
.breadcrumb .back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #cccccc;
  text-decoration: none;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  transition: color 0.3s;
}
.breadcrumb .back-link:hover {
  color: #ffffff;
}

.single-product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 80px;
}

.single-product-image {
  background-color: #ffffff;
  border-radius: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.single-product-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  max-height: 500px;
  aspect-ratio: 1 / 1;
  border-radius: 24px;
}

.single-product-details {
  color: #ffffff;
  font-family: "DM Sans", sans-serif;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: #cccccc;
  margin-bottom: 16px;
}

.product-title {
  font-size: 48px;
  font-weight: 500;
  margin: 0 0 24px 0;
  line-height: 1.1;
  color: #ffffff;
}

.product-content {
  font-size: 16px;
  line-height: 1.6;
  color: #cccccc;
  margin-bottom: 40px;
}

.product-content p {
  margin-bottom: 16px;
}

.product-content ul {
  list-style: none;
  padding-left: 0;
  margin: 16px 0;
}
.product-content ul li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 8px;
}
.product-content ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #cccccc;
}

.product-buttons {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.consult-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background-color: #ffd700;
  color: #000000;
  padding: 14px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  width: fit-content;
  transition: background-color 0.3s ease;
}
.consult-button:hover {
  background-color: #e6c200;
}

.whatsapp-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 14px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  width: fit-content;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
.whatsapp-button:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
}

.related-products-section {
  margin-top: 80px;
  margin-bottom: 80px;
}
.related-title {
  font-size: 32px;
  font-weight: 500;
  margin-bottom: 32px;
  margin-top: 0;
}

/* Tablet: container's own bottom padding gets squeezed by the mobile-swiper
   conversion, so give the section an explicit bottom gap before the footer */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .related-products-section {
    margin-bottom: 60px;
  }
}

/* Mobile: same issue, slightly tighter gap to match mobile spacing scale */
@media screen and (max-width: 767px) {
  .related-products-section {
    margin-bottom: 48px;
  }
}

.custom-tag {
  background-color: #ffffff1a;
  color: #ffffff;
  border-radius: 12px;
  padding: 8px 12px;
  font-family: "DM Sans", Sans-serif;
  font-weight: 400;
  font-size: 14px;
  width: fit-content;

  h2 {
    color: #ffffff;
    font-size: 14px;
    margin: 0;
  }
}

@media screen and (max-width: 1024px) {
  .single-product-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .single-product-container {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* SINGLE NEWS PAGE */
.single-news-container {
    padding: 160px 0 60px 0;
    max-width: 1140px;
    margin: auto;
}

.single-news-header {
    margin-bottom: 40px;
}

.single-news-header .breadcrumb {
    margin-bottom: 24px;
}

.single-news-header .product-meta {
    justify-content: center;
    margin-bottom: 24px;
}

.single-news-header .news-title {
    font-size: 48px;
    font-weight: 500;
    line-height: 1.2;
    color: #ffffff;
    max-width: 800px;
    margin: 0 auto;
}

.single-news-featured-image {
    margin-bottom: 60px;
}

.single-news-featured-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    border: 1px solid #353535;
    object-fit: cover;
    max-height: 600px;
}

.single-news-body {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.single-news-sidebar {
    width: 250px;
    flex-shrink: 0;
    position: sticky;
    top: 100px;
}

.share-box {
    background-color: #1a1a1a;
    border: 1px solid #353535;
    border-radius: 16px;
    padding: 24px;
}

.share-title {
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
    margin-top: 0;
    margin-bottom: 20px;
}

.share-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: #2a2a2a;
    border: 1px solid #353535;
    border-radius: 8px;
    padding: 12px 16px;
    color: #cccccc;
    font-size: 14px;
    font-family: "DM Sans", sans-serif;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    text-align: left;
}

.share-btn:hover {
    background-color: #353535;
    color: #ffffff;
}

.share-btn svg {
    color: #cccccc;
    transition: color 0.3s ease;
}

.share-btn:hover svg {
    color: #ffffff;
}

.single-news-content {
    flex-grow: 1;
    color: #cccccc;
    font-family: "DM Sans", sans-serif;
    line-height: 1.6;
    font-size: 16px;
}

.single-news-content h1,
.single-news-content h2,
.single-news-content h3,
.single-news-content h4 {
    color: #ffffff;
    font-family: "DM Sans", sans-serif;
    font-weight: 500;
    margin-top: 40px;
    margin-bottom: 20px;
}

.single-news-content p {
    margin-bottom: 24px;
}

.single-news-content img {
    border-radius: 16px;
    border: 1px solid #353535;
    margin: 20px 0;
    max-width: 100%;
    height: auto;
}

@media screen and (max-width: 1024px) {
    .single-news-container {
        padding-left: 16px;
        padding-right: 16px;
    }
    
    .single-news-body {
        flex-direction: column;
    }
    
    .single-news-sidebar {
        width: 100%;
        position: static;
    }
    
    .share-buttons {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .share-btn {
        width: auto;
        flex: 1 1 auto;
    }
}

/* --- HEADER STYLES --- */

/* Desktop Header Base */
/* Something outside our stylesheet (WP's default constrained content-width
   layout, or the WPCode snippet) is applying max-width:600px + auto
   inline margins to the header/footer, producing the huge ~84px side
   gutters. Force them back to full width. */
.custom-main-header,
.custom-footer,
header.site-header,
#masthead {
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.custom-main-header {
    background-color: transparent;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
    padding: 0;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.custom-main-header.header-hidden {
    transform: translateY(-100%);
}

.custom-main-header.header-scrolled,
.custom-main-header.mega-menu-active {
    background-color: #111111;
}

.custom-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    height: 120px;
    max-width: 1440px;
    margin: 0 auto;
}

.site-logo img {
    max-height: 130px;
    width: 130px;
}

.header-right-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
}

/* Desktop Main Menu */
.desktop-main-menu .main-menu-list {
    display: flex;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.desktop-main-menu .menu-item {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    position: relative;
}

.desktop-main-menu .menu-item a {
    color: #ffffff;
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.3s;
}

.desktop-main-menu .menu-item:hover a,
.desktop-main-menu .menu-item.active a {
    color: #ffd700;
}

.desktop-main-menu .chevron-down {
    color: #ffffff;
    transition: transform 0.3s, color 0.3s;
}

.desktop-main-menu .menu-item:hover .chevron-down,
.desktop-main-menu .menu-item.active .chevron-down {
    color: #ffd700;
    transform: rotate(180deg);
}

/* Desktop Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.search-btn {
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
}

.search-btn:hover {
    color: #ffd700;
}

.contact-us-btn {
    background-color: #ffd700;
    color: #000000;
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 8px 8px 0 8px;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
    text-decoration: none;
    transition: background-color 0.3s;
}

.contact-us-btn:hover {
    background-color: #e6c200;
}

/* Mega Menu */
.mega-menu-container {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #111111;
    border-top: 1px solid #333333;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 99;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    overscroll-behavior: contain;
}

.mega-menu-container::-webkit-scrollbar {
    width: 8px;
}
.mega-menu-container::-webkit-scrollbar-track {
    background: #111111;
}
.mega-menu-container::-webkit-scrollbar-thumb {
    background-color: #333333;
    border-radius: 4px;
}

.mega-menu-container.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-menu-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 40px;
    padding-top: 0;
}

.mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 64px;
}

.mega-menu-column {
    display: flex;
    flex-direction: column;
    border-right: 1px solid #333333;
    padding-top: 40px;
}

.mega-menu-parent-title {
    color: #FFFFFF7A;
    font-family: "Helvetica", sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 0;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
    &:hover {
        color: #ffd700 !important;
      }
}

.mega-menu-parent-title a,
.mobile-product-parent-title a {
    color: inherit;
    text-decoration: none;
}

.mega-menu-parent-title a:hover,
.mobile-product-parent-title a:hover {
    text-decoration: underline; /* or whatever hover style fits your design */
}

.mega-menu-child-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mega-menu-child-list a {
    color: #cccccc;
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s;
}

.mega-menu-child-list a:hover {
    color: #ffffff;
}

.mega-menu-see-all {
    color: #ffffff;
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    text-decoration: underline;
    margin-top: auto;
    &:hover {
        color: #ffd700 !important;
    }
}

/* Mobile Menu Toggle (Burger) */
.mobile-menu-toggle {
    display: none;
}

.burger-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 8px;
}

.burger-icon {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #ffffff;
    transition: all 0.3s ease;
}

/* Mobile Menus Overlay Base */
.mobile-menu-overlay,
.mobile-product-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000;
    z-index: 999;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    overflow-y: auto;
}

.mobile-menu-overlay.open,
.mobile-product-overlay.open {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid #333333;
}

.mobile-close-btn,
.mobile-back-btn {
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    transition: transform 0.3s;
}

.mobile-close-btn:hover {
    transform: rotate(90deg);
}

.mobile-back-btn {
    font-family: "DM Sans", sans-serif;
    font-size: 16px;
}

.mobile-menu-body {
    flex-grow: 1;
    padding: 24px;
}

.mobile-main-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mobile-menu-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #ffffff;
    font-family: "DM Sans", sans-serif;
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    text-decoration: none;
}

.mobile-menu-footer {
    padding: 24px;
    border-top: 1px solid #333333;
}

.mobile-contact-btn {
    display: flex;
    justify-content: center;
    width: 100%;
}

/* Mobile Product Categories */
.mobile-product-group {
    margin-bottom: 40px;
}

.mobile-product-parent-title {
    color: #ffffff;
    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.mobile-product-child-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-product-child-list a {
    color: #cccccc;
    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    text-decoration: none;
}

.mobile-product-see-all {
    color: #ffffff;
    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    text-decoration: underline;
}

/* Responsive Overrides */
@media screen and (max-width: 1024px) {
    .desktop-main-menu,
    .header-actions {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .custom-header-inner {
        padding: 0 20px;
        height: 70px;
    }

    .mega-menu-container {
        display: none;
    }
}

/* Tablet: tighten header side padding to match the footer's */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    .custom-header-inner {
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* --- FOOTER STYLES --- */
.custom-footer {
    background-color: #0e0e0e;
    color: #ffffff;
    font-family: "Helvetica", "DM Sans", sans-serif;
    padding: 60px 40px 30px;
    margin-top: 0;
}

.footer-top-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    max-width: 1440px;
    margin: 0 auto 60px;
}

.footer-col-company {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-logo {
  width: fit-content;
}
.footer-contact-list {
  flex-grow: 1;
}

.footer-col-company .footer-logo img {
    max-height: 80px;
    width: auto;
    margin-bottom: 24px;
}

.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.footer-contact-list a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.5;
    transition: color 0.3s;
}

.footer-contact-list a:hover {
    color: #ffd700;
}

.footer-contact-list svg {
    margin-top: 2px;
    flex-shrink: 0;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #2a2a2a;
    color: #ffffff;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.footer-social a:hover {
    background-color: #ffd700;
    color: #000000;
}

.footer-col-title {
    color: #FFFFFF7A;
    font-size: 14px;
    font-weight: 600;
    text-transform: capitalize;
    margin-top: 0;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

.footer-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-menu-list li {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-menu-list a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-menu-list a:hover {
    color: #ffd700;
}

.footer-bottom-bar {
    max-width: 1440px;
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid #333333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #cccccc;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-legal a:hover {
    color: #ffffff;
}

@media screen and (max-width: 1024px) {
    .custom-footer {
        padding: 40px 20px 20px;
        padding-inline-start: 20px !important;
        padding-inline-end: 20px !important;
    }

    .site-logo img {
      width: 46px;
      height: 46px;
    }
    
    .footer-top-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

/* Tablet: tighten the footer's left/right padding further so it reads
   neat instead of leaving a wide gutter on a mid-size viewport */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    .custom-footer {
        padding-left: 16px !important;
        padding-right: 16px !important;
        padding-inline-start: 16px !important;
        padding-inline-end: 16px !important;
    }

    .footer-top-grid {
        margin-left: 0;
        margin-right: 0;
    }
}

/* --- Product Title Mobile --- */
@media screen and (max-width: 1024px) {
  .m-flex-wrap {
    flex-wrap: wrap;
    flex-direction: column;
  }

  .m-container {
    padding: 0 16px;
  }

  .m-w-full {
    width: 100%;
  }

  .m-grid-cols-1 {
    grid-template-columns: 1fr;
  }

  .m-0 {
    margin: 0;
  }
   .list-container {
    overflow: visible !important;
  }

  .mobile-swiper {
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
  }

  .list-container .content-list-pagination {
    display: flex !important;
    grid-column: unset;
    margin-top: 24px;
  }

  .content-list-filters {
    flex-wrap: wrap;
    width: auto;
    gap: 8px;
  }

  .custom-select-wrapper {
    flex: 0 0 auto;
    width: fit-content;
    min-width: 0;
  }

  .custom-select__trigger {
    padding: 0 12px;
  }
}

/* Swiper sizes slides itself based on slidesPerView in custom.js — no
   width override needed here. The peek effect comes from padding on the
   container, sized differently per breakpoint below. */
.mobile-swiper .swiper-slide {
  height: auto;
}

/* Tablet: 2 items visible, small peek */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .mobile-swiper {
    padding: 0 5%;
  }
}

/* Mobile: 1 item visible, peek of next card */
@media screen and (max-width: 767px) {
  .mobile-swiper {
    padding: 0 10%;
  }
}

.product-card-inner img.product-card__brand-logo {
    position: absolute !important;
    top: 8px !important;
    right: 8px !important;
    bottom: auto !important;
    left: auto !important;
    width: 70px !important;
    height: 60px !important;
    min-height: 60px !important;
    max-height: 60px !important;
    object-fit: contain !important;
    z-index: 5 !important;
    margin: 0 !important;
}

.product-card-inner {
    position: relative !important;
}

.custom-search-result-thumb-wrap {
    position: relative;
}

.brand-logo3 {
    position: absolute !important;
    top: 8px !important;
    right: 12px !important;
    bottom: auto !important;
    left: auto !important;
    width: 60px !important;
    height: 50px !important;
    min-height: 50px !important;
    max-height: 50px !important;
    max-width: 50px !important;
    object-fit: contain !important;
    z-index: 5 !important;
    margin: 0 !important;
}

.custom-search-result-thumb-wrap {
    position: relative !important;
    width: 100% !important;
    padding: 8px;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

.custom-search-result-thumb-wrap img.custom-search-result-thumb.wp-post-image {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    min-height: 0 !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 !important;
    position: static !important;
}

@media (max-width: 900px) {
  .product-card-inner img.product-card__brand-logo {
    right: -2px !important;
    width: 80px !important;
    height: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
  }
            
}

.our-brands-carousel .swiper-slide-inner img {
  max-width: 115%;
  max-height: 115%;
  width: auto;
  height: auto;
  object-fit: cover;
}