/*
Theme Name: Bellavista Style Group
Theme URI: https://bellavistastylegroup.com/
Author: Bellavista Style Group
Description: Onepage editable para Bellavista Style Group.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: bellavista-style-group
*/

:root {
  --bsg-ink: #11100e;
  --bsg-muted: #5e5a54;
  --bsg-paper: #fbfaf7;
  --bsg-soft: #f3f2eb;
  --bsg-blue: #cbd9ed;
  --bsg-line: #d9e8ef;
  --bsg-width: 1437px;
  --bsg-serif: "Cormorant Garamond", Georgia, serif;
  --bsg-sans: "Montserrat", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--bsg-ink);
  background: var(--bsg-paper);
  font-family: var(--bsg-sans);
  font-size: 15px;
  line-height: 1.45;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

.bsg-wrap {
  width: min(var(--bsg-width), calc(100% - 44px));
  margin: 0 auto;
}

.bsg-serif {
  font-family: var(--bsg-serif);
}

.bsg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 18px;
  border: 0;
  background: #fff;
  color: var(--bsg-ink);
  font-family: var(--bsg-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease;
}

.bsg-btn:hover,
.bsg-btn:focus {
  background: #1a1a1a;
  color: #fff;
}

.bsg-section-title {
  margin: 0;
  font-family: var(--bsg-serif);
  font-size: clamp(32px, 4vw, 46px);
  line-height: .95;
  text-align: center;
}

.bsg-small-title {
  margin: 0;
  font-family: var(--bsg-serif);
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: .92;
}

.bsg-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 5;
  padding: 42px 0 0;
}

.bsg-header__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
}

.bsg-logo,
.custom-logo {
  width: 180px;
  height: auto;
}

.bsg-nav {
  display: flex;
  align-items: center;
  gap: clamp(26px, 4vw, 56px);
  padding-top: 8px;
  font-size: 11px;
  font-weight: 500;
}

.bsg-nav__list {
  display: flex;
  align-items: center;
  gap: inherit;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bsg-nav a {
  border-bottom: 1px solid transparent;
  padding-bottom: 4px;
}

.bsg-nav a:hover {
  border-color: currentColor;
}

.bsg-language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.bsg-language-switcher a {
  opacity: .55;
}

.bsg-language-switcher a.is-active,
.bsg-language-switcher a:hover,
.bsg-language-switcher a:focus {
  opacity: 1;
}

.bsg-hero {
  min-height: 0;
  height: 750px;
  background-image: var(--hero-desktop);
  background-position: center bottom;
  background-size: cover;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 130px 20px 70px;
}

.bsg-hero__content {
  margin-top: 50px;
}

.bsg-hero h1 {
  margin: 0 0 8px;
  font-family: var(--bsg-serif);
  font-size: clamp(42px, 5.2vw, 64px);
  line-height: .9;
  text-transform: uppercase;
}

.bsg-hero p {
  margin: 0 0 32px;
  font-size: clamp(15px, 1.8vw, 21px);
}

.bsg-about {
  position: relative;
  height: calc(100vw * 1500 / 2880);
  min-height: 0;
  padding: clamp(74px, 6.2vw, 90px) 0 66px;
  background: #fff;
  background-image: url("assets/images/MobileModaIspiradaDesktop.png");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: 100% auto;
  overflow: hidden;
}

.bsg-section-lines::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 118px;
  background-image: var(--lines-blue-desktop);
  background-size: cover;
  opacity: .72;
  pointer-events: none;
}

.bsg-about__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 310px;
  align-items: start;
}

.bsg-about__copy {
  max-width: 310px;
  padding-top: 4px;
}

.bsg-about__copy p {
  margin: 58px 0 0;
  font-size: 17px;
  line-height: 1.24;
}

.bsg-brands {
  height: 778px;
  padding: 54px 0 0;
  background: #fff;
}

.bsg-brands__grid {
  display: grid;
  grid-template-columns: repeat(3, 393px);
  justify-content: center;
  gap: clamp(30px, 4.2vw, 70px);
  margin-top: 46px;
}

.bsg-brand {
  display: flex;
  flex-direction: column;
  background: #f1f2ec;
  padding: 22px 22px 20px;
  width: 393px;
  height: 589px;
}

.bsg-brand__image {
  aspect-ratio: 1 / 1.16;
  object-fit: cover;
  width: 100%;
  height: 393px;
}

