.product-img-edit {
  display: flex;
  width: 100%;
  height: 100%;
  position: relative;
  align-items: center;
}

.card-product .card-product-wrapper:hover .product-img-edit .img-product {
  opacity: 0;
}
.card-product .card-product-wrapper:hover .product-img-edit .img-hover {
  display: block;
  z-index: 1;
  opacity: 1;
  -webkit-transform: scale(1.09);
  transform: scale(1.09);
}

/* ---------------------------------------- */
.card-product .product-img-Featured {
  display: flex;
  width: 100%;
  height: 100%;
  position: relative;
  align-items: stretch;
}

.card-product-wrapper-edit {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  z-index: 20;
  aspect-ratio: 1/1;
}

.box-nav-ul .mega-menu .card-product .card-product-wrapper-edit {
  max-height: 290px;
}

.card-product .card-product-wrapper-edit {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  z-index: 20;
  aspect-ratio: 1/0.9;
}

.card-product .card-product-wrapper-Featured {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  z-index: 20;
  aspect-ratio: 1/0.9;
}

.card-product .card-product-wrapper-Featured .sold-out {
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--bg-11);
  border-radius: 999px;
  height: 73px;
  width: 73px;
  padding: 0 5px;
}

.card-product .card-product-wrapper-Featured .sold-out span {
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  background-color: var(--bg-11);
  position: relative;
  z-index: 12;
}

.card-product .card-product-wrapper-Featured .sold-out::after {
  height: 1px;
  width: calc(100% - 16px);
  position: absolute;
  z-index: 1;
  opacity: 0.1;
  content: "";
  background-color: var(--main);
  transform: rotate(-45deg);
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}

.card-product .card-product-wrapper-Featured img {
  display: block;
  height: 100%;
  width: 100%;
  object-fit: contain;
  object-position: center;
  transition: opacity 0.5s ease, transform 2s cubic-bezier(0, 0, 0.44, 1.18);
}

.card-product .card-product-wrapper-Featured .img-hover {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.card-product
  .card-product-wrapper-Featured:hover
  .product-img-Featured
  .img-product {
  opacity: 0;
}

.card-product
  .card-product-wrapper-Featured:hover
  .product-img-Featured
  .img-hover {
  display: block;
  z-index: 1;
  opacity: 1;
  -webkit-transform: scale(1.09);
  transform: scale(1.09);
}

.card-product .card-product-wrapper-Featured .size-list {
  position: absolute;
  z-index: 20;
  bottom: 0;
  left: 0;
  right: 0;
}

.card-product .card-product-wrapper-Featured .list-product-btn {
  z-index: 10;
  position: absolute;
  bottom: 48px;
  left: 15px;
  right: 15px;
}

.card-product .card-product-wrapper-Featured .list-product-btn.absolute-2 {
  bottom: 25px;
}

.card-product .card-product-wrapper-Featured .list-product-btn.absolute-3 {
  bottom: 57px;
}

.card-product .card-product-wrapper-Featured .on-sale-wrap {
  position: absolute;
  top: 5px;
  right: 5px;
  left: 5px;
  z-index: 5;
}

.card-product .card-product-wrapper-Featured .on-sale-wrap .on-sale-item {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  word-break: break-word;
  padding: 0 6px;
  min-width: 40px;
  text-transform: capitalize;
  font-size: 12px;
  font-weight: 500;
  text-align: center;
  line-height: 22px;
  position: relative;
  background-color: #fc5732;
  color: var(--white);
  border-radius: 999px;
}

.card-product .card-product-wrapper-Featured .on-sale-wrap .new {
  background-color: #ff3232;
}

.card-product .card-product-wrapper-Featured .on-sale-wrap .best-seller {
  background-color: #44ad55;
}

.card-product .card-product-wrapper-Featured .on-sale-wrap .recommend {
  background-color: #bea36e;
}

.card-product .card-product-wrapper-Featured .on-sale-wrap .pre-order {
  background-color: #55a653;
  color: var(--white);
}

.card-product .card-product-wrapper-Featured .column-left {
  bottom: unset !important;
  right: unset !important;
  top: 15px;
}

.card-product .card-product-wrapper-Featured .column-right {
  bottom: unset !important;
  left: unset !important;
  top: 15px;
}

.card-product.none-hover .card-product-wrapper-Featured:hover .img-product {
  opacity: 1;
}

.card-product.none-hover .card-product-wrapper-Featured:hover .img-hover {
  display: none;
}

.card-product.style-9 .card-product-wrapper-Featured {
  aspect-ratio: unset;
}

.card-product.style-10 .card-product-wrapper-Featured {
  border-radius: 0;
  aspect-ratio: 1;
}

.card-product .wrapper-border-box .card-product-wrapper-Featured {
  border-radius: 0;
  aspect-ratio: 1;
}

.card-product.list-layout .card-product-wrapper-Featured {
  max-width: 338px;
  width: 35%;
}

.card-product.style-price .card-product-wrapper-Featured {
  aspect-ratio: unset;
}

.card-product.style-skincare .card-product-wrapper-Featured {
  aspect-ratio: unset;
}

.card-product.style-giftcard .card-product-wrapper-Featured {
  aspect-ratio: unset;
}

.card-product.style-line-hover .card-product-wrapper-Featured {
  border-radius: 0;
  border: 1px solid var(--main);
  aspect-ratio: unset;
}

.card-product.style-line-hover .card-product-wrapper-Featured:hover .img-hover {
  -webkit-transform: unset;
  transform: unset;
}

.card-product.style-line-hover .card-product-wrapper-Featured img {
  transition: all 0.3s ease;
}

.card-product.type-line-padding .card-product-wrapper-Featured {
  aspect-ratio: unset;
}

.card-product.type-line-padding-2 .card-product-wrapper-Featured {
  aspect-ratio: unset;
}

.card-product.style-brown .card-product-wrapper-Featured {
  aspect-ratio: unset;
}

.card-product.type-1 .card-product-wrapper-Featured {
  aspect-ratio: 1/1;
}

.card-product.type-1 .card-product-wrapper-Featured img {
  background-color: transparent;
}

.card-product.type-1 .card-product-wrapper-Featured:hover img {
  background-color: var(--white);
}

.card-product .card-product-wrapper-Featured .list-product-btn {
  bottom: 40px;
}

.card-product .card-product-wrapper-Featured .list-product-btn.absolute-2 {
  bottom: 10px;
}

.card-product .card-product-wrapper-Featured .list-product-btn.absolute-3 {
  bottom: 43px;
}

.widget-featured-products
  .featured-product-item
  .card-product-wrapper-Featured {
  width: 92px;
  min-width: 92px;
  border-radius: 10px;
  overflow: hidden;
}

.card-product .card-product-wrapper-Featured .list-product-btn {
  bottom: 40px;
}

.card-product .card-product-wrapper-Featured .list-product-btn.absolute-2 {
  bottom: 10px;
}

.card-product .card-product-wrapper-Featured .list-product-btn.absolute-3 {
  bottom: 43px;
}

.card-product .card-product-wrapper-Featured .column-left {
  left: 10px;
  top: 10px;
}

.card-product .card-product-wrapper-Featured .column-right {
  right: 10px;
  top: 10px;
}

.card-product .card-product-wrapper-Featured .sold-out {
  height: 83px;
  width: 83px;
  padding: 0 10px;
}

.card-product .card-product-wrapper-Featured .sold-out span {
  font-size: 14px;
  line-height: 22px;
}

.card-product .card-product-wrapper-Featured .on-sale-wrap {
  top: 10px;
  left: 10px;
  right: 10px;
}

.card-product .card-product-wrapper-Featured .on-sale-wrap .on-sale-item {
  padding: 0 10px;
  min-width: 59px;
  font-size: 14px;
  line-height: 29px;
}

.card-product .card-product-wrapper-Featured .list-product-btn.absolute-3 {
  bottom: 50px;
}

.card-product.style-height .card-product-wrapper-Featured img {
  min-height: 430px;
}

.card-product .card-product-wrapper-Featured .list-product-btn.absolute-2 {
  bottom: 20px;
}

.card-product .card-product-wrapper-Featured .list-product-btn.absolute-3 {
  bottom: 52px;
}

.card-product .card-product-wrapper-Featured .column-left .box-icon {
  transform: translate(-20px);
}

.card-product .card-product-wrapper-Featured .column-right .box-icon {
  transform: translate(20px);
}

.card-product .card-product-wrapper-Featured .sold-out {
  height: 93px;
  width: 93px;
}

.card-product .card-product-wrapper-Featured .on-sale-wrap {
  top: 15px;
  left: 15px;
  right: 15px;
}

.card-product.style-8 .card-product-wrapper-Featured .on-sale-wrap {
  top: 10px;
  left: 10px;
  right: 10px;
}

.card-product .card-product-wrapper-Featured .list-product-btn {
  bottom: 48px;
}

.card-product .card-product-wrapper-Featured .list-product-btn.absolute-2 {
  bottom: 25px;
}

.card-product .card-product-wrapper-Featured .list-product-btn.absolute-3 {
  bottom: 57px;
}

.card-product .card-product-wrapper-Featured .list-product-btn {
  bottom: 5px;
  left: 5px;
  right: 5px;
}

.card-product .card-product-wrapper-Featured .list-product-btn.absolute-2 {
  bottom: 5px;
}

.card-product .card-product-wrapper-Featured .list-product-btn.absolute-3 {
  bottom: 5px;
}

.card-product .card-product-wrapper-Featured .column-right {
  top: 5px;
  right: 5px;
}

.card-product .card-product-wrapper-Featured .column-left {
  top: 5px;
  left: 5px;
}

.slider-wrap-lookbook .card-product .card-product-wrapper-Featured {
  max-width: 100px;
}

.flat-spacing-27-edit-f1 {
  padding-top: 70px;
  padding-bottom: 0px;
}

.flat-spacing-27-edit {
  padding-top: 0px;
  padding-bottom: 10px;
}

.brand-item-v2-edit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.row-brand .brand-item-v2-edit {
  width: max-content;
  max-width: 215px;
}

.brand-item-v2-edit img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  width: auto;
  height: auto;
  transition: all 0.3s ease;
  cursor: pointer;
}

