/* RIGOVSA Tienda — catálogo + banner único + footer */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@600;700;800&display=swap');

:root {
  --rg-green: #1B4A1B;
  --rg-green-deep: #123112;
  --rg-gold: #C8A84B;
  --rg-ink: #152315;
  --rg-muted: #5b6b5b;
  --rg-line: #e6ebe6;
  --rg-bg: #f4f7f4;
  --rg-card: #ffffff;
  --rg-radius: 14px;
}

body.woocommerce-shop,
body.woocommerce,
body.woocommerce-page,
body.single-product,
body.woocommerce-cart,
body.woocommerce-checkout,
body.woocommerce-order-received,
body.woocommerce-account,
body.tax-product_cat,
body.tax-product_tag {
  font-family: 'Manrope', system-ui, sans-serif;
  color: var(--rg-ink);
  background: var(--rg-bg);
}

/* Ocultar menú / header del tema (Acerca de, Contacto, etc.) */
body.woocommerce-shop .wp-site-blocks > header,
body.tax-product_cat .wp-site-blocks > header,
body.tax-product_tag .wp-site-blocks > header,
body.single-product .wp-site-blocks > header,
body.woocommerce-cart .wp-site-blocks > header,
body.woocommerce-checkout .wp-site-blocks > header,
body.woocommerce-order-received .wp-site-blocks > header,
body.woocommerce-account .wp-site-blocks > header,
body.woocommerce-shop header.wp-block-template-part,
body.tax-product_cat header.wp-block-template-part,
body.single-product header.wp-block-template-part,
body.woocommerce-checkout header.wp-block-template-part,
body.woocommerce-order-received header.wp-block-template-part,
body.woocommerce-shop .wp-block-navigation,
body.woocommerce-shop nav.wp-block-navigation {
  display: none !important;
}

/* Ocultar footer del tema (usamos el de RIGOVSA) */
body.woocommerce-shop .wp-site-blocks > footer,
body.tax-product_cat .wp-site-blocks > footer,
body.tax-product_tag .wp-site-blocks > footer,
body.single-product .wp-site-blocks > footer,
body.woocommerce-cart .wp-site-blocks > footer,
body.woocommerce-checkout .wp-site-blocks > footer,
body.woocommerce-order-received .wp-site-blocks > footer,
body.woocommerce-account .wp-site-blocks > footer,
body.woocommerce-shop footer.wp-block-template-part {
  display: none !important;
}

/* Título de página / breadcrumbs del tema (NO ocultar títulos de productos) */
body.woocommerce-shop .wp-block-woocommerce-breadcrumbs,
body.woocommerce-shop .woocommerce-breadcrumb,
body.woocommerce-shop > .wp-site-blocks > main > .wp-block-group > h1.wp-block-post-title,
body.woocommerce-shop main > .wp-block-group > h1.wp-block-post-title,
body.woocommerce-shop main > h1.wp-block-post-title,
body.woocommerce-shop h1.woocommerce-products-header__title,
body.woocommerce-shop .woocommerce-products-header__title,
body.woocommerce-shop .wp-block-query-title,
body.woocommerce-shop .wp-block-post-title:not(.wc-block-components-product-name):not(.rg-forced-product-title),
.rg-shop-maincol h1.wp-block-post-title,
.rg-shop-maincol .wp-block-query-title,
.rg-shop-maincol .woocommerce-products-header__title {
  display: none !important;
}

/* ========== GRID: 5 productos por fila ========== */
.wc-block-product-template,
.wc-block-product-template.columns-2,
.wc-block-product-template.columns-3,
.wc-block-product-template.columns-4,
.wc-block-product-template__responsive,
ul.products,
ul.products.columns-2,
ul.products.columns-3,
ul.products.columns-4 {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 14px !important;
}

/* ========== BANNER ÚNICO ANCHO COMPLETO ========== */
.rg-shop-hero {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  box-sizing: border-box;
  background:
    linear-gradient(110deg, rgba(12,34,12,.97) 0%, rgba(27,74,27,.94) 48%, rgba(27,74,27,.88) 100%),
    radial-gradient(circle at 88% 18%, rgba(200,168,75,.28), transparent 42%);
  color: #fff;
  padding: 18px 0 22px;
  border-bottom: 3px solid var(--rg-gold);
  position: relative;
  z-index: 40;
}
.rg-shop-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.rg-shop-toolbar {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  gap: 12px 16px;
  align-items: center;
  margin-bottom: 18px;
}
.rg-shop-logo {
  display: block;
  line-height: 0;
}
.rg-shop-logo img {
  height: 58px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  border-radius: 8px;
  background: rgba(255,255,255,.06);
}
.rg-shop-home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--rg-gold);
  color: var(--rg-green-deep) !important;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none !important;
  white-space: nowrap;
}
.rg-shop-home-btn:hover {
  background: #fff;
  color: var(--rg-green-deep) !important;
}

.rg-shop-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  padding: 4px 4px 4px 14px;
  min-width: 0;
}
.rg-shop-search-ico {
  width: 18px;
  height: 18px;
  stroke: var(--rg-gold);
  fill: none;
  stroke-width: 1.8;
  flex-shrink: 0;
}
.rg-shop-search input[type="search"] {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font-size: 14px;
  padding: 8px 4px;
}
.rg-shop-search input::placeholder {
  color: rgba(255,255,255,.55);
}
.rg-shop-search button {
  border: 0;
  border-radius: 999px;
  background: var(--rg-gold);
  color: var(--rg-green-deep);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 12px;
  padding: 10px 16px;
  cursor: pointer;
}
.rg-shop-search button:hover {
  background: #fff;
}

