/* =========================================================
   Catálogo Repuestos PRO
   Fuente única de estilos visuales para _catalogoRepuestos.php
   Usa colores dinámicos desde BD: --primary, --secondary,
   --primary-rgb, --secondary-rgb, --on-primary.
   ========================================================= */

:root {
  --rep-primary: var(--primary, #f97316);
  --rep-secondary: var(--secondary, #111827);
  --rep-on-primary: var(--on-primary, #ffffff);
  --rep-primary-rgb: var(--primary-rgb, 249, 115, 22);
  --rep-secondary-rgb: var(--secondary-rgb, 17, 24, 39);

  --rep-bg: #f4f6f8;
  --rep-surface: #ffffff;
  --rep-surface-soft: #f8fafc;
  --rep-ink: #0f172a;
  --rep-muted: #64748b;
  --rep-line: rgba(15, 23, 42, .11);
  --rep-line-strong: rgba(15, 23, 42, .18);
  --rep-shadow: 0 16px 38px rgba(15, 23, 42, .08);
  --rep-shadow-lg: 0 26px 64px rgba(15, 23, 42, .16);
  --rep-radius: 18px;
  --rep-radius-lg: 26px;
}

body.tea-theme,
body.tea-theme.tea-house-page {
  font-family: Barlow, "Nunito Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--rep-ink);
  background:
    radial-gradient(circle at 8% 4%, rgba(var(--rep-primary-rgb), .10), transparent 28%),
    radial-gradient(circle at 96% 14%, rgba(var(--rep-secondary-rgb), .08), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, var(--rep-bg) 58%, #eef2f7 100%);
  overflow-x: hidden;
}

/* Header / navegación */
body.tea-theme .tea-promo-bar,
body.tea-house-page .tea-promo-bar {
  min-height: 34px;
  background: linear-gradient(90deg, var(--rep-primary), var(--rep-secondary));
  color: var(--rep-on-primary);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: .25rem clamp(1rem, 4vw, 3rem);
  font-size: .78rem;
  font-weight: 800;
}

body.tea-theme .navbar,
body.tea-house-page .navbar {
  min-height: 78px;
  background: rgba(255, 255, 255, .94) !important;
  border-bottom: 1px solid var(--rep-line);
  box-shadow: 0 10px 28px rgba(15, 23, 42, .07);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

body.tea-house-page .navbar .container-fluid {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
}

body.tea-theme .navbar-brand img,
body.tea-house-page .navbar-brand img,
body.tea-house-page .tea-top-search .category-brand img {
  width: 66px;
  height: 66px;
  max-height: 66px;
  object-fit: contain;
  border-radius: 18px;
  border: 1px solid rgba(var(--rep-primary-rgb), .18);
  background: #fff;
  padding: 6px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .08);
}

body.tea-house-page .tea-main-menu {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: clamp(.8rem, 2vw, 1.6rem);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

body.tea-house-page .tea-main-menu a {
  color: var(--rep-ink);
  text-decoration: none;
  position: relative;
}

body.tea-house-page .tea-main-menu a::after {
  content: "";
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: -.35rem;
  height: 2px;
  border-radius: 999px;
  background: var(--rep-primary);
  transition: left .18s ease, right .18s ease;
}

body.tea-house-page .tea-main-menu a:hover::after,
body.tea-house-page .tea-main-menu a.active::after {
  left: 0;
  right: 0;
}

body.tea-house-page .tea-nav-actions {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  color: var(--rep-ink);
  font-size: .85rem;
  font-weight: 800;
}

/* Contenedor principal */
body.tea-theme .container.py-4,
body.tea-house-page .container.py-4 {
  max-width: 1360px;
  padding-top: 1.25rem !important;
}

/* Hero */
body.tea-theme #heroStack,
body.tea-house-page #heroStack {
  margin: 1.5rem auto 0;
  position: relative;
}

body.tea-theme #heroCarousel,
body.tea-house-page #heroCarousel {
  border-radius: var(--rep-radius-lg) !important;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .72);
  background: var(--rep-secondary);
  box-shadow: var(--rep-shadow-lg);
}

body.tea-theme #heroCarousel .carousel-inner,
body.tea-theme #heroCarousel .hero-banner,
body.tea-house-page #heroCarousel .carousel-inner,
body.tea-house-page #heroCarousel .hero-banner {
  border-radius: var(--rep-radius-lg) !important;
}

body.tea-theme #heroCarousel .hero-banner,
body.tea-house-page #heroCarousel .hero-banner {
  min-height: 430px;
  max-height: 540px;
  height: 44vh;
  background-size: cover !important;
  background-position: center !important;
  position: relative;
}

