/*
Theme Name: Vanveda
Theme URI: https://example.com/vanveda
Author: Vanveda
Author URI: https://example.com
Description: A wellness ecommerce WordPress theme for Vanveda, inspired by modern Ayurveda storefronts and built with editable Customizer sections.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vanveda
Tags: e-commerce, custom-logo, custom-menu, featured-images, one-column, theme-options
*/

:root {
  --vv-forest: #173b2c;
  --vv-leaf: #2e6d46;
  --vv-mint: #dbeadd;
  --vv-sage: #edf4e9;
  --vv-cream: #fff8ea;
  --vv-sun: #f6b94b;
  --vv-clay: #b85f3b;
  --vv-ink: #18211d;
  --vv-muted: #69756c;
  --vv-line: #d8dfd3;
  --vv-white: #ffffff;
  --vv-shadow: 0 14px 40px rgba(23, 59, 44, 0.12);
  font-size: 16px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--vv-ink);
  background: var(--vv-white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.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;
}

.vv-wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.vv-topbar {
  background: var(--vv-forest);
  color: var(--vv-white);
  font-size: 0.84rem;
  text-align: center;
  padding: 9px 16px;
}

.vv-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--vv-line);
  backdrop-filter: blur(14px);
}

.vv-header__row {
  display: grid;
  grid-template-columns: auto minmax(240px, 1fr) auto;
  align-items: center;
  gap: 22px;
  min-height: 76px;
}

.vv-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--vv-forest);
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.vv-logo__mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--vv-sage);
  color: var(--vv-leaf);
  font-size: 1.35rem;
}

.vv-search {
  position: relative;
}

.vv-search input {
  width: 100%;
  height: 46px;
  border: 1px solid var(--vv-line);
  border-radius: 999px;
  padding: 0 52px 0 20px;
  background: #f8faf5;
  outline: none;
}

.vv-search button {
  position: absolute;
  right: 5px;
  top: 5px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  color: var(--vv-white);
  background: var(--vv-leaf);
  cursor: pointer;
}

.vv-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.vv-icon-btn,
.vv-menu-toggle {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--vv-line);
  border-radius: 50%;
  background: var(--vv-white);
  color: var(--vv-forest);
  cursor: pointer;
}

.vv-menu-toggle {
  display: none;
}

.vv-nav {
  border-top: 1px solid var(--vv-line);
}

.vv-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  align-items: center;
  justify-content: center;
  padding: 12px 0;
  margin: 0;
  list-style: none;
  color: var(--vv-forest);
  font-weight: 700;
  font-size: 0.92rem;
}

.vv-nav a {
  display: block;
  padding: 6px 0;
}

.vv-hero {
  overflow: hidden;
  background: linear-gradient(110deg, var(--vv-cream) 0%, var(--vv-sage) 100%);
}

.vv-hero__grid {
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  align-items: center;
  gap: 34px;
  padding: 54px 0;
}

.vv-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--vv-leaf);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.vv-hero h1,
.vv-section h2,
.vv-page-title {
  margin: 12px 0 14px;
  color: var(--vv-forest);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.03;
  letter-spacing: 0;
}

.vv-hero h1 {
  max-width: 660px;
  font-size: clamp(2.7rem, 6vw, 5.8rem);
}

.vv-hero p {
  max-width: 560px;
  margin: 0 0 24px;
  color: var(--vv-muted);
  font-size: 1.06rem;
}

.vv-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: var(--vv-forest);
  color: var(--vv-white);
  font-weight: 800;
  cursor: pointer;
}

.vv-button--light {
  color: var(--vv-forest);
  background: var(--vv-white);
  border: 1px solid var(--vv-line);
}

.vv-hero__media {
  position: relative;
  min-height: 430px;
}

.vv-hero__image {
  position: absolute;
  inset: 0;
  border-radius: 8px;
  background: center / cover no-repeat;
  box-shadow: var(--vv-shadow);
}

.vv-hero__badge {
  position: absolute;
  left: 18px;
  bottom: 20px;
  max-width: 260px;
  padding: 18px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--vv-shadow);
}

.vv-hero__badge strong {
  display: block;
  color: var(--vv-forest);
  font-size: 1.05rem;
}

.vv-hero__badge span {
  color: var(--vv-muted);
  font-size: 0.88rem;
}

.vv-section {
  padding: 54px 0;
}

.vv-section--tint {
  background: var(--vv-sage);
}

.vv-section__head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 24px;
}

.vv-section h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
}

.vv-section__head p {
  max-width: 560px;
  margin: 0;
  color: var(--vv-muted);
}

.vv-concerns {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.vv-concern {
  min-height: 128px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--vv-line);
  border-radius: 8px;
  background: var(--vv-white);
  text-align: center;
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(23, 59, 44, 0.06);
}

