/* Homepage v2. Scoped classes leave product, basket and checkout layouts intact. */
body.retail-storefront.cms-index-index .page-main { max-width: 1320px; }
body.retail-storefront.cms-index-index .column.main { padding-bottom: 0; }
.velugi-home { padding: 24px 0 64px; }
.velugi-home *, .velugi-home *::before, .velugi-home *::after { box-sizing: border-box; }
.velugi-home .velugi-eyebrow {
    margin: 0 0 16px; font-size: 11px; font-weight: 700; line-height: 1.6;
    letter-spacing: 1.8px; text-transform: uppercase; color: var(--velugi-forest-sage);
}
.velugi-hero {
    display: grid; grid-template-columns: .9fr 1.1fr; overflow: hidden;
    border-radius: 18px; background: #e9ede5;
}
.velugi-hero__copy { align-self: center; padding: 52px 40px; }
.velugi-home .velugi-hero h1 {
    margin: 0 0 24px; font-size: clamp(36px, 4vw, 54px); line-height: 1.08;
    letter-spacing: -1.8px; font-weight: 500; text-wrap: balance;
}
.velugi-home .velugi-hero__intro { max-width: 400px; margin: 0; font-size: 16px; line-height: 1.75; }
.velugi-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 30px; }
.velugi-home .velugi-button {
    display: inline-flex; align-items: center; justify-content: center; gap: 20px;
    min-height: 48px; padding: 13px 22px; border: 1px solid var(--velugi-forest-sage);
    border-radius: 5px; background: var(--velugi-mustard); color: var(--velugi-charcoal);
    font-size: 15px; font-weight: 700; text-decoration: none;
}
.velugi-home .velugi-button:hover { background: var(--velugi-charcoal); color: var(--velugi-warm-cream); }
.velugi-home .velugi-text-link {
    display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
    color: var(--velugi-forest-sage); font-size: 14px; font-weight: 600;
    text-decoration: underline; text-underline-offset: 5px;
}
.velugi-home .velugi-text-link:hover { color: var(--velugi-charcoal); }
.velugi-hero__visual { position: relative; margin: 0; min-height: 540px; }
.velugi-hero__visual > img { display: block; position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: 60% center; }
.velugi-collections, .velugi-featured { margin-top: 72px; scroll-margin-top: 24px; }
.velugi-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 28px; }
.velugi-home .velugi-section-heading h2 { margin: 0; font-size: 34px; font-weight: 500; line-height: 1.2; letter-spacing: -.8px; }
.velugi-home .velugi-section-heading .velugi-eyebrow { margin-bottom: 10px; }
.velugi-section-heading > p { max-width: 340px; margin: 0; font-size: 15px; line-height: 1.7; }
.velugi-collection-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.velugi-home .velugi-collection {
    display: flex; flex-direction: column; min-width: 0; padding: 0;
    overflow: hidden; border: 1px solid #d5dbd0; border-radius: 12px;
    color: var(--velugi-charcoal); text-decoration: none; background: var(--velugi-warm-cream);
    transition: border-color .2s ease, box-shadow .2s ease;
}
.velugi-collection__image { position: relative; flex: none; width: 100%; aspect-ratio: 3 / 2; overflow: hidden; background: #e9ede5; }
.velugi-collection__image img {
    position: absolute; inset: 0; display: block; width: 100%; height: 100%;
    max-width: 100%; object-fit: cover; transition: transform .3s ease;
}
.velugi-collection__copy { position: relative; display: flex; flex-direction: column; flex: 1; padding: 24px; }
.velugi-home .velugi-collection h3 { display: flex; justify-content: space-between; margin: 0 0 10px; font-size: 26px; line-height: 1.2; font-weight: 500; }
.velugi-collection__copy p { margin: 0 0 18px; font-size: 14px; line-height: 1.6; }
.velugi-collection__link { margin-top: auto; color: var(--velugi-forest-sage); font-size: 13px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.velugi-home .velugi-collection:hover { border-color: var(--velugi-forest-sage); box-shadow: 0 6px 18px rgb(48 53 47 / 8%); }
.velugi-home .velugi-collection:hover .velugi-collection__link { color: var(--velugi-charcoal); }
.velugi-home a:focus-visible { outline: 3px solid var(--velugi-forest-sage); outline-offset: 4px; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .velugi-collection:hover .velugi-collection__image img { transform: scale(1.025); }
}
@media (prefers-reduced-motion: reduce) {
    .velugi-home .velugi-collection, .velugi-collection__image img { transition: none; }
}
.velugi-product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding: 0; margin: 0; list-style: none; }
.velugi-product { display: flex; flex-direction: column; min-width: 0; margin: 0; overflow: hidden; border-radius: 10px; border: 1px solid #d5dbd0; background: #fff; }
.velugi-product__image { display: block; padding: 16px; background: #fff; aspect-ratio: 1; overflow: hidden; }
.velugi-product__image .product-image-container { display: block; width: 100% !important; height: 100%; }
.velugi-product__image .product-image-wrapper { display: block; position: relative; height: 100%; padding: 0 !important; }
.velugi-product__image .product-image-photo { position: static; display: block; width: 100%; height: 100%; max-height: 100%; object-fit: contain; }
.velugi-product__info { display: flex; flex-direction: column; flex: 1; padding: 20px; border-top: 1px solid #eff1ec; }
.velugi-home .velugi-product h3 { margin: 0 0 16px; font-size: 15px; font-weight: 500; line-height: 1.5; }
.velugi-home .velugi-product h3 a { color: var(--velugi-charcoal); text-decoration: none; }
.velugi-home .velugi-product h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.velugi-product .price-box { margin: auto 0 8px; }
.velugi-product .price { font-size: 18px; font-weight: 700; }
.velugi-product .old-price .price { font-size: 14px; font-weight: 400; }
.velugi-product__stock { margin: 0 0 16px; font-size: 12px; }
.velugi-home .velugi-product__link { display: flex; justify-content: space-between; align-items: center; min-height: 44px; border-top: 1px solid #d5dbd0; padding-top: 12px; color: var(--velugi-forest-sage); font-size: 13px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.velugi-story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); justify-content: center; align-items: center; gap: 48px; padding: 40px 0; margin-top: 72px; border-block: 1px solid #cbd2c5; }
.velugi-story__photo { margin: 0; overflow: hidden; border-radius: 14px; }
.velugi-story__photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.velugi-home .velugi-story h2 { margin: 0 0 18px; font-size: 32px; font-weight: 500; line-height: 1.2; letter-spacing: -.7px; }
.velugi-story__copy > p:not(.velugi-eyebrow) { margin: 0 0 18px; font-size: 16px; line-height: 1.75; }
@media (min-width: 1200px) {
    .velugi-product-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (min-width: 768px) and (max-width: 1023px) {
    .velugi-hero__copy { padding: 36px 28px; }
    .velugi-hero__visual { min-height: 500px; }
    .velugi-collection-grid { gap: 16px; }
    .velugi-collection__copy { padding: 20px; }
    .velugi-story { grid-template-columns: 1fr 1fr; gap: 28px; padding: 32px 0; }
}
@media (max-width: 767px) {
    .velugi-home { padding: 16px 0 40px; }
    .velugi-hero { grid-template-columns: 1fr; border-radius: 12px; }
    .velugi-hero__copy { padding: 32px 24px; }
    .velugi-home .velugi-hero h1 { font-size: 38px; letter-spacing: -1.2px; }
    .velugi-home .velugi-eyebrow { font-size: 10px; letter-spacing: 1.4px; }
    .velugi-hero__visual { min-height: 0; aspect-ratio: 4 / 3; }
    .velugi-hero__actions { gap: 12px; margin-top: 24px; }
    .velugi-collections, .velugi-featured { margin-top: 44px; }
    .velugi-section-heading { display: block; margin-bottom: 22px; }
    .velugi-home .velugi-section-heading h2 { font-size: 28px; }
    .velugi-section-heading > p { margin-top: 14px; max-width: none; font-size: 14px; }
    .velugi-collection-grid { grid-template-columns: 1fr; gap: 16px; }
    .velugi-collection__copy { padding: 22px 18px; }
    .velugi-home .velugi-collection h3 { font-size: 24px; }
    .velugi-collection__copy p { min-height: 0; margin-bottom: 14px; font-size: 13px; }
    .velugi-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .velugi-product__image { padding: 10px; }
    .velugi-product__info { padding: 14px 12px; }
    .velugi-home .velugi-product h3 { font-size: 14px; }
    .velugi-story { grid-template-columns: 1fr; gap: 24px; padding: 28px 0; margin-top: 44px; }
    .velugi-home .velugi-story h2 { font-size: 28px; }
    .velugi-story__copy > p:not(.velugi-eyebrow) { font-size: 15px; }
}
@media (max-width: 359px) {
    .velugi-home .velugi-hero h1 { font-size: 33px; }
    .velugi-product-grid { grid-template-columns: 1fr; }
    .velugi-hero__copy { padding: 28px 20px; }
}

/* Gentle interaction feedback. Content never depends on an animation or script to appear. */
.velugi-home .velugi-product:focus-within { border-color: var(--velugi-forest-sage); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .velugi-home .velugi-product { transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease; }
    .velugi-home .velugi-product:hover { transform: translateY(-3px); border-color: var(--velugi-forest-sage); box-shadow: 0 8px 20px rgb(48 53 47 / 8%); }
    .velugi-home .velugi-button { transition: background-color 180ms ease, color 180ms ease; }
    .velugi-home .velugi-product__link > span { transition: transform 180ms ease; }
    .velugi-home .velugi-product__link:hover > span { transform: translateX(3px); }
}

/* Approved October home refresh. Every selector is contained within the homepage. */
body.retail-storefront.cms-index-index .velugi-home { padding-bottom:36px; color:var(--velugi-charcoal); }
.velugi-home p { color:var(--velugi-charcoal); }
.velugi-home .velugi-eyebrow { color:var(--velugi-forest-sage); }
.velugi-home .velugi-hero__copy { padding:38px 30px; }
.velugi-home .velugi-hero__visual { min-height:390px; }
.velugi-home .velugi-hero h1 { font-size:clamp(34px,3.5vw,48px); margin-bottom:20px; }
.velugi-home .velugi-hero__intro { font-size:15px; line-height:1.7; }
.velugi-home .velugi-collections,.velugi-home .velugi-featured { margin-top:38px; }
.velugi-home .velugi-section-heading { display:flex; align-items:center; gap:16px; margin-bottom:20px; }
.velugi-home .velugi-section-heading h2 { font-size:30px; }
.velugi-home .velugi-collection-grid { grid-template-columns:repeat(6,minmax(0,1fr)); gap:18px; }
.velugi-home .velugi-collection { grid-column:span 2; }
.velugi-home .velugi-collection:nth-child(n+4) { grid-column:span 3; }
.velugi-home .velugi-collection__image { height:180px; aspect-ratio:auto; }
.velugi-home .velugi-collection__image img { object-position:center 58%; }
.velugi-home .velugi-collection__copy { padding:14px 18px; }
.velugi-home .velugi-collection h3 { font-size:21px; margin-bottom:5px; }
.velugi-home .velugi-collection h3 > span { display:none; }
.velugi-home .velugi-collection__copy p { margin-bottom:10px; font-size:13px; }
.velugi-home .velugi-collection__link { display:flex; justify-content:space-between; padding-top:8px; border-top:1px solid #d5dbd0; }
.velugi-home .velugi-product-grid { grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; }
.velugi-home .velugi-product__image { height:190px; aspect-ratio:auto; padding:12px; }
.velugi-home .velugi-product__info { padding:12px 14px; }
.velugi-home .velugi-product h3 { font-size:14px; line-height:1.4; margin-bottom:10px; }
.velugi-home .velugi-product .price-box { margin:auto 0 5px; }
.velugi-home .velugi-product .price { color:var(--velugi-charcoal); }
.velugi-home .velugi-product__stock { margin:0 0 7px; font-size:12px; }
.velugi-home .velugi-product__link { min-height:40px; padding-top:7px; }
.velugi-home [hidden] { display:none!important; }
.velugi-home .velugi-carousel-controls,.velugi-home .velugi-carousel-status { display:none; }
.velugi-home .velugi-gift-feature { display:grid; grid-template-columns:1fr 270px; align-items:center; gap:28px; margin:38px 0; padding:28px 36px; border-radius:14px; background:#e4e9df; }
.velugi-home .velugi-gift-feature h2 { margin:0 0 12px; font-size:32px; line-height:1.2; font-weight:500; }
.velugi-home .velugi-gift-feature p:not(.velugi-eyebrow) { margin:0 0 18px; }
.velugi-home .velugi-gift-feature img { display:block; width:270px; height:200px; object-fit:cover; border-radius:12px; }
.velugi-home .velugi-story { margin-top:0; gap:34px; padding:28px 0 0; border-bottom:0; }
.velugi-home .velugi-story__photo img { max-height:280px; }
.velugi-home .velugi-story h2 { font-size:30px; }
@media (min-width:768px) and (max-width:1023px) {
 .velugi-home .velugi-collection__image { height:145px; }
 .velugi-home .velugi-collection__copy { padding:12px 14px; }
 .velugi-home .velugi-collection h3 { font-size:18px; }
 .velugi-home .velugi-product__image { height:145px; padding:10px; }
 .velugi-home .velugi-product__info { padding:10px 12px; }
}
@media (max-width:767px) {
 .velugi-home .velugi-hero__copy { padding:24px 22px; }
 .velugi-home .velugi-hero h1 { font-size:34px; }
 .velugi-home .velugi-hero__intro { font-size:14px; }
 .velugi-home .velugi-hero__visual { min-height:0; height:128px; aspect-ratio:auto; }
 .velugi-home .velugi-hero__visual > img { object-position:50% 55%; }
 .velugi-home .velugi-hero__actions { margin-top:18px; }
 .velugi-home .velugi-collections,.velugi-home .velugi-featured { margin-top:28px; }
 .velugi-home .velugi-section-heading { gap:8px; margin-bottom:14px; }
 .velugi-home .velugi-section-heading h2 { font-size:24px; }
 .velugi-home .velugi-section-heading .velugi-eyebrow { display:none; }
 .velugi-home .velugi-carousel-controls:not([hidden]) { display:flex; gap:6px; flex-shrink:0; }
 .velugi-home .velugi-carousel-controls button { width:44px; height:44px; min-width:44px; padding:0; border:1px solid var(--velugi-forest-sage); border-radius:50%; background:var(--velugi-warm-cream); color:var(--velugi-forest-sage); font-size:20px; line-height:1; box-shadow:none; }
 .velugi-home .velugi-carousel-controls button:disabled { opacity:.4; cursor:default; }
 .velugi-home .velugi-carousel-controls button:focus-visible { outline:3px solid var(--velugi-forest-sage); outline-offset:2px; }
 .velugi-home .velugi-collection-grid,.velugi-home .velugi-product-grid { display:flex; gap:12px; overflow-x:auto; scroll-snap-type:x mandatory; overscroll-behavior-x:contain; scrollbar-width:thin; padding:4px 4px 10px; margin:0 -4px; }
 .velugi-home .velugi-collection { flex:0 0 79%; scroll-snap-align:start; }
 .velugi-home .velugi-collection__image { height:130px; }
 .velugi-home .velugi-collection__copy { padding:12px 14px; }
 .velugi-home .velugi-collection h3 { font-size:19px; }
 .velugi-home .velugi-collection__copy p { font-size:12px; margin-bottom:8px; }
 .velugi-home .velugi-product { flex:0 0 64%; scroll-snap-align:start; }
 .velugi-home .velugi-product__image { height:140px; padding:10px; }
 .velugi-home .velugi-product__info { padding:10px 12px; }
 .velugi-home .velugi-product h3 { font-size:13px; }
 .velugi-home .velugi-carousel-status:not([hidden]) { display:flex; justify-content:space-between; gap:10px; padding-top:5px; font-size:11px; color:var(--velugi-forest-sage); }
 .velugi-home .velugi-gift-feature { grid-template-columns:minmax(0,1fr) 95px; gap:12px; padding:20px 16px; margin:28px 0; }
 .velugi-home .velugi-gift-feature .velugi-eyebrow { display:none; }
 .velugi-home .velugi-gift-feature h2 { font-size:24px; }
 .velugi-home .velugi-gift-feature p { font-size:13px; }
 .velugi-home .velugi-gift-feature img { width:95px; height:125px; }
 .velugi-home .velugi-gift-feature .velugi-button { font-size:13px; gap:10px; padding:10px 12px; }
 .velugi-home .velugi-story { display:block; padding-top:24px; }
 .velugi-home .velugi-story__photo { display:none; }
 .velugi-home .velugi-story h2 { font-size:26px; }
 .velugi-home .velugi-story__copy > p:not(.velugi-eyebrow) { font-size:14px; }
}
