.rh-root{margin:0 auto;padding:0 12px 48px;width:1600px;max-width:calc(100% - 32px)}.rh-section{margin:28px 0}.rh-section__head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.rh-section__title{font-size:18px;font-weight:700;margin:0;line-height:1.3;text-transform:uppercase;letter-spacing:.2px}.rh-viewmore{flex:0 0 auto;background:#f4511e;color:#fff;font-size:13px;padding:7px 16px;border-radius:4px;text-decoration:none;white-space:nowrap;transition:background .15s ease}.rh-viewmore:hover{background:#d84315;color:#fff}.rh-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:20px}



.rh-cat{margin-bottom:28px}.rh-cat__head{display:flex;align-items:center;justify-content:space-between;gap:12px}.rh-cat__all{text-decoration:none;font-size:18px;color:#666}.rh-sellers{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:12px}.rh-seller{display:flex;align-items:center;gap:8px;padding:10px;border:1px solid #e8e8e8;border-radius:6px;text-decoration:none;color:inherit;font-size:13px;background:#fff}.rh-seller img{width:36px;height:36px;object-fit:contain;flex:0 0 auto}.rh-skeleton-row{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:20px}.rh-skeleton-card{aspect-ratio:3 / 4;border-radius:6px;background:linear-gradient(90deg,#f2f2f2 25%,#e9e9e9 37%,#f2f2f2 63%);background-size:400% 100%;animation:rh-shimmer 1.3s ease-in-out infinite}@keyframes rh-shimmer{0%{background-position:100% 50%}to{background-position:0 50%}}@media (prefers-reduced-motion: reduce){.rh-skeleton-card{animation:none}.rh-card{transition:none}}.rh-error{display:flex;align-items:center;gap:12px;padding:14px;border:1px solid #f0c8c8;background:#fdf2f2;border-radius:6px;font-size:14px}.rh-retry,.rh-more__btn{border:1px solid #ccc;background:#fff;border-radius:4px;padding:7px 16px;cursor:pointer;font-size:14px}.rh-retry:hover,.rh-more__btn:hover{background:#f5f5f5}.rh-more{display:flex;justify-content:center;margin:24px 0}.rh-more__btn[disabled]{opacity:.6;cursor:default}.rh-hero{display:grid;grid-template-columns:250px minmax(0,1fr) 230px;gap:14px;align-items:stretch;margin:14px 0 16px;height:clamp(300px,33vw,455px)}.rh-rail{border:1px solid #ececec;border-radius:8px;background:#fff;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin}.rh-rail__list{list-style:none;margin:0;padding:0;background:#f6f6f6;border:1px solid #f2f2f2;border-radius:12px}.rh-rail__item{width:100%;border:0;background:transparent;font:inherit;text-align:left;cursor:pointer;display:flex;align-items:center;gap:10px;padding:9px 12px;text-decoration:none;color:#2b2b2b;font-size:14px;line-height:1.2;transition:background .12s ease,color .12s ease}.rh-rail__item:hover{background:#ddd;color:#f4511e}.rh-rail__icon{width:26px;height:26px;flex:0 0 26px;display:grid;place-items:center}.rh-rail__icon img{max-width:100%;max-height:100%;object-fit:contain}.rh-rail__name{flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rh-rail__chev{flex:0 0 auto;color:#b5b5b5}.rh-rail__head{display:flex;align-items:center;gap:10px;padding:12px 12px 10px;position:sticky;top:0;background:#fff;z-index:1}.rh-rail__back{border:0;background:transparent;padding:0;cursor:pointer;color:#2b2b2b;display:grid;place-items:center}.rh-rail__back:hover{color:#f4511e}.rh-rail__headname{font-weight:600;font-size:15px;color:#22262b}.rh-rail__item--sub{padding-left:16px;font-weight:500}.rh-mark{width:100%;height:100%;border-radius:50%;display:grid;place-items:center;background:#f1f1f1;color:#8a8a8a;font-size:12px;font-weight:700}.rh-slider{position:relative;border-radius:8px;overflow:hidden;background:#f6f6f6;width:100%;height:100%}.rh-slider--empty{border:1px dashed #e0e0e0}.rh-slider__slide{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;transition:opacity .45s ease;pointer-events:none}.rh-slider__slide.is-active{opacity:1;pointer-events:auto}.rh-slider__slide img{width:100%;height:100%;object-fit:contain;display:block}.rh-slider__dots{position:absolute;left:0;right:0;bottom:10px;display:flex;justify-content:center;gap:7px}.rh-slider__dot{width:9px;height:9px;padding:0;border-radius:50%;border:none;background:#ffffff8c;cursor:pointer}.rh-slider__dot.is-active{background:#fff;box-shadow:0 0 0 2px #00000026}.rh-side{display:grid;grid-template-rows:1fr 1fr;gap:14px}.rh-side__card{display:block;border-radius:8px;overflow:hidden;background:#f6f6f6}.rh-side__card img{width:100%;height:100%;object-fit:contain;display:block}.rh-tile{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:16px 8px;border-radius:8px;background:#f5f5f5;text-decoration:none;color:#2b2b2b;text-align:center;transition:background .12s ease,transform .12s ease}.rh-tile:hover{background:#ffeee6;transform:translateY(-2px)}.rh-tile__icon{width:46px;height:46px;display:grid;place-items:center}.rh-tile__icon img{max-width:100%;max-height:100%;object-fit:contain}.rh-tile__name{font-size:12px;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}@media (max-width: 1200px){.rh-hero{grid-template-columns:220px minmax(0,1fr)}.rh-side{grid-template-rows:none;grid-template-columns:1fr 1fr;grid-column:1 / -1}.rh-tiles{grid-template-columns:repeat(6,minmax(0,1fr))}.rh-tiles>*:nth-child(n+19){display:none}}@media (max-width: 900px){.rh-hero{grid-template-columns:minmax(0,1fr);height:auto;gap:12px}.rh-slider{aspect-ratio:1100 / 455;height:auto}.rh-rail{display:none}.rh-side{grid-template-rows:none;grid-template-columns:1fr 1fr;gap:12px}.rh-side__card{aspect-ratio:16 / 9}.rh-tiles{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width: 1200px){.rh-grid,.rh-skeleton-row{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (max-width: 900px){.rh-grid,.rh-skeleton-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}}@media (max-width: 560px){.rh-tiles{grid-template-columns:repeat(3,minmax(0,1fr))}.rh-grid,.rh-skeleton-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.rh-section__title{font-size:16px}.rh-card__price{font-size:14px}.rh-card__stroked{font-size:11px}.rh-card__name{font-size:12px;height:46px;padding:6px 8px 0}.rh-card__prices{padding:4px 8px 0;gap:4px}.rh-card__stars{padding:2px 8px 0;font-size:10px}.rh-card::after{margin:8px 8px 0 8px;padding:6px 0;font-size:12px}}


/* ========================================================================
 * Responsive Category Tile Grid / Rail
 * ===================================================================== */


.rh-tile {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 14px 6px !important;
  border-radius: 10px !important;
  background: #ffffff !important;
  border: 1px solid #eef0f3 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03) !important;
  text-decoration: none !important;
  color: #2b2b2b !important;
  text-align: center !important;
  transition: all 0.2s ease-in-out !important;
  min-width: 0 !important;
}

.rh-tile:hover {
  background: #fff8f5 !important;
  border-color: #ff5200 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 14px rgba(255, 82, 0, 0.12) !important;
}

.rh-tile__icon {
  width: 44px !important;
  height: 44px !important;
  display: grid !important;
  place-items: center !important;
  flex-shrink: 0 !important;
}

.rh-tile__icon img {
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
}

.rh-tile .rh-mark {
  width: 38px !important;
  height: 38px !important;
  border-radius: 50% !important;
  display: grid !important;
  place-items: center !important;
  background: linear-gradient(135deg, #f0f3f6 0%, #e2e8f0 100%) !important;
  color: #4a5568 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.06) !important;
}

.rh-tile:hover .rh-mark {
  background: linear-gradient(135deg, #ffefe6 0%, #ffdcd0 100%) !important;
  color: #ff5200 !important;
}

.rh-tile__name {
  font-size: 11.5px !important;
  font-weight: 500 !important;
  line-height: 1.25 !important;
  color: #333333 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  word-break: break-word !important;
  height: 29px !important;
}

.rh-tile:hover .rh-tile__name {
  color: #ff5200 !important;
}

/* 1. Large Laptops / Screens (1025px - 1400px): 10 columns compact */
@media (max-width: 1400px) and (min-width: 1025px) {
  
  .rh-tile {
    padding: 10px 4px !important;
    gap: 6px !important;
  }
  .rh-tile__icon {
    width: 38px !important;
    height: 38px !important;
  }
  .rh-tile__name {
    font-size: 11px !important;
  }
}

/* 2. Tablets and Medium Screens (768px - 1024px): 5 columns x 4 clean rows */
@media (max-width: 1024px) and (min-width: 768px) {
  .rh-tiles {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 10px !important;
    margin-top: 18px !important;
    margin-bottom: 24px !important;
  }
  .rh-tile {
    padding: 12px 6px !important;
  }
}

/* 3. Mobile (< 768px): Smooth 2-row horizontal swipeable rail */
@media (max-width: 767px) {
  .rh-tiles {
    display: grid !important;
    grid-template-rows: repeat(2, 1fr) !important;
    grid-auto-flow: column !important;
    grid-auto-columns: minmax(78px, 86px) !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    gap: 8px 10px !important;
    margin-top: 14px !important;
    margin-bottom: 20px !important;
    padding: 4px 4px 10px 4px !important;
  }
  .rh-tiles::-webkit-scrollbar {
    display: none !important;
  }
  .rh-tile {
    scroll-snap-align: start !important;
    padding: 10px 4px 8px !important;
    border-radius: 8px !important;
    gap: 6px !important;
    background: #ffffff !important;
  }
  .rh-tile__icon {
    width: 38px !important;
    height: 38px !important;
  }
  .rh-tile .rh-mark {
    width: 34px !important;
    height: 34px !important;
    font-size: 12px !important;
  }
  .rh-tile__name {
    font-size: 10.5px !important;
    line-height: 1.2 !important;
    height: 26px !important;
  }
}


/* ========================================================================
 * Responsive Category Tile Grid / Rail
 * ===================================================================== */


.rh-tile {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 14px 6px !important;
  border-radius: 10px !important;
  background: #ffffff !important;
  border: 1px solid #eef0f3 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03) !important;
  text-decoration: none !important;
  color: #2b2b2b !important;
  text-align: center !important;
  transition: all 0.2s ease-in-out !important;
  min-width: 0 !important;
}

.rh-tile:hover {
  background: #fff8f5 !important;
  border-color: #ff5200 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 14px rgba(255, 82, 0, 0.12) !important;
}

.rh-tile__icon {
  width: 44px !important;
  height: 44px !important;
  display: grid !important;
  place-items: center !important;
  flex-shrink: 0 !important;
}

.rh-tile__icon img {
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
}

.rh-tile .rh-mark {
  width: 38px !important;
  height: 38px !important;
  border-radius: 50% !important;
  display: grid !important;
  place-items: center !important;
  background: linear-gradient(135deg, #f0f3f6 0%, #e2e8f0 100%) !important;
  color: #4a5568 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.06) !important;
}

.rh-tile:hover .rh-mark {
  background: linear-gradient(135deg, #ffefe6 0%, #ffdcd0 100%) !important;
  color: #ff5200 !important;
}

.rh-tile__name {
  font-size: 11.5px !important;
  font-weight: 500 !important;
  line-height: 1.25 !important;
  color: #333333 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  word-break: break-word !important;
  height: 29px !important;
}

.rh-tile:hover .rh-tile__name {
  color: #ff5200 !important;
}

/* 1. Large Laptops / Screens (1025px - 1400px): 10 columns compact */
@media (max-width: 1400px) and (min-width: 1025px) {
  
  .rh-tile {
    padding: 10px 4px !important;
    gap: 6px !important;
  }
  .rh-tile__icon {
    width: 38px !important;
    height: 38px !important;
  }
  .rh-tile__name {
    font-size: 11px !important;
  }
}

/* 2. Tablets and Medium Screens (768px - 1024px): 5 columns x 4 clean rows */
@media (max-width: 1024px) and (min-width: 768px) {
  .rh-tiles {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 10px !important;
    margin-top: 18px !important;
    margin-bottom: 24px !important;
  }
  .rh-tile {
    padding: 12px 6px !important;
  }
}

/* 3. Mobile (< 768px): Smooth 2-row horizontal swipeable rail */
@media (max-width: 767px) {
  .rh-tiles {
    display: grid !important;
    grid-template-rows: repeat(2, 1fr) !important;
    grid-auto-flow: column !important;
    grid-auto-columns: minmax(78px, 86px) !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    gap: 8px 10px !important;
    margin-top: 14px !important;
    margin-bottom: 20px !important;
    padding: 4px 6px 12px 6px !important;
  }
  .rh-tiles::-webkit-scrollbar {
    display: none !important;
  }
  .rh-tile {
    scroll-snap-align: start !important;
    padding: 10px 4px 8px !important;
    border-radius: 8px !important;
    gap: 6px !important;
    background: #ffffff !important;
  }
  .rh-tile__icon {
    width: 38px !important;
    height: 38px !important;
  }
  .rh-tile .rh-mark {
    width: 34px !important;
    height: 34px !important;
    font-size: 12px !important;
  }
  .rh-tile__name {
    font-size: 10.5px !important;
    line-height: 1.2 !important;
    height: 26px !important;
  }
}

/* ========================================================================
 * Responsive Category Tile Grid / Rail - Optimized & Bulletproof
 * ===================================================================== */

/* --- 1. Base / Desktop (> 1024px): 10 columns x 2 clean rows --- */


.rh-tiles > * {
  display: flex !important;
}

.rh-tile {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 14px 6px !important;
  border-radius: 10px !important;
  background: #ffffff !important;
  border: 1px solid #eef0f3 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03) !important;
  text-decoration: none !important;
  color: #2b2b2b !important;
  text-align: center !important;
  transition: all 0.2s ease-in-out !important;
  box-sizing: border-box !important;
}

.rh-tile:hover {
  background: #fff8f5 !important;
  border-color: #ff5200 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 14px rgba(255, 82, 0, 0.12) !important;
}

.rh-tile__icon {
  width: 44px !important;
  height: 44px !important;
  display: grid !important;
  place-items: center !important;
  flex-shrink: 0 !important;
}

.rh-tile__icon img {
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
}

.rh-tile .rh-mark {
  width: 38px !important;
  height: 38px !important;
  border-radius: 50% !important;
  display: grid !important;
  place-items: center !important;
  background: linear-gradient(135deg, #f0f3f6 0%, #e2e8f0 100%) !important;
  color: #4a5568 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.06) !important;
}

.rh-tile:hover .rh-mark {
  background: linear-gradient(135deg, #ffefe6 0%, #ffdcd0 100%) !important;
  color: #ff5200 !important;
}

.rh-tile__name {
  font-size: 11.5px !important;
  font-weight: 500 !important;
  line-height: 1.25 !important;
  color: #333333 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  word-break: break-word !important;
  height: 29px !important;
}

.rh-tile:hover .rh-tile__name {
  color: #ff5200 !important;
}

/* --- 2. Laptops (1025px - 1400px): 10 columns compact --- */
@media (max-width: 1400px) and (min-width: 1025px) {
  
  .rh-tile {
    padding: 10px 4px !important;
    gap: 6px !important;
  }
  .rh-tile__icon {
    width: 38px !important;
    height: 38px !important;
  }
  .rh-tile__name {
    font-size: 11px !important;
  }
}

/* --- 3. Tablets (768px - 1024px): 5 columns x 4 clean rows --- */
@media (max-width: 1024px) and (min-width: 768px) {
  .rh-tiles {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    grid-template-rows: auto !important;
    grid-auto-flow: row !important;
    gap: 10px !important;
    margin-top: 18px !important;
    margin-bottom: 24px !important;
    overflow: visible !important;
  }
  .rh-tile {
    padding: 12px 6px !important;
  }
  .rh-tile__icon {
    width: 40px !important;
    height: 40px !important;
  }
}

/* --- 4. Mobile (< 768px): Smooth 2-row horizontal swipe rail --- */
@media (max-width: 767px) {
  .rh-tiles {
    display: grid !important;
    grid-template-columns: none !important;
    grid-template-rows: repeat(2, 92px) !important;
    grid-auto-flow: column !important;
    grid-auto-columns: 84px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x proximity !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    gap: 8px 10px !important;
    margin-top: 14px !important;
    margin-bottom: 20px !important;
    padding: 4px 10px 10px 10px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .rh-tiles::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }
  .rh-tile {
    width: 84px !important;
    min-width: 84px !important;
    max-width: 84px !important;
    height: 92px !important;
    min-height: 92px !important;
    max-height: 92px !important;
    flex-shrink: 0 !important;
    scroll-snap-align: start !important;
    padding: 8px 4px 6px !important;
    border-radius: 8px !important;
    gap: 5px !important;
    background: #ffffff !important;
    border: 1px solid #eef0f3 !important;
    box-sizing: border-box !important;
  }
  .rh-tile__icon {
    width: 38px !important;
    height: 38px !important;
    flex-shrink: 0 !important;
  }
  .rh-tile .rh-mark {
    width: 34px !important;
    height: 34px !important;
    font-size: 13px !important;
  }
  .rh-tile__name {
    font-size: 10.5px !important;
    line-height: 1.2 !important;
    height: 26px !important;
    max-width: 76px !important;
    text-align: center !important;
  }
}

/* ========================================================================
 * Responsive Category Tile Grid - 3 Columns on Mobile Flowing Downward
 * ===================================================================== */

/* --- 1. Base / Desktop (> 1024px): 10 columns x 2 clean rows --- */


.rh-tiles > * {
  display: flex !important;
}

.rh-tile {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 14px 6px !important;
  border-radius: 10px !important;
  background: #ffffff !important;
  border: 1px solid #eef0f3 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03) !important;
  text-decoration: none !important;
  color: #2b2b2b !important;
  text-align: center !important;
  transition: all 0.2s ease-in-out !important;
  box-sizing: border-box !important;
  min-width: 0 !important;
}

.rh-tile:hover {
  background: #fff8f5 !important;
  border-color: #ff5200 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 14px rgba(255, 82, 0, 0.12) !important;
}

.rh-tile__icon {
  width: 44px !important;
  height: 44px !important;
  display: grid !important;
  place-items: center !important;
  flex-shrink: 0 !important;
}

.rh-tile__icon img {
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
}

.rh-tile .rh-mark {
  width: 38px !important;
  height: 38px !important;
  border-radius: 50% !important;
  display: grid !important;
  place-items: center !important;
  background: linear-gradient(135deg, #f0f3f6 0%, #e2e8f0 100%) !important;
  color: #4a5568 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.06) !important;
}

.rh-tile:hover .rh-mark {
  background: linear-gradient(135deg, #ffefe6 0%, #ffdcd0 100%) !important;
  color: #ff5200 !important;
}

.rh-tile__name {
  font-size: 11.5px !important;
  font-weight: 500 !important;
  line-height: 1.25 !important;
  color: #333333 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  word-break: break-word !important;
  height: 29px !important;
}

.rh-tile:hover .rh-tile__name {
  color: #ff5200 !important;
}

/* --- 2. Laptops (1025px - 1400px): 10 columns compact --- */
@media (max-width: 1400px) and (min-width: 1025px) {
  
  .rh-tile {
    padding: 10px 4px !important;
    gap: 6px !important;
  }
  .rh-tile__icon {
    width: 38px !important;
    height: 38px !important;
  }
  .rh-tile__name {
    font-size: 11px !important;
  }
}

/* --- 3. Tablets (768px - 1024px): 5 columns x 4 clean rows --- */
@media (max-width: 1024px) and (min-width: 768px) {
  .rh-tiles {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    grid-template-rows: auto !important;
    grid-auto-flow: row !important;
    gap: 10px !important;
    margin-top: 18px !important;
    margin-bottom: 24px !important;
    overflow: visible !important;
  }
  .rh-tile {
    padding: 12px 6px !important;
  }
  .rh-tile__icon {
    width: 40px !important;
    height: 40px !important;
  }
}

/* --- 4. Mobile (< 768px): 3 items per line, flowing downwards --- */
@media (max-width: 767px) {
  .rh-tiles {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    grid-template-rows: auto !important;
    grid-auto-flow: row !important;
    gap: 10px 8px !important;
    margin-top: 14px !important;
    margin-bottom: 22px !important;
    padding: 0 4px !important;
    width: 100% !important;
    overflow: visible !important;
    box-sizing: border-box !important;
  }
  .rh-tile {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    min-height: 94px !important;
    max-height: none !important;
    padding: 12px 6px 10px 6px !important;
    border-radius: 10px !important;
    gap: 7px !important;
    background: #ffffff !important;
    border: 1px solid #eef0f3 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
    box-sizing: border-box !important;
    text-decoration: none !important;
    color: #2b2b2b !important;
    text-align: center !important;
  }
  .rh-tile:hover, .rh-tile:active {
    background: #fff8f5 !important;
    border-color: #ff5200 !important;
  }
  .rh-tile__icon {
    width: 40px !important;
    height: 40px !important;
    display: grid !important;
    place-items: center !important;
    flex-shrink: 0 !important;
  }
  .rh-tile__icon img {
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
  }
  .rh-tile .rh-mark {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    font-size: 13px !important;
    display: grid !important;
    place-items: center !important;
    background: linear-gradient(135deg, #f0f3f6 0%, #e2e8f0 100%) !important;
    color: #4a5568 !important;
    font-weight: 700 !important;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.06) !important;
  }
  .rh-tile__name {
    font-size: 11px !important;
    font-weight: 500 !important;
    line-height: 1.25 !important;
    color: #2b2b2b !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    word-break: break-word !important;
    height: 28px !important;
    text-align: center !important;
  }
}









/* ========================================================================
 * Responsive Category Grid:
 * PC (> 1024px): 9 columns x 2 rows = 18 items
 * Tablet (768px - 1024px): 6 columns x 3 rows = 18 items
 * Mobile (< 768px): 3 columns x 6 rows = 18 items
 * Generous spacing from hero banner and comfortable card gaps
 * ===================================================================== */

/* --- 1. Desktop & Laptop (> 1024px): Exactly 9 columns x 2 clean rows --- */
.rh-tiles {
  display: grid !important;
  grid-template-columns: repeat(9, minmax(0, 1fr)) !important;
  grid-template-rows: auto !important;
  grid-auto-flow: row !important;
  gap: 16px 14px !important;
  margin-top: 60px !important;
  margin-bottom: 40px !important;
  padding: 0 4px !important;
  width: 100% !important;
  overflow: visible !important;
  box-sizing: border-box !important;
}

@media (min-width: 1025px) {
  .rh-tiles {
    grid-template-columns: repeat(9, minmax(0, 1fr)) !important;
    margin-top: 60px !important;
  }
}

@media (max-width: 1400px) and (min-width: 1025px) {
  .rh-tiles {
    grid-template-columns: repeat(9, minmax(0, 1fr)) !important;
    gap: 14px 12px !important;
    margin-top: 55px !important;
    margin-bottom: 36px !important;
  }
  .rh-tile {
    padding: 14px 6px 12px 6px !important;
  }
  .rh-tile__icon {
    width: 44px !important;
    height: 44px !important;
  }
  .rh-tile__name {
    font-size: 11.5px !important;
  }
}

.rh-tiles > * {
  display: flex !important;
}

.rh-tiles > *:nth-child(n+19) {
  display: none !important;
}

.rh-tile {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 16px 8px 14px 8px !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  border: 1px solid #edf0f5 !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
  text-decoration: none !important;
  color: #1e293b !important;
  text-align: center !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-sizing: border-box !important;
  min-width: 0 !important;
}

.rh-tile:hover {
  background: #ffffff !important;
  border-color: #ff5200 !important;
  transform: translateY(-4px) !important;
  box-shadow: 0 10px 22px rgba(255, 82, 0, 0.14) !important;
}

.rh-tile__icon {
  width: 48px !important;
  height: 48px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  overflow: hidden !important;
  transition: transform 0.2s ease !important;
}

.rh-tile:hover .rh-tile__icon {
  transform: scale(1.1) !important;
}

.rh-tile__icon img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  display: block !important;
}

.rh-tile .rh-mark {
  display: none !important;
}

.rh-tile__name {
  font-size: 12px !important;
  font-weight: 500 !important;
  line-height: 1.3 !important;
  color: #1e293b !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  word-break: break-word !important;
  height: 31px !important;
  text-align: center !important;
}

.rh-tile:hover .rh-tile__name {
  color: #ff5200 !important;
}

/* --- 2. Tablets (768px - 1024px): 6 columns x 3 clean rows = 18 items --- */
@media (max-width: 1024px) and (min-width: 768px) {
  .rh-tiles {
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    grid-template-rows: auto !important;
    grid-auto-flow: row !important;
    gap: 14px 10px !important;
    margin-top: 26px !important;
    margin-bottom: 30px !important;
    overflow: visible !important;
  }
  .rh-tiles > *:nth-child(n+19) {
    display: none !important;
  }
  .rh-tile {
    padding: 14px 8px 12px !important;
  }
  .rh-tile__icon {
    width: 44px !important;
    height: 44px !important;
  }
}

/* --- 3. Mobile (< 768px): 3 items per line, exactly 6 complete rows = 18 items --- */
@media (max-width: 767px) {
  .rh-tiles {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    grid-template-rows: auto !important;
    grid-auto-flow: row !important;
    gap: 10px 10px !important;
    margin-top: 18px !important;
    margin-bottom: 24px !important;
    padding: 0 4px !important;
    width: 100% !important;
    overflow: visible !important;
    box-sizing: border-box !important;
  }
  .rh-tiles > *:nth-child(n+19) {
    display: none !important;
  }
  .rh-tile {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    min-height: 94px !important;
    max-height: none !important;
    padding: 12px 6px 10px 6px !important;
    border-radius: 12px !important;
    gap: 6px !important;
    background: #ffffff !important;
    border: 1px solid #edf0f5 !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03) !important;
    box-sizing: border-box !important;
    text-decoration: none !important;
    color: #1e293b !important;
    text-align: center !important;
  }
  .rh-tile:hover, .rh-tile:active {
    background: #ffffff !important;
    border-color: #ff5200 !important;
  }
  .rh-tile__icon {
    width: 42px !important;
    height: 42px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }
  .rh-tile__icon img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
  }
  .rh-tile__name {
    font-size: 11.5px !important;
    font-weight: 500 !important;
    line-height: 1.25 !important;
    color: #1e293b !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    word-break: break-word !important;
    height: 29px !important;
    text-align: center !important;
  }
}

/* ========================================================================
 * Responsive Category Grid:
 * PC (> 1024px): 10 columns x 2 rows = 20 items
 * Tablet (768px - 1024px): 5 columns x 4 rows = 20 items
 * Mobile (< 768px): 3 columns x 6 rows = 18 items (items 19-20 hidden)
 * Generous spacing from hero banner and comfortable card gaps
 * ===================================================================== */

/* --- 1. Desktop & Laptop (> 1024px): Exactly 10 columns x 2 clean rows = 20 items --- */


@media (min-width: 1025px) {
  
}

@media (max-width: 1400px) and (min-width: 1025px) {
  
  .rh-tile {
    padding: 12px 4px 10px 4px !important;
  }
  .rh-tile__icon {
    width: 42px !important;
    height: 42px !important;
  }
  .rh-tile__name {
    font-size: 11px !important;
  }
}

.rh-tiles > * {
  display: flex !important;
}

/* Guard: Hide any item beyond 20 on desktop */
.rh-tiles > *:nth-child(n+21) {
  display: none !important;
}

.rh-tile {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  padding: 14px 6px 12px 6px !important;
  border-radius: 12px !important;
  background: #ffffff !important;
  border: 1px solid #edf0f5 !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.04) !important;
  text-decoration: none !important;
  color: #1e293b !important;
  text-align: center !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-sizing: border-box !important;
  min-width: 0 !important;
}

.rh-tile:hover {
  background: #ffffff !important;
  border-color: #ff5200 !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 18px rgba(255, 82, 0, 0.13) !important;
}

.rh-tile__icon {
  width: 44px !important;
  height: 44px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  overflow: hidden !important;
  transition: transform 0.2s ease !important;
}

.rh-tile:hover .rh-tile__icon {
  transform: scale(1.1) !important;
}

.rh-tile__icon img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  display: block !important;
}

.rh-tile .rh-mark {
  display: none !important;
}

.rh-tile__name {
  font-size: 11.5px !important;
  font-weight: 500 !important;
  line-height: 1.3 !important;
  color: #1e293b !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  word-break: break-word !important;
  height: 30px !important;
  text-align: center !important;
}

.rh-tile:hover .rh-tile__name {
  color: #ff5200 !important;
}

/* --- 2. Tablets (768px - 1024px): 5 columns x 4 clean rows = 20 items --- */
@media (max-width: 1024px) and (min-width: 768px) {
  .rh-tiles {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    grid-template-rows: auto !important;
    grid-auto-flow: row !important;
    gap: 14px 10px !important;
    margin-top: 26px !important;
    margin-bottom: 30px !important;
    overflow: visible !important;
  }
  .rh-tiles > *:nth-child(n+21) {
    display: none !important;
  }
  .rh-tile {
    padding: 13px 8px 11px !important;
  }
  .rh-tile__icon {
    width: 42px !important;
    height: 42px !important;
  }
}

/* --- 3. Mobile (< 768px): 3 items per line, exactly 6 complete rows = 18 items --- */
@media (max-width: 767px) {
  .rh-tiles {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    grid-template-rows: auto !important;
    grid-auto-flow: row !important;
    gap: 10px 10px !important;
    margin-top: 18px !important;
    margin-bottom: 24px !important;
    padding: 0 4px !important;
    width: 100% !important;
    overflow: visible !important;
    box-sizing: border-box !important;
  }
  /* HIDE items 19 and 20 on mobile so mobile stays exactly 18 items (3 x 6 rows) */
  .rh-tiles > *:nth-child(n+19) {
    display: none !important;
  }
  .rh-tile {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    min-height: 94px !important;
    max-height: none !important;
    padding: 12px 6px 10px 6px !important;
    border-radius: 12px !important;
    gap: 6px !important;
    background: #ffffff !important;
    border: 1px solid #edf0f5 !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03) !important;
    box-sizing: border-box !important;
    text-decoration: none !important;
    color: #1e293b !important;
    text-align: center !important;
  }
  .rh-tile:hover, .rh-tile:active {
    background: #ffffff !important;
    border-color: #ff5200 !important;
  }
  .rh-tile__icon {
    width: 42px !important;
    height: 42px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }
  .rh-tile__icon img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
  }
  .rh-tile__name {
    font-size: 11.5px !important;
    font-weight: 500 !important;
    line-height: 1.25 !important;
    color: #1e293b !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    word-break: break-word !important;
    height: 29px !important;
    text-align: center !important;
  }
}

/* ========================================================================
 * Responsive Category Grid:
 * PC (> 1024px): 10 columns x 2 rows = 20 items
 * Tablet (768px - 1024px): 5 columns x 4 rows = 20 items
 * Mobile (< 768px): 3 columns x 6 rows = 18 items (items 19-20 hidden)
 * Generous spacing from hero banner and comfortable card gaps
 * ===================================================================== */

/* --- 1. Desktop & Laptop (> 1024px): Exactly 10 columns x 2 clean rows = 20 items --- */


@media (min-width: 1025px) {
  
}

@media (max-width: 1400px) and (min-width: 1025px) {
  
  .rh-tile {
    padding: 12px 4px 10px 4px !important;
  }
  .rh-tile__icon {
    width: 42px !important;
    height: 42px !important;
  }
  .rh-tile__name {
    font-size: 11px !important;
  }
}

/* Force show items 1-20 on desktop and tablet */
.rh-tiles > *:nth-child(-n+20) {
  display: flex !important;
}

/* Guard: Hide any item beyond 20 on desktop */
.rh-tiles > *:nth-child(n+21) {
  display: none !important;
}

.rh-tile {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  padding: 14px 6px 12px 6px !important;
  border-radius: 12px !important;
  background: #ffffff !important;
  border: 1px solid #edf0f5 !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.04) !important;
  text-decoration: none !important;
  color: #1e293b !important;
  text-align: center !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-sizing: border-box !important;
  min-width: 0 !important;
}

.rh-tile:hover {
  background: #ffffff !important;
  border-color: #ff5200 !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 18px rgba(255, 82, 0, 0.13) !important;
}

.rh-tile__icon {
  width: 44px !important;
  height: 44px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  overflow: hidden !important;
  transition: transform 0.2s ease !important;
}

.rh-tile:hover .rh-tile__icon {
  transform: scale(1.1) !important;
}

.rh-tile__icon img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  display: block !important;
}

.rh-tile .rh-mark {
  display: none !important;
}

.rh-tile__name {
  font-size: 11.5px !important;
  font-weight: 500 !important;
  line-height: 1.3 !important;
  color: #1e293b !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  word-break: break-word !important;
  height: 30px !important;
  text-align: center !important;
}

.rh-tile:hover .rh-tile__name {
  color: #ff5200 !important;
}

/* --- 2. Tablets (768px - 1024px): 5 columns x 4 clean rows = 20 items --- */
@media (max-width: 1024px) and (min-width: 768px) {
  .rh-tiles {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    grid-template-rows: auto !important;
    grid-auto-flow: row !important;
    gap: 14px 10px !important;
    margin-top: 26px !important;
    margin-bottom: 30px !important;
    overflow: visible !important;
  }
  .rh-tiles > *:nth-child(-n+20) {
    display: flex !important;
  }
  .rh-tiles > *:nth-child(n+21) {
    display: none !important;
  }
  .rh-tile {
    padding: 13px 8px 11px !important;
  }
  .rh-tile__icon {
    width: 42px !important;
    height: 42px !important;
  }
}

/* --- 3. Mobile (< 768px): 3 items per line, exactly 6 complete rows = 18 items --- */
@media (max-width: 767px) {
  .rh-tiles {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    grid-template-rows: auto !important;
    grid-auto-flow: row !important;
    gap: 10px 10px !important;
    margin-top: 18px !important;
    margin-bottom: 24px !important;
    padding: 0 4px !important;
    width: 100% !important;
    overflow: visible !important;
    box-sizing: border-box !important;
  }
  /* Show items 1-18 on mobile */
  .rh-tiles > *:nth-child(-n+18) {
    display: flex !important;
  }
  /* HIDE items 19 and 20 on mobile so mobile stays exactly 18 items (3 x 6 rows) */
  .rh-tiles > *:nth-child(n+19) {
    display: none !important;
  }
  .rh-tile {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    min-height: 94px !important;
    max-height: none !important;
    padding: 12px 6px 10px 6px !important;
    border-radius: 12px !important;
    gap: 6px !important;
    background: #ffffff !important;
    border: 1px solid #edf0f5 !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03) !important;
    box-sizing: border-box !important;
    text-decoration: none !important;
    color: #1e293b !important;
    text-align: center !important;
  }
  .rh-tile:hover, .rh-tile:active {
    background: #ffffff !important;
    border-color: #ff5200 !important;
  }
  .rh-tile__icon {
    width: 42px !important;
    height: 42px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }
  .rh-tile__icon img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
  }
  .rh-tile__name {
    font-size: 11.5px !important;
    font-weight: 500 !important;
    line-height: 1.25 !important;
    color: #1e293b !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    word-break: break-word !important;
    height: 29px !important;
    text-align: center !important;
  }
}

/* ========================================================================
 * Responsive Category Grid:
 * PC (> 1024px): 10 columns x 2 rows = 20 items
 * Tablet (768px - 1024px): 5 columns x 4 rows = 20 items
 * Mobile (< 768px): 3 columns x 6 rows = 18 items (items 19-20 hidden)
 * Generous spacing from hero banner and comfortable card gaps
 * ===================================================================== */

/* ========================================================================
 * Side Promo Banners (FLASH SALE & BOYA):
 * PC / Desktop (> 900px): Visible in right-hand masthead column
 * Mobile & Handheld (<= 900px): Completely removed from mobile as requested
 * ===================================================================== */
@media (min-width: 901px) {
  .rh-side {
    display: grid !important;
  }
}

@media (max-width: 900px) {
  .rh-side {
    display: none !important;
  }
}

/* --- 1. Desktop & Laptop (> 1024px): Exactly 10 columns x 2 clean rows = 20 items --- */
.rh-tiles {
  display: grid !important;
  grid-template-columns: repeat(10, minmax(0, 1fr)) !important;
  grid-template-rows: auto !important;
  grid-auto-flow: row !important;
  gap: 14px 10px !important;
  margin-top: 60px !important;
  margin-bottom: 40px !important;
  padding: 0 4px !important;
  width: 100% !important;
  overflow: visible !important;
  box-sizing: border-box !important;
}

@media (min-width: 1025px) {
  .rh-tiles {
    grid-template-columns: repeat(10, minmax(0, 1fr)) !important;
    margin-top: 60px !important;
  }
}

@media (max-width: 1400px) and (min-width: 1025px) {
  .rh-tiles {
    grid-template-columns: repeat(10, minmax(0, 1fr)) !important;
    gap: 12px 8px !important;
    margin-top: 55px !important;
    margin-bottom: 36px !important;
  }
  .rh-tile {
    padding: 12px 4px 10px 4px !important;
  }
  .rh-tile__icon {
    width: 42px !important;
    height: 42px !important;
  }
  .rh-tile__name {
    font-size: 11px !important;
  }
}

/* Force show items 1-20 on desktop and tablet */
.rh-tiles > *:nth-child(-n+20) {
  display: flex !important;
}

/* Guard: Hide any item beyond 20 on desktop */
.rh-tiles > *:nth-child(n+21) {
  display: none !important;
}

.rh-tile {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  padding: 14px 6px 12px 6px !important;
  border-radius: 12px !important;
  background: #ffffff !important;
  border: 1px solid #edf0f5 !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.04) !important;
  text-decoration: none !important;
  color: #1e293b !important;
  text-align: center !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-sizing: border-box !important;
  min-width: 0 !important;
}

.rh-tile:hover {
  background: #ffffff !important;
  border-color: #ff5200 !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 18px rgba(255, 82, 0, 0.13) !important;
}

.rh-tile__icon {
  width: 44px !important;
  height: 44px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  overflow: hidden !important;
  transition: transform 0.2s ease !important;
}

.rh-tile:hover .rh-tile__icon {
  transform: scale(1.1) !important;
}

.rh-tile__icon img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  display: block !important;
}

.rh-tile .rh-mark {
  display: none !important;
}

.rh-tile__name {
  font-size: 11.5px !important;
  font-weight: 500 !important;
  line-height: 1.3 !important;
  color: #1e293b !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  word-break: break-word !important;
  height: 30px !important;
  text-align: center !important;
}

.rh-tile:hover .rh-tile__name {
  color: #ff5200 !important;
}

/* --- 2. Tablets (768px - 1024px): 5 columns x 4 clean rows = 20 items --- */
@media (max-width: 1024px) and (min-width: 768px) {
  .rh-tiles {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    grid-template-rows: auto !important;
    grid-auto-flow: row !important;
    gap: 14px 10px !important;
    margin-top: 26px !important;
    margin-bottom: 30px !important;
    overflow: visible !important;
  }
  .rh-tiles > *:nth-child(-n+20) {
    display: flex !important;
  }
  .rh-tiles > *:nth-child(n+21) {
    display: none !important;
  }
  .rh-tile {
    padding: 13px 8px 11px !important;
  }
  .rh-tile__icon {
    width: 42px !important;
    height: 42px !important;
  }
}

/* --- 3. Mobile (< 768px): 3 items per line, exactly 6 complete rows = 18 items --- */
@media (max-width: 767px) {
  .rh-tiles {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    grid-template-rows: auto !important;
    grid-auto-flow: row !important;
    gap: 10px 10px !important;
    margin-top: 18px !important;
    margin-bottom: 24px !important;
    padding: 0 4px !important;
    width: 100% !important;
    overflow: visible !important;
    box-sizing: border-box !important;
  }
  /* Show items 1-18 on mobile */
  .rh-tiles > *:nth-child(-n+18) {
    display: flex !important;
  }
  /* HIDE items 19 and 20 on mobile so mobile stays exactly 18 items (3 x 6 rows) */
  .rh-tiles > *:nth-child(n+19) {
    display: none !important;
  }
  /* HIDE side promo banners on mobile (< 768px) */
  .rh-side {
    display: none !important;
  }
  .rh-tile {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    min-height: 94px !important;
    max-height: none !important;
    padding: 12px 6px 10px 6px !important;
    border-radius: 12px !important;
    gap: 6px !important;
    background: #ffffff !important;
    border: 1px solid #edf0f5 !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03) !important;
    box-sizing: border-box !important;
    text-decoration: none !important;
    color: #1e293b !important;
    text-align: center !important;
  }
  .rh-tile:hover, .rh-tile:active {
    background: #ffffff !important;
    border-color: #ff5200 !important;
  }
  .rh-tile__icon {
    width: 42px !important;
    height: 42px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }
  .rh-tile__icon img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
  }
  .rh-tile__name {
    font-size: 11.5px !important;
    font-weight: 500 !important;
    line-height: 1.25 !important;
    color: #1e293b !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    word-break: break-word !important;
    height: 29px !important;
    text-align: center !important;
  }
}

/* ==========================================================================

/* ==========================================================================

/* ==========================================================================

/* ==========================================================================

/* ==========================================================================

/* ==========================================================================

/* ==========================================================================

/* ==========================================================================
   MOTION VIEW PRODUCT CARD STYLING (HOME, CATEGORY, BRAND & SHOP)
   Exact 100% Match to motionview.com.bd
   ========================================================================== */

/* 1. Category & Listing Grid: 5 to 6 Columns Desktop, 2 Columns Mobile */
html body #products-row {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(185px, 1fr)) !important;
  gap: 12px 10px !important;
  padding: 10px 4px !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

html body #products-row > .col,
html body .shop-product-col {
  width: 100% !important;
  max-width: 100% !important;
  flex: none !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  background: transparent !important;
}

html body #products-row > .col.hov-shadow-out:hover,
html body .shop-product-col.hov-shadow-out:hover {
  box-shadow: none !important;
}

/* 2. Home Page React Products Grid: 7 Columns on Wide Desktop, 6 on Laptop */
.rh-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(185px, 1fr)) !important;
  gap: 12px 10px !important;
}