.rg-shop-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.rg-shop-icon-btn {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  color: #fff;
  text-decoration: none !important;
  cursor: pointer;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
}
.rg-shop-icon-btn svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.rg-shop-icon-btn:hover {
  background: var(--rg-gold);
  color: var(--rg-green-deep);
  border-color: var(--rg-gold);
}
.rg-shop-cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--rg-gold);
  color: var(--rg-green-deep);
  font-size: 11px;
  font-weight: 800;
  display: grid;
  place-items: center;
  line-height: 1;
  box-shadow: 0 0 0 2px rgba(18, 49, 18, 0.35);
  z-index: 2;
}
.rg-shop-cart-count.is-empty {
  display: none !important;
}
.rg-shop-cart-count.rg-count-pop {
  animation: rg-count-pop .35s ease;
}
@keyframes rg-count-pop {
  0% { transform: scale(.6); }
  60% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

.rg-shop-welcome {
  margin: 10px 0 0;
  padding: 8px 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  background: rgba(200, 168, 75, 0.18);
  border: 1px solid rgba(200, 168, 75, 0.35);
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
}
.rg-shop-welcome.is-empty,
.rg-shop-welcome[hidden] {
  display: none !important;
}
.rg-shop-welcome strong {
  color: var(--rg-gold);
  font-weight: 800;
}
.rg-shop-icon-btn.is-logged-in {
  background: rgba(200, 168, 75, 0.28);
  border-color: rgba(200, 168, 75, 0.55);
}

/* —— Mini carrito lateral —— */
html.rg-minicart-lock,
html.rg-minicart-lock body {
  overflow: hidden;
}
.rg-minicart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 20, 8, 0.55);
  z-index: 9998;
  opacity: 0;
  transition: opacity .25s ease;
}
.rg-minicart-overlay.is-open {
  opacity: 1;
}
.rg-minicart {
  position: fixed;
  top: 0;
  right: 0;
  width: min(400px, 92vw);
  height: 100%;
  background: #fff;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.22);
  transform: translateX(105%);
  transition: transform .28s ease;
}
.rg-minicart.is-open {
  transform: translateX(0);
}
.rg-minicart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px 14px;
  border-bottom: 1px solid var(--rg-line);
  background: linear-gradient(110deg, #123112, #1B4A1B);
  color: #fff;
}
.rg-minicart-head h2 {
  margin: 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
}
.rg-minicart-close {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.rg-minicart-close:hover {
  background: var(--rg-gold);
  color: var(--rg-green-deep);
}
.rg-minicart-body {
  flex: 1;
  overflow: auto;
  padding: 14px 16px;
}
.rg-minicart-empty {
  margin: 40px 0;
  text-align: center;
  color: var(--rg-muted);
  font-size: 14px;
}
.rg-minicart-items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.rg-minicart-item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--rg-line);
  border-radius: 12px;
  background: #fafcfa;
}
.rg-minicart-item img,
.rg-minicart-ph {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--rg-line);
}
.rg-minicart-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--rg-ink);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rg-minicart-meta {
  margin-top: 4px;
  font-size: 12px;
  color: var(--rg-muted);
  font-weight: 600;
}
.rg-minicart-price {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 800;
  color: var(--rg-green);
  white-space: nowrap;
}
.rg-minicart-foot {
  border-top: 1px solid var(--rg-line);
  padding: 14px 16px 18px;
  background: #fff;
  box-shadow: 0 -8px 24px rgba(12, 34, 12, 0.06);
}
.rg-minicart-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 13px;
  color: var(--rg-muted);
}
.rg-minicart-row strong {
  color: var(--rg-ink);
  font-weight: 700;
}
.rg-minicart-ship strong {
  color: var(--rg-muted);
  font-weight: 600;
  font-style: italic;
}
.rg-minicart-ship-note {
  margin: -2px 0 10px;
  padding: 0;
  font-size: 11px;
  line-height: 1.35;
  color: var(--rg-muted);
  text-align: right;
}
.rg-minicart-total {
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px dashed var(--rg-line);
  font-size: 15px;
  color: var(--rg-ink);
  font-weight: 700;
}
.rg-minicart-total strong {
  color: var(--rg-green);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
}
.rg-minicart-checkout {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 12px;
  background: var(--rg-green);
  color: #fff !important;
  text-decoration: none !important;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 6px 16px rgba(27, 74, 27, 0.25);
  transition: background .2s ease, transform .2s ease;
}
.rg-minicart-checkout:hover {
  background: var(--rg-gold);
  color: var(--rg-green-deep) !important;
  transform: translateY(-1px);
}

.rg-shop-hero-copy .rg-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--rg-gold);
  margin-bottom: 8px;
}
.rg-shop-hero-copy h1 {
  margin: 0 0 8px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}
.rg-shop-hero-copy p {
  margin: 0 0 14px;
  max-width: 680px;
  color: rgba(255,255,255,.82);
  font-size: 15px;
  line-height: 1.5;
}
.rg-shop-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.rg-shop-cats a {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  color: #fff !important;
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 600;
  transition: .2s ease;
}
.rg-shop-cats a:hover {
  background: var(--rg-gold);
  color: var(--rg-green-deep) !important;
  border-color: var(--rg-gold);
}

/* Evitar segundo banner si quedó HTML viejo en caché */
.rg-shop-hero ~ .rg-shop-hero {
  display: none !important;
}

/* Contenedor productos + layout con sidebar */
body.woocommerce-shop .wp-site-blocks > main,
body.woocommerce .wp-site-blocks > main,
body.tax-product_cat .wp-site-blocks > main,
body.tax-product_tag .wp-site-blocks > main {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
  width: 100%;
  min-width: 0;
}

body.single-product .wp-site-blocks > main,
body.woocommerce-cart .wp-site-blocks > main,
body.woocommerce-checkout .wp-site-blocks > main,
body.woocommerce-order-received .wp-site-blocks > main,
body.woocommerce-account .wp-site-blocks > main {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

/* Evitar flash del sidebar / trust al pie antes del JS */
body > .rg-shop-sidebar,
body > .rg-shop-trust {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.rg-shop-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  max-width: 1320px;
  margin: 24px auto 0;
  padding: 0 20px 40px;
  box-sizing: border-box;
}

.rg-shop-maincol {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rg-shop-layout > .rg-shop-sidebar {
  position: sticky;
  top: 16px;
  left: auto;
  width: auto;
  height: auto;
  overflow: visible;
  z-index: 5;
}

/* —— Trust bar (tipo ferretería industrial) —— */
.rg-shop-maincol > .rg-shop-trust {
  position: static;
  left: auto;
  width: auto;
  height: auto;
  overflow: visible;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}
.rg-shop-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--rg-line);
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow: 0 1px 2px rgba(12, 34, 12, 0.04);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  cursor: default;
}
.rg-shop-trust-item:hover {
  transform: translateY(-3px);
  border-color: rgba(200, 168, 75, 0.55);
  box-shadow: 0 8px 18px rgba(12, 34, 12, 0.08);
}
.rg-trust-ico {
  flex-shrink: 0;
  width: 44px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(27,74,27,.1), rgba(200,168,75,.18));
  overflow: hidden;
}
.rg-trust-ico svg {
  width: 28px;
  height: 20px;
  fill: none;
  stroke: var(--rg-green);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.rg-shop-trust-item strong {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--rg-ink);
  line-height: 1.2;
}
.rg-shop-trust-item > div > span {
  display: block;
  font-size: 11.5px;
  color: var(--rg-muted);
  line-height: 1.3;
  margin-top: 2px;
}

/* Trust: camión en movimiento */
.rg-trust-ship:hover .rg-truck-move {
  animation: rg-drive 1.15s ease-in-out infinite;
}
.rg-trust-ship:hover .rg-truck-w1,
.rg-trust-ship:hover .rg-truck-w2 {
  transform-box: fill-box;
  transform-origin: center;
  animation: rg-spin .55s linear infinite;
}
.rg-trust-ship:hover .rg-truck-road {
  animation: rg-dash .7s linear infinite;
}
@keyframes rg-drive {
  0%, 100% { transform: translateX(-2px); }
  50% { transform: translateX(4px); }
}

/* Trust: marcas check */
.rg-trust-brands:hover .rg-brand-check {
  stroke-dasharray: 18;
  stroke-dashoffset: 18;
  animation: rg-draw-check .7s ease forwards;
}
@keyframes rg-draw-check {
  to { stroke-dashoffset: 0; }
}

/* Trust: escudo + cartera */
.rg-trust-secure:hover .rg-shield {
  animation: rg-bob .9s ease-in-out infinite;
}
.rg-trust-secure:hover .rg-shield-check {
  stroke-dasharray: 12;
  animation: rg-dash .9s linear infinite;
}
.rg-trust-secure:hover .rg-wallet {
  animation: rg-wallet-nudge 1s ease-in-out infinite;
}
.rg-trust-secure:hover .rg-wallet-coin {
  transform-box: fill-box;
  transform-origin: center;
  animation: rg-spin 1s linear infinite;
}
@keyframes rg-wallet-nudge {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(1.5px); }
}