.bsg-brand__text {
  min-height: 56px;
  margin: 22px 0 18px;
  text-align: center;
  font-size: 14px;
}

.bsg-brand__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}

.bsg-brand__footer .bsg-btn {
  width: 150px;
  min-height: 35px;
  height: 35px;
  padding: 0;
  border-radius: 5px;
}

.bsg-social {
  display: inline-flex;
  gap: 12px;
  align-items: center;
}

.bsg-social a {
  display: inline-flex;
  width: 40px;
  height: 40px;
}

.bsg-social img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.bsg-shops {
  position: relative;
  height: 913px;
  padding: 76px 0 0;
  background-color: #f7f6f0;
  background-image: url("assets/images/rayas blancas - desktop.png");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
}

.bsg-shops::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--lines-white-desktop);
  background-size: cover;
  opacity: .55;
  display: none;
}

.bsg-shops .bsg-wrap {
  position: relative;
  z-index: 1;
}

.bsg-section-kicker {
  margin: 8px 0 0;
  text-align: center;
  font-size: 13px;
}

.bsg-map {
  width: 840px;
  height: 707px;
  object-fit: contain;
  margin: 30px auto 0;
}

.bsg-tiendas {
  height: 756px;
  padding: 0;
  background: #f7f6f0;
}

.bsg-shop-grid {
  display: grid;
  grid-template-columns: repeat(4, 335px);
  justify-content: center;
  gap: 17px;
}

.bsg-shop {
  background: #fff;
  width: 335px;
  height: 714px;
}

.bsg-shop__image {
  width: 100%;
  aspect-ratio: .74 / 1;
  object-fit: cover;
}

.bsg-shop__body {
  padding: 18px 18px 22px;
}

.bsg-shop h3 {
  margin: 0 0 14px;
  font-family: ui-sans-serif;
  font-size: 24px;
  line-height: .95;
}

.bsg-shop p {
  margin: 0 0 18px;
  font-size: 12px;
}

.bsg-shop .bsg-btn {
  width: 140px;
  min-height: 35px;
  height: 35px;
  padding: 0;
  border-radius: 5px;
  background: #F3F3EC;
}

.bsg-shop .bsg-btn:hover,
.bsg-shop .bsg-btn:focus {
  background: #1a1a1a;
  color: #fff;
}

.bsg-instagram {
  position: relative;
  padding: 74px 0 70px;
  background: #fff;
}

.bsg-instagram::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 92px;
  background-image: var(--lines-blue-desktop);
  background-size: cover;
  opacity: .65;
}

.bsg-instagram .bsg-wrap {
  position: relative;
  z-index: 1;
}

.bsg-instagram__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 48px 0 42px;
}

.bsg-instagram__feed {
  margin: 48px 0 42px;
}

.bsg-instagram__placeholder {
  aspect-ratio: 1 / 1.12;
  background: #fbfbfa;
}

.bsg-center {
  text-align: center;
}

.bsg-newsletter {
  padding: 72px 0;
  background: var(--bsg-blue);
  text-align: center;
}

.bsg-newsletter h2 {
  max-width: 420px;
  margin: 0 auto 30px;
}

.bsg-form {
  display: flex;
  width: min(480px, 100%);
  margin: 0 auto;
  background: #fff;
  border-radius: 999px;
  overflow: hidden;
}

.bsg-form input {
  min-width: 0;
  flex: 1;
  border: 0;
  padding: 14px 22px;
  font: inherit;
  font-size: 12px;
  outline: 0;
}

.bsg-form button {
  min-width: 142px;
  border: 0;
  border-radius: 999px;
  background: #aec4df;
  color: #fff;
}

.bsg-newsletter__form {
  width: min(560px, 100%);
  margin: 0 auto;
}

.bsg-newsletter .wpcf7 form {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 142px;
  width: 100%;
  margin: 0;
  overflow: visible;
}

.bsg-newsletter .wpcf7 p {
  display: contents;
  margin: 0;
}

.bsg-newsletter-row {
  display: contents;
}

.bsg-newsletter-row .wpcf7-form-control-wrap {
  grid-column: 1;
  grid-row: 1;
  flex: 1;
  min-width: 0;
}

