body {
  --vel-pine: #203d33;
  --vel-pine-dark: #152c24;
  --vel-terracotta: #93432f;
  --vel-terracotta-dark: #773524;
  --vel-ivory: #f8f3eb;
  --vel-surface: #fffdf8;
  --vel-line: #ddd3c3;
  --vel-muted: #605d51;
}

.vg-editorial {
  background: var(--vel-ivory);
  color: var(--vel-pine-dark);
}

.vg-editorial .vg-hero {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  min-height: 0;
  max-width: 1440px;
  margin: auto;
  padding: 28px 36px 0;
  background: transparent;
  color: inherit;
}

.vg-editorial .vg-hero::after { display: none; }

.vg-editorial .vg-hero-copy {
  width: 100%;
  min-width: 0;
  min-height: clamp(420px, 43vw, 590px);
  margin: 0;
  padding: clamp(38px, 5vw, 88px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  border-radius: 24px 0 0 24px;
  background: var(--vel-pine);
}

.vg-editorial .vg-hero h1 {
  max-width: 13ch;
  font-size: clamp(3rem, 4.65vw, 5rem);
  line-height: 1.03;
}

.vg-editorial .vg-hero p {
  color: #f4ebda;
  max-width: 35ch;
  margin: 20px 0 27px;
}

.vg-editorial .vg-hero picture {
  position: relative;
  z-index: 0;
  display: block;
  overflow: hidden;
  align-self: stretch;
  border-radius: 0 24px 24px 0;
  background: #d2b99a;
}

.vg-editorial .vg-hero picture img {
  z-index: 0;
  object-position: 78% center;
}

.vg-editorial .vg-button {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-height: 51px;
  padding: 12px 21px;
  border: 1px solid transparent;
  border-radius: 100px;
  background: var(--vel-terracotta);
  color: white;
  font: 650 .94rem/1.25 system-ui, sans-serif;
  text-decoration: none;
}

.vg-editorial .vg-button:hover { background: var(--vel-terracotta-dark); filter: none; }

.vg-editorial .vg-home-products {
  max-width: 1440px;
  padding: clamp(54px, 7vw, 96px) 36px clamp(54px, 7vw, 100px);
  margin: auto;
}

.vg-editorial .vg-home-products-heading {
  column-gap: 24px;
  row-gap: 12px;
  padding: 0 0 22px;
  border-bottom: 1px solid var(--vel-line);
  margin-bottom: 26px;
}

.vg-editorial .vg-home-products h2 {
  color: var(--vel-pine-dark);
  font-size: clamp(2.25rem, 4.2vw, 3.8rem);
  scroll-margin-top: 104px;
}

.vg-editorial .vg-home-products-heading > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid var(--vel-line);
  border-radius: 100px;
  background: var(--vel-surface);
  font-size: .88rem;
  text-decoration: none;
}

.vg-editorial .vg-product-grid { gap: clamp(14px, 2vw, 26px); }
.vg-editorial .vg-product-grid > li { min-width: 0; }

.vg-editorial .vg-home-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  border: 1px solid var(--vel-line);
  border-radius: 18px;
  background: var(--vel-surface);
  color: var(--vel-pine-dark);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.vg-editorial .vg-home-card:hover {
  border-color: #b49f88;
  box-shadow: 0 12px 28px #39281815;
}

.vg-editorial .vg-home-card figure {
  margin: 0;
  aspect-ratio: 1;
  overflow: hidden;
  background: #e9dfce;
}

.vg-editorial .vg-home-card img { transition: transform .3s ease; }
.vg-editorial .vg-home-card:hover img { transform: scale(1.035); }
.vg-editorial .vg-home-card:hover h3 { text-decoration: none; }

.vg-editorial .vg-home-card > div {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 13px;
  padding: 15px 16px 16px;
}

.vg-editorial .vg-home-card h3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: 2.7em;
  margin: 0;
  font: 650 clamp(.88rem, 1.25vw, 1rem)/1.35 system-ui, sans-serif;
}