/* Trust: WhatsApp */
.rg-trust-wa:hover .rg-wa-dots {
  animation: rg-wa-blink 1s ease-in-out infinite;
}
@keyframes rg-wa-blink {
  0%, 100% { opacity: .35; }
  50% { opacity: 1; }
}

.rg-shop-sidebar-inner {
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfcfb 100%);
  border: 1px solid var(--rg-line);
  border-radius: 16px;
  padding: 18px 14px 16px;
  box-shadow: 0 4px 18px rgba(12, 34, 12, 0.06);
  position: relative;
  overflow: hidden;
}
.rg-shop-sidebar-inner::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--rg-green), var(--rg-gold), var(--rg-green));
  background-size: 200% 100%;
  animation: rg-bar-shine 4s linear infinite;
}
@keyframes rg-bar-shine {
  0% { background-position: 0% 0; }
  100% { background-position: 200% 0; }
}
.rg-shop-sidebar-title {
  margin: 0 0 14px;
  padding: 0 0 12px;
  border-bottom: 1px solid var(--rg-line);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: var(--rg-green);
  letter-spacing: -0.01em;
  line-height: 1.3;
  display: flex;
  align-items: center;
  gap: 8px;
}
.rg-sidebar-title-ico {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: rgba(27, 74, 27, 0.08);
}
.rg-sidebar-title-ico .rg-cat-svg {
  width: 16px;
  height: 16px;
}
.rg-cat-list,
.rg-cat-children {
  list-style: none;
  margin: 0;
  padding: 0;
}
.rg-cat-item {
  margin: 0 0 5px;
}
.rg-cat-row {
  display: flex;
  align-items: center;
  gap: 4px;
}
.rg-cat-link {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px;
  border-radius: 12px;
  text-decoration: none !important;
  color: var(--rg-ink) !important;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.rg-cat-toggle {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 8px;
  background: #eef2ee;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
}
.rg-cat-toggle span {
  width: 7px;
  height: 7px;
  border-right: 2px solid var(--rg-green);
  border-bottom: 2px solid var(--rg-green);
  transform: rotate(45deg) translateY(-1px);
  transition: transform .2s ease;
}
.rg-cat-item.is-open > .rg-cat-row .rg-cat-toggle span {
  transform: rotate(225deg) translateY(-1px);
}
.rg-cat-left {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.rg-cat-ico {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #f0f4f0;
  border: 1px solid rgba(27, 74, 27, 0.08);
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.rg-cat-svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--rg-green);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  overflow: visible;
}
.rg-cat-item .rg-cat-link:hover {
  background: rgba(27, 74, 27, 0.06);
  color: var(--rg-green) !important;
  transform: translateX(2px);
}
.rg-cat-item .rg-cat-link:hover .rg-cat-ico,
.rg-cat-item.has-children:hover > .rg-cat-row .rg-cat-ico {
  background: rgba(200, 168, 75, 0.22);
  border-color: rgba(200, 168, 75, 0.45);
  transform: scale(1.06);
}
.rg-cat-item.is-active > .rg-cat-row > .rg-cat-link {
  background: var(--rg-green);
  color: #fff !important;
}
.rg-cat-item.is-active > .rg-cat-row > .rg-cat-link .rg-cat-ico {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.25);
}
.rg-cat-item.is-active > .rg-cat-row > .rg-cat-link .rg-cat-svg {
  stroke: #fff;
}
.rg-cat-item.is-active > .rg-cat-row > .rg-cat-link .rg-cat-count {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}
.rg-cat-item.is-active > .rg-cat-row > .rg-cat-link .rg-water {
  fill: rgba(255, 255, 255, 0.85);
}
.rg-cat-name {
  min-width: 0;
}
.rg-cat-count {
  flex-shrink: 0;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: var(--rg-bg);
  color: var(--rg-muted);
  font-size: 11px;
  font-weight: 700;
}

/* Subcategorías colapsadas por defecto */
.rg-cat-children {
  margin: 0 0 0 14px;
  padding: 0 0 0 10px;
  border-left: 2px solid var(--rg-line);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-4px);
  transition: max-height .28s ease, opacity .22s ease, transform .22s ease, margin .22s ease;
}
.rg-cat-item.has-children.is-open > .rg-cat-children,
.rg-cat-item.has-children.is-branch > .rg-cat-children,
.rg-cat-item.has-children:hover > .rg-cat-children {
  max-height: 480px;
  opacity: 1;
  transform: translateY(0);
  margin: 6px 0 8px 14px;
}

.rg-sidebar-wa {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 12px;
  border-radius: 12px;
  background: #128C7E;
  color: #fff !important;
  text-decoration: none !important;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(18, 140, 126, 0.28);
  transition: transform .2s ease, background .2s ease;
}
.rg-sidebar-wa:hover {
  background: #0e6f64;
  transform: translateY(-1px);
}
.rg-sidebar-wa-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6dffb0;
  box-shadow: 0 0 0 0 rgba(109, 255, 176, 0.7);
  animation: rg-pulse-dot 1.6s ease infinite;
}
@keyframes rg-pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(109, 255, 176, 0.65); }
  70% { box-shadow: 0 0 0 8px rgba(109, 255, 176, 0); }
  100% { box-shadow: 0 0 0 0 rgba(109, 255, 176, 0); }
}