.bsg-newsletter .wpcf7 input[type="email"] {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 52px;
  height: 52px;
  border: 0;
  border-radius: 999px;
  padding: 0 24px;
  padding-right: 156px;
  font: inherit;
  font-size: 12px;
  outline: 0;
}

.bsg-newsletter .wpcf7 input[type="submit"] {
  position: relative;
  z-index: 2;
  grid-column: 2;
  grid-row: 1;
  min-width: 142px;
  min-height: 52px;
  height: 52px;
  margin-left: -142px;
  border: 0;
  border-radius: 999px;
  background: #aec4df;
  color: #fff;
  font-family: var(--bsg-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .18s ease, color .18s ease;
}

.bsg-newsletter-consent {
  grid-column: 1 / -1;
  grid-row: 2;
  margin-top: 14px;
  text-align: center;
}

.bsg-newsletter-consent .wpcf7-acceptance {
  font-size: 12px;
  color: var(--bsg-ink);
}

.bsg-newsletter-consent .wpcf7-list-item {
  margin: 0;
}

.bsg-newsletter-consent label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-align: left;
}

.bsg-newsletter-consent input[type="checkbox"] {
  width: 14px;
  height: 14px;
  margin: 0;
  accent-color: #26ADD1;
}

.bsg-newsletter-consent .wpcf7-not-valid-tip {
  position: static;
  display: block;
  margin-top: 6px;
  font-size: 11px;
  text-align: center;
}

.bsg-consent-error {
  display: block;
  margin-top: 6px;
  color: #dc3232;
  font-size: 11px;
  text-align: center;
}

.bsg-newsletter .wpcf7 input[type="submit"]:hover,
.bsg-newsletter .wpcf7 input[type="submit"]:focus {
  background: #1a1a1a;
  color: #fff;
}

.bsg-newsletter .wpcf7-spinner {
  position: absolute;
  right: -34px;
  top: 50%;
  margin: -12px 0 0;
}

.bsg-newsletter .wpcf7-not-valid-tip {
  position: absolute;
  left: 22px;
  top: calc(100% + 7px);
  font-size: 11px;
  text-align: left;
}

.bsg-newsletter .wpcf7 form .wpcf7-response-output {
  position: absolute;
  top: calc(100% + 18px);
  left: 0;
  right: 0;
  margin: 0;
  border: 0;
  padding: 0;
  font-size: 12px;
}

.bsg-footer {
  padding: 58px 0 46px;
  background: #fff;
}

.bsg-footer__inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
  align-items: center;
}

.bsg-footer__logo,
.bsg-footer .bsg-logo,
.bsg-footer .custom-logo {
  width: 210px;
}

.bsg-footer__contact {
  text-align: center;
  font-size: 13px;
  line-height: 1.35;
}

.bsg-footer__links {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 56px;
  font-size: 11px;
  color: var(--bsg-muted);
  text-transform: uppercase;
}

