/* =========================================================
   BuduProfi — Home (Standalone)
   CLEAN FINAL (footer moved to bp-footer.css)
   ========================================================= */

:root{
  --bp-white:#ffffff;
  --bp-ivory:#F3F1EA;
  --bp-black:#242328;
  --bp-deep-nude:#4B3831;

  --bp-border: rgba(36,35,40,.12);
  --bp-border-soft: rgba(36,35,40,.10);
  --bp-shadow: 0 18px 45px rgba(0,0,0,.10);
  --bp-radius: 12px;
  --bp-radius-lg: 16px;

}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body.bp-standalone{
  font-family: Arial, Helvetica, sans-serif;
  color:var(--bp-black);
  background:var(--bp-white);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
img{max-width:100%;height:auto;display:block}
a{text-decoration:none;color:inherit}

/* =========================
   HERO
   ========================= */

.bp-hero-slider{
  position: relative;
}

.bp-hero-slide{
  position: relative;
  min-height: 600px;
  background-image: var(--bp-hero-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.bp-hero-overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(55,45,40,.68) 0%,
    rgba(55,45,40,.50) 36%,
    rgba(55,45,40,.22) 62%,
    rgba(55,45,40,0) 100%
  );
}

.bp-hero-inner{
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 16px;
  min-height: 600px;
  display: flex;
  align-items: center;
}

.bp-hero-content{
  max-width: 650px;
  color: #fff;
}

.bp-hero-title{
  margin: 0 0 14px;
  font-size: 46px;
  line-height: 1.05;
  letter-spacing: -.02em;
  text-shadow: 0 2px 14px rgba(0,0,0,.28);
}

.bp-hero-text{
  margin: 0 0 22px;
  font-size: 18px;
  line-height: 1.45;
  opacity: .92;
  text-shadow: 0 2px 14px rgba(0,0,0,.28);
}

.bp-hero-cta{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.bp-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  border-radius: 12px;
  font-weight: 800;
  transition: background .2s ease, border-color .2s ease, opacity .2s ease;
}

.bp-btn--primary{
  background: #3f2f29;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 10px 22px rgba(0,0,0,.18);
  color: #fff;
}

.bp-btn--primary:hover{
  background: #342620;
}

.bp-btn--secondary{
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.34);
  color: #fff;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.bp-btn--secondary:hover{
  background: rgba(255,255,255,.20);
}

@media (min-width: 1024px){
  body.bp-standalone .bp-hero-slide{
    background-position: center 72%;
  }
}

@media (max-width: 768px){
  .bp-hero-slide{
    min-height: 520px;
  }

  .bp-hero-inner{
    min-height: 520px;
    padding: 34px 16px;
    align-items: flex-start;
  }

  .bp-hero-content{
    max-width: 92%;
    padding-top: 8px;
  }

  .bp-hero-title{
    font-size: 28px;
    line-height: 1.08;
    margin-bottom: 10px;
  }

  .bp-hero-text{
    font-size: 14px;
    line-height: 1.35;
    margin-bottom: 14px;
    max-width: 28ch;
  }

  .bp-hero-cta{
    gap: 10px;
  }

  .bp-hero-cta .bp-btn--secondary{
    display: none;
  }

  .bp-btn{
    width: auto;
    min-width: 220px;
    padding: 13px 16px;
    border-radius: 14px;
  }
}

/* =========================
   RESPONSIVE HOME
   ========================= */

@media (max-width:768px){
  .bp-hero-slide{min-height:520px}
  .bp-hero-inner{min-height:520px;padding:34px 16px}
  .bp-hero-title{font-size:30px}
  .bp-hero-text{font-size:15px}
  .bp-btn{width:100%}
}

/* =========================
   PRODUCTS
   ========================= */

.bp-products{ padding:62px 0 10px; }

.bp-products .bp-header-inner.bp-products__inner{
  display:block !important;
}

.bp-products__head{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:16px;
  margin:0 0 14px;
  padding-bottom:10px;
  border-bottom:1px solid rgba(36,35,40,.12);
}

.bp-products__title{
  margin:0;
  font-size:22px;
  line-height:1.15;
}

.bp-products__all{
  font-size:14px;
  text-decoration:none;
  white-space:nowrap;
  opacity:.75;
}
.bp-products__all:hover{ opacity:1; }

.bp-products__track{ width:100%; }

.bp-products__track .products{
  margin:0 !important;
  padding:0 !important;
  list-style:none;
  display:grid;
  grid-template-columns:repeat(4, minmax(0,1fr));
  gap:18px;
}