body.tea-theme #heroCarousel .hero-banner::before,
body.tea-house-page #heroCarousel .hero-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 23, 42, .84) 0%, rgba(15, 23, 42, .48) 43%, rgba(15, 23, 42, .12) 100%),
    radial-gradient(circle at 22% 50%, rgba(var(--rep-primary-rgb), .22), transparent 34%);
  z-index: 1;
}

body.tea-theme #heroCarousel .hero-banner > .d-flex,
body.tea-house-page #heroCarousel .hero-banner > .d-flex {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 2;
  align-items: center !important;
  justify-content: flex-start !important;
  text-align: left;
  padding: clamp(1.4rem, 4vw, 4rem);
}

body.tea-theme #heroCarousel .hero-content,
body.tea-house-page #heroCarousel .hero-content {
  width: min(92%, 620px);
  margin: 0;
  padding: clamp(1rem, 2.4vw, 1.8rem);
  border-radius: 24px;
  background: rgba(15, 23, 42, .28);
  border: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .18);
}

body.tea-theme #heroCarousel .hero-content h1,
body.tea-house-page #heroCarousel .hero-content h1 {
  max-width: 13ch;
  margin: 0;
  color: #fff !important;
  font-family: Rajdhani, Barlow, sans-serif;
  font-size: clamp(2.3rem, 5vw, 4.5rem);
  font-weight: 900;
  line-height: .98;
  text-align: left;
  text-transform: uppercase;
  text-shadow: 0 14px 34px rgba(0, 0, 0, .42);
}

body.tea-theme #heroCarousel .hero-content p,
body.tea-house-page #heroCarousel .hero-content p {
  max-width: 48ch;
  margin: .7rem 0 0;
  color: rgba(255, 255, 255, .90) !important;
  font-size: clamp(.98rem, 1.25vw, 1.18rem);
  line-height: 1.55;
  text-align: left;
  text-shadow: none;
}

body.tea-theme #heroCarousel .hero-content .btn,
body.tea-house-page #heroCarousel .hero-content .btn {
  margin-top: 1rem !important;
  border-radius: 999px;
  background: var(--rep-primary);
  border-color: var(--rep-primary);
  color: var(--rep-on-primary);
  padding: .72rem 1.15rem;
  font-weight: 900;
  box-shadow: 0 16px 34px rgba(var(--rep-primary-rgb), .28);
}

/* Intro */
body.tea-theme .tea-intro-band,
body.tea-house-page .tea-intro-band {
  display: block;
  max-width: 840px;
  margin: 0 auto;
  padding: 3rem 1rem 2rem;
  text-align: center;
}

body.tea-theme .tea-kicker,
body.tea-house-page .tea-kicker {
  display: block;
  margin: 0 0 .75rem;
  color: var(--rep-primary);
  font-size: .8rem;
  font-weight: 900;
  letter-spacing: .22em;
  text-transform: uppercase;
}

body.tea-theme .tea-intro-title,
body.tea-house-page .tea-intro-title,
body.tea-theme .tea-products-title,
body.tea-house-page .tea-products-title {
  color: var(--rep-ink);
  font-family: Rajdhani, Barlow, sans-serif;
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
}

body.tea-theme .tea-intro-title,
body.tea-house-page .tea-intro-title {
  font-size: clamp(2rem, 4vw, 3.1rem);
  margin: 0 0 .7rem;
}

body.tea-theme .tea-intro-copy,
body.tea-house-page .tea-intro-copy,
body.tea-theme .tea-products-sub,
body.tea-house-page .tea-products-sub {
  color: var(--rep-muted);
  line-height: 1.65;
}

/* Filtros */
body.tea-theme #stickyFilters,
body.tea-house-page #stickyFilters {
  max-width: 980px;
  margin: 0 auto 2rem !important;
}

