/* ==========================================================================
   Rugvera Storefront v2.0.1 — Mobile-First Storefront Polish, Wishlist Sidebar,
   Smart Sticky Shop Filter, Centered Cross Icons, Centered Mobile Cart,
   Spottable PDP Sections & Flush Mobile Bottom Bar (Zero PC Footer on Mobile)
   ========================================================================== */

:root {
  --rv2-green: #1c4637;
  --rv2-green-dark: #123025;
  --rv2-green-tint: #eef4f0;
  --rv2-rust: #a35233;
  --rv2-ink: #222620;
  --rv2-muted: #5d625a;
  --rv2-cream: #f7f3eb;
  --rv2-paper: #fffefa;
  --rv2-line: #e4ded4;
}

html,
body.rv-v2-ready {
  background: var(--rv2-paper);
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  margin: 0;
}

/* Universal Mathematically-Centered Close / Remove Cross (`×`) Buttons */
.rv-x-btn,
.rv-v2-drawer-head button,
.rv-sheet-close,
.rv-wish-close,
.rv-wish-item-remove,
body.woocommerce a.remove,
body.woocommerce-page a.remove,
body.woocommerce table.shop_table a.remove,
.wc-block-cart-item__remove-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  margin: 0;
  line-height: 1 !important;
  text-indent: 0 !important;
  text-align: center !important;
  box-sizing: border-box !important;
  vertical-align: middle;
}

.rv-x-btn svg {
  display: block !important;
  margin: auto !important;
  pointer-events: none;
  flex-shrink: 0;
}

body.woocommerce a.remove,
body.woocommerce-page a.remove,
body.woocommerce table.shop_table a.remove {
  width: 30px !important;
  height: 30px !important;
  border-radius: 50% !important;
  border: 1px solid #dfd8cc !important;
  background: #fff !important;
  color: var(--rv2-ink) !important;
  font-size: 18px !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

body.woocommerce a.remove:hover,
body.woocommerce-page a.remove:hover {
  background: var(--rv2-rust) !important;
  border-color: var(--rv2-rust) !important;
  color: #fff !important;
}

/* 1. Single Unified Mobile Bottom Navigation — hide legacy duplicate bars */
body.rv-v2-ready .rf-bottom-nav,
body.rv-v2-ready .rv-floating-nav,
body.rv-v2-ready .rv-bottom-nav {
  display: none !important;
}

/* 2. Suppress unstyled Astra chrome when Unified Rugvera Shell is active */
body.rv-v2-shell-active {
  background: var(--rv2-paper) !important;
  color: var(--rv2-ink);
}

body.rv-v2-shell-active #masthead,
body.rv-v2-shell-active header.site-header,
body.rv-v2-shell-active .ast-mobile-header-wrap,
body.rv-v2-shell-active #colophon,
body.rv-v2-shell-active footer.site-footer,
body.rv-v2-footer-active #colophon,
body.rv-v2-footer-active footer.site-footer {
  display: none !important;
}

body.rv-v2-shell-active #content.site-content > .ast-container {
  display: block !important;
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: clamp(18px, 3vw, 38px) clamp(14px, 3vw, 40px) clamp(24px, 4vw, 60px) !important;
  box-sizing: border-box !important;
}

body.rv-v2-shell-active #primary {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

body.rv-v2-shell-active #secondary {
  display: none !important;
}

body.rv-v2-shell-active .ast-woocommerce-container,
body.rv-v2-shell-active .ast-separate-container .ast-article-single,
body.rv-v2-shell-active .ast-separate-container .ast-article-post {
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
}

/* 3. Unified Editorial Announcement Bar & Sticky Header (NO sizes in header) */
.rv-v2-topline {
  background: var(--rv2-green);
  color: #f3f7f2;
  padding: 7px clamp(14px, 3vw, 40px);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.09em;
  line-height: 1.4;
}

.rv-v2-topline-inner {
  max-width: 1340px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.rv-v2-topline-utils {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  flex: 0 0 auto;
}

.rv-v2-topline-utils a {
  color: rgba(255, 254, 250, 0.9) !important;
  text-decoration: none !important;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.rv-v2-topline-utils a:hover {
  color: #ffffff !important;
  text-decoration: underline !important;
}

.rv-v2-cur-pill {
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 254, 250, 0.14);
  border: 1px solid rgba(255, 254, 250, 0.28);
  color: #fffefa;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

@media (max-width: 980px) {
  .rv-v2-topline-inner {
    justify-content: center;
    text-align: center;
  }
  .rv-v2-topline-utils {
    display: none;
  }
}

.rv-v2-header {
  position: sticky;
  top: 0;
  z-index: 990;
  background: rgba(255, 254, 250, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rv2-line);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

body.admin-bar .rv-v2-header {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar .rv-v2-header {
    top: 0;
  }
}

.rv-v2-header-inner {
  max-width: 1340px;
  margin: 0 auto;
  padding: 12px clamp(14px, 3vw, 40px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 66px;
}

.rv-v2-burger {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--rv2-line);
  border-radius: 10px;
  background: #fff;
  color: var(--rv2-ink);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex: 0 0 42px;
}

.rv-v2-burger svg {
  width: 21px;
  height: 21px;
}

.rv-v2-brand {
  display: inline-flex;
  flex-direction: column;
  text-decoration: none !important;
  color: var(--rv2-green) !important;
  line-height: 1.05;
}

.rv-v2-brand strong {
  font-size: 23px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--rv2-green);
}

.rv-v2-brand small {
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: var(--rv2-muted);
  margin-top: 3px;
}

.rv-v2-desk-nav {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 6px 24px;
}

.rv-v2-desk-nav ul.rv-primary-nav {
  flex-wrap: nowrap;
  gap: 6px 22px;
}

.rv-v2-desk-nav a {
  color: var(--rv2-ink) !important;
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 2px;
  white-space: nowrap;
  transition: color 0.18s ease;
}

.rv-v2-desk-nav a:hover {
  color: var(--rv2-rust) !important;
}

.rv-v2-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rv-v2-icon-btn,
button.rv-v2-icon-btn {
  position: relative;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--rv2-ink) !important;
  text-decoration: none !important;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}

.rv-v2-icon-btn:hover,
button.rv-v2-icon-btn:hover {
  background: var(--rv2-cream);
}

.rv-v2-icon-btn svg {
  width: 21px;
  height: 21px;
}

/* Elementor Earth header wishlist button styling */
button.rf-favorites-link {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  border: 0;
  background: transparent;
  padding: 0;
  color: #213e2f;
  font: inherit;
  font-size: 11px;
  line-height: 1.1;
  cursor: pointer;
}

.rv-v2-badge {
  position: absolute;
  top: 2px;
  right: 1px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--rv2-rust);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
}

.rv-v2-badge[hidden],
.rf-wish-count[hidden],
.rv-v2-bar-count[hidden] {
  display: none !important;
}

@media (max-width: 980px) {
  .rv-v2-burger {
    display: inline-flex;
  }
  .rv-v2-desk-nav {
    display: none;
  }
  .rv-v2-brand {
    margin-right: auto;
  }
  .rv-v2-brand strong {
    font-size: 20px;
    letter-spacing: 0.12em;
  }
  .rv-v2-topline {
    font-size: 9.5px;
    letter-spacing: 0.06em;
    padding: 7px 10px;
  }
}

/* 4. Slide-Out Left Mobile Navigation Drawer */
.rv-v2-drawer-backdrop,
.rv-wish-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10010;
  background: rgba(20, 25, 21, 0.48);
  backdrop-filter: blur(2px);
}

.rv-v2-drawer-backdrop[hidden],
.rv-v2-drawer[hidden],
.rv-wish-backdrop[hidden],
.rv-wish-drawer[hidden] {
  display: none !important;
}

.rv-v2-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 10015;
  width: min(88vw, 350px);
  background: var(--rv2-paper);
  padding: 18px 18px 32px;
  overflow-y: auto;
  box-shadow: 12px 0 36px rgba(0, 0, 0, 0.18);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.rv-v2-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rv2-line);
}

.rv-v2-drawer-head strong {
  font-size: 19px;
  letter-spacing: 0.14em;
  color: var(--rv2-green);
}

.rv-v2-drawer-head button {
  width: 36px;
  height: 36px;
  border: 1px solid var(--rv2-line);
  border-radius: 50%;
  background: #fff;
  color: var(--rv2-ink);
  cursor: pointer;
}

.rv-v2-drawer-search {
  display: flex;
  border: 1px solid #d5cec2;
  border-radius: 999px;
  background: #fff;
  overflow: hidden;
}

.rv-v2-drawer-search input[type="search"] {
  flex: 1;
  min-width: 0;
  border: 0 !important;
  background: transparent !important;
  padding: 10px 14px !important;
  font-size: 16px !important;
  color: var(--rv2-ink) !important;
  outline: none !important;
}

.rv-v2-drawer-search button {
  border: 0;
  background: var(--rv2-green);
  color: #fff;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.rv-v2-drawer-title {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--rv2-muted);
  margin-bottom: 9px;
}

.rv-v2-drawer-chips {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.rv-v2-drawer-chips a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 6px 10px;
  border: 1px solid #d7cfc3;
  border-radius: 8px;
  background: var(--rv2-cream);
  color: var(--rv2-ink) !important;
  text-decoration: none !important;
  font-size: 12.5px;
  font-weight: 600;
  text-align: center;
}

.rv-v2-drawer-links {
  display: flex;
  flex-direction: column;
}

.rv-v2-drawer-links a,
.rv-v2-drawer-links .rv-drawer-wish-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 2px;
  border: 0;
  border-bottom: 1px solid #ece7dd;
  background: transparent;
  color: var(--rv2-ink) !important;
  text-decoration: none !important;
  font: inherit;
  font-size: 14.5px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.rv-drawer-wish-link b {
  background: var(--rv2-rust);
  color: #fff;
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 999px;
}

/* 4B. Slide-Over Right-Side Wishlist Sidebar Drawer */
.rv-wish-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 10025;
  width: min(92vw, 400px);
  background: var(--rv2-paper);
  box-shadow: -14px 0 42px rgba(18, 26, 20, 0.2);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  display: flex;
  flex-direction: column;
}

.rv-wish-drawer-head {
  padding: 18px 20px;
  border-bottom: 1px solid var(--rv2-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #fbf9f4;
}

.rv-wish-drawer-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rv-wish-drawer-title strong {
  font-family: Georgia, serif;
  font-size: 21px;
  font-weight: 500;
  color: var(--rv2-ink);
}

.rv-wish-pill {
  background: var(--rv2-green);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
}

.rv-wish-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--rv2-line);
  background: #fff;
  color: var(--rv2-ink);
  cursor: pointer;
  transition: background 0.16s ease;
}

.rv-wish-close:hover {
  background: var(--rv2-cream);
}

.rv-wish-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 18px;
}

.rv-wish-loading {
  padding: 36px 16px;
  text-align: center;
  color: var(--rv2-muted);
  font-size: 14px;
}

.rv-wish-empty {
  padding: 44px 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.rv-wish-empty-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--rv2-cream);
  color: var(--rv2-rust);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.rv-wish-empty-icon svg {
  width: 24px;
  height: 24px;
}

.rv-wish-empty strong {
  font-family: Georgia, serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--rv2-ink);
}

.rv-wish-empty p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--rv2-muted);
  max-width: 270px;
}

.rv-wish-shop-btn {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 9px;
  background: var(--rv2-green);
  color: #fff !important;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none !important;
}

.rv-wish-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rv-wish-item {
  position: relative;
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) 30px;
  gap: 12px;
  align-items: start;
  padding: 12px;
  border: 1px solid var(--rv2-line);
  border-radius: 12px;
  background: #fff;
}

.rv-wish-thumb {
  display: block;
  width: 74px;
  height: 90px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--rv2-cream);
}

.rv-wish-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rv-wish-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rv-wish-name {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--rv2-ink) !important;
  text-decoration: none !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rv-wish-price {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--rv2-green);
}

.rv-wish-sizes {
  font-size: 11px;
  color: var(--rv2-muted);
}

.rv-wish-view-btn {
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 7px;
  background: var(--rv2-green);
  color: #fff !important;
  font-size: 11.5px;
  font-weight: 600;
  text-decoration: none !important;
}

.rv-wish-item-remove {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--rv2-line);
  background: #fbf9f4;
  color: var(--rv2-muted);
  cursor: pointer;
}

.rv-wish-item-remove:hover {
  background: var(--rv2-rust);
  border-color: var(--rv2-rust);
  color: #fff;
}

.rv-wish-drawer-foot {
  padding: 14px 18px calc(16px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--rv2-line);
  background: #fbf9f4;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rv-wish-foot-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 9px;
  background: var(--rv2-green);
  color: #fff !important;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none !important;
}

.rv-wish-clear-btn {
  border: 0;
  background: transparent;
  color: var(--rv2-muted);
  font-size: 12px;
  font-weight: 600;
  text-decoration: underline;
  padding: 4px;
  cursor: pointer;
}

/* 5. Desktop Editorial Footer (PC ONLY — Completely Hidden on Mobile <= 767px!) */
.rv-v2-footer {
  background: #142b24;
  color: #f4f1e8;
  padding: 52px clamp(16px, 3vw, 40px) 28px;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  margin-top: 40px;
}

.rv-v2-footer-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 36px;
}

.rv-v2-foot-logo {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-bottom: 12px;
  color: #fff;
}

.rv-v2-foot-brand p {
  margin: 0;
  max-width: 330px;
  font-size: 13px;
  line-height: 1.75;
  color: #c7d3c9;
}

.rv-v2-foot-col h4 {
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #e8dfd1;
}

.rv-v2-foot-col a {
  display: block;
  padding: 5px 0;
  color: #cdd8cf !important;
  text-decoration: none !important;
  font-size: 13px;
  line-height: 1.45;
}

.rv-v2-foot-col a:hover {
  color: #fff !important;
  text-decoration: underline !important;
}

.rv-v2-foot-bottom {
  max-width: 1300px;
  margin: 0 auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  color: #b4c3b8;
}

.rv-v2-canvas-directory {
  background: #142b24;
  color: #e9efe9;
  padding: 28px 18px;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

.rv-v2-canvas-directory-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
}

.rv-v2-canvas-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.rv-v2-canvas-links a {
  color: #dce6de !important;
  text-decoration: none !important;
  font-size: 12.5px;
  font-weight: 500;
}

.rv-v2-canvas-policy {
  font-size: 11.5px;
  color: #b4c3b8;
}

/* 6. Single Flush Mobile Bottom App Bar & ZERO PC Footer / ZERO Bottom White Space on Mobile */
.rv-v2-mobile-bar {
  display: none;
}

@media (max-width: 767px) {
  /* Hide Astra/legacy theme footers (keep modernized .rv-v2-footer visible & responsive!) */
  .rv-v2-canvas-directory,
  .rv-footer,
  .rv-footer-top,
  .rv-el-footer,
  .rv-el-footer-bottom,
  body.rv-v2-shell-active #colophon,
  body.rv-v2-shell-active footer.site-footer,
  body.home.rv-v2-shell-active:not(.elementor-editor-active) .elementor-element-dab4473f,
  body.home.rv-v2-shell-active:not(.elementor-editor-active) .elementor-element-5140cb2c,
  body.home.rv-v2-shell-active:not(.elementor-editor-active) .elementor-element-09d4e04f,
  body.home.rv-v2-shell-active:not(.elementor-editor-active) .elementor-element-ba9d0fa2,
  body.home.rv-v2-shell-active:not(.elementor-editor-active) .elementor-element-a59de7d1,
  body.home.rv-v2-shell-active:not(.elementor-editor-active) .elementor-element-58daa6cf,
  body.home.rv-v2-shell-active:not(.elementor-editor-active) .elementor-element-f9e85e69,
  body.home.rv-v2-shell-active:not(.elementor-editor-active) .elementor-element-886e5b47 {
    display: none !important;
  }

  /* Eliminate double bottom padding & bottom white gaps across all page types */
  body.rv-earth-page,
  body.rv-has-floating-nav,
  body.rv-v2-has-mobile-bar {
    padding-bottom: calc(60px + env(safe-area-inset-bottom)) !important;
    margin-bottom: 0 !important;
  }

  body.rv-v2-shell-active #content.site-content > .ast-container {
    padding-bottom: 14px !important;
  }

  body.single-product.rv-v2-has-mobile-bar {
    padding-bottom: calc(122px + env(safe-area-inset-bottom)) !important;
  }

  .rv-v2-mobile-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0 !important;
    border-radius: 0 !important;
    z-index: 9990;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    background: #fffefa;
    border-top: 1px solid #dfd8cc;
    box-shadow: 0 -6px 22px rgba(20, 28, 22, 0.08);
    padding: 6px 4px max(6px, env(safe-area-inset-bottom));
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  }

  /* Solid overscroll skirt so mobile browser URL-bar bounce NEVER exposes white gap underneath */
  .rv-v2-mobile-bar::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 80px;
    background: #fffefa;
    pointer-events: none;
  }

  .rv-v2-mobile-bar a,
  .rv-v2-mobile-bar button.rv-v2-bar-wish {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-height: 46px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #4b5249 !important;
    text-decoration: none !important;
    font: inherit;
    font-size: 10.5px;
    font-weight: 600;
    line-height: 1.1;
    cursor: pointer;
  }

  .rv-v2-mobile-bar a[aria-current="page"] {
    color: var(--rv2-green) !important;
    font-weight: 700;
  }

  .rv-v2-mobile-bar svg {
    width: 20px;
    height: 20px;
  }

  .rv-v2-bar-count {
    position: absolute;
    top: 1px;
    left: calc(50% + 3px);
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--rv2-rust);
    color: #fff;
    font-size: 9.5px;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
  }
}