@media (min-width: 1400px) {
  .rh-grid {
    grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 1399px) and (min-width: 1150px) {
  .rh-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 1149px) and (min-width: 900px) {
  .rh-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 899px) and (min-width: 650px) {
  .rh-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 649px) and (min-width: 480px) {
  .rh-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

/* 3. Card Container: Slender, Compact, Clean */
.mv-product-card,
.aiz-card-box.mv-product-card,
.rh-card.mv-product-card,
.rh-card {
  background: #ffffff !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 8px !important;
  padding: 10px 10px 12px 10px !important;
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  min-height: 295px !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03) !important;
  transition: all 0.2s ease-in-out !important;
  box-sizing: border-box !important;
  text-decoration: none !important;
  color: inherit !important;
  overflow: hidden !important;
}

.mv-product-card:hover,
.aiz-card-box.mv-product-card:hover,
.rh-card:hover {
  border-color: #c084fc !important;
  box-shadow: 0 6px 18px rgba(112, 0, 254, 0.1) !important;
  transform: translateY(-3px) !important;
}

/* 4. Top-Left Discount Pill Badge: Solid Pink-Red #ff0055 */
.mv-badge-discount,
.rh-card__badge {
  position: absolute !important;
  top: 6px !important;
  left: 6px !important;
  z-index: 10 !important;
  background: #ff0055 !important;
  color: #ffffff !important;
  font-size: 10.5px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  padding: 2.5px 7px !important;
  border-radius: 9999px !important;
  box-shadow: none !important;
  pointer-events: none !important;
  letter-spacing: 0.2px !important;
  text-align: center !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
}

/* 5. Product Image: 1:1 Aspect Ratio, Clean Container */
.mv-card-media,
.rh-card__media {
  position: relative !important;
  width: 100% !important;
  height: 175px !important;
  max-height: 185px !important;
  aspect-ratio: 1 / 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  background: #ffffff !important;
  border-radius: 6px !important;
  margin-bottom: 6px !important;
  padding: 2px !important;
  box-sizing: border-box !important;
}

.mv-img-link,
.rh-card__media a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
}

