/* =================================================
   WISHLIST & SHARE MODAL COMPONENTS
   ================================================= */
.joom-share-btn-round{
  position:relative;
  z-index:20;
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:50%;
  box-shadow:0 2px 8px rgba(250,52,52,.08);
  font-size:20px;
  cursor:pointer;
  transition:all .3s cubic-bezier(0.4, 0, 0.2, 1);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
  color: #111827;
}

.joom-share-btn-round:hover{
  border-color:#FA3434;
  box-shadow:0 4px 14px rgba(250,52,52,.18);
  background:#ffeaea;
  transform: translateY(-2px);
  color: #FA3434;
}

.joom-share-btn-round:active{
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(250,52,52,.1);
}

.joom-wishlist-btn-round,
.mj-wishlist-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mj-wishlist-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;
}

.joom-wishlist-btn-round .woosw-btn,
.mj-wishlist-btn .woosw-btn {
  position: relative;
  z-index: 20;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(250,52,52,.08);
  font-size: 16px;
  cursor: pointer;
  transition: all .3s cubic-bezier(0.4, 0, 0.2, 1);
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
  color: #111827;
  margin: 0;
  overflow: hidden;
}

.joom-wishlist-btn-round .woosw-btn::before,
.joom-wishlist-btn-round .woosw-btn i,
.mj-wishlist-btn .woosw-btn::before,
.mj-wishlist-btn .woosw-btn i {
  font-size: 16px;
  margin: 0;
  line-height: 1;
}

.joom-wishlist-btn-round .woosw-btn:hover,
.mj-wishlist-btn .woosw-btn:hover {
  border-color: #FA3434;
  box-shadow: 0 4px 14px rgba(250,52,52,.18);
  background: #ffeaea;
  transform: translateY(-2px);
  color: #FA3434;
}

.joom-wishlist-btn-round .woosw-btn.woosw-added,
.mj-wishlist-btn .woosw-btn.woosw-added {
  color: #FA3434;
  border-color: #FA3434;
  background: #fff5f5;
}

.joom-wishlist-btn-round .woosw-btn:active,
.mj-wishlist-btn .woosw-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(250,52,52,.1);
}

@media (max-width: 768px) {
  .joom-wishlist-btn-round .woosw-btn,
  .mj-wishlist-btn .woosw-btn {
    width: 24px;
    height: 24px;
    min-width: 24px;
    min-height: 24px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    border: none;
  }
  .joom-wishlist-btn-round .woosw-btn::before,
  .joom-wishlist-btn-round .woosw-btn i,
  .mj-wishlist-btn .woosw-btn::before,
  .mj-wishlist-btn .woosw-btn i {
    font-size: 17px;
  }
}

/* Order View Free Shipping Label */
.free-shipping-label {
  color: #27ae60;
}

/* --- Core Application Box Sizing --- */
*, *::before, *::after {
  box-sizing: border-box;  
}

:root {
  --mj-price-red: #FA3434;
  --mj-discount-bg: #FFEAEA;
  --mj-progress-bg: #EEEEEE;
  --mj-text-black: #222222;
  --mj-text-grey: #666666;
  --mj-star-orange: #FF922B;
}

/* --- Desktop Sidebar & Product Grid Grid Setup --- */
.mj-shop-layout {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 24px;
  max-width: 1300px;
  margin: 0 auto;
  padding: 8px 8px;
  width: 100%;
}

.mj-shop-sidebar {
  width: 280px;
  flex-shrink: 0;
  position: relative;
  background: #FFFFFF;
  border-radius: 24px;
  padding: 0;
  border: none;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  height: fit-content;
}

.mj-shop-main {
  flex: 1;
  min-width: 0;
  display: block;
  background: transparent;
  border-radius: 0;
  padding: 0;
  border: none;
  box-shadow: none;
}

.mj-mobile-filter-trigger-wrap {
  display: none;
}

.mj-mobile-filter-overlay,
.mj-mobile-filter-close {
  display: none;
}

/* --- Mobile Filtering Offcanvas Layout --- */
@media (max-width: 1023px) {
  .mj-shop-layout {
    flex-direction: column;
    align-items: stretch;
  }

  .mj-shop-main {
    width: 100%;
    max-width: 100%;
  }

  .mj-mobile-filter-trigger-wrap {
    display: flex;
    justify-content: center;
    position: fixed;
    left: 50%;
    bottom: 30px;
    top: auto;
    transform: translateX(-50%);
    margin: 0;
    padding: 0;
    z-index: 9997;
  }

  .mj-mobile-filter-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: none;
    background: #111827;
    color: #ffffff;
    border-radius: 100px;
    padding: 16px 36px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 10px 30px rgba(17, 24, 39, 0.35);
    transition: transform 0.2s ease;
  }

  .mj-mobile-filter-trigger span {
    display: inline-block;
  }
  .mj-mobile-filter-trigger:active {
    transform: scale(0.95);
  }

  .mj-mobile-filter-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    z-index: 9998;
  }

  .mj-shop-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: min(320px, 86vw);
    max-width: 86vw;
    height: 100dvh;
    margin: 0;
    padding: 0; /* No padding from edges as requested */
    border-radius: 0;
    z-index: 9999;
    overflow-y: auto;
    transform: translateX(-105%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 20px 0 50px rgba(0,0,0,0.15);
  }

  .mj-mobile-filter-close {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(0,0,0,0.05);
    color: #111;
    font-size: 20px;
  }

  /* Sidebar Header for Mobile */
  .mj-shop-sidebar::before {
    content: "Filters";
    display: block;
    padding: 20px 24px;
    font-size: 20px;
    font-weight: 800;
    color: #111;
    border-bottom: 1px solid #eee;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 10;
  }

  .mj-shop-sidebar .mj-mobile-filter-close {
    position: absolute;
    top: 14px;
    right: 16px;
    z-index: 11;
  }

  /* Full-width category widget override */
  #woocommerce_product_categories-2 {
    padding: 0 !important;
  }

  #woocommerce_product_categories-2 .widget-title {
    padding: 24px 20px 10px; /* Restoring internal padding for the title only */
  }

  .mj-shop-sidebar .widget {
    padding: 15px 20px; /* Internal spacing for pro look */
    margin: 0;
    border-bottom: 8px solid #f8f9fb; /* Segmented sections */
  }

  .mj-shop-sidebar .widget:last-child {
    border-bottom: none;
    padding-bottom: 100px; /* Extra space for sticky button */
  }

  .mj-shop-sidebar .widget-title {
    font-size: 15px;
    color: #111;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }

  body.mj-mobile-filters-open {
    overflow: hidden;
  }

  body.mj-mobile-filters-open .mj-mobile-filter-trigger-wrap {
    opacity: 0;
    pointer-events: none;
  }

  body.mj-mobile-filters-open .mj-shop-sidebar {
    transform: translateX(0);
  }

  body.mj-mobile-filters-open .mj-mobile-filter-overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
}

.mj-shop-sidebar .widget {
  background: transparent;
  border-radius: 0;
  padding: 24px 20px;
  margin-bottom: 0;
  box-shadow: none;
  border: none;
  border-bottom: 1px solid #F3F4F6;
  width: 100%;
}

.mj-shop-sidebar .widget select,
.mj-shop-sidebar .widget input[type="text"],
.mj-shop-sidebar .widget input[type="search"],
.mj-shop-sidebar .widget input[type="number"],
.mj-shop-sidebar .widget ul {
  display: block;
  visibility: visible;
  opacity: 1;
}

.mj-shop-sidebar .widget:last-child {
  border-bottom: none;
}

.mj-shop-sidebar .widget:hover {
  background: #F9FAFB;
}

.mj-shop-sidebar .widget-title {
  font-size: 18px;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 800;
  color: #111827;
  margin: 0 0 24px 0;
  padding-bottom: 0;
  border-bottom: none;
  position: relative;
}

.mj-shop-sidebar .widget-title::after {
  display: none;
}

