/* Corrections for the non-product pages (home, pages/*, listicles, collections, cart, search, blog,
   policies, 404). Loaded after snap.css and fix.css. Own code; values measured on tryveyola.com. */

/* ---------- 1. reset inside the measured rebuilds of these pages (root class xN_0) ----------
   The snap omits default values (margin/padding 0, no border, transparent bg, inherited font),
   so UA and base.css defaults must not leak in. :where() keeps specificity at 0. */
:where(body > [class^="x"][class$="_0"]) :is(div, p, ul, ol, li, h1, h2, h3, h4, h5, h6, button, input, select, textarea, summary, details, a, span, img, figure, label, form, s, small, strong, b, em, section, nav, header, video, blockquote, fieldset, picture, table, td, th, aside, menu-drawer, facet-filters-form, product-form, cart-items, cart-remove-button, quantity-input, predictive-search, search-form, dialog) {
  margin: 0; padding: 0; border: 0; background-color: transparent;
}
:where(body > [class^="x"][class$="_0"]) :is(h1, h2, h3, h4, h5, h6, a, strong, b, small, button, input, select, textarea, label) {
  font: inherit; color: inherit; letter-spacing: inherit; text-transform: inherit; text-align: inherit; line-height: inherit;
}
:where(body > [class^="x"][class$="_0"]) :is(button, select, input, textarea) {
  appearance: none; -webkit-appearance: none; border-radius: 0; box-shadow: none; outline: none;
}
:where(body > [class^="x"][class$="_0"]) summary { list-style: none; }
:where(body > [class^="x"][class$="_0"]) summary::-webkit-details-marker { display: none; }

/* ---------- 2. sizes the theme set explicitly (the snap keeps no width/height) ---------- */
:where(body > [class^="x"][class$="_0"]) [data-o~="field__input"] { height: 45px; }
:where(body > [class^="x"][class$="_0"]) [data-o~="button--full-width"] { width: 100%; }

/* ---------- 3. cart: "You may also like" (Splide slider on mobile, 4-up grid from 750px) ---------- */
#shopify-section-template--32066995355991__featured-collection [data-o~="collection__view-all"] { display: block; text-align: center; margin: 0; padding: 0; position: static; border-radius: 0; filter: none; }
#shopify-section-template--32066995355991__featured-collection [data-o~="collection__view-all"]::before { content: none; }
#shopify-section-template--32066995355991__featured-collection [data-o~="collection__view-all"] > a {
  display: inline-flex; position: relative; align-items: center; justify-content: center; box-sizing: border-box;
  min-width: 124px; min-height: 49px; margin: 20px 0 0; padding: 0 30px; border-radius: 8px;
  background: rgb(33,33,33); color: #fff; font: 700 16px/19.2px "Plus Jakarta Sans", sans-serif; letter-spacing: 1px; text-align: center; text-decoration: none; cursor: pointer;
}
#shopify-section-template--32066995355991__featured-collection [data-o~="collection__view-all"] > a::before { content: none; }
#shopify-section-template--32066995355991__featured-collection [data-o~="collection__view-all"] > a::after {
  content: ""; position: absolute; inset: 2px; border-radius: 6px; box-shadow: 0 0 0 2px rgb(33,33,33); transition: box-shadow .1s; pointer-events: none;
}
#shopify-section-template--32066995355991__featured-collection [data-o~="collection__view-all"] > a:hover::after { box-shadow: 0 0 0 3px rgb(33,33,33); }
@media (max-width:749px) {
  [data-o~="splide"] [data-o~="splide__track"] { overflow: hidden; }
  [data-o~="splide"] [data-o~="splide__list"] { display: flex; align-items: flex-start; transition: transform .4s cubic-bezier(.25,1,.5,1); will-change: transform; touch-action: pan-y; }
  [data-o~="splide"] [data-o~="splide__slide"] { flex: 0 0 calc((100% - 15px) / 2); width: calc((100% - 15px) / 2); margin-right: 15px; }
  [data-o~="splide"] [data-o~="splide__dots-and-arrows"] { display: block; position: relative; width: 0; height: 0; margin: 7.5px auto 0; max-width: 0; }
  [data-o~="splide"] [data-o~="splide__arrows"] { display: block; position: static; width: 0; height: 0; }
}
@media (min-width:750px) { [data-o~="splide"] [data-o~="splide__dots-and-arrows"] { display: none; } }
.vy-splide-arrow { display: flex; position: absolute; top: 0; width: 12px; height: 12px; margin: 6px 0 0; padding: 0; border: 0; border-radius: 50%; background: transparent; color: rgb(23,21,21); align-items: center; justify-content: center; transform: translateY(-6px); cursor: pointer; }
.vy-splide-arrow[disabled] { opacity: .3; cursor: default; }
.vy-splide-arrow--prev { left: -12px; }
.vy-splide-arrow--next { left: 0; }
.vy-splide-arrow svg { width: 7.1875px; height: 7.1875px; fill: currentColor; }
.vy-splide-arrow--prev svg { transform: scaleX(-1); }

