
/** category-section **/

.category-section{
  position: relative;
}

.category-block-one .inner-box{
  position: relative;
  display: block;
  margin-bottom: 25px;
}

.category-block-one .inner-box .image-box{
  position: relative;
  display: block;
  max-width: 203px;
  width: 100%;
  margin: 0 auto;
  margin-bottom: 15px;
  padding-left: 37px;
  padding-top: 15px;
  padding-bottom: 22px;
}

.category-block-one .inner-box .image-box .shape{
  position: absolute;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-position: center;
}

.category-block-one .inner-box .image-box .image{
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: 6px solid #fff;
  background: #fff;
  overflow: hidden;
}

.category-block-one .inner-box .image-box .image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  transition: all 500ms ease;
}

.category-block-one .inner-box:hover .image-box .image img{
  transform: scale(1.05);
}

.category-block-one .inner-box h4{
  display: block;
  font-size: 20px;
  line-height: 30px;
}

.category-block-one .inner-box h4 a{
  display: inline-block;
  color: var(--title-color);
}

.category-block-one .inner-box h4 a:hover{

}

.category-section .shape-box .shape-1{
  position: absolute;
  left: 89px;
  top: -44px;
  width: 85px;
  height: 187px;
  background-repeat: no-repeat;
  z-index: 1;
}

.category-section .shape-box .shape-2{
  position: absolute;
  right: 0px;
  bottom: 60px;
  width: 128px;
  height: 95px;
  background-repeat: no-repeat;
}

.category-section .pattern-layer{
  position: absolute;
  left: 0px;
  top: -100px;
  width: 100%;
  height: calc(100% + 200px);
  background-repeat: no-repeat;
  background-position: center;
  z-index: 1;
  background-size: cover;
}


/** category-style-two **/

.category-style-two{
  position: relative;
}

.category-block-two{
  max-width: 245px;
  margin: 0 auto;
}

.category-block-two a{
  display: block;
  text-decoration: none;
  cursor: pointer;
  outline: none;
}