.mv-product-img,
.rh-card__media img {
  width: 100% !important;
  height: 100% !important;
  max-height: 170px !important;
  max-width: 100% !important;
  object-fit: contain !important;
  display: block !important;
  transition: transform 0.25s ease !important;
}

.mv-product-card:hover .mv-product-img,
.rh-card:hover .rh-card__media img {
  transform: scale(1.05) !important;
}

/* 6. Card Body */
.mv-card-body {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  padding: 0 !important;
  margin: 0 !important;
  text-align: left !important;
}

/* 7. Product Title: 2-line clamp, #111827, font-size 13px */
.mv-product-title,
.mv-product-title a,
.rh-card__name,
.rh-card__name a {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #111827 !important;
  line-height: 1.35 !important;
  text-align: left !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  min-height: 35px !important;
  height: 35px !important;
  margin: 4px 0 4px 0 !important;
  padding: 0 !important;
  text-decoration: none !important;
  word-break: break-word !important;
  white-space: normal !important;
  transition: color 0.15s ease !important;
}

.mv-product-card:hover .mv-product-title a,
.rh-card:hover .rh-card__name,
.rh-card:hover .rh-card__name a {
  color: #7000fe !important;
}

/* 8. Price Row: Vivid Violet/Purple #7000fe + Strikethrough Gray #9ca3af */
.mv-price-row,
.rh-card__prices {
  display: flex !important;
  flex-direction: row !important;
  align-items: baseline !important;
  justify-content: flex-start !important;
  gap: 6px !important;
  margin-top: auto !important;
  margin-bottom: 4px !important;
  text-align: left !important;
  flex-wrap: wrap !important;
  padding: 0 !important;
}