/* 7. Smart Sticky & Premium Shop Filter Bar (Flush 0px Dock + True Hide-on-Scroll) */
.rv-v2-filter-system {
  position: sticky;
  top: var(--rv-filter-top, 0px);
  z-index: 970;
  margin: 0 0 22px;
  padding: 10px 12px;
  border-radius: 14px;
  background: #fffefa;
  border: 1px solid transparent;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  transition: transform 0.26s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.22s ease, visibility 0s linear 0s, box-shadow 0.22s ease, border-color 0.22s ease, border-radius 0.18s ease;
}

.rv-v2-filter-system.is-stuck {
  margin-top: 0 !important;
  border-top-left-radius: 0 !important;
  border-top-right-radius: 0 !important;
  border-color: #e2dbd0;
  border-top-color: transparent !important;
  background: #fffefa !important;
  box-shadow: 0 12px 28px rgba(24, 34, 27, 0.09);
}

.rv-v2-filter-system.is-scroll-hiding {
  transform: translateY(calc(-100% - var(--rv-filter-top, 0px) - 24px)) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  box-shadow: none !important;
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease, visibility 0s linear 0.24s;
}

/* Hide duplicate native WC sort dropdown when Rugvera v2 filter bar is rendered */
body.woocommerce-page .woocommerce-notices-wrapper + .rv-v2-filter-system ~ .woocommerce-ordering,
body.woocommerce-page .rv-v2-filter-system ~ .woocommerce-ordering,
body.woocommerce-page .rv-v2-filter-system ~ .woocommerce-result-count {
  display: none !important;
}

.rv-ft-quick-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 2px 10px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.rv-ft-quick-strip::-webkit-scrollbar {
  display: none;
}

.rv-ft-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid #d5cec2;
  background: #fff;
  color: var(--rv2-ink) !important;
  text-decoration: none !important;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.18s ease;
}

.rv-ft-chip-cnt {
  font-style: normal;
  font-size: 10.5px;
  font-weight: 700;
  opacity: 0.68;
}

.rv-ft-chip:hover {
  border-color: var(--rv2-green);
  color: var(--rv2-green) !important;
}

.rv-ft-chip.is-active {
  background: var(--rv2-green);
  border-color: var(--rv2-green);
  color: #fff !important;
  box-shadow: 0 3px 10px rgba(28, 70, 55, 0.2);
}

.rv-ft-chip.is-active .rv-ft-chip-cnt {
  opacity: 0.9;
}

/* Compact desktop filter row inside sticky bar */
@media (min-width: 768px) {
  .rv-v2-filter-system .rf-filters {
    margin: 0 !important;
    padding: 12px 14px !important;
    border-radius: 11px !important;
    background: #f7f3eb !important;
    border: 1px solid #e4ded4 !important;
  }
}

.rv-mobile-filter-triggers,
.rv-sheet-header,
.rv-filter-backdrop {
  display: none;
}

@media (max-width: 767px) {
  .rv-v2-filter-system {
    padding: 8px 10px;
    margin: 0 -4px 16px;
    border-radius: 12px;
  }

  .rv-ft-quick-strip {
    padding-bottom: 8px;
  }

  .rv-mobile-filter-triggers {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  .rv-mob-filter-btn {
    flex: 1;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 10px;
    border: 1px solid #cfc7ba;
    background: var(--rv2-cream);
    color: var(--rv2-ink);
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
  }

  .rv-mob-filter-btn svg {
    width: 17px;
    height: 17px;
  }

  .rv-filter-badge {
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--rv2-green);
    color: #fff;
    font-size: 11px;
    line-height: 20px;
  }

  .rv-mob-clear-link {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--rv2-rust) !important;
    text-decoration: underline !important;
    padding: 6px 4px;
  }

  .rv-filter-backdrop {
    display: block;
    position: fixed !important;
    inset: 0 !important;
    z-index: 10028 !important;
    background: rgba(20, 25, 21, 0.52);
  }

  .rv-filter-backdrop[hidden] {
    display: none !important;
  }

  .rv-filter-sheet:not(.is-open) {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  @keyframes rvFilterSheetUp {
    from {
      transform: translateY(24px);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }

  .rv-filter-sheet.is-open {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    top: auto !important;
    width: 100% !important;
    max-width: 100vw !important;
    z-index: 10030 !important;
    margin: 0 !important;
    max-height: 82dvh !important;
    overflow-y: auto !important;
    background: var(--rv2-paper) !important;
    border: 0 !important;
    border-top: 1px solid var(--rv2-line) !important;
    border-radius: 20px 20px 0 0 !important;
    padding: 18px 18px calc(24px + env(safe-area-inset-bottom)) !important;
    box-shadow: 0 -14px 40px rgba(0, 0, 0, 0.25) !important;
    display: flex !important;
    visibility: visible !important;
    pointer-events: auto !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 14px !important;
    transform: none !important;
    animation: rvFilterSheetUp 0.22s cubic-bezier(0.22, 1, 0.36, 1);
    box-sizing: border-box !important;
  }

  .rv-sheet-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--rv2-line);
  }

  .rv-sheet-header strong {
    font-size: 16px;
    color: var(--rv2-ink);
  }

  .rv-sheet-close {
    width: 36px;
    height: 36px;
    border: 1px solid var(--rv2-line);
    border-radius: 50%;
    background: #fff;
    color: var(--rv2-ink);
    cursor: pointer;
  }

  .rv-filter-sheet .rf-f-field,
  .rv-filter-sheet .rf-f-price {
    flex: none !important;
    width: 100% !important;
  }

  .rv-filter-sheet .rf-f-field select,
  .rv-filter-sheet .rf-f-price input {
    min-height: 44px !important;
    font-size: 16px !important;
  }

  .rv-filter-sheet .rf-f-actions {
    width: 100%;
    padding-top: 4px;
  }

  .rv-filter-sheet .rf-f-apply {
    flex: 1;
    min-height: 48px !important;
    font-size: 15px !important;
  }
}


/* ==========================================================================
   8. Clean Image 8 (Desktop) & Image 9 (Mobile) Product Card Grid
      + Fixed-Height Top Review Bar + Quick-View Eye Modal
   ========================================================================== */
body.woocommerce ul.products,
body .woocommerce ul.products,
body .rf-widget ul.products,
body .rf-widget .woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(var(--rf-columns, 4), minmax(0, 1fr)) !important;
  align-items: stretch !important;
  gap: 42px 22px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

body .woocommerce ul.products::before,
body .woocommerce ul.products::after,
ul.products::before,
ul.products::after {
  display: none !important;
  content: none !important;
}

body .woocommerce ul.products li.product,
.rf-widget .woocommerce ul.products li.product {
  position: relative !important;
  width: auto !important;
  float: none !important;
  margin: 0 !important;
  min-width: 0 !important;
  align-self: stretch !important;
  height: auto !important;
  min-height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  text-align: left !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.woocommerce ul.products li.product .astra-shop-thumbnail-wrap,
.rf-widget .woocommerce ul.products li.product .astra-shop-thumbnail-wrap {
  flex: 0 0 auto !important;
  margin-bottom: 0 !important;
  position: relative !important;
  overflow: hidden !important;
}

.woocommerce ul.products li.product .astra-shop-summary-wrap,
.rf-widget .woocommerce ul.products li.product .astra-shop-summary-wrap {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  padding: 0 !important;
  margin: 0 !important;
}

.woocommerce ul.products li.product a.woocommerce-loop-product__link,
.rf-widget .woocommerce ul.products li.product a.woocommerce-loop-product__link {
  display: block !important;
  flex: 0 0 auto !important;
  text-decoration: none !important;
  position: relative !important;
}

.woocommerce ul.products li.product a.woocommerce-loop-product__link:has(.price),
.rf-widget .woocommerce ul.products li.product a.woocommerce-loop-product__link:has(.price) {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
}

/* Suppress duplicate theme/third-party floating card overlays */
ul.products li.product .ast-on-card-button,
ul.products li.product .ast-quick-view-trigger,
ul.products li.product .yith-wcwl-add-to-wishlist {
  display: none !important;
}

/* Sale badge strictly top-left */
body.woocommerce ul.products li.product span.onsale,
.rf-widget .woocommerce ul.products li.product .onsale {
  position: absolute !important;
  top: 10px !important;
  left: 10px !important;
  right: auto !important;
  margin: 0 !important;
  z-index: 4 !important;
  min-height: 0 !important;
  min-width: 0 !important;
  padding: 4px 10px !important;
  border-radius: 999px !important;
  background: var(--rv2-rust, #8c3b20) !important;
  color: #fff !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
}

/* Wishlist heart strictly top-right inside thumbnail */
ul.products li.product .rf-wish-toggle {
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  left: auto !important;
  bottom: auto !important;
  z-index: 6 !important;
  width: 32px !important;
  height: 32px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 1px solid rgba(228, 222, 212, 0.85) !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.92) !important;
  color: #3b4038 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08) !important;
  cursor: pointer;
  transition: transform 0.16s ease, color 0.16s ease, background 0.16s ease;
}

ul.products li.product .rf-wish-toggle:hover {
  transform: scale(1.06);
  background: #fff !important;
}

ul.products li.product .rf-wish-toggle svg {
  width: 16px !important;
  height: 16px !important;
  display: block;
}

ul.products li.product .rf-wish-toggle[aria-pressed="true"],
.rf-wish-toggle.is-saved {
  color: #b35731 !important;
  border-color: #e6c6b8 !important;
}

ul.products li.product .rf-wish-toggle[aria-pressed="true"] svg,
.rf-wish-toggle.is-saved svg {
  fill: currentColor;
}

/* Portrait Gallery Images (3:4 clean editorial matching Images 8 & 9) */
body .woocommerce ul.products li.product a img:not(.rf-hover-img),
.rf-widget .woocommerce ul.products li.product a img:not(.rf-hover-img) {
  width: 100% !important;
  aspect-ratio: var(--rv-card-ratio, 3 / 4) !important;
  height: auto !important;
  object-fit: cover !important;
  background: #f6f4f0 !important;
  border-radius: 0 !important;
  margin: 0 !important;
  display: block !important;
}

body .woocommerce ul.products li.product img.rf-hover-img,
.rf-widget .woocommerce ul.products li.product img.rf-hover-img {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  aspect-ratio: var(--rv-card-ratio, 3 / 4) !important;
  height: auto !important;
  object-fit: cover !important;
  border-radius: 0 !important;
  opacity: 0;
  transition: opacity 0.28s ease;
  pointer-events: none;
}

body .woocommerce ul.products li.product:hover img.rf-hover-img,
.rf-widget .woocommerce ul.products li.product:hover img.rf-hover-img {
  opacity: 1;
}

/* Fixed-Height Top Eyebrow Bar (Brand Left + Tiny Review Badge Right -> Zero Misalignment) */
.rv-card-top-bar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  height: 18px !important;
  min-height: 18px !important;
  max-height: 18px !important;
  margin: 12px 0 5px !important;
  padding: 0 !important;
  overflow: hidden !important;
  line-height: 1 !important;
}

.rv-card-brand {
  display: inline-block;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: #555555;
  border-bottom: 1px solid #333333;
  padding-bottom: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 65%;
}

.rv-card-mini-rating {
  display: inline-flex !important;
  align-items: center !important;
  gap: 3px !important;
  font-size: 11px !important;
  line-height: 1 !important;
  color: #1f221e !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

.rv-mini-star {
  color: #c57b38 !important;
  font-size: 11px !important;
  line-height: 1 !important;
}

.rv-mini-avg {
  font-weight: 600 !important;
  font-size: 11px !important;
}

.rv-mini-cnt {
  font-style: normal !important;
  color: #6f6c66 !important;
  font-size: 10.5px !important;
}

/* Hide WooCommerce's bulky default mid-card star rating */
.woocommerce ul.products li.product .star-rating {
  display: none !important;
}

/* Clean Product Title (2-line clamp with stable baseline) */
body .woocommerce ul.products li.product .woocommerce-loop-product__title,
.rf-widget .woocommerce-loop-product__title {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
  font-size: 14.5px !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
  color: #1c1c1c !important;
  margin: 2px 0 5px !important;
  padding: 0 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  min-height: 2.8em !important;
}

/* Clean Price Typography */
body .woocommerce ul.products li.product .price,
.rf-widget .woocommerce ul.products li.product .price {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
  font-size: 14.5px !important;
  font-weight: 500 !important;
  color: #1c1c1c !important;
  margin: auto 0 0 !important;
  padding-top: 2px !important;
}

body .woocommerce ul.products li.product .price del {
  color: #888 !important;
  font-weight: 400 !important;
  margin-right: 6px !important;
}

/* Image 9 Action Row: [ Add to cart ] + [ Eye Quick-View ] */
.rv-card-actions-bar {
  display: flex !important;
  align-items: stretch !important;
  gap: 6px !important;
  margin-top: 10px !important;
  width: 100% !important;
}

body .woocommerce ul.products li.product .rv-card-actions-bar .button,
.rf-widget .woocommerce ul.products li.product .rv-card-actions-bar .button,
body .woocommerce ul.products li.product .button:not(.wpr-button) {
  position: static !important;
  flex: 1 1 auto !important;
  margin: 0 !important;
  width: 100% !important;
  min-height: 40px !important;
  height: 40px !important;
  border-radius: 2px !important;
  background: #2b2b2b !important;
  border: 0 !important;
  color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  letter-spacing: 0.01em !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  padding: 0 12px !important;
  box-sizing: border-box !important;
  box-shadow: none !important;
  cursor: pointer !important;
}

.rv-card-qv-btn {
  flex: 0 0 40px !important;
  width: 40px !important;
  height: 40px !important;
  min-height: 40px !important;
  border-radius: 2px !important;
  background: #2b2b2b !important;
  color: #ffffff !important;
  border: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
  cursor: pointer !important;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.rv-card-qv-btn svg {
  width: 17px !important;
  height: 17px !important;
  display: block;
}

/* Desktop Card Modes (Image 8 minimal vs hover vs always) */
@media (min-width: 768px) {
  body.rv-cards-desktop-minimal .rv-card-actions-bar {
    display: none !important;
  }
  body.rv-cards-desktop-hover .rv-card-actions-bar {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
  }
  body.rv-cards-desktop-hover ul.products li.product:hover .rv-card-actions-bar,
  body.rv-cards-desktop-hover ul.products li.product:focus-within .rv-card-actions-bar {
    opacity: 1;
    pointer-events: auto;
  }
  body.rv-cards-desktop-always .rv-card-actions-bar {
    display: flex !important;
  }
}

ul.products li.product a.added_to_cart.wc-forward {
  display: block !important;
  width: 100% !important;
  text-align: center !important;
  margin-top: 6px !important;
  padding: 3px 0 !important;
  font-size: 11.5px !important;
  font-weight: 600 !important;
  color: #1c4637 !important;
  text-decoration: underline !important;
}

@media (max-width: 1024px) {
  body .woocommerce ul.products,
  body .rf-widget .woocommerce ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 32px 18px !important;
  }
}

@media (max-width: 767px) {
  body .woocommerce ul.products,
  body .rf-widget .woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 28px 12px !important;
  }
  .rv-card-actions-bar {
    display: flex !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }
  .rv-card-top-bar {
    margin: 10px 0 4px !important;
  }
  body .woocommerce ul.products li.product .woocommerce-loop-product__title,
  .rf-widget .woocommerce-loop-product__title {
    font-size: 13.5px !important;
    line-height: 1.35 !important;
    min-height: 2.7em !important;
  }
  body .woocommerce ul.products li.product .price,
  .rf-widget .woocommerce ul.products li.product .price {
    font-size: 14px !important;
  }
  ul.products li.product .rf-wish-toggle {
    top: 8px !important;
    right: 8px !important;
    width: 30px !important;
    height: 30px !important;
  }
  ul.products li.product .rf-wish-toggle svg {
    width: 15px !important;
    height: 15px !important;
  }
  body.woocommerce ul.products li.product span.onsale,
  .rf-widget .woocommerce ul.products li.product .onsale {
    top: 8px !important;
    left: 8px !important;
    font-size: 9.5px !important;
    padding: 3px 8px !important;
  }
}

/* 9. Live Homepage & Elementor Earth Template Mobile-First Polish (non-user-ID fallback selectors only) */
@media (max-width: 767px) {
  body.rv-earth-page .elementor-element-02631995 {
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
  }

  body.rv-earth-page .elementor-element-c28bd9e0,
  body.rv-earth-page .elementor-element-b1742fbe {
    width: auto !important;
    max-width: none !important;
  }

  body.rv-earth-page .elementor-element-2375400e,
  body.rv-earth-page .elementor-element-27e5a8fc,
  body.rv-earth-page .elementor-element-1a2057c8,
  body.rv-earth-page .elementor-element-702db0ae {
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
  }

  body.rv-earth-page .elementor-element-111e590a .elementor-button,
  body.rv-earth-page .elementor-element-5cc5b381 .elementor-button,
  body.rv-earth-page .elementor-element-ca9eca32 .elementor-button,
  body.rv-earth-page .elementor-element-e38ef27d .elementor-button {
    padding: 6px 2px !important;
    white-space: nowrap;
  }

  body.rv-earth-page .rf-search input {
    font-size: 16px !important;
    padding: 10px 14px !important;
  }

  body.rv-earth-page .elementor-element-e001d24f .elementor-button {
    width: 100%;
    text-align: center;
    justify-content: center;
    min-height: 46px;
  }
}