/* ---------- 4. product cards (collection grids, cart slider): fluid media instead of measured px ---------- */
:where(body > [class^="x"][class$="_0"]) [data-o~="card__inner"][data-o~="ratio"]::before { width: 0; height: 0; padding-bottom: 100%; }
:where(body > [class^="x"][class$="_0"]) [data-o~="card__inner"] [data-o~="card__media"],
:where(body > [class^="x"][class$="_0"]) [data-o~="card__inner"] [data-o~="card__media"] > [data-o~="media"] { width: auto; height: auto; }
:where(body > [class^="x"][class$="_0"]) [data-o~="card__inner"] [data-o~="card__media"] img { width: 100%; height: 100%; }

/* ---------- 5. collection facets (desktop dropdowns) ---------- */
[data-o~="facets__disclosure"] > [data-o~="facets__display"] { top: calc(100% + 5px); width: 350px; z-index: 2; }
[data-o~="facets__disclosure"]:not([open]) > [data-o~="facets__display"] { display: none; }
[data-o~="facets__disclosure"][open] > [data-o~="facets__display"] { animation: vyMenuOpen .2s ease; }
[data-o~="facets__disclosure"][open] > summary { color: rgb(23,21,21); }
[data-o~="facets__disclosure"][open] > summary svg { transform: rotate(180deg); }
[data-o~="facets__summary"] { cursor: pointer; }
@keyframes vyMenuOpen { from { opacity: 0; transform: translateY(-1.5rem) } to { opacity: 1; transform: none } }
[data-o~="grid__item"].vy-hide { display: none !important; }
[data-o~="facet-checkbox"] { cursor: pointer; }
[data-o~="facet-checkbox"] input:checked ~ svg:nth-of-type(1) { display: none; }
[data-o~="facet-checkbox"] input:checked ~ svg:nth-of-type(2) { display: block; }

