/* WildVero Store Experience | 1.22.61
   Scoped front-end refinements. Original WildVero palette and design remain unchanged.
   Loaded last so ratings and customer photos cannot inherit stale card styles. */
:root { --wv-ui-ink: #1b2c24; --wv-ui-orange: #ef633e; --wv-ui-mist: #f5f7f1; --wv-ui-stroke: #e2e5db; }

/* Editorial product cards */
.shop-page .shop-grid .editorial-product-card,
.search-page .product-grid .editorial-product-card,
.product-recommendation-grid .editorial-product-card {
  min-width: 0; overflow: visible; isolation: isolate;
}
.shop-page .shop-grid .editorial-product-card .product-image,
.search-page .editorial-product-card .product-image,
.product-recommendation-grid .editorial-product-card .product-image {
  position: relative; isolation: isolate; border-radius: 13px; overflow: hidden;
  border: 1px solid #e5e6df; background: #f8f9f6;
}
.editorial-product-card .wv-card-image-link { display:block; position:relative; height:100%; width:100%; overflow:hidden; }
.editorial-product-card .wv-card-image-link > img.wv-card-primary-image {
  display:block; width:100%; height:100%; object-fit:contain; object-position:center;
  transform: none; transition: opacity .32s ease, transform .55s cubic-bezier(.22,.74,.18,1);
}
.editorial-product-card .wv-card-image-link > img.wv-card-alt-image {
  position:absolute; inset:0; width:100%; height:100%; object-fit:contain;
  opacity:0; z-index:2; pointer-events:none;
  transition:opacity .3s ease;
}
@media (hover:hover) and (pointer:fine) {
  .editorial-product-card:hover .wv-card-image-link > img.wv-card-alt-image { opacity:1; }
  .editorial-product-card:hover .wv-card-image-link:not(:has(.wv-card-alt-image)) > .wv-card-primary-image { transform:scale(1.035); }
}
.editorial-product-card .wv-card-media .product-state-badges {
  position:absolute !important; z-index:5 !important;
  top:10px !important; left:10px !important; right:auto !important; bottom:auto !important;
  max-width:calc(100% - 72px); pointer-events:none; display:flex !important;
}
.editorial-product-card .wv-card-media .product-state-badges b { 
  display:inline-flex; padding:5px 10px !important; min-height:24px !important;
  border:1px solid rgba(28,52,41,.12) !important; border-radius:999px !important;
  background:rgba(255,255,255,.94) !important; color:#315445 !important;
  box-shadow:0 3px 16px rgba(25,37,29,.06) !important;
  font:800 9px/1 Arial,Helvetica,sans-serif !important; letter-spacing:.10em !important;
}
.editorial-product-card .wv-card-media .product-state-badges .product-state-new {
  background:rgba(247,249,238,.97) !important; color:#596b30 !important;
  border-color:#d9e0bd !important;
}
.editorial-product-card .wv-card-media .product-state-badges .product-state-bestseller {
  background:rgba(255,246,242,.96) !important; color:#a64a2e !important;
  border-color:#efd3c8 !important;
}
.editorial-product-card .wv-card-media .product-state-pick { display:none!important; }
.editorial-product-card .wv-card-media .card-save { right:10px; top:10px; z-index:6; }
.editorial-product-card .wv-card-media .wv-card-sold-out {
  position:absolute; z-index:5; left:10px; bottom:10px; padding:7px 11px;
  border-radius:50px; background:rgba(23,33,28,.88); color:white;
  font:800 10px/1.2 Arial,Helvetica,sans-serif; letter-spacing:.04em;
}
.editorial-product-card .wv-card-media .wv-card-quick-view {
  position:absolute; z-index:7; bottom:12px; right:12px; display:flex; align-items:center;
  gap:11px; padding:9px 12px; min-height:36px;
  border:1px solid rgba(33,53,41,.15); border-radius:24px;
  background:rgba(255,255,255,.94); color:var(--wv-ui-ink);
  box-shadow:0 7px 28px rgba(20,29,23,.13); cursor:pointer;
  font:750 10px/1 Arial,Helvetica,sans-serif; letter-spacing:.01em;
  transition:opacity .2s,transform .2s,border-color .2s;
}
.editorial-product-card .wv-card-media .wv-card-quick-view span { font-size:16px; }
.editorial-product-card .wv-card-quick-view:hover { border-color:#6d8875; transform:translateY(-2px); }
.editorial-product-card a.card-rating > span {
  font-size:22px!important; line-height:1.1!important; letter-spacing:.06em!important;
  color:#e56b46!important;
}
.editorial-product-card a.card-rating > b { font-size:11px!important; color:#454f49!important; }
.editorial-product-card .wv-no-reviews {
  display:inline-flex; align-items:center; gap:8px; width:fit-content; max-width:100%;
  padding:3px 0; margin:6px 0 14px; color:#697268;
  font:600 11px/1.4 Arial,Helvetica,sans-serif; text-decoration:none;
}
.editorial-product-card .wv-no-reviews:hover { color:#b45839; text-decoration:underline; text-underline-offset:3px; }
.editorial-product-card .wv-no-reviews span { color:var(--wv-ui-orange); font-size:14px; }
.editorial-product-card .wv-card-unavailable { opacity:.88; }
.editorial-product-card .product-copy h3 { overflow-wrap:anywhere; }
.editorial-product-card .product-card-actions { gap:9px; }
.editorial-product-card a:focus-visible,
.editorial-product-card button:focus-visible { outline:3px solid rgba(239,99,62,.6); outline-offset:3px; }

/* Helpful, non-empty catalogue experiences */
.shop-page .wv-elevated-empty {
  display:grid; gap:10px; justify-items:center; padding:52px 24px;
  background:#f9faf6; border:1px solid var(--wv-ui-stroke); border-radius:18px;
  text-align:center; max-width:100%;
}
.shop-page .wv-elevated-empty > span { font-size:36px; color:#c17b48; line-height:1; }
.shop-page .wv-elevated-empty > b { font:400 clamp(28px,3.5vw,45px)/1.05 Georgia,serif; color:var(--wv-ui-ink); }
.shop-page .wv-elevated-empty > p { font-size:13px; max-width:440px; line-height:1.6; color:#59665d; }
.shop-page .wv-elevated-empty > div { display:flex; flex-wrap:wrap; gap:11px; justify-content:center; margin-top:8px; }

/* Product quick look uses no additional network requests. */
.wv-preview-dialog { width:min(760px,calc(100vw - 24px)); max-height:min(90dvh,880px); padding:0; border:0; border-radius:22px; color:var(--wv-ui-ink); background:white; box-shadow:0 30px 90px rgba(13,25,18,.26); overflow:auto; }
.wv-preview-dialog::backdrop { background:rgba(10,20,15,.72); backdrop-filter:blur(4px); }
.wv-preview-close { position:absolute; z-index:3; top:15px; right:15px; width:42px; height:42px; border-radius:50%; border:1px solid #e1e6dc; background:white; font-size:24px; line-height:1; cursor:pointer; }
.wv-preview-inner { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); }
.wv-preview-image { display:grid; place-items:center; min-height:340px; background:#f5f7f2; padding:15px; }
.wv-preview-image img { max-width:100%; max-height:450px; width:100%; height:100%; object-fit:contain; }
.wv-preview-copy { padding:64px 28px 30px; display:flex; flex-direction:column; justify-content:center; gap:13px; }
.wv-preview-kicker { font:850 10px/1.3 Arial,sans-serif; color:#9b593d; text-transform:uppercase; letter-spacing:.15em; }
.wv-preview-copy h2 { font:400 clamp(27px,3vw,41px)/1.08 Georgia,serif; margin:0; }
.wv-preview-copy strong { font:800 21px/1.2 Arial,sans-serif; }
.wv-preview-copy p { font:400 13px/1.65 Arial,sans-serif; color:#526058; }
.wv-preview-copy .wv-preview-open { background:#243e31; color:white; text-align:center; padding:16px; border-radius:11px; text-decoration:none; font:800 12px/1.2 Arial,sans-serif; }
.wv-preview-copy .wv-preview-open:hover { background:#ef633e; }

/* Cart refinement: no graphic labels covering the product, clearer information hierarchy. */
.cart-page .product-state-badges,
.cart-page .product-state-pick,
.cart-page .cart-product-preview .product-state-badges { display:none!important; }
.cart-page .cart-layout { gap:clamp(17px,2.8vw,38px); align-items:start; }
.cart-page .cart-items { border:1px solid #e0e5da; background:#fff; border-radius:18px; overflow:hidden; }
.cart-page .cart-items article[data-cart-item] { border-bottom:1px solid #edf0eb; }
.cart-page .cart-product-preview { background:#fafbf8; border-color:#e5eae0; border-radius:13px; }
.cart-page .cart-product-preview > img { object-fit:contain; padding:6px; }
.cart-page .cart-item-copy h2 { line-height:1.22; }
.cart-page .order-summary { position:sticky; top:22px; min-width:0; border:1px solid #e0e7dd; border-radius:18px; box-shadow:0 14px 40px rgba(27,42,31,.055); background:#fff; }
.cart-page .wv-cart-summary-kicker { margin:0 0 10px; color:#9c5739; font:850 10px/1.3 Arial,sans-serif; letter-spacing:.14em; text-transform:uppercase; }
.cart-page .wv-cart-summary-note { margin:6px 0 18px; color:#617063; font:400 12px/1.6 Arial,sans-serif; }
.cart-page .wv-cart-checkout { display:flex; justify-content:space-between; align-items:center; gap:14px; text-align:left; background:#ef633e; }
.cart-page .wv-cart-checkout span { font-size:20px; }
.cart-page .wv-cart-payment-note { color:#657068; font-size:11px; line-height:1.5; }

/* Mobile sticky purchase bar: displayed only when the real product form CTA is out of view. */
.wv-mobile-buy { display:none; }
@media (max-width:760px) {
  body:has(.wv-mobile-buy.is-visible) { padding-bottom: max(98px,env(safe-area-inset-bottom)); }
  .wv-mobile-buy.is-visible {
    display:flex; position:fixed; z-index:99; bottom:0; left:0; right:0;
    align-items:center; gap:12px; padding:12px 15px calc(12px + env(safe-area-inset-bottom));
    border-top:1px solid #e2e9df; background:rgba(255,255,255,.98);
    box-shadow:0 -8px 30px rgba(21,37,26,.10); backdrop-filter:blur(9px);
  }
  .wv-mobile-buy-info { display:grid; gap:2px; flex:1; min-width:0; }
  .wv-mobile-buy-info small { color:#7e897f; font:750 10px/1.15 Arial,sans-serif; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .wv-mobile-buy-info strong { color:#213d2d; font:800 17px/1.15 Arial,sans-serif; }
  .wv-mobile-buy button { min-height:46px; min-width:128px; max-width:52%; border:0; border-radius:12px; background:#243e31; color:white; padding:0 14px; font:850 12px/1 Arial,sans-serif; cursor:pointer; }
  .wv-mobile-buy button:focus-visible { outline:3px solid #ef633e; outline-offset:2px; }
  .wv-preview-inner { grid-template-columns:1fr; }
  .wv-preview-image { min-height:0; height:min(42dvh,320px); }
  .wv-preview-image img { max-height:100%; }
  .wv-preview-copy { padding:23px; }
  .shop-grid .editorial-product-card .wv-card-quick-view { bottom:8px; right:8px; min-height:31px; font-size:9px; padding:7px 8px; gap:4px; }
  .shop-grid .editorial-product-card .product-card-actions { grid-template-columns:1fr; }
  .editorial-product-card a.card-rating > span { font-size:19px!important; }
  .editorial-product-card .wv-no-reviews { font-size:10px; }
  .cart-page .order-summary { position:static; }
}
@media (max-width:390px) {
  .shop-grid .editorial-product-card .wv-card-quick-view { font-size:0; width:32px; justify-content:center; }
  .shop-grid .editorial-product-card .wv-card-quick-view span { font-size:17px; }
  .wv-mobile-buy button { min-width:116px; }
}
@media (prefers-reduced-motion:reduce) {
  .editorial-product-card .wv-card-image-link img,
  .editorial-product-card .wv-card-quick-view { transition:none!important; }
}

/* v1.22.62: smaller, balanced mobile product cards; no unnecessary dead space */
@media (max-width:767px) {
  .shop-page .shop-grid .editorial-product-card .product-copy h3,
  .shop-page .shop-grid.compact .editorial-product-card .product-copy h3 {
    font:500 clamp(17px,4.35vw,21px)/1.18 Georgia,serif!important;
    letter-spacing:-.015em!important; min-height:0!important;
    margin:9px 0 10px!important; overflow-wrap:normal!important; word-break:normal!important;
    hyphens:auto;
  }
  .shop-page .shop-grid .editorial-product-card .product-copy { padding-top:12px!important; }
  .shop-page .shop-grid .editorial-product-card .product-card-tags a { font-size:8px!important; padding:5px 7px!important; }
  .shop-page .shop-grid .editorial-product-card .product-card-actions { gap:7px!important; }
  .shop-page .shop-grid .editorial-product-card .card-buy-button { min-height:39px!important; font-size:9px!important; }
  .shop-page .shop-grid .editorial-product-card .wv-card-quick-view { width:32px!important; height:32px!important; display:grid!important; place-items:center!important; padding:0!important; font-size:0!important; }
  .shop-page .shop-grid .editorial-product-card .wv-card-quick-view span { font-size:18px!important; }
}
.wv-ui-check { position:relative; z-index:2; display:block; padding:12px 20px; margin:6px 3vw; border:1px solid #b9e6c0; background:#e8fff0; color:#12562c; border-radius:10px; font:700 13px/1.4 system-ui,Arial,sans-serif; }
