:root{
  --rp-accent:#1d4ed8;      /* blue-700 — puțin mai saturat pe fundal deschis */
  --rp-accent-2:#1e40af;    /* blue-800 */
  --rp-accent-3:#15803d;    /* green-700 */
  --rp-warn:#d97706;
  --rp-ink:#0f172a;
  --rp-muted:#475569;
  --rp-bg:#f4f6fa;
  --rp-card:#ffffff;
  --rp-soft:#f4f6fa;
  --rp-soft-rgb: 244,246,250;
  --rp-border:rgba(15,23,42,.10);
  --rp-shadow: 0 12px 40px rgba(15,23,42,.09);
  --rp-shadow-sm: 0 8px 24px rgba(15,23,42,.07);
  --rp-radius: 20px;
  --rp-radius-sm: 15px;
  --rp-radius-lg: 28px;
  /* aliniere cu Bootstrap primary */
  --bs-primary: var(--rp-accent);
  --bs-primary-rgb: 29, 78, 216;
}

html, body { height: 100%; }
body{
  color:var(--rp-ink);
  background:
    radial-gradient(1200px 600px at 100% -10%, rgba(29,78,216,.06), transparent 55%),
    radial-gradient(900px 500px at -5% 30%, rgba(21,128,61,.05), transparent 50%),
    var(--rp-bg);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Noto Sans", "Inter", "Apple Color Emoji", "Segoe UI Emoji";
  letter-spacing: -0.012em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  background: transparent;
  flex: 1 0 auto;
}

.display-5,
h1, h2, h3, h4,
.navbar-brand,
.section-kicker{
  font-family: ui-sans-serif, system-ui, "Plus Jakarta Sans", "Inter", sans-serif;
}