/* 10. Editorial Single Product Page, Size Pills & Inline Non-Overlapping Wishlist */
body.single-product.rv-v2-editorial-pdp div.product {
  display: grid;
  grid-template-columns: minmax(0, 54%) minmax(0, 42%);
  justify-content: space-between;
  gap: 32px;
  align-items: start;
}

body.single-product.rv-v2-editorial-pdp div.product > span.onsale {
  display: none;
}

body.single-product.rv-v2-editorial-pdp div.product div.images,
body.single-product.rv-v2-editorial-pdp div.product div.summary,
body.single-product div.product .woocommerce-product-gallery,
body.single-product .mcs-root .mcs-left,
body.single-product .mcs-root .mcs-right {
  position: relative !important;
  top: auto !important;
  bottom: auto !important;
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
  transform: none !important;
}

body.single-product.rv-v2-editorial-pdp div.product div.images img {
  border-radius: 12px;
}

body.single-product.rv-v2-editorial-pdp div.product > .woocommerce-notices-wrapper,
body.single-product.rv-v2-editorial-pdp div.product .rv-pdp-spottable-wrap,
body.single-product.rv-v2-editorial-pdp div.product .woocommerce-tabs,
body.single-product.rv-v2-editorial-pdp div.product section.related,
body.single-product.rv-v2-editorial-pdp div.product section.upsells {
  grid-column: 1 / -1;
  width: 100% !important;
  clear: both;
  position: relative;
  z-index: 2;
}

@media (max-width: 900px) {
  body.single-product.rv-v2-editorial-pdp div.product {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Style Astra / WooCommerce category links in summary using Rugvera brand palette (never raw blue) */
body.single-product div.summary a:not(.button):not(.rv-btn-outline):not(.rv-size-guide-link) {
  color: var(--rv2-green) !important;
  text-decoration: none !important;
  font-weight: 600;
}

body.single-product div.summary a:not(.button):not(.rv-btn-outline):not(.rv-size-guide-link):hover {
  color: var(--rv2-rust) !important;
  text-decoration: underline !important;
}

.rv-pdp-kicker {
  margin: 0 0 8px !important;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rv2-rust);
}

body.single-product.rv-v2-editorial-pdp .product_title {
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: clamp(26px, 3.2vw, 38px) !important;
  font-weight: 500 !important;
  line-height: 1.16 !important;
  color: var(--rv2-ink) !important;
  margin: 0 0 10px !important;
}

body.single-product.rv-v2-editorial-pdp div.summary p.price,
body.single-product.rv-v2-editorial-pdp div.summary span.price {
  font-size: 24px !important;
  font-weight: 700 !important;
  color: var(--rv2-green) !important;
  margin: 0 0 14px !important;
}

/* Preset Feet (ft) Size Pills Selector */
.rv-size-selector {
  margin: 16px 0 18px;
  padding: 15px;
  border: 1px solid var(--rv2-line);
  border-radius: 12px;
  background: #fbf9f4;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

.rv-size-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 11px;
  font-size: 13px;
  color: var(--rv2-ink);
}

.rv-size-label strong {
  color: var(--rv2-green);
}

.rv-size-guide-link {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--rv2-rust) !important;
  text-decoration: underline !important;
}

.rv-size-pills {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.rv-size-pill {
  appearance: none;
  border: 1.5px solid #d5cec2;
  border-radius: 9px;
  background: #fff;
  color: var(--rv2-ink);
  padding: 9px 8px;
  min-height: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

.rv-size-pill:hover {
  border-color: var(--rv2-green);
}

.rv-size-pill.is-active {
  border-color: var(--rv2-green);
  background: var(--rv2-green-tint);
  color: var(--rv2-green);
  box-shadow: 0 0 0 1px var(--rv2-green);
}

.rv-pill-dim {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.rv-pill-hint {
  font-size: 10.5px;
  color: var(--rv2-muted);
  line-height: 1.2;
}

.rv-size-pill.is-active .rv-pill-hint {
  color: var(--rv2-green);
}

@media (max-width: 520px) {
  .rv-size-pills {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Add to Cart + Inline Non-Overlapping Wishlist Heart Row */
body.single-product form.cart {
  display: flex !important;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 10px;
}

body.single-product form.cart .rv-size-selector {
  flex: 1 1 100%;
  width: 100%;
}

body.single-product form.cart div.quantity {
  margin: 0 !important;
  float: none !important;
}

body.single-product form.cart div.quantity input.qty {
  width: 66px !important;
  min-height: 50px !important;
  border: 1px solid #c9c1b4 !important;
  border-radius: 10px !important;
  font-size: 16px !important;
  text-align: center;
}

body.single-product form.cart .single_add_to_cart_button {
  flex: 1 1 170px;
  float: none !important;
  margin: 0 !important;
  min-height: 50px !important;
  border-radius: 10px !important;
  background: var(--rv2-green) !important;
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em;
  border: 0 !important;
}

body.single-product form.cart .single_add_to_cart_button:hover,
body.single-product form.cart .single_add_to_cart_button:focus-visible {
  background: #d9d9d9 !important;
  color: #000000 !important;
}
body.single-product form.cart .single_add_to_cart_button:active {
  background: #c4c4c4 !important;
  color: #000000 !important;
}

/* Ensure Wishlist button inside PDP form.cart is static inline — NEVER overlapping Add to Bag! */
body.single-product form.cart .rf-wish-toggle {
  position: static !important;
  flex: 0 0 50px;
  width: 50px !important;
  height: 50px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 1px solid #c9c1b4 !important;
  border-radius: 10px !important;
  background: #fff !important;
  color: var(--rv2-ink) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: none !important;
  cursor: pointer;
}

body.single-product form.cart .rf-wish-toggle svg {
  width: 21px;
  height: 21px;
}

body.single-product form.cart .rf-wish-toggle[aria-pressed="true"] {
  color: var(--rv2-rust) !important;
  border-color: var(--rv2-rust) !important;
  background: #fdf6f2 !important;
}

body.single-product form.cart .rf-wish-toggle[aria-pressed="true"] svg {
  fill: currentColor;
}

/* PDP Delivery ETA, Trust & Final-Sale Card Removed per v2.0.3 */
.rv-pdp-eta-card,
.rv-eta-box {
  display: none !important;
}

/* 10B. Spottable Top PDP Sections (Description + Additional Info Top Cards, Open Reviews Directly Below) */
.rv-pdp-spottable-wrap {
  margin: 34px 0 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

.rv-pdp-top-sections {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 22px;
  align-items: stretch;
}

.rv-pdp-top-card {
  padding: clamp(20px, 2.8vw, 32px);
  border: 1px solid var(--rv2-line);
  border-radius: 16px;
  background: #fbf9f4;
  box-shadow: 0 4px 18px rgba(24, 32, 26, 0.03);
}

.rv-pdp-sec-kicker {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rv2-rust);
  margin-bottom: 6px;
}

.rv-pdp-top-card h2,
.rv-pdp-reviews-head h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 500;
  color: var(--rv2-ink);
  margin: 0 0 14px !important;
  line-height: 1.2;
}

.rv-pdp-desc-prose {
  font-size: 14.5px;
  line-height: 1.75;
  color: #3a3f38;
}

.rv-pdp-desc-prose p:last-child {
  margin-bottom: 0;
}

.rv-pdp-info-table {
  margin: 0;
  display: flex;
  flex-direction: column;
}

.rv-pdp-info-row {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #e7e1d6;
  font-size: 13.5px;
}

.rv-pdp-info-row:first-child {
  padding-top: 2px;
}

.rv-pdp-info-row dt {
  font-weight: 700;
  color: var(--rv2-muted);
  margin: 0;
}

.rv-pdp-info-row dd {
  font-weight: 600;
  color: var(--rv2-ink);
  margin: 0;
}

.rv-pdp-care-banner {
  padding: 14px 20px;
  border-radius: 12px;
  background: var(--rv2-green-tint);
  border: 1px solid #cde0d4;
  color: var(--rv2-green-dark);
  font-size: 13px;
  line-height: 1.55;
}

.rv-pdp-reviews-below {
  padding: clamp(20px, 2.8vw, 32px);
  border: 1px solid var(--rv2-line);
  border-radius: 16px;
  background: #fff;
}

.rv-pdp-reviews-head {
  padding-bottom: 14px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--rv2-line);
}

.rv-pdp-reviews-below #reviews #comments h2.woocommerce-Reviews-title {
  font-size: 16px !important;
  font-weight: 600 !important;
  margin-bottom: 14px !important;
}

.rv-pdp-reviews-below #review_form #respond .form-submit input#submit {
  background: var(--rv2-green) !important;
  color: #fff !important;
  border-radius: 9px !important;
  padding: 12px 22px !important;
  font-weight: 700 !important;
  border: 0 !important;
}

@media (max-width: 860px) {
  .rv-pdp-top-sections {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .rv-pdp-info-row {
    grid-template-columns: 118px minmax(0, 1fr);
  }
}

/* Sticky Mobile PDP Add-to-Bag Bar */
.rv-v2-sticky-atc {
  display: none;
}

.rv-v2-sticky-atc[hidden] {
  display: none !important;
}

@media (max-width: 767px) {
  .rv-v2-sticky-atc {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: calc(64px + env(safe-area-inset-bottom));
    z-index: 9985;
    background: #fff;
    border: 1px solid #d7d0c4;
    border-radius: 14px;
    padding: 9px 12px;
    box-shadow: 0 8px 28px rgba(20, 26, 21, 0.16);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  }

  .rv-v2-sticky-meta {
    display: flex;
    flex-direction: column;
    min-width: 0;
  }

  .rv-v2-sticky-meta strong {
    font-size: 15px;
    color: var(--rv2-green);
    line-height: 1.2;
  }

  .rv-v2-sticky-meta small {
    font-size: 11.5px;
    color: var(--rv2-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .rv-v2-sticky-btn {
    border: 0;
    border-radius: 10px;
    background: var(--rv2-green);
    color: #fff;
    min-height: 42px;
    padding: 0 18px;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    flex: 0 0 auto;
  }
}

/* 11. Essential Guide & Policy Pages */
.rv-info-page {
  max-width: 960px;
  margin: 0 auto;
  padding: 10px 0 24px;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

.rv-info-kicker {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rv2-rust);
  margin-bottom: 8px;
}

.rv-info-page h1 {
  font-family: Georgia, serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 500;
  line-height: 1.14;
  color: var(--rv2-ink);
  margin: 0 0 14px;
}

.rv-info-lead {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--rv2-muted);
  max-width: 720px;
  margin: 0 0 26px;
}

.rv-guide-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.rv-guide-card {
  padding: 20px 22px;
  border: 1px solid var(--rv2-line);
  border-radius: 12px;
  background: var(--rv2-cream);
}

.rv-guide-card strong {
  display: block;
  font-family: Georgia, serif;
  font-size: 19px;
  font-weight: 500;
  color: var(--rv2-green);
  margin-bottom: 4px;
}

.rv-guide-card span {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--rv2-rust);
  margin-bottom: 8px;
}

.rv-guide-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--rv2-ink);
}

.rv-info-note {
  margin-top: 22px;
  font-size: 13.5px;
  color: var(--rv2-muted);
}

.rv-info-note a {
  color: var(--rv2-green) !important;
  font-weight: 700;
}

@media (max-width: 680px) {
  .rv-guide-cards {
    grid-template-columns: 1fr;
  }
}

/* 12. Centered Mobile Cart / Bag Page (Fixes One-Sided Mobile Layout for Classic & Block Cart!) */
body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
body.woocommerce-cart .wc-block-cart__submit-button,
body.woocommerce-checkout #place_order {
  background: var(--rv2-green) !important;
  color: #fff !important;
  border-radius: 10px !important;
  min-height: 50px !important;
  font-size: 15.5px !important;
  font-weight: 700 !important;
  width: 100% !important;
  border: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}

@media (max-width: 767px) {
  body.woocommerce-cart #content.site-content > .ast-container {
    display: block !important;
    width: 100% !important;
    max-width: 600px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    float: none !important;
    box-sizing: border-box !important;
  }

  body.woocommerce-cart #primary,
  body.woocommerce-cart #main,
  body.woocommerce-cart main.site-main,
  body.woocommerce-cart article.page,
  body.woocommerce-cart .entry-content,
  body.woocommerce-cart .woocommerce,
  body.woocommerce-cart .wp-block-woocommerce-cart,
  body.woocommerce-cart .wp-block-woocommerce-cart > div,
  body.woocommerce-cart .wc-block-cart,
  body.woocommerce-cart .wc-block-components-sidebar-layout,
  body.woocommerce-cart .wc-block-components-main,
  body.woocommerce-cart .wc-block-cart__main,
  body.woocommerce-cart .wc-block-components-sidebar,
  body.woocommerce-cart .wc-block-cart__sidebar,
  body.woocommerce-cart .woocommerce-cart-form,
  body.woocommerce-cart .cart-collaterals,
  body.woocommerce-cart .wp-block-woocommerce-empty-cart-block,
  body.woocommerce-cart .elementor-widget-woocommerce-cart,
  body.woocommerce-cart .elementor-widget-shortcode {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    float: none !important;
    box-sizing: border-box !important;
  }

  body.woocommerce-cart .entry-header,
  body.woocommerce-cart .entry-title {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  body.woocommerce-cart .cart-empty,
  body.woocommerce-cart .return-to-shop,
  body.woocommerce-cart .wp-block-woocommerce-empty-cart-block {
    width: 100% !important;
    text-align: center !important;
  }

  /* Block Cart responsive table & rows */
  body.woocommerce-cart table.wc-block-cart-items {
    width: 100% !important;
    max-width: 100% !important;
    table-layout: auto !important;
  }

  body.woocommerce-cart .wc-block-cart-items__row {
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Classic Cart responsive cards */
  body.woocommerce-cart table.shop_table_responsive,
  body.woocommerce-cart table.shop_table_responsive tbody {
    display: block !important;
    width: 100% !important;
    border: 0 !important;
  }

  body.woocommerce-cart table.shop_table_responsive thead {
    display: none !important;
  }

  body.woocommerce-cart table.shop_table_responsive tr.cart_item {
    display: block !important;
    width: 100% !important;
    border: 1px solid var(--rv2-line) !important;
    border-radius: 12px !important;
    background: #fff !important;
    padding: 14px !important;
    margin: 0 0 14px !important;
    box-sizing: border-box !important;
  }

  body.woocommerce-cart table.shop_table_responsive tr.cart_item td {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 12px !important;
    width: 100% !important;
    padding: 8px 0 !important;
    border: 0 !important;
    border-bottom: 1px solid #f0ece3 !important;
    text-align: right !important;
    background: transparent !important;
    box-sizing: border-box !important;
  }

  body.woocommerce-cart table.shop_table_responsive tr.cart_item td:last-child {
    border-bottom: 0 !important;
  }

  body.woocommerce-cart table.shop_table_responsive tr.cart_item td::before {
    font-weight: 700 !important;
    color: var(--rv2-muted) !important;
    text-align: left !important;
    float: none !important;
  }

  body.woocommerce-cart table.shop_table_responsive tr.cart_item td.product-thumbnail {
    justify-content: center !important;
  }

  body.woocommerce-cart table.shop_table_responsive tr.cart_item td.product-thumbnail::before {
    display: none !important;
  }

  body.woocommerce-cart table.shop_table_responsive td.actions {
    display: block !important;
    width: 100% !important;
    padding: 8px 0 !important;
    border: 0 !important;
    box-sizing: border-box !important;
  }

  body.woocommerce-cart table.shop_table_responsive td.actions .coupon {
    display: flex !important;
    gap: 8px !important;
    width: 100% !important;
    margin: 0 0 10px !important;
    float: none !important;
  }

  body.woocommerce-cart table.shop_table_responsive td.actions .coupon input.input-text {
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    min-height: 44px !important;
  }

  body.woocommerce-cart .cart-collaterals .cart_totals {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 16px 0 0 !important;
    padding: 18px !important;
    border: 1px solid var(--rv2-line) !important;
    border-radius: 14px !important;
    background: #fbf9f4 !important;
    float: none !important;
    box-sizing: border-box !important;
  }

  body.woocommerce-cart .cart-collaterals .cart_totals table.shop_table {
    width: 100% !important;
    margin: 0 0 14px !important;
  }

  body.woocommerce-checkout form.checkout input.input-text,
  body.woocommerce-checkout form.checkout select,
  body.woocommerce-checkout form.checkout textarea,
  body.woocommerce-account input.input-text {
    font-size: 16px !important;
    min-height: 44px;
    border-radius: 8px;
  }
}


/* 13. v2.1.0 High-Visibility WhatsApp Concierge (PDP, Footer, Home Floating Chat), Custom Rug Quote Form & Intl Shipping Estimator */
.rv-wa-pdp-wrap {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rv-wa-pdp-btn {
  display: flex !important;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 16px;
  border-radius: 11px;
  border: 1.5px solid #1b5e3c;
  background: #edf7f1;
  color: #13462c !important;
  text-decoration: none !important;
  box-sizing: border-box;
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.rv-wa-pdp-btn:hover,
.rv-wa-pdp-btn:focus-visible {
  background: #d9d9d9 !important;
  border-color: #b8b8b8 !important;
  color: #000000 !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}
.rv-wa-pdp-btn:active {
  background: #c4c4c4 !important;
  color: #000000 !important;
}

.rv-wa-pdp-btn svg {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  color: #1e8e4f;
}

.rv-wa-pdp-btn:hover svg,
.rv-wa-pdp-btn:active svg {
  color: #000000 !important;
}

.rv-wa-pdp-btn span {
  display: flex;
  flex-direction: column;
  gap: 1px;
  text-align: left;
  line-height: 1.3;
}

.rv-wa-pdp-btn strong {
  font-size: 14px;
  font-weight: 700;
}

.rv-wa-pdp-btn small {
  font-size: 12px;
  opacity: 0.88;
}

.rv-pdp-quote-link {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--rv2-rust) !important;
  text-decoration: underline !important;
  padding: 2px 2px 0;
}

/* Footer & Drawer Prominent WhatsApp CTA */
.rv-foot-wa-btn {
  margin-top: 14px;
  display: inline-flex !important;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #1f7a46 !important;
  border: 1px solid #2ea35f;
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
  transition: background 0.18s ease, transform 0.18s ease;
}

.rv-foot-wa-btn:hover,
.rv-foot-wa-btn:focus-visible {
  background: #d9d9d9 !important;
  color: #000000 !important;
  transform: translateY(-1px);
}
.rv-foot-wa-btn:active {
  background: #c4c4c4 !important;
  color: #000000 !important;
}

.rv-foot-wa-inline {
  font-weight: 700 !important;
  color: #7ee2a8 !important;
}

.rv-canvas-wa-pill {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  padding: 6px 13px !important;
  border-radius: 999px;
  background: #1c5c39 !important;
  color: #fff !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

.rv-drawer-wa-btn {
  margin-top: 10px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 14px !important;
  border-radius: 10px;
  background: #1c5c39 !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

/* Custom Floating WhatsApp Chat Button on Home Page & Storefront */
.rv-wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 9980;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 10px 18px 10px 15px;
  border-radius: 999px;
  background: #1c4637;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff !important;
  text-decoration: none !important;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 28px rgba(18, 42, 32, 0.32);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.rv-wa-float:hover,
.rv-wa-float:focus-visible {
  background: #d9d9d9 !important;
  color: #000000 !important;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(18, 42, 32, 0.4);
}

.rv-wa-float svg {
  color: #4ade80;
  flex: 0 0 auto;
}

.rv-wa-float-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.25);
}

@media (max-width: 767px) {
  .rv-wa-float {
    right: 14px;
    bottom: calc(76px + env(safe-area-inset-bottom));
    min-height: 44px;
    padding: 9px 14px;
    font-size: 12.5px;
  }

  .rv-wa-float:not(.rv-wa-float--home) .rv-wa-float-label {
    display: none;
  }

  .rv-wa-float:not(.rv-wa-float--home) {
    width: 48px;
    height: 48px;
    padding: 0;
    justify-content: center;
  }

  .rv-wa-float:not(.rv-wa-float--home) .rv-wa-float-dot {
    display: none;
  }
}

/* Custom Rug Quotation Form (`[rv_custom_rug_quote]`) */
.rv-quote-section {
  max-width: 780px;
  margin: 28px auto 44px;
  padding: clamp(22px, 4vw, 42px);
  background: #fbf9f4;
  border: 1px solid var(--rv2-line);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(28, 38, 31, 0.04);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

.rv-quote-header {
  text-align: center;
  margin-bottom: 26px;
}

.rv-quote-header h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 3.6vw, 38px);
  font-weight: 500;
  color: var(--rv2-ink);
  margin: 6px 0 10px !important;
}

.rv-quote-header p {
  max-width: 580px;
  margin: 0 auto;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--rv2-muted);
}

.rv-quote-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rv-qf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.rv-qf-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rv-qf-field span {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rv2-ink);
}