.brand-item-v2-edit:hover img {
  transform: scale(1.05);
}

/* Shop Collection Sections - Unique Classes */
/* Section 1 - Categories Slider - 9 items visible - Reduced Height */
.shop-collection-section-1 .shop-collection-wrapper-1 {
  display: flex !important;
  overflow-x: auto !important;
  scroll-snap-type: x mandatory !important;
}

.shop-collection-section-1 .shop-collection-slide-1 {
  flex: 0 0 auto !important;
  width: calc((100% - 64px) / 9) !important;
  min-width: 90px !important;
  max-width: 100px !important;
  scroll-snap-align: start !important;
}

.shop-collection-section-1 .card-product.style-8 {
  height: auto !important;
  min-height: auto !important;
}

.shop-collection-section-1 .card-product-wrapper {
  height: 60px !important;
  min-height: 60px !important;
  max-height: 60px !important;
}

.shop-collection-section-1 .product-img {
  height: 100% !important;
}

.shop-collection-section-1 .product-img img {
  height: 100% !important;
  object-fit: contain !important;
}

.shop-collection-section-1 .card-product-info {
  padding: 5px 0 !important;
}

.shop-collection-section-1 .card-product-info .title {
  font-size: 12px !important;
  line-height: 1.2 !important;
}

@media (max-width: 1400px) {
  .shop-collection-section-1 .shop-collection-slide-1 {
    width: calc((100% - 56px) / 8) !important;
  }
}

@media (max-width: 1200px) {
  .shop-collection-section-1 .shop-collection-slide-1 {
    width: calc((100% - 48px) / 7) !important;
  }
}

@media (max-width: 992px) {
  .shop-collection-section-1 .shop-collection-slide-1 {
    width: calc((100% - 40px) / 6) !important;
  }
}

@media (max-width: 768px) {
  .shop-collection-section-1 .shop-collection-slide-1 {
    width: calc((100% - 32px) / 5) !important;
    min-width: 80px !important;
  }
}

@media (max-width: 575px) {
  .shop-collection-section-1 .shop-collection-slide-1 {
    width: calc((100% - 24px) / 4) !important;
    min-width: 70px !important;
  }
}

/* Section 1 - Reduced Height */
.shop-collection-section-1 .card-product.style-8 {
  height: auto !important;
  min-height: auto !important;
}

.shop-collection-section-1 .card-product-wrapper {
  height: 60px !important;
  min-height: 60px !important;
  max-height: 60px !important;
}

.shop-collection-section-1 .product-img {
  height: 100% !important;
}

.shop-collection-section-1 .product-img img {
  height: 100% !important;
  object-fit: contain !important;
}

.shop-collection-section-1 .card-product-info {
  padding: 5px 0 !important;
}

.shop-collection-section-1 .card-product-info .title {
  font-size: 12px !important;
  line-height: 1.2 !important;
}

/* Section 3 - Subcategories Slider - 7 items visible - Reduced Height */
.shop-collection-section-3 .shop-collection-wrapper-3 {
  display: flex !important;
  overflow-x: auto !important;
  scroll-snap-type: x mandatory !important;
}

.shop-collection-section-3 .shop-collection-slide-3 {
  flex: 0 0 auto !important;
  width: calc((100% - 72px) / 7) !important;
  min-width: 100px !important;
  max-width: 140px !important;
  scroll-snap-align: start !important;
}

.shop-collection-section-3 .card-product.style-8 {
  height: auto !important;
  min-height: auto !important;
}

.shop-collection-section-3 .card-product-wrapper {
  height: 60px !important;
  min-height: 60px !important;
  max-height: 60px !important;
}

.shop-collection-section-3 .product-img {
  height: 100% !important;
}

.shop-collection-section-3 .product-img img {
  height: 100% !important;
  object-fit: contain !important;
}

.shop-collection-section-3 .card-product-info {
  padding: 5px 0 !important;
}

.shop-collection-section-3 .card-product-info .title {
  font-size: 12px !important;
  line-height: 1.2 !important;
}

@media (max-width: 1400px) {
  .shop-collection-section-3 .shop-collection-slide-3 {
    width: calc((100% - 60px) / 6) !important;
  }
}

@media (max-width: 1200px) {
  .shop-collection-section-3 .shop-collection-slide-3 {
    width: calc((100% - 48px) / 5) !important;
  }
}

@media (max-width: 992px) {
  .shop-collection-section-3 .shop-collection-slide-3 {
    width: calc((100% - 36px) / 4) !important;
    min-width: 90px !important;
  }
}

@media (max-width: 768px) {
  .shop-collection-section-3 .shop-collection-slide-3 {
    width: calc((100% - 24px) / 3) !important;
    min-width: 80px !important;
  }
}

@media (max-width: 575px) {
  .shop-collection-section-3 .shop-collection-slide-3 {
    width: calc((100% - 12px) / 2) !important;
    min-width: 70px !important;
  }
}

/* Brand Section Container */
.wrap-brand {
  position: relative;
  width: 100%;
}

.tf-sw-brand {
  position: relative;
  width: 100%;
  padding: 0 !important;
}

.tf-sw-brand .swiper-wrapper {
  padding: 10px 0 !important;
}

/* Section 2 - Brand Section - Reduced Width */
.shop-collection-section-2 .Brand-Section1 {
  width: 120px !important;
  min-width: 120px !important;
  max-width: 120px !important;
}

@media (max-width: 575px) {
  .shop-collection-section-2 .Brand-Section1 {
    width: 100px !important;
    min-width: 100px !important;
    max-width: 100px !important;
  }
}

/* Shop Collection Navigation Arrows */
.shop-collection-nav-2-left,
.shop-collection-nav-2-right {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 10 !important;
}

@media (min-width: 992px) {
  .shop-collection-nav-2-left {
    left: -50px !important;
  }

  .shop-collection-nav-2-right {
    right: -50px !important;
  }
}

@media (max-width: 991px) {
  .shop-collection-nav-2-left {
    left: 5px !important;
  }

  .shop-collection-nav-2-right {
    right: 5px !important;
  }
}

/* Brand Section Responsive */
@media (max-width: 575px) {
  .tf-sw-brand .swiper-wrapper {
    gap: 12px !important;
    padding: 8px 0 !important;
  }

  .brand-item-v2-edit {
    padding: 8px !important;
  }
}

@media (min-width: 576px) and (max-width: 767px) {
  .tf-sw-brand .swiper-wrapper {
    gap: 15px !important;
    padding: 9px 0 !important;
  }

  .brand-item-v2-edit {
    padding: 9px !important;
  }
}

@media (min-width: 768px) {
  .tf-sw-brand .swiper-wrapper {
    gap: 20px !important;
    padding: 5px 0 !important;
  }

  .brand-item-v2-edit {
    padding: 10px !important;
  }
}

