/* Royal Electronics — Gray & White theme (local) */
:root {
  --re-gray-900: #111827;
  --re-gray-700: #374151;
  --re-gray-500: #6b7280;
  --re-gray-200: #e5e7eb;
  --re-gray-100: #f3f4f6;
  --re-white: #ffffff;
  --re-atc-red: #e54b5d;
  --re-atc-red-hover: #d13d4f;
}

body {
  background-color: var(--re-white) !important;
  color: var(--re-gray-700);
}

a { color: var(--re-gray-700); }
a:hover { color: var(--re-gray-900); }

/* Buttons — Add to cart = red (Taj / second-image style) */
.btn-color-primary,
.button,
button.button,
.wd-buy-now-btn,
.woocommerce .button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.single_add_to_cart_button,
.wp-element-button,
.added_to_cart,
.cart .single_add_to_cart_button,
form.cart .single_add_to_cart_button,
.product .single_add_to_cart_button,
.wd-buy-now-btn,
.wd-add-btn a,
.wd-add-btn .button,
.ajax_add_to_cart {
  background-color: var(--re-atc-red) !important;
  background: var(--re-atc-red) !important;
  border-color: var(--re-atc-red) !important;
  color: #fff !important;
  box-shadow: none !important;
}
.btn-color-primary:hover,
.button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.single_add_to_cart_button:hover,
.cart .single_add_to_cart_button:hover,
form.cart .single_add_to_cart_button:hover,
.wd-add-btn a:hover,
.ajax_add_to_cart:hover {
  background-color: var(--re-atc-red-hover) !important;
  background: var(--re-atc-red-hover) !important;
  border-color: var(--re-atc-red-hover) !important;
  color: #fff !important;
}

/* Prices: sale = red, regular/strike = grey */
.price,
.woocommerce .price,
.wd-product .price,
.product-grid-item .price,
.product .price {
  color: #222 !important;
}
.price del,
.price del .amount,
.woocommerce .price del,
.woocommerce .price del .amount,
.wd-product .price del,
.product .price del {
  color: #9ca3af !important;
  opacity: 1 !important;
}
.price > .amount,
.woocommerce .price > .amount,
.wd-product .price > .amount {
  color: #222 !important;
  font-weight: 700 !important;
}
.price ins,
.price ins .amount,
.woocommerce .price ins,
.woocommerce .price ins .amount,
.wd-product .price ins,
.product .price ins {
  color: var(--re-atc-red) !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}
/* Discount / sale tags — green capsule, top-left (Taj style) */
.product-labels,
.wd-product .product-labels,
.product-element-top .product-labels {
  position: absolute !important;
  top: 12px !important;
  left: 12px !important;
  right: auto !important;
  z-index: 5 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 6px !important;
}
.onsale,
span.onsale,
.product-label.onsale,
.wd-product-label.onsale,
.product-labels .onsale,
.product-image-link .onsale,
.product-element-top .onsale,
.wd-product .onsale,
.woocommerce span.onsale,
.woocommerce .onsale,
.label-percentage,
.product-label[class*="discount"],
.product-label[class*="percentage"] {
  background-color: #43a047 !important;
  background: #43a047 !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 999px !important;
  min-width: 0 !important;
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 5px 11px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: none !important;
}
.product-label.out-of-stock,
.onsale.out-of-stock,
.product-labels .out-of-stock {
  background-color: #fff !important;
  color: #111 !important;
  border-radius: 999px !important;
}

/* Shop / sale pages solid light background */
body.woocommerce-page .main-page-wrapper,
body.tax-product_cat .main-page-wrapper,
body.tax-product_brand .main-page-wrapper,
body.page-id-29377 .main-page-wrapper,
body.woocommerce-page .wd-page-content,
body.tax-product_cat .wd-page-content,
body.page-id-29377 .wd-page-content {
  background: #f5f5f5 !important;
  background-color: #f5f5f5 !important;
}

