@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Playfair+Display:wght@500;600;700&display=swap');

:root {
  --cream: #fafaf5;
  --forest: #2d5016;
  --gold: #c9a84c;
  --charcoal: #2c2c2c;
}

body.velmora-reference-page {
  background: var(--cream);
  color: var(--charcoal);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.velmora-reference-page header.site-header#masthead,
body.velmora-theme-builder-page header.site-header#masthead,
body.velmora-reference-page footer.site-footer#colophon,
body.velmora-theme-builder-page footer.site-footer#colophon,
body.velmora-reference-page .ast-sticky-add-to-cart,
body.velmora-theme-builder-page .ast-sticky-add-to-cart,
body.velmora-reference-page .ast-sticky-add-to-cart-wrap,
body.velmora-theme-builder-page .ast-sticky-add-to-cart-wrap,
body.velmora-reference-page .woocommerce-notices-wrapper {
  display: none !important;
}

body.velmora-reference-page #content,
body.velmora-reference-page .site-content,
body.velmora-reference-page .ast-container,
body.velmora-reference-page .content-area,
body.velmora-reference-page .site-main {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.velmora-product-page,
.velmora-product-page * {
  box-sizing: border-box;
}

.velmora-product-page {
  min-height: 100vh;
  padding-top: 0;
  color: var(--charcoal);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.velmora-product-page a {
  text-decoration: none;
}

.velmora-app-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: rgba(250, 250, 245, .8);
  border-bottom: 1px solid rgba(45, 80, 22, .1);
  backdrop-filter: blur(12px);
}

.container-page {
  width: 100%;
  max-width: 80rem;
  margin-inline: auto;
  padding-inline: 1rem;
}

.bg-cream-glow {
  background:
    radial-gradient(1200px 600px at 20% 0%, rgba(201, 168, 76, .16), transparent 60%),
    radial-gradient(900px 500px at 100% 20%, rgba(143, 175, 106, .14), transparent 55%),
    var(--cream);
}

.font-heading { font-family: "Playfair Display", Georgia, serif; }
.font-body { font-family: Inter, ui-sans-serif, system-ui, sans-serif; }
.card {
  border-radius: 1rem;
  background: rgba(255, 255, 255, .7);
  box-shadow: 0 10px 30px rgba(45, 80, 22, .08);
  box-shadow: 0 10px 30px rgba(45, 80, 22, .08), 0 0 0 1px rgba(45, 80, 22, .05);
  backdrop-filter: blur(10px);
}

.shadow-soft { box-shadow: 0 10px 30px rgba(45, 80, 22, .08); }
.shadow-lift,
.hover\:shadow-lift:hover { box-shadow: 0 18px 45px rgba(45, 80, 22, .14); }

.btn-primary,
.btn-outline,
.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  border-radius: 9999px;
  padding: .75rem 1.25rem;
  border: 0;
  font-size: .875rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.btn-primary {
  color: var(--cream);
  background: var(--forest);
  box-shadow: 0 10px 30px rgba(45, 80, 22, .08);
}

.btn-primary:hover,
.btn-outline:hover,
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 45px rgba(45, 80, 22, .14);
}

.btn-outline {
  color: var(--forest);
  background: rgba(255, 255, 255, .45);
  box-shadow: inset 0 0 0 1px rgba(45, 80, 22, .2);
}

.btn-outline:hover { background: rgba(45, 80, 22, .05); }
.btn-gold { color: var(--charcoal); background: var(--gold); box-shadow: 0 10px 30px rgba(45, 80, 22, .08); }

.star-icon,
.heart-icon,
.filter-icon,
.empty-leaf {
  display: inline-block;
  width: 1.25rem;
  height: 1.25rem;
  background: currentColor;
  mask: var(--icon) center / contain no-repeat;
  -webkit-mask: var(--icon) center / contain no-repeat;
}

.star-icon {
  color: var(--gold);
  --icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m12 2 2.98 6.45 7.05.84-5.2 4.82 1.38 6.96L12 17.6l-6.21 3.47 1.38-6.96-5.2-4.82 7.05-.84L12 2Z'/%3E%3C/svg%3E");
}

.heart-icon {
  color: rgba(44, 44, 44, .7);
  --icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11.65 20.91 11.6 20.88C5.4 17.25 2 13.57 2 9.35 2 6.31 4.39 4 7.33 4c1.7 0 3.34.8 4.39 2.05A5.78 5.78 0 0 1 16.1 4C19.05 4 21.44 6.31 21.44 9.35c0 4.22-3.4 7.9-9.6 11.53l-.19.03Z'/%3E%3C/svg%3E");
}

.filter-icon {
  color: currentColor;
  --icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 5h18l-7 8v5l-4 2v-7L3 5Z'/%3E%3C/svg%3E");
}

.empty-leaf {
  color: var(--forest);
  --icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20.6 3.4C10.8 3.8 4.9 8.7 4.4 17.7c3.3-5.1 7.8-7.8 13.5-8.4-5.2 2.2-8.8 5.6-10.7 10.3 8.2.4 13.9-5.2 13.4-16.2Z'/%3E%3C/svg%3E");
}

[data-tab-panel] { display: none; }
[data-tab-panel].is-active { display: block; }
.velmora-tab.is-active { background: var(--forest); color: var(--cream); box-shadow: inset 0 0 0 1px var(--forest); }
.velmora-reference-breadcrumb { display: flex; gap: .5rem; align-items: center; }

.velmora-filter-drawer {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: none;
}

.velmora-filter-drawer.is-open { display: block; }
.velmora-filter-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(44, 44, 44, .35);
}