.type-box {
  display: inline-block;
  border: 2px solid #ddd;
  border-radius: 12px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  background: #fff;
  cursor: pointer;
  white-space: nowrap;
  width: auto;
  min-width: -webkit-fill-available;
  transition: all 0.3s ease;
}

.type-box:hover {
  border-color: #ff0000;
  background: #f9f9f9;
  transform: scale(1.05);
}

.flat-spacing-8-edit {
  padding-top: 10px;
  padding-bottom: 0px;
}

.flat-spacing-25-edit {
  padding-top: 0px;
  padding-bottom: 36px;
}

.page-search-inner .tf-search-head-edit {
  max-width: 608px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 30px;
}

.widget-facet {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 10px;
  background: #fff;
  transition: all 0.3s ease;
}

.widget-facet:hover {
  border-color: #ff0000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.tf-page-title.style-2-edit {
  padding: 30px 0 36px;
}

/* ============================================
   Unified Spacing System - Responsive
   ============================================ */

/* Container Padding - Responsive */
.container {
  padding-left: 10px;
  padding-right: 10px;
}

@media (min-width: 576px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (min-width: 768px) {
  .container {
    padding-left: 30px;
    padding-right: 30px;
  }
}

@media (min-width: 992px) {
  .container {
    padding-left: 40px;
    padding-right: 40px;
  }
}

@media (min-width: 1200px) {
  .container {
    padding-left: 50px;
    padding-right: 50px;
  }
}

/* Section Spacing - Unified and Responsive - Reduced */
section {
  padding-top: 12px;
  padding-bottom: 12px;
}

@media (min-width: 768px) {
  section {
    padding-top: 5px;
    padding-bottom: 5px;
  }
}

@media (min-width: 992px) {
  section {
    padding-top: 18px;
    padding-bottom: 18px;
  }
}

@media (min-width: 1200px) {
  section {
    padding-top: 20px;
    padding-bottom: 20px;
  }
}

/* Flat Spacing Classes - Responsive - Reduced */
.flat-spacing-1,
.flat-spacing-2,
.flat-spacing-3,
.flat-spacing-4,
.flat-spacing-5,
.flat-spacing-6,
.flat-spacing-7,
.flat-spacing-8,
.flat-spacing-9,
.flat-spacing-10,
.flat-spacing-11,
.flat-spacing-12,
.flat-spacing-13,
.flat-spacing-14,
.flat-spacing-15,
.flat-spacing-16,
.flat-spacing-17,
.flat-spacing-18,
.flat-spacing-19,
.flat-spacing-20,
.flat-spacing-21,
.flat-spacing-22,
.flat-spacing-23,
.flat-spacing-24,
.flat-spacing-25,
.flat-spacing-26,
.flat-spacing-27,
.flat-spacing-28,
.flat-spacing-29,
.flat-spacing-30,
.flat-spacing-31 {
  padding-top: 12px;
  padding-bottom: 12px;
}

@media (min-width: 768px) {
  .flat-spacing-1,
  .flat-spacing-2,
  .flat-spacing-3,
  .flat-spacing-4,
  .flat-spacing-5,
  .flat-spacing-6,
  .flat-spacing-7,
  .flat-spacing-8,
  .flat-spacing-9,
  .flat-spacing-10,
  .flat-spacing-11,
  .flat-spacing-12,
  .flat-spacing-13,
  .flat-spacing-14,
  .flat-spacing-15,
  .flat-spacing-16,
  .flat-spacing-17,
  .flat-spacing-18,
  .flat-spacing-19,
  .flat-spacing-20,
  .flat-spacing-21,
  .flat-spacing-22,
  .flat-spacing-23,
  .flat-spacing-24,
  .flat-spacing-25,
  .flat-spacing-26,
  .flat-spacing-27,
  .flat-spacing-28,
  .flat-spacing-29,
  .flat-spacing-30,
  .flat-spacing-31 {
    padding-top: 15px;
    padding-bottom: 15px;
  }
}

@media (min-width: 992px) {
  .flat-spacing-1,
  .flat-spacing-2,
  .flat-spacing-3,
  .flat-spacing-4,
  .flat-spacing-5,
  .flat-spacing-6,
  .flat-spacing-7,
  .flat-spacing-8,
  .flat-spacing-9,
  .flat-spacing-10,
  .flat-spacing-11,
  .flat-spacing-12,
  .flat-spacing-13,
  .flat-spacing-14,
  .flat-spacing-15,
  .flat-spacing-16,
  .flat-spacing-17,
  .flat-spacing-18,
  .flat-spacing-19,
  .flat-spacing-20,
  .flat-spacing-21,
  .flat-spacing-22,
  .flat-spacing-23,
  .flat-spacing-24,
  .flat-spacing-25,
  .flat-spacing-26,
  .flat-spacing-27,
  .flat-spacing-28,
  .flat-spacing-29,
  .flat-spacing-30,
  .flat-spacing-31 {
    padding-top: 18px;
    padding-bottom: 18px;
  }
}

@media (min-width: 1200px) {
  .flat-spacing-1,
  .flat-spacing-2,
  .flat-spacing-3,
  .flat-spacing-4,
  .flat-spacing-5,
  .flat-spacing-6,
  .flat-spacing-7,
  .flat-spacing-8,
  .flat-spacing-9,
  .flat-spacing-10,
  .flat-spacing-11,
  .flat-spacing-12,
  .flat-spacing-13,
  .flat-spacing-14,
  .flat-spacing-15,
  .flat-spacing-16,
  .flat-spacing-17,
  .flat-spacing-18,
  .flat-spacing-19,
  .flat-spacing-20,
  .flat-spacing-21,
  .flat-spacing-22,
  .flat-spacing-23,
  .flat-spacing-24,
  .flat-spacing-25,
  .flat-spacing-26,
  .flat-spacing-27,
  .flat-spacing-28,
  .flat-spacing-29,
  .flat-spacing-30,
  .flat-spacing-31 {
    padding-top: 20px;
    padding-bottom: 20px;
  }
}

/* Specific spacing adjustments for certain classes */
.flat-spacing-2 {
  padding-top: 10px;
}

@media (min-width: 768px) {
  .flat-spacing-2 {
    padding-top: 12px;
  }
}

@media (min-width: 992px) {
  .flat-spacing-2 {
    padding-top: 15px;
  }
}

.flat-spacing-11 {
  padding-top: 15px;
  padding-bottom: 15px;
}

@media (min-width: 768px) {
  .flat-spacing-11 {
    padding-top: 18px;
    padding-bottom: 18px;
  }
}

@media (min-width: 992px) {
  .flat-spacing-11 {
    padding-top: 20px;
    padding-bottom: 20px;
  }
}

@media (min-width: 1200px) {
  .flat-spacing-11 {
    padding-top: 22px;
    padding-bottom: 22px;
  }
}

/* Brand Section - Smaller spacing */
.wrap-brand,
.tf-sw-brand,
section:has(.wrap-brand),
section:has(.tf-sw-brand) {
  padding-top: 8px !important;
  padding-bottom: 8px !important;
}

@media (min-width: 768px) {
  .wrap-brand,
  .tf-sw-brand,
  section:has(.wrap-brand),
  section:has(.tf-sw-brand) {
    padding-top: 1px !important;
    padding-bottom: 1px !important;
  }
}

@media (min-width: 992px) {
  .wrap-brand,
  .tf-sw-brand,
  section:has(.wrap-brand),
  section:has(.tf-sw-brand) {
    padding-top: 0px !important;
    padding-bottom: 2px !important;
  }
}

/* Brand carousel wrapper */
.brand-carousel,
.brand-carousel-wrapper {
  margin: 15px 0 !important;
}

@media (min-width: 768px) {
  .brand-carousel,
  .brand-carousel-wrapper {
    margin: 18px 0 !important;
  }
}

@media (min-width: 992px) {
  .brand-carousel,
  .brand-carousel-wrapper {
    margin: 20px 0 !important;
  }
}

/* Row and Column Spacing */
.row {
  margin-left: -15px;
  margin-right: -15px;
}

.row > * {
  padding-left: 15px;
  padding-right: 15px;
}

@media (min-width: 768px) {
  .row {
    margin-left: -20px;
    margin-right: -20px;
  }

  .row > * {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* Product Grid Spacing */
.tf-grid-layout {
  gap: 15px;
}

@media (min-width: 768px) {
  .tf-grid-layout {
    gap: 20px;
  }
}

@media (min-width: 992px) {
  .tf-grid-layout {
    gap: 25px;
  }
}

@media (min-width: 1200px) {
  .tf-grid-layout {
    gap: 30px;
  }
}

/* Card Product Spacing */
.card-product {
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .card-product {
    margin-bottom: 2px;
  }
}

@media (min-width: 992px) {
  .card-product {
    margin-bottom: 30px;
  }
}

/* Section Title Spacing */
.flat-title {
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .flat-title {
    margin-bottom: 25px;
  }
}

@media (min-width: 992px) {
  .flat-title {
    margin-bottom: 30px;
  }
}

/* Home Offer Block Spacing - Reduced */
.home-offer-block {
  margin: 5px 0;
}

@media (min-width: 768px) {
  .home-offer-block {
    margin: 6px 0;
  }
}

@media (min-width: 992px) {
  .home-offer-block {
    margin: 8px 0;
  }
}

/* Page Title Spacing */
.tf-page-title {
  padding: 20px 0;
}

@media (min-width: 768px) {
  .tf-page-title {
    padding: 25px 0;
  }
}

@media (min-width: 992px) {
  .tf-page-title {
    padding: 30px 0;
  }
}

/* Remove top padding utility */
.pt_0 {
  padding-top: 0 !important;
}

/* Remove bottom padding utility */
.pb_0 {
  padding-bottom: 0 !important;
}

/* Carousel Slider Margin */
.carousel-slider-wrapper {
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .carousel-slider-wrapper {
    margin-bottom: 25px;
  }
}

@media (min-width: 992px) {
  .carousel-slider-wrapper {
    margin-bottom: 30px;
  }
}

@media (min-width: 1200px) {
  .carousel-slider-wrapper {
    margin-bottom: 35px;
  }
}

/* Header Spacing */
#header .main-header {
  padding: 8px 0;
}

@media (min-width: 768px) {
  #header .main-header {
    padding: 10px 0;
  }
}

@media (min-width: 992px) {
  #header .main-header {
    padding: 12px 0;
  }
}