.vv-concern__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--vv-forest);
  background: var(--vv-mint);
  font-size: 1.55rem;
}

.vv-products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.vv-product {
  overflow: hidden;
  border: 1px solid var(--vv-line);
  border-radius: 8px;
  background: var(--vv-white);
  box-shadow: 0 10px 26px rgba(23, 59, 44, 0.07);
}

.vv-product__image {
  aspect-ratio: 1 / 1;
  background: var(--vv-sage) center / cover no-repeat;
}

.vv-product__body {
  padding: 16px;
}

.vv-stars {
  color: var(--vv-sun);
  font-size: 0.86rem;
  letter-spacing: 0;
}

.vv-product h3 {
  margin: 8px 0;
  min-height: 48px;
  color: var(--vv-forest);
  font-size: 1rem;
  line-height: 1.25;
}

.vv-product__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
}

.vv-price {
  font-weight: 900;
  color: var(--vv-forest);
}

.vv-add {
  min-height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: var(--vv-leaf);
  color: var(--vv-white);
  font-weight: 800;
}

.vv-routine {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 18px;
}

.vv-routine__item {
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 22px;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(23, 59, 44, 0) 0%, rgba(23, 59, 44, 0.78) 100%), center / cover no-repeat;
  color: var(--vv-white);
}

.vv-routine__item h3 {
  margin: 0 0 8px;
  font-size: 1.35rem;
}

.vv-routine__item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
}

.vv-proof {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.vv-proof__item {
  padding: 22px;
  border: 1px solid var(--vv-line);
  border-radius: 8px;
  background: var(--vv-white);
}

.vv-proof__item strong {
  display: block;
  color: var(--vv-forest);
  font-size: 1.05rem;
  margin-bottom: 5px;
}

.vv-proof__item span {
  color: var(--vv-muted);
  font-size: 0.94rem;
}

.vv-journal {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 26px;
  align-items: center;
}

.vv-journal__image {
  min-height: 390px;
  border-radius: 8px;
  background: center / cover no-repeat;
  box-shadow: var(--vv-shadow);
}

.vv-testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.vv-quote {
  padding: 22px;
  border: 1px solid var(--vv-line);
  border-radius: 8px;
  background: var(--vv-white);
}

.vv-quote p {
  margin: 0 0 18px;
  color: var(--vv-muted);
}

.vv-quote strong {
  color: var(--vv-forest);
}

.vv-newsletter {
  padding: 36px;
  border-radius: 8px;
  background: var(--vv-forest);
  color: var(--vv-white);
}

.vv-newsletter form {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.vv-newsletter input {
  width: 100%;
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  padding: 0 18px;
}

.vv-newsletter .vv-button {
  background: var(--vv-sun);
  color: var(--vv-ink);
}

.vv-footer {
  padding: 46px 0 24px;
  background: #12291f;
  color: rgba(255, 255, 255, 0.78);
}

.vv-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 28px;
}

.vv-footer h3,
.vv-footer h4 {
  margin: 0 0 14px;
  color: var(--vv-white);
}

.vv-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.vv-footer li + li {
  margin-top: 9px;
}

.vv-footer__bottom {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.88rem;
}

.vv-page {
  padding: 48px 0;
}

.vv-entry {
  max-width: 820px;
  margin: 0 auto;
}

.vv-entry img {
  border-radius: 8px;
}

@media (max-width: 980px) {
  .vv-header__row {
    grid-template-columns: auto auto;
  }

  .vv-search {
    grid-column: 1 / -1;
    order: 3;
    width: 100%;
    margin-bottom: 14px;
  }

  .vv-menu-toggle {
    display: inline-grid;
  }

  .vv-actions {
    justify-self: end;
  }

  .vv-nav {
    display: none;
  }

  .vv-nav.is-open {
    display: block;
  }

  .vv-nav ul {
    justify-content: start;
  }

  .vv-hero__grid,
  .vv-journal {
    grid-template-columns: 1fr;
  }

  .vv-concerns,
  .vv-products,
  .vv-proof {
    grid-template-columns: repeat(2, 1fr);
  }

  .vv-routine,
  .vv-testimonials,
  .vv-footer__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .vv-wrap {
    width: min(100% - 22px, 1180px);
  }

  .vv-header__row {
    gap: 10px;
  }

  .vv-logo__text {
    font-size: 0.92rem;
  }

  .vv-hero__grid {
    min-height: auto;
    padding: 34px 0;
  }

  .vv-hero__media {
    min-height: 320px;
  }

  .vv-section__head {
    display: block;
  }

  .vv-concerns,
  .vv-products,
  .vv-proof {
    grid-template-columns: 1fr;
  }

  .vv-newsletter {
    padding: 24px;
  }

  .vv-newsletter form {
    display: grid;
  }
}