.mv-current-price,
.rh-card__price {
  color: #7000fe !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: -0.01em !important;
}

.mv-stroked-price,
.rh-card__stroked {
  color: #9ca3af !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  text-decoration: line-through !important;
  line-height: 1.2 !important;
}

/* 9. Footer: 5 Gold Stars #f59e0b + Circular Purple Cart Button */
.mv-card-footer,
.rh-card__footer {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-top: 4px !important;
  padding-top: 2px !important;
  width: 100% !important;
}

.mv-stars,
.rh-card__stars {
  color: #f59e0b !important;
  font-size: 12.5px !important;
  letter-spacing: 1px !important;
  line-height: 1 !important;
  user-select: none !important;
  display: inline-block !important;
}

.mv-cart-btn,
.rh-card__cart-btn {
  width: 30px !important;
  height: 30px !important;
  border-radius: 50% !important;
  border: 1.5px solid #d8b4fe !important;
  background: #faf5ff !important;
  color: #7000fe !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  padding: 0 !important;
  outline: none !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  flex-shrink: 0 !important;
  box-shadow: 0 1px 3px rgba(112, 0, 254, 0.08) !important;
  text-decoration: none !important;
}

.mv-cart-btn:hover,
.rh-card__cart-btn:hover {
  background: #7000fe !important;
  border-color: #7000fe !important;
  color: #ffffff !important;
  transform: scale(1.08) !important;
  box-shadow: 0 4px 10px rgba(112, 0, 254, 0.25) !important;
}

