/*
Theme Name: Veylune Astra Child
Theme URI: https://veylune.london
Description: Child theme for Astra tailored to Veylune London.
Author: Veylune London
Version: 1.6.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);
}

.n2-section-smartslider[data-alias^="veylune-"] {
  margin-bottom: 0;
}

.n2-section-smartslider[data-alias^="veylune-"] .n2-ss-layer,
.n2-section-smartslider[data-alias^="veylune-"] .n2-ss-layer *,
.n2-section-smartslider[data-alias^="veylune-"] .n2-ss-slide .n2-ow,
.n2-section-smartslider[data-alias^="veylune-"] .n2-ss-slide .n2-ow * {
  font-family: var(--veylune-font-head) !important;
  letter-spacing: 0.04em;
}

.n2-section-smartslider[data-alias^="veylune-"] .n2-ss-button-container a,
.n2-section-smartslider[data-alias^="veylune-"] .n2-ss-layer .n2-ow a {
  font-family: var(--veylune-font-head) !important;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.74rem;
}

.n2-section-smartslider[data-alias^="veylune-"] .nextend-arrow {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px;
  min-height: 44px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(18, 21, 28, 0.5);
  color: #fff;
}

.n2-section-smartslider[data-alias^="veylune-"] .nextend-arrow img {
  display: none !important;
}

.n2-section-smartslider[data-alias^="veylune-"] .nextend-arrow::before {
  font-family: var(--veylune-font-head);
  font-size: 1.55rem;
  line-height: 1;
  color: #fff;
}

.n2-section-smartslider[data-alias^="veylune-"] .nextend-arrow-previous::before {
  content: "\2039";
}

.n2-section-smartslider[data-alias^="veylune-"] .nextend-arrow-next::before {
  content: "\203A";
}

.n2-section-smartslider[data-alias^="veylune-"] .nextend-arrow:hover,
.n2-section-smartslider[data-alias^="veylune-"] .nextend-arrow:focus {
  background: #fff;
  border-color: #fff;
}

.n2-section-smartslider[data-alias^="veylune-"] .nextend-arrow:hover::before,
.n2-section-smartslider[data-alias^="veylune-"] .nextend-arrow:focus::before {
  color: #12151c;
}

.veylune-page-body {
  max-width: 84ch;
}

.veylune-page-body h2,
.veylune-page-body h3 {
  margin-top: 1.3rem;
  margin-bottom: 0.5rem;
}

.veylune-page-body ul,
.veylune-page-body ol {
  margin-left: 1.1rem;
}

.veylune-disclaimer {
  border: 1px solid rgba(31, 35, 40, 0.16);
  border-radius: var(--veylune-radius-sm);
  background: rgba(255, 255, 255, 0.92);
  padding: 0.85rem 0.95rem;
  font-size: 0.86rem;
  color: var(--veylune-muted);
}

.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-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 .woocommerce-products-header {
  border: 1px solid rgba(31, 35, 40, 0.12);
  border-radius: var(--veylune-radius-md);
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.9) 0%, rgba(246, 241, 232, 0.92) 100%);
  padding: clamp(1rem, 2.2vw, 1.6rem);
  margin-bottom: 1rem;
}

.woocommerce .woocommerce-products-header__title.page-title {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.45rem);
}

.veylune-shop-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid rgba(31, 35, 40, 0.12);
  border-radius: var(--veylune-radius-md);
  background: rgba(255, 255, 255, 0.86);
  padding: 0.75rem;
  margin-bottom: 0.95rem;
}

.veylune-shop-filter-label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--veylune-muted);
}

.veylune-shop-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.veylune-shop-chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(31, 35, 40, 0.2);
  color: var(--veylune-ink);
  font-size: 0.67rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  font-weight: 700;
  text-decoration: none;
  padding: 0 0.82rem;
  background: #fff;
  transition: all 0.22s ease;
}

.veylune-shop-chip:hover,
.veylune-shop-chip:focus {
  border-color: var(--veylune-gold);
  color: var(--veylune-ink);
}

.veylune-shop-chip.is-active {
  background: var(--veylune-ink);
  border-color: var(--veylune-ink);
  color: #fff;
}

.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering {
  float: none;
  border: 1px solid rgba(31, 35, 40, 0.1);
  border-radius: var(--veylune-radius-sm);
  background: rgba(255, 255, 255, 0.86);
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  margin: 0 0 1rem;
  padding: 0 0.75rem;
}

.woocommerce .woocommerce-result-count {
  font-size: 0.79rem;
  letter-spacing: 0.04em;
  color: var(--veylune-muted);
}

.woocommerce .woocommerce-ordering select {
  border: 0;
  background: transparent;
  color: var(--veylune-ink);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 600;
  min-width: 238px;
}

.woocommerce .woocommerce-ordering select:focus {
  outline: none;
}

.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;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.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 a.woocommerce-LoopProduct-link {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1 1 auto;
}

.woocommerce ul.products li.product a img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: clamp(1.1rem, 1.6vw, 1.34rem);
  margin: 0.05rem 0 0.28rem;
  min-height: 2.8em;
}

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

.woocommerce ul.products li.product .price {
  margin-top: auto;
  margin-bottom: 0.72rem;
}

.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .added_to_cart {
  width: 100%;
  justify-content: center;
}

.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) {
  .woocommerce .woocommerce-ordering,
  .woocommerce .woocommerce-result-count {
    margin-bottom: 0.75rem;
  }

  .woocommerce .woocommerce-ordering select {
    min-width: 200px;
  }
}

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

  .veylune-shop-toolbar {
    padding: 0.55rem;
    gap: 0.45rem;
  }

  .veylune-shop-filter-label {
    width: 100%;
    margin-bottom: 0.1rem;
  }

  .veylune-shop-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    width: 100%;
    padding-bottom: 0.18rem;
    -webkit-overflow-scrolling: touch;
  }

  .veylune-shop-chip {
    white-space: nowrap;
  }

  .woocommerce .woocommerce-ordering,
  .woocommerce .woocommerce-result-count {
    width: 100%;
    justify-content: space-between;
  }

  .woocommerce .woocommerce-ordering select {
    min-width: 0;
    width: 100%;
  }

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