@media (min-width:1200px){
  .bp-products__track .products{
    grid-template-columns:repeat(5, minmax(0,1fr));
  }
}

.bp-products__track .products > li.product{
  margin:0 !important;
}

.bp-products .products,
.bp-products ul.products{ margin:0; padding:0; }

.bp-products .products > li.product,
.bp-products ul.products > li.product{
  float:none !important;
  clear:none !important;
  width:100% !important;
  max-width:none !important;
  min-width:0 !important;
  margin:0 !important;
}

.bp-products .products > li.product.first,
.bp-products ul.products > li.product.first{ clear:none !important; }

.bp-products ul.products::before,
.bp-products ul.products::after,
.bp-products .products::before,
.bp-products .products::after{
  content:none !important;
  display:none !important;
}

@media (max-width:768px){

  .bp-products{ padding:24px 0 6px; }
  .bp-products__title{ font-size:18px; }

  .bp-products:not(.bp-products--premium) .bp-products__track{
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
    padding:0 16px 14px;
    scroll-snap-type:x mandatory;
    scrollbar-width:none;
  }
  .bp-products:not(.bp-products--premium) .bp-products__track::-webkit-scrollbar{ height:0; }

  .bp-products:not(.bp-products--premium) .bp-products__track ul.products{
    display:flex !important;
    flex-wrap:nowrap !important;
    gap:12px;
    margin:0 !important;
    padding:0 !important;
    width:max-content;
  }

  .bp-products:not(.bp-products--premium) .bp-products__track ul.products > li.product{
    flex:0 0 78%;
    max-width:78%;
    scroll-snap-align:start;
  }

}

/* Ver todo */
.bp-products__more-card{
  background: transparent !important;
  border: 0 !important;
  padding: 14px !important;
  display: flex !important;
}

.bp-products__more-card .bp-products__more-link{
  width:100%;
  min-height: 0 !important;
  flex: 1 1 auto;
  height: 100%;
  padding:20px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  font-family:"PP Pier Sans","PPPierSans","PP Pier Sans Regular",Arial,Helvetica,sans-serif;
  color:#3f2f29;
  background:#F3F1EA !important;
  border:1px solid rgba(36,35,40,.08);
  border-radius:16px;
  position:relative;
  text-decoration:none !important;
}
.bp-products__more-card .bp-products__more-link *{ text-decoration:none !important; }

.bp-products__more-card .bp-products__more-link span::before{
  content:"Colección completa";
  display:block;
  margin-bottom:10px;
  font-size:13px;
  font-weight:600;
  letter-spacing:.2px;
  color: rgba(36,35,40,.55);
}

.bp-products__more-card .bp-products__more-link span{
  font-size:22px;
  font-weight:800;
  line-height:1.05;
  letter-spacing:-.01em;
}

.bp-products__more-card .bp-products__more-link::after{
  content:"→";
  position:absolute;
  right:18px;
  bottom:18px;
  font-size:20px;
  opacity:.7;
  line-height:1;
}

/* PRODUCTS — Premium Grid Block */

.bp-products--premium{
  background:transparent;
  padding:50px 0;
}

.bp-products--premium .bp-products__inner{
  max-width:1200px;
  margin:0 auto;
}

.bp-products--premium .bp-products__track{
  overflow:visible !important;
  padding:0 !important;
}

.bp-products--premium .bp-products__track ul.products{
  display:grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap:40px;
  width:100% !important;
}

.bp-products--premium .bp-products__track ul.products > li.product{
  flex: unset !important;
  max-width: unset !important;
  width: 100% !important;
  min-width: 0 !important;
}

@media (max-width:768px){

  .bp-products--premium{
    padding:50px 0;
  }

  .bp-products--premium .bp-products__inner{
    max-width: 100%;
    padding: 0 16px;
  }

  .bp-products--premium .bp-products__track ul.products{
    grid-template-columns: repeat(2, 1fr);
    gap:14px;
  }

  .bp-products--premium .bp-products__track ul.products > li.product:nth-child(n+7){
    display:none !important;
  }
}

@media (min-width:769px){
  .bp-products:not(.bp-products--premium) 
  .bp-products__more-card{
    display: none !important;
  }
}

/* =========================
   CATEGORY SHOWCASE
   ========================= */

.bp-catshow{
  padding: 50px 0;
  background: transparent;
}