/* —— Animaciones de iconos de categoría —— */
.rg-cat-item .rg-cat-link:hover .rg-ico-tape .rg-tape-roll,
.rg-cat-item.has-children:hover > .rg-cat-row .rg-ico-tape .rg-tape-roll,
.rg-cat-item.is-active > .rg-cat-row .rg-ico-tape .rg-tape-roll {
  transform-origin: 8px 12px;
  animation: rg-spin 1.2s linear infinite;
}
.rg-cat-item .rg-cat-link:hover .rg-ico-tape .rg-tape-apply,
.rg-cat-item.has-children:hover > .rg-cat-row .rg-ico-tape .rg-tape-apply,
.rg-cat-item.is-active > .rg-cat-row .rg-ico-tape .rg-tape-apply {
  stroke-dasharray: 12;
  animation: rg-dash .8s linear infinite;
}
@keyframes rg-spin {
  to { transform: rotate(360deg); }
}
@keyframes rg-dash {
  to { stroke-dashoffset: -20; }
}
.rg-cat-item .rg-cat-link:hover .rg-ico-adhesive .rg-glue-drop,
.rg-cat-item.has-children:hover > .rg-cat-row .rg-ico-adhesive .rg-glue-drop,
.rg-cat-item.is-active > .rg-cat-row .rg-ico-adhesive .rg-glue-drop {
  animation: rg-drip 1.1s ease-in-out infinite;
}
@keyframes rg-drip {
  0%, 100% { transform: translateY(0); opacity: .35; }
  50% { transform: translateY(2px); opacity: 1; }
}
.rg-cat-item .rg-cat-link:hover .rg-ico-cooler .rg-cooler-frost,
.rg-cat-item.has-children:hover > .rg-cat-row .rg-ico-cooler .rg-cooler-frost,
.rg-cat-item.is-active > .rg-cat-row .rg-ico-cooler .rg-cooler-frost {
  animation: rg-frost 1.2s ease-in-out infinite;
}
@keyframes rg-frost {
  0%, 100% { opacity: .4; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.25); }
}
.rg-cat-item .rg-cat-link:hover .rg-ico-epp .rg-hat-dome,
.rg-cat-item.has-children:hover > .rg-cat-row .rg-ico-epp .rg-hat-dome,
.rg-cat-item.is-active > .rg-cat-row .rg-ico-epp .rg-hat-dome {
  animation: rg-bob 1s ease-in-out infinite;
}
@keyframes rg-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-1.5px); }
}
.rg-cat-item .rg-cat-link:hover .rg-ico-paint .rg-paint-brush,
.rg-cat-item.has-children:hover > .rg-cat-row .rg-ico-paint .rg-paint-brush,
.rg-cat-item.is-active > .rg-cat-row .rg-ico-paint .rg-paint-brush {
  animation: rg-paint-dip .55s ease-in-out infinite alternate;
}
@keyframes rg-paint-dip {
  from { transform: translateY(0); }
  to { transform: translateY(1.5px) rotate(4deg); }
}
.rg-cat-item .rg-cat-link:hover .rg-ico-glove,
.rg-cat-item.has-children:hover > .rg-cat-row .rg-ico-glove,
.rg-cat-item.is-active > .rg-cat-row .rg-ico-glove {
  animation: rg-glove-wiggle .5s ease-in-out infinite alternate;
}
@keyframes rg-glove-wiggle {
  from { transform: rotate(-4deg); }
  to { transform: rotate(4deg); }
}
.rg-cat-item .rg-cat-link:hover .rg-ico-abrasive .rg-disc-outer,
.rg-cat-item.has-children:hover > .rg-cat-row .rg-ico-abrasive .rg-disc-outer,
.rg-cat-item.is-active > .rg-cat-row .rg-ico-abrasive .rg-disc-outer {
  animation: rg-disc-spin .9s linear infinite;
  transform-origin: 12px 12px;
}
@keyframes rg-disc-spin {
  to { transform: rotate(360deg); }
}
.rg-cat-item .rg-cat-link:hover .rg-ico-measure .rg-ruler,
.rg-cat-item.has-children:hover > .rg-cat-row .rg-ico-measure .rg-ruler,
.rg-cat-item.is-active > .rg-cat-row .rg-ico-measure .rg-ruler {
  animation: rg-ruler-slide .55s ease-in-out infinite alternate;
}
@keyframes rg-ruler-slide {
  from { transform: translateX(0); }
  to { transform: translateX(1.5px); }
}
.rg-cat-item .rg-cat-link:hover .rg-ico-electric .rg-bolt,
.rg-cat-item.has-children:hover > .rg-cat-row .rg-ico-electric .rg-bolt,
.rg-cat-item.is-active > .rg-cat-row .rg-ico-electric .rg-bolt {
  animation: rg-bolt-pulse .45s ease-in-out infinite alternate;
}
@keyframes rg-bolt-pulse {
  from { opacity: 1; transform: scale(1); }
  to { opacity: .75; transform: scale(1.08); }
}
.rg-cat-item .rg-cat-link:hover .rg-ico-tool .rg-blade,
.rg-cat-item.has-children:hover > .rg-cat-row .rg-ico-tool .rg-blade,
.rg-cat-item.is-active > .rg-cat-row .rg-ico-tool .rg-blade {
  transform-origin: 5px 19px;
  animation: rg-cut 0.9s ease-in-out infinite;
}
@keyframes rg-cut {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(-8deg); }
}
.rg-cat-item .rg-cat-link:hover .rg-ico-marker .rg-marker-ink,
.rg-cat-item.has-children:hover > .rg-cat-row .rg-ico-marker .rg-marker-ink,
.rg-cat-item.is-active > .rg-cat-row .rg-ico-marker .rg-marker-ink {
  animation: rg-ink 1s ease-in-out infinite;
}
@keyframes rg-ink {
  0%, 100% { opacity: .25; }
  50% { opacity: 1; }
}

/* Hidratantes: botella se llena de agua */
.rg-ico-drink .rg-water {
  fill: #1a3a8f;
  stroke: none;
}
.rg-cat-item .rg-cat-link:hover .rg-ico-drink .rg-water,
.rg-cat-item.has-children:hover > .rg-cat-row .rg-ico-drink .rg-water,
.rg-cat-item.is-active > .rg-cat-row .rg-ico-drink .rg-water {
  animation: rg-fill-water 1.15s ease-in-out infinite alternate;
}
@keyframes rg-fill-water {
  from { height: 1.5px; y: 18.5px; opacity: .55; }
  to { height: 9px; y: 11px; opacity: 1; }
}
.rg-cat-item .rg-cat-link:hover .rg-ico-box .rg-box-lid,
.rg-cat-item.has-children:hover > .rg-cat-row .rg-ico-box .rg-box-lid,
.rg-cat-item.is-active > .rg-cat-row .rg-ico-box .rg-box-lid {
  animation: rg-lid 1.2s ease-in-out infinite;
}
@keyframes rg-lid {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-1.5px); }
}
.rg-cat-item .rg-cat-link:hover .rg-ico-all .rg-ico-p1,
.rg-cat-item .rg-cat-link:hover .rg-ico-all .rg-ico-p2,
.rg-cat-item .rg-cat-link:hover .rg-ico-all .rg-ico-p3,
.rg-cat-item .rg-cat-link:hover .rg-ico-all .rg-ico-p4,
.rg-cat-item.is-active > .rg-cat-row .rg-ico-all .rg-ico-p1,
.rg-cat-item.is-active > .rg-cat-row .rg-ico-all .rg-ico-p2,
.rg-cat-item.is-active > .rg-cat-row .rg-ico-all .rg-ico-p3,
.rg-cat-item.is-active > .rg-cat-row .rg-ico-all .rg-ico-p4 {
  animation: rg-grid-pop .8s ease-in-out infinite;
}
.rg-cat-item .rg-cat-link:hover .rg-ico-all .rg-ico-p2,
.rg-cat-item.is-active > .rg-cat-row .rg-ico-all .rg-ico-p2 { animation-delay: .1s; }
.rg-cat-item .rg-cat-link:hover .rg-ico-all .rg-ico-p3,
.rg-cat-item.is-active > .rg-cat-row .rg-ico-all .rg-ico-p3 { animation-delay: .2s; }
.rg-cat-item .rg-cat-link:hover .rg-ico-all .rg-ico-p4,
.rg-cat-item.is-active > .rg-cat-row .rg-ico-all .rg-ico-p4 { animation-delay: .3s; }
@keyframes rg-grid-pop {
  0%, 100% { opacity: .55; }
  50% { opacity: 1; }
}

.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering,
.wp-block-woocommerce-product-results-count,
.wp-block-woocommerce-catalog-sorting {
  font-size: 13px !important;
  color: var(--rg-muted) !important;
}
.woocommerce .woocommerce-ordering select,
.wp-block-woocommerce-catalog-sorting select {
  border: 1px solid var(--rg-line) !important;
  border-radius: 10px !important;
  padding: 8px 12px !important;
  background: #fff !important;
}

.wc-block-product-template,
ul.products {
  margin-top: 12px !important;
}