/* Remove top page name — page name lives in sidebar widget title */
body:not(.home) .wd-page-title,
.woocommerce .wd-page-title,
.tax-product_cat .wd-page-title,
body.page .wd-page-title,
.woocommerce-products-header h1,
.woocommerce-products-header .page-title,
body.tax-product_cat .title-wrapper,
body.tax-product_cat .page-title,
body.woocommerce-shop .page-title,
.wd-page-title .title,
.wd-page-title .entry-title,
.shop-content-area > .title,
.main-page-wrapper > .container > .title.page-title,
.wd-title-wrapper .title {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
  font-size: 0 !important;
  line-height: 0 !important;
}

/* Uniform product image size — GRID cards only (not small/list widgets) */
.wd-product:not(.wd-hover-small) .product-element-top,
.product-grid-item:not(.wd-hover-small) .product-element-top,
.wd-carousel-item .wd-product:not(.wd-hover-small) .product-element-top,
.products .product:not(.wd-hover-small) .product-element-top {
  aspect-ratio: 1 / 1 !important;
  height: auto !important;
  overflow: hidden !important;
  background: #fff !important;
}
.wd-product:not(.wd-hover-small) .product-image-link,
.product-grid-item:not(.wd-hover-small) .product-image-link,
.wd-product:not(.wd-hover-small) .product-element-top > a,
.product-grid-item:not(.wd-hover-small) .product-element-top > a {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: 1 / 1 !important;
}
.wd-product:not(.wd-hover-small) .product-image-link img,
.product-grid-item:not(.wd-hover-small) .product-image-link img,
.wd-product:not(.wd-hover-small) .product-element-top img,
.product-grid-item:not(.wd-hover-small) .product-element-top img,
.products .product:not(.wd-hover-small) img.attachment-woocommerce_thumbnail,
.products .product:not(.wd-hover-small) img.wp-post-image,
.wd-product:not(.wd-hover-small) img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  aspect-ratio: 1 / 1 !important;
}
/* 11.11 Flash Sale page — same product card treatment */
body.page-id-29377 .wd-page-title {
  display: none !important;
}
body.page-id-29377 .wd-product .product-element-top,
body.page-id-29377 .product-grid-item .product-element-top {
  aspect-ratio: 1 / 1 !important;
  overflow: hidden !important;
}
body.page-id-29377 .wd-product .product-element-top img,
body.page-id-29377 .product-grid-item .product-element-top img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}
/* Remove divider lines under title */
.woocommerce-products-header,
.wd-shop-tools,
.shop-loop-head,
.wd-page-title,
.wd-page-content > hr {
  border: 0 !important;
  box-shadow: none !important;
}
.term-description {
  display: none !important;
}

