/* ===== Ren's Electro — style.css ===== */
:root {
  --re-green: #6DAA2C;
  --re-green-dark: #4E7E20;
  --re-green-light: #EAF3DF;
  --re-blue: #1B4F96;
  --re-blue-dark: #113868;
  --re-ink: #171B1E;
  --re-ink-soft: #576068;
  --re-paper: #FBFBF8;
  --re-paper-alt: #F2F4EC;
  --re-line: #E3E6DD;
  --re-white: #ffffff;
  --re-radius: 16px;
  --re-radius-sm: 10px;
  --re-shadow: 0 8px 24px rgba(23,27,30,0.08);
  --re-shadow-lg: 0 16px 40px rgba(23,27,30,0.16);
  --re-navh: 68px;
}

/* ---------- base ---------- */
html { scroll-behavior: smooth; }
body {
  font-family: "Lato", -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--re-paper);
  color: var(--re-ink);
  padding-bottom: 64px;
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 992px) { body { padding-bottom: 0; } }

h1, h2, h3, h4, h5, h6 { color: var(--re-ink); letter-spacing: -0.01em; text-wrap: pretty; }
p { text-wrap: pretty; }

a { color: var(--re-blue); text-decoration: none; }
a:hover { color: var(--re-green-dark); }

.text-brand-green { color: var(--re-green); }
.text-brand-blue { color: var(--re-blue); }
.bg-brand-alt { background: var(--re-paper-alt); }

.page-content { padding-top: var(--re-navh); }

.container-narrow { max-width: 720px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--re-green-dark); background: var(--re-green-light);
  padding: .35rem .85rem; border-radius: 999px;
}

