.header-nav li:hover > .nav-dropdown {
  visibility: visible !important;
  opacity: 1 !important;
}

.header-nav .nav-dropdown {
  transition-delay: 0.3s;
}

.header-wrapper.stuck .nav-dropdown {
  display: block !important;
  opacity: 1 !important;
}

/* Change Flatsome mobile menu (hamburger) icon to purple */
@media (max-width: 1024px) {
    .off-canvas-toggle svg path,
    .off-canvas-toggle i,
    .off-canvas-toggle .icon-menu {
        stroke: #6A0DAD !important;
        fill: #6A0DAD !important;
        color: #6A0DAD !important;
    }
}
/* Change Flatsome mobile menu (hamburger) icon to purple */
@media (max-width: 1024px) {
    .off-canvas-toggle svg path,
    .off-canvas-toggle i,
    .off-canvas-toggle .icon-menu {
        stroke: #6A0DAD !important;
        fill: #6A0DAD !important;
        color: #6A0DAD !important;
    }
}

.woocommerce .wc-proceed-to-checkout a.checkout-button {
    background-color: #6A0DAD !important;
    border-color: #6A0DAD !important;
    color: #ffffff !important;
}

.woocommerce .wc-proceed-to-checkout a.checkout-button:hover {
    background-color: #5c0ca3 !important;
    border-color: #5c0ca3 !important;
}

/* Cart table headers */
.woocommerce-cart table.cart th {
    color: #6A0DAD !important;
}

/* "Cart totals" heading */
.woocommerce .cart-collaterals h2 {
    color: #6A0DAD !important;
}

/* Apply Coupon button */
.woocommerce button[name="apply_coupon"] {
    background-color: #6A0DAD !important;
    border-color: #6A0DAD !important;
    color: #ffffff !important;
}

.woocommerce button[name="apply_coupon"]:hover {
    background-color: #5c0ca3 !important;
    border-color: #5c0ca3 !important;
}

/* Force all WooCommerce product titles to black */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce-page ul.products li.product .woocommerce-loop-product__title,
.product-small .product-title a,
.product-title a {
    color: #000000 !important;
}
/* Flatsome-styled popup */
#contact-seller-popup {
  position: fixed; inset: 0; display: none; align-items: center; justify-content: center;
  background: rgba(0,0,0,.5); z-index: 9999; padding: 16px;
}
#contact-seller-popup .popup-inner {
  background: #fff; width: 100%; max-width: 520px; border-radius: 12px;
  padding: 24px; box-shadow: 0 20px 60px rgba(0,0,0,.25);
}
#contact-seller-popup h3 { margin-top: 0; }
#contact-seller-popup label { display:block; font-weight:600; margin-top:10px; }
#contact-seller-popup .req { color:#c00; }
#contact-seller-popup input[type="text"],
#contact-seller-popup input[type="email"],
#contact-seller-popup textarea {
  width:100%; padding:10px; border:1px solid #e5e5e5; border-radius:8px; margin-top:6px;
}
#contact-seller-popup textarea { min-height:120px; resize:vertical; }
#contact-seller-popup .cs-consent { font-weight:400; display:flex; gap:8px; align-items:center; margin-top:8px; }
#contact-seller-popup .cs-actions { display:flex; gap:8px; margin-top:14px; }
#cs-feedback { margin-top:10px; }
#cs-feedback.cs-ok { color: #0a7a2f; }
#cs-feedback.cs-err { color: #b00020; }