body.tea-theme #stickyFilters .category-sticky,
body.tea-house-page #stickyFilters .category-sticky,
body.tea-theme .tea-sidebar,
body.tea-house-page .tea-sidebar,
body.tea-theme .tea-products-toolbar,
body.tea-house-page .tea-products-toolbar {
  background: rgba(255, 255, 255, .92);
  border: 1px solid var(--rep-line);
  border-radius: var(--rep-radius);
  box-shadow: var(--rep-shadow);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

body.tea-theme #stickyFilters .category-sticky,
body.tea-house-page #stickyFilters .category-sticky {
  padding: .8rem;
}

body.tea-theme #categorySearchInput,
body.tea-house-page #categorySearchInput,
body.tea-theme #searchInput,
body.tea-house-page #searchInput {
  border-radius: 999px;
}

body.tea-theme #categorySearchInput,
body.tea-house-page #categorySearchInput {
  border: 1px solid var(--rep-line);
  background: #fff;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, .04);
}

body.tea-theme #searchInput,
body.tea-house-page #searchInput {
  border: 0 !important;
  box-shadow: none !important;
  background: transparent;
}

body.tea-theme .category-pill,
body.tea-house-page .category-pill,
body.tea-theme .tea-category-btn,
body.tea-house-page .tea-category-btn {
  border-radius: 999px;
  border: 1px solid var(--rep-line-strong);
  background: #fff;
  color: #334155;
  padding: .45rem .82rem;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
}

body.tea-theme .category-pill:hover,
body.tea-house-page .category-pill:hover,
body.tea-theme .tea-category-btn:hover,
body.tea-house-page .tea-category-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(var(--rep-primary-rgb), .42);
  box-shadow: 0 10px 22px rgba(15, 23, 42, .08);
}

body.tea-theme .category-pill.active,
body.tea-house-page .category-pill.active,
body.tea-theme .tea-category-btn.active,
body.tea-house-page .tea-category-btn.active {
  background: linear-gradient(135deg, var(--rep-primary), var(--rep-secondary));
  border-color: transparent;
  color: var(--rep-on-primary);
  box-shadow: 0 16px 32px rgba(var(--rep-primary-rgb), .22);
}

/* Layout catálogo */
body.tea-theme .tea-catalog-layout,
body.tea-house-page .tea-catalog-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

body.tea-theme .tea-sidebar,
body.tea-house-page .tea-sidebar {
  position: sticky;
  top: calc(var(--nav-h, 74px) + 14px);
  overflow: hidden;
}

body.tea-theme .tea-filter-block,
body.tea-house-page .tea-filter-block {
  padding: 1rem;
  border-bottom: 1px solid var(--rep-line);
}

body.tea-theme .tea-filter-block:last-child,
body.tea-house-page .tea-filter-block:last-child {
  border-bottom: 0;
}

body.tea-theme .tea-filter-block h6,
body.tea-house-page .tea-filter-block h6 {
  margin: 0 0 .65rem;
  color: var(--rep-ink);
  font-family: Rajdhani, Barlow, sans-serif;
  font-size: 1.05rem;
  font-weight: 900;
  text-transform: uppercase;
}

body.tea-theme .tea-category-list,
body.tea-house-page .tea-category-list {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  max-height: 48vh;
  overflow: auto;
  padding-right: .1rem;
}

body.tea-theme .tea-products-toolbar,
body.tea-house-page .tea-products-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  margin-bottom: 1rem;
}

body.tea-theme .tea-products-title,
body.tea-house-page .tea-products-title {
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  margin: 0;
}

body.tea-theme .tea-active-filters,
body.tea-house-page .tea-active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  margin-top: .35rem;
}

body.tea-theme .tea-chip,
body.tea-house-page .tea-chip {
  display: inline-flex;
  align-items: center;
  padding: .22rem .55rem;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 900;
  background: rgba(var(--rep-primary-rgb), .10);
  border: 1px solid rgba(var(--rep-primary-rgb), .20);
  color: var(--rep-primary);
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* Productos */
body.tea-theme .tea-products-panel #productsGrid,
body.tea-house-page .tea-products-panel #productsGrid {
  --bs-gutter-x: 1.2rem;
  --bs-gutter-y: 1.8rem;
}

body.tea-theme .tea-products-panel .col-xl-4,
body.tea-house-page .tea-products-panel .col-xl-4,
body.tea-theme .tea-products-panel .col-lg-4,
body.tea-house-page .tea-products-panel .col-lg-4,
body.tea-theme .tea-products-panel .col-md-6,
body.tea-house-page .tea-products-panel .col-md-6,
body.tea-theme .tea-products-panel .col-sm-6,
body.tea-house-page .tea-products-panel .col-sm-6 {
  flex: 0 0 33.3333%;
  max-width: 33.3333%;
}