.site-header{
  flex-shrink: 0;
}
.site-header .topbar { background: #fff; }
.site-header .navbar {
  box-shadow: 0 1px 0 var(--rp-border), 0 12px 32px rgba(15,23,42,.06);
}

.topbar-dark{
  background: #000 !important;
  border-bottom-color: rgba(255,255,255,.10) !important;
  color: rgba(255,255,255,.92);
}
.topbar-dark .text-muted,
.topbar-dark .link-secondary{
  color: rgba(255,255,255,.78) !important;
}
.topbar-dark a{
  color: rgba(255,255,255,.86) !important;
}
.topbar-dark a i{
  color: rgba(255,255,255,.86) !important;
}
.topbar-dark a:hover{
  color: rgba(255,255,255,.98) !important;
}
.topbar-dark .btn-outline-secondary{
  color: rgba(255,255,255,.86);
  border-color: rgba(255,255,255,.24);
  background: transparent;
}
.topbar-dark .btn-outline-secondary:hover,
.topbar-dark .btn-outline-secondary:focus{
  color: #000;
  background: rgba(255,255,255,.92);
  border-color: rgba(255,255,255,.92);
}
.topbar-dark .btn-outline-secondary:focus{
  box-shadow: 0 0 0 .25rem rgba(255,255,255,.18);
}

a{ text-underline-offset: 3px; }
.link-soft{ color: var(--rp-muted); }
.link-soft:hover{ color: var(--rp-ink); }

.display-5{
  letter-spacing: -0.03em;
}
h1,h2,h3,h4{
  letter-spacing: -0.02em;
}
p{ line-height: 1.65; }

.content-prose{
  --prose-space: 1rem;
}
.content-prose :where(h1,h2,h3,h4){
  margin-top: 0;
  margin-bottom: .75rem;
}
.content-prose :where(p){
  margin-bottom: var(--prose-space);
}
.content-prose :where(p:last-child){
  margin-bottom: 0;
}
.content-prose :where(ul,ol){
  margin-bottom: var(--prose-space);
  padding-left: 1.25rem;
}
.content-prose :where(li){
  margin-bottom: .4rem;
}
.content-prose :where(li:last-child){
  margin-bottom: 0;
}
.content-prose :where(hr){
  margin: 1.5rem 0;
  border-top: 1px solid var(--rp-border);
  opacity: 1;
}
.content-prose :where(blockquote){
  margin: 1.25rem 0;
  padding: .85rem 1rem;
  border-left: 4px solid rgba(37,99,235,.35);
  background: rgba(var(--rp-soft-rgb), .78);
  border-radius: 14px;
}
.content-prose :where(dl){
  margin-bottom: var(--prose-space);
}
.content-prose :where(dt){
  font-weight: 700;
}
.content-prose :where(dd){
  margin-bottom: .35rem;
}
.content-prose :where(code){
  font-size: .95em;
  background: rgba(2,6,23,.06);
  border: 1px solid rgba(2,6,23,.08);
  padding: .08rem .35rem;
  border-radius: 10px;
}
.content-prose :where(a:not(.btn)){
  color: var(--rp-accent);
}
.content-prose :where(a:not(.btn):hover){
  color: var(--rp-accent-2);
}
/* Linkuri stil buton: culori Bootstrap (altfel iconița .bi e aceeași cu fundalul .btn-primary) */
.content-prose :where(a.btn){
  color: var(--bs-btn-color);
}
.content-prose :where(a.btn:hover){
  color: var(--bs-btn-hover-color);
}
.content-prose :where(a.btn:focus-visible){
  color: var(--bs-btn-hover-color);
}
/* Specificitatea de mai sus depășește .btn:active din Bootstrap — refacem starea apăsată / activă */
.content-prose :where(a.btn:active),
.content-prose :where(a.btn.active){
  color: var(--bs-btn-active-color);
}
.content-prose :where(a.btn.disabled){
  color: var(--bs-btn-disabled-color);
}

.container{
  max-width: 1140px;
}

.page-section{
  padding-top: 3rem;
  padding-bottom: 3rem;
}
@media (min-width: 992px){
  .page-section{
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }
}

.card{
  border-color: var(--rp-border);
  border-radius: var(--rp-radius);
  box-shadow: 0 1px 0 rgba(2,6,23,.03);
}

.btn{
  border-radius: 14px;
  font-weight: 600;
  transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease, border-color .12s ease, color .12s ease;
}
.btn-lg{
  border-radius: 16px;
}
.btn-primary{
  background: linear-gradient(180deg, #2563eb 0%, var(--rp-accent) 100%);
  border-color: rgba(15,23,42,.08);
  box-shadow: 0 1px 0 rgba(255,255,255,.2) inset, 0 4px 14px rgba(29,78,216,.28);
}
.btn-primary:hover,
.btn-primary:focus{
  background: linear-gradient(180deg, #3b82f6 0%, #1d4ed8 100%);
  border-color: rgba(15,23,42,.12);
  box-shadow: 0 1px 0 rgba(255,255,255,.22) inset, 0 6px 20px rgba(29,78,216,.35);
  transform: translateY(-1px);
}
.btn-primary:active{
  transform: translateY(0);
  box-shadow: 0 1px 0 rgba(255,255,255,.15) inset, 0 2px 8px rgba(29,78,216,.25);
}
.form-control, .form-select{
  border-radius: 14px;
  border-color: rgba(15,23,42,.14);
}
.form-control:focus, .form-select:focus{
  box-shadow: 0 0 0 .25rem rgba(37,99,235,.16);
  border-color: rgba(37,99,235,.40);
}

.glass{
  background: rgba(var(--rp-soft-rgb), .62);
  border: 1px solid rgba(var(--rp-soft-rgb), .55);
  box-shadow: 0 10px 30px rgba(2,6,23,.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.glass--strong{
  background: rgba(var(--rp-soft-rgb), .76);
  border-color: rgba(var(--rp-soft-rgb), .70);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.glass--dark{
  background: rgba(15,23,42,.55);
  border: 1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.glass--black{
  background:
    radial-gradient(900px 260px at 20% 0%, rgba(37,99,235,.22), transparent 60%),
    radial-gradient(900px 260px at 80% 0%, rgba(22,163,74,.16), transparent 60%),
    rgba(0,0,0,.88);
  border: 1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.glass--black .text-muted,
.glass--black .link-secondary{
  color: rgba(255,255,255,.72) !important;
}
.glass--dark .text-muted,
.glass--dark .link-secondary{
  color: rgba(255,255,255,.72) !important;
}

.glass-border{
  position: relative;
}
.glass-border::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius: inherit;
  pointer-events:none;
  background: linear-gradient(135deg, rgba(37,99,235,.34), rgba(22,163,74,.22));
  mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000);
  -webkit-mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000);
  padding: 1px;
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  opacity: .55;
}

/* Logo header — fără chenar; folosește PNG cu fundal transparent pentru cel mai bun rezultat */
.brand-logo{
  padding-top: .15rem;
  padding-bottom: .15rem;
  background: transparent;
}
.brand-logo__full{
  display: block;
  height: 36px;
  width: auto;
  max-width: min(240px, 62vw);
  object-fit: contain;
  vertical-align: middle;
}
@media (min-width: 576px){
  .brand-logo__full{
    height: 40px;
    max-width: min(280px, 50vw);
  }
}

.footer-brand-logo{
  display: block;
  height: 44px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.35));
}
@media (min-width: 992px){
  .footer-brand-logo{
    height: 48px;
  }
}

.btn-xs{
  padding: .15rem .5rem;
  font-size: .75rem;
  border-radius: 999px;
}

.icon-btn{
  width: 42px;
  height: 42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius: 12px;
}
.icon-btn--cart{
  position: relative;
}
.icon-btn__badge{
  position: absolute;
  top: -2px;
  right: -2px;
  font-size: .65rem;
  padding: .15em .4em;
  line-height: 1.2;
  min-width: 1.15rem;
}

/* Buton coș — doar icon (text în aria-label / title) */
.btn-cart-icon{
  width: 2.875rem;
  height: 2.375rem;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
}
.btn-cart-icon--lg{
  width: 3.25rem;
  height: 2.875rem;
  font-size: 1.3rem;
}

.hero{
  background:
    radial-gradient(1200px 520px at 8% 12%, rgba(37,99,235,.10), transparent 60%),
    radial-gradient(900px 420px at 80% 85%, rgba(22,163,74,.06), transparent 55%),
    linear-gradient(180deg, rgba(var(--rp-soft-rgb), 1), rgba(var(--rp-soft-rgb), 0));
  border-bottom: 1px solid var(--rp-border);
}
.hero-modern{
  background-color: var(--rp-bg);
  background-image:
    radial-gradient(1200px 520px at 12% 10%, rgba(37,99,235,.08), transparent 60%),
    radial-gradient(980px 520px at 85% 0%, rgba(22,163,74,.06), transparent 55%),
    linear-gradient(180deg, rgba(var(--rp-soft-rgb), 1), rgba(var(--rp-soft-rgb), 0));
}

.hero.hero-fullbleed{
  position: relative;
  overflow: hidden;
  min-height: min(78vh, 640px);
  background-color: #0f172a;
  border-bottom: 1px solid var(--rp-border);
  image-rendering: auto;
}
@media (max-width: 767.98px){
  .hero.hero-fullbleed{
    min-height: min(72vh, 560px);
  }
}
/* Carusel imagini hero (Bootstrap) */
.hero-fullbleed__carousel{
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-fullbleed__carousel .carousel-inner,
.hero-fullbleed__carousel .carousel-item{
  height: 100%;
}
/* Imagine în <img> (LCP mai bun decât background-image); fundal la încărcare */
.hero-fullbleed__slide{
  position: relative;
  min-height: min(78vh, 640px);
  width: 100%;
  background-color: #0f172a;
  overflow: hidden;
}
.hero-fullbleed__slide-img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
@media (max-width: 767.98px){
  .hero-fullbleed__slide{
    min-height: min(72vh, 560px);
  }
}
.hero-fullbleed__indicators{
  z-index: 3;
  bottom: 0.5rem;
  margin-bottom: 0;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  width: auto;
  max-width: calc(100% - 1.5rem);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.25rem;
  padding: 0.35rem 0.5rem;
  box-sizing: border-box;
}
/* Zonă tactilă ≥44×44px (WCAG / Lighthouse); punctul vizual rămâne mic prin ::after */
.hero-fullbleed__indicators [data-bs-target]{
  position: relative;
  width: 2.75rem;
  height: 2.75rem;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-sizing: border-box;
}
.hero-fullbleed__indicators [data-bs-target]::after{
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background-color: rgba(255,255,255,.5);
  pointer-events: none;
}
.hero-fullbleed__indicators [data-bs-target].active::after{
  width: 0.625rem;
  height: 0.625rem;
  background-color: rgba(255,255,255,.95);
}
.hero-fullbleed__indicators [data-bs-target]:focus-visible{
  outline: 2px solid rgba(255,255,255,.95);
  outline-offset: 2px;
}
.hero-fullbleed__ctrl{
  z-index: 3;
  width: min(12%, 3.5rem);
  min-width: 2.75rem;
  min-height: 2.75rem;
  opacity: .9;
}
.hero-fullbleed__ctrl .carousel-control-prev-icon,
.hero-fullbleed__ctrl .carousel-control-next-icon{
  width: 2.25rem;
  height: 2.25rem;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.45));
}
.hero-fullbleed__overlay{
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    105deg,
    rgba(15,23,42,.52) 0%,
    rgba(15,23,42,.24) 32%,
    rgba(15,23,42,.09) 52%,
    rgba(15,23,42,.02) 72%,
    transparent 100%
  );
  pointer-events: none;
}
.hero.hero-fullbleed .hero-fullbleed__inner{
  position: relative;
  z-index: 2;
}
@media (min-width: 992px){
  .hero.hero-fullbleed .hero-fullbleed__inner{
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }
}
.hero-copy--on-photo .display-5{
  color: rgba(255,255,255,.98);
  text-shadow:
    0 2px 24px rgba(0,0,0,.5),
    0 1px 4px rgba(0,0,0,.4);
}
.hero-copy--on-photo .lead{
  color: rgba(255,255,255,.92);
  text-shadow:
    0 1px 16px rgba(0,0,0,.42),
    0 1px 2px rgba(0,0,0,.25);
}
.hero-copy--on-photo .eyebrow{
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .85rem;
  letter-spacing: .02em;
  color: rgba(255,255,255,.95);
  background: rgba(15,23,42,.52);
  border: 1px solid rgba(255,255,255,.18);
  padding: .35rem .7rem;
  border-radius: 999px;
}

.hero-copy{
  max-width: 560px;
}
.hero-media{
  border-radius: var(--rp-radius-lg);
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(2,6,23,.10);
}
.hero-media__img{
  position: relative;
  height: min(420px, 60vh);
}
.hero-slider{
  position:absolute;
  inset:0;
}
.hero-slide{
  position:absolute;
  inset:0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: heroCrossfade var(--heroSlideDur, 24s) ease-in-out infinite;
  animation-fill-mode: both;
  will-change: opacity;
}
.hero-media__img img{
  display:block;
}
.hero-media__img::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(2,6,23,.00), rgba(2,6,23,.28));
}
.hero-media{
  position: relative;
}