.category-block-two .inner-box{
  position: relative;
  display: block;
  padding: 60px 0px;
  cursor: pointer;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.category-block-two a:hover .inner-box,
.category-block-two .inner-box:hover{
  transform: translateY(-8px) scale(1.03);
}

.category-block-two .inner-box .shape{
  position: absolute;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
  transition: transform 0.35s ease;
}

.category-block-two a:hover .inner-box .shape,
.category-block-two .inner-box:hover .shape{
  transform: scale(1.05);
}

.category-block-two .inner-box h4{
  display: block;
  font-size: 20px;
  line-height: 30px;
  color: #fff;
  position: relative;
  z-index: 2;
  transition: transform 0.35s ease;
}

.category-block-two a:hover .inner-box h4,
.category-block-two .inner-box:hover h4{
  transform: scale(1.05);
}


/** category-style-three **/

.category-style-three{
  position: relative;
}

.category-style-three .category-block-two .inner-box h3{
  display: block;
  font-size: 24px;
  line-height: 29px;
  color: #fff;
}

.category-style-three .category-block-two .inner-box{
  padding: 71px 0px;
}


/** category-style-four **/

.category-style-four{
  position: relative;
  background: #FDDDDD;
}

.category-style-four .pattern-layer .pattern-1{
  position: absolute;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 11px;
  background-repeat: repeat-x;
}

.category-style-four .pattern-layer .pattern-2{
  position: absolute;
  left: 0px;
  bottom: 0px;
  width: 100%;
  height: 11px;
  background-repeat: repeat-x;
  transform: rotate(180deg);
}

.category-style-four .pattern-layer .pattern-3{
  position: absolute;
  top: 0px;
  right: 0px;
  width: 100%;
  height: 100%;
  background-repeat: repeat-x;
  animation: slide 90s linear infinite;
  -webkit-animation: slide 90s linear infinite;
}

.category-style-four .sec-title{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.category-style-four .sec-title .theme-btn{
  padding: 8px 30px;
}

.category-style-four .content-one{
  position: relative;
  display: block;
  background: #E91A3E;
  border-radius: 20px;
  padding: 40px 30px 0px 30px;
  text-align: center;
  margin-bottom: 20px;
  overflow: hidden;
}

.category-style-four .content-one:before{
  position: absolute;
  content: '';
  background: #000;
  width: 220px;
  height: 220px;
  left: 50%;
  margin-left: -110px;
  bottom: -63px;
  opacity: 0.1;
  border-radius: 50%;
}

.category-style-four .text{
  position: relative;
  display: inline-block;
  font-size: 12px;
  line-height: 20px;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  border: dashed;
  border-width: 1px;
  border-color: #fff;
  border-radius: 50px;
  margin-bottom: 9px;
  padding: 1px 10px;
}

.category-style-four .inner-container .big-column,
.category-style-four .inner-container .single-column{
  padding: 0px 10px;
}

.category-style-four .inner-container,
.category-style-four .inner-container .content-box{
  position: relative;
  margin: 0px 5px;
}

.category-style-four .inner-container h3{
  font-size: 24px;
  line-height: 30px;
  color: #fff;
  margin-bottom: 26px;
}

.category-style-four .content-two{
  position: relative;
  display: block;
  background: #fff;
  border-radius: 20px;
  padding: 40px 40px 233px 40px;
  margin-bottom: 20px;
}

.category-style-four .content-two .text{
  color: var(--theme-color);
}

.category-style-four .inner-container h2{
  display: block;
  font-size: 36px;
  line-height: 45px;
}

.category-style-four .content-three{
  position: relative;
  display: block;
  background: #D52BFF;
  border-radius: 20px;
  padding: 30px 30px 66px 30px;
  margin-bottom: 20px;
  overflow: hidden;
}

.category-style-four .content-three h3{
  margin-bottom: 0px;
  z-index: 1;
}

.category-style-four .content-box .single-column:first-child .content-three:last-child{
  background: #0047FF;
}

.category-style-four .content-box .single-column:last-child .content-three:first-child{
  background: #fff;
}

.category-style-four .content-box .single-column:last-child .content-three:last-child{
  background: #fff;
}

.category-style-four .content-box .single-column:last-child .content-three:first-child h3,
.category-style-four .content-box .single-column:last-child .content-three:last-child h3{
  color: var(--title-color);
}

.category-style-four .content-box .single-column:last-child .content-three:first-child .text,
.category-style-four .content-box .single-column:last-child .content-three:last-child .text{
  color: var(--theme-color);
}


/** category-style-five **/

.category-style-five{
  position: relative;
}

.category-block-three{
  position: relative;
  max-width: 250px;
  width: 100%;
  margin: 0 auto;
}

.category-block-three .inner-box{
  position: relative;
  display: block;
  margin-bottom: 24px;
}

.category-block-three .inner-box .image-box{
  position: relative;
  display: block;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  border: dashed;
  border-width: 2px;
  margin-bottom: 20px;
  overflow: hidden;
}

.category-block-three.border-one .inner-box .image-box{
  border-color: #025A5A;
}

.category-block-three.border-two .inner-box .image-box{
  border-color: #E97D3F;
}

.category-block-three.border-three .inner-box .image-box{
  border-color: #063ECC;
}

.category-block-three.border-four .inner-box .image-box{
  border-color: #FF9D09;
}

.category-block-three.border-five .inner-box .image-box{
  border-color: #366319;
}

.category-block-three.border-six .inner-box .image-box{
  border-color: #EA6BEA;
}

.category-block-three .inner-box .image-box img{
  width: 100%;
  border-radius: 50%;
  transition: all 500ms ease;
}

.category-block-three .inner-box:hover .image-box img{
  transform: scale(1.05);
}

.category-block-three .inner-box h4{
  display: block;
  font-size: 20px;
  line-height: 24px;
}

.category-block-three .inner-box h4 a{
  display: inline-block;
  color: var(--title-color);
}

.category-block-three .inner-box h4 a:hover{

}

.category-style-five .pattern-layer{
  position: absolute;
  left: 0px;
  top: -500px;
  width: 100%;
  height: 1475px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}


/** rtl-css **/

.rtl .category-style-four .content-box .image-box{
  right: inherit;
  left: 0px;
}


/** responsive-css **/

@media only screen and (max-width: 1200px){

}

@media only screen and (max-width: 991px){

}

@media only screen and (max-width: 767px){
  .category-style-two{
    padding-top: 70px;
  }

  .category-style-four{
    padding: 70px 0px 50px 0px;
  }

  .category-style-five{
    padding-bottom: 40px;
  }

  .category-style-three.pt_0{
    padding-top: 0px;
  }
}

@media only screen and (max-width: 599px){
  .category-style-four .sec-title{
    display: block;
  }

  .category-style-four .sec-title h2{
    margin-bottom: 20px;
  }
}

@media only screen and (max-width: 499px){
  .category-style-four .content-three .image-box{
    width: 40%;
  }

  .category-style-four .content-two{
  margin-bottom: 20px;
}

.category-style-four .content-two .text{
  color: var(--theme-color);
}

.category-style-four .inner-container h2{
  display: block;
  font-size: 36px;
  line-height: 45px;
}

.category-style-four .content-three{
  position: relative;
  display: block;
  background: #D52BFF;
  border-radius: 20px;
  padding: 30px 30px 66px 30px;
  margin-bottom: 20px;
  overflow: hidden;
}

.category-style-four .content-three h3{
  margin-bottom: 0px;
  z-index: 1;
}

.category-style-four .content-box .single-column:first-child .content-three:last-child{
  background: #0047FF;
}

.category-style-four .content-box .single-column:last-child .content-three:first-child{
  background: #fff;
}

.category-style-four .content-box .single-column:last-child .content-three:last-child{
  background: #fff;
}

.category-style-four .content-box .single-column:last-child .content-three:first-child h3,
.category-style-four .content-box .single-column:last-child .content-three:last-child h3{
  color: var(--title-color);
}

.category-style-four .content-box .single-column:last-child .content-three:first-child .text,
.category-style-four .content-box .single-column:last-child .content-three:last-child .text{
  color: var(--theme-color);
}


/** category-style-five **/

.category-style-five{
  position: relative;
}

.category-block-three{
  position: relative;
  max-width: 250px;
  width: 100%;
  margin: 0 auto;
}

.category-block-three .inner-box{
  position: relative;
  display: block;
  margin-bottom: 24px;
}

.category-block-three .inner-box .image-box{
  position: relative;
  display: block;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  border: dashed;
  border-width: 2px;
  margin-bottom: 20px;
  overflow: hidden;
}

.category-block-three.border-one .inner-box .image-box{
  border-color: #025A5A;
}

.category-block-three.border-two .inner-box .image-box{
  border-color: #E97D3F;
}

.category-block-three.border-three .inner-box .image-box{
  border-color: #063ECC;
}

.category-block-three.border-four .inner-box .image-box{
  border-color: #FF9D09;
}

.category-block-three.border-five .inner-box .image-box{
  border-color: #366319;
}

.category-block-three.border-six .inner-box .image-box{
  border-color: #EA6BEA;
}

.category-block-three .inner-box .image-box img{
  width: 100%;
  border-radius: 50%;
  transition: all 500ms ease;
}

.category-block-three .inner-box:hover .image-box img{
  transform: scale(1.05);
}

.category-block-three .inner-box h4{
  display: block;
  font-size: 20px;
  line-height: 24px;
}

.category-block-three .inner-box h4 a{
  display: inline-block;
  color: var(--title-color);
}

.category-block-three .inner-box h4 a:hover{

}

.category-style-five .pattern-layer{
  position: absolute;
  left: 0px;
  top: -500px;
  width: 100%;
  height: 1475px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}


/** rtl-css **/

.rtl .category-style-four .content-box .image-box{
  right: inherit;
  left: 0px;
}


/** responsive-css **/

@media only screen and (max-width: 1200px){

}

@media only screen and (max-width: 991px){

}

@media only screen and (max-width: 767px){
  .category-style-two{
    padding-top: 70px;
  }

  .category-style-four{
    padding: 70px 0px 50px 0px;
  }

  .category-style-five{
    padding-bottom: 40px;
  }

  .category-style-three.pt_0{
    padding-top: 0px;
  }
}

@media only screen and (max-width: 599px){
  .category-style-four .sec-title{
    display: block;
  }

  .category-style-four .sec-title h2{
    margin-bottom: 20px;
  }
}

@media only screen and (max-width: 499px){
  .category-style-four .content-three .image-box{
    width: 40%;
  }

  .category-style-four .content-two{
    padding-left: 30px;
    padding-right: 30px;
  }
}

/* ==========================================================================
   ULTRA-MODERN CATEGORY DRAWER / OFFCANVAS (MOBILE & DESKTOP)
   ========================================================================== */

.category-menu {
  position: fixed !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 9999999 !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s !important;
}

body.category-visible {
  overflow: hidden !important;
}

body.category-visible .category-menu {
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

/* Glassmorphism Backdrop */
.category-menu .menu-backdrop {
  position: absolute !important;
  inset: 0 !important;
  background: rgba(15, 23, 42, 0.6) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  backdrop-filter: blur(8px) !important;
  opacity: 0 !important;
  transition: opacity 0.35s ease !important;
  cursor: pointer;
}

body.category-visible .category-menu .menu-backdrop {
  opacity: 1 !important;
}

/* Slide-over Outer Box Drawer */
.category-menu .outer-box {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  bottom: 0 !important;
  width: 420px !important;
  max-width: 90vw !important;
  height: 100% !important;
  background: #ffffff !important;
  box-shadow: 12px 0 36px rgba(0, 0, 0, 0.16) !important;
  z-index: 10 !important;
  display: flex !important;
  flex-direction: column !important;
  padding: 0 !important;
  border-radius: 0 24px 24px 0 !important;
  transform: translateX(-100%) !important;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
  overflow: hidden !important;
}

body.category-visible .category-menu .outer-box {
  transform: translateX(0) !important;
}

/* Drawer Header */
.category-drawer-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 20px 24px 16px !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
  background: #ffffff !important;
  flex-shrink: 0 !important;
}

.category-drawer-title {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

.category-drawer-title .title-icon {
  width: 40px !important;
  height: 40px !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg, #FFF0F4, #FFE3EC) !important;
  color: var(--theme-color, #F76188) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 18px !important;
  box-shadow: 0 4px 12px rgba(247, 97, 136, 0.15) !important;
}

.category-drawer-title h3 {
  font-size: 17px !important;
  font-weight: 800 !important;
  color: #151515 !important;
  margin: 0 !important;
  line-height: 1.2 !important;
  font-family: inherit !important;
}

.category-drawer-title .category-count {
  font-size: 11.5px !important;
  font-weight: 600 !important;
  color: #8E8E93 !important;
}

.category-drawer-close {
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  background: #F4F4F6 !important;
  border: none !important;
  color: #555555 !important;
  font-size: 14px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.category-drawer-close:hover {
  background: #FFE8EF !important;
  color: var(--theme-color, #F76188) !important;
  transform: rotate(90deg) !important;
}

/* Drawer Body */
.category-drawer-body {
  flex: 1 1 auto !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  padding: 16px 20px 24px !important;
  scrollbar-width: thin !important;
  scrollbar-color: #E2E8F0 transparent !important;
}

.category-drawer-body::-webkit-scrollbar {
  width: 5px;
}
.category-drawer-body::-webkit-scrollbar-thumb {
  background: #E2E8F0;
  border-radius: 10px;
}

/* Search Box */
.category-search-box {
  margin-bottom: 18px !important;
  position: relative !important;
}

.category-search-box .search-input-wrapper {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
}

.category-search-box .search-icon {
  position: absolute !important;
  left: 14px !important;
  color: #94A3B8 !important;
  font-size: 14px !important;
  pointer-events: none !important;
}

.category-search-box .live-search-input {
  width: 100% !important;
  height: 44px !important;
  padding: 8px 42px 8px 38px !important;
  background: #F8FAFC !important;
  border: 1.5px solid #E2E8F0 !important;
  border-radius: 999px !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #1E293B !important;
  outline: none !important;
  transition: all 0.25s ease !important;
}

.category-search-box .live-search-input:focus {
  background: #ffffff !important;
  border-color: var(--theme-color, #F76188) !important;
  box-shadow: 0 0 0 3px rgba(247, 97, 136, 0.12) !important;
}

.category-search-box .search-submit-btn {
  position: absolute !important;
  right: 6px !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  background: var(--theme-color, #F76188) !important;
  border: none !important;
  color: #ffffff !important;
  font-size: 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: transform 0.2s ease, opacity 0.2s ease !important;
}

.category-search-box .search-submit-btn:hover {
  opacity: 0.9 !important;
  transform: scale(1.05) !important;
}

/* Quick Category Pill Chips */
.category-quick-pills {
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  gap: 8px !important;
  padding-bottom: 12px !important;
  margin-bottom: 8px !important;
  scrollbar-width: none !important;
  -webkit-overflow-scrolling: touch !important;
}

.category-quick-pills::-webkit-scrollbar {
  display: none !important;
}

.quick-pill-item {
  display: inline-flex !important;
  align-items: center !important;
  white-space: nowrap !important;
  padding: 6px 14px !important;
  border-radius: 999px !important;
  background: #FFF0F4 !important;
  border: 1px solid rgba(247, 97, 136, 0.2) !important;
  color: var(--theme-color, #F76188) !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
  flex-shrink: 0 !important;
}

.quick-pill-item:hover {
  background: var(--theme-color, #F76188) !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 10px rgba(247, 97, 136, 0.25) !important;
}

/* Category Cards List */
.category-cards-wrapper {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}

.category-card-item {
  border: 1px solid #EEF2F6 !important;
  border-radius: 16px !important;
  background: #ffffff !important;
  overflow: hidden !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02) !important;
}

.category-card-item:hover {
  border-color: rgba(247, 97, 136, 0.3) !important;
  box-shadow: 0 6px 18px rgba(247, 97, 136, 0.08) !important;
  transform: translateY(-1px) !important;
}

.category-card-head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 10px 14px !important;
}

.category-main-link {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  text-decoration: none !important;
}

.category-thumb {
  width: 44px !important;
  height: 44px !important;
  border-radius: 12px !important;
  background: #FFF0F4 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  overflow: hidden !important;
  border: 1px solid rgba(247, 97, 136, 0.12) !important;
  padding: 4px !important;
}

.category-thumb img {
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  transition: transform 0.3s ease !important;
}

.category-card-item:hover .category-thumb img {
  transform: scale(1.12) !important;
}

.category-meta {
  flex: 1 1 auto !important;
  min-width: 0 !important;
}

.category-name {
  font-size: 13.5px !important;
  font-weight: 700 !important;
  color: #1E293B !important;
  margin: 0 !important;
  line-height: 1.3 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  transition: color 0.2s ease !important;
  font-family: inherit !important;
}

.category-card-item:hover .category-name {
  color: var(--theme-color, #F76188) !important;
}

.category-sub-badge {
  display: inline-block !important;
  font-size: 10.5px !important;
  font-weight: 600 !important;
  color: #64748B !important;
  margin-top: 2px !important;
}

.category-sub-badge.view-all {
  color: var(--theme-color, #F76188) !important;
}

.category-expand-btn {
  width: 34px !important;
  height: 34px !important;
  border-radius: 10px !important;
  background: #F8FAFC !important;
  border: 1px solid #E2E8F0 !important;
  color: #64748B !important;
  font-size: 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
  margin-left: 8px !important;
  transition: all 0.25s ease !important;
}

.category-expand-btn:hover,
.category-card-item.expanded .category-expand-btn {
  background: var(--theme-color, #F76188) !important;
  border-color: var(--theme-color, #F76188) !important;
  color: #ffffff !important;
}

.category-card-item.expanded .category-expand-btn i {
  transform: rotate(180deg) !important;
}

.category-direct-arrow {
  width: 34px !important;
  height: 34px !important;
  border-radius: 10px !important;
  background: #FFF0F4 !important;
  color: var(--theme-color, #F76188) !important;
  font-size: 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  flex-shrink: 0 !important;
  margin-left: 8px !important;
  transition: all 0.2s ease !important;
}

.category-card-item:hover .category-direct-arrow {
  background: var(--theme-color, #F76188) !important;
  color: #ffffff !important;
  transform: translateX(2px) !important;
}

/* Subcategories list */
.category-sub-list {
  display: none;
  background: #FAF5F7 !important;
  border-top: 1px solid rgba(247, 97, 136, 0.1) !important;
}

.category-card-item.expanded .category-sub-list {
  display: block;
}

.sub-list-inner {
  padding: 8px 12px 10px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
}

.sub-link {
  display: flex !important;
  align-items: center !important;
  padding: 7px 12px !important;
  border-radius: 10px !important;
  background: transparent !important;
  text-decoration: none !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #334155 !important;
  transition: all 0.2s ease !important;
  gap: 8px !important;
}

.sub-link:hover {
  background: #ffffff !important;
  color: var(--theme-color, #F76188) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
  padding-left: 14px !important;
}

.sub-link .sub-dot {
  width: 5px !important;
  height: 5px !important;
  border-radius: 50% !important;
  background: #CBD5E1 !important;
  transition: background 0.2s ease !important;
}

.sub-link:hover .sub-dot {
  background: var(--theme-color, #F76188) !important;
}

.sub-link .sub-text {
  flex: 1 1 auto !important;
}

.sub-link .sub-arrow {
  font-size: 10px !important;
  color: #94A3B8 !important;
  opacity: 0;
  transform: translateX(-4px);
  transition: all 0.2s ease !important;
}

.sub-link:hover .sub-arrow {
  opacity: 1 !important;
  transform: translateX(0) !important;
  color: var(--theme-color, #F76188) !important;
}

.sub-link.sub-all-link {
  font-weight: 700 !important;
  color: var(--theme-color, #F76188) !important;
  background: rgba(247, 97, 136, 0.08) !important;
  margin-bottom: 3px !important;
}

/* Drawer Footer */
.category-drawer-footer {
  padding: 14px 20px 18px !important;
  background: #ffffff !important;
  border-top: 1px solid rgba(0, 0, 0, 0.06) !important;
  flex-shrink: 0 !important;
}

.all-shop-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  width: 100% !important;
  padding: 12px 20px !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, var(--theme-color, #F76188), #FF2E63) !important;
  color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  box-shadow: 0 6px 18px rgba(247, 97, 136, 0.3) !important;
  transition: all 0.25s ease !important;
}

.all-shop-btn:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 8px 24px rgba(247, 97, 136, 0.4) !important;
  color: #ffffff !important;
}

.all-shop-btn:active {
  transform: scale(0.98) !important;
}

/* Empty State */
.empty-categories-state {
  text-align: center !important;
  padding: 40px 20px !important;
  color: #94A3B8 !important;
}

.empty-categories-state i {
  font-size: 36px !important;
  margin-bottom: 10px !important;
  opacity: 0.6 !important;
}

/* Mobile responsive refinements */
@media (max-width: 767px) {
  .category-menu .outer-box {
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 0 !important;
  }

  .category-drawer-header {
    padding: 16px 18px 14px !important;
  }

  .category-drawer-body {
    padding: 14px 16px 80px !important;
  }

  .category-drawer-footer {
    padding: 12px 16px calc(14px + env(safe-area-inset-bottom, 0px)) !important;
  }

  /* 2-Column Visual Category Card Grid */
  .category-cards-wrapper {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  .category-card-item {
    display: flex !important;
    flex-direction: column !important;
    background: #ffffff !important;
    border-radius: 18px !important;
    border: 1px solid #EEF2F6 !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03) !important;
    overflow: hidden !important;
    position: relative !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease !important;
  }

  .category-card-item:active {
    transform: scale(0.98) !important;
  }

  .category-card-item.expanded {
    grid-column: 1 / -1 !important;
    border-color: rgba(247, 97, 136, 0.4) !important;
    box-shadow: 0 8px 24px rgba(247, 97, 136, 0.12) !important;
  }

  .category-card-head {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 10px 10px 12px !important;
    position: relative !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .category-card-item.expanded .category-card-head {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 12px 14px !important;
    background: #FFFDFC !important;
  }

  .category-main-link {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 8px !important;
    width: 100% !important;
    text-decoration: none !important;
  }

  .category-card-item.expanded .category-main-link {
    flex-direction: row !important;
    text-align: left !important;
    align-items: center !important;
    gap: 12px !important;
  }

  .category-thumb {
    width: 100% !important;
    height: 104px !important;
    border-radius: 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    padding: 10px !important;
    box-sizing: border-box !important;
    position: relative !important;
    border: 1px solid rgba(247, 97, 136, 0.1) !important;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }

  .category-card-item.expanded .category-thumb {
    width: 52px !important;
    height: 52px !important;
    border-radius: 12px !important;
    padding: 6px !important;
    flex-shrink: 0 !important;
  }

  .category-thumb img {
    max-width: 100% !important;
    max-height: 84px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.06)) !important;
    transition: transform 0.3s ease !important;
  }

  .category-card-item.expanded .category-thumb img {
    max-height: 40px !important;
  }

  .category-card-item:hover .category-thumb img,
  .category-card-item:active .category-thumb img {
    transform: scale(1.08) !important;
  }

  .category-meta {
    text-align: center !important;
    width: 100% !important;
    padding: 2px 4px 0 !important;
    box-sizing: border-box !important;
  }

  .category-card-item.expanded .category-meta {
    text-align: left !important;
    padding: 0 !important;
  }

  .category-name {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #1E293B !important;
    line-height: 1.3 !important;
    margin: 0 0 4px 0 !important;
    white-space: normal !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    min-height: 32px !important;
    font-family: inherit !important;
  }

  .category-card-item.expanded .category-name {
    min-height: auto !important;
    font-size: 14px !important;
    white-space: nowrap !important;
    margin-bottom: 2px !important;
  }

  .category-sub-badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 10.5px !important;
    font-weight: 600 !important;
    color: #64748B !important;
    background: #F8FAFC !important;
    padding: 3px 8px !important;
    border-radius: 999px !important;
    border: 1px solid #E2E8F0 !important;
    line-height: 1.2 !important;
  }

  .category-sub-badge.view-all {
    color: var(--theme-color, #F76188) !important;
    background: #FFF0F4 !important;
    border-color: rgba(247, 97, 136, 0.2) !important;
  }

  /* Corner buttons on mobile cards */
  .category-expand-btn {
    position: absolute !important;
    top: 8px !important;
    right: 8px !important;
    width: 28px !important;
    height: 28px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.92) !important;
    -webkit-backdrop-filter: blur(4px) !important;
    backdrop-filter: blur(4px) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08) !important;
    color: #475569 !important;
    font-size: 11px !important;
    margin: 0 !important;
    z-index: 2 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .category-card-item.expanded .category-expand-btn {
    position: static !important;
    width: 32px !important;
    height: 32px !important;
    background: var(--theme-color, #F76188) !important;
    color: #ffffff !important;
    margin-left: 8px !important;
  }

  .category-direct-arrow {
    position: absolute !important;
    top: 8px !important;
    right: 8px !important;
    width: 28px !important;
    height: 28px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.92) !important;
    -webkit-backdrop-filter: blur(4px) !important;
    backdrop-filter: blur(4px) !important;
    border: 1px solid rgba(247, 97, 136, 0.2) !important;
    box-shadow: 0 2px 6px rgba(247, 97, 136, 0.12) !important;
    color: var(--theme-color, #F76188) !important;
    font-size: 11px !important;
    margin: 0 !important;
    z-index: 2 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .category-sub-list {
    width: 100% !important;
    border-top: 1px solid rgba(247, 97, 136, 0.12) !important;
    background: #FAF8F9 !important;
  }

  .sub-list-inner {
    padding: 10px 12px 12px !important;
    gap: 6px !important;
  }

  .sub-link {
    padding: 8px 12px !important;
    font-size: 12.5px !important;
    background: #ffffff !important;
    border: 1px solid #F1F5F9 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02) !important;
    border-radius: 10px !important;
    gap: 8px !important;
  }
}

/* ==========================================================================
   DEDICATED CATEGORIES PAGE & MODERN CATEGORY CARDS
   ========================================================================== */

.categories-page-section {
  position: relative;
  background: #FCFCFD;
  overflow: hidden;
}

.categories-page-section .shape-layer .shape-1 {
  position: absolute;
  top: 40px;
  left: 20px;
  width: 90px;
  height: 90px;
  background-repeat: no-repeat;
  opacity: 0.7;
  pointer-events: none;
}

.categories-page-section .shape-layer .shape-2 {
  position: absolute;
  top: 180px;
  right: 30px;
  width: 75px;
  height: 75px;
  background-repeat: no-repeat;
  opacity: 0.6;
  pointer-events: none;
}

.categories-page-section .shape-layer .shape-3 {
  position: absolute;
  bottom: 80px;
  left: 40px;
  width: 60px;
  height: 60px;
  background-repeat: no-repeat;
  opacity: 0.5;
  pointer-events: none;
}

.categories-page-header {
  background: #ffffff;
  border: 1.5px solid #F1F5F9;
  border-radius: 28px;
  padding: 36px 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.categories-page-header .sub-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  background: #FFF0F4;
  color: var(--theme-color, #F76188);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 12px;
  border: 1px solid rgba(247, 97, 136, 0.2);
}

.categories-page-header .page-title {
  font-size: 32px;
  font-weight: 800;
  color: #1E293B;
  margin-bottom: 8px;
  line-height: 1.25;
}

.categories-page-header .page-subtitle {
  font-size: 14px;
  color: #64748B;
  line-height: 1.6;
  margin-bottom: 0;
  max-width: 540px;
}

.categories-search-box .search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.categories-search-box .search-icon {
  position: absolute;
  left: 18px;
  color: #94A3B8;
  font-size: 16px;
  pointer-events: none;
}

.categories-search-box .live-search-input {
  width: 100%;
  height: 52px;
  padding: 10px 54px 10px 48px;
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: #1E293B;
  outline: none;
  transition: all 0.3s ease;
}

.categories-search-box .live-search-input:focus {
  background: #ffffff;
  border-color: var(--theme-color, #F76188);
  box-shadow: 0 0 0 4px rgba(247, 97, 136, 0.15);
}

.categories-search-box .search-btn {
  position: absolute;
  right: 8px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--theme-color, #F76188);
  border: none;
  color: #ffffff;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.categories-search-box .search-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 4px 12px rgba(247, 97, 136, 0.35);
}

/* Modern Category Card */
.modern-category-card {
  position: relative;
  background: var(--theme-bg, #FFF0F4);
  border: 1.5px solid var(--theme-border, rgba(247, 97, 136, 0.2));
  border-radius: 24px;
  padding: 24px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.modern-category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
  border-color: var(--theme-accent, #F76188);
}

.category-card-top {
  display: flex;
  align-items: center;
  gap: 18px;
  text-decoration: none !important;
  color: inherit;
  flex: 1 1 auto;
}

.category-image-wrapper {
  position: relative;
  flex-shrink: 0;
}

.category-image-bubble {
  width: 90px;
  height: 90px;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition: transform 0.35s ease;
  overflow: hidden;
}

.modern-category-card:hover .category-image-bubble {
  transform: scale(1.06) rotate(-2deg);
}

.category-image-bubble img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.sparkle-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--theme-accent, #F76188);
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.category-info {
  flex: 1 1 auto;
  min-width: 0;
}

.category-meta-top {
  margin-bottom: 6px;
}

.product-counter-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--theme-accent, #F76188);
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.modern-category-card .category-title {
  font-size: 18px;
  font-weight: 800;
  color: #1E293B;
  margin-bottom: 4px;
  line-height: 1.3;
  transition: color 0.2s ease;
}

.modern-category-card:hover .category-title {
  color: var(--theme-accent, #F76188);
}

.category-desc {
  font-size: 12px;
  color: #64748B;
  line-height: 1.45;
  margin-bottom: 8px;
}

.view-category-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--theme-accent, #F76188);
  transition: gap 0.2s ease;
}

.modern-category-card:hover .view-category-action {
  gap: 10px;
}

/* Subcategories Pills Section */
.category-subcategories-bar {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed rgba(0, 0, 0, 0.08);
}

.category-subcategories-bar .sub-label {
  font-size: 11px;
  font-weight: 700;
  color: #64748B;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.sub-pills-container {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.sub-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 11.5px;
  font-weight: 600;
  color: #334155;
  text-decoration: none !important;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.sub-pill-btn:hover {
  background: var(--theme-accent, #F76188);
  color: #ffffff;
  border-color: var(--theme-accent, #F76188);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.sub-pill-count {
  font-size: 9.5px;
  padding: 1px 5px;
  border-radius: 999px;
  background: var(--theme-pill-bg, #FFE4ED);
  color: var(--theme-accent, #F76188);
  font-weight: 700;
}

.sub-pill-btn:hover .sub-pill-count {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* Active Category Banner on Shop Page */
.active-category-banner {
  background: linear-gradient(135deg, #FFF0F4 0%, #F5F3FF 100%);
  border: 1.5px solid rgba(247, 97, 136, 0.2);
  border-radius: 20px;
  padding: 20px 24px;
  box-shadow: 0 6px 20px rgba(247, 97, 136, 0.06);
}

.active-category-banner .banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.active-category-banner .banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--theme-color, #F76188);
  margin-bottom: 4px;
}

.active-category-banner .active-category-title {
  font-size: 22px;
  font-weight: 800;
  color: #1E293B;
  margin: 0;
  line-height: 1.2;
}

.active-category-banner .active-category-desc {
  font-size: 12.5px;
  color: #64748B;
  margin: 4px 0 0;
}

.active-category-banner .clear-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #ffffff;
  border: 1.5px solid #E2E8F0;
  color: #64748B;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none !important;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.active-category-banner .clear-filter-btn:hover {
  background: #FEE2E2;
  border-color: #EF4444;
  color: #DC2626;
  transform: translateY(-1px);
}

/* Responsive Breakpoints for Categories Page */
@media only screen and (max-width: 767px) {
  .categories-page-header {
    padding: 24px 18px;
    border-radius: 20px;
  }

  .categories-page-header .page-title {
    font-size: 24px;
  }

  .modern-category-card {
    padding: 18px;
    border-radius: 20px;
  }

  .category-image-bubble {
    width: 74px;
    height: 74px;
    border-radius: 18px;
  }

  .modern-category-card .category-title {
    font-size: 16px;
  }

  .active-category-banner {
    padding: 16px 18px;
    border-radius: 16px;
  }

/* ==========================================================================
   SIMPLE CLEAN CATEGORY CARDS (NO SUB-CATEGORY CLUTTER)
   ========================================================================== */

.simple-category-card {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  background: var(--card-bg, #FFF0F4) !important;
  border: 1.5px solid var(--card-border, rgba(247, 97, 136, 0.2)) !important;
  border-radius: 22px !important;
  padding: 24px 16px 20px !important;
  text-decoration: none !important;
  color: inherit !important;
  position: relative !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.02) !important;
  height: 100% !important;
  overflow: hidden !important;
}

.simple-category-card:hover {
  transform: translateY(-5px) !important;
  border-color: var(--card-accent, #F76188) !important;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.08) !important;
}

.simple-category-card .card-image-box {
  width: 90px !important;
  height: 90px !important;
  border-radius: 22px !important;
  background: #ffffff !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 10px !important;
  margin-bottom: 14px !important;
  transition: transform 0.3s ease !important;
  border: 1.5px solid rgba(255, 255, 255, 0.9) !important;
}

.simple-category-card:hover .card-image-box {
  transform: scale(1.08) rotate(-2deg) !important;
}

.simple-category-card .card-image-box img {
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
}

.simple-category-card .card-content {
  width: 100% !important;
}

.simple-category-card .category-title {
  font-size: 16px !important;
  font-weight: 800 !important;
  color: #1E293B !important;
  margin: 0 0 6px 0 !important;
  line-height: 1.3 !important;
  transition: color 0.2s ease !important;
  white-space: normal !important;
  word-break: break-word !important;
}

.simple-category-card:hover .category-title {
  color: var(--card-accent, #F76188) !important;
}

.simple-category-card .category-count {
  display: inline-block !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  color: var(--card-accent, #F76188) !important;
  background: rgba(255, 255, 255, 0.9) !important;
  padding: 3px 12px !important;
  border-radius: 999px !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03) !important;
}

.simple-category-card .card-arrow {
  position: absolute !important;
  top: 12px !important;
  right: 12px !important;
  width: 28px !important;
  height: 28px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.85) !important;
  color: var(--card-accent, #F76188) !important;
  font-size: 11px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  opacity: 0.8 !important;
  transition: all 0.2s ease !important;
}

.simple-category-card:hover .card-arrow {
  opacity: 1 !important;
  background: var(--card-accent, #F76188) !important;
  color: #ffffff !important;
  transform: translateX(2px) !important;
}

@media only screen and (max-width: 767px) {
  .simple-category-card {
    padding: 16px 10px 14px !important;
    border-radius: 18px !important;
  }

  .simple-category-card .card-image-box {
    width: 68px !important;
    height: 68px !important;
    border-radius: 16px !important;
    margin-bottom: 10px !important;
    padding: 6px !important;
  }

  .simple-category-card .category-title {
    font-size: 13.5px !important;
    margin-bottom: 4px !important;
  }

  .simple-category-card .category-count {
    font-size: 10.5px !important;
    padding: 2px 8px !important;
  }

  .simple-category-card .card-arrow {
    width: 22px !important;
    height: 22px !important;
    top: 8px !important;
    right: 8px !important;
    font-size: 9px !important;
  }
}