body.tea-theme .product-card,
body.tea-house-page .product-card {
  position: relative;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--rep-line);
  border-radius: var(--rep-radius-lg);
  background: rgba(255, 255, 255, .96);
  box-shadow: var(--rep-shadow);
  transition: transform .20s ease, box-shadow .20s ease, border-color .20s ease;
}

body.tea-theme .product-card:hover,
body.tea-house-page .product-card:hover {
  transform: translateY(-5px);
  border-color: rgba(var(--rep-primary-rgb), .30);
  box-shadow: var(--rep-shadow-lg);
}

body.tea-theme .product-card .product-image-wrapper,
body.tea-house-page .product-card .product-image-wrapper {
  position: relative;
  min-height: 235px;
  display: grid;
  place-items: center;
  padding: 1rem;
  background:
    radial-gradient(circle at 50% 70%, rgba(var(--rep-primary-rgb), .10), transparent 28%),
    linear-gradient(180deg, #ffffff, var(--rep-surface-soft));
  border-bottom: 1px solid rgba(15, 23, 42, .07);
}

body.tea-theme .product-card .product-image-wrapper img,
body.tea-house-page .product-card .product-image-wrapper img {
  width: min(220px, 90%) !important;
  height: 205px;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 14px 18px rgba(15, 23, 42, .10));
  transition: transform .22s ease;
}

body.tea-theme .product-card:hover .product-image-wrapper img,
body.tea-house-page .product-card:hover .product-image-wrapper img {
  transform: scale(1.04);
}

body.tea-theme .product-card .card-body,
body.tea-house-page .product-card .card-body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: .45rem;
}

body.tea-theme .product-card .card-title,
body.tea-house-page .product-card .card-title {
  min-height: 2.4em;
  margin: 0;
  color: var(--rep-ink);
  font-family: Rajdhani, Barlow, sans-serif;
  font-size: 1.08rem;
  font-weight: 900;
  line-height: 1.15;
  white-space: normal !important;
}

body.tea-theme .tea-card-topline,
body.tea-house-page .tea-card-topline {
  display: flex;
  justify-content: space-between;
  gap: .5rem;
  min-height: 1.2rem;
  color: var(--rep-muted);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

body.tea-theme .tea-card-notes,
body.tea-house-page .tea-card-notes,
body.tea-theme .product-summary,
body.tea-house-page .product-summary {
  color: var(--rep-muted);
  font-size: .86rem;
  line-height: 1.35;
}

body.tea-theme .tea-card-footer,
body.tea-house-page .tea-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-top: auto;
  padding-top: .45rem;
  border-top: 1px solid rgba(15, 23, 42, .08);
}

body.tea-theme .product-card .price,
body.tea-house-page .product-card .price {
  color: var(--rep-primary);
  font-size: 1.16rem;
  font-weight: 1000;
  line-height: 1;
}

body.tea-theme .product-card .price-old,
body.tea-house-page .product-card .price-old {
  color: #94a3b8;
  font-size: .88rem;
  text-decoration: line-through;
}

body.tea-theme .product-card .qty-controls,
body.tea-house-page .product-card .qty-controls {
  display: inline-flex;
  align-items: center;
  gap: .32rem;
  justify-content: flex-end;
}

body.tea-theme .product-card .qty-controls button,
body.tea-house-page .product-card .qty-controls button {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, .16);
  background: #fff;
  color: var(--rep-ink);
  font-weight: 900;
  box-shadow: 0 8px 16px rgba(15, 23, 42, .08);
}

body.tea-theme .product-card .qty-controls .btn-increase,
body.tea-house-page .product-card .qty-controls .btn-increase {
  background: var(--rep-primary);
  border-color: var(--rep-primary);
  color: var(--rep-on-primary);
}

body.tea-theme .product-card .qty,
body.tea-house-page .product-card .qty {
  min-width: 1.6rem;
  text-align: center;
  font-weight: 900;
  color: var(--rep-ink);
}

body.tea-theme .btn-detail,
body.tea-house-page .btn-detail {
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  border: 1px solid var(--rep-line);
  color: var(--rep-primary);
  box-shadow: 0 12px 24px rgba(15, 23, 42, .10);
}