.vg-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.vg-editorial .vg-card-price {
  color: var(--vel-terracotta-dark);
  font: 740 clamp(.86rem, 1.45vw, 1.15rem)/1.2 system-ui, sans-serif;
  font-variant-numeric: tabular-nums;
}

.vg-card-arrow {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--vel-pine);
  background: #edf0e9;
  font-size: 1.05rem;
}

.vg-editorial .vg-home-card:hover .vg-card-arrow {
  background: var(--vel-pine);
  color: white;
}

.vg-editorial a:focus-visible { outline: 2px solid var(--vel-terracotta); outline-offset: 3px; }

body[data-page-type="product"] theme-product-detail .product-price__item {
  font-variant-numeric: tabular-nums;
}

body[data-page-type="product"] theme-product-detail .product-price__sale {
  color: var(--vel-terracotta-dark) !important;
}

body[data-page-type="product"] theme-product-detail .product-price__origin {
  color: var(--vel-muted) !important;
}

body[data-page-type="product"] theme-product-detail .product-price__save--button-style {
  background: #f3e3d6 !important;
  color: var(--vel-terracotta-dark) !important;
  border: 1px solid #e3c8b4;
  border-radius: 100px;
}

body[data-page-type="product"] theme-product-detail :is([data-rf-direct-checkout],.block-product-buy-button),
.rf-buy-sheet__actions :is([data-rf-buy-cart],[data-rf-buy-checkout]) {
  border-radius: 100px;
  font-weight: 700;
}

body[data-page-type="product"] theme-product-detail :is(.block-product-buy-button,button[name="add"]):not([data-rf-direct-checkout]),
.rf-buy-sheet__actions [data-rf-buy-cart] {
  background: var(--vel-surface) !important;
  border: 1px solid var(--vel-pine) !important;
  color: var(--vel-pine) !important;
}

body[data-page-type="product"] theme-product-detail [data-rf-direct-checkout],
.rf-buy-sheet__actions [data-rf-buy-checkout] {
  background: var(--vel-pine) !important;
  border: 1px solid var(--vel-pine) !important;
  color: white !important;
}

body[data-page-type="product"] theme-product-detail [data-rf-direct-checkout]:hover:not(:disabled),
.rf-buy-sheet__actions [data-rf-buy-checkout]:hover:not(:disabled) {
  background: var(--vel-pine-dark) !important;
}

body[data-page-type="product"] theme-product-detail :is([data-rf-direct-checkout],.block-product-buy-button):disabled,
.rf-buy-sheet__actions button:disabled { opacity: .55; cursor: not-allowed; }

@media (max-width: 780px) {
  .vg-editorial .vg-hero { grid-template-columns: 1fr; padding: 12px 16px 0; }
  .vg-editorial .vg-hero picture { grid-row: 1; height: clamp(245px, 62vw, 440px); border-radius: 18px 18px 0 0; }
  .vg-editorial .vg-hero picture img { object-position: 66% center; }
  .vg-editorial .vg-hero-copy { min-height: 0; padding: 25px 23px 30px; border-radius: 0 0 18px 18px; }
  .vg-editorial .vg-hero h1 { font-size: clamp(2.5rem, 7.6vw, 3.8rem); max-width: 16ch; }
  .vg-editorial .vg-hero p { margin: 12px 0 19px; }
  .vg-editorial .vg-home-products { padding: 44px 16px 60px; }
  .vg-editorial .vg-home-products-heading { align-items: center; padding-bottom: 14px; margin-bottom: 15px; }
  .vg-editorial .vg-home-products-heading > a { padding-inline: 11px; }
  .vg-editorial .vg-product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .vg-editorial .vg-home-card { border-radius: 14px; }
  .vg-editorial .vg-home-card > div { padding: 10px 11px 11px; gap: 7px; }
  .vg-card-arrow { width: 28px; height: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .vg-editorial .vg-home-card, .vg-editorial .vg-home-card img { transition: none; }
}