@keyframes heroCrossfade{
  0%{ opacity:0; }
  10%{ opacity:1; }
  34%{ opacity:1; }
  46%{ opacity:0; }
  100%{ opacity:0; }
}

@media (prefers-reduced-motion: reduce){
  .hero-slide{
    animation: none !important;
    opacity: 0;
  }
  .hero-slide:first-child{
    opacity: 1;
  }
}
.hero--photo{
  background:
    linear-gradient(180deg, rgba(2,6,23,.62), rgba(2,6,23,.18) 45%, rgba(246,247,251,.92)),
    radial-gradient(900px 520px at 10% 20%, rgba(37,99,235,.26), transparent 60%),
    radial-gradient(980px 520px at 92% 10%, rgba(22,163,74,.16), transparent 55%),
    radial-gradient(900px 420px at 80% 85%, rgba(37,99,235,.10), transparent 55%),
    var(--hero-photo, none);
  background-size: auto, auto, auto, auto, cover;
  background-position: center, center, center, center, center;
  background-repeat: no-repeat;
}
.hero--photo .display-5,
.hero--photo .lead{
  color: rgba(255,255,255,.92);
}
.hero--photo .lead{
  color: rgba(255,255,255,.78);
}
.hero--photo .pill,
.hero--photo .chip,
.hero--photo .eyebrow{
  background: rgba(15,23,42,.55);
  border-color: rgba(255,255,255,.12);
  color: rgba(255,255,255,.88);
}
.hero--photo .pill i,
.hero--photo .chip i{
  color: rgba(255,255,255,.88);
}
.hero-v2 .eyebrow{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  font-size: .85rem;
  color: var(--rp-muted);
  background: rgba(255,255,255,.8);
  border: 1px solid var(--rp-border);
  padding: .35rem .7rem;
  border-radius: 999px;
}
.pill{
  display:inline-flex;
  align-items:center;
  gap:.35rem;
  padding: .35rem .7rem;
  border-radius: 999px;
  background: rgba(var(--rp-soft-rgb), .86);
  border: 1px solid var(--rp-border);
}