/* Footer Spacing */
footer {
  padding-top: 40px;
  padding-bottom: 30px;
}

/* Footer Light Bluish Background */
.footer.background-black {
  background-color: #e6f0ff !important;
  /* Light bluish color instead of black */
}

/* Footer Text Colors for Light Background */
.footer.background-black .footer-heading h6 {
  color: #0e5aa7 !important;
  /* Dark blue for headings */
}

.footer.background-black .footer-infor ul li p {
  color: #000000 !important;
  /* Black for text */
}

.footer.background-black .footer-infor ul li p a {
  color: #0e5aa7 !important;
  /* Dark blue for links */
}

.footer.background-black .footer-infor > a {
  color: #0e5aa7 !important;
  /* Dark blue for buttons/links */
}

.footer.background-black .footer-infor > a::after {
  background-color: #0e5aa7 !important;
  /* Dark blue for button underline */
}

.footer.background-black .footer-infor > a:hover {
  color: #000000 !important;
  /* Black on hover */
}

.footer.background-black .footer-infor > a:hover::after {
  background-color: #000000 !important;
  /* Black underline on hover */
}

.footer.background-black .footer-menu_item {
  color: #000000 !important;
  /* Black for menu items */
}

.footer.background-black .footer-menu_item:hover {
  color: #0e5aa7 !important;
  /* Dark blue on hover */
}

.footer.background-black .footer-newsletter form input {
  background-color: #ffffff !important;
  border: 1px solid #0e5aa7 !important;
  color: #000000 !important;
  /* White input with dark blue border */
}

.footer.background-black .footer-newsletter form input::placeholder {
  color: #666666 !important;
  /* Gray placeholder text */
}

.footer.background-black .footer-bottom-wrap .footer-menu_item {
  color: #000000 !important;
  /* Black for footer bottom text */
}

.footer.background-black .footer-wrap .footer-bottom .footer-bottom-wrap {
  border-top: 1px solid #0e5aa7 !important;
  /* Dark blue border instead of dark gray */
}

/* Button styles in footer */
.footer.background-black .tf-btn {
  color: #ffffff !important;
  background-color: #0e5aa7 !important;
  border-color: #0e5aa7 !important;
}

.footer.background-black .tf-btn:hover {
  background-color: #000000 !important;
  border-color: #000000 !important;
}

.footer.background-black .tf-btn.btn-line {
  color: #0e5aa7 !important;
  background-color: transparent !important;
  border-color: #0e5aa7 !important;
}

.footer.background-black .tf-btn.btn-line:hover {
  color: #ffffff !important;
  background-color: #0e5aa7 !important;
  border-color: #0e5aa7 !important;
}

/* Language selector styles */
.footer.background-black .image-select.type-languages,
.footer.background-black .image-select.type-languages option {
  color: #000000 !important;
  background-color: #ffffff !important;
  border-color: #0e5aa7 !important;
}

.footer.background-black .tf-languages select {
  color: #000000 !important;
  background-color: #ffffff !important;
  border: 1px solid #0e5aa7 !important;
}

/* Social icons - filled with colors for visibility */
.footer.background-black .tf-social-icon .box-icon.social-facebook {
  background-color: #1877f2 !important;
  color: #ffffff !important;
  border-color: #1877f2 !important;
}

.footer.background-black .tf-social-icon .box-icon.social-twiter {
  background-color: #000000 !important;
  color: #ffffff !important;
  border-color: #000000 !important;
}

.footer.background-black .tf-social-icon .box-icon.social-instagram {
  background: linear-gradient(
    45deg,
    #f09433 0%,
    #e6683c 25%,
    #dc2743 50%,
    #cc2366 75%,
    #bc1888 100%
  ) !important;
  color: #ffffff !important;
  border-color: transparent !important;
}

.footer.background-black .tf-social-icon .box-icon.social-tiktok {
  background-color: #000000 !important;
  color: #ffffff !important;
  border-color: #000000 !important;
}

.footer.background-black .tf-social-icon .box-icon.social-youtube {
  background-color: #ff0000 !important;
  color: #ffffff !important;
  border-color: #ff0000 !important;
}

.footer.background-black .tf-social-icon .box-icon.social-whatsapp {
  background-color: #25d366 !important;
  color: #ffffff !important;
  border-color: #25d366 !important;
}

.footer.background-black .tf-social-icon .box-icon:hover {
  opacity: 0.8 !important;
  transform: scale(1.1) !important;
  transition: all 0.3s ease !important;
}

@media (min-width: 300px) {
  .footer-logo img {
    max-width: 45%;
  }
  .shop-collection-section-2 .brand-item-v2-edit img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
  }
}
@media (min-width: 576px) {
  .footer-logo img {
    max-width: 45%;
  }
  .shop-collection-section-2 .brand-item-v2-edit img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
  }
}

@media (min-width: 768px) {
  footer {
    padding-top: 50px;
    padding-bottom: 40px;
  }
  .footer-logo img {
    max-width: 90%;
  }
  .shop-collection-section-2 .brand-item-v2-edit img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
  }
}
@media (max-width: 768px) {
  .shop-collection-section-2 .brand-item-v2-edit img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
  }
}

@media (min-width: 992px) {
  footer {
    padding-top: 60px;
    padding-bottom: 50px;
  }
  .footer-logo img {
    max-width: 90%;
  }
  .shop-collection-section-2 .brand-item-v2-edit img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
  }
}

/* Button Spacing */
.tf-btn {
  padding: 10px 20px;
  margin: 5px;
}

@media (min-width: 768px) {
  .tf-btn {
    padding: 12px 24px;
    margin: 8px;
  }
}

/* Form Input Spacing */
input[type="text"],
input[type="email"],
input[type="password"],
textarea,
select {
  padding: 10px 15px;
  margin-bottom: 15px;
}

@media (min-width: 768px) {
  input[type="text"],
  input[type="email"],
  input[type="password"],
  textarea,
  select {
    padding: 12px 18px;
    margin-bottom: 5px;
  }
}

/* Breadcrumb Spacing */
.tf-breadcrumb-wrap {
  padding: 15px 0;
}

@media (min-width: 768px) {
  .tf-breadcrumb-wrap {
    padding: 20px 0;
  }
}

@media (min-width: 992px) {
  .tf-breadcrumb-wrap {
    padding: 25px 0;
  }
}

/* Category Slider Spacing */
.circular-categories-slider,
.square-categories-slider {
  margin-bottom: 30px;
}

@media (min-width: 768px) {
  .circular-categories-slider,
  .square-categories-slider {
    margin-bottom: 40px;
  }
}