.mj-shop-sidebar .widget select,
.mj-shop-sidebar .widget input[type="text"],
.mj-shop-sidebar .widget input[type="number"],
.mj-shop-sidebar .widget button {
  width: 100%;
  padding: 14px 16px;
  margin-bottom: 0px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  color: #0f172a;
  background-color: #f8fafc;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.mj-shop-sidebar .widget select:hover,
.mj-shop-sidebar .widget input:hover,
.mj-shop-sidebar .widget button:hover {
  border-color: #D1D5DB;
  background-color: #FFFFFF;
}

.mj-shop-sidebar .widget select:focus,
.mj-shop-sidebar .widget input:focus,
.mj-shop-sidebar .widget button:focus {
  outline: none;
  border-color: #FA3434;
  background-color: #FFFFFF;
  box-shadow: 0 0 0 4px rgba(250, 52, 52, 0.1);
}

/* --- Fix Block Widgets Duplicate Wrappers --- */
.mj-shop-sidebar .widget_block {
  padding: 0;
  border: none;
  background: transparent;
}
.mj-shop-sidebar .widget_block .wc-block-components-panel,
.mj-shop-sidebar .widget_block .wp-block-woocommerce-price-filter {
  background: transparent;
  border: none;
  border-bottom: 1px solid #F3F4F6;
  padding: 15px 10px;
}
.mj-shop-sidebar .widget_block h2,
.mj-shop-sidebar .widget_block h3 {
  font-size: 18px;
  font-weight: 800;
  color: #111827;
  margin-bottom: 16px;
}

/* --- WooCommerce Native Price Filter Controls --- */
.widget_price_filter .price_slider_wrapper {
  padding: 10px 0;
  margin-bottom: -30px;
}

.widget_price_filter .price_slider_amount {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  margin-top: 24px;
  gap: 16px;
  width: 100%;
  padding: 0;
}

.widget_price_filter .price_slider_amount .price_label {
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  margin: 0;
  display: block;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  width: 100%;
}

.widget_price_filter .price_slider_amount .button {
  background-color: #111827;
  color: #FFFFFF;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: none;
  margin: 0;
  border-radius: 12px;
  padding: 14px;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
  flex-shrink: 0;
  width: 100%;
  cursor: pointer;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.widget_price_filter .price_slider_amount .button:hover {
  background-color: #FA3434;
  box-shadow: 0 6px 16px rgba(250, 52, 52, 0.25);
  transform: translateY(-1px);
}

.widget_price_filter .price_slider_wrapper .ui-widget-content {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  height: 6px;
  margin: 0 8px 0 0;
  border-radius: 3px;
}

.widget_price_filter .ui-slider .ui-slider-range {
  background-color: #FA3434 !important;
  border-radius: 2px;
}

.widget_price_filter .ui-slider .ui-slider-handle {
  background-color: #ffffff !important;
  border: 3px solid #FA3434 !important;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  top: -7px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(250,52,52,0.2);
  transition: transform 0.1s ease;
  z-index: 2;
}

.widget_price_filter .ui-slider .ui-slider-handle:hover {
  transform: scale(1.1);
}

.widget_price_filter .ui-slider .ui-slider-handle:active {
  transform: scale(0.9);
}

.mj-shop-sidebar .widget ul,
.mj-shop-sidebar .widget ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mj-shop-sidebar .widget li {
  padding: 0px 12px;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  border-radius: 8px;
  transition: all 0.2s ease;
  font-size: 14px;
  font-weight: 500;
}

.mj-shop-sidebar .widget li:last-child {
  margin-bottom: 0;
}

/* --- Sidebar WooCommerce Product Widget --- */
.widget_products ul {
  padding: 0;
  margin: 0;
}

.widget_products ul li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid #F3F4F6;
  background: transparent;
  flex-wrap: nowrap;
}

.widget_products ul li:last-child {
  border-bottom: none;
}

/* --- Advanced Sidebar Tabs UI --- */
.mj-shop-sidebar .widget .tabs-navigation,
.mj-shop-sidebar .widget .jet-tabs-control-wrapper {
  display: flex;
  flex-wrap: nowrap;
  border: 1px solid #E5E7EB;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 15px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  width: 100%;
  box-sizing: border-box;
}

.mj-shop-sidebar .widget .tabs-item,
.mj-shop-sidebar .widget .jet-tabs-control {
  flex: 1;
  text-align: center;
  padding: 10px 2px;
  font-size: 11px;
  font-weight: 700;
  color: #4B5563;
  background: #F9FAFB;
  border-right: 1px solid #E5E7EB;
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: capitalize;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.mj-shop-sidebar .widget .tabs-item:last-child,
.mj-shop-sidebar .widget .jet-tabs-control:last-child {
  border-right: none;
}

.mj-shop-sidebar .widget .tabs-item.active,
.mj-shop-sidebar .widget .jet-tabs-control.active,
.mj-shop-sidebar .widget .active-tab {
  background: #FFFFFF;
  color: #212121;
  border-bottom: 2px solid var(--mj-price-red);
}

.widget_products ul li img {
  width: 45px;
  height: 45px;
  border-radius: 4px;
  object-fit: cover;
  border: 1px solid #E5E7EB;
  flex-shrink: 0;
  float: none;
  margin: 0;
  display: block;
}

.widget_products ul li a {
  flex: 0 0 auto;
  display: block;
  text-decoration: none;
  color: #212121;
  font-weight: 500;
  transition: color 0.2s ease;
  max-width: 70px;
  overflow: hidden;
}

.widget_products ul li a .woocommerce-loop-product__title {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
  font-size: 11px;
  line-height: 1.4;
  max-width: 70px;
}

.widget_products ul li a:hover {
  color: var(--mj-price-red);
}

.widget_products ul li .price {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 0 auto;
  flex-shrink: 0;
  text-align: right;
  white-space: nowrap;
}

.widget_products ul li .amount {
  color: #212121;
  font-weight: 700;
  font-size: 11px;
  line-height: 1;
  display: inline-block;
}

.widget_products ul li del {
  display: none;
}

.widget_products ul li ins {
  text-decoration: none;
  margin: 0;
  display: inline-block;
}

.widget_products ul li ins .amount {
  color: var(--mj-price-red);
  font-size: 11px;
  font-weight: 700;
}

.mj-shop-sidebar .widget li:hover {
  background: rgba(0, 0, 0, 0.02);
}

.mj-shop-sidebar .widget li:hover a {
  color: var(--secondary-color);
  transform: translateX(2px);
}

/* --- WordPress Blog Default Sidebar --- */
body.blog .col-4 .sidebar, body.single-post .col-4 .sidebar, body.archive:not(.woocommerce) .col-4 .sidebar {
  background: #FFF;
  border-radius: 8px;
  padding: 20px;
  border: 1px solid #E5E7EB;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

body.blog .col-4 .widget, body.single-post .col-4 .widget, body.archive:not(.woocommerce) .col-4 .widget {
  margin-bottom: 30px;
}

body.blog .col-4 .widget-title, body.single-post .col-4 .widget-title, body.archive:not(.woocommerce) .col-4 .widget-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #F3F4F6;
  position: relative;
}

.mj-shop-sidebar .widget a {
  color: #4B5563;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* --- Variation Swatches --- */
.mj-color-swatch-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.mj-color-circle {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.1);
  box-shadow: inset 0 0 3px rgba(0,0,0,0.1);
}

.mj-color-black { background-color: #000000; }
.mj-color-white { background-color: #FFFFFF; border: 1px solid #E5E7EB; }
.mj-color-blue { background-color: #3B82F6; }
.mj-color-red { background-color: #EF4444; }
.mj-color-green { background-color: #10B981; }
.mj-color-gold { background-color: #FFD700; }
.mj-color-silver { background-color: #C0C0C0; }

/* --- Active Filter Badges --- */
.widget_layered_nav ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 8px;
  padding: 0;
  margin: 0;
}

.widget_layered_nav ul li {
  padding: 0;
  border-radius: 12px;
  border: 1px solid #f1f5f9;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  background: #f8fafc;
  cursor: pointer;
}

.widget_layered_nav ul li:hover {
  background: #ffffff;
  border-color: #FA3434;
  box-shadow: 0 4px 12px rgba(250,52,52,0.08);
}

.widget_layered_nav ul li a {
  padding: 10px 12px;
  font-size: 14px;
  color: #334155;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  width: 100%;
  height: 100%;
}

.widget_layered_nav ul li:hover a {
  color: #FA3434;
}

.widget_layered_nav ul li.chosen {
  background: #FFF5F5;
  border-color: #FA3434;
  box-shadow: 0 0 0 1px #FA3434;
}

.widget_layered_nav ul li.chosen a {
  color: #FA3434;
  font-weight: 700;
}

.mj-shop-sidebar .widget .count {
  font-size: 10px;
  background: #F3F4F6;
  color: #6B7280;
  padding: 2px 6px;
  border-radius: 6px;
  margin-left: auto;
  flex-shrink: 0;
  font-weight: 600;
}

.mj-shop-sidebar .widget li.current-cat a,
.mj-shop-sidebar .widget li.chosen a,
.mj-shop-sidebar .widget li.active a {
  color: #FA3434;
  font-weight: 700;
}


.mj-full-width-main {
  width: 100%;
}

body {
  background-color: #F7F8FA;
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Desktop styling - keep original */
ul.products.mj-mega-grid,
.mj-mega-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)) !important;
  gap: 16px !important;
  padding: 16px 10px !important;
  margin: 0 !important;
  width: 100% !important;
}
ul.products.mj-mega-grid::before,
ul.products.mj-mega-grid::after {
  display: none !important;
}
ul.products.mj-mega-grid li.product {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  list-style: none !important;
}

.mj-premium-card {
  background: #FFFFFF;
  border-radius: 20px;
  border: none;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  min-height: 0;
  min-width: 0;
  width: 100%;
  height: 100%;
  contain: layout style paint;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.mj-premium-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.08);
  z-index: 2;
}

/* --- Product Image Wrapping --- */
.mj-visual-box {
  position: relative;
  width: 100%;
  padding-top: 100%;
  background-color: #F2F2F2;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
}

.mj-visual-box img,
ul.products li.product .mj-visual-box img {
  position: absolute !important;
  top: 0 !important; 
  left: 0 !important;
  width: 100% !important; 
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  max-width: 100% !important;
  image-rendering: crisp-edges;
  image-rendering: -webkit-optimize-contrast;
  margin: 0 !important;
}

/* Enhanced Image Hover Transitions (Smooth Zoom + Crossfade) */
.mj-visual-box img.mj-primary-img {
  transform: scale(1) !important;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.mj-premium-card:hover .mj-visual-box img.mj-primary-img {
  transform: scale(1.08) !important;
}

.mj-visual-box img.mj-secondary-img {
  opacity: 0 !important;
  z-index: 2;
  transform: scale(1.03) !important;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.mj-premium-card:hover .mj-visual-box img.mj-secondary-img {
  opacity: 1 !important;
  transform: scale(1.08) !important;
}

/* --- Product Details Container --- */
.mj-card-details {
  padding: 8px 8px 10px;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.mj-price-cart-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0px;
  flex-shrink: 0;
  width: 100%;

}

.mj-price-wrap {
  display: flex;
  align-items: center;
  color: var(--mj-price-red);
  gap: 2px;
  flex: 1 1 auto;
  min-width: 0;
}

.mj-flash-icon {
  font-size: 14px;
}

.mj-price-val {
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.mj-cart-btn {
  background-color: #111827;
  color: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-width: 36px;
  min-height: 36px;
  transition: all 0.3s ease;
}

.mj-cart-btn:hover {
  background-color: var(--mj-price-red);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(250, 52, 52, 0.25);
}

.mj-cart-btn.added,
.btn-add-cart.added {
  background-color: #28a745;
  color: #fff;
  border-radius: 50%;
}

.mj-cart-btn svg {
  width: 14px;
  height: 14px;
  stroke: white;
  stroke-width: 2.5;
  flex-shrink: 0;
  display: block;
}

/* --- Progress Bars --- */
.mj-stock-status {
  font-size: 11px;
  color: var(--mj-text-grey);
  margin-bottom: 4px;
}

.mj-progress-container {
  width: 100%;
  height: 3px;
  background-color: var(--mj-progress-bg);
  border-radius: 2px;
  margin-bottom: 8px;
}

.mj-progress-fill {
  height: 100%;
  background: var(--mj-price-red);
  width: 45%;
}

.mj-product-name,
ul.products li.product .mj-product-name {
  font-size: 13px !important;
  color: var(--mj-text-black) !important;
  line-height: 1.2 !important;
  font-weight: 600 !important;
  margin-bottom: 4px !important;
  height: 32px !important;
  min-height: 32px !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  box-orient: vertical !important;
  overflow: hidden !important;
  flex-shrink: 0 !important;
}

.mj-rating-badge {
  background-color: #000000;
  padding: 2px 4px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: #ffffff;
  width: fit-content;
  flex-shrink: 0;
}

.mj-star {
  color: var(--mj-star-orange);
  font-size: 11px;
}

.mj-ad-badge {
  position: absolute;
  top: 6px; left: 6px;
  background: rgba(0,0,0,0.3);
  color: #fff;
  padding: 1px 5px;
  border-radius: 3px;
  font-size: 9px;
  z-index: 4;
}

@media (max-width: 600px) {
  ul.products.mj-mega-grid,
  .mj-mega-grid { 
    grid-template-columns: repeat(2, 1fr) !important; 
    gap: 12px !important; 
    padding: 10px !important; 
  }
  
  ul.products.joom-similar-products .mj-mega-grid,
  .joom-similar-products .mj-mega-grid,
  .joom-top-picks-section .mj-mega-grid {
    padding-left: 8px !important;
    padding-right: 8px !important;
    gap: 12px !important;
    margin: 0 !important;
  }

  .mj-rating-badge {
    padding: 3px 6px;
    font-size: 11px;
  }
  
  .mj-premium-card {
    will-change: transform;
    backface-visibility: hidden;
  }
}

/* --- Infinite Scroll Elements --- */
.mj-load-more-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 14px 12px 24px;
}

.mj-load-more-btn {
  min-width: 180px;
  height: 48px;
  border: none;
  border-radius: 100px;
  background: #0f172a;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.15);
}

.mj-load-more-btn:hover {
  background: #1e293b;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.25);
}

.mj-load-more-btn:disabled,
.mj-load-more-btn.is-loading {
  opacity: 0.8;
  cursor: wait;
}

.tax-product_cat .mj-mega-grid,
.post-type-archive-product .mj-mega-grid {
  max-width: 1300px;
  margin: 0 auto;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

@media (max-width: 767px) {
  .tax-product_cat .mj-mega-grid,
  .post-type-archive-product .mj-mega-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}

/* --- Catalog Filter Bar Horizontal --- */
.mj-filters-bar-wrapper {
  background: transparent;
  border-bottom: none;
  padding: 0 10px 16px 10px;
  margin: 0;
  box-shadow: none;
  min-height: auto;
  display: flex;
  align-items: center;
}

.mj-filters-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
}

.mj-filters-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  flex: 1;
}

.mj-filter-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 13px;
  color: #0f172a;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.mj-filter-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: #f1f5f9;
  border-radius: 50%;
  color: #64748b;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.2s ease;
  cursor: pointer;
}

.mj-filter-remove:hover {
  background: #FA3434;
  color: #FFF;
}

.mj-clear-filters {
  display: inline-block;
  color: #64748b;
  background: #f8fafc;
  padding: 6px 14px;
  border-radius: 100px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.mj-clear-filters:hover {
  color: #0f172a;
  background: #f1f5f9;
}

@media (max-width: 768px) {
  .mj-filters-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .mj-filters-list {
    width: 100%;
  }

  .mj-filter-badge {
    font-size: 12px;
    padding: 5px 10px;
  }
}

.woocommerce-account .site-content,
.woocommerce-account #content,
.woocommerce-account .content-area {
  max-width: 1300px;
  margin: 0 auto;
  padding: 40px 16px;
  width: 100%;
  display: block;
  box-shadow: none;
  background: transparent;
}

/* =================================================
   MY ACCOUNT DASHBOARD COMPONENTS
   ================================================= */
.woocommerce-account {
  background: #f8fafc;
  padding: 0;
}

.woocommerce-account .site-main {
  display: flex;
  flex-direction: row;
  gap: 32px;
  align-items: flex-start;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
}

.woocommerce-account .container {
  max-width: 1300px;
  margin: 0 auto;
  width: 100%;
  padding: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation {
  flex: 0 0 320px;
  width: 320px;
  background: var(--card-bg-color, #ffffff);
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: 24px;
  padding: 32px 24px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
  height: fit-content;
  position: sticky;
  top: 100px;
}

.woocommerce-account .myaccount-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px dashed var(--border-color, #e2e8f0);
  width: 100%;
}

.woocommerce-account .myaccount-profile-avatar {
  width: 100px;
  height: 100px;
  margin: 0 auto 16px;
  border-radius: 50%;
  overflow: hidden;
  background: #ffffff;
  border: 4px solid #ffffff;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

.woocommerce-account .myaccount-profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.woocommerce-account .myaccount-profile-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-color, #0f172a);
  text-align: center;
  width: 100%;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: block;
  width: 100%;
}

.woocommerce-account .woocommerce-MyAccount-navigation li {
  margin: 0;
  padding: 0;
  display: block;
}

.woocommerce-account .woocommerce-MyAccount-navigation a {
  display: block;
  padding: 16px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-color, #64748b);
  text-decoration: none;
  border-radius: 14px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-bottom: none;
  text-align: left;
  margin-bottom: 8px;
}

.woocommerce-account .woocommerce-MyAccount-navigation a:hover {
  background: var(--bg-color, #f8fafc);
  color: var(--primary-color, #0f172a);
  transform: translateX(6px);
}

.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
  background: var(--primary-color, #FA3434);
  color: #ffffff !important;
  font-weight: 700;
  box-shadow: 0 10px 25px -5px rgba(250, 52, 52, 0.3), 0 8px 10px -6px rgba(250, 52, 52, 0.2);
  transform: translateY(-2px);
}

.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a:hover {
  background: var(--primary-color, #FA3434) !important;
  color: #ffffff !important;
  transform: translateY(-2px) translateX(6px);
}

.woocommerce-account .entry-content {
  flex: 1;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

@media (max-width: 768px) {
  .woocommerce-account .site-main {
    flex-direction: column;
    gap: 20px;
  }

  .woocommerce-account .woocommerce-MyAccount-navigation {
    width: 100%;
    flex: none;
    position: relative;
    top: auto;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    margin-bottom: 10px;
  }

  .woocommerce-account .entry-content {
    width: 100%;
    padding: 8px;
  }
}



.woocommerce-account .entry-content h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-color, #111827);
  margin-top: 0;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--border-color, #f3f4f6);
}

.woocommerce-account .entry-content p {
  font-size: 14px;
  color: var(--text-color, #000000);
  line-height: 1.6;
  margin: 16px 0 16px 0;
}

.woocommerce-account .entry-content a {
  color: #FA3434;
  text-decoration: none;
  transition: color 0.2s ease;
}

.woocommerce-account .entry-content a:hover {
  color: #E83E3E;
  text-decoration: underline;
}

.woocommerce-account table.shop_table td {
    border-top: 0;
}

.woocommerce-account table.shop_table_responsive tr:nth-child(2n) td {
    background-color: transparent;
}

/* =================================================
   TABLES UI (ORDERS, WALLET, DOWNLOADS)
   ================================================= */
.woocommerce-account .woocommerce-MyAccount-content .shop_table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 16px;
  background: transparent;
  border: none;
  margin-top: 0;
  margin-bottom: 30px;
}

.woocommerce-account .woocommerce-MyAccount-content .shop_table thead th {
    background: var(--bg-color, #f8fafc);
    border: none;
    padding: 16px 20px;
    font-size: 11px;
    font-weight: 800;
    color: var(--light-text-color, #64748b);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 8px;
    text-align: center;
}

.woocommerce-account .woocommerce-MyAccount-content .shop_table thead th:first-child {
    text-align: left;
}

.woocommerce-account .woocommerce-MyAccount-content .shop_table thead th:last-child {
    text-align: right;
}

.woocommerce-account .woocommerce-MyAccount-content .shop_table tbody tr {
    background: var(--card-bg-color, #ffffff);
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.02), 0 10px 15px -3px rgba(0,0,0,0.04);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.woocommerce-account .woocommerce-MyAccount-content .shop_table tbody tr:hover {
    transform: translateY(-4px) scale(1.005);
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.08), 0 10px 10px -5px rgba(0,0,0,0.04);
    z-index: 2;
    position: relative;
}

.woocommerce-account .woocommerce-MyAccount-content .shop_table tbody td,
.woocommerce-account .woocommerce-MyAccount-content .shop_table tbody th {
    padding: 24px 20px;
    border-top: 1px solid var(--border-color, #f1f5f9);
    border-bottom: 1px solid var(--border-color, #f1f5f9);
    color: var(--text-color, #334155);
    font-size: 14px;
    vertical-align: middle;
    text-align: center;
    background: var(--card-bg-color, #fff);
}

.woocommerce-account .woocommerce-MyAccount-content .shop_table tbody td:first-child,
.woocommerce-account .woocommerce-MyAccount-content .shop_table tbody th:first-child {
    text-align: left;
    border-left: 1px solid var(--border-color, #f1f5f9);
    border-top-left-radius: 16px;
    border-bottom-left-radius: 16px;
    padding-left: 30px;
}

.woocommerce-account .woocommerce-MyAccount-content .shop_table tbody td:last-child,
.woocommerce-account .woocommerce-MyAccount-content .shop_table tbody th:last-child {
    text-align: right;
    border-right: 1px solid var(--border-color, #f1f5f9);
    border-top-right-radius: 16px;
    border-bottom-right-radius: 16px;
    padding-right: 30px;
}

.woocommerce-account .woocommerce-MyAccount-content .shop_table tbody td.download-file a,
.woocommerce-account .woocommerce-MyAccount-content .shop_table tbody .woocommerce-orders-table__cell-order-number a {
    color: var(--text-color, #0f172a);
    font-weight: 800;
    font-size: 16px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.woocommerce-account .woocommerce-MyAccount-content .shop_table tbody td.download-file a:hover,
.woocommerce-account .woocommerce-MyAccount-content .shop_table tbody .woocommerce-orders-table__cell-order-number a:hover {
    color: #FA3434;
}

.woocommerce-account .woocommerce-MyAccount-content .shop_table mark.order-status {
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-transform: capitalize;
    background: #f1f5f9;
    color: #475569;
}

.woocommerce-account .woocommerce-MyAccount-content .shop_table mark.order-status.status-completed {
    background: #dcfce7; color: #166534;
}
.woocommerce-account .woocommerce-MyAccount-content .shop_table mark.order-status.status-processing {
    background: #eff6ff; color: #1e40af;
}
.woocommerce-account .woocommerce-MyAccount-content .shop_table mark.order-status.status-on-hold {
    background: #fffbeb; color: #b45309;
}
.woocommerce-account .woocommerce-MyAccount-content .shop_table mark.order-status.status-cancelled,
.woocommerce-account .woocommerce-MyAccount-content .shop_table mark.order-status.status-failed {
    background: #fef2f2; color: #b91c1c;
}

.woocommerce-account .woocommerce-MyAccount-content .shop_table .button {
    background: #ffffff;
    color: #0f172a;
    padding: 10px 28px;
    border-radius: 100px;
    font-weight: 800;
    font-size: 14px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 80px;
    line-height: 1;
    text-decoration: none;
}

.woocommerce-account .woocommerce-MyAccount-content .shop_table .button:hover {
    background: #0f172a;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.15);
    color: #ffffff;
    border-color: #0f172a;
}

.woocommerce-AccountOrdersTable { display: none; }

.pro-dashboard {
  padding: 0;
  background: transparent;
}

.pro-dashboard__header {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 2px solid #f3f4f6;
}

.pro-dashboard__header h1 {
  font-size: 32px;
  color: var(--text-color, #0f172a);
  margin: 0 0 10px 0;
  letter-spacing: -0.5px;
}

.pro-dashboard__header h1 span {
  color: #FA3434;
}

.pro-dashboard__header p {
  color: var(--light-text-color, #64748b);
  font-size: 16px;
  line-height: 1.6;
  max-width: 600px;
}

.pro-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.pro-stat-card {
  background: var(--card-bg-color, #ffffff);
  border: 1px solid var(--border-color, #f1f5f9);
  border-radius: 24px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.02), 0 10px 15px -3px rgba(0,0,0,0.04);
}

.pro-stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.08), 0 10px 10px -5px rgba(0,0,0,0.04);
  border-color: #e2e8f0;
}

.pro-stat-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  background: var(--bg-color, #f8fafc);
  color: var(--primary-color, #FA3434);
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.04);
}

.pro-stat-content h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: var(--text-color, #0f172a);
}

.pro-stat-content p {
  margin: 2px 0 0 0;
  font-size: 13px;
  color: var(--light-text-color, #64748b);
}

.pro-stat-arrow {
  margin-left: auto;
  position: absolute;
  top: 24px;
  right: 24px;
  color: #94a3b8;
  font-size: 18px;
  transition: all 0.2s ease;
}

.pro-stat-card:hover .pro-stat-arrow {
  color: #0f172a;
  transform: translate(3px, -3px);
}

.pro-dashboard-featured {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: 24px;
  padding: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #ffffff;
  position: relative;
  margin-top: 40px;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.pro-dashboard-featured h3 {
  margin: 0 0 10px 0;
  font-size: 24px;
  font-weight: 800;
  color: #fff;
}

.pro-dashboard-featured p {
  color: #ffffff !important;
  font-size: 15px;
  max-width: 400px;
  margin-bottom: 20px;
}

.featured-btn {
  display: inline-block;
  background: #FA3434;
  color: #ffffff !important;
  padding: 12px 28px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(250,52,52,0.2);
}

.featured-btn:hover {
  color: #ffffff !important;
  background: #e62e2e;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(250,52,52,0.3);
}

.featured-image {
  font-size: 60px;
  opacity: 0.2;
  color: rgba(255,255,255,0.1);
  transform: rotate(-15deg) scale(1.2);
}

/* --- Dashboard Forms & Mobile Alignment --- */
@media (max-width: 768px) {
  .woocommerce-account .woocommerce-MyAccount-content .shop_table {
    border: none;
    background: transparent;
    display: block;
  }

  .woocommerce-account .woocommerce-MyAccount-content .shop_table thead {
    display: none;
  }

  .woocommerce-account .woocommerce-MyAccount-content .shop_table tbody,
  .woocommerce-account .woocommerce-MyAccount-content .shop_table tr {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 0;
  }

  .woocommerce-account .woocommerce-MyAccount-content .shop_table tr {
    margin-bottom: 20px;
    border: 1px solid var(--border-color, #e5e7eb);
    border-radius: 20px;
    padding: 20px;
    background: var(--card-bg-color, #fff);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  }

  .woocommerce-account .woocommerce-MyAccount-content .shop_table tbody td,
  .woocommerce-account .woocommerce-MyAccount-content .shop_table tbody th {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border: none;
    border-bottom: 1px solid var(--border-color, #f1f5f9);
    text-align: right;
    font-size: 14px;
    background: transparent;
    border-radius: 0;
  }

  .woocommerce-account .woocommerce-MyAccount-content .shop_table tbody td.download-file,
  .woocommerce-account .woocommerce-MyAccount-content .shop_table tbody .woocommerce-orders-table__cell-order-number {
    border-bottom: 1px dashed var(--border-color, #e2e8f0);
    padding-top: 0;
    font-size: 16px;
  }

  .woocommerce-account .woocommerce-MyAccount-content .shop_table tbody td:last-child,
  .woocommerce-account .woocommerce-MyAccount-content .shop_table tbody th:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-top: 10px;
  }

  .woocommerce-account .woocommerce-MyAccount-content .shop_table tbody td.download-actions .button,
  .woocommerce-account .woocommerce-MyAccount-content .shop_table tbody .woocommerce-orders-table__cell-order-actions .button {
    width: auto;
    min-width: 120px;
    text-align: center;
    justify-content: center;
    padding: 10px 24px;
    font-size: 15px;
    background: #0f172a;
    color: #ffffff;
  }

  .woocommerce-account .woocommerce-MyAccount-content .shop_table tbody td::before,
  .woocommerce-account .woocommerce-MyAccount-content .shop_table tbody th::before {
    content: attr(data-title) ": ";
    font-weight: 700;
    color: var(--text-color, #64748b);
    text-transform: uppercase;
    font-size: 11px;
    text-align: left;
    flex: 1;
  }

  .woocommerce-account:not(.woocommerce-dashboard) .woocommerce-MyAccount-navigation,
  .woocommerce-account:not(.woocommerce-dashboard) .myaccount-profile {
      display: none;
  }

  .joom-mobile-account-back {
      display: none;
  }
  .woocommerce-account:not(.woocommerce-dashboard) .joom-mobile-account-back {
      display: flex;
      width: fit-content;
      align-items: center;
      gap: 6px;
      margin: 20px auto;
      padding: 8px 16px;
      background: #f3f4f6;
      border-radius: 50px;
      font-size: 13px;
      font-weight: 700;
      color: #111827;
      text-decoration: none;
      transition: background 0.2s ease, color 0.2s ease;
  }
  .woocommerce-account:not(.woocommerce-dashboard) .joom-mobile-account-back:hover {
      background: #e2e8f0;
      color: #FA3434;
  }

  .woocommerce-account:not(.woocommerce-dashboard) .woocommerce-account .entry-content {
      width: 100%;
      padding: 8px;
      margin: 0;
  }


  .pro-stats-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 12px;
  }

  .pro-stat-card {
    align-items: center;
    text-align: center;
    padding: 15px 10px;
    gap: 8px;
    border-radius: 12px;
  }

  .pro-stat-icon {
    width: 44px;
    height: 44px;
    font-size: 20px;
    margin-bottom: 5px;
  }

  .pro-stat-content h3 {
    font-size: 14px;
  }

  .pro-stat-content p {
    font-size: 11px;
    display: none;
  }

  .pro-stat-arrow {
    display: none;
  }

  .pro-dashboard-featured {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 12px;
    padding: 24px;
    border-radius: 20px;
    overflow: hidden;
    margin-top: 24px;
  }

  .pro-dashboard-featured h3 {
    font-size: 20px;
  }
  
  .pro-dashboard-featured p {
    font-size: 14px;
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
  }

  .featured-btn {
    padding: 10px 20px;
    font-size: 14px;
    position: relative;
    z-index: 2;
  }

  .featured-image {
    display: block;
    font-size: 80px;
    opacity: 0.1;
    position: absolute;
    right: -10px;
    bottom: -10px;
    top: auto;
    transform: rotate(-15deg);
    z-index: 1;
  }

  .woocommerce-Addresses {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .woocommerce-Address {
    padding: 15px;
    min-height: auto;
  }

  .woocommerce-Address-title h3 {
    font-size: 14px;
  }

  .woocommerce-Address .edit {
    padding: 6px 10px;
    font-size: 11px;
    width: 100%;
  }

  .woocommerce-account .woocommerce-MyAccount-navigation ul {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    gap: 14px;
    padding: 8px 8px 24px 8px;
    scrollbar-width: none; /* Firefox */
    -webkit-overflow-scrolling: touch;
  }

  .woocommerce-account .woocommerce-MyAccount-navigation ul::-webkit-scrollbar {
    display: none;
  }

  .woocommerce-account .woocommerce-MyAccount-navigation li {
    flex: 0 0 auto;
  }

  .woocommerce-account .woocommerce-MyAccount-navigation a {
    padding: 14px 28px;
    font-size: 14.5px;
    font-weight: 600;
    border-bottom: none;
    background: var(--card-bg-color, #ffffff);
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 100px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    transform: none;
  }

  .woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
    background: var(--primary-color, #FA3434) !important;
    color: var(--btn-text-color, #ffffff) !important;
    border-color: var(--primary-color, #FA3434);
    box-shadow: 0 8px 20px rgba(250, 52, 52, 0.3);
    transform: translateY(-2px);
  }

  .woocommerce-account .myaccount-profile {
    flex-direction: row;
    align-items: center;
    text-align: left;
    padding: 0 0 16px 0;
    gap: 12px;
    border-bottom: 1px dashed var(--border-color, #e2e8f0);
    margin-bottom: 16px;
  }

  .woocommerce-account .myaccount-profile-avatar {
    width: 56px;
    height: 56px;
    min-width: 56px;
    min-height: 56px;
    flex-shrink: 0;
    margin: 0;
    border-width: 2px;
  }

  .woocommerce-account .myaccount-profile-name {
    font-size: 16px;
    text-align: left;
  }

  .pro-dashboard__header {
    margin-bottom: 20px;
    padding-bottom: 16px;
  }

  .pro-dashboard__header h1 {
    font-size: 24px;
  }

  .pro-dashboard__header p {
    font-size: 14px;
  }
}

.woocommerce-account .u-columns.col2-set {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
}

.woocommerce-account .u-columns.col2-set .u-column1,
.woocommerce-account .u-columns.col2-set .u-column2 {
  flex: 1;
  min-width: 300px;
  background: var(--bg-color, #f9fafb);
  padding: 24px;
  border-radius: 12px;
  border: 1px solid var(--border-color, #e5e7eb);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.woocommerce-account .addresses header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border-color, #e5e7eb);
  padding-bottom: 8px;
}

.woocommerce-account .addresses header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-color, #111827);
}

.woocommerce-account .address address {
  font-style: normal;
  line-height: 1.6;
  font-size: 14px;
  color: var(--text-color, #4b5563);
  margin-bottom: 0;
}

/* =================================================
   MY ACCOUNT - VIEW ORDER UI (CLEAN & SIMPLE)
   ================================================= */
.view-order-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0;
    background: transparent;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
    flex-wrap: wrap;
    gap: 16px;
}

.order-header__info .order-number {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 6px 0;
}

.order-header__info .order-date {
    font-size: 14px;
    color: #64748b;
    margin: 0;
}

.order-header__status .order-status {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    text-transform: capitalize;
    background: #f1f5f9;
    color: #475569;
}
.order-status.status-completed { background: #dcfce7; color: #166534; }
.order-status.status-processing { background: #eff6ff; color: #1e40af; }
.order-status.status-on-hold { background: #fffbeb; color: #b45309; }
.order-status.status-cancelled,
.order-status.status-failed { background: #fef2f2; color: #b91c1c; }

.order-section {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.section-title {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 16px;
}

.section-title svg {
    color: #FA3434;
    stroke: #FA3434;
}

.order-items-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.order-item-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f1f5f9;
}
.order-item-card:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.item-image {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    background: #f8fafc;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid #f1f5f9;
}
.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item-details {
    flex: 1;
    min-width: 0;
}
.item-name {
    font-size: 15px;
    font-weight: 600;
    color: #0f172a;
    margin: 0 0 6px 0;
    line-height: 1.4;
}
.item-details dl.variation {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 6px 0;
    font-size: 13px;
    color: #64748b;
}
.item-details dl.variation dt {
    font-weight: 600;
    color: #0f172a;
    margin: 0;
}
.item-details dl.variation dd {
    margin: 0 12px 0 0;
}
.item-details dl.variation p {
    margin: 0;
}

.item-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #64748b;
    margin-top: 6px;
}
.item-qty {
    font-weight: 500;
}
.item-price {
    font-weight: 700;
    color: #0f172a;
}

.item-actions .btn-write-review {
    background: #000000;
    color: #0f172a;
    border: 1px solid #e2e8f0;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: none;
}
.item-actions .btn-write-review:hover {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
}

.order-summary-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.order-totals-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: transparent;
    border: none;
    padding: 0;
}

.total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #475569;
    padding: 0;
    border: none;
}
.total-row.total-amount {
    margin-top: 8px;
    padding-top: 16px;
    border-top: 1px dashed #e2e8f0;
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
}
.total-amount .total-value {
    font-size: 18px;
    color: #FA3434;
}

.order-methods {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.method-box {
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    padding: 16px;
}
.method-title {
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    margin: 0 0 8px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
}
.method-content {
    font-size: 15px;
    font-weight: 500;
    color: #0f172a;
    margin: 0;
}

.order-addresses {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.address-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}
.address-title {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 16px 0;
    display: flex;
    align-items: center;
    border-bottom: none;
    padding-bottom: 0;
}
.address-content {
    font-size: 14px;
    line-height: 1.6;
    color: #475569;
    font-style: normal;
    margin-bottom: 16px;
}
.address-phone, .address-email {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #64748b;
    margin: 8px 0;
    background: transparent;
    padding: 0;
}

@media (max-width: 768px) {
    .order-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .order-summary-wrapper, .order-addresses {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .order-item-card {
        flex-direction: column;
        align-items: flex-start;
        position: relative;
        gap: 12px;
    }
    .item-actions {
        width: 100%;
        margin: 0;
    }
    .item-actions .btn-write-review {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    .view-order-container {
        padding: 0 12px;
    }
}

.woocommerce-Addresses {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 24px;
}

.woocommerce-Address {
    width: 100%;
    background: var(--card-bg-color, #ffffff);
    padding: 32px;
    border-radius: 20px;
    border: 1px solid var(--border-color, #f1f5f9);
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.02), 0 10px 15px -3px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.woocommerce-Address:hover {
    border-color: var(--border-color, #e2e8f0);
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.08), 0 10px 10px -5px rgba(0,0,0,0.04);
    transform: translateY(-4px);
}

.woocommerce-Address-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
    border-bottom: 1px dashed var(--border-color, #e2e8f0);
    padding-bottom: 16px;
}

.woocommerce-Address-title h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    color: var(--text-color, #0f172a);
}

.woocommerce-Address address {
    font-style: normal;
    line-height: 1.6;
    font-size: 14px;
    color: var(--text-color, #4b5563);
    margin-bottom: 0;
    flex-grow: 1;
}

.woocommerce-account .addresses .edit,
.woocommerce-Address .edit,
.woocommerce-account .u-column1 .edit,
.woocommerce-account .u-column2 .edit {
    display: inline-block;
    background: #FA3434;
    color: #fff;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.2s ease;
    text-align: center;
    margin-top: auto;
    align-self: flex-start;
}

.woocommerce-account .addresses .edit:hover,
.woocommerce-Address .edit:hover,
.woocommerce-account .u-column1 .edit:hover,
.woocommerce-account .u-column2 .edit:hover {
    background: #e83e3e;
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(250, 52, 52, 0.2);
}

.woocommerce-account .u-columns.col2-set .u-column1,
.woocommerce-account .u-columns.col2-set .u-column2 {
    position: relative;
    min-height: 180px;
}

.woocommerce-account .u-column1 p,
.woocommerce-account .u-column2 p {
    margin: 0 0 15px 0;
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
}

.woocommerce-account .woocommerce-MyAccount-navigation + .entry-content > div > p,
.woocommerce-account .woocommerce-addresses-header p {
  background: var(--card-bg-color, #ffffff);
  padding: 18px 24px;
  border-radius: 16px;
  font-size: 15px;
  color: var(--text-color, #4b5563);
  border: 1px solid var(--border-color, #f1f5f9);
  box-shadow: 0 4px 16px rgba(0,0,0,0.02);
  margin-bottom: 30px;
  font-weight: 500;
}

.woocommerce-account .woocommerce-EditAccountForm .form-row,
.woocommerce-account .woocommerce-address-fields .form-row {
  margin-bottom: 20px;
}

.woocommerce-account .woocommerce-EditAccountForm label,
.woocommerce-account .woocommerce-address-fields label {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-color, #334155);
  margin-bottom: 6px;
}

.woocommerce-account .woocommerce-EditAccountForm input.input-text,
.woocommerce-account .woocommerce-address-fields input.input-text,
.woocommerce-account .woocommerce-address-fields select {
  width: 100%;
  height: 50px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid var(--border-color, #e2e8f0);
  background: var(--bg-color, #f8fafc);
  font-size: 15px;
  color: var(--text-color, #0f172a);
  transition: all 0.2s ease;
}

.woocommerce-account .woocommerce-EditAccountForm input.input-text:focus,
.woocommerce-account .woocommerce-address-fields input.input-text:focus,
.woocommerce-account .woocommerce-address-fields select:focus {
  border-color: #FA3434;
  background: #ffffff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(250, 52, 52, 0.1);
}

.woocommerce-account .woocommerce-EditAccountForm fieldset,
.woocommerce-account .woocommerce-address-fields fieldset {
  border: 1px solid var(--border-color, #e2e8f0);
  padding: 24px;
  border-radius: 16px;
  margin: 24px 0;
  background: var(--bg-color, #f8fafc);
}

.woocommerce-account .woocommerce-EditAccountForm fieldset legend,
.woocommerce-account .woocommerce-address-fields fieldset legend {
  font-weight: 800;
  font-size: 18px;
  color: var(--text-color, #0f172a);
  padding: 0 10px;
}

.woocommerce-account .woocommerce-EditAccountForm .button.button,
.woocommerce-account .woocommerce-address-fields .button.button {
  background: #FA3434;
  color: #ffffff;
  padding: 14px 32px;
  height: 50px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 800;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(250,52,52,0.2);
}

.woocommerce-account .woocommerce-EditAccountForm .button.button:hover,
.woocommerce-account .woocommerce-address-fields .button.button:hover {
  background: #e62e2e;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(250,52,52,0.3);
}

.woocommerce-account .woocommerce-MyAccount-content > form,
.woocommerce-account .woocommerce-MyAccount-content > .woocommerce-notices-wrapper + form,
.woocommerce-account .woocommerce-MyAccount-content > .woocommerce-ResetPassword,
.woocommerce-account .woocommerce-MyAccount-content > .woo-wallet-my-wallet-container {
    background: var(--card-bg-color, #ffffff);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border-color, #f1f5f9);
    margin-top: 10px;
    color: var(--text-color, #333333);
}

.woocommerce-account .woocommerce-MyAccount-content > .woocommerce-message,
.woocommerce-account .woocommerce-MyAccount-content > .woocommerce-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    background: var(--card-bg-color, #ffffff);
    border-radius: 16px;
    padding: 20px 24px;
    border: 1px solid var(--border-color, #f1f5f9);
    border-left: 4px solid #FA3434;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    color: var(--text-color, #0f172a);
    font-weight: 500;
    margin-bottom: 24px;
}

.woocommerce-account .woocommerce-MyAccount-content > .woocommerce-message .button.button,
.woocommerce-account .woocommerce-MyAccount-content > .woocommerce-info .button.button {
    background: #0f172a;
    color: #fff;
    border-radius: 10px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
    transition: all 0.2s ease;
}

.woocommerce-account .woocommerce-MyAccount-content > .woocommerce-message .button.button:hover,
.woocommerce-account .woocommerce-MyAccount-content > .woocommerce-info .button.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.25);
    background: #FA3434;
}

/* =================================================
   AUTHENTICATION UI OVERRIDES
   ================================================= */
.joom-auth-page-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50vh;
    padding: 40px 20px;
    width: 100%;
}

.joom-auth-cards-container {
    display: flex;
    gap: 30px;
    align-items: stretch;
    justify-content: center;
    width: 100%;
    max-width: 900px;
}

.joom-auth-card {
    background: var(--card-bg-color, #ffffff);
    width: 100%;
    max-width: 440px;
    border-radius: 20px;
    box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.08), 0 10px 15px -5px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border-color, #f1f5f9);
    padding: 40px;
    flex: 1;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.joom-auth-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.12);
}

.joom-auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.joom-auth-icon {
    width: 64px;
    height: 64px;
    background: #fff5f5;
    color: #FA3434;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.joom-auth-icon svg {
    width: 32px;
    height: 32px;
    stroke: currentColor;
}

.joom-auth-header h1 {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-color, #111827);
    margin: 0 0 12px 0;
    border: none;
    padding: 0;
}

.joom-auth-header p {
    font-size: 14.5px;
    color: var(--text-color, #64748b);
    line-height: 1.6;
    margin: 0;
}

.joom-auth-form .joom-form-group {
    margin-bottom: 24px;
}

.joom-auth-form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color, #334155);
    margin-bottom: 8px;
}

.joom-auth-form input[type="text"],
.joom-auth-form input[type="email"] {
    width: 100%;
    height: 50px;
    padding: 0 16px;
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 12px;
    font-size: 15px;
    background: var(--bg-color, #f8fafc);
    transition: all 0.2s ease;
    color: var(--text-color, #0f172a);
}

.joom-auth-form input[type="text"]:focus,
.joom-auth-form input[type="email"]:focus {
    background: #ffffff;
    border-color: #FA3434;
    box-shadow: 0 0 0 3px rgba(250, 52, 52, 0.1);
    outline: none;
}

.joom-auth-btn {
    width: 100%;
    height: 50px;
    background: #FA3434;
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(250, 52, 52, 0.2);
    margin: 0;
    padding: 0;
}

.joom-auth-btn:hover {
    background: #e62e2e;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(250, 52, 52, 0.3);
}

.joom-auth-btn-dark {
    background: #111827;
    box-shadow: 0 4px 12px rgba(17, 24, 39, 0.2);
}

.joom-auth-btn-dark:hover {
    background: #000000;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.joom-auth-footer {
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color, #f1f5f9);
    text-align: center;
}

.joom-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-color, #64748b);
    font-size: 14.5px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.joom-back-link svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
}

.joom-back-link:hover {
    color: var(--primary-color, #111827);
}

.woocommerce-lost-password .joom-mobile-account-back {
    display: none;
}

@media (max-width: 768px) {
    .joom-auth-page-wrapper {
        padding: 20px 12px;
        min-height: auto;
    }

    .joom-auth-cards-container {
        flex-direction: column;
        gap: 24px;
    }

    .joom-auth-card {
        padding: 30px 20px;
        border-radius: 16px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    }

    .woocommerce-account .woocommerce-MyAccount-content > form,
    .woocommerce-account .woocommerce-MyAccount-content > .woocommerce-notices-wrapper + form,
    .woocommerce-account .woocommerce-MyAccount-content > .woo-wallet-my-wallet-container {
        padding: 24px 20px;
        border-radius: 20px;
    }

    .joom-auth-header h1 {
        font-size: 22px;
    }

    .joom-auth-header p {
        font-size: 14px;
    }
}

/* =================================================
   ACCOUNT PAGINATION (PREVIOUS / NEXT)
   ================================================= */
.woocommerce-account .woocommerce-pagination {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
}

.woocommerce-account .woocommerce-pagination a,
.woocommerce-account .woocommerce-pagination .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    background: var(--card-bg-color, #ffffff);
    color: var(--text-color, #0f172a);
    border: 1px solid var(--border-color, #e2e8f0);
    padding: 12px 28px;
    border-radius: 12px;
    font-size: 14.5px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    text-decoration: none;
}

.woocommerce-account .woocommerce-pagination a:hover,
.woocommerce-account .woocommerce-pagination .button:hover {
    background: #ffffff;
    color: #FA3434;
    border-color: #FA3434;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(250, 52, 52, 0.12);
}

.woocommerce-account .woocommerce-pagination a:hover *,
.woocommerce-account .woocommerce-pagination .button:hover * {
    color: #FA3434;
}

/* =================================================
   SIDEBAR CATEGORIES WIDGET (AMAZON/FLIPKART DRILL-DOWN UI)
   ================================================= */
.widget_product_categories {
    padding: 0 !important;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
}

.widget_product_categories .widget-title {
    padding: 16px 20px;
    margin: 0;
    background: var(--bg-color, #f8fafc);
    border-bottom: 1px solid var(--border-color, #e2e8f0);
    font-size: 16px;
    font-weight: 800;
    color: var(--text-color, #0f172a);
    display: flex;
    align-items: center;
    gap: 10px;
}

.mj-drilldown-header {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    background: var(--bg-color, #f1f5f9);
    border-bottom: 1px solid var(--border-color, #e2e8f0);
    gap: 12px;
    transition: all 0.3s ease;
}

.mj-drilldown-header.mj-hidden {
    display: none;
}

.mj-drilldown-back {
    background: var(--card-bg-color, #ffffff);
    border: 1px solid var(--border-color, #cbd5e1);
    color: var(--text-color, #475569);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 8px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    width: auto;
    margin: 0;
}

.mj-drilldown-back:hover {
    background: var(--primary-color, #0f172a);
    border-color: var(--primary-color, #0f172a);
    color: var(--btn-text-color, #ffffff);
    transform: translateX(-2px);
}

.widget_product_categories .mj-drilldown-title-wrap {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 14.5px;
    font-weight: 700;
    color: var(--text-color, #0f172a);
    text-align: right;
}

.widget_product_categories ul.product-categories,
.widget_product_categories ul.children.mj-active-level {
    padding: 8px 0;
    margin: 0;
    list-style: none;
    display: block;
}

.widget_product_categories li.mj-hidden,
.widget_product_categories a.mj-hidden {
    display: none;
}

.widget_product_categories ul.children {
    display: none;
    margin: 0;
    padding: 0;
}

.widget_product_categories ul.children.mj-active-level {
    display: block;
}

.widget_product_categories li {
    padding: 0;
    margin: 0;
    border: none;
    background: transparent;
}

.widget_product_categories li a {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: var(--text-color, #000);
    font-size: 14.5px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
    border-radius: 0;
    background: transparent;
}

.widget_product_categories li a:hover {
    background: transparent;
    color: var(--primary-color, #000);
    padding-left: 24px;
}

.widget_product_categories li.current-cat > a {
    color: var(--primary-color, #000);
    background: var(--bg-color, #f8fafc);
    font-weight: 800;
    border-left: 3px solid var(--primary-color, #000);
    padding-left: 17px;
}

.widget_product_categories li.current-cat > a:hover {
    padding-left: 21px;
}

.widget_product_categories .count {
    background: var(--bg-color, #f1f5f9);
    color: var(--light-text-color, #64748b);
    font-size: 11.5px;
    padding: 2px 8px;
    border-radius: 20px;
    margin-left: auto;
    margin-right: 8px;
    font-weight: 700;
    transition: all 0.2s ease;
}

.widget_product_categories li a:hover .count {
    box-shadow: none;
}

.widget_product_categories li.current-cat > a .count {
    background: var(--primary-color, #FA3434);
    color: var(--btn-text-color, #ffffff);
}

.mj-drilldown-arrow {
    color: var(--light-text-color, #94a3b8);
    font-size: 13px;
    margin-left: auto;
    transition: transform 0.2s ease, color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--bg-color, #f8fafc);
}

/* Override margin-left auto if .count exists, ensure proper alignment */
.widget_product_categories li a.mj-has-count .mj-drilldown-arrow {
    margin-left: 0;
}

.widget_product_categories li a:hover .mj-drilldown-arrow {
    color: var(--primary-color, #94a3b8);
    background: var(--bg-color, #f8fafc);
    transform: none;
}

/* View all item specific styling */
.mj-view-all-item > a {
    color: var(--text-color, #000);
    font-weight: 800;
    border-bottom: 1px dashed var(--border-color, #e2e8f0);
    margin-bottom: 8px;
    padding-bottom: 16px;
    background: var(--bg-color, #f8fafc);
}

.mj-view-all-item > a:hover {
    color: var(--primary-color, #000);
    background: var(--card-bg-color, #ffffff);
    padding-left: 24px;
}

@keyframes mjSlideInRight {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

/* See More Button styling */
.mj-see-more-wrap {
    padding: 10px 20px 15px 20px !important;
    margin: 0 !important;
    border: none !important;
    background: transparent !important;
}

.mj-cat-see-more-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 12px 16px !important;
    margin: 0 !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    background-color: #000000 !important;
    border: 1px solid #000000 !important;
    border-radius: 12px !important;
    width: 100% !important;
    line-height: 1 !important;
    cursor: pointer !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    gap: 8px !important;
}

.mj-cat-see-more-btn i {
    font-size: 12px !important;
    color: inherit !important;
    margin-left: 0 !important;
    transition: transform 0.3s ease !important;
}

.mj-see-more-wrap.expanded .mj-cat-see-more-btn i {
    transform: rotate(180deg);
}

.mj-cat-see-more-btn:hover {
    border-color: #333333 !important;
    background-color: #333333 !important;
    color: #ffffff !important;
}

@keyframes mjSlideInLeft {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

/* =================================================
   CUSTOM SHOP HEADER UI
   ================================================= */
.mj-custom-shop-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    background: transparent !important;
    padding: 10px 15px 20px;
    margin: 0 auto 20px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    max-width: 1300px;
    width: 100%;
}

.mj-header-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mj-shop-title {
    font-size: 28px !important;
    font-weight: 900 !important;
    color: #111827 !important;
    margin: 0 !important;
    display: block !important;
    visibility: visible !important;
    line-height: 1 !important;
    letter-spacing: -0.5px;
}

.mj-result-count-wrap .woocommerce-result-count {
    margin: 0 !important;
    font-size: 14px;
    color: #8b90a6;
    float: none !important;
    font-weight: 500;
}

.mj-header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mj-view-toggle {
    display: flex;
    background: rgba(0,0,0,0.04);
    padding: 3px;
    border-radius: 10px;
}

.mj-view-btn {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    color: #64748b;
    transition: all 0.2s ease;
    text-decoration: none !important;
}

.mj-view-btn.active {
    background: #ffffff;
    color: #111827;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

 .mj-select-field,
 .woocommerce-ordering select {
    height: 40px !important;
    padding: 0 38px 0 12px !important;
    border-radius: 10px !important;
    border: 1px solid rgba(0,0,0,0.08) !important;
    background-color: #fff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #111827 !important;
    cursor: pointer;
    margin: 0 !important;
    transition: all 0.2s ease;
    appearance: none !important;
    -webkit-appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23111827' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 15px center !important;
    background-size: 12px !important;
}

.mj-select-field:hover,
.woocommerce-ordering select:hover {
    border-color: rgba(0,0,0,0.2) !important;
}

.woocommerce-ordering {
    margin: 0 !important;
    float: none !important;
}

@media (max-width: 768px) {
    .mj-custom-shop-header {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 15px;
        padding: 10px 5px 20px;
    }
    .mj-header-left {
        width: 100%;
        border-bottom: 1px solid rgba(0,0,0,0.04);
        padding-bottom: 10px;
    }
    .mj-shop-title {
        font-size: 22px !important;
    }
    .mj-header-right {
        width: 100%;
        justify-content: space-between;
        gap: 8px;
    }
    .mj-header-dropdown {
        flex: 1;
    }
    .mj-select-field,
    .woocommerce-ordering select {
        width: 100% !important;
        font-size: 12px !important;
    }
}

/* List View Support */
.mj-shop-view-list .mj-mega-grid {
    grid-template-columns: 1fr !important;
}
.mj-shop-view-list .mj-premium-card {
    flex-direction: row !important;
    height: 220px;
}
.mj-shop-view-list .mj-visual-box {
    width: 220px !important;
    padding-top: 0 !important;
    height: 100% !important;
    border-radius: 20px 0 0 20px !important;
}