.promo-card{
  border-radius: var(--rp-radius);
  background: linear-gradient(135deg, rgba(37,99,235,.12), rgba(22,163,74,.08));
  border: 1px solid var(--rp-border);
  box-shadow: var(--rp-shadow-sm);
}
.promo-card__inner{ padding: 20px; }
.promo-badge{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: #fff;
  border: 1px solid var(--rp-border);
}

.section-kicker{
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--rp-accent);
  margin-bottom: .4rem;
  opacity: .9;
}

/* Make icon+text chips visually aligned */
.chip i{
  margin-right: .35rem;
  line-height: 1;
}

.section-wrap{
  border: 1px solid var(--rp-border);
  background: rgba(var(--rp-soft-rgb), .78);
  backdrop-filter: blur(8px);
  border-radius: var(--rp-radius-lg);
  box-shadow: 0 1px 0 rgba(2,6,23,.03);
}

.stat-card{
  border-radius: var(--rp-radius-sm);
  border: 1px solid var(--rp-border);
  background: var(--rp-card);
  padding: 14px;
  height: 100%;
  box-shadow: 0 2px 0 rgba(2,6,23,.03);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  position: relative;
  overflow: hidden;
}
.stat-card:hover{
  transform: translateY(-2px);
  box-shadow: var(--rp-shadow-sm);
  border-color: rgba(13,110,253,.22);
}
.stat-card__top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  margin-bottom: .35rem;
}
.stat-card__icon{
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(13,110,253,.10);
  color: var(--rp-accent);
  flex: 0 0 auto;
}
.stat-card__icon i{
  font-size: 1.05rem;
  line-height: 1;
}
.stat-card__kpi{
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -.02em;
}
.stat-card__label{
  color: var(--rp-muted);
  font-size: .9rem;
}

.stat-card__kpi::after{
  content:"";
  display:block;
  width: 54px;
  height: 3px;
  border-radius: 999px;
  margin-top: .5rem;
  background: linear-gradient(90deg, rgba(13,110,253,.85), rgba(34,197,94,.75));
  opacity: .75;
}
.stat-card--green .stat-card__icon{
  background: rgba(34,197,94,.12);
  color: rgb(22,163,74);
}
.stat-card--green:hover{
  border-color: rgba(34,197,94,.28);
}
.stat-card--green .stat-card__kpi::after{
  background: linear-gradient(90deg, rgba(34,197,94,.90), rgba(13,110,253,.65));
}
.stat-card--accent:hover{
  border-color: rgba(13,110,253,.28);
}
.chip{
  display:inline-flex;
  align-items:center;
  gap:.4rem;
  padding: .35rem .65rem;
  border-radius: 999px;
  border: 1px solid var(--rp-border);
  background: rgba(var(--rp-soft-rgb), .86);
  color: var(--rp-ink);
  font-size: .85rem;
}
.chip--accent{ border-color: rgba(13,110,253,.25); }
.chip--purple{ border-color: rgba(37,99,235,.25); } /* no violet */
.chip--green{ border-color: rgba(34,197,94,.25); }
.chip--warn{ border-color: rgba(245,158,11,.25); }
.chip--on-dark{
  background: rgba(15,23,42,.58);
  border-color: rgba(255,255,255,.18);
  color: rgba(255,255,255,.92);
}
.chip--on-dark i{
  color: rgba(255,255,255,.88);
}

/* —— Imagini: ton, hover, performanță —— */
.rp-img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.35s ease,
    box-shadow 0.2s ease;
  filter: contrast(1.03) saturate(1.04);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.rp-img.rp-img--thumb{
  height: auto;
  max-height: none;
  aspect-ratio: 4 / 3;
}
.product-tile:hover .rp-img{
  transform: scale(1.05);
  filter: contrast(1.06) saturate(1.08);
}
@media (prefers-reduced-motion: reduce){
  .rp-img{
    transition: none;
  }
  .product-tile:hover .rp-img{
    transform: none;
  }
  .media-grid a:hover .rp-img{
    transform: none;
  }
}

.media-grid img,
.media-grid .rp-img.rp-img--thumb{
  border-radius: 14px;
  border: 1px solid var(--rp-border);
  box-shadow: 0 2px 0 rgba(2,6,23,.03);
}
.media-grid a:hover .rp-img{
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--rp-shadow-sm);
  filter: contrast(1.05) saturate(1.06);
}

.cat-card{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:.6rem;
  text-decoration:none;
  padding: 14px;
  border-radius: var(--rp-radius-sm);
  border: 1px solid var(--rp-border);
  background: var(--rp-card);
  box-shadow: 0 2px 0 rgba(2,6,23,.03);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  height: 100%;
  text-align: center;
}
.cat-card:hover{
  transform: translateY(-2px);
  box-shadow: var(--rp-shadow-sm);
  border-color: rgba(13,110,253,.25);
}
.cat-card__icon{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(13,110,253,.10);
  color: var(--rp-accent);
  font-size: 1.1rem;
}
.cat-card__label{
  color: var(--rp-ink);
  font-weight: 600;
  font-size: .95rem;
  line-height: 1.2;
}