@media (min-width: 992px) {
  .circular-categories-slider,
  .square-categories-slider {
    margin-bottom: 50px;
  }
}

/* Brand Carousel Spacing - Reduced */
.brand-carousel {
  margin: 10px 0;
}

@media (min-width: 768px) {
  .brand-carousel {
    margin: 12px 0;
  }
}

@media (min-width: 992px) {
  .brand-carousel {
    margin: 15px 0;
  }
}

/* Features Icons Slider Spacing */
.features-icons-slider {
  margin: 30px 0;
}

@media (min-width: 768px) {
  .features-icons-slider {
    margin: 40px 0;
  }
}

@media (min-width: 992px) {
  .features-icons-slider {
    margin: 50px 0;
  }
}

/* Override inconsistent inline styles - Reduced */
section[style*="padding"],
section[style*="margin"] {
  padding-top: 12px !important;
  padding-bottom: 12px !important;
}

@media (min-width: 768px) {
  section[style*="padding"],
  section[style*="margin"] {
    padding-top: 8px !important;
    padding-bottom: 2px !important;
  }
}

@media (min-width: 992px) {
  section[style*="padding"],
  section[style*="margin"] {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
  }
}

@media (min-width: 1200px) {
  section[style*="padding"],
  section[style*="margin"] {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }
}

/* Header Padding Classes - Responsive */
.px_15 {
  padding-left: 15px;
  padding-right: 15px;
}