/* ---------- buttons ---------- */
.btn-brand {
  background: var(--re-green); border: 1px solid var(--re-green); color: #fff;
  font-weight: 700; border-radius: 999px; padding: .7rem 1.5rem;
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
}
.btn-brand:hover, .btn-brand:focus { background: var(--re-green-dark); border-color: var(--re-green-dark); color: #fff; }
.btn-brand-outline {
  background: transparent; border: 2px solid var(--re-green); color: var(--re-green-dark);
  font-weight: 700; border-radius: 999px; padding: .65rem 1.45rem;
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
}
.btn-brand-outline:hover { background: var(--re-green); color: #fff; }
.btn-blue {
  background: var(--re-blue); border: 1px solid var(--re-blue); color: #fff;
  font-weight: 700; border-radius: 999px; padding: .62rem 1.8rem;
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
}
.btn-blue:hover { background: var(--re-blue-dark); border-color: var(--re-blue-dark); color: #fff; }
.btn-whatsapp {
  background: var(--re-green); color: #fff; font-weight: 700; border-radius: 999px;
  padding: .8rem 1.6rem; border: none; display: inline-flex; align-items: center;
  justify-content: center; text-align: center; gap: .55rem; width: 100%;
}
.btn-whatsapp:hover { background: var(--re-green-dark); color: #fff; }
.btn-sm-pill { border-radius: 999px; font-weight: 600; padding: .4rem 1rem; font-size: .85rem; display: inline-flex; align-items: center; justify-content: center; text-align: center; }

.btn {
  font-weight: 700; border-radius: 8px; padding: .5rem 1.5rem;
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
}
.btn.btn-sm{ font-size: .8rem; padding: .35rem 1rem;}
.btn-outline-secondary{
  background: transparent; border: 2px solid var(--re-ink); color: var(--re-ink);
}
.btn-outline-secondary:hover { background: var(--re-ink); color: #fff; }
/* ---------- navbar (liquid glass) ---------- */
.navbar-glass {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1030; height: var(--re-navh);
  display: flex; align-items: center;
  background: rgba(251,251,248,.72);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid rgba(23,27,30,.06);
  transition: box-shadow .25s ease, background .25s ease;
}
.navbar-glass.is-scrolled { box-shadow: var(--re-shadow); background: rgba(251,251,248,.9); }
.navbar-glass .navbar-inner { width: 100%; display: flex; align-items: center; justify-content: space-between; }
.navbar-glass .brand-logo { height: 40px; width: auto; border-radius: 8px; }
.nav-link-re {
  font-weight: 600; color: var(--re-ink); padding: .5rem .9rem !important; border-radius: 999px;
}
.nav-link-re:hover { color: var(--re-green-dark); background: var(--re-green-light); }
.nav-link-re.active { color: var(--re-green-dark); background: var(--re-green-light); }
.navbar-toggler-re {
  border: none; background: rgba(23,27,30,.06); width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
.navbar-toggler-re:focus { box-shadow: none; }

/* ---------- offcanvas ---------- */
.offcanvas-re { width: min(340px, 86vw); }
.offcanvas-re .offcanvas-header { border-bottom: 1px solid var(--re-line); }
.offcanvas-re .oc-link {
  display: flex; align-items: center; gap: .85rem; padding: .9rem .25rem; font-weight: 700;
  font-size: 1.05rem; color: var(--re-ink); border-bottom: 1px solid var(--re-line); min-height: 44px;
}
.offcanvas-re .oc-link:hover, .offcanvas-re .oc-link.active { color: var(--re-green-dark); }
.offcanvas-re .oc-link svg { flex-shrink: 0; }
.offcanvas-re .oc-contact { background: var(--re-paper-alt); border-radius: var(--re-radius); padding: 1rem; }

/* ---------- elevated chip tabs ---------- */
.chip-tabs { display: flex; gap: .6rem; overflow-x: auto; padding: .2rem .1rem .8rem; scrollbar-width: none; }
.chip-tabs::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto; border-radius: 999px; padding: .6rem 1.15rem; font-weight: 700; font-size: .88rem;
  background: #fff; border: 1px solid var(--re-line); color: var(--re-ink-soft);
  box-shadow: 0 1px 3px rgba(0,0,0,.04); cursor: pointer; transition: all .18s ease; white-space: nowrap;
}
.chip:hover { border-color: var(--re-green); color: var(--re-green-dark); }
.chip.active {
  background: var(--re-green); color: #fff; border-color: var(--re-green);
  box-shadow: 0 8px 18px rgba(109,170,44,.35); transform: translateY(-2px);
}

/* ---------- cards ---------- */
.card-elevated {
  border: none; border-radius: var(--re-radius); background: #fff; box-shadow: var(--re-shadow);
  transition: transform .2s ease, box-shadow .2s ease; overflow: hidden; height: 100%;
}
.card-elevated:hover { transform: translateY(-5px); box-shadow: var(--re-shadow-lg); }
.card-body-re { padding: 1.25rem; }

.badge-blue { background: var(--re-blue); color: #fff; border-radius: 999px; padding: .35em .85em; font-weight: 700; font-size: .74rem; }
.badge-green { background: var(--re-green-light); color: var(--re-green-dark); border-radius: 999px; padding: .35em .85em; font-weight: 700; font-size: .74rem; }
.badge-price { background: var(--re-ink); color: #fff; border-radius: 999px; padding: .4em .9em; font-weight: 800; font-size: .9rem; }
@media screen and (max-width: 768px) {
  .badge-price { font-size: .63rem; }
}

/* ---------- placeholders (imagery) ---------- */
.placeholder-img {
  position: relative; background: repeating-linear-gradient(135deg, var(--re-paper-alt), var(--re-paper-alt) 11px, #fff 11px, #fff 22px);
  border: 1px solid var(--re-line); display: flex; align-items: center; justify-content: center; text-align: center;
  color: var(--re-ink-soft); font-family: "Courier New", monospace; font-size: .76rem; padding: 1rem; overflow: hidden;
}
.placeholder-img span { background: rgba(255,255,255,.85); padding: .3rem .6rem; border-radius: 6px; }

/* ---------- floating glass icon buttons (back / share) ---------- */
.floating-actions {
  position: fixed; top: calc(env(safe-area-inset-top, 0px) + 78px); left: 0; right: 0; z-index: 1025;
  display: flex; justify-content: space-between; padding: 0 16px; pointer-events: none;
}
.floating-actions > * { pointer-events: auto; }
.btn-glass-icon {
  width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.78);
  backdrop-filter: blur(16px) saturate(180%); -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255,255,255,.6); box-shadow: var(--re-shadow); display: flex;
  align-items: center; justify-content: center; color: var(--re-ink); transition: background .15s ease;
}
.btn-glass-icon:hover { background: rgba(255,255,255,.95); color: var(--re-ink); }

/* ---------- bottom mobile nav ---------- */
.bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1030; display: flex; justify-content: space-around;
  background: rgba(251,251,248,.86); backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-top: 1px solid rgba(23,27,30,.07); padding: 7px 4px calc(7px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -10px 26px rgba(23,27,30,.08);
}
@media (min-width: 992px) { .bottom-nav { display: none; } }
.bottom-nav button, .bottom-nav a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  font-size: .66rem; font-weight: 700; color: var(--re-ink-soft); flex: 1; padding: .3rem 0; border-radius: 12px;
  background: none; border: none; min-height: 44px;
}
.bottom-nav svg { width: 21px; height: 21px; }
.bottom-nav .active { color: var(--re-green-dark); }

/* ---------- footer ---------- */
.footer-re { background: var(--re-blue-dark); color: rgba(255,255,255,.82); }
.footer-re h6 { color: #fff; font-weight: 800; margin-bottom: 1rem; }
.footer-re a { color: rgba(255,255,255,.78); }
.footer-re a:hover { color: var(--re-green); }
.footer-re .fr-logo { height: 42px; border-radius: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); font-size: .84rem; color: rgba(255,255,255,.55); }

/* ---------- forms ---------- */

.form-control-re, .form-select-re, .form-control, .form-select{
  border: 1.5px solid var(--re-line); border-radius: var(--re-radius-sm); padding: .7rem .95rem; font-size: .96rem;
}
.form-control, .form-select{  padding: .5rem .95rem; font-size: .96rem;
}
.form-control-re:focus, .form-select-re:focus, .form-control:focus, .form-select:focus {
  border-color: var(--re-green); box-shadow: 0 0 0 .2rem rgba(109,170,44,.15);
}
.form-label-re, .form-label { font-weight: 700; font-size: .88rem; margin-bottom: .4rem; }

/* ---------- quantity stepper ---------- */
.qty-stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--re-line); border-radius: 999px; overflow: hidden; }
.qty-stepper button {
  width: 44px; height: 44px; border: none; background: var(--re-paper-alt); font-size: 1.2rem; font-weight: 700;
  color: var(--re-ink); display: flex; align-items: center; justify-content: center;
}
.qty-stepper input {
  width: 52px; text-align: center; border: none; font-weight: 800; font-size: 1.05rem; background: transparent;
}
.qty-stepper input:focus { outline: none; }

/* ---------- gallery ---------- */
.gallery-main { border-radius: var(--re-radius); overflow: hidden; aspect-ratio: 1/1; }
.gallery-thumbs { display: flex; gap: .6rem; margin-top: .7rem; overflow-x: auto; }
.gallery-thumbs .thumb {
  width: 66px; height: 66px; flex: 0 0 auto; border-radius: 10px; overflow: hidden; border: 2px solid transparent; cursor: pointer;
}
.gallery-thumbs .thumb.active { border-color: var(--re-green); }

/* ---------- hero ---------- */
.hero-section { background: linear-gradient(180deg, var(--re-paper-alt) 0%, var(--re-paper) 100%); }

/* ---------- custom carousel controls (hero + product gallery) ---------- */
.re-carousel-btn {
  outline: none;
  border: none;
  width: 40px; height: 40px; border-radius: 50%; background: #fff; opacity: 1;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--re-shadow);
  top: 50%; transform: translateY(-50%); bottom: auto;
}
.re-carousel-btn:hover { background: var(--re-green-light); outline: none;}
.re-carousel-btn.carousel-control-prev { left: 12px; }
.re-carousel-btn.carousel-control-next { right: 12px; }
.re-carousel-btn .carousel-control-prev-icon,
.re-carousel-btn .carousel-control-next-icon { display: none; }
.re-carousel-btn svg,
.re-carousel-btn i { width: 18px; height: 18px; color: var(--re-ink); }

.re-carousel .carousel-indicators { margin-bottom: .85rem; }
.re-carousel .carousel-indicators [data-bs-target] {
  width: 8px; height: 8px; border-radius: 50%; background: #fff; opacity: .6;
  border: none; margin: 0 4px;
}
.re-carousel .carousel-indicators .active { opacity: 1; background: var(--re-green); }

.gallery-main { position: relative; }
.gallery-main .re-carousel-btn { position: absolute; z-index: 2; }

/* ---------- steps ---------- */
.step-item { display: flex; gap: 1rem; }
.step-num {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--re-green-light);
  color: var(--re-green-dark); font-weight: 800; display: flex; align-items: center; justify-content: center;
}

/* ---------- toast ---------- */
.re-toast {
  position: fixed; bottom: 96px; left: 50%; transform: translateX(-50%) translateY(20px); z-index: 2000;
  background: var(--re-ink); color: #fff; padding: .7rem 1.2rem; border-radius: 999px; font-weight: 600; font-size: .9rem;
  box-shadow: var(--re-shadow-lg); opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .25s ease;
}
.re-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- utility ---------- */
.section-py { padding-top: 3.2rem; padding-bottom: 3.2rem; }
@media (min-width: 992px) { .section-py { padding-top: 5rem; padding-bottom: 5rem; } }
.hit-target { min-height: 44px; min-width: 44px; }
.fw-500{font-weight: 500 !important;}
.fw-600{font-weight: 600;}
.fw-700{font-weight: 700;}
.fw-bold{font-weight: 700 !important;}
.fw-bolder, .fw-900{font-weight: 900 !important;}

  .fs-17 { font-size: 17px !important }
  .fs-18 { font-size: 18px !important }
  .fs-19 { font-size: 19px !important }

    .fs-10 { font-size: 10px !important }
  .fs-12 { font-size: 12px !important }
  .fs-13 { font-size: 13px !important }
      .fs-14 { font-size: 14px !important }
    .fs-15 { font-size: 15px !important }
  .fs-16 { font-size: 16px !important }

@media screen and (max-width: 885px) {
  .fs-xs-10 { font-size: 10px !important }
  .fs-xs-12 { font-size: 12px !important }
  .fs-xs-13 { font-size: 13px !important }
  .fs-xs-14 { font-size: 14px !important }
  .fs-xs-15 { font-size: 15px !important }
  .fs-xs-16 { font-size: 16px !important }
}