.product-tile{
  border-radius: var(--rp-radius);
  border: 1px solid var(--rp-border);
  overflow: hidden;
  box-shadow: 0 2px 0 rgba(2,6,23,.03);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.product-tile:hover{
  transform: translateY(-2px);
  box-shadow: var(--rp-shadow);
  border-color: rgba(13,110,253,.25);
}
.product-tile__media{
  position: relative;
  padding: 14px;
  background: #fff;
}
.product-tile__img{
  height: 180px;
  border-radius: var(--rp-radius-sm);
  border: 1px solid var(--rp-border);
  background: #fff;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow: hidden;
}
.product-tile__initials{
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 800;
  color: var(--rp-accent);
  background: rgba(255,255,255,.85);
  border: 1px solid var(--rp-border);
  font-size: 1.3rem;
}
.product-tile__badge{
  position:absolute;
  right: 22px;
  top: 22px;
  border: 1px solid var(--rp-border);
}

/* Carusel imagini în carduri produs */
.product-tile__gallery .product-carousel,
.product-tile__gallery .product-carousel .carousel-inner,
.product-tile__gallery .product-carousel .carousel-item{
  min-height: 180px;
}
.product-tile__gallery .product-carousel .carousel-item img{
  object-fit: cover;
  min-height: 180px;
}
.product-tile__gallery .carousel-control-prev,
.product-tile__gallery .carousel-control-next{
  width: 2.75rem;
  height: 2.75rem;
  min-width: 2.75rem;
  min-height: 2.75rem;
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  border-radius: 50%;
  background: rgba(15,23,42,.45);
  opacity: 1;
}
.product-tile__gallery .carousel-control-prev{ left: 6px; }
.product-tile__gallery .carousel-control-next{ right: 6px; }
.product-tile__gallery .carousel-control-prev:hover,
.product-tile__gallery .carousel-control-next:hover{
  background: rgba(15,23,42,.6);
}
.product-tile__gallery .carousel-indicators{
  margin-bottom: 4px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.25rem;
  padding: 2px 4px;
}
.product-tile__gallery .carousel-indicators button{
  position: relative;
  width: 2.75rem;
  height: 2.75rem;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-sizing: border-box;
}
.product-tile__gallery .carousel-indicators button::after{
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: rgba(255,255,255,.78);
  box-shadow: 0 0 0 1px rgba(15,23,42,.22);
  pointer-events: none;
}
.product-tile__gallery .carousel-indicators button.active::after{
  width: 0.55rem;
  height: 0.55rem;
  background: var(--rp-accent);
  box-shadow: 0 0 0 1px rgba(15,23,42,.18);
}
.product-tile__gallery .carousel-indicators button:focus-visible{
  outline: 2px solid var(--rp-accent);
  outline-offset: 1px;
}

.navbar .nav-link{
  border-radius: 10px;
  padding: .45rem .65rem !important;
  margin: 0 .05rem;
}
.navbar .nav-link:hover{
  background: rgba(29,78,216,.06);
  color: var(--rp-accent-2);
}
.navbar .nav-link.active{
  font-weight: 700;
  color: var(--rp-accent-2) !important;
  background: rgba(29,78,216,.08);
}

.navbar .icon-btn.btn-outline-dark.active{
  background: rgba(29,78,216,.1);
  border-color: rgba(29,78,216,.35);
  color: var(--rp-accent-2);
}

.muted{ color: var(--rp-muted); }

/* Footer */
.site-footer{
  flex-shrink: 0;
  background:
    radial-gradient(900px 260px at 20% 0%, rgba(37,99,235,.22), transparent 60%),
    radial-gradient(900px 260px at 80% 0%, rgba(22,163,74,.16), transparent 60%),
    rgba(0,0,0,.88);
  border-top: 1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Topbar should match footer look */
.site-header .topbar.glass--black{
  border-bottom-color: rgba(255,255,255,.10) !important;
}
.site-footer .footer-title{
  font-weight: 800;
  letter-spacing: -0.02em;
}
.site-footer .footer-links a{
  color: rgba(255,255,255,.70);
  text-decoration: none;
}
.site-footer .footer-links a:hover{
  color: rgba(255,255,255,.92);
  text-decoration: underline;
}
.site-footer .footer-chip{
  display:inline-flex;
  align-items:center;
  gap:.45rem;
  padding:.4rem .7rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.92);
  text-decoration:none;
}
.site-footer .footer-chip:hover{
  box-shadow: var(--rp-shadow-sm);
  transform: translateY(-1px);
}

/* Fix Bootstrap utility colors on dark footer/topbar */
.site-footer .text-muted{
  color: rgba(255,255,255,.72) !important;
}
.site-footer .text-secondary,
.site-footer .link-secondary{
  color: rgba(255,255,255,.78) !important;
}
.site-footer .text-dark{
  color: rgba(255,255,255,.92) !important;
}
.site-footer .border,
.site-footer .border-top,
.site-footer .border-bottom{
  border-color: rgba(255,255,255,.10) !important;
}
.site-footer a{
  color: rgba(255,255,255,.86);
}
.site-footer a:hover{
  color: rgba(255,255,255,.98);
}

/* —— Pagina Despre (about) —— */
.page-about{
  margin-top: -1px;
}

/* Spațiu clar între col-xl-8 și col-xl-4; pe ecrane < xl — margine între cele două blocuri stivuite */
.page-about .about-body-row{
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 0;
}
@media (max-width: 1199.98px){
  .page-about .about-body-row > [class*="col-xl-8"]{
    margin-bottom: 2rem;
  }
}
@media (min-width: 1200px){
  .page-about .about-body-row{
    --bs-gutter-x: clamp(2.25rem, 4vw, 3.75rem);
  }
}

.about-hero{
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1000px 480px at 8% -10%, rgba(29,78,216,.14), transparent 55%),
    radial-gradient(820px 400px at 94% 18%, rgba(21,128,61,.11), transparent 52%),
    linear-gradient(180deg, #fff 0%, rgba(var(--rp-soft-rgb), .96) 50%, var(--rp-bg) 100%);
  border-bottom: 1px solid var(--rp-border);
}
.about-hero__glow{
  position: absolute;
  width: min(520px, 92vw);
  height: min(520px, 92vw);
  right: -14%;
  top: -32%;
  background: radial-gradient(circle, rgba(29,78,216,.11) 0%, transparent 68%);
  pointer-events: none;
}
.about-hero::after{
  content:"";
  position:absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(29,78,216,.22), rgba(22,163,74,.14), transparent);
  pointer-events:none;
}