/* Optional: match Flatsome button look more closely */
.contact-seller-wrap .button.is-outline { border-width:2px; }
.rigwig-points-banner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 14px 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, #fff8d6, #ffeaa7);
  border: 1px solid #ffd25c;
  box-shadow: 0 4px 16px rgba(255, 210, 90, 0.2);
  margin: 10px 0;
}
.rigwig-points-badge {
  background: #000;
  color: #fff;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.rigwig-points-text {
  font-size: 15px;
  font-weight: 600;
  color: #222;
}
.rigwig-points-value {
  font-size: 17px;
  color: #c47a00;
}
.rigwig-points-subtext {
  font-size: 13px;
  color: #555;
  font-style: italic;
}
/* Rigwig Points balance banners */
.rigwig-points-banner{
  display:flex; flex-direction:column; gap:6px;
  padding:14px 16px; margin:10px 0; border-radius:12px;
  background: linear-gradient(135deg,#fff8d6,#ffeaa7);
  border:1px solid #ffd25c; box-shadow:0 4px 16px rgba(255,210,90,.2);
}
.rigwig-points-badge{
  background:#000; color:#fff; padding:4px 10px; border-radius:999px;
  font:700 12px/1 var(--font,inherit); letter-spacing:.04em; text-transform:uppercase;
}
.rigwig-points-text{font-size:15px; font-weight:600; color:#222;}
.rigwig-points-value{font-size:17px; color:#c47a00; font-weight:800; padding:0 4px;}
.rigwig-points-worth strong{color:#0a7a2f;}
.rigwig-points-subtext{font-size:13px; color:#555; font-style:italic;}
@media (max-width:549px){ .rigwig-points-banner{padding:12px;} }
.rigwig-points-account .rigwig-title { margin-bottom:.5rem; }
.rigwig-points-account .rigwig-subtitle { margin:1.25rem 0 .5rem; }
.rigwig-points-account .rigwig-worth { margin:.25rem 0 1rem; font-weight:600; }

/* Tidy MyRewards outputs a bit */
.woorewards-balance, .woorewards-rewards, .woorewards-history { margin-bottom:1rem; }
/* Wrapper card */
.rigwig-points-account {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.rigwig-points-account .rigwig-title { font-size: 1.5rem; font-weight: 700; margin-bottom: .5rem; }
.rigwig-points-account .rigwig-subtitle {
  margin: 1.5rem 0 .5rem; font-size: 1.2rem; font-weight: 600;
  border-bottom: 2px solid #f1c40f; display: inline-block; padding-bottom: 4px;
}
.rigwig-points-account .rigwig-worth { font-weight: 600; margin: .25rem 0 1rem; }

/* Rewards/Coupons grid */
.rigwig-points-account .wr_available_coupons,
.rigwig-points-account .wr_available_rewards {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px,1fr));
  gap: 16px; margin: 1rem 0;
}
.rigwig-points-account .wr_coupon,
.rigwig-points-account .wr_reward {
  border: 1px solid #ffd25c; border-radius: 12px;
  background: linear-gradient(135deg, #fffbea, #fff3c1);
  padding: 12px 16px; text-align: center;
  box-shadow: 0 2px 10px rgba(255,210,90,0.15);
  transition: transform .2s ease, box-shadow .2s ease;
}
.rigwig-points-account .wr_coupon:hover,
.rigwig-points-account .wr_reward:hover {
  transform: translateY(-2px); box-shadow: 0 4px 16px rgba(255,210,90,0.25);
}
.rigwig-points-account .wr_coupon .wr_coupon_name,
.rigwig-points-account .wr_reward .wr_reward_name {
  font-weight: 700; color: #c47a00; margin-bottom: .25rem;
}
.rigwig-points-account .wr_coupon .wr_coupon_points,
.rigwig-points-account .wr_reward .wr_reward_cost {
  font-size: .9rem; font-weight: 500; color: #555; margin-bottom: .5rem;
}
.rigwig-points-account .wr_coupon .button,
.rigwig-points-account .wr_reward .button {
  display: inline-block; margin-top: 4px; background: #000; color: #fff;
  font-weight: 600; border-radius: 6px; padding: 6px 12px; transition: background .2s ease;
}
.rigwig-points-account .wr_coupon .button:hover,
.rigwig-points-account .wr_reward .button:hover { background: #333; }

/* History table styling */
.rigwig-points-account table {
  width: 100%; border-collapse: separate; border-spacing: 0; overflow: hidden;
  border-radius: 12px; box-shadow: 0 6px 18px rgba(0,0,0,.06);
}
.rigwig-points-account thead th {
  background: #111; color: #fff; font-weight: 700; text-transform: uppercase;
  letter-spacing: .03em; font-size: 12px; padding: 12px 14px;
}
.rigwig-points-account tbody tr { background: #fff; }
.rigwig-points-account tbody tr:nth-child(odd) { background: #fdfbf2; }
.rigwig-points-account tbody td {
  padding: 12px 14px; border-bottom: 1px solid #eee5c4; vertical-align: middle; font-size: 14px; color: #222;
}
/* Numbers right-aligned by default on last columns */
.rigwig-points-account tbody td:nth-last-child(-n+2) { text-align: right; }
/* Optional emphasis */
.rigwig-points-account td.rigwig-col-total { font-weight: 700; color: #c47a00; }

/* Mobile: stack rows */
@media (max-width: 640px) {
  .rigwig-points-account table { box-shadow: none; border-radius: 10px; }
  .rigwig-points-account thead { display: none; }
  .rigwig-points-account tbody tr {
    display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px;
    padding: 12px; border: 1px solid #eee5c4; border-radius: 10px; margin-bottom: 10px;
  }
  .rigwig-points-account tbody td { border: 0; padding: 4px 0; text-align: left !important; white-space: normal; }
  .rigwig-points-account tbody td[data-label]::before { content: attr(data-label) ": "; font-weight: 700; color: #444; }
}
.rigwig-key-summary {
  background: linear-gradient(135deg,#fff8d6,#ffeaa7);
  border: 1px solid #ffd25c;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(255,210,90,0.2);
  padding: 18px 20px;
  margin-bottom: 1.5rem;
}
.rigwig-key-summary h3 {
  margin-top: 0;
  font-size: 1.3rem;
  font-weight: 700;
  text-align: center;
}
.rigwig-key-summary ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}
.rigwig-key-summary li {
  font-size: 15px;
  margin: 8px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}
.rigwig-key-summary li strong {
  color: #c47a00;
}
/* Rigwig Points Examples Table Styling */
.rigwig-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  margin: 1rem 0 2rem;
  font-size: 15px;
  background: #fff;
}

/* Table header */
.rigwig-table thead th {
  background: #111;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
  font-size: 12px;
  padding: 12px 16px;
  text-align: center;
}

/* Table rows */
.rigwig-table tbody tr:nth-child(odd) {
  background: #fdfbf2; /* subtle warm zebra stripe */
}
.rigwig-table tbody td {
  padding: 12px 16px;
  border-bottom: 1px solid #eee5c4;
  text-align: center;
  vertical-align: middle;
}

/* Emphasize the points column */
.rigwig-table tbody td:nth-child(2) {
  font-weight: 700;
  color: #c47a00;
  font-size: 1rem;
}

/* Emphasize reward value with green */
.rigwig-table tbody td:last-child {
  font-weight: 700;
  color: #0a7a2f;
}

/* Rounded bottom corners on last row */
.rigwig-table tbody tr:last-child td:first-child {
  border-bottom-left-radius: 12px;
}
.rigwig-table tbody tr:last-child td:last-child {
  border-bottom-right-radius: 12px;
}

/* Mobile responsive */
@media (max-width: 640px) {
  .rigwig-table thead {
    display: none;
  }
  .rigwig-table tbody tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 12px;
    padding: 12px;
    border: 1px solid #eee5c4;
    border-radius: 10px;
    margin-bottom: 10px;
    background: #fff;
  }
  .rigwig-table tbody td {
    border: 0;
    padding: 4px 0;
    text-align: left !important;
  }
  .rigwig-table tbody td::before {
    content: attr(data-label) ": ";
    font-weight: 700;
    color: #444;
  }
}
@media (max-width: 768px) {
  .header-banner {
    font-size: 14px;
    padding: 6px 10px;
  }
  .header-main {
    min-height: 55px;
  }
}
.rw-review-section {
  background:#fff;
  padding:30px 20px;
  text-align:center;
  border-radius:12px;
  box-shadow:0 4px 14px rgba(0,0,0,.05);
  margin:30px auto;
  max-width:1200px;
}
.rw-review-heading {
  font-weight:700;
  font-size:22px;
  margin-bottom:8px;
  color:var(--primary-color, #000);
}
.rw-review-sub {
  font-size:16px;
  margin-bottom:18px;
  color:#444;
}
.rw-featured-reviews {
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:20px;
  margin:10px auto 20px;
}
.rw-featured-reviews blockquote {
  background:#f8f8f8;
  padding:12px 16px;
  border-radius:8px;
  max-width:280px;
  font-size:14px;
  font-style:italic;
  line-height:1.4;
  box-shadow:0 2px 6px rgba(0,0,0,.04);
}
.rw-review-logos {
  display:flex;
  justify-content:center;
  gap:30px;
  flex-wrap:wrap;
}
.rw-review-logos img {
  max-height:28px;
  filter: grayscale(100%) opacity(80%);
  transition:filter 0.2s ease;
}
.rw-review-logos img:hover {
  filter: none;
}
.rw-review-logos img {
  max-height: 28px;
  object-fit: contain;
}
/* Slim promo strip */
.rw-promo-strip{
  display:flex; gap:8px; flex-wrap:wrap; justify-content:center;
  padding:8px 10px; background:#ffffff; border-bottom:1px solid rgba(0,0,0,.06);
}
.rw-pill{
  display:inline-block; padding:6px 10px; border-radius:999px;
  background:var(--primary-color, #111); color:#fff; font-weight:600; font-size:13px;
  text-decoration:none; line-height:1; transition:opacity .2s ease;
}
.rw-pill:hover{ opacity:.9; }

/* 2×2 micro-banners */
.rw-micro-banners{
  display:grid; gap:10px; padding:12px 12px; background:#fff;
  grid-template-columns:repeat(2,1fr);
}
@media (min-width: 768px){ .rw-micro-banners{ grid-template-columns:repeat(4,1fr); } }

.rw-card{
  display:flex; flex-direction:column; align-items:center; text-align:center;
  gap:6px; padding:14px 10px; border-radius:12px; text-decoration:none; color:inherit;
  background:#fff; border:1px solid rgba(0,0,0,.06);
  box-shadow:0 4px 14px rgba(0,0,0,.05); transition:transform .15s ease, box-shadow .15s ease;
}
.rw-card:hover{ transform:translateY(-2px); box-shadow:0 8px 20px rgba(0,0,0,.08); }

.rw-ic{ font-size:22px; line-height:1; }
.rw-ttl{ font-weight:700; font-size:15px; }
.rw-sub{ font-size:12px; color:#555; }
.rw-hero-min{
  padding:32px 16px; text-align:center; background:#fff; border-bottom:1px solid rgba(0,0,0,.06);
}
.rw-feature-banners {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, 1fr);
  margin: 20px 0;
}
@media (min-width: 768px){
  .rw-feature-banners {
    grid-template-columns: repeat(4, 1fr);
  }
}

.rw-banner {
  background: linear-gradient(135deg, #f6f4ff 0%, #eae4ff 100%);
  border-radius: 16px;
  padding: 24px 16px;
  box-shadow: 0 6px 20px rgba(0,0,0,.06);
  text-align: left;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: transform .2s ease, box-shadow .2s ease;
}
.rw-banner:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0,0,0,.08);
}
.rw-banner h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--primary-color, #3b1e8a);
}
.rw-banner p {
  font-size: 14px;
  color: #555;
  margin: 0;
}
/* Grid layout stays the same */
.rw-feature-banners {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, 1fr);
  margin: 20px 0;
}
@media (min-width: 768px){
  .rw-feature-banners { grid-template-columns: repeat(4, 1fr); }
}

/* Base style for all banners */
.rw-banner {
  position: relative;
  border-radius: 16px;
  padding: 24px 16px;
  box-shadow: 0 6px 20px rgba(0,0,0,.06);
  text-align: left;
  min-height: 130px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.rw-banner:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0,0,0,.08);
}
.rw-banner h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--primary-color, #3b1e8a);
}
.rw-banner p {
  font-size: 14px;
  color: #555;
  margin: 0;
}

/* Subtle illustration overlay */
.rw-banner::after {
  content: "";
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 70px;
  height: 70px;
  opacity: 0.08;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* Individual banner gradients + icons */
.rw-banner-deals {
  background: linear-gradient(135deg, #f7f3ff 0%, #ede6ff 100%);
}
.rw-banner-deals::after {
  background-image: url('https://rigwig.com/wp-content/uploads/2025/09/bg-rocket.svg');
}

.rw-banner-points {
  background: linear-gradient(135deg, #f3faff 0%, #e5f2ff 100%);
}
.rw-banner-points::after {
  background-image: url('https://rigwig.com/wp-content/uploads/2025/09/bg-star.svg');
}

.rw-banner-returns {
  background: linear-gradient(135deg, #fff9f3 0%, #ffeede 100%);
}
.rw-banner-returns::after {
  background-image: url('https://rigwig.com/wp-content/uploads/2025/09/bg-refresh.svg');
}

.rw-banner-delivery {
  background: linear-gradient(135deg, #f6fff8 0%, #eaffef 100%);
}
.rw-banner-delivery::after {
  background-image: url('https://rigwig.com/wp-content/uploads/2025/09/bg-box.svg');
}
.rw-top-strip {
  background: linear-gradient(90deg, #3b1e8a 0%, #6c48d7 100%);
  color: #fff;
  text-align: center;
  padding: 8px 12px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.3px;
  display: block;
  box-shadow: 0 2px 6px rgba(0,0,0,.1);
}
.rw-top-strip {
  background: #6A0DAD; /* Deep purple background */
  color: #fff;
  text-align: center;
  padding: 10px 14px;
  font-weight: 600;
  font-size: 16px; /* Bigger text for visibility */
  letter-spacing: 0.3px;
  display: block;
  box-shadow: 0 2px 6px rgba(0,0,0,.1);
}
.rw-top-strip {
  animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
  from { transform: translateY(-100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.rw-banner {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  border-radius: 16px;
  padding: 24px 16px;
  box-shadow: 0 6px 20px rgba(0,0,0,.06);
  transition: transform .2s ease, box-shadow .2s ease;
}
.rw-banner:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0,0,0,.08);
}
/* Auctions section heading */
.rw-auction-heading {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--primary-color, #6A0DAD);
  letter-spacing: -0.2px;
}

.rw-auction-sub {
  text-align: center;
  font-size: 16px;
  margin-bottom: 20px;
  color: #555;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Improve auction grid appearance */
.uwa_auctions {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

.uwa_auction_box {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.uwa_auction_box:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,.08);
}
/* Countdown Timer Styling */
.uwa_auction_box .uwa_auction_timer,
.uwa_auction_box .uwa_auction_timer span {
  display: inline-block;
  background: #6A0DAD;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;
  padding: 6px 10px;
  border-radius: 6px;
  margin-top: 8px;
  text-align: center;
}

.uwa_auction_box .uwa_auction_timer span {
  margin: 0 2px;
}

.uwa_auction_box .uwa_auction_timer span.uwa_auction_time_label {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.3px;
  color: rgba(255,255,255,0.8);
  margin-top: 2px;
}
/* One-row, 6-up grid for the Recently Viewed block */
.recently-viewed-products ul.products {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-bottom: 0;
}

/* Tighten each product card */
.recently-viewed-products ul.products li.product {
  margin: 0 !important;
}

/* Make images smaller and consistent */
.recently-viewed-products .box-image,
.recently-viewed-products .product-small .box-image {
  max-width: 120px;       /* tweak to taste (100–140px) */
  margin: 0 auto 8px auto;
}

/* Reduce title/text sizes */
.recently-viewed-products .woocommerce-loop-product__title,
.recently-viewed-products .product-title {
  font-size: 12px;
  line-height: 1.3;
  margin-top: 6px;
}

/* Hide badges/tools that make cards look tall */
.recently-viewed-products .badge-container,
.recently-viewed-products .image-tools {
  display: none;
}
/* ===== RigWig Lights – All-in-one ===== */
.rw-lights-allinone .rw-section { padding: 56px 0; }
.rw-lights-allinone .rw-section__title { margin: 0 0 20px; font-size: 28px; line-height: 1.2; }
.rw-lights-allinone .rw-section__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 16px; }
.rw-lights-allinone .rw-link { font-size: 14px; text-decoration: underline; }

/* Hero */
.rw-lights-allinone .rw-hero {
  position: relative; color: #fff; text-align: center; padding: 90px 16px;
  background: #0b0f1a; /* inline hero_bg overrides this */
}
.rw-lights-allinone .rw-hero__inner { max-width: 900px; margin: 0 auto; }
.rw-lights-allinone .rw-hero h1 { margin: 0 0 10px; font-size: 40px; }
.rw-lights-allinone .rw-hero__sub { margin: 0 0 18px; font-size: 16px; opacity: 0.95; }
.rw-lights-allinone .rw-hero__cta { font-size: 16px; padding: 12px 22px; }

/* Grid base */
.rw-lights-allinone .rw-grid { display: grid; gap: 18px; }
.rw-lights-allinone .rw-grid--3 { grid-template-columns: repeat(3, 1fr); }

/* Tiles (image cards that scroll) */
.rw-lights-allinone .rw-card {
  background: #fff; border: 1px solid rgba(0,0,0,.06); border-radius: 14px;
  text-align: center; padding: 16px; transition: transform .2s ease, box-shadow .2s ease;
}
.rw-lights-allinone .rw-card:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,.06); }
.rw-lights-allinone .rw-card__img { aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; overflow: hidden; border-radius: 10px; background: #f6f7f9; }
.rw-lights-allinone .rw-card__img img { width: 100%; height: 100%; object-fit: cover; }
.rw-lights-allinone .rw-card__placeholder { width: 60%; height: 60%; background: #e9edf3; border-radius: 10px; }
.rw-lights-allinone .rw-card__title { margin-top: 12px; font-weight: 600; }

/* Sticky pills nav */
.rw-lights-allinone .rw-subnav {
  position: sticky; top: 70px; z-index: 5;
  display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 0; background: #fff;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.rw-lights-allinone .rw-subnav__link {
  display: inline-block; padding: 8px 12px; border: 1px solid rgba(0,0,0,.12);
  border-radius: 999px; font-size: 14px; text-decoration: none; color: inherit;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.rw-lights-allinone .rw-subnav__link:hover { background: #f6f7f9; transform: translateY(-1px); }

/* Subcategory product rows – 6 across desktop, 3 on mobile */
.rw-lights-allinone .rw-subcat-section ul.products {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 14px; margin-bottom: 0;
}
.rw-lights-allinone .rw-subcat-section ul.products li.product { margin: 0 !important; }
/* Compact cards */
.rw-lights-allinone .rw-subcat-section .box-image,
.rw-lights-allinone .rw-subcat-section .product-small .box-image {
  max-width: 140px; margin: 0 auto 8px;
}
.rw-lights-allinone .rw-subcat-section .woocommerce-loop-product__title,
.rw-lights-allinone .rw-subcat-section .product-title {
  font-size: 13px; line-height: 1.3; margin-top: 6px;
}
.rw-lights-allinone .rw-subcat-section .price { font-size: 13px; }
.rw-lights-allinone .rw-subcat-section .badge-container,
.rw-lights-allinone .rw-subcat-section .image-tools { display: none; }

/* USPs */
.rw-lights-allinone .rw-usps { background: #f7f8fa; }
.rw-lights-allinone .rw-usps__grid { align-items: center; }
.rw-lights-allinone .rw-usp { display: flex; gap: 10px; align-items: center; justify-content: center; text-align: left; }
.rw-lights-allinone .rw-usp__icon { font-size: 20px; }
.rw-lights-allinone .rw-usp__text { font-size: 14px; line-height: 1.35; }

/* Recently viewed: keep single row if space allows */
.rw-lights-allinone .rw-recent ul.products { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-bottom: 0; }
.rw-lights-allinone .rw-recent ul.products li.product { margin: 0 !important; }

/* Final CTA */
.rw-lights-allinone .rw-final-cta { text-align: center; background: #0b0f1a; color: #fff; border-radius: 16px; margin: 0 16px; padding: 40px 16px; }
.rw-lights-allinone .rw-final-cta__title { margin: 0 0 8px; font-size: 28px; }
.rw-lights-allinone .rw-final-cta__sub { margin: 0 0 16px; opacity: .95; }

/* Responsive */
@media (max-width: 991px){
  .rw-lights-allinone .rw-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .rw-lights-allinone .rw-subcat-section ul.products { grid-template-columns: repeat(3, 1fr); }
  .rw-lights-allinone .rw-hero h1 { font-size: 32px; }
}
@media (max-width: 560px){
  .rw-lights-allinone .rw-grid--3 { grid-template-columns: 1fr; }
  .rw-lights-allinone .rw-recent ul.products { grid-template-columns: repeat(2, 1fr); }
  .rw-lights-allinone .rw-hero { padding: 70px 14px; }
  .rw-lights-allinone .rw-hero h1 { font-size: 26px; }
}
/* ===== RigWig Lights – All-in-one ===== */
.rw-lights-allinone .rw-section { padding: 56px 0; }
.rw-lights-allinone .rw-section__title { margin: 0 0 20px; font-size: 28px; line-height: 1.2; }
.rw-lights-allinone .rw-section__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 16px; }
.rw-lights-allinone .rw-link { font-size: 14px; text-decoration: underline; }

/* Hero */
.rw-lights-allinone .rw-hero { position: relative; color: #fff; text-align: center; padding: 90px 16px; background: #0b0f1a; }
.rw-lights-allinone .rw-hero__inner { max-width: 900px; margin: 0 auto; }
.rw-lights-allinone .rw-hero h1 { margin: 0 0 10px; font-size: 40px; }
.rw-lights-allinone .rw-hero__sub { margin: 0 0 18px; font-size: 16px; opacity: 0.95; }
.rw-lights-allinone .rw-hero__cta { font-size: 16px; padding: 12px 22px; }

/* Grid base */
.rw-lights-allinone .rw-grid { display: grid; gap: 18px; }
.rw-lights-allinone .rw-grid--3 { grid-template-columns: repeat(3, 1fr); }

/* Tiles */
.rw-lights-allinone .rw-card { background: #fff; border: 1px solid rgba(0,0,0,.06); border-radius: 14px; text-align: center; padding: 16px; transition: transform .2s, box-shadow .2s; }
.rw-lights-allinone .rw-card:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,.06); }
.rw-lights-allinone .rw-card__img { aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; overflow: hidden; border-radius: 10px; background: #f6f7f9; }
.rw-lights-allinone .rw-card__img img { width: 100%; height: 100%; object-fit: cover; }
.rw-lights-allinone .rw-card__placeholder { width: 60%; height: 60%; background: #e9edf3; border-radius: 10px; }
.rw-lights-allinone .rw-card__title { margin-top: 12px; font-weight: 600; }

/* Sticky pills nav */
.rw-lights-allinone .rw-subnav { position: sticky; top: 70px; z-index: 5; display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 0; background: #fff; border-bottom: 1px solid rgba(0,0,0,.06); }
.rw-lights-allinone .rw-subnav__link { display: inline-block; padding: 8px 12px; border: 1px solid rgba(0,0,0,.12); border-radius: 999px; font-size: 14px; text-decoration: none; color: inherit; transition: background .2s, transform .2s, box-shadow .2s; }
.rw-lights-allinone .rw-subnav__link:hover { background: #f6f7f9; transform: translateY(-1px); }

/* Subcategory product rows */
.rw-lights-allinone .rw-subcat-section ul.products { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-bottom: 0; }
.rw-lights-allinone .rw-subcat-section ul.products li.product { margin: 0 !important; }
.rw-lights-allinone .rw-subcat-section .box-image, .rw-lights-allinone .rw-subcat-section .product-small .box-image { max-width: 140px; margin: 0 auto 8px; }
.rw-lights-allinone .rw-subcat-section .woocommerce-loop-product__title, .rw-lights-allinone .rw-subcat-section .product-title { font-size: 13px; line-height: 1.3; margin-top: 6px; }
.rw-lights-allinone .rw-subcat-section .price { font-size: 13px; }
.rw-lights-allinone .rw-subcat-section .badge-container, .rw-lights-allinone .rw-subcat-section .image-tools { display: none; }

/* USPs */
.rw-lights-allinone .rw-usps { background: #f7f8fa; }
.rw-lights-allinone .rw-usps__grid { align-items: center; }
.rw-lights-allinone .rw-usp { display: flex; gap: 10px; align-items: center; justify-content: center; text-align: left; }
.rw-lights-allinone .rw-usp__icon { font-size: 20px; }
.rw-lights-allinone .rw-usp__text { font-size: 14px; line-height: 1.35; }

/* Recently viewed */
.rw-lights-allinone .rw-recent ul.products { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-bottom: 0; }
.rw-lights-allinone .rw-recent ul.products li.product { margin: 0 !important; }

/* Final CTA */
.rw-lights-allinone .rw-final-cta { text-align: center; background: #0b0f1a; color: #fff; border-radius: 16px; margin: 0 16px; padding: 40px 16px; }
.rw-lights-allinone .rw-final-cta__title { margin: 0 0 8px; font-size: 28px; }
.rw-lights-allinone .rw-final-cta__sub { margin: 0 0 16px; opacity: .95; }

/* Responsive */
@media (max-width: 991px){
  .rw-lights-allinone .rw-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .rw-lights-allinone .rw-subcat-section ul.products { grid-template-columns: repeat(3, 1fr); }
  .rw-lights-allinone .rw-hero h1 { font-size: 32px; }
}
@media (max-width: 560px){
  .rw-lights-allinone .rw-grid--3 { grid-template-columns: 1fr; }
  .rw-lights-allinone .rw-recent ul.products { grid-template-columns: repeat(2, 1fr); }
  .rw-lights-allinone .rw-hero { padding: 70px 14px; }
  .rw-lights-allinone .rw-hero h1 { font-size: 26px; }
}
/***********************
 * RIGWIG · Lights (Premium)
 * Scope: only the shortcode layout (.rw-lights-allinone)
 ***********************/
.rw-lights-allinone{
  /* Tunable design tokens (edit these to taste) */
  --rw-max: 1200px;                 /* content width */
  --rw-gap: 18px;                   /* grid gap */
  --rw-radius: 16px;                /* big radius */
  --rw-card-radius: 14px;           /* card radius */
  --rw-border: rgba(10, 14, 27, .08);
  --rw-shadow: 0 10px 30px rgba(15, 23, 42, .06);
  --rw-shadow-hover: 0 14px 40px rgba(15, 23, 42, .10);
  --rw-bg: #ffffff;
  --rw-muted: #f6f7f9;
  --rw-text: #0f172a;               /* slate-900 */
  --rw-subtext: #475569;            /* slate-600 */
  --rw-brand: #0b5cff;              /* tweak to your primary brand color */
  --rw-thumb: 132px;                /* product image width cap in rows */
  color: var(--rw-text);
}

/* Smooth scrolling, but respect reduced motion later */
.rw-lights-allinone{ scroll-behavior: smooth; }

/* Consistent container width across sections */
.rw-lights-allinone .rw-hero__inner,
.rw-lights-allinone .rw-section > *{
  max-width: var(--rw-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

/* Section spacing + tidy headings */
.rw-lights-allinone .rw-section{ padding: 72px 0; }
.rw-lights-allinone .rw-section__title{
  margin: 0 0 18px;
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: .2px;
}

/* Utility rows with a neat baseline */
.rw-lights-allinone .rw-section__head{
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 16px; margin-bottom: 16px;
}
.rw-lights-allinone .rw-link{ font-size: 14px; text-decoration: underline; color: inherit; }

/* Hero – refined with overlay for readability */
.rw-lights-allinone .rw-hero{
  position: relative; text-align: center; color: #fff;
  padding: 110px 0; background: #0b0f1a; overflow: hidden;
}
.rw-lights-allinone .rw-hero::before{
  content:""; position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.45));
  pointer-events:none;
}
.rw-lights-allinone .rw-hero__inner{ position: relative; z-index: 1; }
.rw-lights-allinone .rw-hero h1{
  margin: 0 0 10px; font-size: 44px; line-height: 1.1; letter-spacing: .3px;
}
.rw-lights-allinone .rw-hero__sub{ margin: 0 0 20px; font-size: 16px; opacity: .95; }
.rw-lights-allinone .rw-hero__cta{
  font-size: 16px; padding: 12px 22px; border-radius: 999px;
  box-shadow: 0 8px 20px rgba(11, 92, 255, .25);
}

/* Grid system (tiles, USPs…) */
.rw-lights-allinone .rw-grid{ display: grid; gap: var(--rw-gap); }
.rw-lights-allinone .rw-grid--3{ grid-template-columns: repeat(3, minmax(0,1fr)); }

/* Category tiles (image cards) */
.rw-lights-allinone .rw-card{
  background: var(--rw-bg);
  border: 1px solid var(--rw-border);
  border-radius: var(--rw-card-radius);
  text-align: center;
  padding: 16px;
  transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
  will-change: transform;
}
.rw-lights-allinone .rw-card:hover{
  box-shadow: var(--rw-shadow-hover);
  transform: translateY(-2px);
  border-color: rgba(11, 92, 255, .18);
}
.rw-lights-allinone .rw-card__img{
  aspect-ratio: 1/1; display:flex; align-items:center; justify-content:center;
  overflow:hidden; border-radius: 12px; background: var(--rw-muted);
}
.rw-lights-allinone .rw-card__img img{ width:100%; height:100%; object-fit:cover; }
.rw-lights-allinone .rw-card__placeholder{
  width:60%; height:60%; background:#e9edf3; border-radius:10px;
}
.rw-lights-allinone .rw-card__title{ margin-top:12px; font-weight:600; letter-spacing:.2px; }

/* Subcategory product rows: 6 across desktop, 3 on mobile */
.rw-lights-allinone .rw-subcat-section ul.products{
  display:grid; grid-template-columns: repeat(6, minmax(0,1fr));
  gap: var(--rw-gap); margin: 0;
}
.rw-lights-allinone .rw-subcat-section ul.products li.product{ margin:0 !important; }

/* Compact, consistent product cards (Flatsome/Woo templates) */
.rw-lights-allinone .rw-subcat-section .product-small .box-image,
.rw-lights-allinone .rw-subcat-section .box-image{
  max-width: var(--rw-thumb);
  margin: 0 auto 10px;
}
.rw-lights-allinone .rw-subcat-section .product-small .box-text{
  display:flex; flex-direction:column; gap:6px; align-items:center; text-align:center;
}

/* Title clamp for perfect alignment (2 lines max) */
.rw-lights-allinone .woocommerce-loop-product__title,
.rw-lights-allinone .product-title{
  font-size: 13px; line-height: 1.35; margin: 4px 0 0;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
}

/* Prices/buttons neat & small */
.rw-lights-allinone .price{ font-size: 13px; }
.rw-lights-allinone .button, .rw-lights-allinone .add_to_cart_button{
  border-radius: 10px;
}

/* Hide busy visual noise on row cards */
.rw-lights-allinone .badge-container,
.rw-lights-allinone .image-tools{ display:none !important; }

/* USPs strip – calm, trustworthy */
.rw-lights-allinone .rw-usps{ background:#f7f8fa; }
.rw-lights-allinone .rw-usps__grid{ align-items:center; }
.rw-lights-allinone .rw-usp{
  display:flex; gap:12px; align-items:center; justify-content:center; text-align:left;
  background: var(--rw-bg); border:1px solid var(--rw-border); border-radius: 12px; padding: 12px 14px;
  box-shadow: var(--rw-shadow);
}
.rw-lights-allinone .rw-usp__icon{ font-size: 20px; }
.rw-lights-allinone .rw-usp__text{ font-size:14px; line-height:1.35; color: var(--rw-subtext); }
.rw-lights-allinone .rw-usp__text strong{ color: var(--rw-text); }

/* Recently viewed – match product rows */
.rw-lights-allinone .rw-recent ul.products{
  display:grid; grid-template-columns: repeat(6, minmax(0,1fr));
  gap: var(--rw-gap); margin:0;
}
.rw-lights-allinone .rw-recent ul.products li.product{ margin:0 !important; }

/* Final CTA – premium card */
.rw-lights-allinone .rw-final-cta{
  background:linear-gradient(135deg, #0b0f1a, #151e30);
  color:#fff; border-radius: var(--rw-radius); margin: 0 16px; padding: 46px 16px;
  box-shadow: var(--rw-shadow);
}
.rw-lights-allinone .rw-final-cta__title{ margin:0 0 8px; font-size:28px; letter-spacing:.2px; }
.rw-lights-allinone .rw-final-cta__sub{ margin:0 0 16px; opacity:.95; }

/* Accessibility: focus rings */
.rw-lights-allinone a:focus-visible,
.rw-lights-allinone .button:focus-visible{
  outline: 2px solid var(--rw-brand);
  outline-offset: 2px;
  border-radius: 10px;
}

/* Reduce motion for sensitive users */
@media (prefers-reduced-motion: reduce){
  .rw-lights-allinone, .rw-lights-allinone *{
    transition: none !important;
    scroll-behavior: auto;
  }
}

/* Responsive polish */
@media (max-width: 1100px){
  .rw-lights-allinone .rw-hero h1{ font-size: 38px; }
  .rw-lights-allinone { --rw-thumb: 124px; }
}
@media (max-width: 991px){
  .rw-lights-allinone .rw-grid--3{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  .rw-lights-allinone .rw-subcat-section ul.products{ grid-template-columns: repeat(3, minmax(0,1fr)); }
  .rw-lights-allinone { --rw-thumb: 116px; }
  .rw-lights-allinone .rw-section{ padding: 56px 0; }
}
@media (max-width: 560px){
  .rw-lights-allinone .rw-grid--3{ grid-template-columns: 1fr; }
  .rw-lights-allinone .rw-recent ul.products{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  .rw-lights-allinone .rw-hero{ padding: 80px 0; }
  .rw-lights-allinone .rw-hero h1{ font-size: 28px; }
  .rw-lights-allinone { --rw-thumb: 110px; }
}
/* land exactly under sticky header when clicking tiles */
.rw-lights-allinone .rw-subcat-section { scroll-margin-top: 90px; } /* tweak 70–110px if needed */
/* brand polish */
.rw-lights-allinone{
  --rw-brand: #0b5cff;        /* change to your brand blue/gold/etc. */
}
.rw-lights-allinone .button.primary,
.rw-lights-allinone a.button.primary{
  background: var(--rw-brand);
}
.rw-lights-allinone .rw-card:hover{ border-color: color-mix(in srgb, var(--rw-brand) 22%, #0000); }