/* Product card meta — show categories like second image; hide brands only */
.wd-product .wd-product-brands-links,
.product-grid-item .wd-product-brands-links {
  display: none !important;
}
.wd-product .wd-product-cats,
.product-grid-item .wd-product-cats,
.wd-product .wd-entities-title + .wd-product-cats,
.product-grid-item .woocommerce-loop-product__title + .wd-product-cats {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  margin: 4px 0 8px !important;
  padding: 0 !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 1.35 !important;
  color: #9ca3af !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
.wd-product .wd-product-cats a,
.product-grid-item .wd-product-cats a {
  color: #9ca3af !important;
  font-size: 12px !important;
  font-weight: 400 !important;
}
.wd-product .wd-product-cats a:hover,
.product-grid-item .wd-product-cats a:hover {
  color: var(--re-atc-red) !important;
}

/*
 * Add to Cart: solid bar slides up from BOTTOM of image (Taj style).
 * Grid cards only — never apply to wd-hover-small list rows.
 */
.wd-product:not(.wd-hover-small) .product-element-top,
.product-grid-item:not(.wd-hover-small) .product-element-top,
.wd-hover-fw-button:not(.wd-hover-small) .product-element-top {
  position: relative !important;
  overflow: hidden !important;
}
.wd-product:not(.wd-hover-small) .product-element-top > .wd-add-btn,
.product-grid-item:not(.wd-hover-small) .product-element-top > .wd-add-btn,
.wd-hover-fw-button:not(.wd-hover-small) .product-element-top > .wd-add-btn {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  top: auto !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  z-index: 20 !important;
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
  transform: translateY(100%) !important;
  transition: transform .28s ease !important;
  background: transparent !important;
  pointer-events: auto !important;
}
.wd-product:not(.wd-hover-small):hover .product-element-top > .wd-add-btn,
.product-grid-item:not(.wd-hover-small):hover .product-element-top > .wd-add-btn,
.wd-hover-fw-button:not(.wd-hover-small):hover .product-element-top > .wd-add-btn {
  transform: translateY(0) !important;
}
.wd-product:not(.wd-hover-small) .product-element-top > .wd-add-btn a,
.wd-product:not(.wd-hover-small) .product-element-top > .wd-add-btn .button,
.product-grid-item:not(.wd-hover-small) .product-element-top > .wd-add-btn a {
  background: #e54b5d !important;
  background-color: #e54b5d !important;
  background-image: none !important;
  opacity: 1 !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 0 !important;
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-weight: 700 !important;
  text-transform: none !important;
  min-height: 46px !important;
  height: 46px !important;
  padding: 0 14px !important;
  margin: 0 !important;
  box-shadow: none !important;
  position: static !important;
  transform: none !important;
}
.wd-product:not(.wd-hover-small) .product-element-top > .wd-add-btn a:hover {
  background: #d13d4f !important;
  color: #fff !important;
}
/* Fallback if JS has not moved the button yet: keep bottom ATC visible & solid */
.wd-hover-fw-button:not(.wd-hover-small) .product-element-bottom .wd-add-btn:not(.re-moved-to-thumb) {
  display: block !important;
  position: static !important;
  transform: none !important;
  margin-top: 8px !important;
}
.wd-hover-fw-button .product-element-bottom .wd-add-btn:not(.re-moved-to-thumb) a,
.wd-hover-fw-button .product-element-bottom .wd-add-btn:not(.re-moved-to-thumb) .button {
  background: #e54b5d !important;
  color: #fff !important;
  width: 100% !important;
  min-height: 42px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 0 !important;
  border-radius: 0 !important;
  font-weight: 700 !important;
}

/* Top bar colors owned by royal-taj-header.css (Taj dark bar) */
.whb-top-bar {
  border-bottom: 0;
}

/* ========== HERO SLIDER: large clear banners (pre full-screen restore) ========== */
.wd-slider,
.wd-carousel.wd-slider,
.elementor-widget-wd_slider .wd-carousel,
#slider-376,
#slider-376 .wd-carousel-wrap,
#slider-376 .wd-carousel-inner {
  min-height: 720px !important;
  height: 720px !important;
}
.wd-slider .wd-carousel-wrap,
.wd-slider .wd-carousel-inner {
  min-height: 720px !important;
}
.wd-slider .wd-slide,
#slider-376 .wd-slide {
  min-height: 720px !important;
  height: 720px !important;
  position: relative !important;
}
.wd-slider .wd-slide-bg,
.wd-carousel-item .wd-slide-bg {
  position: absolute !important;
  inset: 0 !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-size: cover !important;
  z-index: 0 !important;
  image-rendering: -webkit-optimize-contrast;
}
@media (max-width: 1024px) {
  .wd-slider,
  .wd-slider .wd-slide,
  .wd-slider .wd-carousel-wrap,
  #slider-376,
  #slider-376 .wd-slide {
    min-height: 0 !important;
    height: auto !important;
    max-height: none !important;
    aspect-ratio: 2.35 / 1 !important;
  }
  .wd-slider .wd-slide-bg,
  .wd-carousel-item .wd-slide-bg,
  #slide-27530 .wd-slide-bg,
  #slide-27554 .wd-slide-bg {
    background-size: 100% 100% !important;
    background-position: center center !important;
  }
}
@media (max-width: 768px) {
  .wd-slider,
  .wd-slider .wd-slide,
  .wd-slider .wd-carousel-wrap,
  #slider-376,
  #slider-376 .wd-slide {
    min-height: 0 !important;
    height: auto !important;
    max-height: none !important;
    aspect-ratio: 2.2 / 1 !important;
  }
}