.about-hero-kicker{
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--rp-accent);
  margin-bottom: .85rem;
  opacity: .95;
}

.about-hero-title{
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  font-size: clamp(1.85rem, 4.2vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--rp-ink);
  max-width: 36ch;
  margin-bottom: 1.1rem;
}

.about-hero-lead{
  font-size: clamp(1.05rem, 2.2vw, 1.15rem);
  line-height: 1.68;
  color: var(--rp-muted);
  max-width: 54ch;
  margin-bottom: 0;
}

.about-stats{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .85rem;
  margin-top: 2.25rem;
  max-width: 640px;
}
@media (max-width: 575.98px){
  .about-stats{
    grid-template-columns: 1fr;
    max-width: none;
  }
}

.about-stat{
  padding: 1.05rem 1.15rem;
  border-radius: var(--rp-radius-sm);
  border: 1px solid var(--rp-border);
  background: var(--rp-card);
  box-shadow: 0 2px 0 rgba(2,6,23,.03);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.about-stat:hover{
  transform: translateY(-2px);
  box-shadow: var(--rp-shadow-sm);
  border-color: rgba(13,110,253,.2);
}
.about-stat__value{
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  font-weight: 800;
  font-size: 1.65rem;
  letter-spacing: -0.03em;
  color: var(--rp-accent-2);
  line-height: 1.1;
}
.about-stat__label{
  font-size: .82rem;
  color: var(--rp-muted);
  margin-top: .35rem;
  line-height: 1.35;
}
.about-stat--accent{
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .5rem;
  background: linear-gradient(145deg, rgba(29,78,216,.07), rgba(21,128,61,.06));
  border-color: rgba(29,78,216,.14);
}
.about-stat--accent .about-stat__icon{
  font-size: 1.35rem;
  color: var(--rp-accent);
}
.about-stat--accent .about-stat__label{
  margin-top: 0;
  font-size: .88rem;
  font-weight: 600;
  color: var(--rp-ink);
}

.about-hero-visual{
  position: relative;
}
.about-hero-visual__card{
  position: relative;
  border-radius: var(--rp-radius-lg);
  padding: 1.75rem 1.5rem 1.5rem;
  text-align: center;
  border: 1px solid rgba(var(--rp-soft-rgb), .72);
  overflow: hidden;
}
.about-hero-visual__orbit{
  position: absolute;
  width: 220px;
  height: 220px;
  border: 1px dashed rgba(29,78,216,.16);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -58%);
  pointer-events: none;
}
.about-hero-visual__logo{
  position: relative;
  z-index: 1;
  height: 44px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  margin: 0 auto .75rem;
  display: block;
  filter: drop-shadow(0 4px 14px rgba(15,23,42,.08));
}
@media (min-width: 576px){
  .about-hero-visual__logo{
    height: 52px;
  }
}
.about-hero-visual__tag{
  position: relative;
  z-index: 1;
  font-size: .88rem;
  line-height: 1.45;
  color: var(--rp-muted);
  margin: 0 0 1.15rem;
  padding: 0 .25rem;
}
.about-hero-visual__chips{
  position: relative;
  z-index: 1;
  text-align: left;
}
.about-hero-visual__chips li{
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .82rem;
  font-weight: 600;
  color: var(--rp-ink);
  padding: .45rem .65rem;
  margin-bottom: .35rem;
  border-radius: 12px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(15,23,42,.06);
}
.about-hero-visual__chips li:last-child{
  margin-bottom: 0;
}
.about-hero-visual__chips i{
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(29,78,216,.1);
  color: var(--rp-accent-2);
  font-size: .95rem;
}

.about-main{
  background: var(--rp-card);
  border: 1px solid var(--rp-border);
  border-radius: var(--rp-radius-lg);
  padding: clamp(1.35rem, 3.2vw, 2.15rem);
  box-shadow: var(--rp-shadow-sm);
  position: relative;
}
.about-main::before{
  content:"";
  position: absolute;
  top: 0;
  left: clamp(1rem, 4vw, 1.75rem);
  right: clamp(1rem, 4vw, 1.75rem);
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--rp-accent), var(--rp-accent-3));
  opacity: .55;
  pointer-events: none;
}