body.tea-theme .badge-preparado,
body.tea-house-page .badge-preparado,
body.tea-theme .discount-badge,
body.tea-house-page .discount-badge,
body.tea-theme .sin-stock-badge,
body.tea-house-page .sin-stock-badge {
  border-radius: 999px;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .14);
}

body.tea-theme .badge-preparado,
body.tea-house-page .badge-preparado,
body.tea-theme .discount-badge,
body.tea-house-page .discount-badge {
  background: var(--rep-primary);
  color: var(--rep-on-primary);
  border: 0;
}

body.tea-theme .sin-stock-badge,
body.tea-house-page .sin-stock-badge {
  background: var(--rep-secondary);
  color: #fff;
}

/* Carrito / checkout / modales */
body.tea-theme .cart-bar,
body.tea-house-page .cart-bar,
#mobileCartBtn {
  border-radius: 24px 24px 0 0;
  background: linear-gradient(135deg, var(--rep-secondary), #020617) !important;
  color: #fff !important;
  box-shadow: 0 -14px 34px rgba(15, 23, 42, .24);
}

body.tea-theme .cart-bar .btn,
body.tea-house-page .cart-bar .btn,
body.tea-theme #checkoutBtn,
body.tea-house-page #checkoutBtn,
body.tea-theme .btn-pro,
body.tea-house-page .btn-pro,
body.tea-theme #modalAddToCart,
body.tea-house-page #modalAddToCart {
  border-radius: 999px;
  background: var(--rep-primary) !important;
  border-color: var(--rep-primary) !important;
  color: var(--rep-on-primary) !important;
  font-weight: 900;
}

#cartModal .modal-content,
#productModal .modal-content,
#catalogFooterModal .modal-content,
#teaFooterInfoModal .modal-content {
  border: 0;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 30px 90px rgba(15, 23, 42, .25);
}

#cartModal .modal-header,
#productModal .modal-header,
#catalogFooterModal .modal-header,
#teaFooterInfoModal .modal-header {
  background: linear-gradient(135deg, var(--rep-primary), var(--rep-secondary));
  color: var(--rep-on-primary);
  border-bottom: 0;
}

#cartModal .modal-title,
#productModal .modal-title,
#catalogFooterModal .modal-title,
#teaFooterInfoModal .modal-title {
  font-family: Rajdhani, Barlow, sans-serif;
  font-weight: 900;
  text-transform: uppercase;
}

/* Footer dinámico desde FooterConfig */
.catalog-db-footer {
  margin-top: 3.5rem;
  background:
    radial-gradient(circle at 10% 0%, rgba(var(--rep-primary-rgb), .18), transparent 30%),
    linear-gradient(135deg, var(--rep-secondary), #020617);
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.catalog-db-footer-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
  padding: 1.25rem clamp(1rem, 4vw, 3rem);
  background: rgba(255, 255, 255, .06);
  border-bottom: 1px solid rgba(255, 255, 255, .10);
}

.catalog-db-footer-benefit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 58px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 18px;
  background: rgba(255, 255, 255, .07);
  color: #fff;
  text-align: center;
}

.catalog-db-footer-benefit .material-symbols-rounded {
  color: var(--rep-primary);
}

.catalog-db-footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  gap: 2rem;
  padding: 2.6rem clamp(1rem, 4vw, 3rem) 2rem;
}

.catalog-db-footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.catalog-db-footer-column h6,
.catalog-db-footer-newsletter h3 {
  color: #fff;
  font-weight: 900;
}

.catalog-db-footer-column h6 {
  margin-bottom: .95rem;
  font-size: .86rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.catalog-db-footer-column a,
.catalog-db-footer-column button {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: .38rem;
  margin-bottom: .58rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, .74);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: color .18s ease, transform .18s ease;
}

.catalog-db-footer-column a:hover,
.catalog-db-footer-column button:hover {
  color: #fff;
  transform: translateX(2px);
}

.catalog-db-footer-column .material-symbols-rounded {
  font-size: 18px;
  color: var(--rep-primary);
}

.catalog-db-footer-newsletter h3 {
  margin: 0 0 1rem;
  font-family: Rajdhani, Barlow, sans-serif;
  font-size: 1.7rem;
  line-height: 1.1;
  text-transform: uppercase;
}

.catalog-db-footer-newsletter-line {
  display: flex;
  align-items: center;
  gap: .5rem;
  max-width: 390px;
  margin-bottom: 1rem;
  padding: .35rem .45rem .35rem .9rem;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
}

