@import "./reset.css";
@import "./reset-plugins-styles.css";

/* Styles intended only for the front.*/
html {
  scroll-behavior: smooth;
}

@media screen and (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

:root {
  --primary: #5b3a1a;
  --accent: #ffd166;
  --background-default: #fff9f2;
  --text-color: #1e1e1e;
}

html:not(.fonts-loaded) .wv-gsap-animation-section {
  opacity: 0;
}

html.fonts-loaded .wv-gsap-animation-section {
  opacity: 1;
}

header {
  position: sticky;
  top: 0;
  z-index: 200;
}
header .wp-block-site-logo {
  transition: all 0.3s ease-in-out;
  will-change: max-width;
}
header.is-scrolled {
  border-bottom: 1px solid var(--accent);
}
header.is-scrolled .wp-block-site-logo {
  max-width: 100px;
  height: auto;
  transition: all 0.3s ease-in-out;
  will-change: max-width;
}
header.is-scrolled .wp-block-blocks-webvibe-block-cart-icon {
  width: 35px;
  height: 35px;
}
header.is-scrolled
  .wp-block-blocks-webvibe-block-cart-icon
  .webvibe-cart-icon__count {
  left: 22px;
  font-size: 10px;
  height: 15px;
  width: 15px;
}
header.is-scrolled .header__mobile-menu .mobile-icon-custom {
    gap: 6px;
}
header.is-scrolled .header__mobile-menu .mobile-icon-custom .icon-line {
   width: 30px;
}

body {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  font-family: "Manrope", sans-serif;
  font-style: normal;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
  color: var(--text-color);
  padding: 0;
  background-color: var(--background-default);
}
section {
  max-width: 100% !important;
  overflow: hidden;
  margin: 0 !important;
}

h1 {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.28px;
  text-transform: uppercase;
}
h2 {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.21px;
}
h3 {
  font-size: 32px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.16px;
}
h4 {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.12px;
}
p {
  letter-spacing: 0.09px;
  font-size: clamp(0.88rem, calc(0.83rem + 0.24vw), 1rem);
}
.wrapper {
  width: 100%;
  max-width: 1900px;
  margin: 0 auto;
  padding: 0 20px;
}
a {
  transition: all 0.3s ease-in-out;
}
a:hover {
  transition: all 0.3s ease-in-out;
  color: var(--accent);
}

.webvibe_primary-button,
.webvibe-woo-primary-button {
  position: relative;
  overflow: hidden;
  display: block;
  width: fit-content;
  text-transform: uppercase;
  border-radius: 50px;
  padding: 15px 30px;
  font-size: 16px;
  letter-spacing: 0.08px;
  background-color: var(--accent);
  cursor: pointer;
  color: var(--text-color);
  border: 1px solid transparent;
  transition: all 0.3s ease-in-out;
}
.webvibe_primary-button:hover,
.webvibe-woo-primary-button:hover {
  transform: translateY(-7px);
  transition: all 0.3s ease-in-out;
  color: var(--text-color);
}
.webvibe_primary-button.webvibe_transparent-bg {
  border: 1px solid var(--primary);
  background-color: transparent;
}

.btns-wrapper {
  display: flex;
  align-items: center;
  gap: 20px;
}

.webvibe-section-padding {
  padding: 100px 0;
}
.webvibe-section-margin {
  margin: 100px auto !important;
}

/* Responsive styles */
@media screen and (max-width: 1920px) {
  h1 {
    font-size: 52px;
  }
  h2 {
    font-size: 38px;
  }
  h3 {
    font-size: 28px;
  }
  h4 {
    font-size: 20px;
  }
  p {
    font-size: 16px;
  }
}
@media screen and (max-width: 1640px) {
  h1 {
    font-size: 48px;
  }
  h2 {
    font-size: 34px;
  }
  h3 {
    font-size: 26px;
  }
  h4 {
    font-size: 20px;
  }
}
@media screen and (max-width: 1280px) {
  h1 {
    font-size: 42px;
  }
  h2 {
    font-size: 32px;
  }
  h3 {
    font-size: 24px;
  }
}

@media screen and (max-width: 1024px) {
  .webvibe_primary-button,
  .webvibe-woo-primary-button {
    font-size: 14px;
    padding: 10px 20px;
  }
  .webvibe-section-margin {
    margin: 75px auto !important;
  }

  .webvibe-section-padding {
    padding: 75px 0;
  }
}

@media screen and (max-width: 768px) {
  h1 {
    font-size: 36px;
  }
  h2 {
    font-size: 28px;
  }
  h3 {
    font-size: 22px;
  }
  .webvibe-section-margin {
    margin: 50px auto !important;
  }
  .webvibe-section-padding {
    padding: 50px 0;
  }
  .webvibe_primary-button {
    padding: 10px 15px;
  }
}
@media screen and (max-width: 640px) {
  h1 {
    font-size: 36px;
  }
  h2 {
    font-size: 28px;
  }
  h3 {
    font-size: 22px;
  }
}

@media screen and (max-width: 520px) {
  h1 {
    font-size: 30px;
  }
  h2 {
    font-size: 24px;
  }
  h3 {
    font-size: 20px;
  }
}

.webvibe-woo-primary-button .btn-text {
  transition: opacity 0.15s ease;
}
.webvibe-woo-primary-button .btn-check {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
}
.webvibe-woo-primary-button.is-added .btn-text {
  opacity: 0;
}
.webvibe-woo-primary-button.is-added .btn-check {
  opacity: 1;
}
.webvibe-woo-primary-button.is-loading {
  pointer-events: none;
  opacity: 0.6;
}