@media (min-width: 768px) {
  .px_15 {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (min-width: 992px) {
  .px_15 {
    padding-left: 30px;
    padding-right: 30px;
  }
}

.lg-px_40 {
  padding-left: 15px;
  padding-right: 15px;
}

@media (min-width: 768px) {
  .lg-px_40 {
    padding-left: 25px;
    padding-right: 25px;
  }
}

@media (min-width: 992px) {
  .lg-px_40 {
    padding-left: 35px;
    padding-right: 35px;
  }
}

@media (min-width: 1200px) {
  .lg-px_40 {
    padding-left: 40px;
    padding-right: 40px;
  }
}

/* ============================================
   Slider Fixes - Fixed Sizes
   ============================================ */

/* Swiper Container Fixes */
.product-section .swiper,
.swiper-wrapper,
.swiper-container {
  /* overflow: hidden !important; */
  width: auto !important;
}

.swiper,
.swiper-wrapper,
.swiper-container {
  /* overflow: hidden !important; */
  width: 95% !important;
  max-width: 95% !important;
}

/* .swiper-wrapper {
  display: flex !important;
  align-items: stretch !important;
} */

/* Default swiper-slide - Fixed Sizes (scoped) */
.swiper-scoped .swiper-slide {
  flex-shrink: 0 !important;
  display: flex !important;
  align-items: stretch !important;
  height: 280px !important;
  min-width: 200px !important;
  width: 200px !important;
}

/* Offer Sliders - Square/Rectangle Items */
.tf-sw-offers .swiper-slide,
.tf-sw-collection .swiper-slide {
  height: 280px !important;
  min-width: 250px !important;
  width: 250px !important;
}

/* Brand Sliders */
.tf-sw-brand .swiper-slide,
.wrap-brand .swiper-slide {
  height: 100px !important;
  min-width: 150px !important;
  width: 150px !important;
}

@media (max-width: 575px) {
  .tf-sw-brand .swiper-slide,
  .wrap-brand .swiper-slide {
    height: 80px !important;
    min-width: 120px !important;
    width: 120px !important;
  }
}

@media (min-width: 576px) and (max-width: 767px) {
  .tf-sw-brand .swiper-slide,
  .wrap-brand .swiper-slide {
    height: 90px !important;
    min-width: 130px !important;
    width: 130px !important;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .tf-sw-brand .swiper-slide,
  .wrap-brand .swiper-slide {
    height: 95px !important;
    min-width: 140px !important;
    width: 140px !important;
  }
}

@media (min-width: 992px) {
  .tf-sw-brand .swiper-slide,
  .wrap-brand .swiper-slide {
    height: 100px !important;
    min-width: 150px !important;
    width: 150px !important;
  }
}

/* Category Sliders - Circular */
.tf-sw-categories .swiper-slide,
.tf-categories-container .collection-item-circle {
  height: 180px !important;
  min-width: 130px !important;
  width: 130px !important;
}

/* Main Slideshow */
.tf-sw-slideshow .swiper-slide {
  height: 400px !important;
  width: 100% !important;
  min-width: 100% !important;
}

/* Prevent slider items from being cut off */
.tf-sw-slideshow,
.tf-sw-brand,
.tf-sw-collection,
.tf-sw-offers,
.tf-sw-categories {
  overflow: hidden !important;
  position: relative !important;
}

.tf-sw-slideshow .swiper-wrapper,
.tf-sw-brand .swiper-wrapper,
.tf-sw-collection .swiper-wrapper,
.tf-sw-offers .swiper-wrapper,
.tf-sw-categories .swiper-wrapper {
  overflow: visible !important;
}

/* Fix for category sliders */
.tf-categories-container {
  overflow-x: auto !important;
  overflow-y: hidden !important;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.tf-categories-container::-webkit-scrollbar {
  display: none;
}

.tf-categories-container .collection-item-circle {
  flex-shrink: 0 !important;
  height: 180px !important;
  min-width: 130px !important;
  width: 130px !important;
}

/* Brand slider fixes */
.wrap-brand .swiper-wrapper {
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch;
}

.wrap-brand .swiper-slide {
  flex: 0 0 auto !important;
  height: 120px !important;
  min-width: 140px !important;
  width: 140px !important;
}

/* Collection slider fixes */
.wrap-collection .swiper-wrapper {
  display: flex !important;
  flex-wrap: nowrap !important;
}

.wrap-collection .swiper-slide {
  flex: 0 0 auto !important;
  height: 280px !important;
  min-width: 250px !important;
  width: 250px !important;
}

/* Collection Item V3 (Offers) */
/* .collection-item-v3 {
  width: 100% !important;
  height: 100% !important;
} */

/* Responsive slider fixes - Mobile */
@media (max-width: 575px) {
  .swiper-scoped .swiper-slide {
    height: 200px !important;
    min-width: 160px !important;
    width: 160px !important;
  }

  .tf-sw-offers .swiper-slide,
  .tf-sw-collection .swiper-slide,
  .wrap-collection .swiper-slide {
    height: 220px !important;
    min-width: 180px !important;
    width: 180px !important;
  }

  .tf-sw-brand .swiper-slide,
  .wrap-brand .swiper-slide {
    height: 100px !important;
    min-width: 120px !important;
    width: 120px !important;
  }

  .tf-sw-categories .swiper-slide,
  .tf-categories-container .collection-item-circle {
    height: 150px !important;
    min-width: 130px !important;
    width: 130px !important;
  }

  .tf-sw-slideshow .swiper-slide {
    height: 250px !important;
    width: 100% !important;
    min-width: 100% !important;
  }

  .tf-categories-container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  .circularCategoriesSlider-tf-categories-container {
    padding-left: 0px !important;
    padding-right: 0px !important;
  }

  .wrap-brand .swiper-wrapper {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}

/* Responsive slider fixes - Tablet */
@media (min-width: 576px) and (max-width: 767px) {
  .swiper-scoped .swiper-slide {
    height: 240px !important;
    min-width: 180px !important;
    width: 180px !important;
  }

  .tf-sw-offers .swiper-slide,
  .tf-sw-collection .swiper-slide,
  .wrap-collection .swiper-slide {
    height: 260px !important;
    min-width: 220px !important;
    width: 220px !important;
  }

  .tf-sw-brand .swiper-slide,
  .wrap-brand .swiper-slide {
    height: 110px !important;
    min-width: 130px !important;
    width: 130px !important;
  }

  .tf-sw-categories .swiper-slide,
  .tf-categories-container .collection-item-circle {
    height: 165px !important;
    min-width: 130px !important;
    width: 130px !important;
  }

  .tf-categories-container .collection-item-circle {
    height: 130px !important;
    min-width: 130px !important;
    width: 130px !important;
  }

  .tf-sw-slideshow .swiper-slide {
    height: 300px !important;
    width: 100% !important;
    min-width: 100% !important;
  }
}

/* Responsive slider fixes - Desktop Small */
@media (min-width: 768px) and (max-width: 991px) {
  .swiper-scoped .swiper-slide {
    height: 260px !important;
    min-width: 200px !important;
    width: 200px !important;
  }

  .tf-sw-offers .swiper-slide,
  .tf-sw-collection .swiper-slide,
  .wrap-collection .swiper-slide {
    height: 280px !important;
    min-width: 240px !important;
    width: 240px !important;
  }

  .tf-sw-brand .swiper-slide,
  .wrap-brand .swiper-slide {
    height: 115px !important;
    min-width: 135px !important;
    width: 135px !important;
  }

  .tf-sw-categories .swiper-slide,
  .tf-categories-container .collection-item-circle {
    height: 175px !important;
    min-width: 130px !important;
    width: 130px !important;
  }

  .tf-sw-slideshow .swiper-slide {
    height: 350px !important;
    width: 100% !important;
    min-width: 100% !important;
  }
}

/* Responsive slider fixes - Desktop Large */
@media (min-width: 992px) {
  .swiper-scoped .swiper-slide {
    height: 280px !important;
    min-width: 220px !important;
    width: 220px !important;
  }

  .tf-sw-offers .swiper-slide,
  .tf-sw-collection .swiper-slide,
  .wrap-collection .swiper-slide {
    height: 300px !important;
    min-width: 280px !important;
    width: 280px !important;
  }

  .tf-sw-brand .swiper-slide,
  .wrap-brand .swiper-slide {
    height: 120px !important;
    min-width: 140px !important;
    width: 140px !important;
  }

  .tf-sw-categories .swiper-slide,
  .tf-categories-container .collection-item-circle {
    height: 180px !important;
    min-width: 130px !important;
    width: 130px !important;
  }

  .tf-sw-slideshow .swiper-slide {
    height: 400px !important;
    width: 100% !important;
    min-width: 100% !important;
  }
}

/* Responsive slider fixes - Desktop XL */
@media (min-width: 1200px) {
  .swiper-scoped .swiper-slide {
    height: 300px !important;
    min-width: 250px !important;
    width: 250px !important;
  }

  .tf-sw-offers .swiper-slide,
  .tf-sw-collection .swiper-slide,
  .wrap-collection .swiper-slide {
    height: 320px !important;
    min-width: 300px !important;
    width: 300px !important;
  }

  .tf-sw-brand .swiper-slide,
  .wrap-brand .swiper-slide {
    height: 130px !important;
    min-width: 150px !important;
    width: 150px !important;
  }

  .tf-sw-categories .swiper-slide,
  .tf-categories-container .collection-item-circle {
    height: 200px !important;
    min-width: 130px !important;
    width: 130px !important;
  }

  .tf-sw-slideshow .swiper-slide {
    height: 450px !important;
    width: 100% !important;
    min-width: 100% !important;
  }
}

/* Prevent slider content overflow (scoped) */
.swiper-scoped .swiper-slide > * {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  /* overflow: hidden !important; */
}

.swiper-scoped .swiper-slide img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
}

/* === Compact default swiper slide (height أصغر) === */

/* Desktop & لحد التابلت الكبير */
.swiper-scoped .swiper-slide {
  height: 130px !important;
}

/* تابلت & لابتوب صغير */
@media (max-width: 991px) {
  .swiper-scoped .swiper-slide {
    height: 180px !important;
  }
}

/* موبايل */
@media (max-width: 575px) {
  .swiper-scoped .swiper-slide {
    height: 90px !important;
  }
}

/* === Brand sliders: أصغر في الطول والعرض === */

/* Desktop */
.tf-sw-brand .swiper-slide,
.wrap-brand .swiper-slide {
  height: 80px !important;
  min-width: 110px !important;
  width: 110px !important;
}

/* موبايل */
@media (max-width: 575px) {
  .tf-sw-brand .swiper-slide,
  .wrap-brand .swiper-slide {
    height: 70px !important;
    min-width: 100px !important;
    width: 100px !important;
  }
}

/* شاشات كبيرة جدًا */
@media (min-width: 1200px) {
  .tf-sw-brand .swiper-slide,
  .wrap-brand .swiper-slide {
    height: 90px !important;
    min-width: 120px !important;
    width: 120px !important;
  }
}

/* === Shop Collection - Types Slider (Section 4) === */

/* خليه ماياخدش ارتفاع الـ swiper الافتراضي */
.shop-collection-slider-4 .swiper-slide {
  height: auto !important;
  min-width: auto !important;
  width: auto !important;
}

/* نزبط الكونتينر الداخلي */
.shop-collection-slider-4 .brand-item-v2-edit {
  height: auto;
  padding: 4px 0;
}

/* شكل الـ pill نفسه */
.shop-collection-slider-4 .type-box {
  padding: 6px 14px !important;
  /* أصغر شوية من 10px 16px */
  font-size: 13px;
  line-height: 1.2;
  white-space: nowrap !important;
}

/* نقلل padding/gap بتوع الـ wrapper عشان السلايدر مايبقاش عريض زيادة */
.shop-collection-wrapper-4 {
  padding: 0 24px !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  gap: 6px !important;
}

/* نقلل الـ padding العام للـ slider نفسه */
.shop-collection-slider-4 {
  padding-left: 16px !important;
  padding-right: 16px !important;
}

/* نتأكد إن الأسهم في النص طولياً */
.shop-collection-nav-4-left,
.shop-collection-nav-4-right {
  top: 50% !important;
  transform: translateY(-50%) !important;
}

/* ========================================
   Shop Collection - Sections 1–4 Spacing
   ======================================== */

/* نفس الـ padding جوه السلايدر لكل الـ wrappers */
.shop-collection-wrapper-1,
.shop-collection-wrapper-2,
.shop-collection-wrapper-3,
.shop-collection-wrapper-4 {
  padding-left: 16px !important;
  padding-right: 16px !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  scroll-padding-left: 16px !important;
  scroll-padding-right: 16px !important;
}

/* ظبط shop-collection-slider-4 عشان يبقى زي الباقي */
.shop-collection-section-4 .shop-collection-slider-4 {
  padding-left: 16px !important;
  padding-right: 16px !important;
}

/* Section 4 مش جوه .container فنعمله كونتينر زي الباقي */
.shop-collection-section-4 .wrap-carousel {
  max-width: 1540px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
  box-sizing: border-box;
}

@media (min-width: 576px) {
  .shop-collection-section-4 .wrap-carousel {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (min-width: 768px) {
  .shop-collection-section-4 .wrap-carousel {
    padding-left: 30px;
    padding-right: 30px;
  }
}

@media (min-width: 992px) {
  .shop-collection-section-4 .wrap-carousel {
    padding-left: 40px;
    padding-right: 40px;
  }
}

@media (min-width: 1200px) {
  .shop-collection-section-4 .wrap-carousel {
    padding-left: 50px;
    padding-right: 50px;
  }
}

/* ========================================
   Shop Collection - Arrows Alignment (1–4)
   ======================================== */

.shop-collection-nav-1-left,
.shop-collection-nav-1-right,
.shop-collection-nav-2-left,
.shop-collection-nav-2-right,
.shop-collection-nav-3-left,
.shop-collection-nav-3-right,
.shop-collection-nav-4-left,
.shop-collection-nav-4-right {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 10 !important;
  cursor: pointer;
  width: 40px !important;
  height: 40px !important;
  border-radius: 50%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

/* نفس المسافة من اليمين والشمال لكل الأسهم */
.shop-collection-nav-1-left,
.shop-collection-nav-2-left,
.shop-collection-nav-3-left,
.shop-collection-nav-4-left {
  left: 10px !important;
}

.shop-collection-nav-1-right,
.shop-collection-nav-2-right,
.shop-collection-nav-3-right,
.shop-collection-nav-4-right {
  right: 10px !important;
}

/* شكل الأيقونة جوا الزرار */
.shop-collection-nav-1-left .icon,
.shop-collection-nav-1-right .icon,
.shop-collection-nav-2-left .icon,
.shop-collection-nav-2-right .icon,
.shop-collection-nav-3-left .icon,
.shop-collection-nav-3-right .icon,
.shop-collection-nav-4-left .icon,
.shop-collection-nav-4-right .icon {
  font-size: 14px;
  color: #000;
}

/* Hover واحد موحّد لكل الأسهم */
.shop-collection-nav-1-left:hover,
.shop-collection-nav-1-right:hover,
.shop-collection-nav-2-left:hover,
.shop-collection-nav-2-right:hover,
.shop-collection-nav-3-left:hover,
.shop-collection-nav-3-right:hover,
.shop-collection-nav-4-left:hover,
.shop-collection-nav-4-right:hover {
  background-color: #0e5aa7;
  box-shadow: 0 4px 12px rgba(14, 90, 167, 0.3);
}

.shop-collection-nav-1-left:hover .icon,
.shop-collection-nav-1-right:hover .icon,
.shop-collection-nav-2-left:hover .icon,
.shop-collection-nav-2-right:hover .icon,
.shop-collection-nav-3-left:hover .icon,
.shop-collection-nav-3-right:hover .icon,
.shop-collection-nav-4-left:hover .icon,
.shop-collection-nav-4-right:hover .icon {
  color: #fff;
}

/* ==============================
   Shop Collection Arrows (1–4)
   نفس مكان سكشن 3 بالظبط
   ============================== */

/* نفس ال position/top لكل الأسهم */
.shop-collection-nav-1-left,
.shop-collection-nav-1-right,
.shop-collection-nav-2-left,
.shop-collection-nav-2-right,
.shop-collection-nav-3-left,
.shop-collection-nav-3-right,
.shop-collection-nav-4-left,
.shop-collection-nav-4-right {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 10 !important;
}

/* الأسهم اللي على الشمال */
.shop-collection-nav-1-left,
.shop-collection-nav-2-left,
.shop-collection-nav-3-left,
.shop-collection-nav-4-left {
  left: 10px !important;
  /* زي سكشن 3 */
  right: auto !important;
}

/* الأسهم اللي على اليمين */
.shop-collection-nav-1-right,
.shop-collection-nav-2-right,
.shop-collection-nav-3-right,
.shop-collection-nav-4-right {
  right: 10px !important;
  /* زي سكشن 3 */
  left: auto !important;
}

/* خلى الأسهم في Section 1 و 2 تتثبت على wrap-carousel زي Section 3 */

/* خلى السلايدر بتاع السكاشن 1 و 2 و 4 static
   عشان الأسهم تتقاس على .wrap-carousel زي سكشن 3 */
.shop-collection-section-1 .shop-collection-slider-1,
.shop-collection-section-2 .shop-collection-slider-2,
.shop-collection-section-4 .shop-collection-slider-4 {
  position: static !important;
}

/* ================================
   Shop Collection - Section Spacing
   تقليل المسافات بين كل السكاشن
   ================================ */

.shop-collection-section-1,
.shop-collection-section-2,
.shop-collection-section-3,
.shop-collection-section-4,
.shop-collection-section-5,
.shop-collection-section-6 {
  padding-top: 2px !important;
  padding-bottom: 2px !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* على الموبايل نخليها أضيق شوية */
@media (max-width: 768px) {
  .shop-collection-section-1,
  .shop-collection-section-2,
  .shop-collection-section-3,
  .shop-collection-section-4,
  .shop-collection-section-5,
  .shop-collection-section-6 {
    padding-top: 1px !important;
    padding-bottom: 1px !important;
  }
}

/* ================================
   Shop Collection - Products Grid Responsive
   ================================ */

/* شاشات الموبايل والتابلت - خليها عمودين */
@media (max-width: 767px) {
  .tf-grid-layout.wrapper-shop {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px;
  }
}

/* شاشات صغيرة جدًا (موبايل صغير) - عمود واحد */
@media (max-width: 400px) {
  .tf-grid-layout.wrapper-shop {
    grid-template-columns: 1fr !important;
  }
}

/* === Shop Collection – عرض السلايدر 95% من الكونتينر === */
.shop-collection-section-1 .wrap-carousel,
.shop-collection-section-2 .wrap-carousel,
.shop-collection-section-3 .wrap-carousel,
.shop-collection-section-4 .wrap-carousel {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

/* === Shop Collection – تحريك الأسهم لجوه شوية === */
@media (min-width: 768px) {
  .shop-collection-nav-1-left,
  .shop-collection-nav-2-left,
  .shop-collection-nav-3-left,
  .shop-collection-nav-4-left {
    left: 4px !important;
  }

  .shop-collection-nav-1-right,
  .shop-collection-nav-2-right,
  .shop-collection-nav-3-right,
  .shop-collection-nav-4-right {
    right: 4px !important;
  }
}

/* على الموبايل نخليها قريبة من الطرف زي ما هي */
@media (max-width: 767px) {
  .shop-collection-nav-1-left,
  .shop-collection-nav-2-left,
  .shop-collection-nav-3-left,
  .shop-collection-nav-4-left {
    left: 5px !important;
  }

  .shop-collection-nav-1-right,
  .shop-collection-nav-2-right,
  .shop-collection-nav-3-right,
  .shop-collection-nav-4-right {
    right: 5px !important;
  }
}

/* السهم الشمال يقرب للطرف الشمال */
.shop-collection-nav-1-left,
.shop-collection-nav-2-left,
.shop-collection-nav-3-left,
.shop-collection-nav-4-left {
  left: -6px !important;
  /* سالب = يطلع شوية برا السلايدر ناحية الطرف */
}

/* السهم اليمين يقرب للطرف اليمين */
.shop-collection-nav-1-right,
.shop-collection-nav-2-right,
.shop-collection-nav-3-right,
.shop-collection-nav-4-right {
  right: -6px !important;
  /* برضه قريب جدًا من الطرف */
}

/* خلي بداية سكشن 2 زي سكشن 1 بالظبط */
.shop-collection-section-2 .wrap-brand,
.shop-collection-section-2 .tf-sw-brand {
  padding-top: 0 !important;
  padding-bottom: 5px !important;
}

/* نفس الـ padding الأفقي بتاع سكشن 1 */
.shop-collection-section-2 .shop-collection-wrapper-2 {
  padding: 0 16px !important;
}

/* إخفاء دائرة Shop all من السيكشن الأول في الهوم */
.tf-shopall {
  display: none !important;
}

/* Section titles – blue pill with Omnes Arabic font */
.flat-title .title,
.flat-title-v2 .title {
  display: inline-block !important;
  padding: 8px 24px !important;
  background-color: #0e5aa7 !important;
  color: #ffffff !important;
  border-radius: 10px !important;
  border: none !important;
  font-family: "Omnes Arabic", "Cairo", "Tajawal", "Segoe UI", Tahoma,
    sans-serif !important;
  font-weight: 800 !important;
  font-size: 16px !important;
  line-height: 1.3 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
  white-space: nowrap !important;
  box-shadow: 0 2px 6px rgba(14, 90, 167, 0.25) !important;
  transition: all 0.3s ease !important;
}

.flat-title .title:hover,
.flat-title-v2 .title:hover {
  background-color: #0d4d8f !important;
  box-shadow: 0 4px 10px rgba(14, 90, 167, 0.35) !important;
  transform: translateY(-1px) !important;
}

/* موبايل – نص أصغر وpadding أقل شوية */
@media (max-width: 575px) {
  .flat-title .title,
  .flat-title-v2 .title {
    padding: 6px 18px !important;
    font-size: 14px !important;
  }
}

/* Fix main home slider image – keep it centered */
.slider-women .wrap-slider img {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  left: auto !important;
  width: 100% !important;
  min-width: 100% !important;
  object-fit: cover !important;
}

/* خلي السلايدر الرئيسي ياخد العرض كامل ويكون في النص */
.carousel-slider-wrapper .swiper,
.carousel-slider-wrapper .swiper-wrapper {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto;
}

/* ================================
   Page-specific reduced vertical spacing
   Applies to Home and Shop pages (scoped)
   ================================ */

/* Reduce vertical spacing for sections on Home and Shop */
.page-home section,
.page-shop section {
  padding-top: 6px !important;
  padding-bottom: 6px !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* Smaller page titles */
.page-home .tf-page-title,
.page-shop .tf-page-title {
  padding-top: 8px !important;
  padding-bottom: 8px !important;
}

/* Reduce generic flat-spacing utilities when inside pages */
.page-home [class*="flat-spacing"],
.page-shop [class*="flat-spacing"] {
  padding-top: 6px !important;
  padding-bottom: 0px !important;
}

/* Home offers and carousel spacing */
.page-home .home-offer-block,
.page-shop .home-offer-block {
  margin: 4px 0 !important;
  padding: 4px 0 !important;
}

.page-home .carousel-slider-wrapper,
.page-shop .carousel-slider-wrapper {
  margin-bottom: 2px !important;
}

/* Shop collection sections and wrappers */
.page-shop [class*="shop-collection-section"],
.page-shop [class*="shop-collection-wrapper"] {
  padding-top: 6px !important;
  padding-bottom: 6px !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* Reduce spacing for product cards and grids */
.page-shop .tf-grid-layout {
  gap: 12px !important;
}

.page-shop .card-product {
  margin-bottom: 8px !important;
}

/* Brand and feature carousels */
.page-home .brand-carousel,
.page-shop .brand-carousel {
  margin: 8px 0 !important;
}

/* Ensure these smaller values apply across all viewports */
@media (max-width: 575px) {
  .page-home section,
  .page-shop section {
    padding-top: 4px !important;
    padding-bottom: 4px !important;
  }

  .page-shop .card-product {
    margin-bottom: 6px !important;
  }
}

/* ==================================
   Normalize vertical spacing between sections
   Make spacing equal and smaller across site
   ================================== */

:root {
  --section-vspace-desktop: 1px;
  /* vertical padding for sections on desktop */
  --section-vspace-tablet: 1px;
  /* tablet */
  --section-vspace-mobile: 1px;
  /* mobile */
  --section-gap: 1px;
  /* gap between sections (margin-bottom) */
}

/* Apply to semantic sections and common region containers */
section,
[role="region"],
.section,
.wrap-carousel,
.wrap-brand,
.tf-sw-brand,
.shop-collection-section-1,
.shop-collection-section-2,
.shop-collection-section-3,
.shop-collection-section-4,
.shop-collection-section-5,
.shop-collection-section-6 {
  padding-top: var(--section-vspace-desktop) !important;
  padding-bottom: var(--section-vspace-desktop) !important;
  margin-top: 0 !important;
  margin-bottom: var(--section-gap) !important;
}

/* Normalize utility flat-spacing inside sections */
[class*="flat-spacing"] {
  padding-top: var(--section-vspace-desktop) !important;
  padding-bottom: var(--section-vspace-desktop) !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* Slightly tighter spacing for page title and section headers */
.tf-page-title,
.flat-title,
.flat-title-v2 {
  margin-bottom: 6px !important;
  padding-top: calc(var(--section-vspace-desktop) / 1.5) !important;
  padding-bottom: calc(var(--section-vspace-desktop) / 1.5) !important;
}

/* Reduce vertical gaps inside common containers */
.brand-carousel,
.carousel-slider-wrapper,
.home-offer-block {
  margin-top: 4px !important;
  margin-bottom: 6px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* Product grid/card tighter spacing */
.card-product {
  margin-bottom: 8px !important;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  section,
  [role="region"],
  .section,
  .wrap-carousel,
  .wrap-brand {
    padding-top: var(--section-vspace-tablet) !important;
    padding-bottom: var(--section-vspace-tablet) !important;
    margin-bottom: calc(var(--section-gap) - 4px) !important;
  }

  #accessories-section .wrap-carousel {
    padding: 48px 30px !important;
    margin-bottom: 0px !important;
  }

  .shop-collection-section-1 .wrap-carousel,
  .shop-collection-section-2 .wrap-carousel,
  .shop-collection-section-3 .wrap-carousel,
  .shop-collection-section-4 .wrap-carousel {
    padding: 5px 5px !important;
    margin-bottom: 0px !important;
  }

  [class*="flat-spacing"] {
    padding-top: var(--section-vspace-tablet) !important;
    padding-bottom: var(--section-vspace-tablet) !important;
  }
}

@media (max-width: 575px) {
  section,
  [role="region"],
  .section,
  .wrap-carousel,
  .wrap-brand {
    padding-top: var(--section-vspace-mobile) !important;
    padding-bottom: var(--section-vspace-mobile) !important;
    margin-bottom: calc(var(--section-gap) - 6px) !important;
  }

  [class*="flat-spacing"] {
    padding-top: var(--section-vspace-mobile) !important;
    padding-bottom: var(--section-vspace-mobile) !important;
  }

  .brand-carousel,
  .carousel-slider-wrapper,
  .home-offer-block {
    margin-top: 3px !important;
    margin-bottom: 4px !important;
  }
}

/* Exceptions: if a component explicitly needs larger spacing, add a class
   e.g. .section--spacious or remove this rule by increasing specificity elsewhere */

/* Consolidated responsive sizing for category header circular items
   Ensures `.collection-item-circle-header` uses consistent sizes across viewports.
   This block is intentionally placed at the end of the file and uses
   higher specificity + !important to override scattered earlier rules.
   Heights reduced further per user's request. */
body .tf-categories-container .collection-item-circle-header {
  flex-shrink: 0 !important;
  box-sizing: border-box !important;
  height: 110px !important;
  min-width: 110px !important;
  width: 110px !important;
  max-width: 110px !important;
}

/* Small mobile - reduced further for tight screens */
@media (max-width: 575px) {
  body .tf-categories-container .collection-item-circle-header {
    height: 135px !important;
    min-width: 115px !important;
    width: 115px !important;
    max-width: 115px !important;
  }
}

/* Small tablet */
@media (min-width: 576px) and (max-width: 767px) {
  body .tf-categories-container .collection-item-circle-header {
    height: 135px !important;
    min-width: 115px !important;
    width: 115px !important;
    max-width: 115px !important;
  }
}

/* Medium screens (desktop small / large tablet) - reduced default */
@media (min-width: 768px) and (max-width: 1199px) {
  body .tf-categories-container .collection-item-circle-header {
    height: 140px !important;
    min-width: 120px !important;
    width: 120px !important;
    max-width: 120px !important;
  }
}

/* Large desktop - slightly larger but still reduced */
@media (min-width: 1200px) {
  body .tf-categories-container .collection-item-circle-header {
    height: 150px !important;
    min-width: 130px !important;
    width: 130px !important;
    max-width: 130px !important;
  }
}

/* ----------------------------------------------------------------------------
   Slideshow: responsive sizing for header slides
   Applies to `.tf-sw-slideshow .swiper-slide-header` and reduces heights
   compared to default slideshow sizes so the header appears smaller on all
   viewports. Uses higher specificity + !important to override earlier rules.
   ---------------------------------------------------------------------------- */
body .tf-sw-slideshow .swiper-slide-header {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 300px !important;
  /* reduced default */
  display: block !important;
}

/* Mobile - smallest */
@media (max-width: 575px) {
  body .tf-sw-slideshow .swiper-slide-header {
    height: 300px !important;
  }
}

/* Small tablet */
@media (min-width: 576px) and (max-width: 767px) {
  body .tf-sw-slideshow .swiper-slide-header {
    height: 300px !important;
  }
}

/* Medium screens (tablet large / small desktop) */
@media (min-width: 768px) and (max-width: 991px) {
  body .tf-sw-slideshow .swiper-slide-header {
    height: 300px !important;
  }
}

/* Desktop */
@media (min-width: 992px) and (max-width: 1199px) {
  body .tf-sw-slideshow .swiper-slide-header {
    height: 380px !important;
  }
}

/* Large desktop */
@media (min-width: 1200px) {
  body .tf-sw-slideshow .swiper-slide-header {
    height: 380px !important;
  }
}

#accessories-section
  .wrap-carousel-circularOffersSlider
  .collection-item-circle
  .collection-image
  .img-style
  .img-style-collection {
  width: 100% !important;
  height: 100% !important;
  min-width: 100% !important;
  min-height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  margin: 0 auto 6px auto !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07) !important;
  transition: box-shadow 0.2s !important;
}

#accessories-section
  .wrap-carousel-circularOffersSlider
  .collection-item-circle
  .collection-image
  .img-style-collection {
  width: 100% !important;
  height: 100% !important;
  min-width: 100% !important;
  min-height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  margin: 0 auto 6px auto !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07) !important;
  transition: box-shadow 0.2s !important;
}

.shop-collection-section-container,
.circularCategoriesSlider-tf-categories-wrap {
  padding-left: 0px !important;
  padding-right: 0px !important;
}

#accessories-section .wrap-carousel {
  padding: 48px 30px !important;
  margin-bottom: 0px !important;
}

/* Cart and Wishlist icon hover effect - keep background same, only change icon color */
.card-product .list-product-btn .box-icon {
  background-color: rgba(26, 115, 232, 0.15) !important;
  transition: background-color 0.3s ease, color 0.3s ease !important;
}

.card-product .list-product-btn .box-icon:hover {
  background-color: rgba(
    26,
    115,
    232,
    0.15
  ) !important; /* Keep same background */
  color: #0e5aa7 !important; /* Only change icon color to blue */
}

.card-product .list-product-btn .box-icon:hover .icon,
.card-product .list-product-btn .box-icon:hover .icon:before {
  color: #0e5aa7 !important; /* Change icon color on hover */
}