.catalog-db-footer-newsletter-line input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
}

.catalog-db-footer-newsletter-line input::placeholder {
  color: rgba(255, 255, 255, .55);
}

.catalog-db-footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: .85rem 0 1rem;
}

.catalog-db-footer-social a {
  min-width: 38px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .35rem .55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  color: #fff;
  text-decoration: none;
  font-weight: 900;
}

.catalog-db-footer-contact {
  color: rgba(255, 255, 255, .78);
  font-weight: 800;
}

/* Responsive */
@media (max-width: 1199px) {
  body.tea-theme .tea-products-panel .col-xl-4,
  body.tea-house-page .tea-products-panel .col-xl-4,
  body.tea-theme .tea-products-panel .col-lg-4,
  body.tea-house-page .tea-products-panel .col-lg-4,
  body.tea-theme .tea-products-panel .col-md-6,
  body.tea-house-page .tea-products-panel .col-md-6,
  body.tea-theme .tea-products-panel .col-sm-6,
  body.tea-house-page .tea-products-panel .col-sm-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (max-width: 991px) {
  body.tea-house-page .tea-promo-bar {
    grid-template-columns: 1fr;
    text-align: center;
  }

  body.tea-house-page .tea-promo-social,
  body.tea-house-page .tea-promo-login,
  body.tea-house-page .tea-main-menu {
    display: none;
  }

  body.tea-house-page .navbar .container-fluid {
    grid-template-columns: auto 1fr auto;
  }

  body.tea-theme .tea-catalog-layout,
  body.tea-house-page .tea-catalog-layout {
    grid-template-columns: 1fr;
  }

  body.tea-theme .tea-sidebar,
  body.tea-house-page .tea-sidebar {
    position: static;
  }

  body.tea-theme .tea-category-list,
  body.tea-house-page .tea-category-list {
    max-height: none;
  }

  body.tea-theme .tea-products-toolbar,
  body.tea-house-page .tea-products-toolbar,
  .catalog-db-footer-main {
    grid-template-columns: 1fr;
  }

  .catalog-db-footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  body.tea-theme #heroCarousel,
  body.tea-house-page #heroCarousel,
  body.tea-theme #heroCarousel .carousel-inner,
  body.tea-house-page #heroCarousel .carousel-inner,
  body.tea-theme #heroCarousel .hero-banner,
  body.tea-house-page #heroCarousel .hero-banner {
    border-radius: 20px !important;
  }

  body.tea-theme #heroCarousel .hero-banner,
  body.tea-house-page #heroCarousel .hero-banner {
    min-height: 340px;
    height: auto;
  }

  body.tea-theme #heroCarousel .hero-banner > .d-flex,
  body.tea-house-page #heroCarousel .hero-banner > .d-flex {
    padding: 1.25rem;
    align-items: flex-end !important;
  }

  body.tea-theme #heroCarousel .hero-content,
  body.tea-house-page #heroCarousel .hero-content {
    width: 100%;
    border-radius: 18px;
  }

  body.tea-theme .tea-products-panel .col-xl-4,
  body.tea-house-page .tea-products-panel .col-xl-4,
  body.tea-theme .tea-products-panel .col-lg-4,
  body.tea-house-page .tea-products-panel .col-lg-4,
  body.tea-theme .tea-products-panel .col-md-6,
  body.tea-house-page .tea-products-panel .col-md-6,
  body.tea-theme .tea-products-panel .col-sm-6,
  body.tea-house-page .tea-products-panel .col-sm-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .catalog-db-footer-benefits,
  .catalog-db-footer-links {
    grid-template-columns: 1fr;
  }

  .catalog-db-footer-main {
    padding-inline: 1rem;
  }
}

@media (max-width: 576px) {
  body.tea-house-page .navbar,
  body.tea-theme .navbar {
    min-height: 70px;
  }

  body.tea-house-page .navbar-brand img,
  body.tea-theme .navbar-brand img {
    width: 56px;
    height: 56px;
  }

  body.tea-theme .product-card,
  body.tea-house-page .product-card {
    border-radius: 20px;
  }

  body.tea-theme .product-card .product-image-wrapper,
  body.tea-house-page .product-card .product-image-wrapper {
    min-height: 215px;
  }

  body.tea-theme .product-card .product-image-wrapper img,
  body.tea-house-page .product-card .product-image-wrapper img {
    height: 185px;
  }
}
/* PRODUCT MODAL CLEAN FOOTER */
body.rep-house-page .modal.show .modal-content {
  max-height: calc(100vh - 28px);
  overflow: hidden;
}