/* Header colors moved to royal-taj-header.css (Taj layout) */
.whb-header .menu-item .menu-label,
.whb-header .menu-item small,
.whb-header .menu-label {
  display: none !important;
}

/* Footer styling left to WoodMart / Elementor (native). */

/* ========== PRELOADER — never block the site ========== */
.wd-preloader,
.wd-preloader.color-scheme-dark,
.wd-preloader.color-scheme-light,
.wd-fill.wd-preloader {
  background: #fff !important;
  /* Local failsafe: don't keep full-screen loader forever */
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  display: none !important;
}
.wd-preloader-img {
  max-width: 280px !important;
  max-height: none !important;
  width: min(280px, 70vw) !important;
  height: auto !important;
  filter: none !important;
  opacity: 1 !important;
  transform: none !important;
}
.wd-preloader-img img,
.wd-preloader img {
  display: block !important;
  width: 100% !important;
  max-width: 280px !important;
  height: auto !important;
  object-fit: contain !important;
  filter: none !important;
  opacity: 1 !important;
  image-rendering: auto !important;
  -webkit-filter: none !important;
}

/* ========== PRODUCT BANNERS: text BELOW image (no overlay) ========== */
.promo-banner,
.elementor-widget-wd_banner .promo-banner,
.elementor-widget-wd_banner_carousel .promo-banner {
  display: flex !important;
  flex-direction: column !important;
  position: relative !important;
  overflow: hidden !important;
  height: auto !important;
  min-height: 0 !important;
}
/* Full-card click target — must sit above image/text */
.promo-banner > a.wd-promo-banner-link,
.promo-banner a.wd-promo-banner-link.wd-fill {
  position: absolute !important;
  inset: 0 !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 6 !important;
  pointer-events: auto !important;
  display: block !important;
  background: transparent !important;
}
.promo-banner .main-wrapp-img,
.promo-banner .banner-image {
  position: relative !important;
  width: 100% !important;
  height: auto !important;
  inset: auto !important;
  overflow: hidden !important;
}
.promo-banner .banner-image img,
.promo-banner .promo-banner-image {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  object-fit: cover !important;
  position: relative !important;
  inset: auto !important;
  transform: none !important;
}
.promo-banner .wrapper-content-banner,
.promo-banner .wrapper-content-banner.wd-fill {
  position: relative !important;
  inset: auto !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-width: 100% !important;
  display: block !important;
  padding: 14px 12px 16px !important;
  background: #f3f4f6 !important;
  transform: none !important;
  pointer-events: auto !important;
}
.promo-banner .content-banner {
  position: relative !important;
  text-align: center !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  color: #111827 !important;
}
.promo-banner .banner-title,
.promo-banner .banner-title * {
  color: #111827 !important;
  -webkit-text-fill-color: #111827 !important;
}
.promo-banner .banner-subtitle,
.promo-banner .banner-inner,
.promo-banner .banner-inner p {
  color: #4b5563 !important;
  -webkit-text-fill-color: #4b5563 !important;
}
.promo-banner .btn,
.promo-banner .button:not(.re-banner-atc),
.promo-banner a.btn,
.promo-banner .banner-btn,
.promo-banner .wd-btn-with-icon {
  color: #111827 !important;
  -webkit-text-fill-color: #111827 !important;
  border-color: #111827 !important;
  background: transparent !important;
  position: relative !important;
  display: inline-flex !important;
  margin-top: 6px !important;
}
/* Banner Add to cart — red button under title */
.promo-banner .re-banner-atc,
.elementor-widget-wd_banner .re-banner-atc,
a.re-banner-atc.add_to_cart_button {
  position: relative !important;
  z-index: 8 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 12px auto 0 !important;
  padding: 10px 22px !important;
  min-height: 42px !important;
  background: #e54b5d !important;
  background-color: #e54b5d !important;
  border: 0 !important;
  border-radius: 3px !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-transform: none !important;
  text-decoration: none !important;
  letter-spacing: 0.02em !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  box-shadow: none !important;
}
.promo-banner .re-banner-atc:hover,
a.re-banner-atc.add_to_cart_button:hover {
  background: #d13d4f !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}
.promo-banner.re-banner-with-atc .wrapper-content-banner,
.promo-banner.re-banner-with-atc .content-banner {
  text-align: center !important;
  position: relative !important;
  z-index: 8 !important;
}
.promo-banner.re-banner-with-atc > a.wd-promo-banner-link {
  z-index: 1 !important;
}

/* Disable hover zoom that looks glitchy with stacked layout */
.promo-banner:hover .banner-image img,
.promo-banner:hover .banner-image {
  transform: none !important;
}

.star-rating span:before,
p.stars a {
  color: var(--re-gray-500) !important;
}

.wd-section-heading,
.elementor-heading-title,
.wd-entities-title {
  color: var(--re-gray-900) !important;
}

/* Force hero banner images visible (fix distortion blank) */
#slide-27530 .wd-slide-bg,
#slide-27554 .wd-slide-bg,
.wd-slide.woodmart-loaded .wd-slide-bg,
.wd-slide .wd-slide-bg {
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}
#slide-27530 .wd-slide-bg {
  background-image: url("http://localhost/royalelectronics/wp-content/uploads/2026/11/royal-banner-electronics-appliances.jpg?v=1794835183") !important;
  background-color: #f5f5f5 !important;
}
#slide-27554 .wd-slide-bg {
  background-image: url("http://localhost/royalelectronics/wp-content/uploads/2026/11/royal-banner-premium-collection.jpg?v=1794835183") !important;
  background-color: #141414 !important;
}
#slider-376 .wd-slide,
.wd-slider .wd-slide {
  min-height: 720px !important;
  height: 720px !important;
}

