/*
Theme Name: Veylune Astra Child
Theme URI: https://veylune.london
Description: Child theme for Astra tailored to Veylune London.
Author: Veylune London
Version: 1.2.0
Template: astra
Text Domain: veylune-astra-child
*/

:root {
  --veylune-ink: #1f2328;
  --veylune-ink-soft: #323840;
  --veylune-bg: #fafaf8;
  --veylune-white: #ffffff;
  --veylune-stone: #e7e3dd;
  --veylune-gold: #c2a878;
  --veylune-muted: #70757d;
  --veylune-radius-sm: 6px;
  --veylune-radius-md: 12px;
  --veylune-shadow: 0 20px 40px rgba(31, 35, 40, 0.08);
  --veylune-font-head: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --veylune-font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html,
body {
  background: linear-gradient(180deg, #fdfcf9 0%, var(--veylune-bg) 45%, #f6f3ed 100%);
}

body,
button,
input,
select,
textarea {
  font-family: var(--veylune-font-body);
  color: var(--veylune-ink);
  letter-spacing: 0.01em;
  line-height: 1.65;
}

h1,
h2,
h3,
h4,
h5,
h6,
.site-title,
.woocommerce-loop-product__title,
.product_title {
  font-family: var(--veylune-font-head);
  color: var(--veylune-ink);
  letter-spacing: 0.015em;
  line-height: 1.18;
}

a {
  color: var(--veylune-ink-soft);
}

a:hover,
a:focus {
  color: var(--veylune-gold);
}

.ast-container,
.site-content .ast-container {
  max-width: 1280px;
  padding-left: clamp(1rem, 3vw, 2.75rem);
  padding-right: clamp(1rem, 3vw, 2.75rem);
}

.ast-primary-header-bar,
.site-header-primary-section-right,
.main-header-menu,
.site-footer-primary-section-1 {
  background: transparent;
}

.site-title a {
  font-family: var(--veylune-font-head);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: clamp(1.15rem, 1.4vw, 1.45rem);
}

.main-header-menu > .menu-item > a {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}

.entry-header {
  margin-bottom: 1rem;
}

.entry-title {
  font-size: clamp(2rem, 3.4vw, 3.5rem);
}

.veylune-home-hero {
  position: relative;
  border: 1px solid rgba(194, 168, 120, 0.34);
  border-radius: var(--veylune-radius-md);
  background: radial-gradient(circle at 80% 10%, rgba(194, 168, 120, 0.2), transparent 38%), linear-gradient(120deg, #ffffff 0%, #f6f1e8 100%);
  box-shadow: var(--veylune-shadow);
  overflow: hidden;
  padding: clamp(2.2rem, 5vw, 4rem);
  margin-bottom: 1.75rem;
}

.veylune-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--veylune-muted);
}

.veylune-home-hero h1 {
  margin-bottom: 0.8rem;
  max-width: 16ch;
}

.veylune-home-lede {
  max-width: 62ch;
  color: var(--veylune-ink-soft);
  margin-bottom: 1.4rem;
}

.veylune-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.veylune-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 1.25rem;
  border-radius: var(--veylune-radius-sm);
  border: 1px solid transparent;
  text-transform: uppercase;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-decoration: none;
  transition: all 0.25s ease;
}

.veylune-btn-primary {
  background: var(--veylune-ink);
  color: #fff;
  border-color: var(--veylune-ink);
}

.veylune-btn-primary:hover {
  background: #0f1217;
  color: #fff;
}

.veylune-btn-ghost {
  border-color: rgba(31, 35, 40, 0.35);
  color: var(--veylune-ink);
  background: rgba(255, 255, 255, 0.72);
}

.veylune-btn-ghost:hover {
  border-color: var(--veylune-gold);
  color: var(--veylune-ink);
  background: #fff;
}

.veylune-trust-bar {
  border: 1px solid rgba(194, 168, 120, 0.32);
  border-radius: var(--veylune-radius-md);
  background: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.85rem;
}

.veylune-trust-bar .wp-block-group__inner-container {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  padding: 1rem 1.15rem;
}

.veylune-trust-item {
  border-left: 1px solid rgba(31, 35, 40, 0.1);
  padding-left: 0.9rem;
}

.veylune-trust-item:first-child {
  border-left: 0;
  padding-left: 0;
}