.bp-catshow__inner{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.bp-catshow__head{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:16px;
  margin:0 0 16px;
  padding-bottom:10px;
  border-bottom:1px solid rgba(36,35,40,.12);
}

.bp-catshow__title{
  margin:0;
  font-size:22px;
  line-height:1.15;
  font-weight:700;
}

.bp-catshow__all{
  font-size:14px;
  white-space:nowrap;
  opacity:.75;
  text-decoration:none;
}
.bp-catshow__all:hover{ opacity:1; }

.bp-catshow__grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 140px;
  gap: 18px;
  margin-top: 18px;
}

.bp-catshow__tile{
  position:relative;
  display:block;
  border-radius:16px;
  overflow:hidden;
  background: #F3F1EA;
  border: 1px solid rgba(36,35,40,.08);
  text-decoration:none;
  color: inherit;
  transform: translateZ(0);
}

.bp-catshow__media{
  position:absolute;
  inset:0;
}
.bp-catshow__media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transform: scale(1.01);
}

.bp-catshow__overlay{
  position:absolute;
  inset:auto 0 0 0;
  padding: 16px 16px 14px;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,.22) 35%,
    rgba(0,0,0,.44) 100%
  );
  color:#fff;
}

.bp-catshow__sub{
  display:block;
  font-size:12px;
  font-weight:600;
  opacity:.92;
  letter-spacing:.2px;
  margin-bottom:6px;
}

.bp-catshow__h{
  display:block;
  font-size:20px;
  font-weight:800;
  line-height:1.05;
  letter-spacing:-.01em;
}

@media (hover:hover){
  .bp-catshow__tile:hover .bp-catshow__media img{
    transform: scale(1.04);
    transition: transform .35s ease;
  }
  .bp-catshow__tile:hover{
    box-shadow: 0 18px 45px rgba(0,0,0,.10);
    transition: box-shadow .25s ease;
  }
}

.bp-catshow__tile--featured{
  grid-column: 1 / span 2;
  grid-row: 1 / span 2;
}

.bp-catshow__mini{
  display: contents;
}

.bp-catshow__tile--mini{
  grid-column: auto;
  grid-row: auto;
}

.bp-catshow__tile.is-wide{
  grid-column: 3 / span 2;
}

@media (min-width: 1024px){
  .bp-catshow__inner{ padding: 0 24px; }
  .bp-catshow__grid{
    gap: 22px;
    grid-auto-rows: 150px;
  }
}

@media (max-width: 1023px){
  .bp-catshow{
    padding: 50px 0;
  }
  .bp-catshow__inner{
    padding: 0 16px;
  }
  .bp-catshow__grid{
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 140px;
    gap: 14px;
  }
  .bp-catshow__tile--featured{
    grid-column: 1 / span 3;
    grid-row: 1 / span 2;
  }
  .bp-catshow__tile.is-wide{
    grid-column: 1 / span 3;
  }
}

@media (max-width: 768px){
  .bp-catshow{
    padding: 40px 0;
  }
  .bp-catshow__inner{
    padding: 0 12px;
  }
  .bp-catshow__title{ font-size:18px; }

  .bp-catshow__grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 120px;
    gap: 12px;
  }

  .bp-catshow__tile--featured{
    grid-column: 1 / span 2;
    grid-row: 1 / span 2;
  }

  .bp-catshow__h{ font-size:16px; }
  .bp-catshow__sub{ font-size:11px; margin-bottom:4px; }
}

/* =========================
   PROMO slider
   ========================= */

.bp-promo{ padding: 56px 0; }
.bp-promo__inner{ max-width:1200px; margin:0 auto; padding:0 16px; }

.bp-promo__slider{
  position:relative;
  border-radius: 18px;
  overflow:hidden;
  background:#F3F1EA;
  border:1px solid rgba(36,35,40,.10);
}

.bp-promo__track{
  display:flex;
  width:100%;
  transform:translateX(0);
  transition:transform .35s ease;
  will-change:transform;
}

.bp-promo__slide{
  flex:0 0 100%;
  display:block;
  text-decoration:none;
}

.bp-promo__slide img{
  width:100%;
  height:auto;
  object-fit:contain;
}

/* arrows */
.bp-promo__nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:42px;
  height:42px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.22);
  background: rgba(36,35,40,.28);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor:pointer;
  z-index:2;
}
.bp-promo__nav--prev{ left:12px; }
.bp-promo__nav--next{ right:12px; }
.bp-promo__nav::before{
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  width:10px;height:10px;
  border-right:2px solid #fff;
  border-bottom:2px solid #fff;
  transform:translate(-50%,-50%) rotate(135deg);
  opacity:.95;
}
.bp-promo__nav--next::before{ transform:translate(-50%,-50%) rotate(-45deg); }

