body {
  --ps-footer-bg: rgba(255, 255, 255, 0.78);
  --ps-footer-border: rgba(15, 23, 42, 0.08);
  --ps-footer-text: #1f2937;
  --ps-footer-muted: #64748b;
  --ps-footer-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
}

body.theme-brasa {
  --ps-footer-bg: rgba(255, 253, 251, 0.82);
  --ps-footer-border: #f3d9d2;
  --ps-footer-text: #2b1b18;
  --ps-footer-muted: #7a5a52;
  --ps-footer-shadow: 0 18px 48px rgba(232, 65, 47, 0.08);
}

body.theme-grafito {
  --ps-footer-bg: rgba(255, 255, 255, 0.82);
  --ps-footer-border: #dfe5eb;
  --ps-footer-text: #1f2937;
  --ps-footer-muted: #64748b;
  --ps-footer-shadow: 0 18px 48px rgba(71, 85, 105, 0.09);
}

body.theme-violeta {
  --ps-footer-bg: rgba(255, 255, 255, 0.8);
  --ps-footer-border: #e7ddfb;
  --ps-footer-text: #241a2e;
  --ps-footer-muted: #715f80;
  --ps-footer-shadow: 0 18px 48px rgba(124, 58, 237, 0.08);
}

body.theme-dark {
  --ps-footer-bg: rgba(12, 12, 12, 0.92);
  --ps-footer-border: #2e2e2e;
  --ps-footer-text: #f1f1f1;
  --ps-footer-muted: #bdbdbd;
  --ps-footer-shadow: 0 20px 54px rgba(0, 0, 0, 0.48);
}

body.theme-medianoche {
  --ps-footer-bg: rgba(21, 34, 58, 0.92);
  --ps-footer-border: #2a3b58;
  --ps-footer-text: #e8edf6;
  --ps-footer-muted: #aeb9ca;
  --ps-footer-shadow: 0 20px 54px rgba(0, 0, 0, 0.34);
}

body.theme-purple {
  --ps-footer-bg: rgba(31, 0, 51, 0.92);
  --ps-footer-border: #5b2479;
  --ps-footer-text: #f5e7ff;
  --ps-footer-muted: #ddb3ff;
  --ps-footer-shadow: 0 20px 54px rgba(20, 0, 33, 0.46);
}

body.theme-red {
  --ps-footer-bg: rgba(38, 0, 0, 0.92);
  --ps-footer-border: #661c1c;
  --ps-footer-text: #fff1f1;
  --ps-footer-muted: #ffb3b3;
  --ps-footer-shadow: 0 20px 54px rgba(26, 0, 0, 0.46);
}

body.theme-yellow {
  --ps-footer-bg: rgba(41, 41, 0, 0.92);
  --ps-footer-border: #666600;
  --ps-footer-text: #fffde7;
  --ps-footer-muted: #fff59d;
  --ps-footer-shadow: 0 20px 54px rgba(26, 26, 0, 0.42);
}

.storefront-footer {
  width: min(100%, 760px);
  margin: 0 auto;
  padding: 0 12px;
  box-sizing: border-box;
  color: var(--ps-footer-text);
}

.storefront-footer-card,
body[class*="theme-"] .storefront-footer-card.house {
  position: relative;
  width: 100%;
  margin-top: 1.5rem !important;
  padding: 1.55rem clamp(1rem, 4vw, 2rem) 6rem !important;
  box-sizing: border-box;
  overflow: hidden;
  color: var(--ps-footer-text) !important;
  background: var(--ps-footer-bg) !important;
  border: 1px solid var(--ps-footer-border);
  border-radius: 24px;
  box-shadow: var(--ps-footer-shadow);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.storefront-footer-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 26px !important;
  overflow: visible !important;
}

.storefront-footer-grid-single {
  grid-template-columns: minmax(0, 1fr);
}

.storefront-footer-title {
  color: var(--ps-footer-text) !important;
  font-size: 15px;
  font-weight: 800;
}

.storefront-footer-copy,
.storefront-footer-card .text-muted,
.storefront-footer-card .text-secondary,
.storefront-footer-card #rating-message,
.storefront-footer-votes {
  color: var(--ps-footer-muted) !important;
}

.storefront-footer-brand,
.storefront-footer-brand span {
  color: #22a447 !important;
  font-weight: 800;
}

.storefront-rating-star {
  padding: 1px !important;
  border: 0 !important;
  background: transparent !important;
  color: #f4b928 !important;
  font-size: 18px !important;
  line-height: 1;
  transition: transform 0.18s ease, filter 0.18s ease !important;
}

.storefront-rating-star:hover,
.storefront-rating-star:focus,
.storefront-rating-star.selected {
  color: #f4b928 !important;
  filter: drop-shadow(0 3px 5px rgba(244, 185, 40, 0.24));
  transform: translateY(-2px) scale(1.08);
}

.storefront-footer-average {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--ps-footer-border);
}

.storefront-footer-average-value {
  color: var(--ps-footer-text) !important;
  font-size: 26px;
  font-weight: 900;
}

@media (max-width: 520px) {
  .storefront-footer-card,
  body[class*="theme-"] .storefront-footer-card.house {
    padding: 1.35rem 1rem 6rem !important;
    border-radius: 20px;
  }

  .storefront-footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px !important;
  }
}