.veylune-trust-item strong {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

.veylune-trust-item span {
  color: var(--veylune-muted);
  font-size: 0.83rem;
}

.veylune-section {
  margin-block: clamp(2.2rem, 5vw, 4.25rem);
}

.veylune-section h2 {
  margin-bottom: 0.4rem;
}

.veylune-section-intro {
  margin-bottom: 1.25rem;
  color: var(--veylune-ink-soft);
  max-width: 64ch;
}

.veylune-collection-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.veylune-collection-card {
  position: relative;
  display: block;
  border: 1px solid rgba(31, 35, 40, 0.12);
  border-radius: var(--veylune-radius-md);
  background: linear-gradient(135deg, #fff 0%, #f4efe7 100%);
  padding: 1.25rem;
  min-height: 210px;
  text-decoration: none;
  box-shadow: var(--veylune-shadow);
  transition: transform 0.28s ease, border-color 0.28s ease;
}

.veylune-collection-card:hover {
  transform: translateY(-4px);
  border-color: rgba(194, 168, 120, 0.7);
}

.veylune-collection-card .veylune-label {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.68rem;
  color: var(--veylune-muted);
  margin-bottom: 0.35rem;
}

.veylune-collection-card h3 {
  margin-bottom: 0.4rem;
  font-size: clamp(1.45rem, 2vw, 1.8rem);
}

.veylune-collection-card p {
  color: var(--veylune-ink-soft);
  margin-bottom: 0.6rem;
}

.veylune-collection-card .veylune-link {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.71rem;
  font-weight: 700;
}

.veylune-editorial {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1rem;
}

.veylune-editorial-card {
  border: 1px solid rgba(31, 35, 40, 0.14);
  border-radius: var(--veylune-radius-md);
  background: #fff;
  padding: clamp(1.1rem, 2vw, 1.75rem);
}

.veylune-editorial-card ul {
  margin: 0.4rem 0 0;
}

.veylune-editorial-card li {
  margin-bottom: 0.35rem;
}

.veylune-note {
  color: var(--veylune-muted);
  font-size: 0.87rem;
}

.veylune-fade-1,
.veylune-fade-2,
.veylune-fade-3,
.veylune-fade-4 {
  opacity: 0;
  animation: veyluneFadeUp 0.8s ease forwards;
}

.veylune-fade-2 {
  animation-delay: 0.07s;
}

.veylune-fade-3 {
  animation-delay: 0.14s;
}

.veylune-fade-4 {
  animation-delay: 0.22s;
}

@keyframes veyluneFadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.woocommerce .products ul,
.woocommerce ul.products {
  row-gap: 1.45rem;
  column-gap: 1.15rem;
}

.woocommerce ul.products li.product {
  border: 1px solid rgba(31, 35, 40, 0.1);
  background: #fff;
  border-radius: var(--veylune-radius-md);
  padding: 0.75rem 0.75rem 1rem;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.woocommerce ul.products li.product:hover {
  transform: translateY(-4px);
  box-shadow: var(--veylune-shadow);
}

.woocommerce ul.products li.product img,
.woocommerce div.product div.images img {
  border-radius: var(--veylune-radius-sm);
  background: #fff;
}

.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: var(--veylune-ink);
  font-weight: 600;
}

.woocommerce span.onsale {
  background: var(--veylune-gold);
  color: #111;
  border-radius: 4px;
  min-height: auto;
  min-width: auto;
  padding: 0.3rem 0.5rem;
  line-height: 1.2;
  text-transform: uppercase;
  font-size: 0.64rem;
  letter-spacing: 0.1em;
}

.button,
button,
input[type="button"],
input[type="submit"],
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.add_to_cart_button {
  background: var(--veylune-ink);
  color: #fff;
  border: 1px solid var(--veylune-ink);
  border-radius: var(--veylune-radius-sm);
  padding: 0.74rem 1.08rem;
  transition: all 0.22s ease;
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.11em;
  font-weight: 700;
}

.button:hover,
button:hover,
input[type="button"]:hover,
input[type="submit"]:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.add_to_cart_button:hover {
  background: var(--veylune-gold);
  border-color: var(--veylune-gold);
  color: #151515;
}

.site-footer {
  border-top: 1px solid rgba(31, 35, 40, 0.12);
  background: rgba(255, 255, 255, 0.92);
}

.ast-above-footer-bar {
  border-top: 1px solid rgba(31, 35, 40, 0.08);
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  border-top-color: var(--veylune-gold);
  background: #fff;
}

@media (max-width: 1024px) {
  .veylune-trust-bar .wp-block-group__inner-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .veylune-trust-item:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }

  .veylune-collection-grid,
  .veylune-editorial {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .ast-container,
  .site-content .ast-container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .veylune-home-hero {
    padding: 1.4rem;
  }

  .veylune-trust-bar .wp-block-group__inner-container {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .veylune-trust-item,
  .veylune-trust-item:first-child {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid rgba(31, 35, 40, 0.08);
    padding-top: 0.65rem;
  }

  .veylune-trust-item:first-child {
    border-top: 0;
    padding-top: 0;
  }

  .woocommerce ul.products li.product {
    padding: 0.7rem;
  }
}