.rv-qf-field em {
  color: var(--rv2-rust);
  font-style: normal;
}

.rv-qf-field input,
.rv-qf-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #cbc3b5;
  border-radius: 8px;
  background: #ffffff;
  color: var(--rv2-ink);
  font-size: 15px;
  box-sizing: border-box;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.rv-qf-field textarea {
  min-height: 130px;
  resize: vertical;
}

.rv-qf-field input:focus,
.rv-qf-field textarea:focus {
  outline: none;
  border-color: var(--rv2-green);
  box-shadow: 0 0 0 3px rgba(28, 70, 55, 0.12);
}

.rv-qf-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 6px;
}

.rv-qf-submit {
  flex: 1 1 230px;
  min-height: 50px;
  padding: 0 26px;
  border: 0;
  border-radius: 10px;
  background: var(--rv2-green);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.18s ease;
}

.rv-qf-submit:hover,
.rv-qf-submit:focus-visible {
  background: #d9d9d9 !important;
  color: #000000 !important;
}
.rv-qf-submit:active {
  background: #c4c4c4 !important;
  color: #000000 !important;
}

.rv-qf-wa-btn {
  flex: 1 1 230px;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 10px;
  border: 1.5px solid #1b5e3c;
  background: #edf7f1;
  color: #13462c !important;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  box-sizing: border-box;
}

.rv-qf-wa-btn:hover {
  background: #1b5e3c;
  color: #ffffff !important;
}