.wc-block-product,
ul.products li.product {
  background: var(--rg-card) !important;
  border: 1px solid var(--rg-line) !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  box-shadow: 0 2px 8px rgba(12,34,12,.05) !important;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease !important;
  display: flex !important;
  flex-direction: column !important;
  padding: 0 !important;
  position: relative;
}
.wc-block-product.rg-card-in,
ul.products li.product.rg-card-in {
  animation: rg-card-in .45s ease both;
  animation-delay: var(--rg-delay, 0ms);
}
@keyframes rg-card-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.wc-block-product:hover,
ul.products li.product:hover {
  transform: translateY(-5px);
  border-color: rgba(200,168,75,.6) !important;
  box-shadow: 0 16px 32px rgba(12,34,12,.12) !important;
}

.wc-block-components-product-image {
  background:
    radial-gradient(circle at 30% 20%, rgba(200,168,75,.08), transparent 45%),
    #f7f9f7 !important;
  border-bottom: 1px solid var(--rg-line);
  margin: 0 !important;
  overflow: hidden;
}
.wc-block-components-product-image img {
  display: block !important;
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: contain !important;
  padding: 14px !important;
  box-sizing: border-box !important;
  transition: transform .35s ease !important;
}
.wc-block-product:hover .wc-block-components-product-image img,
ul.products li.product:hover img {
  transform: scale(1.06);
}

/* Título del producto en tarjetas (bloques Woo + loop clásico) */
.wc-block-components-product-name,
.wc-block-components-product-name a,
.wp-block-woocommerce-product-title,
.wp-block-woocommerce-product-title a,
.wc-block-product .wp-block-post-title,
.wc-block-product .wp-block-post-title a,
.wc-block-product-template .wp-block-post-title,
.wc-block-product-template .wp-block-post-title a,
ul.products li.product .woocommerce-loop-product__title,
ul.products li.product .woocommerce-loop-product__title a,
.rg-forced-product-title,
.rg-forced-product-title a {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  color: var(--rg-ink) !important;
  text-align: left !important;
  text-decoration: none !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden !important;
  min-height: 2.7em;
  padding: 12px 14px 4px !important;
  margin: 0 !important;
}

/* Evitar título duplicado si la plantilla ya trae uno */
.wc-block-product:has(.wp-block-post-title:not(.rg-forced-product-title)) .rg-forced-product-title,
.wc-block-product:has(.wc-block-components-product-name) .rg-forced-product-title,
.wc-block-product:has(.wp-block-woocommerce-product-title) .rg-forced-product-title,
.wc-block-product-template:has(.wp-block-post-title:not(.rg-forced-product-title)) .rg-forced-product-title,
li.product:has(.wp-block-post-title:not(.rg-forced-product-title)) .rg-forced-product-title {
  display: none !important;
}

/* Marca (azul rey) + Modelo (negro negrita) */
.rg-product-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 14px 6px !important;
  margin: 0 !important;
}
.rg-product-marca {
  color: #1a3a8f !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  letter-spacing: 0.01em;
}
.rg-product-modelo {
  color: #111111 !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
}

.wc-block-components-product-price,
.wp-block-woocommerce-product-price {
  text-align: left !important;
  padding: 4px 14px 10px !important;
  margin: 0 !important;
  color: var(--rg-green) !important;
  font-weight: 800 !important;
  font-size: 1.05rem !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
}

.wc-block-components-product-button,
.wp-block-woocommerce-product-button {
  width: 100% !important;
  margin-top: auto !important;
  padding: 0 10px 10px !important;
}
.wc-block-components-product-button .wp-block-button__link,
.wc-block-components-product-button__button {
  width: 100% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 38px !important;
  border-radius: 10px !important;
  background: var(--rg-green) !important;
  color: #fff !important;
  border: 0 !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  text-transform: none !important;
  text-decoration: none !important;
  transition: background .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease !important;
  box-shadow: 0 4px 12px rgba(27, 74, 27, 0.22);
}
.wc-block-components-product-button .wp-block-button__link:hover,
.wc-block-components-product-button__button:hover {
  background: var(--rg-gold) !important;
  color: var(--rg-green-deep) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(200, 168, 75, 0.35);
}

body.single-product .single_add_to_cart_button,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.wc-block-components-checkout-place-order-button,
.wc-block-cart__submit-button {
  background: var(--rg-green) !important;
  color: #fff !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
}

/* ========== FICHA DE PRODUCTO (PDP) — layout seguro ========== */
.rg-shop-hero--pdp {
  padding: 14px 0 16px;
}
.rg-shop-hero--pdp .rg-shop-toolbar {
  margin-bottom: 10px;
}
.rg-shop-hero--pdp .rg-shop-logo img {
  height: 48px;
}
.rg-pdp-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,.7);
}
.rg-pdp-crumb a {
  color: var(--rg-gold) !important;
  text-decoration: none !important;
  font-weight: 600;
}
.rg-pdp-crumb a:hover {
  color: #fff !important;
}
.rg-pdp-crumb span:last-child {
  color: #fff;
  font-weight: 700;
  max-width: min(520px, 70vw);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.single-product {
  background: var(--rg-bg);
}

body.single-product .wp-site-blocks > main {
  max-width: 1100px;
  margin: 18px auto 40px;
  padding: 0 20px;
}

/* NO forzar grid en div.product: rompe el tema de bloques (título vertical) */
body.single-product div.product {
  display: block !important;
  background: #fff;
  border: 1px solid var(--rg-line);
  border-radius: 18px;
  padding: 22px 22px 8px !important;
  box-shadow: 0 8px 28px rgba(12, 34, 12, 0.06);
  overflow: visible;
  position: relative;
}
body.single-product div.product::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  border-radius: 18px 18px 0 0;
  background: linear-gradient(90deg, var(--rg-green), var(--rg-gold));
  pointer-events: none;
}

/* Galería compacta sin romper columnas del tema */
body.single-product .woocommerce-product-gallery,
body.single-product .wp-block-woocommerce-product-image {
  max-width: 320px;
}
body.single-product .woocommerce-product-gallery__wrapper,
body.single-product .woocommerce-product-gallery__image,
body.single-product .wp-block-woocommerce-product-image {
  background: #f7f9f7;
  border: 1px solid var(--rg-line);
  border-radius: 14px;
  overflow: hidden;
}
body.single-product .woocommerce-product-gallery__image img,
body.single-product .wp-block-woocommerce-product-image img,
body.single-product .woocommerce-product-gallery img {
  max-width: 260px !important;
  width: 100% !important;
  height: auto !important;
  margin: 0 auto !important;
  display: block !important;
  padding: 16px !important;
  box-sizing: border-box !important;
  object-fit: contain !important;
}

/* Tipografía — horizontal siempre */
body.single-product .product_title,
body.single-product h1.product_title,
body.single-product h1.wp-block-post-title,
body.single-product .wp-block-post-title,
body.single-product .wp-block-woocommerce-product-title {
  display: block !important;
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: clamp(1.45rem, 2.4vw, 1.95rem) !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  line-height: 1.25 !important;
  color: var(--rg-ink) !important;
  margin: 0 0 10px !important;
}
body.single-product .summary,
body.single-product .entry-summary,
body.single-product .wp-block-column {
  min-width: 0 !important;
  max-width: 100% !important;
}
body.single-product .woocommerce-Price-amount,
body.single-product p.price,
body.single-product .price {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 1.5rem !important;
  font-weight: 800 !important;
  color: var(--rg-green) !important;
  margin: 0 0 12px !important;
}
body.single-product .woocommerce-product-details__short-description,
body.single-product .wp-block-post-excerpt {
  font-size: 15px !important;
  line-height: 1.6 !important;
  color: var(--rg-muted) !important;
  margin: 0 0 14px !important;
}
body.single-product .stock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(27,74,27,.08);
  color: var(--rg-green);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
}
body.single-product .stock.in-stock::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2f9e44;
  box-shadow: 0 0 0 3px rgba(47,158,68,.2);
}