body.rep-house-page .modal.show .modal-body {
  max-height: calc(100vh - 225px);
  overflow-y: auto;
  overscroll-behavior: contain;
}

body.rep-house-page .modal.show .rep-product-modal-footer-clean {
  display: grid !important;
  grid-template-columns: auto minmax(360px, 1fr);
  gap: 1.1rem;
  align-items: center;
  padding: 1rem 1.35rem !important;
  background: rgba(255, 255, 255, .98) !important;
  border-top: 1px solid rgba(15, 23, 42, .10) !important;
  box-shadow: 0 -18px 42px rgba(15, 23, 42, .10) !important;
}

body.rep-house-page .modal.show .rep-product-modal-price-clean {
  min-width: 185px;
  display: flex;
  align-items: baseline;
  gap: .35rem;
  white-space: nowrap;
}

body.rep-house-page .modal.show .rep-product-modal-price-clean small {
  color: #334155;
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

body.rep-house-page .modal.show .rep-product-modal-price-clean strong {
  color: var(--rep-primary, var(--primary, #f97316));
  font-family: Rajdhani, Barlow, sans-serif;
  font-size: 1.7rem;
  font-weight: 900;
  line-height: 1;
}

body.rep-house-page .modal.show .rep-product-modal-actions-clean {
  display: flex !important;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  min-width: 0;
}

body.rep-house-page .modal.show .rep-footer-buy-pill {
  width: min(100%, 560px);
  min-height: 68px;
  display: grid;
  grid-template-columns: 58px 54px 1fr;
  align-items: center;
  gap: .45rem;
  padding: .45rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
  border: 1px solid rgba(15, 23, 42, .12);
  box-shadow: 0 16px 36px rgba(15, 23, 42, .12), inset 0 1px 0 rgba(255,255,255,.95);
}

body.rep-house-page .modal.show .rep-footer-buy-pill .qty-controls,
body.rep-house-page .modal.show .rep-footer-buy-pill .modal-qty-controls {
  display: contents !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.rep-house-page .modal.show .rep-footer-buy-pill .qty-controls button,
body.rep-house-page .modal.show .rep-footer-buy-pill .modal-qty-controls button {
  width: 54px !important;
  height: 54px !important;
  min-width: 54px !important;
  border-radius: 999px !important;
  border: 0 !important;
  background: #fff !important;
  color: var(--rep-primary, var(--primary, #f97316)) !important;
  font-size: 1.55rem !important;
  font-weight: 900 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .12) !important;
}

body.rep-house-page .modal.show .rep-footer-buy-pill .qty,
body.rep-house-page .modal.show .rep-footer-buy-pill .modal-qty,
body.rep-house-page .modal.show .rep-footer-buy-pill [data-qty] {
  min-width: 48px !important;
  text-align: center !important;
  color: #111827 !important;
  font-family: Rajdhani, Barlow, sans-serif !important;
  font-size: 1.7rem !important;
  font-weight: 900 !important;
  line-height: 1 !important;
}

body.rep-house-page .modal.show .rep-footer-buy-pill #modalAddToCart {
  width: 100% !important;
  min-width: 0 !important;
  min-height: 56px !important;
  margin: 0 !important;
  padding: .65rem 1.6rem !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: .55rem !important;
  white-space: nowrap !important;
  font-family: Rajdhani, Barlow, sans-serif !important;
  font-size: 1.22rem !important;
  font-weight: 900 !important;
  letter-spacing: .02em !important;
  text-transform: none !important;
  background: #075d70 !important;
  border-color: #075d70 !important;
  color: #fff !important;
  box-shadow: 0 14px 28px rgba(7, 93, 112, .26) !important;
}

body.rep-house-page .modal.show .rep-footer-buy-pill #modalAddToCart .material-symbols-rounded {
  font-size: 1.35rem;
}

body.rep-house-page .modal.show .rep-modal-price-source-clean,
body.rep-house-page .modal.show .rep-modal-empty-clean,
body.rep-house-page .modal.show .modal-body > div:empty,
body.rep-house-page .modal.show .modal-body > .rounded-pill:empty,
body.rep-house-page .modal.show .modal-body > .bg-white:empty,
body.rep-house-page .modal.show .rep-hide-original-qty-clean {
  display: none !important;
}

@media (max-width: 768px) {
  body.rep-house-page .modal.show .rep-product-modal-footer-clean {
    grid-template-columns: 1fr;
    gap: .75rem;
    padding: .9rem !important;
  }

  body.rep-house-page .modal.show .rep-product-modal-price-clean {
    justify-content: center;
    min-width: 0;
  }

  body.rep-house-page .modal.show .rep-product-modal-actions-clean {
    justify-content: center;
  }

  body.rep-house-page .modal.show .rep-footer-buy-pill {
    width: 100%;
    grid-template-columns: 54px 48px 1fr;
  }
}
.rep-product-modal-accordion .accordion-item{
  border:1px solid rgba(15,23,42,.10);
  border-radius:14px;
  overflow:hidden;
  margin-bottom:.65rem;
  box-shadow:0 8px 22px rgba(15,23,42,.06);
}

.rep-product-modal-accordion .accordion-button{
  font-weight:900;
  color:#111827;
  background:#fff;
  box-shadow:none;
}

.rep-product-modal-accordion .accordion-button:not(.collapsed){
  color:var(--primary);
  background:#f8fafc;
}

.rep-product-modal-accordion .accordion-body{
  max-height:220px;
  overflow-y:auto;
  font-size:.92rem;
  line-height:1.55;
}
body.rep-theme #cartModal .cart-modal-pro{
  border:0;
  border-radius:32px;
  overflow:hidden;
  background:#f6f7f9;
  box-shadow:0 30px 90px rgba(15,23,42,.28);
}

body.rep-theme #cartModal .cart-pro-header{
  display:flex;
  justify-content:space-between;
  padding:34px 38px 22px;
  border-bottom:1px solid #d7dce3;
}

body.rep-theme #cartModal .cart-pro-title{
  margin:0;
  font-size:58px;
  font-weight:900;
  letter-spacing:-2px;
  text-transform:uppercase;
}