/* ========== Hide Browse / 11.11 sale leftovers ========== */
.whb-header .menu-item a[href*="11-11"],
.whb-header .menu-item a[href*="11.11"],
.whb-top-bar .menu-item a[href*="11-11"],
.menu-item-29156,
.menu-item-29385,
.menu-item-29386,
.menu-item-29387,
.whb-header .menu-label,
.whb-header .menu-item .label-new,
.whb-header .menu-item .menu-label {
  display: none !important;
}

/* ========== Categories: original clean look (image + full title below) ========== */
.product-category.wd-cat,
.product-category,
.category-grid-item,
.wd-cat {
  overflow: visible !important;
  height: auto !important;
  max-height: none !important;
}

.product-category .wd-cat-inner,
.product-category .wrapp-category,
.cat-design-default .wd-cat-inner,
.cat-design-default.categories-with-shadow .wd-cat-inner,
.category-grid-item .wd-cat-inner {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  overflow: visible !important;
  height: auto !important;
  max-height: none !important;
  box-shadow: none !important;
  transform: none !important;
  background: transparent !important;
}

/* Square image only */
.product-category .wd-cat-thumb,
.product-category .category-image-wrapp,
.cat-design-default .wd-cat-thumb {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  overflow: hidden !important;
  margin: 0 !important;
  background: #fff !important;
  border: 1px solid #eee !important;
}