body.single-product form.cart {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 16px 0 10px !important;
  padding: 12px;
  background: #f6f8f6;
  border: 1px solid var(--rg-line);
  border-radius: 12px;
}
body.single-product .quantity .qty {
  min-width: 64px;
  min-height: 44px;
  border: 1px solid var(--rg-line) !important;
  border-radius: 10px !important;
  text-align: center;
  font-weight: 700;
}
body.single-product .single_add_to_cart_button {
  min-height: 46px !important;
  padding: 0 20px !important;
  border-radius: 11px !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  box-shadow: 0 6px 14px rgba(27,74,27,.2);
}
body.single-product .single_add_to_cart_button:hover {
  background: var(--rg-gold) !important;
  color: var(--rg-green-deep) !important;
}

/* Ocultar meta nativa (usamos .rg-pdp-meta) */
body.single-product .product_meta {
  display: none !important;
}

.rg-pdp-meta {
  margin: 16px 0 8px !important;
  padding: 14px 0 4px !important;
  border-top: 1px dashed var(--rg-line) !important;
  display: flex;
  flex-direction: column;
  gap: 12px;
  clear: both;
}
.rg-pdp-label {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--rg-muted);
  margin-bottom: 6px;
}
.rg-pdp-sku {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.rg-pdp-sku-code {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 10px;
  background: #122812;
  color: #f5e7b2 !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: .04em;
  border: 1px solid rgba(200,168,75,.45);
}
.rg-pdp-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.rg-pdp-chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  text-decoration: none !important;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.2;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.rg-pdp-chip-cat {
  background: rgba(27,74,27,.08);
  color: var(--rg-green) !important;
  border: 1px solid rgba(27,74,27,.16);
}
.rg-pdp-chip-cat:hover {
  background: var(--rg-green);
  color: #fff !important;
  border-color: var(--rg-green);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(27,74,27,.18);
}
.rg-pdp-chip-tag {
  background: rgba(200,168,75,.14);
  color: #8a6a1d !important;
  border: 1px solid rgba(200,168,75,.4);
}
.rg-pdp-chip-tag:hover {
  background: var(--rg-gold);
  color: var(--rg-green-deep) !important;
  border-color: var(--rg-gold);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 18px rgba(200,168,75,.35);
}

/* Tabs */
body.single-product .woocommerce-tabs {
  margin-top: 18px;
  background: #fff;
  border: 1px solid var(--rg-line);
  border-radius: 14px;
  padding: 8px 18px 18px;
  clear: both;
}
body.single-product .woocommerce-tabs ul.tabs {
  padding: 0 !important;
  margin: 0 0 14px !important;
  border-bottom: 1px solid var(--rg-line) !important;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
body.single-product .woocommerce-tabs ul.tabs li {
  background: transparent !important;
  border: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
body.single-product .woocommerce-tabs ul.tabs li a {
  display: block;
  padding: 12px 14px !important;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--rg-muted) !important;
  border-bottom: 2px solid transparent;
}
body.single-product .woocommerce-tabs ul.tabs li.active a {
  color: var(--rg-green) !important;
  border-bottom-color: var(--rg-gold);
}
body.single-product .woocommerce-Tabs-panel {
  font-size: 15px;
  line-height: 1.65;
  color: #334433;
}
body.single-product .woocommerce-Tabs-panel h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--rg-ink);
  margin: 0 0 12px;
}
body.single-product table.shop_attributes {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--rg-line);
}
body.single-product table.shop_attributes th,
body.single-product table.shop_attributes td {
  padding: 10px 12px !important;
  border-bottom: 1px solid var(--rg-line) !important;
}
body.single-product table.shop_attributes th {
  background: #f4f7f4;
  font-weight: 800;
  color: var(--rg-green);
  width: 32%;
}
body.single-product .related > h2,
body.single-product .upsells > h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--rg-ink);
  margin: 28px 0 14px;
}

@media (max-width: 781px) {
  body.single-product .woocommerce-product-gallery,
  body.single-product .wp-block-woocommerce-product-image {
    max-width: 100%;
  }
  body.single-product .woocommerce-product-gallery__image img,
  body.single-product .woocommerce-product-gallery img {
    max-width: 220px !important;
  }
}

/* ========== FOOTER RIGOVSA ========== */
.rg-shop-footer {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: 48px;
  background: #0d2b0d;
  color: #fff;
  box-sizing: border-box;
}
.rg-shop-footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 28px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 28px;
}
.rg-shop-footer-brand {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--rg-gold);
  margin-bottom: 10px;
}
.rg-shop-footer p {
  color: rgba(255,255,255,.65);
  font-size: 14px;
  line-height: 1.55;
  margin: 0 0 14px;
}
.rg-shop-footer h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--rg-gold);
  margin: 0 0 12px;
}
.rg-shop-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.rg-shop-footer li {
  margin: 0 0 8px;
  font-size: 14px;
  color: rgba(255,255,255,.62);
  line-height: 1.45;
}
.rg-shop-footer a {
  color: rgba(255,255,255,.62) !important;
  text-decoration: none !important;
}
.rg-shop-footer a:hover {
  color: #fff !important;
}
.rg-shop-footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.rg-shop-footer-social a {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  font-size: 12px;
  font-weight: 600;
  color: #fff !important;
}
.rg-shop-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  text-align: center;
  padding: 16px 20px;
  font-size: 11px;
  color: rgba(255,255,255,.4);
}

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  border: 0;
}