.velmora-filter-sheet {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
}

img { max-width: 100%; }
button, input, select { font: inherit; }
button { cursor: pointer; }

.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-7 { height: 1.75rem; }
.h-10 { height: 2.5rem; }
.h-11 { height: 2.75rem; }
.h-12 { height: 3rem; }
.h-14 { height: 3.5rem; }
.h-16 { height: 4rem; }
.h-20 { height: 5rem; }
.h-56 { height: 14rem; }
.h-\[360px\] { height: 360px; }
.w-4 { width: 1rem; }
.w-5 { width: 1.25rem; }
.w-7 { width: 1.75rem; }
.w-10 { width: 2.5rem; }
.w-11 { width: 2.75rem; }
.w-12 { width: 3rem; }
.w-14 { width: 3.5rem; }
.w-full { width: 100%; }
.min-w-0 { min-width: 0; }
.min-w-8 { min-width: 2rem; }
.max-w-md { max-width: 28rem; }

.mt-1 { margin-top: .25rem; }
.mt-2 { margin-top: .5rem; }
.mt-3 { margin-top: .75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-7 { margin-top: 1.75rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-14 { margin-top: 3.5rem; }
.mt-16 { margin-top: 4rem; }
.mb-4 { margin-bottom: 1rem; }
.ml-1 { margin-left: .25rem; }
.mx-auto { margin-inline: auto; }

.p-2 { padding: .5rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-10 { padding: 2.5rem; }
.px-3 { padding-left: .75rem; padding-right: .75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-1 { padding-top: .25rem; padding-bottom: .25rem; }
.py-1\.5 { padding-top: .375rem; padding-bottom: .375rem; }
.py-2 { padding-top: .5rem; padding-bottom: .5rem; }
.py-2\.5 { padding-top: .625rem; padding-bottom: .625rem; }
.py-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.pl-5 { padding-left: 1.25rem; }

.grid { display: grid; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.block { display: block; }
.hidden { display: none; }
.relative { position: relative; }
.absolute { position: absolute; }
.sticky { position: sticky; }
.top-3 { top: .75rem; }
.top-24 { top: 6rem; }
.left-3 { left: .75rem; }
.right-3 { right: .75rem; }
.overflow-hidden { overflow: hidden; }
.place-items-center { place-items: center; }

.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-1 { gap: .25rem; }
.gap-2 { gap: .5rem; }
.gap-3 { gap: .75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-7 { gap: 1.75rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.flex-wrap { flex-wrap: wrap; }
.flex-col { flex-direction: column; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.rounded { border-radius: .25rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }
.border-t { border-top: 1px solid; }
.border-forest\/10 { border-color: rgba(45, 80, 22, .1); }
.border-forest\/20 { border-color: rgba(45, 80, 22, .2); }
.ring-1 { box-shadow: inset 0 0 0 1px currentColor; }
.ring-forest { color: var(--forest); }
.ring-gold { color: var(--gold); }
.ring-forest\/10 { color: rgba(45, 80, 22, .1); }
.ring-forest\/25 { color: rgba(45, 80, 22, .25); }

.bg-white\/40 { background-color: rgba(255, 255, 255, .4); }
.bg-white\/60 { background-color: rgba(255, 255, 255, .6); }
.bg-cream\/90 { background-color: rgba(250, 250, 245, .9); }
.bg-forest { background-color: var(--forest); }
.bg-forest\/5 { background-color: rgba(45, 80, 22, .05); }
.bg-forest\/10 { background-color: rgba(45, 80, 22, .1); }
.bg-gold { background-color: var(--gold); }

.text-center { text-align: center; }
.text-xs { font-size: .75rem; line-height: 1rem; }
.text-\[10px\] { font-size: 10px; line-height: 1; }
.text-\[12px\] { font-size: 12px; line-height: 1; }
.text-sm { font-size: .875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.uppercase { text-transform: uppercase; }
.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }
.tracking-\[0\.08em\] { letter-spacing: .08em; }
.tracking-\[0\.34em\] { letter-spacing: .34em; }
.line-through { text-decoration: line-through; }
.underline { text-decoration: underline; }
.list-disc { list-style: disc; }

.text-charcoal { color: var(--charcoal); }
.text-cream { color: var(--cream); }
.text-forest { color: var(--forest); }
.text-gold { color: var(--gold); }
.text-blue-500 { color: #3b82f6; }
.text-charcoal\/50 { color: rgba(44, 44, 44, .5); }
.text-charcoal\/60 { color: rgba(44, 44, 44, .6); }
.text-charcoal\/70 { color: rgba(44, 44, 44, .7); }
.text-charcoal\/75 { color: rgba(44, 44, 44, .75); }

.object-cover { object-fit: cover; }
.opacity-70 { opacity: .7; }
.transition-colors { transition: color .2s ease, background-color .2s ease, box-shadow .2s ease; }
.transition-opacity { transition: opacity .2s ease; }
.transition-shadow { transition: box-shadow .2s ease; }
.transition-transform { transition: transform .3s ease; }
.duration-200 { transition-duration: .2s; }
.duration-300 { transition-duration: .3s; }
.backdrop-blur { backdrop-filter: blur(10px); }
.cursor-pointer { cursor: pointer; }
.accent-forest { accent-color: var(--forest); }

.hover\:text-charcoal:hover { color: var(--charcoal); }
.hover\:text-forest:hover { color: var(--forest); }
.hover\:bg-forest\/5:hover { background: rgba(45, 80, 22, .05); }
.hover\:ring-forest\/25:hover { box-shadow: inset 0 0 0 1px rgba(45, 80, 22, .25); }
.hover\:opacity-100:hover { opacity: 1; }
.group:hover .group-hover\:scale-\[1\.05\] { transform: scale(1.05); }

@media (min-width: 640px) {
  .container-page { padding-inline: 1.5rem; }
  .sm\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
  .sm\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:flex-row { flex-direction: row; }
  .sm\:items-center { align-items: center; }
  .sm\:justify-between { justify-content: space-between; }
  .sm\:h-\[480px\] { height: 480px; }
}

@media (min-width: 768px) {
  .md\:flex { display: flex; }
}

@media (min-width: 1024px) {
  .container-page { padding-inline: 2rem; }
  .lg\:hidden { display: none; }
  .lg\:block { display: block; }
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .lg\:grid-cols-\[320px_1fr\] { grid-template-columns: 320px 1fr; }
  .lg\:col-span-2 { grid-column: span 2 / span 2; }
  .lg\:col-span-4 { grid-column: span 4 / span 4; }
}

@media (min-width: 1280px) {
  .xl\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