/* ---------- 6. form confirmations (contact page, newsletter blocks) ---------- */
.vy-form-msg { margin: 12px 0 0; font-size: 15px; line-height: 1.5; letter-spacing: .6px; color: rgb(23,21,21); outline: none; }
.vy-form-msg--news { text-align: center; }
.vy-form-msg--contact { margin: 0 0 16px; padding: 14px 16px; border-radius: 10px; background: rgba(180,208,20,.15); color: #3d4a00; font-weight: 700; }
.ha-footer__success { outline: none; }

/* ---------- 7. floating scroll-to-top button (theme section dropped by the build; own rebuild) ---------- */
.vy-totop { position: fixed; right: 15px; bottom: 15px; z-index: 2; display: none; align-items: center; justify-content: center; box-sizing: border-box;
  width: 40px; height: 40px; padding: 5px; border: 0; border-radius: 50%; background: rgb(180,208,20); color: rgba(255,255,255,.9);
  box-shadow: 1px 1px 10px rgba(0,0,0,.3); cursor: pointer; transition: .15s ease-in-out; }
.vy-totop.is-on { display: flex; }
.vy-totop svg { width: 22px; height: 22px; display: block; }
@media (min-width:750px) { .vy-totop { right: 20px; bottom: 20px; } }

/* ---------- 8. collection: mobile "Filter and sort" drawer (open state was never measured) ---------- */
[data-o~="mobile-facets__disclosure"]:not([open]) [data-o~="mobile-facets"],
[data-o~="mobile-facets__disclosure"]:not([open]) [data-o~="mobile-facets__close"] { display: none !important; }
[data-o~="mobile-facets__disclosure"][open] [data-o~="mobile-facets"] { display: block; position: fixed; inset: 0; width: 100%; height: 100%; z-index: 100; background: rgba(23,21,21,.5); margin: 0; padding: 0; }
[data-o~="mobile-facets__disclosure"][open] [data-o~="mobile-facets__inner"] { display: flex; flex-direction: column; width: calc(100% - 50px); max-width: 375px; height: 100%; margin-left: auto; transform: none; background: #fff; overflow-y: auto; position: relative; border-left: 1px solid rgba(23,21,21,.08); animation: vyDrawerIn .25s ease; }
@keyframes vyDrawerIn { from { transform: translateX(100%) } to { transform: none } }
[data-o~="mobile-facets__disclosure"][open] [data-o~="mobile-facets__header"] { display: flex; position: sticky; top: 0; z-index: 2; width: auto; height: auto; padding: 10px 25px; border-bottom: 1px solid rgba(23,21,21,.08); background: #fff; text-align: center; }
[data-o~="mobile-facets__disclosure"][open] [data-o~="mobile-facets__header-inner"] { width: 100%; height: auto; padding: 0; position: relative; }
[data-o~="mobile-facets__disclosure"][open] [data-o~="mobile-facets__heading"] { margin: 0; font-size: 18.2px; line-height: 22.4px; color: rgb(23,21,21); }
[data-o~="mobile-facets__disclosure"][open] [data-o~="mobile-facets__count"] { margin: 0; font-size: 13px; line-height: 23.4px; color: rgba(23,21,21,.7); }
[data-o~="mobile-facets__disclosure"][open] [data-o~="mobile-facets__main"] { display: flex; flex-direction: column; flex: 1 1 auto; position: relative; z-index: 1; height: auto; padding: 10px 0 0; background: #fff; overflow-y: auto; }
[data-o~="mobile-facets__disclosure"][open] [data-o~="mobile-facets__item-wrapper"] { position: static; width: auto; height: auto; }
[data-o~="mobile-facets__disclosure"][open] [data-o~="mobile-facets__summary"] { display: block; position: relative; width: auto; height: auto; padding: 12px 15px; cursor: pointer; }
[data-o~="mobile-facets__disclosure"][open] [data-o~="mobile-facets__summary"] > div { display: flex; justify-content: space-between; align-items: center; width: auto; }
[data-o~="mobile-facets__disclosure"][open] [data-o~="mobile-facets__item-divider"] { display: block; height: 1px; margin: 0 15px; background: rgb(23,21,21); opacity: .05; }
[data-o~="mobile-facets__disclosure"][open] [data-o~="mobile-facets__footer"] { display: flex; position: sticky; bottom: 0; z-index: 2; width: auto; height: auto; margin-top: auto; padding: 20px; gap: 0; border-top: 1px solid rgba(23,21,21,.08); background: #fff; }
[data-o~="mobile-facets__disclosure"][open] [data-o~="mobile-facets__footer"] > * { flex: 1 1 0; min-height: 49px; }
[data-o~="mobile-facets__disclosure"][open] [data-o~="mobile-facets__clear-wrapper"] { display: flex; align-items: center; justify-content: center; padding: 0 10px; border: 2px solid rgba(180,208,20,.1); background: rgba(180,208,20,.07); border-radius: 8px; }
[data-o~="mobile-facets__disclosure"][open] [data-o~="mobile-facets__footer"] [data-o~="button"] { margin-left: 10px; padding: 0 30px; border-radius: 8px; background: rgb(180,208,20); color: #fff; font-weight: 700; font-size: 16px; line-height: 19.2px; display: flex; align-items: center; justify-content: center; width: auto; height: auto; }
[data-o~="mobile-facets__disclosure"][open] [data-o~="mobile-facets__close"] { opacity: 1; display: flex; position: fixed; top: 7px; right: 10px; left: auto; z-index: 101; width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; }
[data-o~="mobile-facets__disclosure"][open] [data-o~="mobile-facets__close"] svg { width: 22px; height: 22px; }
/* sub-panels (Availability, Price): the drawer uses the accordion mode (drawer--open-accordion) */
[data-o~="mobile-facets__details"]:not([open]) ~ [data-o~="drawer__submenu-content-wrapper"] { display: none; }
[data-o~="mobile-facets__details"][open] ~ [data-o~="drawer__submenu-content-wrapper"] [data-o~="mobile-facets__submenu"] { opacity: 1; display: block; position: static; width: auto; height: auto; margin: 0; padding: 0 0 10px; transform: none; visibility: visible; background: #fff; }
[data-o~="mobile-facets__details"][open] ~ [data-o~="drawer__submenu-content-wrapper"] { display: block; position: static; height: auto; width: auto; }
[data-o~="mobile-facets__details"][open] ~ [data-o~="drawer__submenu-content-wrapper"] [data-o~="mobile-facets__list"] { padding: 0; margin: 0; width: auto; height: auto; list-style: none; }
[data-o~="mobile-facets__details"][open] ~ [data-o~="drawer__submenu-content-wrapper"] [data-o~="mobile-facets__item"] { width: auto; height: auto; }
[data-o~="mobile-facets__details"][open] ~ [data-o~="drawer__submenu-content-wrapper"] [data-o~="mobile-facets__label"] { display: flex; align-items: center; gap: 0; width: auto; height: auto; padding: 2px 25px 20px 23px; cursor: pointer; }
[data-o~="mobile-facets__details"][open] ~ [data-o~="drawer__submenu-content-wrapper"] [data-o~="mobile-facets__label"] > svg { width: 20px; height: 20px; flex: 0 0 20px; margin-right: 10px; }
[data-o~="mobile-facets__details"][open] ~ [data-o~="drawer__submenu-content-wrapper"] [data-o~="mobile-facets__label"] > span:not([data-o~="visually-hidden"]) { width: auto; height: auto; }
[data-o~="mobile-facets__details"][open] > summary svg { transform: rotate(180deg); }
[data-o~="mobile-facets__details"][open] > [data-o~="hidden"] { display: block !important; }
[data-o~="mobile-facets__disclosure"][open] [data-o~="mobile-facets__summary"] svg { left: auto; right: 15px; top: 23.5px; }
[data-o~="mobile-facets__disclosure"][open] [data-o~="mobile-facets__sort"] { display: flex; justify-content: space-between; align-items: center; width: auto; height: auto; padding: 0; min-height: 71px; }
[data-o~="mobile-facets__disclosure"][open] [data-o~="mobile-facets__sort"] [data-o~="select"] { width: auto; height: auto; position: relative; }
[data-o~="mobile-facets__disclosure"][open] [data-o~="mobile-facets__sort"] select { width: auto; height: auto; padding: 0 20px 0 0; font-size: 15px; background: transparent; cursor: pointer; }
[data-o~="mobile-facets__disclosure"][open] [data-o~="mobile-facets__sort"] [data-o~="select"] svg { left: auto; right: 0; top: 50%; margin-top: -3px; pointer-events: none; }
[data-o~="mobile-facets__disclosure"][open] [data-o~="mobile-facets__footer"] [data-o~="button"]::after, [data-o~="mobile-facets__disclosure"][open] [data-o~="mobile-facets__footer"] [data-o~="button"]::before { content: none; }
[data-o~="mobile-facets__disclosure"][open] [data-o~="mobile-facets__clear"] { display: flex; align-items: center; justify-content: center; width: 100%; height: 45px; color: rgba(23,21,21,.85); }
:where(body > [class^="x"][class$="_0"]) [data-o~="card__badge"] { justify-self: start; }
/* button rings: absolutely inset pseudo-elements must follow the button, not the measured px size */
:where(body > [class^="x"][class$="_0"]) [data-o~="button"]::before,
:where(body > [class^="x"][class$="_0"]) [data-o~="button"]::after,
:where(body > [class^="x"][class$="_0"]) [data-o~="card"]::before,
:where(body > [class^="x"][class$="_0"]) [data-o~="card"]::after { width: auto !important; height: auto !important; }
/* filled buttons (action-btns): fill wipes out on hover, text takes the button colour */
:where(body > [class^="x"][class$="_0"]) [data-o~="button"] { transition: color .3s; }
:where(body > [class^="x"][class$="_0"]) [data-o~="button"]::after { transition: transform .3s; transform-origin: center; }
@media (hover:hover) {
  :where(body > [class^="x"][class$="_0"]) [data-o~="quick-add__submit"]:hover:not([disabled]),
  :where(body > [class^="x"][class$="_0"]) [data-o~="button--primary"]:hover:not([disabled]) { color: rgb(33,33,33); }
  :where(body > [class^="x"][class$="_0"]) [data-o~="quick-add__submit"]:hover:not([disabled])::after { transform: scaleX(0); }
}
/* product card hover: first image fades to reveal the second, title underlines */
:where(body > [class^="x"][class$="_0"]) [data-o~="media--hover-effect"] > img { transition: opacity .4s cubic-bezier(.25,.46,.45,.94); }
@media (hover:hover) {
  :where(body > [class^="x"][class$="_0"]) [data-o~="card-wrapper"]:hover [data-o~="media--hover-effect"] > img:first-child:not(:only-child) { opacity: 0; }
  :where(body > [class^="x"][class$="_0"]) [data-o~="card-wrapper"]:hover [data-o~="card__heading"] a { text-decoration: underline; text-underline-offset: 3px; }
}

/* ---------- 9. floating field labels (search, newsletter, price range) ---------- */
:where(body > [class^="x"][class$="_0"]) [data-o~="field__input"]::placeholder { opacity: 0; }
:where(body > [class^="x"][class$="_0"]) [data-o~="field__label"] { transition: top .1s ease, font-size .1s ease, letter-spacing .1s ease; pointer-events: none; }
:where(body > [class^="x"][class$="_0"]) [data-o~="field__input"]:is(:focus, :not(:placeholder-shown)) ~ [data-o~="field__label"] { top: 6px; left: 21px; font-size: 10px; line-height: 15px; letter-spacing: .4px; }
:where(body > [class^="x"][class$="_0"]) [data-o~="field__input"]:is(:focus, :not(:placeholder-shown)) { padding-top: 22px; padding-bottom: 8px; padding-left: 20px; }

/* ---------- 10. search results (client-side) ---------- */
.vy-search-results { padding-bottom: 36px; }
.vy-search-count { max-width: 1400px; margin: 0 auto 24px; padding: 0 15px; text-align: right; font-size: 13px; color: rgba(23,21,21,.7); }
@media (min-width:750px) { .vy-search-count { padding: 0 50px; } }
@media (min-width:990px) { .vy-search-count { padding: 0 70px; } }
.vy-search-results [data-o~="quick-add"] { display: none; }

/* ---------- 11. theme entrance animation for measured sections (animate-section / animate-item) ---------- */
.vy-anim [data-o~="animate-item"] { transition: opacity .65s var(--vy-d, .15s), filter .65s var(--vy-d, .15s), transform .65s var(--vy-d, .15s); }
.vy-anim:not(.vy-out) [data-o~="animate-item"] { opacity: 1 !important; filter: none !important; }
.vy-anim.vy-out [data-o~="animate-item"] { opacity: 0 !important; filter: blur(1px) !important; }
@media (prefers-reduced-motion: reduce) { .vy-anim [data-o~="animate-item"] { transition: none; } }

/* verifier fix: policy lists keep their bullets inside the text column, as on the origin */
[data-o*="shopify-policy"] ul,[data-o*="shopify-policy"] ol,[data-o*="shopify-policy"] li{list-style-position:inside}