.mv-cart-btn svg,
.rh-card__cart-btn svg {
  display: block !important;
  stroke: currentColor !important;
}

/* 10. Suppress all obsolete pseudo-elements completely */
html body #products-row .aiz-card-box h3::before,
html body .aiz-card-box h3::before,
html body #products-row .aiz-card-box:has(.disc-amount) .text-primary::after,
html body .aiz-card-box:has(.disc-amount) .text-primary::after,
html body #products-row .aiz-card-box:has(del) .text-primary::after,
html body .aiz-card-box:has(del) .text-primary::after,
html body #products-row .aiz-card-box .fs-14.d-flex::after,
html body .aiz-card-box .fs-14.d-flex::after,
html body #products-row .aiz-card-box::after,
html body .aiz-card-box::after,
.rh-card::after,
.rh-card::before,
.rh-card__name::before,
.rh-card__name::after,
.rh-card__prices::before,
.rh-card__prices::after,
.rh-card__price::before,
.rh-card__price::after {
  content: none !important;
  display: none !important;
}

/* 11. Mobile Responsiveness (< 768px): Exactly 2 Clean Columns */
@media (max-width: 767px) {
  html body #products-row,
  .rh-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    padding: 6px 2px !important;
  }
  .mv-product-card,
  .aiz-card-box.mv-product-card,
  .rh-card {
    padding: 8px 8px 10px 8px !important;
    border-radius: 8px !important;
    min-height: 240px !important;
  }
  .mv-card-media,
  .rh-card__media {
    height: 140px !important;
    max-height: 150px !important;
  }
  .mv-product-img,
  .rh-card__media img {
    max-height: 135px !important;
  }
  .mv-badge-discount,
  .rh-card__badge {
    top: 5px !important;
    left: 5px !important;
    font-size: 10px !important;
    padding: 2px 5.5px !important;
  }
  .mv-product-title,
  .mv-product-title a,
  .rh-card__name,
  .rh-card__name a {
    font-size: 12px !important;
    line-height: 1.3 !important;
    height: 31px !important;
    min-height: 31px !important;
    margin-bottom: 3px !important;
  }
  .mv-current-price,
  .rh-card__price {
    font-size: 14.5px !important;
  }
  .mv-stroked-price,
  .rh-card__stroked {
    font-size: 11px !important;
  }
  .mv-stars,
  .rh-card__stars {
    font-size: 11px !important;
    letter-spacing: 1px !important;
  }
  .mv-cart-btn,
  .rh-card__cart-btn {
    width: 28px !important;
    height: 28px !important;
  }
  .mv-cart-btn svg,
  .rh-card__cart-btn svg {
    width: 14px !important;
    height: 14px !important;
  }
}