.product-category .wd-cat-image,
.product-category .category-image,
.product-category .wd-cat-thumb a {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  position: relative !important;
}

.product-category .wd-cat-thumb img,
.product-category .category-image img,
.product-category .wd-cat-image img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  padding: 10px !important;
  box-sizing: border-box !important;
  background: #fff !important;
  filter: none !important;
  transform: none !important;
  opacity: 1 !important;
}

/* Kill Woodmart absolute overlay title — put content under image */
.product-category .wd-cat-content,
.product-category .hover-mask,
.cat-design-default .wd-cat-content,
.cat-design-default .hover-mask,
.cat-design-default:hover .wd-cat-content {
  position: relative !important;
  inset: auto !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  margin: 10px 0 0 !important;
  padding: 0 4px 6px !important;
  background: transparent !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  text-align: center !important;
  overflow: visible !important;
  z-index: 2 !important;
  pointer-events: none !important;
}

.product-category .wd-entities-title,
.product-category .wd-cat-content .wd-entities-title,
.cat-design-default .wd-entities-title,
.cat-design-default .wd-cat-content .wd-entities-title,
.product-category .hover-mask .wd-entities-title {
  position: relative !important;
  bottom: auto !important;
  top: auto !important;
  left: auto !important;
  inset: auto !important;
  inset-inline-start: auto !important;
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #111827 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: .03em !important;
  text-transform: uppercase !important;
  text-align: center !important;
  line-height: 1.45 !important;
  white-space: nowrap !important;
  overflow: visible !important;
  height: auto !important;
  max-height: none !important;
  opacity: 1 !important;
  transform: none !important;
}

/* Hide product count under categories (cleaner original look) */
.product-category .wd-cat-count,
.product-category .more-products {
  display: none !important;
}

/* Full-bleed link should not cover title */
.product-category .wd-cat-inner > a.wd-fill,
.product-category .category-link.wd-fill {
  bottom: 40px !important;
}

.wd-lazy-load,
img.wd-lazy-fade {
  filter: none !important;
  opacity: 1 !important;
}

/* Card text block — match second image: title → cats → price */
.wd-product:not(.wd-hover-small) .product-element-bottom,
.product-grid-item:not(.wd-hover-small) .product-element-bottom {
  text-align: left !important;
  padding-top: 10px !important;
}
.wd-product:not(.wd-hover-small) .wd-entities-title,
.product-grid-item:not(.wd-hover-small) .wd-entities-title,
.wd-product:not(.wd-hover-small) .wd-entities-title a,
.product-grid-item:not(.wd-hover-small) .wd-entities-title a {
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  color: #111 !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  line-height: 1.35 !important;
  margin: 0 !important;
}
.wd-product:not(.wd-hover-small) .price,
.product-grid-item:not(.wd-hover-small) .price {
  white-space: nowrap !important;
  margin: 0 !important;
  font-size: 14px !important;
}