@media (max-width: 900px) {
  .rg-shop-layout {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 16px;
  }
  .rg-shop-layout > .rg-shop-sidebar {
    position: static;
  }
  .rg-shop-sidebar-inner {
    padding: 14px;
  }
  .rg-shop-maincol > .rg-shop-trust {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .rg-cat-list {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 4px;
  }
  .rg-cat-list > .rg-cat-item {
    margin: 0;
  }
  .rg-cat-list > .rg-cat-item > .rg-cat-row > .rg-cat-link {
    padding: 8px 10px;
    border: 1px solid var(--rg-line);
    background: #fff;
  }
  .rg-cat-item.has-children:hover > .rg-cat-children {
    /* En móvil solo con clic / is-open */
    max-height: 0;
    opacity: 0;
    margin: 0 0 0 14px;
  }
  .rg-cat-item.has-children.is-open > .rg-cat-children,
  .rg-cat-item.has-children.is-branch > .rg-cat-children {
    max-height: 480px;
    opacity: 1;
    margin: 6px 0 8px 14px;
  }
  .rg-cat-count {
    display: none;
  }
  .rg-sidebar-wa {
    margin-top: 10px;
  }
  .rg-shop-toolbar {
    grid-template-columns: auto 1fr auto;
  }
  .rg-shop-home-btn {
    grid-column: 1 / 2;
  }
  .rg-shop-search {
    grid-column: 1 / -1;
    order: 5;
  }
  .rg-shop-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 1200px) {
  .wc-block-product-template,
  .wc-block-product-template.columns-2,
  .wc-block-product-template.columns-3,
  .wc-block-product-template.columns-4,
  .wc-block-product-template__responsive,
  ul.products,
  ul.products.columns-2,
  ul.products.columns-3,
  ul.products.columns-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 900px) {
  .wc-block-product-template,
  .wc-block-product-template.columns-2,
  .wc-block-product-template.columns-3,
  .wc-block-product-template.columns-4,
  .wc-block-product-template__responsive,
  ul.products,
  ul.products.columns-2,
  ul.products.columns-3,
  ul.products.columns-4 {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 781px) {
  .wc-block-product-template,
  .wc-block-product-template.columns-2,
  .wc-block-product-template.columns-3,
  .wc-block-product-template.columns-4,
  .wc-block-product-template__responsive,
  ul.products,
  ul.products.columns-2,
  ul.products.columns-3,
  ul.products.columns-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .rg-shop-logo img { height: 48px; }
}
@media (max-width: 560px) {
  .rg-shop-maincol > .rg-shop-trust {
    grid-template-columns: 1fr;
  }
  .rg-shop-footer-grid {
    grid-template-columns: 1fr;
  }
  .wc-block-product-template,
  .wc-block-product-template.columns-2,
  .wc-block-product-template.columns-3,
  .wc-block-product-template.columns-4,
  .wc-block-product-template__responsive,
  ul.products,
  ul.products.columns-2,
  ul.products.columns-3,
  ul.products.columns-4 {
    grid-template-columns: 1fr !important;
  }
}

/* ========== PEDIDO RECIBIDO / THANK YOU ========== */
.rg-shop-hero--thanks {
  padding: 16px 0 22px;
}
.rg-shop-hero--thanks .rg-shop-toolbar {
  grid-template-columns: auto auto 1fr auto;
  margin-bottom: 14px;
}
.rg-shop-thanks-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  justify-content: flex-end;
}
.rg-shop-thanks-links a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.22);
  color: #fff !important;
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 700;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.rg-shop-thanks-links a:hover {
  background: var(--rg-gold);
  border-color: var(--rg-gold);
  color: var(--rg-green-deep) !important;
}
.rg-thanks-hero-copy h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
}
.rg-thanks-hero-copy p {
  margin: 0;
  max-width: 42rem;
  color: rgba(255,255,255,.82);
  font-size: 15px;
  line-height: 1.5;
}

body.woocommerce-order-received .wp-site-blocks > main > .wp-block-group > h1.wp-block-post-title,
body.woocommerce-order-received main > .wp-block-group > h1.wp-block-post-title,
body.woocommerce-order-received main > h1.wp-block-post-title,
body.woocommerce-checkout.woocommerce-order-received h1.entry-title,
body.woocommerce-order-received .entry-header,
body.woocommerce-checkout.woocommerce-order-received .wp-block-post-title {
  display: none !important;
}

body.woocommerce-order-received .woocommerce-order,
body.woocommerce-checkout.woocommerce-order-received .woocommerce,
.wc-block-order-confirmation-status,
.wp-block-woocommerce-order-confirmation-status {
  max-width: 920px;
  margin: 0 auto 28px;
}

body.woocommerce-order-received .woocommerce-order {
  background: #fff;
  border: 1px solid var(--rg-line);
  border-radius: 18px;
  padding: 22px 22px 8px;
  box-shadow: 0 10px 30px rgba(12, 34, 12, 0.06);
  position: relative;
  overflow: hidden;
}
body.woocommerce-order-received .woocommerce-order::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--rg-green), var(--rg-gold));
}

.woocommerce-thankyou-order-received,
.wc-block-order-confirmation-status__description,
.wp-block-woocommerce-order-confirmation-status p {
  margin: 8px 0 20px !important;
  padding: 14px 16px !important;
  background: linear-gradient(135deg, rgba(27,74,27,.08), rgba(200,168,75,.12));
  border: 1px solid rgba(27,74,27,.12);
  border-radius: 12px;
  color: var(--rg-ink) !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;
}

.woocommerce-order-overview,
ul.woocommerce-order-overview {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  list-style: none !important;
  margin: 0 0 22px !important;
  padding: 0 !important;
}
.woocommerce-order-overview li {
  margin: 0 !important;
  padding: 14px 14px 12px !important;
  background: #f6f8f6;
  border: 1px solid var(--rg-line);
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--rg-muted);
  line-height: 1.35;
}
.woocommerce-order-overview li strong {
  display: block;
  margin-top: 6px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--rg-ink);
  word-break: break-word;
}
.woocommerce-order-overview__total strong,
.woocommerce-order-overview li.total strong {
  color: var(--rg-green);
}

.rg-thanks-account-next {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 20px;
  padding: 14px 16px;
  background: #f6f8f6;
  border: 1px solid var(--rg-line);
  border-radius: 12px;
}
.rg-thanks-account-next p {
  margin: 0;
  font-size: 14px;
  color: var(--rg-muted);
  line-height: 1.45;
}
.rg-thanks-account-next strong {
  color: var(--rg-ink);
}
.rg-thanks-account-next a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 10px;
  background: var(--rg-green);
  color: #fff !important;
  text-decoration: none !important;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 800;
}
.rg-thanks-account-next a:hover {
  background: var(--rg-gold);
  color: var(--rg-green-deep) !important;
}

.woocommerce-order-details,
.woocommerce-customer-details,
.wc-block-order-confirmation-totals-wrapper,
.wc-block-order-confirmation-shipping-wrapper,
.wc-block-order-confirmation-billing-wrapper,
.wp-block-woocommerce-order-confirmation-totals-wrapper,
.wp-block-woocommerce-order-confirmation-shipping-wrapper,
.wp-block-woocommerce-order-confirmation-billing-wrapper {
  margin: 0 0 20px !important;
  background: #fff;
  border: 1px solid var(--rg-line);
  border-radius: 14px;
  padding: 16px 18px 18px;
}

.woocommerce-order-details > h2,
.woocommerce-customer-details > h2,
.woocommerce-order-details__title,
.wc-block-order-confirmation-totals-wrapper h2,
.wc-block-order-confirmation-shipping-wrapper h2,
.wc-block-order-confirmation-billing-wrapper h2,
.wp-block-woocommerce-order-confirmation-totals-wrapper h2,
.wp-block-heading {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  color: var(--rg-ink) !important;
  margin: 0 0 12px !important;
}