body.rep-theme #cartModal .cart-pro-body{
  display:grid;
  grid-template-columns:1.45fr .8fr;
  gap:24px;
  padding:28px;
}

body.rep-theme #cartModal .cart-pro-items-card,
body.rep-theme #cartModal .cart-pro-summary-card{
  background:#fff;
  border:1px solid #dfe4ec;
  border-radius:28px;
  padding:26px;
}

body.rep-theme #cartModal .cart-pro-item{
  display:grid;
  grid-template-columns:86px 1fr auto;
  gap:18px;
  align-items:center;
  padding:16px;
  border:1px solid #e5e7eb;
  border-radius:22px;
  background:#fff;
}

body.rep-theme #cartModal .cart-pro-item-img{
  width:86px;
  height:86px;
  object-fit:cover;
  border-radius:18px;
}

body.rep-theme #cartModal .cart-pro-item-info h4{
  margin:0 0 4px;
  font-size:18px;
  font-weight:900;
}

body.rep-theme #cartModal .cart-pro-item-price strong{
  font-size:22px;
  font-weight:900;
}

body.rep-theme #cartModal .cart-pro-total-row{
  display:flex;
  justify-content:space-between;
  border-top:1px solid #e5e7eb;
  padding-top:24px;
  margin-top:18px;
}

body.rep-theme #cartModal .cart-pro-total-row span{
  font-size:30px;
  font-weight:900;
  color:#475569;
}

body.rep-theme #cartModal .cart-pro-total-row strong{
  font-size:48px;
  font-weight:900;
}

body.rep-theme #cartModal .cart-pro-primary-btn{
  width:100%;
  min-height:58px;
  border:0;
  border-radius:18px;
  color:#fff;
  font-weight:900;
  background:linear-gradient(135deg,var(--primary),var(--secondary));
}

body.rep-theme #cartModal .cart-pro-danger-btn{
  width:100%;
  min-height:54px;
  margin-top:12px;
  border:1px solid #fecaca;
  border-radius:18px;
  color:#b91c1c;
  background:#fff;
  font-weight:900;
}

@media(max-width:991px){
  body.rep-theme #cartModal .cart-pro-body{
    grid-template-columns:1fr;
  }

  body.rep-theme #cartModal .cart-pro-title{
    font-size:42px;
  }
}