.about-prose{
  line-height: 1.7;
  margin-bottom: 1rem;
  color: var(--rp-ink);
}
.about-prose:last-child{
  margin-bottom: 0;
}
.about-prose--muted{
  color: var(--rp-muted);
  font-size: .98rem;
}

.about-block-title{
  display: flex;
  align-items: center;
  gap: .65rem;
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 1.75rem;
  margin-bottom: .85rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rp-border);
  color: var(--rp-ink);
}
.about-block-title::before{
  content:"";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rp-accent), var(--rp-accent-3));
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(29,78,216,.12);
}
.about-main > .about-prose:first-child{
  margin-top: 0;
}
.about-main > .about-block-title:first-child{
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.about-values__item{
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  padding: .65rem 0;
  border-bottom: 1px dashed rgba(15,23,42,.1);
  line-height: 1.5;
}
.about-values__item:last-child{
  border-bottom: 0;
  padding-bottom: 0;
}
.about-values__icon{
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(29,78,216,.1);
  color: var(--rp-accent-2);
  font-size: .95rem;
}

.about-ref-cloud{
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.about-ref-pill{
  display: inline-block;
  padding: .42rem .8rem;
  font-size: .82rem;
  line-height: 1.35;
  border-radius: 999px;
  border: 1px solid var(--rp-border);
  background: rgba(var(--rp-soft-rgb), .92);
  color: var(--rp-ink);
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease, transform .15s ease;
}
.about-ref-pill:hover{
  border-color: rgba(29,78,216,.28);
  background: #fff;
  box-shadow: 0 6px 18px rgba(15,23,42,.07);
  transform: translateY(-1px);
}

.about-cert-banner{
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-top: 1.5rem;
  padding: 1.15rem 1.3rem;
  border-radius: var(--rp-radius-sm);
  border: 1px solid rgba(29,78,216,.22);
  background: linear-gradient(135deg, rgba(29,78,216,.09), rgba(21,128,61,.07));
  box-shadow: 0 2px 0 rgba(2,6,23,.03);
}
.about-cert-banner__icon{
  flex-shrink: 0;
  font-size: 1.5rem;
  color: var(--rp-accent);
}
.about-cert-banner__text{
  font-size: .95rem;
  line-height: 1.6;
  color: var(--rp-ink);
}

.about-quote{
  position: relative;
  margin: 1.75rem 0 0;
  padding: 1.35rem 1.35rem 1.35rem 2.55rem;
  border-left: 4px solid var(--rp-accent);
  border-radius: 0 var(--rp-radius-sm) var(--rp-radius-sm) 0;
  background: linear-gradient(135deg, rgba(var(--rp-soft-rgb), 1), rgba(29,78,216,.04));
  font-size: 1.03rem;
  font-style: italic;
  line-height: 1.65;
  color: var(--rp-muted);
}
.about-quote::before{
  content:"\201C";
  position: absolute;
  left: .85rem;
  top: .9rem;
  font-size: 2.1rem;
  line-height: 1;
  font-family: Georgia, "Times New Roman", serif;
  color: rgba(29,78,216,.18);
  font-style: normal;
}

.about-aside{
  position: sticky;
  top: 5.75rem;
  z-index: 1;
}
@media (max-width: 1199.98px){
  .about-aside{
    position: static;
  }
}

.about-contact-card{
  border: 1px solid var(--rp-border);
  border-radius: var(--rp-radius-lg);
  padding: 1.6rem 1.45rem;
  background: linear-gradient(165deg, #fff 0%, rgba(var(--rp-soft-rgb), .55) 45%, rgba(29,78,216,.05) 100%);
  box-shadow: var(--rp-shadow-sm);
  position: relative;
  overflow: hidden;
}
.about-contact-card::after{
  content:"";
  position: absolute;
  top: 0;
  right: 0;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle at 100% 0%, rgba(29,78,216,.08), transparent 72%);
  pointer-events: none;
}
.about-contact-card__brand{
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .15rem;
}
.about-contact-card__brand-icon{
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(29,78,216,.1);
  color: var(--rp-accent);
  font-size: 1.15rem;
  flex-shrink: 0;
}
.about-contact-card__title{
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.about-contact-card__hint{
  font-size: .88rem;
  color: var(--rp-muted);
  margin-bottom: 1.2rem;
  line-height: 1.5;
}

.about-contact-dl__dt{
  display: flex;
  align-items: flex-start;
  gap: .45rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--rp-muted);
  margin-top: 1.05rem;
}
.about-contact-dl__dt i{
  margin-top: .08em;
  color: var(--rp-accent);
  font-size: .95rem;
  opacity: .88;
}
.about-contact-dl__dt:first-child{
  margin-top: 0;
}
.about-contact-dl__dd{
  margin: .35rem 0 0;
  padding-left: 1.4rem;
  font-size: .95rem;
  line-height: 1.55;
}
.about-contact-dl a{
  color: var(--rp-accent-2);
  text-decoration: none;
  font-weight: 600;
}
.about-contact-dl a:hover{
  text-decoration: underline;
}

@media (prefers-reduced-motion: reduce){
  .about-stat,
  .about-ref-pill{
    transition: none;
  }
  .about-stat:hover,
  .about-ref-pill:hover{
    transform: none;
  }
}

/* Conținut rich text (descrieri / utilizări produse din CMS) */
.rp-rich {
  line-height: 1.55;
}
.rp-rich p {
  margin-bottom: 0.5rem;
}
.rp-rich p:last-child {
  margin-bottom: 0;
}
.rp-rich ul,
.rp-rich ol {
  margin: 0.35rem 0 0.5rem;
  padding-left: 1.25rem;
}
.rp-rich a {
  text-decoration: underline;
}

/* Pagina Comandă */
.page-order .order-flash-success{
  font-size: 1.0625rem;
  font-weight: 500;
  border: 0;
}
.page-order .order-picker-card,
.page-order .order-checkout-card{
  border: 1px solid var(--rp-border) !important;
}
.page-order .order-checkout-card{
  top: 5.75rem;
  z-index: 2;
}
@media (max-width: 991.98px){
  .page-order .order-checkout-card{
    position: static !important;
  }
}
.page-order .order-lines-scroll{
  max-height: min(68vh, 620px);
  overflow-y: auto;
  padding-right: 6px;
  margin-right: -4px;
  scrollbar-gutter: stable;
}
.page-order .order-line__thumb{
  width: 52px;
  height: 52px;
  border-radius: var(--rp-radius-sm);
  overflow: hidden;
  border: 1px solid var(--rp-border);
  background: rgba(var(--rp-soft-rgb), 1);
}
.page-order .order-line__thumb .rp-img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-order .order-summary-pill{
  font-weight: 600;
  font-size: .8rem;
}
.page-order .order-toolbar .form-control[type="search"]{
  border-radius: 14px;
}

/* Galerie foto — fără nume fișier, lightbox + navigare */
.page-gallery .gallery-count-pill{
  font-weight: 600;
  font-size: .85rem;
}
.page-gallery .gallery-tile{
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: var(--rp-radius-sm);
  overflow: hidden;
  border: 1px solid var(--rp-border);
  background: var(--rp-card);
  box-shadow: 0 2px 0 rgba(2,6,23,.04);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.page-gallery .gallery-tile:hover{
  transform: translateY(-3px);
  box-shadow: var(--rp-shadow-sm);
  border-color: rgba(29,78,216,.22);
}
.page-gallery .gallery-tile__frame{
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  background: rgba(var(--rp-soft-rgb), 1);
  overflow: hidden;
}
.page-gallery .gallery-tile__img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.page-gallery .gallery-tile:hover .gallery-tile__img{
  transform: scale(1.05);
}
.page-gallery .gallery-tile__overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(15,23,42,.55) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 14%;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.page-gallery .gallery-tile:hover .gallery-tile__overlay,
.page-gallery .gallery-tile:focus-visible .gallery-tile__overlay{
  opacity: 1;
}
.page-gallery .gallery-tile:focus-visible{
  outline: 2px solid var(--rp-accent);
  outline-offset: 2px;
}
.page-gallery .gallery-tile__icon{
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,.94);
  color: var(--rp-accent-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  box-shadow: 0 6px 20px rgba(0,0,0,.2);
}
.gallery-lightbox .gallery-lightbox__img{
  max-height: min(78vh, 920px);
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
@media (prefers-reduced-motion: reduce){
  .page-gallery .gallery-tile,
  .page-gallery .gallery-tile__img,
  .page-gallery .gallery-tile__overlay{
    transition: none;
  }
  .page-gallery .gallery-tile:hover .gallery-tile__img{
    transform: none;
  }
}

/* Fără săgeți spinner pe câmpul cantitate (Chrome, Safari, Edge, Firefox) */
.page-order .order-qty input[type="number"]{
  -moz-appearance: textfield;
  appearance: textfield;
}
.page-order .order-qty input[type="number"]::-webkit-outer-spin-button,
.page-order .order-qty input[type="number"]::-webkit-inner-spin-button{
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
}

.page-order .order-line__meta a.small:hover{
  color: var(--rp-accent) !important;
  text-decoration: underline;
}

/* Badge coș în nav — nu rupe layout-ul pe mobile */
.site-header .navbar-nav .nav-link .badge{
  font-size: .7rem;
  padding: .28em .5em;
  vertical-align: text-top;
}

/* Modal produs — fundal alb (conținut + imagini), imagini încadrate */
#homeProductModal .modal-content{
  background-color: #fff;
}
#homeProductModal .modal-header,
#homeProductModal .modal-body,
#homeProductModal .modal-footer{
  background-color: #fff;
}
#homeProductModalCarouselWrap{
  border-radius: var(--rp-radius-sm);
  overflow: hidden;
  border: 1px solid var(--rp-border);
  background: #fff;
}
#homeProductModalCarouselWrap .product-carousel .carousel-inner,
#homeProductModalCarouselWrap .product-carousel .carousel-item{
  min-height: 120px;
  background: #fff;
}
#homeProductModalCarouselWrap .carousel-item img,
#homeProductModalCarouselWrap > .rp-img{
  display: block;
  max-height: min(34vh, 280px);
  width: 100%;
  object-fit: contain;
  margin: 0 auto;
}
#homeProductModalCarouselWrap .product-tile__initials{
  border: 1px dashed var(--rp-border);
}

#homeProductModalPrice{
  text-align: right;
}

@media (max-width: 575.98px){
  .page-order .order-line .order-qty{
    width: 100% !important;
    max-width: 100% !important;
    margin-top: .25rem;
  }
}

/* Chaty — culoare în JSON; ascundem widget-ul când e deschis un modal Bootstrap (nu acoperă dialogul) */
body.modal-open .chaty{
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity 0.2s ease;
}

/* Spațiu sub footer pe ecrane înguste ca widget-ul flotant să nu acopere ultimul rând */
@media (max-width: 767.98px){
  .site-footer{
    padding-bottom: calc(4.5rem + env(safe-area-inset-bottom, 0px));
  }
}