.woocommerce-table--order-details,
.woocommerce-order-details table,
.wc-block-order-confirmation-totals table {
  width: 100%;
  border-collapse: collapse;
  border: 0 !important;
}
.woocommerce-table--order-details th,
.woocommerce-table--order-details td,
.woocommerce-order-details table th,
.woocommerce-order-details table td,
.wc-block-order-confirmation-totals th,
.wc-block-order-confirmation-totals td {
  padding: 12px 4px !important;
  border-top: 1px solid var(--rg-line) !important;
  border-bottom: 0 !important;
  font-size: 14px;
  vertical-align: top;
}
.woocommerce-table--order-details thead th,
.woocommerce-order-details table thead th {
  border-top: 0 !important;
  color: var(--rg-muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.woocommerce-table--order-details tfoot th,
.woocommerce-table--order-details tfoot td,
.woocommerce-order-details table tfoot th,
.woocommerce-order-details table tfoot td {
  font-weight: 800;
  color: var(--rg-green);
  border-top: 1px dashed var(--rg-line) !important;
}
.woocommerce-table--order-details .product-name a,
.woocommerce-order-details .product-name a {
  color: var(--rg-ink) !important;
  text-decoration: none !important;
  font-weight: 700;
}
.woocommerce-table--order-details .product-name a:hover {
  color: var(--rg-green) !important;
}

.woocommerce-customer-details .woocommerce-columns,
.woocommerce-columns--addresses {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 0 !important;
}
.woocommerce-customer-details .woocommerce-column,
.woocommerce-column--billing-address,
.woocommerce-column--shipping-address,
.wc-block-order-confirmation-address-wrapper {
  margin: 0 !important;
}
.woocommerce-customer-details address,
.wc-block-order-confirmation-shipping-address address,
.wc-block-order-confirmation-billing-address address,
.wp-block-woocommerce-order-confirmation-shipping-address,
.wp-block-woocommerce-order-confirmation-billing-address {
  display: block;
  margin: 0 !important;
  padding: 14px 16px !important;
  background: #f6f8f6;
  border: 1px solid var(--rg-line);
  border-radius: 12px;
  font-style: normal;
  line-height: 1.55;
  color: #334433;
}

/* Crear cuenta (bloque Woo + clásico) */
.wp-block-woocommerce-order-confirmation-create-account,
.wc-block-order-confirmation-create-account-content,
.wc-block-order-confirmation-create-account-form-wrapper {
  background: linear-gradient(160deg, #122812 0%, #1B4A1B 55%, #163816 100%) !important;
  color: #fff !important;
  border: 1px solid rgba(200,168,75,.35) !important;
  border-radius: 16px !important;
  padding: 22px 22px 20px !important;
  margin: 0 0 20px !important;
  box-shadow: 0 12px 28px rgba(12, 34, 12, 0.14);
}
.wp-block-woocommerce-order-confirmation-create-account h2,
.wp-block-woocommerce-order-confirmation-create-account h3,
.wc-block-order-confirmation-create-account-content h2,
.wc-block-order-confirmation-create-account-content h3,
.wp-block-woocommerce-order-confirmation-create-account p,
.wp-block-woocommerce-order-confirmation-create-account li,
.wc-block-order-confirmation-create-account-content p,
.wc-block-order-confirmation-create-account-content li {
  color: #fff !important;
}
.wp-block-woocommerce-order-confirmation-create-account h2,
.wp-block-woocommerce-order-confirmation-create-account h3,
.wc-block-order-confirmation-create-account-content h2 {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 800 !important;
  font-size: 1.2rem !important;
  margin: 0 0 10px !important;
}
.wp-block-woocommerce-order-confirmation-create-account ul,
.wc-block-order-confirmation-create-account-content ul {
  margin: 0 0 14px !important;
  padding-left: 1.1rem !important;
  color: rgba(255,255,255,.85) !important;
}
.wp-block-woocommerce-order-confirmation-create-account button,
.wc-block-order-confirmation-create-account-form button,
.wp-block-woocommerce-order-confirmation-create-account .wc-block-components-button {
  background: var(--rg-gold) !important;
  color: var(--rg-green-deep) !important;
  border: 0 !important;
  border-radius: 11px !important;
  min-height: 46px !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 800 !important;
}

/* Crear cuenta en thank you (clásico) */
.woocommerce-account-fields,
.woocommerce-form-register,
body.woocommerce-order-received .woocommerce-info,
body.woocommerce-order-received form.woocommerce-form-register,
body.woocommerce-order-received .create-account,
body.woocommerce-checkout.woocommerce-order-received .woocommerce > .woocommerce-form,
.wc-block-components-notice-banner.is-info {
  background: linear-gradient(160deg, #122812 0%, #1B4A1B 55%, #163816 100%) !important;
  color: #fff !important;
  border: 1px solid rgba(200,168,75,.35) !important;
  border-radius: 16px !important;
  padding: 20px 20px 18px !important;
  margin: 0 0 20px !important;
  box-shadow: 0 12px 28px rgba(12, 34, 12, 0.14);
}
body.woocommerce-order-received .woocommerce-info::before {
  color: var(--rg-gold) !important;
}
body.woocommerce-order-received .create-account h3,
body.woocommerce-order-received .woocommerce-form-register h2,
body.woocommerce-order-received .woocommerce-form-register .form-row label,
body.woocommerce-order-received .woocommerce-account-fields label,
body.woocommerce-order-received .woocommerce-info,
.wc-block-components-notice-banner.is-info .wc-block-components-notice-banner__content {
  color: #fff !important;
}
body.woocommerce-order-received .create-account ul,
body.woocommerce-order-received .woocommerce-info + ul,
body.woocommerce-order-received form .woocommerce-privacy-policy-text {
  color: rgba(255,255,255,.82) !important;
  font-size: 14px;
  line-height: 1.55;
}
body.woocommerce-order-received .woocommerce button.button,
body.woocommerce-order-received .woocommerce-form-register .button,
body.woocommerce-order-received .woocommerce-Button,
body.woocommerce-order-received button[name="createaccount"],
body.woocommerce-order-received .woocommerce-form-register button[type="submit"] {
  background: var(--rg-gold) !important;
  color: var(--rg-green-deep) !important;
  border: 0 !important;
  border-radius: 11px !important;
  min-height: 46px;
  padding: 0 22px !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 800 !important;
  font-size: 14px !important;
  box-shadow: 0 8px 18px rgba(200,168,75,.35);
}
body.woocommerce-order-received .woocommerce button.button:hover,
body.woocommerce-order-received .woocommerce-form-register .button:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

/* Blocks order confirmation shell */
body.woocommerce-order-received .wp-block-woocommerce-order-confirmation-summary,
.wc-block-order-confirmation-summary {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin: 0 0 22px !important;
  padding: 0 !important;
  list-style: none !important;
}
.wc-block-order-confirmation-summary-list-item,
.wp-block-woocommerce-order-confirmation-summary .wc-block-order-confirmation-summary-list-item {
  background: #fff;
  border: 1px solid var(--rg-line);
  border-radius: 12px;
  padding: 14px;
  box-shadow: 0 4px 14px rgba(12, 34, 12, 0.04);
}
.wc-block-order-confirmation-summary-list-item span {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--rg-muted);
}
.wc-block-order-confirmation-summary-list-item strong {
  display: block;
  margin-top: 6px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: var(--rg-ink);
}

@media (max-width: 900px) {
  .woocommerce-order-overview,
  ul.woocommerce-order-overview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .woocommerce-customer-details .woocommerce-columns,
  .woocommerce-columns--addresses {
    grid-template-columns: 1fr;
  }
  .rg-shop-hero--thanks .rg-shop-toolbar {
    grid-template-columns: auto 1fr auto;
  }
  .rg-shop-thanks-links {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}
@media (max-width: 560px) {
  .woocommerce-order-overview,
  ul.woocommerce-order-overview {
    grid-template-columns: 1fr;
  }
  body.woocommerce-order-received .woocommerce-order {
    padding: 16px 14px 6px;
    border-radius: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rg-shop-sidebar-inner::before,
  .rg-sidebar-wa-dot,
  .rg-cat-item .rg-cat-svg *,
  .rg-shop-trust-item svg *,
  .wc-block-product.rg-card-in,
  ul.products li.product.rg-card-in {
    animation: none !important;
  }
  .wc-block-product:hover .wc-block-components-product-image img,
  ul.products li.product:hover img {
    transform: none;
  }
}