.bsg-footer__legal {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

@media (max-width: 1320px) and (min-width: 861px) {
  .bsg-brands {
    height: 778px;
    overflow: hidden;
  }

  .bsg-brands__grid {
    display: flex;
    justify-content: flex-start;
    gap: 34px;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 0 18px;
    scroll-snap-type: x mandatory;
  }

  .bsg-brand {
    flex: 0 0 393px;
    scroll-snap-align: center;
  }

  .bsg-tiendas {
    height: 756px;
    overflow: hidden;
  }

  .bsg-shop-grid {
    display: flex;
    justify-content: flex-start;
    gap: 17px;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 0 18px;
    scroll-snap-type: x mandatory;
  }

  .bsg-shop {
    flex: 0 0 335px;
    scroll-snap-align: center;
  }
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 860px) {
  .bsg-wrap {
    width: min(100% - 28px, 620px);
  }

  .bsg-header {
    padding-top: 17px;
  }

  .bsg-header__inner {
    display: block;
    text-align: center;
  }

  .bsg-logo,
  .custom-logo {
    width: 118px;
    margin: 0 auto 10px;
  }

  .bsg-nav {
    justify-content: center;
    gap: 20px;
    padding-top: 0;
    font-size: 10px;
  }

  .bsg-hero {
    min-height: 630px;
    height: auto;
    background-image: var(--hero-mobile);
    padding-top: 120px;
  }

  .bsg-hero__content {
    margin-top: -150px;
  }

  .bsg-hero h1 {
    font-size: 42px;
  }

  .bsg-about {
    height: auto;
    min-height: 0;
    padding: 47px 0 0;
    background-image: url("assets/images/MobileModaInspirada.png");
    background-position: center bottom;
    background-size: min(428px, 100%) auto;
  }

  .bsg-section-lines::before {
    height: 57px;
    background-image: var(--lines-blue-mobile);
  }

  .bsg-about__grid {
    display: flex;
    flex-direction: column;
    gap: 35px;
    align-items: center;
    text-align: center;
  }

  .bsg-about__copy {
    max-width: 356px;
    padding-top: 0;
  }

  .bsg-about__copy p {
    margin-top: 26px;
    font-size: 16px;
    line-height: 1.12;
  }

  .bsg-about__grid::after {
    content: "";
    display: block;
    width: min(428px, 100%);
    aspect-ratio: 428 / 572;
  }

  .bsg-brands {
    height: auto;
    padding: 54px 0 56px;
  }

  .bsg-brands__grid {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0 8px 18px;
    margin-top: 36px;
  }

  .bsg-brand {
    min-width: min(335px, 86vw);
    width: min(335px, 86vw);
    height: auto;
    scroll-snap-align: center;
  }

  .bsg-brand__image {
    height: auto;
  }

  .bsg-brand__text {
    font-size: 12px;
  }

  .bsg-shops {
    height: auto;
    padding: 18px 0 0;
  }

  .bsg-shops::before {
    display: block;
    background-image: var(--lines-white-mobile);
  }

  .bsg-map {
    width: min(430px, 112%);
    max-width: none;
    margin: 0 0 0 50%;
    transform: translate(-50%, -126px);
  }

  .bsg-shops picture {
    display: block;
    height: 450px;
    margin-top: -20px;
    overflow: hidden;
  }

  .bsg-tiendas {
    height: auto;
    padding: 0 0 62px;
    background: #f7f6f0;
  }

  .bsg-shop-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 13px;
  }

  .bsg-shop {
    width: auto;
    height: auto;
  }

  .bsg-shop__body {
    padding: 12px 12px 16px;
  }

  .bsg-shop h3 {
    font-size: 22px;
  }

  .bsg-shop p {
    font-size: 10px;
  }

  .bsg-shop .bsg-btn {
    min-height: 28px;
    padding: 0 12px;
    font-size: 8px;
  }

  .bsg-instagram {
    padding: 64px 0 56px;
  }

  .bsg-instagram__grid {
    grid-template-columns: 1fr;
    width: min(300px, 84vw);
    margin: 38px auto 28px;
  }

  .bsg-instagram__feed {
    margin: 38px 0 28px;
  }

  .bsg-instagram__placeholder:nth-child(n+2) {
    display: none;
  }

  .bsg-newsletter {
    padding: 52px 14px;
  }

  .bsg-form {
    width: min(355px, 100%);
  }

  .bsg-form input {
    padding: 13px 17px;
    font-size: 10px;
  }

  .bsg-form button {
    min-width: 104px;
    font-size: 9px;
  }

  .bsg-newsletter__form {
    width: min(370px, 100%);
  }

  .bsg-newsletter .wpcf7 form {
    grid-template-columns: 1fr 104px;
  }

  .bsg-newsletter .wpcf7 input[type="email"] {
    height: 46px;
    min-height: 46px;
    padding: 0 17px;
    padding-right: 112px;
    font-size: 10px;
  }

  .bsg-newsletter .wpcf7 input[type="submit"] {
    min-width: 104px;
    min-height: 46px;
    height: 46px;
    margin-left: -104px;
    font-size: 9px;
  }

  .bsg-newsletter-consent .wpcf7-acceptance {
    font-size: 10px;
  }

  .bsg-newsletter .wpcf7-spinner {
    right: 50%;
    top: calc(100% + 20px);
    margin-right: -12px;
  }

  .bsg-footer {
    padding: 46px 0 38px;
  }

  .bsg-footer__inner {
    display: flex;
    flex-direction: column;
    gap: 26px;
  }

  .bsg-footer__logo,
  .bsg-footer .custom-logo {
    width: 145px;
  }

  .bsg-footer__links {
    justify-content: center;
    gap: 28px;
  }
}

@media (max-width: 410px) {
  .bsg-nav {
    gap: 13px;
    font-size: 9px;
  }

  .bsg-hero h1 {
    font-size: 36px;
  }

}