/* ===== Small / list product rows (New / Featured / Best / Popular) ===== */
.wd-product.wd-hover-small,
.products .wd-product.wd-hover-small,
.wd-products .wd-product.wd-hover-small {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 0 18px !important;
  padding: 0 !important;
  float: none !important;
  clear: both !important;
}
.wd-product.wd-hover-small .wd-product-wrapper {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 14px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}
.wd-product.wd-hover-small .wd-product-thumb,
.wd-product.wd-hover-small .product-element-top {
  flex: 0 0 72px !important;
  width: 72px !important;
  min-width: 72px !important;
  max-width: 72px !important;
  height: 72px !important;
  aspect-ratio: 1 / 1 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  position: relative !important;
  background: #fff !important;
  float: none !important;
}
.wd-product.wd-hover-small .product-image-link,
.wd-product.wd-hover-small .wd-product-img-link,
.wd-product.wd-hover-small .product-element-top > a {
  display: block !important;
  width: 72px !important;
  height: 72px !important;
  margin: 0 !important;
  padding: 0 !important;
  aspect-ratio: 1 / 1 !important;
}
.wd-product.wd-hover-small img,
.wd-product.wd-hover-small .product-element-top img,
.wd-product.wd-hover-small .wd-product-thumb img {
  float: none !important;
  width: 72px !important;
  height: 72px !important;
  min-width: 72px !important;
  max-width: 72px !important;
  max-height: 72px !important;
  object-fit: contain !important;
  object-position: center !important;
  margin: 0 !important;
  aspect-ratio: 1 / 1 !important;
}
.wd-product.wd-hover-small .product-element-bottom {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  gap: 4px !important;
}
.wd-product.wd-hover-small .wd-entities-title,
.wd-product.wd-hover-small .wd-entities-title a {
  white-space: normal !important;
  overflow: hidden !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  line-height: 1.3 !important;
  margin: 0 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
}
.wd-product.wd-hover-small .price {
  white-space: nowrap !important;
  margin: 0 !important;
  line-height: 1.3 !important;
}
/* Hide ATC / labels on small list rows so they never shove content */
.wd-product.wd-hover-small .wd-add-btn,
.wd-product.wd-hover-small .wd-buttons,
.wd-product.wd-hover-small .product-labels,
.wd-product.wd-hover-small .wd-product-cats,
.wd-product.wd-hover-small .hover-content,
.wd-product.wd-hover-small .wd-bottom-actions {
  display: none !important;
}

/* Classic WooCommerce product list widget — same clean row layout */
.product_list_widget {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
}
.product_list_widget > li {
  display: block !important;
  float: none !important;
  clear: both !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 0 16px !important;
  padding: 0 0 16px !important;
  border-bottom: 1px solid #eee !important;
  overflow: hidden !important;
}
.product_list_widget > li:last-child {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  border-bottom: 0 !important;
}
.product_list_widget > li::after {
  content: "" !important;
  display: table !important;
  clear: both !important;
}
.product_list_widget > li .widget-product-wrap {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 14px !important;
  width: 100% !important;
}
.product_list_widget > li .widget-product-img {
  flex: 0 0 65px !important;
  width: 65px !important;
  max-width: 65px !important;
  margin: 0 !important;
  float: none !important;
  overflow: hidden !important;
}
.product_list_widget > li img {
  float: none !important;
  width: 65px !important;
  height: 65px !important;
  min-width: 65px !important;
  max-width: 65px !important;
  object-fit: contain !important;
  margin: 0 !important;
}
.product_list_widget > li .widget-product-info {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  float: none !important;
}
.product_list_widget > li .wd-entities-title,
.product_list_widget > li .widget-product-info > a {
  display: block !important;
  margin: 0 0 6px !important;
  line-height: 1.3 !important;
}
.product_list_widget > li .price {
  display: block !important;
  margin: 0 !important;
  white-space: nowrap !important;
}

/* Logo / top-bar colors handled in royal-taj-header.css */

/* Homepage product lists: 4 equal columns (Elementor class re-home-product-lists) */
@media (min-width: 1025px) {
  .re-home-product-lists.e-con {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 16px !important;
    align-items: start !important;
    flex-direction: unset !important;
    flex-wrap: unset !important;
  }
  .re-home-product-lists.e-con > .e-con {
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    flex: none !important;
    --width: auto !important;
  }
  .re-home-product-lists .elementor-heading-title {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
}
@media (max-width: 1024px) and (min-width: 768px) {
  .re-home-product-lists.e-con {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px !important;
  }
  .re-home-product-lists.e-con > .e-con {
    width: auto !important;
    flex: none !important;
    --width: auto !important;
  }
}

/* Cache-bust banner URLs already set; keep cover sharp */
#slide-27530 .wd-slide-bg,
#slide-27554 .wd-slide-bg {
  background-size: cover !important;
  background-position: center center !important;
}