/* dots */
.bp-promo__dots{
  position:absolute;
  left:0; right:0;
  bottom:10px;
  display:flex;
  justify-content:center;
  gap:8px;
  z-index:2;
}
.bp-promo__dots button{
  width:8px;height:8px;
  border-radius:999px;
  border:0;
  background: rgba(255,255,255,.55);
  cursor:pointer;
}
.bp-promo__dots button.is-active{
  background:#fff;
}

/* mobile */
@media (max-width:768px){
  .bp-promo{ padding: 12px 0; }
  .bp-promo__inner{ padding:0 12px; }
  .bp-promo__slide img{ height: 380px; }
  .bp-promo__nav{ display:none; }
}

/* =========================
   SEO BLOCK
   ========================= */

.bp-seo{
  padding: 50px 0;
  background: transparent;
}

.bp-seo__inner{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.bp-seo__title{
  margin: 0 0 14px;
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  font-weight: 800;
  color: var(--bp-black, #242328);
}

.bp-seo__lead{
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.7;
  max-width: 82ch;
  font-weight: 400;
  color: rgba(36,35,40,.75);
  opacity: 1;
}

.bp-seo__list{
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 10px 18px;
}

.bp-seo__list li{
  position: relative;
  padding-left: 14px;
  line-height: 1.6;
  font-weight: 400;
  color: rgba(36,35,40,.75);
  opacity: 1;
}

.bp-seo__list li::before{
  content:"";
  position:absolute;
  left:0;
  top:.65em;
  width:6px;
  height:6px;
  border-radius: 99px;
  background: rgba(36,35,40,.28);
}

.bp-seo__links{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  opacity: 1;
  color: rgba(36,35,40,.78);
}

.bp-seo__link{
  font-weight: 500;
  text-decoration: none;
  color: rgba(36,35,40,.85);
}

.bp-seo__link:hover{
  color: var(--bp-black, #242328);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.bp-seo__dot{
  color: rgba(36,35,40,.45);
}

@media (max-width: 768px){
  .bp-seo{ padding: 44px 0; }
  .bp-seo__title{ font-size: 20px; }
  .bp-seo__list{ grid-template-columns: 1fr; gap: 8px; }
}

/* =========================
   MOBILE: limit products
   ========================= */

@media (max-width:768px){
  .bp-products--premium 
  .bp-products__track ul.products > li.product:nth-child(n+5){
    display:none !important;
  }
}

/* =========================
   MOBILE: hide hero
   ========================= */

@media (max-width:768px){
  .bp-hero-slider{
    display:none !important;
  }
}

/* =========================
   MOBILE PROMO FIRST
   ========================= */

@media (max-width:768px){
  .bp-promo{
    order:-1;
  }
}

.bp-main{
  display:flex;
  flex-direction:column;
}

/* =========================
   MOBILE PROMO SIZE
   ========================= */

@media (max-width:768px){
  .bp-promo__slide img{
    width:100%;
    height:auto;
    object-fit:contain;
    border-radius:14px;
  }
}

.bp-promo__slide{
  background:#f6f4ef;
}

/* =========================
   TRUST BLOCK
   ========================= */

.bp-trust{
  padding: 18px 0 8px;
  background:#F6F4EF;
}

.bp-trust__inner{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.bp-trust__grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.bp-trust__item{
  min-height:120px;
  padding:16px 14px;
  border:1px solid rgba(36,35,40,.08);
  border-radius:14px;
  background:#fff;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:flex-start;
}

.bp-trust__icon{
  width:auto;
  height:auto;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  margin-bottom:12px;
  line-height:0;
}

.bp-trust__icon img{
  width:38px;
  height:38px;
  object-fit:contain;
  display:block;
  filter: brightness(0) saturate(100%) invert(29%) sepia(10%) saturate(1020%) hue-rotate(340deg) brightness(93%) contrast(88%);
  opacity:.94;
}

.bp-trust__title{
  font-size:16px;
  font-weight:700;
  margin-bottom:4px;
}

.bp-trust__text{
  font-size: 13px;
  line-height: 1.4;
  color: rgba(36,35,40,.72);
}

@media (max-width: 1024px){
  .bp-trust__grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px){
  .bp-trust{
    padding: 14px 0 6px;
  }

  .bp-trust__inner{
    padding: 0 12px;
  }

  .bp-trust__grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .bp-trust__item{
    min-height: 112px;
    padding: 14px 12px;
    border-radius: 14px;
  }

  .bp-trust__icon{
    width: auto;
    height: auto;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    margin-bottom: 10px;
  }

  .bp-trust__icon img{
    width: 34px;
    height: 34px;
  }

  .bp-trust__title{
    font-size: 14px;
    margin-bottom: 4px;
  }

  .bp-trust__text{
    font-size: 12px;
    line-height: 1.35;
  }
}

@media (min-width:1024px){
  .bp-trust{
    padding:28px 0;
  }

  .bp-trust__inner{
    padding:0 20px;
  }

  .bp-trust__grid{
    grid-template-columns:repeat(4,1fr);
    background:#fff;
    border:1px solid rgba(36,35,40,.08);
    border-radius:18px;
    overflow:hidden;
  }

  .bp-trust__item{
    flex-direction:row;
    align-items:center;
    gap:16px;
    min-height:100px;
    padding:18px 22px;
    border:none;
    border-right:1px solid rgba(36,35,40,.08);
    background:transparent;
  }

  .bp-trust__item:last-child{
    border-right:none;
  }

  .bp-trust__icon{
    margin-bottom:0;
  }

  .bp-trust__title{
    font-size:16px;
    margin-bottom:2px;
  }

  .bp-trust__text{
    font-size:13px;
  }
}

/* =========================
   BRANDS MARQUEE
   ========================= */

.bp-brands{
  padding: 30px 0 24px;
  background: transparent;
  overflow: hidden;
}

.bp-brands__inner{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.bp-brands__head{
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(36,35,40,.12);
}

.bp-brands__title{
  margin: 0;
  font-size: 22px;
  line-height: 1.15;
  font-weight: 700;
  color: var(--bp-black, #242328);
}

.bp-brands__marquee{
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 10px 0 2px;
}

.bp-brands__marquee::before,
.bp-brands__marquee::after{
  content:"";
  position:absolute;
  top:0;
  bottom:0;
  width:72px;
  z-index:2;
  pointer-events:none;
}

.bp-brands__marquee::before{
  left:0;
  background:linear-gradient(90deg, #fff 0%, rgba(255,255,255,0) 100%);
}

.bp-brands__marquee::after{
  right:0;
  background:linear-gradient(270deg, #fff 0%, rgba(255,255,255,0) 100%);
}

.bp-brands__track{
  display:flex;
  align-items:center;
  gap:32px;
  width:max-content;
  animation: bpBrandsMarquee 55s linear infinite;
  will-change: transform;
}

.bp-brands__marquee:hover .bp-brands__track{
  animation-play-state: paused;
}

.bp-brands__item{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:150px;
  height:64px;
  text-decoration:none;
  transition:transform .18s ease, opacity .18s ease;
  opacity: .96;
}

.bp-brands__item img{
  display:block;
  width:auto;
  height:65px;
  max-width:170px;
  object-fit:contain;
  border-radius:10px;
}

@keyframes bpBrandsMarquee{
  from{
    transform: translateX(0);
  }
  to{
    transform: translateX(-50%);
  }
}

@media (max-width: 1024px){
  .bp-brands{
    padding: 26px 0 18px;
  }

  .bp-brands__title{
    font-size: 20px;
  }

  .bp-brands__marquee{
    padding: 8px 0 2px;
  }

  .bp-brands__marquee::before,
  .bp-brands__marquee::after{
    width:52px;
  }

  .bp-brands__track{
    gap:26px;
    animation-duration: 44s;
  }

  .bp-brands__item{
    min-width:132px;
    height:58px;
  }

  .bp-brands__item img{
    height:58px;
    max-width:148px;
  }
}

@media (max-width: 768px){
  .bp-brands{
    padding: 20px 0 12px;
  }

  .bp-brands__inner{
    padding: 0 12px;
  }

  .bp-brands__head{
    margin: 0 0 10px;
    padding-bottom: 8px;
  }

  .bp-brands__title{
    font-size: 18px;
  }

  .bp-brands__marquee{
    padding: 6px 0 2px;
  }

  .bp-brands__marquee::before,
  .bp-brands__marquee::after{
    width:34px;
  }

  .bp-brands__track{
    gap:20px;
    animation-duration: 44s;
  }

  .bp-brands__item{
    min-width:112px;
    height:50px;
  }

  .bp-brands__item img{
    height:55px;
    max-width:120px;
    border-radius:8px;
  }
}

/* ================================
   HIDE ANYTHING AFTER FOOTER
   only on standalone home
   ================================ */

@media (max-width: 768px){
  body.bp-standalone .bp-footer--home ~ *{
    display:none !important;
  }
}

/* =========================================================
   GOOGLE REVIEWS — STATIC COMPACT WIDGET
   ========================================================= */

.bp-google-reviews {
	padding: 48px 0;
	background: #faf9f7;
}

.bp-google-reviews__container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 16px;

	display: grid;
	grid-template-columns: 250px minmax(0, 1fr);
	gap: 32px;
	align-items: start;
}


/* =========================================================
   SUMMARY
   ========================================================= */

.bp-google-reviews__summary {
	min-width: 0;
}

.bp-google-reviews__title {
	margin: 0 0 18px;

	font-size: 22px;
	font-weight: 700;
	line-height: 25px;

	color: #252525;
}

.bp-google-reviews__rating-row {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;

	margin-bottom: 7px;
}

.bp-google-reviews__google-logo {
	display: block;

	width: 30px;
	height: 30px;
	flex: 0 0 30px;

	object-fit: contain;
}

.bp-google-reviews__rating {
	font-size: 26px;
	font-weight: 700;
	line-height: 1;

	color: #252525;
}


/* =========================================================
   STARS
   ========================================================= */

.bp-google-review-stars {
	display: inline-flex;
	align-items: center;
	gap: 1px;

	line-height: 1;
}

.bp-google-review-stars span {
	display: block;

	font-size: 18px;
	line-height: 1;

	color: #f6ad16;
}

.bp-google-review__rating-line .bp-google-review-stars span {
	font-size: 15px;
}


/* =========================================================
   SUMMARY META
   ========================================================= */

.bp-google-reviews__count {
	margin-bottom: 18px;

	font-size: 14px;
	line-height: 1.4;

	color: #6c6c6c;
}

.bp-google-reviews__sort-label {
	margin-bottom: 14px;

	font-size: 12px;
	font-weight: 600;

	color: #8a8a8a;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.bp-google-reviews__actions {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 9px;
}

.bp-google-reviews__all-link,
.bp-google-reviews__write-link,
.bp-google-reviews__all-link:visited,
.bp-google-reviews__write-link:visited {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	min-height: 44px;
	padding: 8px 14px;

	border-radius: 14px;

	font-size: 13px;
	font-weight: 600;
	line-height: 1.2;

	text-align: center;
	text-decoration: none;

	transition:
		background-color .2s ease,
		border-color .2s ease,
		color .2s ease;
}

.bp-google-reviews__all-link,
.bp-google-reviews__all-link:visited {
	border: 1px solid #583528;
	background: #583528;
	color: #fff;
}

.bp-google-reviews__all-link:hover,
.bp-google-reviews__all-link:focus {
	border-color: #45281e;
	background: #45281e;
	color: #fff;
	text-decoration: none;
}

.bp-google-reviews__write-link,
.bp-google-reviews__write-link:visited {
	border: 1px solid #dedbd8;
	background: #fff;
	color: #3c302b;
}

.bp-google-reviews__write-link:hover,
.bp-google-reviews__write-link:focus {
	border-color: #583528;
	background: #fff;
	color: #583528;
	text-decoration: none;
}


/* =========================================================
   SLIDER
   ========================================================= */

.bp-google-reviews__slider-wrap {
	position: relative;
	min-width: 0;
}

.bp-google-reviews__slider {
	width: 100%;
	min-width: 0;

	overflow: hidden;
}

.bp-google-reviews__slider .swiper-wrapper {
	align-items: stretch;
}

.bp-google-reviews__slider .swiper-slide {
	height: auto;
}


/* =========================================================
   REVIEW CARD
   ========================================================= */

.bp-google-review {
	position: relative;

	box-sizing: border-box;
	height: 100%;
	min-height: 260px;

	display: flex;
	flex-direction: column;

	padding: 20px;

	background: #fff;
	border: 1px solid #ebe8e5;
	border-radius: 14px;

	box-shadow:
		0 2px 4px rgba(0, 0, 0, .025),
		0 10px 28px rgba(45, 29, 20, .055);
}


/* =========================================================
   CARD HEADER
   ========================================================= */

.bp-google-review__top {
	display: flex;
	align-items: center;
	gap: 11px;

	margin-bottom: 12px;
}

.bp-google-review__avatar {
	display: flex;
	align-items: center;
	justify-content: center;

	width: 42px;
	height: 42px;
	flex: 0 0 42px;

	border-radius: 50%;
	object-fit: cover;
	overflow: hidden;
}

.bp-google-review__avatar--fallback {
	background: #795548;
	color: #fff;

	font-size: 18px;
	font-weight: 600;
	text-transform: uppercase;
}

.bp-google-review__author-data {
	min-width: 0;
	flex: 1;
}

.bp-google-review__author {
	margin: 0 0 5px;

	font-size: 15px;
	font-weight: 700;
	line-height: 1.25;

	color: #272727;
}

.bp-google-review__rating-line {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 7px;
}

.bp-google-review__date {
	font-size: 11px;
	line-height: 1.2;

	color: #929292;
}


/* =========================================================
   REVIEW TEXT
   ========================================================= */

.bp-google-review__text {
	margin: 0 0 7px;

	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 5;

	overflow: hidden;

	font-size: 14px;
	font-weight: 400;
	line-height: 1.55;

	color: #353535;
}

.bp-google-review__text.is-expanded {
	display: block;

	overflow: visible;

	-webkit-line-clamp: unset;
}


/* =========================================================
   READ MORE
   ========================================================= */

.bp-google-review__toggle {
	align-self: flex-start;

	margin: 0 0 10px;
	padding: 0;

	border: 0;
	background: transparent;

	font-family: inherit;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.3;

	color: #6b4a3c;

	cursor: pointer;
}

.bp-google-review__toggle:hover,
.bp-google-review__toggle:focus {
	color: #3f281f;
	text-decoration: underline;
}

.bp-google-review__toggle[hidden] {
	display: none;
}


/* =========================================================
   SOURCE
   ========================================================= */

.bp-google-review__source-row {
	margin-top: auto;

	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;

	padding-top: 13px;

	border-top: 1px solid #f0eeec;
}

.bp-google-review__source,
.bp-google-review__source:visited {
	font-size: 12px;
	font-weight: 600;
	line-height: 1.3;

	color: #6b4a3c;
	text-decoration: none;
}

.bp-google-review__source:hover,
.bp-google-review__source:focus {
	color: #3f281f;
	text-decoration: underline;
}

.bp-google-review__source-logo {
	display: block;

	width: 22px;
	height: 22px;
	flex: 0 0 22px;

	object-fit: contain;
}


/* =========================================================
   CONTROLS
   ========================================================= */

.bp-google-reviews__controls {
	width: fit-content;

	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;

	margin: 16px auto 0;
}

.bp-google-reviews__prev,
.bp-google-reviews__next {
	width: 36px;
	height: 36px;
	flex: 0 0 36px;

	display: flex;
	align-items: center;
	justify-content: center;

	padding: 0;

	border: 1px solid #dedbd8;
	border-radius: 50%;

	background: #fff;
	color: #40332e;

	font-size: 16px;
	line-height: 1;

	cursor: pointer;

	transition:
		border-color .2s ease,
		background-color .2s ease;
}

.bp-google-reviews__prev:hover,
.bp-google-reviews__next:hover {
	border-color: #583528;
	background: #f7f4f2;
}

.bp-google-reviews__pagination {
	width: auto;

	display: flex;
	align-items: center;
	justify-content: center;
}

.bp-google-reviews__pagination .swiper-pagination-bullet {
	width: 7px;
	height: 7px;

	margin: 0 4px;

	background: #b9b2ae;
	opacity: 1;
}

.bp-google-reviews__pagination .swiper-pagination-bullet-active {
	background: #583528;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1024px) {

	.bp-google-reviews__container {
		grid-template-columns: 220px minmax(0, 1fr);
		gap: 24px;
	}

	.bp-google-review {
		min-height: 270px;
		padding: 18px;
	}
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

	.bp-google-reviews {
		padding: 26px 0 28px;
		overflow: hidden;
	}

	.bp-google-reviews__container {
		display: block;

		width: 100%;
		max-width: none;

		margin: 0;
		padding: 0;
	}

	.bp-google-reviews__summary {
		width: auto;
		padding: 0 16px;
	}

	.bp-google-reviews__title {
		margin: 0 0 10px;

		font-size: 20px;
		line-height: 23px;
	}

	/*
	 * На мобильном рейтинг, звёзды и количество отзывов
	 * идут одной спокойной строкой.
	 */
	.bp-google-reviews__rating-row {
		display: flex;
		align-items: center;
		flex-wrap: nowrap;
		gap: 6px;

		width: 100%;
		margin: 0;
	}

	.bp-google-reviews__google-logo {
		width: 26px;
		height: 26px;
		flex: 0 0 26px;
	}

	.bp-google-reviews__rating {
		font-size: 25px;
		line-height: 1;
	}

	.bp-google-reviews__rating-row .bp-google-review-stars {
		flex: 0 0 auto;
	}

	.bp-google-reviews__rating-row .bp-google-review-stars span {
		font-size: 15px;
	}

	/*
	 * Разделитель между рейтингом и количеством отзывов.
	 * Так как count уже находится внутри rating-row,
	 * используем border-left.
	 */
	.bp-google-reviews__count {
		flex: 0 0 auto;

		margin: 0 0 0 8px;
		padding-left: 12px;

		border-left: 1px solid rgba(36, 35, 40, .18);

		font-size: 12px;
		line-height: 1.2;
		text-align: left;
		white-space: nowrap;

		color: #777;
	}

	/*
	 * На мобильном кнопки и подпись
	 * "Reseñas destacadas" убираем.
	 */
	.bp-google-reviews__sort-label,
	.bp-google-reviews__actions {
		display: none;
	}


/* ---------- MOBILE SLIDER ---------- */

	.bp-google-reviews__slider-wrap {
		width: 100%;

		margin-top: 14px;
	}

	.bp-google-reviews__slider {
		box-sizing: border-box;

		width: 100%;

		padding-left: 16px;
		padding-right: 16px;
	}

	.bp-google-reviews__slider .swiper-wrapper {
		align-items: stretch;
	}


/* ---------- MOBILE CARD ---------- */

	.bp-google-review {
		box-sizing: border-box;

		min-height: 0;

		padding: 16px;

		border-radius: 14px;
	}

	.bp-google-review__top {
		gap: 9px;

		margin-bottom: 10px;
	}

	.bp-google-review__avatar {
		width: 40px;
		height: 40px;
		flex: 0 0 40px;
	}

	.bp-google-review__author-data {
		min-width: 0;
	}

	.bp-google-review__author {
		margin-bottom: 3px;

		font-size: 14px;
		line-height: 1.2;
	}

	.bp-google-review__rating-line {
		gap: 5px;
	}

	.bp-google-review__rating-line .bp-google-review-stars span {
		font-size: 13px;
	}

	.bp-google-review__date {
		font-size: 10px;
	}


/* ---------- MOBILE TEXT ---------- */

	.bp-google-review__text {
		margin-bottom: 6px;

		-webkit-line-clamp: 4;

		font-size: 14px;
		line-height: 1.45;
	}

	.bp-google-review__text.is-expanded {
		display: block;

		overflow: visible;

		-webkit-line-clamp: unset;
	}

	.bp-google-review__toggle {
		margin-bottom: 9px;

		font-size: 12px;
	}


/* ---------- MOBILE SOURCE ---------- */

	.bp-google-review__source-row {
		padding-top: 10px;
	}

	.bp-google-review__source,
	.bp-google-review__source:visited {
		font-size: 11px;
	}

	.bp-google-review__source-logo {
		width: 20px;
		height: 20px;
		flex: 0 0 20px;
	}


/* ---------- MOBILE CONTROLS ---------- */

	.bp-google-reviews__controls {
		width: fit-content;

		margin: 13px auto 0;
	}
}

/* Standalone reviews carousel: replaces the child-theme Swiper dependency. */
.bp-google-reviews__slider .swiper-wrapper {
  display: flex;
  align-items: stretch;
  gap: var(--bp-reviews-gap, 20px);
  transition: transform .45s ease;
  will-change: transform;
}
.bp-google-reviews__slider .swiper-slide {
  flex: 0 0 var(--bp-review-card-width, 100%);
  width: var(--bp-review-card-width, 100%);
}
.bp-google-reviews__pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}
.bp-google-reviews__pagination .swiper-pagination-bullet {
  width: 7px;
  height: 7px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(88, 53, 40, .28);
  cursor: pointer;
}
.bp-google-reviews__pagination .swiper-pagination-bullet-active {
  background: #583528;
}
.bp-google-reviews__prev:disabled,
.bp-google-reviews__next:disabled {
  opacity: .35;
  cursor: default;
}

/* Standalone mobile product rail: resolve percentages against the viewport. */
@media (max-width: 768px) {
  .bp-products:not(.bp-products--premium) .bp-products__track ul.products {
    width: 100% !important;
  }

  .bp-products:not(.bp-products--premium) .bp-products__track ul.products > li.product {
    flex: 0 0 78% !important;
    width: 78% !important;
    max-width: 78% !important;
  }
}