.rv-qf-status {
  padding: 13px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

.rv-qf-status.is-ok {
  background: #e9f6ee;
  border: 1px solid #9fd3b2;
  color: #154d2e;
}

.rv-qf-status.is-err {
  background: #fdf0ed;
  border: 1px solid #e5b2a6;
  color: #7b2715;
}

@media (max-width: 680px) {
  .rv-qf-grid {
    grid-template-columns: 1fr;
  }

  .rv-qf-field input,
  .rv-qf-field textarea {
    font-size: 16px;
  }
}

/* Clean International Shipping Estimator (Cart & Info Page) */
.rv-ship-estimator {
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid var(--rv2-line);
  border-radius: 12px;
  background: #fbf9f4;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

.rv-ship-est-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.rv-ship-est-head strong {
  font-size: 13px;
  color: var(--rv2-ink);
}

.rv-ship-est-head select {
  min-height: 36px;
  padding: 4px 10px;
  border-radius: 8px;
  border: 1px solid #cbc3b5;
  background: #ffffff;
  color: var(--rv2-ink);
  font-size: 13px;
  font-weight: 600;
}

.rv-ship-est-result {
  margin: 0 !important;
  font-size: 13px;
  line-height: 1.5;
  color: var(--rv2-muted);
}

.rv-ship-est-result strong {
  color: var(--rv2-green);
}


/* ==========================================================================
   Rugvera v2.2.0 — Full-Width Editorial Whitespace, Single-Image Hover Swap,
   Automatic Photo Overlays, Interactive Color-Shifting Buttons & Review Gate
   (Preserves Rugvera's own palette: #1c4637 green, #ae694b terracotta, #fffefa white, #f7f3eb cream)
   ========================================================================== */

/* 1. Single product image by default + smooth hover crossfade to 2nd gallery image (ALL grids) */
.woocommerce ul.products li.product,
ul.products li.product {
  position: relative;
}
.woocommerce ul.products li.product a.woocommerce-loop-product__link,
ul.products li.product a.woocommerce-loop-product__link,
.rf-widget .woocommerce ul.products li.product a.woocommerce-loop-product__link {
  position: relative !important;
  display: block !important;
  overflow: hidden;
  border-radius: 10px;
}
.woocommerce ul.products li.product a img:not(.rf-hover-img),
ul.products li.product a img:not(.rf-hover-img) {
  display: block !important;
  width: 100% !important;
  aspect-ratio: 4 / 5 !important;
  height: auto !important;
  object-fit: cover !important;
  border-radius: 10px !important;
  margin: 0 0 12px !important;
  transition: transform .55s cubic-bezier(.22,1,.36,1), opacity .35s ease !important;
}
.woocommerce ul.products li.product img.rf-hover-img,
ul.products li.product img.rf-hover-img,
.rf-widget .woocommerce ul.products li.product img.rf-hover-img {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  aspect-ratio: 4 / 5 !important;
  height: auto !important;
  object-fit: cover !important;
  border-radius: 10px !important;
  margin: 0 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  z-index: 2 !important;
  transition: opacity .38s ease, transform .55s cubic-bezier(.22,1,.36,1), visibility .38s ease !important;
}
.woocommerce ul.products li.product:hover img.rf-hover-img,
.woocommerce ul.products li.product:focus-within img.rf-hover-img,
ul.products li.product:hover img.rf-hover-img,
ul.products li.product:focus-within img.rf-hover-img {
  opacity: 1 !important;
  visibility: visible !important;
  transform: scale(1.03) !important;
}
.woocommerce ul.products li.product:hover a img:not(.rf-hover-img),
ul.products li.product:hover a img:not(.rf-hover-img) {
  transform: scale(1.03) !important;
}

/* 2. Full-Width Magazine Editorial Homepage with Generous Whitespace */
body.home {
  background: #ffffff !important;
}
body.home .elementor-section.elementor-section-boxed > .elementor-container,
body.home .e-con-boxed > .e-con-inner,
body.home .rv-editorial-wrap {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: clamp(20px, 4.5vw, 72px) !important;
  padding-right: clamp(20px, 4.5vw, 72px) !important;
  box-sizing: border-box !important;
}
body.home .elementor-section:not(:first-child) {
  padding-top: clamp(52px, 6vw, 96px);
  padding-bottom: clamp(52px, 6vw, 96px);
}
body.home .elementor-heading-title {
  letter-spacing: -0.02em;
  text-wrap: balance;
}

/* 3. Automatic Editorial Photo Overlays (applies automatically whenever you swap in your own photos) */
.rv-auto-overlay,
.rv-editorial-tile,
.rv-hero-overlay,
[data-rv-overlay],
body.home .elementor-section.rv-auto-overlay,
body.home .e-con.rv-auto-overlay {
  position: relative !important;
  overflow: hidden !important;
}
.rv-auto-overlay::after,
.rv-editorial-tile::after,
.rv-hero-overlay::after,
[data-rv-overlay]::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(180deg, rgba(22, 61, 42, 0.08) 0%, rgba(22, 61, 42, 0.24) 48%, rgba(18, 48, 37, 0.76) 100%) !important;
  pointer-events: none !important;
  z-index: 1 !important;
  transition: opacity .35s ease, background .35s ease !important;
}
.rv-auto-overlay > *,
.rv-editorial-tile > *,
.rv-hero-overlay > *,
[data-rv-overlay] > * {
  position: relative !important;
  z-index: 2 !important;
}
.rv-auto-overlay img,
.rv-editorial-tile img {
  transition: transform .65s cubic-bezier(.22,1,.36,1) !important;
}
.rv-auto-overlay:hover img,
.rv-editorial-tile:hover img {
  transform: scale(1.035) !important;
}
.rv-auto-overlay:hover::after,
.rv-editorial-tile:hover::after {
  background: linear-gradient(180deg, rgba(22, 61, 42, 0.14) 0%, rgba(22, 61, 42, 0.34) 50%, rgba(18, 48, 37, 0.84) 100%) !important;
}

/* 4. Interactive Green Buttons (Forest Green -> Grey #d9d9d9/#c4c4c4 + Black Text; Royal Elementor & Dark Card Actions Safe) */
.rv-btn-primary,
.elementor-button:not(.wpr-button):not(.rv-btn-outline),
.woocommerce a.button:not(.wpr-button):not(.rv-card-atc):not(.rv-card-qv-btn),
.woocommerce button.button:not(.wpr-button):not(.rv-card-atc):not(.rv-card-qv-btn),
.woocommerce input.button:not(.wpr-button),
.woocommerce button.button.alt:not(.wpr-button),
.rf-f-apply,
.rf-sale-banner a {
  background-color: var(--rv2-green, #1c4637) !important;
  color: #fffefa !important;
  border: 1.5px solid var(--rv2-green, #1c4637) !important;
  transition: background-color .22s cubic-bezier(.22,1,.36,1), border-color .22s ease, color .22s ease, transform .18s ease, box-shadow .22s ease !important;
}
.rv-btn-primary:hover,
.rv-btn-primary:focus-visible,
.elementor-button:not(.wpr-button):not(.rv-btn-outline):hover,
.elementor-button:not(.wpr-button):not(.rv-btn-outline):focus-visible,
.woocommerce a.button:not(.wpr-button):not(.rv-card-atc):not(.rv-card-qv-btn):hover,
.woocommerce button.button:not(.wpr-button):not(.rv-card-atc):not(.rv-card-qv-btn):hover,
.woocommerce input.button:not(.wpr-button):hover,
.woocommerce button.button.alt:not(.wpr-button):hover,
.rf-f-apply:hover,
.rf-sale-banner a:hover {
  background-color: #d9d9d9 !important;
  border-color: #b8b8b8 !important;
  color: #000000 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12) !important;
}
.rv-btn-primary:active,
.elementor-button:not(.wpr-button):not(.rv-btn-outline):active,
.woocommerce a.button:not(.wpr-button):not(.rv-card-atc):not(.rv-card-qv-btn):active,
.woocommerce button.button:not(.wpr-button):not(.rv-card-atc):not(.rv-card-qv-btn):active,
.woocommerce button.button.alt:not(.wpr-button):active,
.rf-f-apply:active,
.rf-sale-banner a:active {
  background-color: #c4c4c4 !important;
  border-color: #a3a3a3 !important;
  color: #000000 !important;
  transform: translateY(0) !important;
}
.rv-btn-outline,
.elementor-button.rv-btn-outline {
  background-color: transparent !important;
  color: var(--rv2-green, #1c4637) !important;
  border: 1.5px solid var(--rv2-green, #1c4637) !important;
}
.rv-btn-outline:hover,
.rv-btn-outline:focus-visible,
.elementor-button.rv-btn-outline:hover {
  background-color: var(--rv2-green, #1c4637) !important;
  color: #fffefa !important;
  box-shadow: 0 8px 20px rgba(28, 70, 55, 0.18) !important;
}

/* 5. Login-Required Product Review Gate */
.rv-review-login-gate {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 20px;
  padding: 20px 24px;
  margin: 18px 0 24px;
  border: 1px solid var(--rv2-line, #e4ded4);
  border-radius: 12px;
  background: var(--rv2-cream, #f7f3eb);
}
.rv-review-login-copy {
  margin: 0 !important;
  color: var(--rv2-ink, #222620);
  font-size: 14.5px;
  line-height: 1.5;
  flex: 1 1 260px;
}
.rv-review-login-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 11px 20px !important;
  border-radius: 8px !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  white-space: nowrap;
}

/* 6. Editorial Trust Marquee Strip */
.rv-marquee {
  width: 100%;
  overflow: hidden;
  border-top: 1px solid var(--rv2-line, #e4ded4);
  border-bottom: 1px solid var(--rv2-line, #e4ded4);
  background: var(--rv2-cream, #f7f3eb);
  padding: 14px 0;
}
.rv-marquee-track {
  display: flex;
  width: max-content;
  gap: 36px;
  animation: rv-marquee-scroll 34s linear infinite;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rv2-green, #1c4637);
}
@keyframes rv-marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .rv-marquee-track { animation: none; }
}


/* ==========================================================================
   Rugvera v2.3.0 — True Full-Width Editorial Homepage Override (Beats Theme
   Boxed Containers), Editorial PDP Accordions + 2x2 Spec Grid, & Review Gate
   ========================================================================== */

/* Force true edge-to-edge full-width homepage across Astra, Hello Elementor, Storefront, and Elementor Flex Containers */
body.home,
body.front-page {
  background: #ffffff !important;
  overflow-x: clip !important;
}
body.home #page,
body.home #content,
body.home .site-content,
body.home .ast-container,
body.home #primary,
body.home .site-main,
body.home article.page,
body.home .entry-content,
body.home .wp-site-blocks,
body.front-page #page,
body.front-page #content,
body.front-page .site-content,
body.front-page .ast-container,
body.front-page #primary,
body.front-page .site-main,
body.front-page .entry-content {
  max-width: 100% !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box !important;
}
body.home .elementor > .e-con:not([class*="wpr-popup"]):not([class*="wpr-modal"]),
body.home .e-con.e-parent:not([class*="wpr-popup"]):not([class*="wpr-modal"]),
body.home .e-con-boxed.e-parent:not([class*="wpr-popup"]):not([class*="wpr-modal"]),
body.front-page .elementor > .e-con:not([class*="wpr-popup"]):not([class*="wpr-modal"]),
body.front-page .e-con.e-parent:not([class*="wpr-popup"]):not([class*="wpr-modal"]),
body.front-page .e-con-boxed.e-parent:not([class*="wpr-popup"]):not([class*="wpr-modal"]) {
  --content-width: 100% !important;
  --container-max-width: 100% !important;
  max-width: 100% !important;
  width: 100% !important;
}
:where(body.home) .e-con-boxed.e-parent > .e-con-inner,
:where(body.home) .elementor-section.elementor-section-boxed > .elementor-container,
:where(body.front-page) .e-con-boxed.e-parent > .e-con-inner,
:where(body.front-page) .elementor-section.elementor-section-boxed > .elementor-container {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: clamp(20px, 4.5vw, 72px);
  padding-right: clamp(20px, 4.5vw, 72px);
  box-sizing: border-box !important;
}
body.home .e-con-full.rv-auto-overlay,
body.home .elementor-section.rv-auto-overlay {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
body.home .elementor-widget-heading:not([class*="wpr-"]) .elementor-heading-title,
body.front-page .elementor-widget-heading:not([class*="wpr-"]) .elementor-heading-title {
  font-family: Georgia, "Times New Roman", serif !important;
  font-weight: 400 !important;
  letter-spacing: -0.02em !important;
  line-height: 1.12 !important;
}
body.home .woocommerce ul.products,
body.front-page .woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(var(--rf-columns, 4), minmax(0, 1fr)) !important;
  gap: clamp(16px, 2vw, 28px) !important;
  width: 100% !important;
}
body.home .woocommerce ul.products::before,
body.home .woocommerce ul.products::after {
  display: none !important;
}
body.home .woocommerce ul.products li.product,
body.front-page .woocommerce ul.products li.product {
  width: 100% !important;
  margin: 0 !important;
  float: none !important;
}
@media (max-width: 1024px) {
  body.home .woocommerce ul.products,
  body.front-page .woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* Editorial PDP Description, Note Bar & Collapsible Accordions (Loops-inspired structure in Rugvera's palette) */
.rv-pdp-editorial-stack {
  max-width: 1040px;
  margin: 40px auto 28px;
  padding: 0 clamp(16px, 3vw, 24px);
  box-sizing: border-box;
}
.rv-pdp-note-bar {
  padding: 18px 22px;
  margin-bottom: 24px;
  background: var(--rv2-cream, #f7f3eb);
  border-left: 3px solid var(--rv2-green, #1c4637);
  border-radius: 0 10px 10px 0;
}
.rv-pdp-note-bar strong {
  display: block;
  font-size: 12px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--rv2-green, #1c4637);
  margin-bottom: 6px;
}
.rv-pdp-note-bar p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--rv2-ink, #222620);
}
.rv-pdp-note-bar a {
  color: var(--rv2-rust, #a35233);
  font-weight: 600;
  text-decoration: underline;
}

.rv-pdp-accordions {
  border-top: 1px solid var(--rv2-line, #e4ded4);
  margin-bottom: 40px;
}
.rv-pdp-acc {
  border-bottom: 1px solid var(--rv2-line, #e4ded4);
}
.rv-pdp-acc summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 4px;
  cursor: pointer;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  color: var(--rv2-ink, #222620);
  user-select: none;
  transition: color .2s ease;
}
.rv-pdp-acc summary::-webkit-details-marker { display: none; }
.rv-pdp-acc summary:hover { color: var(--rv2-rust, #a35233); }
.rv-acc-icon {
  position: relative;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}
.rv-acc-icon::before,
.rv-acc-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 16px;
  height: 1.5px;
  background: var(--rv2-green, #1c4637);
  transform: translateY(-50%);
  transition: transform .22s ease, opacity .22s ease;
}
.rv-acc-icon::after {
  transform: translateY(-50%) rotate(90deg);
}
.rv-pdp-acc[open] .rv-acc-icon::after {
  transform: translateY(-50%) rotate(0deg);
  opacity: 0;
}
.rv-pdp-acc-body {
  padding: 0 4px 24px;
  color: var(--rv2-muted, #5d625a);
  font-size: 15px;
  line-height: 1.7;
}
.rv-pdp-acc-body p { margin: 0 0 14px; color: var(--rv2-ink, #222620); }
.rv-pdp-acc-list {
  margin: 0;
  padding-left: 20px;
  color: var(--rv2-ink, #222620);
}
.rv-pdp-acc-list li { margin-bottom: 8px; }

.rv-pdp-spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 24px;
  margin: 22px 0 4px;
  padding: 18px 20px;
  background: var(--rv2-cream, #f7f3eb);
  border-radius: 10px;
  border: 1px solid var(--rv2-line, #e4ded4);
}
.rv-pdp-spec-grid > div {
  min-width: 0;
}
.rv-pdp-spec-grid dt {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rv2-green, #1c4637);
  margin: 0 0 4px;
}
.rv-pdp-spec-grid dd {
  margin: 0;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--rv2-ink, #222620);
}
@media (max-width: 600px) {
  .rv-pdp-spec-grid { grid-template-columns: 1fr; gap: 12px; padding: 14px 16px; }
  .rv-pdp-acc summary { font-size: 17.5px; padding: 16px 2px; }
}

/* Logged-out visitors only see existing reviews + the Sign In gate (never the guest review form) */
.rv-reviews-logged-out #review_form_wrapper,
.rv-reviews-logged-out #respond {
  display: none !important;
}


/* ==========================================================================
   Rugvera v2.4.0 — Full-Width All Templates, Complete Mobile Responsive Fix,
   High-Specificity Interactive Color-Shifting Buttons & Universal Review Gate
   ========================================================================== */

/* 1. Full-width editorial layout across ALL pages and Elementor templates */
body.page,
body.woocommerce,
body.woocommerce-page,
body.single-product,
body.home,
body.front-page {
  overflow-x: clip !important;
}
body.page #page,
body.page #content,
body.page .site-content,
body.page .ast-container,
body.page #primary,
body.page .site-main,
body.page article.page,
body.page .entry-content,
body.woocommerce #page,

/* ==========================================================================
   Full-Width Containers (Editor-Safe) & Royal Elementor Safe Responsive Rules
   ========================================================================== */
body.rv-full-width-active.woocommerce-page:not(.elementor-editor-active) #primary,
body.rv-full-width-active.woocommerce-page:not(.elementor-editor-active) .site-main {
  max-width: 100% !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box !important;
}

body.rv-full-width-active:not(.elementor-editor-active) .elementor > .e-con:not([class*="wpr-popup"]):not([class*="wpr-modal"]),
body.rv-full-width-active:not(.elementor-editor-active) .e-con.e-parent:not([class*="wpr-popup"]):not([class*="wpr-modal"]),
body.rv-full-width-active:not(.elementor-editor-active) .e-con-boxed.e-parent:not([class*="wpr-popup"]):not([class*="wpr-modal"]),
body.rv-full-width-active:not(.elementor-editor-active) .elementor-section:not([class*="wpr-popup"]):not([class*="wpr-modal"]) {
  --content-width: 100% !important;
  --container-max-width: 100% !important;
  max-width: 100% !important;
  width: 100% !important;
}

body.rv-full-width-active:not(.elementor-editor-active) .e-con-boxed.e-parent > .e-con-inner,
body.rv-full-width-active:not(.elementor-editor-active) .elementor-section.elementor-section-boxed > .elementor-container,
body.rv-full-width-active.woocommerce-page:not(.elementor-editor-active) .woocommerce,
body.rv-full-width-active.single-product:not(.elementor-editor-active) .product {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: clamp(16px, 3.2vw, 48px) !important;
  padding-right: clamp(16px, 3.2vw, 48px) !important;
  box-sizing: border-box !important;
}

body.rv-guest-user.single-product #review_form_wrapper,
body.rv-guest-user.single-product #respond,
body.rv-guest-user.single-product .comment-respond,
body.rv-guest-user #reviews #review_form_wrapper,
body.rv-guest-user #reviews #respond,
body.rv-guest-user #reviews-section #review_form_wrapper,
body.rv-guest-user #reviews-section #respond {
  display: none !important;
}
.rv-review-login-gate + .rv-review-login-gate {
  display: none !important;
}

@media (max-width: 768px) {
  html, body {
    max-width: 100% !important;
    overflow-x: clip !important;
  }
  body:not(.elementor-editor-active) .elementor .e-con,
  body:not(.elementor-editor-active) .elementor .e-con-inner {
    box-sizing: border-box !important;
    max-width: 100% !important;
  }
  body.rv-full-width-active:not(.elementor-editor-active) .e-con-boxed.e-parent > .e-con-inner,
  body.rv-full-width-active:not(.elementor-editor-active) .elementor-section.elementor-section-boxed > .elementor-container,
  body.woocommerce-page:not(.elementor-editor-active) .woocommerce,
  body.single-product:not(.elementor-editor-active) .product {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
  html body:not(#_rv_unused) .rf-scroll-mobile .woocommerce ul.products,
  html body:not(#_rv_unused) .rf-scroll-mobile ul.products {
    display: grid !important;
    grid-template-columns: none !important;
    grid-auto-flow: column !important;
    grid-auto-columns: minmax(162px, 46%) !important;
    gap: 12px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    align-items: stretch !important;
    padding-bottom: 10px !important;
  }
  .rv-review-login-gate {
    flex-direction: column !important;
    align-items: stretch !important;
    text-align: center !important;
    padding: 16px !important;
  }
  .rv-review-login-btn {
    width: 100% !important;
  }
}

/* ==========================================================================
   Rugvera v2.7.0 — 2-Row Compact Circular Categories, Shop Rugs Dropdown Menu,
   PDP + Custom Size Drawer, Front-Page Custom Showcase & Collection Intro
   ========================================================================== */

/* 1. Compact 2-Row Circular Category Showcase (10 categories · Full Width Balanced 5x2) */
.rv-cat-circles-wrap {
  width: 100%;
  max-width: 100%;
  margin: 2px 0 0;
  padding: 2px 0 0;
  box-sizing: border-box;
}

.rv-cat-circles-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px 18px;
  justify-items: center;
  align-items: start;
}

.rv-cat-circle-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none !important;
  color: var(--rv2-ink, #222620) !important;
  width: 100%;
  max-width: 168px;
  padding: 4px;
  box-sizing: border-box;
  transition: transform 0.2s ease;
}

.rv-cat-circle-thumb {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  overflow: hidden;
  display: block;
  background: var(--rv2-cream, #f2ede4);
  border: 1.5px solid #dfd7c8;
  box-shadow: 0 3px 10px rgba(28, 70, 55, 0.08);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.rv-cat-circle-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  border-radius: 50% !important;
  margin: 0 !important;
}

.rv-cat-circle-card:hover .rv-cat-circle-thumb,
.rv-cat-circle-card:focus-visible .rv-cat-circle-thumb {
  transform: translateY(-2px);
  border-color: var(--rv2-green, #1c4637);
  box-shadow: 0 8px 18px rgba(28, 70, 55, 0.14);
}

.rv-cat-circle-label {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.28;
  text-align: center;
  color: var(--rv2-ink, #222620);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rv-cat-circle-meta {
  position: absolute;
  top: 4px;
  right: calc(50% - 46px);
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--rv2-green, #1c4637);
  color: #fffefa;
  font-size: 10px;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.16);
}

body:not(.elementor-editor-active) .elementor-element-97fa4239 {
  padding-top: 26px !important;
  padding-bottom: 24px !important;
}

body:not(.elementor-editor-active) .elementor-element-b300d4ab {
  padding-top: 34px !important;
}

@media (max-width: 767px) {
  .rv-cat-circles-wrap {
    max-width: 100%;
    padding: 4px 0 8px;
    overflow: visible;
  }
  .rv-cat-circles-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    grid-auto-flow: row;
    gap: 12px 4px;
    justify-content: stretch;
    justify-items: center;
    padding: 2px 0 6px;
  }
  .rv-cat-circle-card {
    max-width: none;
    padding: 2px;
    gap: 5px;
    min-width: 0;
  }
  .rv-cat-circle-thumb {
    width: 52px;
    height: 52px;
  }
  .rv-cat-circle-label {
    font-size: 10.5px;
    line-height: 1.2;
  }
  .rv-cat-circle-meta {
    top: 1px;
    right: calc(50% - 26px);
    min-width: 15px;
    height: 15px;
    line-height: 15px;
    font-size: 8.5px;
    padding: 0 4px;
  }
}

@media (max-width: 359px) {
  .rv-cat-circle-thumb {
    width: 46px;
    height: 46px;
  }
  .rv-cat-circle-label {
    font-size: 9.5px;
  }
  .rv-cat-circle-meta {
    right: calc(50% - 23px);
  }
}

/* 2. Shop Rugs Dropdown Menu (Shop Rugs v · Custom Rugs · About RUGVERA) */
ul.rv-primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 26px;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.rv-nav-dropdown {
  position: relative;
}

.rv-nav-trigger-wrap {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.rv-nav-caret {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  border: 0 !important;
  padding: 4px !important;
  color: inherit !important;
  cursor: pointer;
  min-width: 24px;
  min-height: 24px;
}

.rv-nav-caret svg {
  width: 10px !important;
  height: 7px !important;
  flex: none !important;
  display: block !important;
  stroke: currentColor !important;
}

.rv-mega-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(18, 28, 22, 0.42);
  z-index: 99979;
}
.rv-mega-backdrop[hidden] {
  display: none !important;
}

.rv-nav-panel,
.rv-mega-panel {
  position: fixed;
  top: 148px;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 22px clamp(16px, 3vw, 48px) 26px;
  box-sizing: border-box;
  border-radius: 0;
  background: #fffefa !important;
  border-top: 1px solid #dfd7c8;
  border-bottom: 1px solid #dfd7c8;
  box-shadow: 0 22px 48px rgba(18, 28, 22, 0.22);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 99980;
  overflow-y: auto;
  text-align: left;
  transition: opacity 0.16s ease;
}

.rv-nav-panel.is-open,
.rv-mega-panel.is-open {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.rv-mega-inner {
  width: 100%;
  max-width: 1520px;
  margin: 0 auto;
  box-sizing: border-box;
}

.rv-mega-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 18px;
  border-bottom: 1px solid #ece5d8;
}

.rv-mega-heading {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  color: #1c4637 !important;
  font-weight: 400;
}

.rv-mega-head-actions {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

html body:not(#_rv_unused) .rv-mega-panel a.rv-mega-head-all {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #1c4637 !important;
  padding: 6px 10px !important;
  border-radius: 6px;
  background: #eef4f0 !important;
}

.rv-mega-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #d9d1c4 !important;
  background: #f7f3eb !important;
  color: #222620 !important;
  font-size: 22px;
  line-height: 1;
  padding: 0 !important;
  cursor: pointer;
}

.rv-mega-close:hover {
  background: #1c4637 !important;
  color: #fffefa !important;
  border-color: #1c4637 !important;
}

.rv-mega-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.05fr;
  gap: 20px 28px;
  align-items: start;
}

.rv-nav-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

html body:not(#_rv_unused) .rv-nav-panel,
html body:not(#_rv_unused) .rv-mega-panel {
  background: #fffefa !important;
  color: #222620 !important;
}

html body:not(#_rv_unused) .rv-nav-panel .rv-nav-group-title,
html body:not(#_rv_unused) .rv-mega-panel .rv-nav-group-title {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rv2-rust, #8c3b20) !important;
  margin-bottom: 6px;
}

html body:not(#_rv_unused) .rv-nav-panel a,
html body:not(#_rv_unused) .rv-mega-panel a {
  display: block !important;
  padding: 6px 8px !important;
  border-radius: 6px;
  font-size: 13.5px !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  font-weight: 500 !important;
  color: #222620 !important;
  text-decoration: none !important;
}

html body:not(#_rv_unused) .rv-nav-panel a:hover,
html body:not(#_rv_unused) .rv-mega-panel a:hover {
  background: #f2ede4 !important;
  color: #1c4637 !important;
}

html body:not(#_rv_unused) .rv-mega-panel a.rv-mega-feature-link {
  display: flex !important;
  align-items: center;
  gap: 12px;
  padding: 9px 10px !important;
  border: 1px solid #ece5d8;
  background: #faf8f3 !important;
  border-radius: 10px;
  margin-bottom: 6px;
}

html body:not(#_rv_unused) .rv-mega-panel a.rv-mega-feature-link:hover {
  background: #eef4f0 !important;
  border-color: #c5d6cc;
}

.rv-mega-swatch {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 50%;
  overflow: hidden;
  border: 1.5px solid #dfd7c8;
  background: #f2ede4;
}

.rv-mega-swatch img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.rv-mega-feature-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.rv-mega-feature-copy strong {
  font-size: 14px;
  font-weight: 700;
  color: #1c4637 !important;
}

.rv-mega-feature-copy small {
  font-size: 12px;
  color: #5d625a !important;
}

html body:not(#_rv_unused) .rv-nav-panel a.rv-nav-all-link {
  margin-top: 6px;
  font-weight: 700 !important;
  color: #1c4637 !important;
}

html body:not(#_rv_unused) .rv-mega-panel a.rv-mega-promo-card {
  display: flex !important;
  flex-direction: column;
  padding: 0 !important;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid #dfd7c8;
  background: #f7f3eb !important;
}

.rv-mega-promo-img img {
  width: 100%;
  height: 124px;
  object-fit: cover;
  display: block;
}

.rv-mega-promo-body {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 12px 14px;
}

.rv-mega-promo-kicker {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #8c3b20 !important;
}

.rv-mega-promo-body strong {
  font-size: 14.5px;
  color: #1c4637 !important;
}

.rv-mega-promo-cta {
  font-size: 12.5px;
  font-weight: 700;
  color: #1c4637 !important;
  margin-top: 2px;
}

html body:not(#_rv_unused) .rv-nav-caret {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: inherit !important;
}

html body:not(#_rv_unused) .rv-nav-caret svg {
  display: block !important;
  stroke: currentColor !important;
}

html body:not(#_rv_unused) .rf-search-recent {
  background: #ffffff !important;
  color: #222620 !important;
}

html body:not(#_rv_unused) .rf-search-recent button {
  color: #222620 !important;
  background: transparent !important;
}

body:not(.elementor-editor-active) .e-con:has(.rf-search),
body:not(.elementor-editor-active) .e-con:has(ul.rv-primary-nav),
body:not(.elementor-editor-active) ul.rv-primary-nav {
  overflow: visible !important;
}

@media (max-width: 1024px) {
  .rv-mega-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 20px;
  }
}

@media (max-width: 767px) {
  ul.rv-primary-nav {
    position: relative;
    gap: 4px 10px;
    flex-wrap: wrap;
    justify-content: center;
  }
  ul.rv-primary-nav a {
    font-size: 11px !important;
    letter-spacing: 0.04em !important;
  }
  .rv-nav-caret {
    min-width: 22px;
    min-height: 22px;
    padding: 2px !important;
  }
  .rv-nav-panel,
  .rv-mega-panel {
    padding: 14px 14px 20px;
  }
  .rv-mega-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .rv-mega-promo-img img {
    height: 100px;
  }
}

/* 3. PDP "+ Custom Size" Pill & Inline Custom Quote Drawer */
.rv-size-pill--custom {
  border-style: dashed !important;
  border-color: var(--rv2-rust, #a35233) !important;
  color: var(--rv2-rust, #8c3b20) !important;
}

.rv-size-pill--custom.is-open {
  background: var(--rv2-rust, #8c3b20) !important;
  color: #fffefa !important;
  border-style: solid !important;
}

.rv-size-pill--custom.is-open .rv-pill-dim,
.rv-size-pill--custom.is-open .rv-pill-hint,
.rv-size-pill--custom.is-open small {
  color: #fffefa !important;
  opacity: 0.95 !important;
}

.rv-pdp-custom-drawer {
  margin-top: 14px;
  padding: 16px 18px;
  border-radius: 12px;
  background: var(--rv2-cream, #f7f3eb);
  border: 1px solid #dfd7c8;
}

.rv-pdp-custom-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.rv-pdp-custom-head strong {
  font-size: 14px;
  color: var(--rv2-green, #1c4637);
}

.rv-pdp-custom-close {
  border: 0 !important;
  background: transparent !important;
  font-size: 20px;
  line-height: 1;
  color: #5f665e !important;
  cursor: pointer;
  padding: 2px 6px !important;
}

.rv-pdp-custom-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
}

.rv-pdp-custom-grid label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  color: #222620;
}

.rv-pdp-custom-grid input {
  width: 100%;
  min-height: 38px;
  padding: 7px 10px;
  border: 1px solid #cfc8bc;
  border-radius: 8px;
  background: #fff;
  font-size: 13px;
  box-sizing: border-box;
}

.rv-pdp-custom-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.rv-pdp-custom-actions > * {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

@media (max-width: 600px) {
  .rv-pdp-custom-grid {
    grid-template-columns: 1fr;
  }
  .rv-pdp-custom-actions > * {
    width: 100%;
  }
}

/* 4. Collection Archive Intro & Front-Page Custom Rug Showcase */
.rv-collection-intro {
  max-width: 740px;
  margin: 0 0 24px;
  padding: 16px 20px;
  border-radius: 12px;
  background: var(--rv2-cream, #f7f3eb);
  border-left: 3px solid var(--rv2-green, #1c4637);
}

.rv-collection-intro p {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.62;
  color: var(--rv2-ink, #222620);
}

.rv-collection-intro-cta {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--rv2-green, #1c4637);
  text-decoration: underline;
}

.rv-home-custom-section {
  width: 100%;
  max-width: 100%;
  margin: 28px 0;
  padding: 0 clamp(16px, 2.8vw, 44px);
  box-sizing: border-box;
}

.rv-home-custom-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: 28px;
  padding: 26px;
  border-radius: 18px;
  background: #f7f3eb;
  border: 1px solid #dfd7c8;
}

.rv-home-custom-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.rv-home-custom-kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--rv2-rust, #8c3b20);
  margin-bottom: 8px;
}

.rv-home-custom-copy h2 {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 2.8vw, 34px);
  line-height: 1.15;
  color: #1c4637;
}

.rv-home-custom-copy p {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.6;
  color: #222620;
}

.rv-home-custom-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.rv-home-custom-btn,
.rv-home-custom-wa {
  min-height: 44px;
  padding: 10px 20px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.rv-home-custom-wa {
  border: 1.5px solid #1c4637;
  color: #1c4637;
  background: transparent;
}

@media (max-width: 767px) {
  .rv-home-custom-inner {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 18px;
  }
  .rv-home-custom-btn,
  .rv-home-custom-wa {
    width: 100%;
  }
}


/* ==========================================================================
   v3.0.0 — Mobile Slide-Out Accordion Drawer & Quick-View Modal
   ========================================================================== */
.rv-mob-accordions {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.rv-mob-acc {
  border: 1px solid #e4ded4;
  border-radius: 10px;
  background: #faf8f3;
  overflow: hidden;
}

.rv-mob-acc summary {
  list-style: none;
  cursor: pointer;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13.5px;
  font-weight: 700;
  color: #1c4637;
}

.rv-mob-acc summary::-webkit-details-marker {
  display: none;
}

.rv-mob-acc-plus {
  width: 14px;
  height: 14px;
  position: relative;
  display: inline-block;
  flex: none;
}

.rv-mob-acc-plus::before,
.rv-mob-acc-plus::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 1.8px;
  background: #1c4637;
  transform: translate(-50%, -50%);
  transition: transform 0.18s ease;
}

.rv-mob-acc-plus::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.rv-mob-acc[open] .rv-mob-acc-plus::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.rv-mob-acc-body {
  padding: 2px 14px 12px;
  display: grid;
  gap: 6px;
  border-top: 1px solid #ece5d8;
}

.rv-mob-acc-body a {
  display: block;
  padding: 7px 4px;
  font-size: 13.5px;
  color: #222620;
  text-decoration: none;
}

.rv-mob-acc-thumb-link {
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 6px 4px !important;
}

.rv-mob-acc-thumb-link img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #dfd7c8;
}

.rv-mob-acc-all {
  font-weight: 700 !important;
  color: #1c4637 !important;
  margin-top: 2px;
}

/* Quick-View Eye Modal */
.rv-qv-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(18, 28, 22, 0.48);
  z-index: 99990;
}

.rv-qv-backdrop[hidden],
.rv-qv-modal[hidden] {
  display: none !important;
}

.rv-qv-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(760px, calc(100vw - 24px));
  max-height: calc(100vh - 36px);
  overflow-y: auto;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.24);
  z-index: 99995;
  padding: 24px;
  box-sizing: border-box;
}

.rv-qv-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #e4ded4;
  background: #faf8f4;
  color: #1c1c1c;
  cursor: pointer;
}

.rv-qv-loading {
  padding: 40px 20px;
  text-align: center;
  font-size: 14px;
  color: #555;
}

.rv-qv-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 24px;
  align-items: start;
}

.rv-qv-media img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: #f6f4f0;
  display: block;
}

.rv-qv-brand {
  display: inline-block;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #555;
  border-bottom: 1px solid #333;
  margin-bottom: 6px;
}

.rv-qv-info h2 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.3;
  color: #1c1c1c;
}

.rv-qv-rating {
  font-size: 12px;
  color: #1c1c1c;
  margin-bottom: 8px;
}

.rv-qv-rating span {
  color: #c57b38;
}

.rv-qv-price {
  font-size: 17px;
  font-weight: 600;
  color: #1c1c1c;
  margin-bottom: 12px;
}

.rv-qv-desc {
  font-size: 13.5px;
  line-height: 1.55;
  color: #555;
  margin: 0 0 14px;
}

.rv-qv-sizes-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #1c4637;
  margin-bottom: 8px;
}

.rv-qv-sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.rv-qv-size-btn {
  padding: 6px 10px;
  border: 1px solid #d5cfc5;
  border-radius: 4px;
  background: #fff;
  color: #1c1c1c;
  font-size: 12px;
  cursor: pointer;
}

.rv-qv-size-btn.is-active {
  border-color: #1c1c1c;
  background: #1c1c1c;
  color: #fff;
}

.rv-qv-actions {
  display: grid;
  gap: 8px;
}

.rv-qv-atc {
  width: 100%;
  height: 42px;
  background: #2b2b2b;
  color: #fff;
  border: 0;
  border-radius: 2px;
  font-size: 13.5px;
  cursor: pointer;
}

.rv-qv-atc:hover {
  background: #d9d9d9;
  color: #000;
}

.rv-qv-link {
  display: inline-block;
  text-align: center;
  padding: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #1c4637;
  text-decoration: underline;
}

@media (max-width: 680px) {
  .rv-qv-modal {
    padding: 18px;
  }
  .rv-qv-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .rv-qv-media img {
    max-height: 280px;
  }
}


/* ==========================================================================
   v3.1.0 — Product Card Side-by-Side Row Fix, Image Slice Fix,
   Related Products, PDP Gallery Slider Arrows, Auth Review Modal,
   Modern Header Search, Modern E-Commerce Footer & Elementor-Safe Hero
   ========================================================================== */

/* 1. Card Fixes: single-row [Add to cart] [Eye], hide Astra category label & extra slice */
ul.products li.product .ast-woo-product-category {
  display: none !important;
}

body .woocommerce ul.products li.product .astra-shop-thumbnail-wrap,
body .woocommerce ul.products li.product a.woocommerce-loop-product__link:first-of-type {
  position: relative !important;
  overflow: hidden !important;
  aspect-ratio: var(--rv-card-ratio, 3 / 4) !important;
  display: block !important;
  width: 100% !important;
}

ul.products li.product .astra-shop-thumbnail-wrap img:not(:first-of-type):not(.rf-hover-img),
ul.products li.product a.woocommerce-loop-product__link img:not(:first-of-type):not(.rf-hover-img) {
  display: none !important;
}

body .woocommerce ul.products li.product > a.button:not(.rv-card-qv-btn),
body .woocommerce ul.products li.product .astra-shop-summary-wrap > a.button:not(.rv-card-qv-btn) {
  display: none !important;
}

html body .rv-card-actions-bar {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 40px !important;
  gap: 6px !important;
  align-items: stretch !important;
  width: 100% !important;
  margin-top: 10px !important;
  box-sizing: border-box !important;
}

html body .rv-card-actions-bar .button,
html body .rv-card-actions-bar a.rv-card-atc,
html body .woocommerce ul.products li.product .rv-card-actions-bar .button,
html body .rf-widget .woocommerce ul.products li.product .rv-card-actions-bar .button {
  width: 100% !important;
  min-width: 0 !important;
  height: 40px !important;
  min-height: 40px !important;
  margin: 0 !important;
  padding: 0 10px !important;
  border-radius: 3px !important;
  border: 0 !important;
  background-color: #2b2b2b !important;
  color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  letter-spacing: 0.01em !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: none !important;
  transform: none !important;
}

html body .rv-card-actions-bar .rv-card-qv-btn {
  width: 40px !important;
  min-width: 40px !important;
  height: 40px !important;
  min-height: 40px !important;
  border-radius: 3px !important;
  border: 0 !important;
  background-color: #2b2b2b !important;
  color: #ffffff !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  margin: 0 !important;
}

html body .rv-card-actions-bar .button:hover,
html body .rv-card-actions-bar a.rv-card-atc:hover,
html body .rv-card-actions-bar .rv-card-qv-btn:hover {
  background-color: #d9d9d9 !important;
  color: #000000 !important;
}

/* Tactile Like (Heart) button & saved toast feedback */
ul.products li.product .rf-wish-toggle {
  width: 34px !important;
  height: 34px !important;
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.14) !important;
  color: #2b2b2b !important;
}

ul.products li.product .rf-wish-toggle[aria-pressed="true"],
ul.products li.product .rf-wish-toggle.is-saved {
  color: #c8372d !important;
  border-color: #f0c2be !important;
  background: #ffffff !important;
}

.rv-like-toast {
  position: fixed;
  left: 50%;
  bottom: 76px;
  transform: translate(-50%, 16px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 10020;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #142b24;
  color: #fffefa;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s linear 0.22s;
}

.rv-like-toast.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s linear 0s;
}

.rv-like-toast button {
  border: 0;
  background: rgba(255, 254, 250, 0.18);
  color: #fffefa;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 767px) {
  html body .rv-card-actions-bar {
    grid-template-columns: minmax(0, 1fr) 38px !important;
    gap: 5px !important;
    margin-top: 8px !important;
  }
  html body .rv-card-actions-bar .button,
  html body .rv-card-actions-bar a.rv-card-atc {
    height: 38px !important;
    min-height: 38px !important;
    font-size: 12px !important;
    padding: 0 8px !important;
  }
  html body .rv-card-actions-bar .rv-card-qv-btn {
    width: 38px !important;
    min-width: 38px !important;
    height: 38px !important;
    min-height: 38px !important;
  }
  html body section.related ul.products,
  html body .related.products ul.products,
  html body section.upsells ul.products {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 24px 12px !important;
  }
}

/* 2. PDP Gallery Overlay Arrows (< / >), Compact Thumbnails & Zero Excess Empty Space */
body.single-product .woocommerce-product-gallery ul.flex-direction-nav {
  display: none !important;
  list-style: none !important;
}

body.single-product .woocommerce-product-gallery .flex-viewport {
  height: auto !important;
  max-height: min(64vh, 520px) !important;
  overflow: hidden !important;
  border-radius: 12px !important;
}

body.single-product .woocommerce-product-gallery .flex-viewport img,
body.single-product .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image img {
  max-height: min(64vh, 520px) !important;
  width: 100% !important;
  height: auto !important;
  object-fit: cover !important;
  border-radius: 12px !important;
  display: block !important;
}

@media (min-width: 901px) {
  body.single-product.rv-v2-editorial-pdp div.product {
    display: grid !important;
    grid-template-columns: minmax(0, 52%) minmax(0, 44%) !important;
    column-gap: 4% !important;
    row-gap: 24px !important;
    align-items: start !important;
  }
  body.single-product.rv-v2-editorial-pdp div.product div.images,
  body.single-product div.product .woocommerce-product-gallery {
    position: relative !important;
    top: auto !important;
    bottom: auto !important;
    grid-column: 1 !important;
    align-self: start !important;
    z-index: 1 !important;
    height: auto !important;
  }
  body.single-product.rv-v2-editorial-pdp div.product div.summary {
    grid-column: 2 !important;
    position: relative !important;
    top: auto !important;
    z-index: 1 !important;
  }
  body.single-product.rv-v2-editorial-pdp div.product > .rv-pdp-spottable-wrap,
  body.single-product.rv-v2-editorial-pdp div.product > .woocommerce-tabs,
  body.single-product.rv-v2-editorial-pdp div.product > section.related,
  body.single-product.rv-v2-editorial-pdp div.product > section.upsells {
    grid-column: 1 / -1 !important;
    position: relative !important;
    clear: both !important;
    z-index: 2 !important;
    max-width: 100% !important;
    width: 100% !important;
    margin: 12px 0 18px !important;
    padding: 0 !important;
  }
}

body.single-product .woocommerce-product-gallery ol.flex-control-thumbs {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 8px !important;
  overflow-x: auto !important;
  padding: 10px 0 2px !important;
  margin: 0 !important;
  list-style: none !important;
  scrollbar-width: thin;
}

body.single-product .woocommerce-product-gallery ol.flex-control-thumbs li {
  flex: 0 0 68px !important;
  width: 68px !important;
  height: 68px !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  clear: none !important;
}

body.single-product .woocommerce-product-gallery ol.flex-control-thumbs li img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 8px !important;
  opacity: 0.62;
  border: 2px solid transparent;
  transition: opacity 0.18s ease, border-color 0.18s ease;
  cursor: pointer;
}

body.single-product .woocommerce-product-gallery ol.flex-control-thumbs li img.flex-active,
body.single-product .woocommerce-product-gallery ol.flex-control-thumbs li img:hover {
  opacity: 1 !important;
  border-color: var(--rv2-green, #1c4637) !important;
}

@media (max-width: 767px) {
  body.single-product .woocommerce-product-gallery ol.flex-control-thumbs li {
    flex: 0 0 56px !important;
    width: 56px !important;
    height: 56px !important;
  }
  body.single-product .woocommerce-product-gallery .flex-viewport,
  body.single-product .woocommerce-product-gallery .flex-viewport img,
  body.single-product .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image img {
    max-height: 56vh !important;
  }
}

.rv-pdp-gal-arrow {
  position: absolute !important;
  top: 50% !important;
  bottom: auto !important;
  transform: translateY(-50%) !important;
  z-index: 20 !important;
  width: 40px !important;
  height: 40px !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 50% !important;
  border: 1px solid rgba(28, 70, 55, 0.18) !important;
  background: rgba(255, 254, 250, 0.94) !important;
  color: #1c1c1c !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16) !important;
  cursor: pointer !important;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.rv-pdp-gal-arrow:hover,
.rv-pdp-gal-arrow:focus-visible {
  background: #d9d9d9 !important;
  border-color: #b8b8b8 !important;
  color: #000000 !important;
  transform: translateY(-50%) !important;
}

.rv-pdp-gal-arrow:active {
  background: #c4c4c4 !important;
  border-color: #a3a3a3 !important;
  color: #000000 !important;
  transform: translateY(-50%) !important;
}

.rv-pdp-gal-prev {
  left: 12px !important;
}

.rv-pdp-gal-next {
  right: 12px !important;
}

.rv-pdp-gal-counter {
  position: absolute !important;
  bottom: 12px !important;
  right: 12px !important;
  z-index: 8 !important;
  padding: 4px 10px !important;
  border-radius: 999px !important;
  background: rgba(20, 43, 36, 0.78) !important;
  color: #fffefa !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em !important;
  pointer-events: none;
}

/* Remove duplicate theme wishlist text & tighten PDP lower spacing */
body.single-product div.summary .yith-wcwl-add-to-wishlist,
body.single-product div.summary a.add_to_wishlist,
body.single-product div.summary .tinv-wraper,
body.single-product div.summary .tinv-wishlist,
body.single-product div.summary .woosw-btn {
  display: none !important;
}

.rv-pdp-editorial-stack,
.rv-pdp-spottable-wrap {
  margin: 14px 0 18px !important;
  max-width: 100% !important;
  padding: 0 !important;
}

/* 3. Customer Auth Modal & Logged-In Review Stars */
.rv-review-login-text strong {
  display: block;
  font-size: 15px;
  color: var(--rv2-green, #1c4637);
  margin-bottom: 3px;
}

.rv-auth-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(18, 28, 22, 0.54);
  backdrop-filter: blur(2px);
  z-index: 99992;
}

.rv-auth-backdrop[hidden],
.rv-auth-modal[hidden] {
  display: none !important;
}

.rv-auth-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(440px, calc(100vw - 24px));
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  background: #fffefa;
  border-radius: 14px;
  border: 1px solid #e4ded4;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
  padding: 24px;
  z-index: 99996;
  box-sizing: border-box;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

.rv-auth-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #dfd7c8;
  background: #f7f3eb;
  color: #1c1c1c;
  cursor: pointer;
}

.rv-auth-kicker {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--rv2-rust, #8c3b20);
  margin-bottom: 4px;
}

.rv-auth-head h3 {
  margin: 0 0 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  line-height: 1.2;
  color: var(--rv2-green, #1c4637);
}

.rv-auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 4px;
  border-radius: 10px;
  background: #f2ede4;
  margin-bottom: 16px;
}

.rv-auth-tabs button {
  min-height: 36px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #4b5249;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.rv-auth-tabs button.is-active {
  background: #ffffff;
  color: #1c4637;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.rv-auth-form {
  display: grid;
  gap: 12px;
}

.rv-auth-form label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 600;
  color: #222620;
}

.rv-auth-form input {
  min-height: 42px;
  padding: 8px 12px;
  border: 1px solid #cfc8bc;
  border-radius: 8px;
  font-size: 14px;
  background: #ffffff;
  color: #1c1c1c;
  box-sizing: border-box;
}

.rv-auth-submit {
  width: 100%;
  min-height: 44px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.rv-auth-foot-link {
  margin: 2px 0 0;
  text-align: center;
  font-size: 12px;
  color: #5d625a;
}

.rv-auth-foot-link a {
  color: var(--rv2-green, #1c4637);
  font-weight: 600;
}

/* Logged-in Review Star Picker & Comment Box */
#reviews-section #review_form_wrapper,
#reviews #review_form_wrapper {
  margin-top: 16px;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid var(--rv2-line, #e4ded4);
  background: #faf8f3;
}

#reviews-section p.stars a,
#reviews p.stars a {
  color: #c57b38 !important;
}

#reviews-section textarea#comment,
#reviews textarea#comment {
  border: 1px solid #cfc8bc;
  border-radius: 8px;
  padding: 10px 12px;
  background: #ffffff;
}

/* 4. Modern Header Search Dropdown */
.rv-header-search-bar {
  border-top: 1px solid var(--rv2-line, #e4ded4);
  background: #fffefa;
  padding: 10px clamp(14px, 3vw, 40px);
}

.rv-header-search-bar[hidden] {
  display: none !important;
}

.rv-header-search-form {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.rv-header-search-form input[type="search"] {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 42px;
  padding: 8px 14px;
  border: 1px solid #cfc8bc;
  border-radius: 999px;
  background: #ffffff;
  color: #1c1c1c;
  font-size: 14px;
  box-sizing: border-box;
}

.rv-header-search-form button[type="submit"] {
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: var(--rv2-green, #1c4637);
  color: #fffefa;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.rv-header-search-form button[type="submit"]:hover {
  background: #d9d9d9;
  color: #000000;
}

.rv-header-search-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #dfd8cc;
  background: #faf8f3;
  color: #1c1c1c;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  flex: 0 0 36px;
}

/* 5. Modern E-Commerce Footer (PC + Mobile) & Mobile Floating Concierge Offset */
.rv-v2-footer {
  padding-top: 0 !important;
}

.rv-foot-cta-band {
  background: #1a372d;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 22px clamp(16px, 3vw, 40px);
}

.rv-foot-cta-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 20px;
}

.rv-foot-cta-kicker {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #d8c8b0;
  margin-bottom: 4px;
}

.rv-foot-cta-copy strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 400;
  color: #fffefa;
}

.rv-foot-cta-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.rv-foot-cta-primary,
.rv-foot-cta-wa {
  min-height: 40px;
  padding: 8px 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none !important;
}

.rv-foot-cta-primary {
  background: #fffefa;
  color: #142b24 !important;
}

.rv-foot-cta-wa {
  border: 1px solid rgba(255, 254, 250, 0.45);
  color: #fffefa !important;
  background: rgba(255, 254, 250, 0.08);
}

.rv-v2-footer .rv-v2-footer-inner {
  padding-top: 40px;
  padding-left: clamp(16px, 3vw, 40px);
  padding-right: clamp(16px, 3vw, 40px);
}

.rv-foot-social-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.rv-foot-social-pills a {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 254, 250, 0.24);
  color: #e9efe9 !important;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none !important;
}

.rv-v2-footer details.rv-v2-foot-col summary {
  list-style: none;
  cursor: pointer;
}

.rv-v2-footer details.rv-v2-foot-col summary::-webkit-details-marker {
  display: none;
}

.rv-v2-foot-links {
  display: flex;
  flex-direction: column;
}

.rv-foot-trust-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.rv-foot-trust-list li strong {
  display: block;
  font-size: 13px;
  color: #fffefa;
}

.rv-foot-trust-list li span {
  display: block;
  font-size: 12px;
  color: #c7d3c9;
  line-height: 1.4;
}

.rv-foot-payments {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.rv-foot-payments span {
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #e9efe9;
}

@media (max-width: 980px) {
  .rv-v2-footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 24px !important;
  }
}

@media (max-width: 767px) {
  .rv-v2-footer {
    padding-bottom: calc(74px + env(safe-area-inset-bottom)) !important;
    margin-top: 28px !important;
  }
  .rv-v2-footer-inner {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    padding-top: 24px !important;
    padding-bottom: 20px !important;
  }
  .rv-v2-footer details.rv-v2-foot-col {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 12px;
  }
  .rv-v2-footer details.rv-v2-foot-col summary h4 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
  }
  .rv-v2-footer details.rv-v2-foot-col summary h4::after {
    content: "+";
    font-size: 16px;
    font-weight: 400;
  }
  .rv-v2-footer details.rv-v2-foot-col[open] summary h4::after {
    content: "−";
  }
  .rv-foot-cta-btns {
    width: 100%;
  }
  .rv-foot-cta-primary,
  .rv-foot-cta-wa {
    flex: 1 1 140px;
  }
  .rv-v2-foot-bottom {
    padding-left: 16px;
    padding-right: 16px;
  }
  .rv-wa-float {
    bottom: calc(68px + env(safe-area-inset-bottom)) !important;
    right: 12px !important;
    padding: 8px 12px !important;
    font-size: 12px !important;
  }
}

@media (max-width: 375px) {
  .rv-v2-account-btn {
    display: none !important;
  }
}

/* 6. Homepage De-duplication & Above-the-Fold Hero Framing (STRICTLY Editor-Safe!) */
html body.home.rv-v2-shell-active:not(.elementor-editor-active) .elementor-element-600c5e61,
html body.home.rv-v2-shell-active:not(.elementor-editor-active) .elementor-element-fd125b5a,
html body.home.rv-v2-shell-active:not(.elementor-editor-active) .elementor-element-5a0cbaed,
html body.home.rv-v2-shell-active:not(.elementor-editor-active) .elementor-element-9fe2b490 {
  display: none !important;
}

html body.home.rv-v2-shell-active:not(.elementor-editor-active) #content.site-content > .ast-container {
  padding: 0 !important;
}

html body.home.rv-v2-shell-active:not(.elementor-editor-active) .elementor-element-ff5ea8d7 {
  min-height: calc(100svh - 96px) !important;
  padding: clamp(48px, 8vh, 90px) clamp(24px, 5vw, 68px) clamp(44px, 7vh, 76px) !important;
}

@media (max-width: 768px) {
  html body.home.rv-v2-shell-active:not(.elementor-editor-active) .elementor-element-ff5ea8d7 {
    min-height: 74svh !important;
    padding: 40px 18px 36px !important;
  }
}

/* ==========================================================================
   v3.2.0 — Viewport/Overflow Protection, Drawer WhatsApp Contrast,
   Custom HTML Section Wrappers & Touch-Phone Desktop-Mode Banner
   ========================================================================== */
html,
body {
  max-width: 100vw !important;
  overflow-x: clip !important;
}

.rv-v2-topline {
  max-width: 100vw;
  overflow: hidden;
  box-sizing: border-box;
}

.rv-v2-topline-msg {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Crisp White Text & Icon on Mobile Drawer WhatsApp Button */
html body .rv-v2-drawer-links a.rv-drawer-wa-btn,
html body .rv-v2-drawer-links a.rv-drawer-wa-btn span {
  background: #1c4637 !important;
  color: #fffefa !important;
  border-radius: 10px !important;
}

html body .rv-v2-drawer-links a.rv-drawer-wa-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 11px 14px !important;
  margin-top: 8px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  border: 0 !important;
}

html body .rv-v2-drawer-links a.rv-drawer-wa-btn svg {
  fill: #fffefa !important;
  color: #fffefa !important;
  flex: 0 0 18px !important;
}

/* Persistent Custom HTML / Royal Elementor Section Wrappers */
.rv-custom-html-section {
  width: 100%;
  box-sizing: border-box;
  position: relative;
}

.rv-custom-sec--full {
  max-width: 100%;
  padding: 0;
}

.rv-custom-sec--contained {
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 clamp(14px, 3vw, 40px);
}

/* Dismissible tip banner if phone browser has "Desktop site" toggled ON */
.rv-desktop-mode-tip {
  background: #142b24;
  color: #fffefa;
  padding: 10px 16px;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  position: relative;
  z-index: 99999;
}

.rv-desktop-mode-tip button {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255, 254, 250, 0.35);
  background: rgba(255, 254, 250, 0.14);
  color: #fffefa;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

/* Auto-restored transparent Homepage floating brand & utility bar (Live + Elementor Preview) */
.rv-home-floating-brandbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 33;
  pointer-events: none;
  padding: 10px clamp(16px, 4vw, 52px) 6px;
  box-sizing: border-box;
}

body.home.admin-bar:not(.elementor-editor-active) .rv-home-floating-brandbar {
  top: 32px;
}

@media (max-width: 782px) {
  body.home.admin-bar:not(.elementor-editor-active) .rv-home-floating-brandbar {
    top: 46px;
  }
}

.rv-home-floating-brandbar-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  pointer-events: none;
}

.rv-hf-brand,
.rv-hf-actions {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  color: #fffefa;
}

.rv-hf-brand {
  gap: 10px;
}

.rv-hf-actions {
  gap: 8px;
}

.rv-hf-logo {
  display: inline-flex;
  flex-direction: column;
  gap: 1px;
  text-decoration: none !important;
  color: #fffefa !important;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
  line-height: 1.05;
}

.rv-hf-logo strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(20px, 2.2vw, 25px);
  font-weight: 600;
  letter-spacing: 0.16em;
  color: #fffefa !important;
}

.rv-hf-logo small {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  opacity: 0.88;
  color: #fffefa !important;
}

.rv-hf-icon {
  position: relative;
  width: 34px;
  height: 34px;
  padding: 0;
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 254, 250, 0.28);
  background: rgba(20, 43, 36, 0.36);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fffefa !important;
  text-decoration: none !important;
  cursor: pointer;
  transition: background-color 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}

.rv-hf-icon:hover,
.rv-hf-icon:focus-visible {
  background: rgba(28, 70, 55, 0.88);
  border-color: rgba(255, 254, 250, 0.68);
  color: #fffefa !important;
  transform: translateY(-1px);
  outline: none;
}

.rv-hf-icon svg {
  stroke: currentColor;
  fill: none;
  pointer-events: none;
  display: block;
}

.rv-hf-burger {
  display: none;
}

.rv-hf-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 999px;
  background: #1c4637;
  border: 1px solid #fffefa;
  color: #fffefa;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;
  line-height: 15px;
  text-align: center;
  pointer-events: none;
}

.rv-hf-badge[hidden] {
  display: none !important;
}

@media (max-width: 980px) {
  .rv-hf-burger {
    display: inline-flex;
  }
}

@media (max-width: 768px) {
  .rv-home-floating-brandbar {
    padding: 8px 14px 4px;
  }
  .rv-hf-logo strong {
    font-size: 18px;
    letter-spacing: 0.14em;
  }
  .rv-hf-logo small {
    font-size: 8px;
    letter-spacing: 0.18em;
  }
  .rv-hf-actions {
    gap: 5px;
  }
  .rv-hf-icon {
    width: 31px;
    height: 31px;
  }
  .rv-hf-icon svg {
    width: 17px;
    height: 17px;
  }
}

@media (max-width: 390px) {
  .rv-hf-brand {
    gap: 6px;
  }
  .rv-hf-logo strong {
    font-size: 16px;
    letter-spacing: 0.11em;
  }
  .rv-hf-logo small {
    font-size: 7.5px;
    letter-spacing: 0.14em;
  }
  .rv-hf-actions {
    gap: 4px;
  }
  .rv-hf-icon {
    width: 29px;
    height: 29px;
  }
}


/* ==========================================================================
   v3.3.0 — Homepage Admin Removal, Hero & Header Search Contrast,
   Centered PDP Gallery Arrows + Big 2-Row Desktop Gallery Grid,
   Strict Login-First Reviews, Swipeable 3s Added-to-Cart Toast,
   Universal Grey/Black Button Hover, Compact Icon-Only WhatsApp Float,
   Mobile 2-Col Shop Cards & Uncut Full-Width Mobile Checkout
   ========================================================================== */

/* 1. Remove Homepage Admin Icon Shortcut */
.rv-hf-admin-link {
  display: none !important;
}

/* 2. Search Bar Contrast Guard (Hero Frosted Translucent Focus + White Inner Search Bars) */
html body.home:not(.elementor-editor-active) .elementor-element-5a0cbaed .rf-search input,
html body.home:not(.elementor-editor-active) .elementor-element-5a0cbaed .rf-search input:focus,
html body.home:not(.elementor-editor-active) .elementor-element-5a0cbaed .rf-search input:focus-visible,
html body.home:not(.elementor-editor-active) .elementor-element-5a0cbaed .rf-search input:active {
  background: transparent !important;
  background-color: transparent !important;
  color: #fffefa !important;
  caret-color: #fffefa !important;
  -webkit-text-fill-color: #fffefa !important;
  box-shadow: none !important;
  outline: none !important;
  border: 0 !important;
}

html body.home:not(.elementor-editor-active) .elementor-element-5a0cbaed .rf-search input::placeholder {
  color: rgba(255, 254, 250, 0.84) !important;
}

html body.home:not(.elementor-editor-active) .elementor-element-5a0cbaed .rf-search input:-webkit-autofill,
html body.home:not(.elementor-editor-active) .elementor-element-5a0cbaed .rf-search input:-webkit-autofill:hover,
html body.home:not(.elementor-editor-active) .elementor-element-5a0cbaed .rf-search input:-webkit-autofill:focus {
  -webkit-text-fill-color: #fffefa !important;
  -webkit-box-shadow: 0 0 0 1000px rgba(24, 44, 34, 0.72) inset !important;
  transition: background-color 5000s ease-in-out 0s !important;
}

html body:not(.home) .rf-search input,
html body .rv-header-search-form input[type="search"],
html body .rv-v2-drawer-search input[type="search"] {
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: #1c241e !important;
  caret-color: #1c241e !important;
  -webkit-text-fill-color: #1c241e !important;
}

/* 3. PDP Vertically Centered Gallery Arrows & Big 2-Row Desktop Gallery Grid (Zero White Gap Below) */
html body.single-product .woocommerce-product-gallery {
  position: relative !important;
}

html body.single-product .woocommerce-product-gallery .flex-viewport {
  position: relative !important;
  height: auto !important;
  border-radius: 12px !important;
  overflow: hidden !important;
}

html body.single-product .woocommerce-product-gallery .flex-viewport > button.rv-pdp-gal-arrow {
  position: absolute !important;
  top: 50% !important;
  bottom: auto !important;
  transform: translateY(-50%) !important;
  margin: 0 !important;
  z-index: 25 !important;
}

html body.single-product .woocommerce-product-gallery .flex-viewport > button.rv-pdp-gal-prev {
  left: 12px !important;
  right: auto !important;
}

html body.single-product .woocommerce-product-gallery .flex-viewport > button.rv-pdp-gal-next {
  right: 12px !important;
  left: auto !important;
}

@media (min-width: 901px) {
  html body.single-product .woocommerce-product-gallery .flex-viewport {
    max-height: min(74vh, 660px) !important;
  }
  html body.single-product .woocommerce-product-gallery .flex-viewport img,
  html body.single-product .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image img {
    max-height: min(74vh, 660px) !important;
  }
  html body.single-product .woocommerce-product-gallery ol.flex-control-thumbs {
    display: grid !important;
    grid-template-columns: repeat(var(--rv-pdp-thumb-cols, 3), minmax(0, 1fr)) !important;
    gap: 12px !important;
    padding: 12px 0 0 !important;
    margin: 0 !important;
    overflow: visible !important;
    flex-wrap: wrap !important;
  }
  html body.single-product .woocommerce-product-gallery ol.flex-control-thumbs[data-rv-thumb-cols="2"] {
    --rv-pdp-thumb-cols: 2;
  }
  html body.single-product .woocommerce-product-gallery ol.flex-control-thumbs[data-rv-thumb-cols="3"] {
    --rv-pdp-thumb-cols: 3;
  }
  html body.single-product .woocommerce-product-gallery ol.flex-control-thumbs[data-rv-thumb-cols="4"] {
    --rv-pdp-thumb-cols: 4;
  }
  html body.single-product .woocommerce-product-gallery ol.flex-control-thumbs li {
    flex: none !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1.06 !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  html body.single-product .woocommerce-product-gallery ol.flex-control-thumbs li img {
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    object-fit: cover !important;
    border-radius: 10px !important;
    opacity: 0.92 !important;
  }
  html body.single-product .woocommerce-product-gallery ol.flex-control-thumbs li img.flex-active,
  html body.single-product .woocommerce-product-gallery ol.flex-control-thumbs li img:hover {
    opacity: 1 !important;
  }
}

/* 4. Strict Customer-Login-First Review Lock (Zero Guest Form Visibility) */
body.rv-guest-user.single-product #review_form_wrapper,
body.rv-guest-user.single-product #respond,
body.rv-guest-user.single-product .comment-respond,
body.rv-guest-user.single-product form#commentform,
body.rv-guest-user.single-product .comment-form {
  display: none !important;
}

/* 5. Compact Icon-Only WhatsApp Floating Button */
html body a.rv-wa-float {
  position: fixed !important;
  right: 16px !important;
  bottom: 20px !important;
  z-index: 9975 !important;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0 !important;
  background: #1c4637 !important;
  border: 1px solid rgba(255, 254, 250, 0.24) !important;
  color: #fffefa !important;
  box-shadow: 0 8px 22px rgba(18, 42, 32, 0.28) !important;
}

html body a.rv-wa-float .rv-wa-float-label,
html body a.rv-wa-float .rv-wa-float-dot {
  display: none !important;
}

html body a.rv-wa-float svg {
  width: 20px !important;
  height: 20px !important;
  color: #4ade80 !important;
  display: block !important;
}

@media (max-width: 767px) {
  html body a.rv-wa-float {
    right: 12px !important;
    bottom: calc(70px + env(safe-area-inset-bottom)) !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    padding: 0 !important;
  }
  html body a.rv-wa-float svg {
    width: 18px !important;
    height: 18px !important;
  }
}

/* 6. Aligned Added-to-Cart & Checkout Toast Notification (PC + Mobile, Swipe + 3s Auto-Dismiss) */
.rv-cart-toast {
  position: fixed;
  top: 86px;
  right: 20px;
  z-index: 10040;
  width: min(400px, calc(100vw - 32px));
  background: #fffefa;
  color: #1c241e;
  border: 1px solid #d8d0c3;
  border-radius: 14px;
  padding: 14px 14px 16px;
  box-shadow: 0 18px 42px rgba(18, 34, 25, 0.24);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  overflow: hidden;
  box-sizing: border-box;
  touch-action: pan-y;
  user-select: none;
  opacity: 0;
  transform: translate3d(0, -12px, 0);
  transition: opacity 0.22s ease, transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

body.admin-bar .rv-cart-toast {
  top: 118px;
}

.rv-cart-toast[hidden] {
  display: none !important;
}

.rv-cart-toast.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.rv-cart-toast-top {
  display: flex;
  align-items: flex-start;
  gap: 11px;
}

.rv-cart-toast-badge {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #1c4637;
  color: #fffefa;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.rv-cart-toast-copy {
  flex: 1 1 auto;
  min-width: 0;
}

.rv-cart-toast-copy strong {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: #142b24;
  line-height: 1.25;
}

.rv-cart-toast-item {
  display: block;
  margin-top: 2px;
  font-size: 12.5px;
  color: #4f5850;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rv-cart-toast-close {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid #dfd8cc;
  background: #f6f2ea;
  color: #1c241e;
  font-size: 18px;
  line-height: 1;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.rv-cart-toast-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.rv-cart-toast-btn {
  min-height: 38px;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-sizing: border-box;
  transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.rv-cart-toast-btn.is-secondary {
  background: #f2ece1;
  border: 1px solid #d5ccbd;
  color: #1c241e !important;
}

.rv-cart-toast-btn.is-primary {
  background: #1c4637;
  border: 1px solid #1c4637;
  color: #fffefa !important;
}

.rv-cart-toast-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: #1c4637;
  transform-origin: left center;
}

.rv-cart-toast.is-animating .rv-cart-toast-progress {
  animation: rvCartToastBar 3s linear forwards;
}

@keyframes rvCartToastBar {
  from { transform: scaleX(1); }
  to { transform: scaleX(0); }
}

@media (max-width: 767px) {
  .rv-cart-toast,
  body.admin-bar .rv-cart-toast {
    top: auto;
    left: 12px;
    right: 12px;
    bottom: calc(74px + env(safe-area-inset-bottom));
    width: auto;
    transform: translate3d(0, 16px, 0);
  }
  body.single-product .rv-cart-toast {
    bottom: calc(134px + env(safe-area-inset-bottom));
  }
}

/* 7. Clean Card Title Baseline + No WC Duplicate Inline "View cart" Clutter */
html body .woocommerce ul.products li.product,
html body .rf-widget .woocommerce ul.products li.product {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  align-items: stretch !important;
  text-align: left !important;
}

html body .woocommerce ul.products li.product .astra-shop-summary-wrap {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  align-items: stretch !important;
  text-align: left !important;
  padding: 0 !important;
}

html body .woocommerce ul.products li.product .woocommerce-loop-product__title,
html body .rf-widget .woocommerce-loop-product__title {
  font-size: 14px !important;
  line-height: 1.36 !important;
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  height: 2.72em !important;
  min-height: 2.72em !important;
  max-height: 2.72em !important;
  text-align: left !important;
  margin: 2px 0 6px !important;
  padding: 0 !important;
}

html body .woocommerce ul.products li.product .price,
html body .rf-widget .woocommerce ul.products li.product .price {
  margin-top: auto !important;
  text-align: left !important;
}

.rv-card-actions-bar a.added_to_cart.wc-forward {
  display: none !important;
}

@media (max-width: 767px) {
  html body .woocommerce ul.products:not(.rf-scroll-mobile),
  html body.woocommerce ul.products:not(.rf-scroll-mobile),
  html body.woocommerce-page ul.products:not(.rf-scroll-mobile),
  html body .woocommerce ul.products[class*="columns-"]:not(.rf-scroll-mobile),
  html body.woocommerce-page ul.products[class*="columns-"]:not(.rf-scroll-mobile),
  html body .rf-widget .woocommerce ul.products:not(.rf-scroll-mobile),
  html body .rv-product-grid,
  html body section.related ul.products,
  html body .related.products ul.products,
  html body section.upsells ul.products {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 22px 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 0 !important;
  }
  html body:not(#_rv_unused) .rf-scroll-mobile .woocommerce ul.products,
  html body:not(#_rv_unused) .rf-scroll-mobile ul.products {
    display: grid !important;
    grid-template-columns: none !important;
    grid-auto-flow: column !important;
    grid-auto-columns: minmax(162px, 46%) !important;
    gap: 12px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
  }
  .rv-card-top-bar {
    height: 18px !important;
    min-height: 18px !important;
    max-height: 18px !important;
    margin: 9px 0 4px !important;
  }
  .rv-card-brand {
    font-size: 10px !important;
    max-width: 58% !important;
  }
  html body .woocommerce ul.products li.product .woocommerce-loop-product__title,
  html body .rf-widget .woocommerce-loop-product__title {
    font-size: 13.5px !important;
    line-height: 1.35 !important;
    height: 2.7em !important;
    min-height: 2.7em !important;
    max-height: 2.7em !important;
  }
  html body .rv-card-actions-bar {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 36px !important;
    gap: 5px !important;
    margin-top: 8px !important;
    width: 100% !important;
  }
  html body .rv-card-actions-bar .button,
  html body .rv-card-actions-bar a.rv-card-atc {
    height: 38px !important;
    min-height: 38px !important;
    font-size: 12px !important;
    padding: 0 6px !important;
  }
  html body .rv-card-actions-bar .rv-card-qv-btn {
    width: 36px !important;
    min-width: 36px !important;
    height: 38px !important;
    min-height: 38px !important;
  }
}

/* 8. Full-Width Uncut Mobile & Tablet Checkout Page (PB-001 Safe CSS) */
@media (max-width: 980px) {
  html body.woocommerce-checkout #page,
  html body.woocommerce-checkout #content.site-content {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    box-sizing: border-box !important;
  }
  html body.woocommerce-checkout #content.site-content > .ast-container {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 18px 14px 36px !important;
    float: none !important;
    box-sizing: border-box !important;
  }
  html body.woocommerce-checkout #primary,
  html body.woocommerce-checkout #main,
  html body.woocommerce-checkout main.site-main,
  html body.woocommerce-checkout article.page,
  html body.woocommerce-checkout .entry-content,
  html body.woocommerce-checkout .entry-content > .alignwide,
  html body.woocommerce-checkout .entry-content > .alignfull,
  html body.woocommerce-checkout .woocommerce,
  html body.woocommerce-checkout .wp-block-woocommerce-checkout,
  html body.woocommerce-checkout .wp-block-woocommerce-checkout > div,
  html body.woocommerce-checkout .wc-block-checkout,
  html body.woocommerce-checkout .wc-block-components-sidebar-layout,
  html body.woocommerce-checkout .wc-block-components-main,
  html body.woocommerce-checkout .wc-block-checkout__main,
  html body.woocommerce-checkout .wc-block-components-sidebar,
  html body.woocommerce-checkout .wc-block-checkout__sidebar,
  html body.woocommerce-checkout form.checkout,
  html body.woocommerce-checkout .woocommerce-checkout,
  html body.woocommerce-checkout #customer_details,
  html body.woocommerce-checkout #order_review {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    left: auto !important;
    right: auto !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    float: none !important;
    transform: none !important;
    box-sizing: border-box !important;
  }
  html body.woocommerce-checkout .entry-header,
  html body.woocommerce-checkout .entry-title {
    display: block !important;
    width: 100% !important;
    margin: 4px 0 16px !important;
    padding: 0 !important;
    line-height: 1.25 !important;
    text-align: left !important;
  }
  html body.woocommerce-checkout .wc-block-components-text-input input,
  html body.woocommerce-checkout form.checkout input.input-text,
  html body.woocommerce-checkout form.checkout select,
  html body.woocommerce-checkout form.checkout textarea {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  html body.woocommerce-checkout .wc-block-components-text-input,
  html body.woocommerce-checkout .wc-block-components-combobox,
  html body.woocommerce-checkout .wc-block-components-select,
  html body.woocommerce-checkout .wc-block-components-checkbox,
  html body.woocommerce-checkout .wc-block-checkout__actions,
  html body.woocommerce-checkout fieldset {
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }
}

/* 9. Universal Grey (#d9d9d9) + Black Text (#000000) Hover for ALL Action Buttons */
html body button.button:not(.wpr-button):hover,
html body a.button:not(.wpr-button):hover,
html body .woocommerce ul.products li.product .rv-card-actions-bar .button:hover,
html body .woocommerce ul.products li.product .rv-card-actions-bar a.rv-card-atc:hover,
html body .rf-widget .woocommerce ul.products li.product .rv-card-actions-bar .button:hover,
html body .rv-card-actions-bar .button:hover,
html body .rv-card-actions-bar a.rv-card-atc:hover,
html body .rv-card-actions-bar .rv-card-qv-btn:hover,
html body .elementor a.elementor-button:not(.wpr-button):hover,
html body .elementor button.elementor-button:not(.wpr-button):hover,
html body input[type="submit"]:not(.wpr-button):hover,
html body button[type="submit"]:not(.wpr-button):not(.rv-v2-burger):not(.rv-v2-icon-btn):not(.rv-hf-icon):not(.rf-wish-toggle):not(.rv-x-btn):not(.rv-cart-toast-close):not(.rv-header-search-close):hover,
html body .wc-block-components-button:hover,
html body .wc-block-cart__submit-button:hover,
html body .wc-block-components-checkout-place-order-button:hover,
html body.woocommerce-checkout #place_order:hover,
html body.single-product form.cart .single_add_to_cart_button:hover,
html body .rv-qv-atc:hover,
html body .rv-v2-sticky-btn:hover,
html body .rv-cart-toast-btn:hover,
html body .rv-cart-toast-close:hover,
html body .rv-foot-cta-primary:hover,
html body .rv-foot-cta-wa:hover,
html body .rv-wish-view-btn:hover,
html body .rv-wish-shop-btn:hover,
html body .rv-filter-open-btn:hover,
html body a.rv-wa-float:hover,
html body .rv-wa-pdp-btn:hover,
html body .rv-foot-wa-btn:hover,
html body .rv-auth-submit:hover,
html body .rv-qf-submit:hover,
html body .rv-btn-primary:hover,
html body .rv-btn-forest:hover,
html body .rv-btn-outline:hover {
  background-color: #d9d9d9 !important;
  background: #d9d9d9 !important;
  border-color: #b8b8b8 !important;
  color: #000000 !important;
}

html body button.button:not(.wpr-button):hover *,
html body a.button:not(.wpr-button):hover *,
html body .woocommerce ul.products li.product .rv-card-actions-bar .button:hover *,
html body .woocommerce ul.products li.product .rv-card-actions-bar a.rv-card-atc:hover *,
html body .rf-widget .woocommerce ul.products li.product .rv-card-actions-bar .button:hover *,
html body .rv-card-actions-bar .button:hover *,
html body .rv-card-actions-bar a.rv-card-atc:hover *,
html body .rv-card-actions-bar .rv-card-qv-btn:hover *,
html body .elementor a.elementor-button:not(.wpr-button):hover *,
html body .elementor button.elementor-button:not(.wpr-button):hover *,
html body .wc-block-components-button:hover *,
html body.woocommerce-checkout #place_order:hover *,
html body.single-product form.cart .single_add_to_cart_button:hover *,
html body .rv-qv-atc:hover *,
html body .rv-v2-sticky-btn:hover *,
html body .rv-cart-toast-btn:hover *,
html body .rv-foot-cta-primary:hover *,
html body .rv-foot-cta-wa:hover *,
html body .rv-wish-view-btn:hover *,
html body .rv-wish-shop-btn:hover *,
html body .rv-filter-open-btn:hover *,
html body a.rv-wa-float:hover *,
html body .rv-wa-pdp-btn:hover *,
html body .rv-foot-wa-btn:hover *,
html body .rv-auth-submit:hover *,
html body .rv-qf-submit:hover *,
html body .rv-btn-primary:hover *,
html body .rv-btn-forest:hover *,
html body .rv-btn-outline:hover * {
  color: #000000 !important;
}

html body button.button:not(.wpr-button):active,
html body a.button:not(.wpr-button):active,
html body .woocommerce ul.products li.product .rv-card-actions-bar .button:active,
html body .woocommerce ul.products li.product .rv-card-actions-bar a.rv-card-atc:active,
html body .rf-widget .woocommerce ul.products li.product .rv-card-actions-bar .button:active,
html body .rv-card-actions-bar .button:active,
html body .rv-card-actions-bar a.rv-card-atc:active,
html body .rv-card-actions-bar .rv-card-qv-btn:active,
html body .elementor a.elementor-button:not(.wpr-button):active,
html body .elementor button.elementor-button:not(.wpr-button):active,
html body .wc-block-components-button:active,
html body.woocommerce-checkout #place_order:active,
html body.single-product form.cart .single_add_to_cart_button:active,
html body .rv-qv-atc:active,
html body .rv-v2-sticky-btn:active,
html body .rv-cart-toast-btn:active,
html body a.rv-wa-float:active,
html body .rv-btn-primary:active,
html body .rv-btn-forest:active {
  background-color: #c4c4c4 !important;
  background: #c4c4c4 !important;
  border-color: #a3a3a3 !important;
  color: #000000 !important;
}

