/* Homepage — product sliders and cards (trending + new arrivals). */
.log-home .band{ background:var(--log-mint-2); }
.log-home .slider-ctrl{ display:flex; gap:10px; }
.log-home .arrow{ width:50px; height:50px; border-radius:50%; display:grid; place-items:center; background:var(--log-surface); box-shadow:inset 0 0 0 1.5px var(--log-line); transition:background .2s, color .2s, box-shadow .2s, opacity .2s; }
.log-home .arrow:hover{ background:var(--log-ink); color:#fff; box-shadow:none; }
.log-home .arrow:disabled{ opacity:.35; pointer-events:none; }
.log-home .slider{ position:relative; overflow:hidden; touch-action:pan-y; cursor:grab; -webkit-user-select:none; user-select:none; }
.log-home .slider.is-drag{ cursor:grabbing; }
.log-home .slider__track{ display:flex; gap:20px; width:max-content; padding-block:10px 30px; padding-inline:max(var(--log-gutter), calc((100% - var(--log-max)) / 2 + var(--log-gutter))); will-change:transform; }
.log-home .slider img{ -webkit-user-drag:none; }
.log-home .slider__foot{ display:flex; align-items:center; justify-content:space-between; gap:20px; }
.log-home .slider__foot .link-btn{ white-space:nowrap; flex:none; }
.log-home .bar{ flex:0 1 260px; min-width:60px; height:4px; border-radius:9px; background:var(--log-line); overflow:hidden; }
.log-home .bar span{ display:block; height:100%; width:20%; border-radius:inherit; background:var(--log-ink); }
.log-home .card{ flex:none; display:flex; flex-direction:column; width:clamp(236px, 21vw, 270px); background:var(--log-surface); border-radius:24px; box-shadow:0 1px 0 rgba(18,36,30,.04), 0 14px 30px -22px rgba(18,36,30,.4); transform:skewX(var(--skew,0deg)); transition:box-shadow .25s; }
.log-home .card:hover{ box-shadow:0 1px 0 rgba(18,36,30,.04), 0 24px 40px -24px rgba(18,36,30,.5); }
.log-home .card__media{ position:relative; aspect-ratio:1; margin:10px 10px 0; border-radius:18px; overflow:hidden; background:var(--log-mint-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%230E6B52' stroke-opacity='.22' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='22' y='8' width='20' height='8' rx='2'/%3E%3Cpath d='M20 16h24v4c3 2 4 5 4 8v24a4 4 0 0 1-4 4H20a4 4 0 0 1-4-4V28c0-3 1-6 4-8z'/%3E%3Cpath d='M32 32v12M26 38h12'/%3E%3C/svg%3E") center / 64px no-repeat; }
.log-home .band .card__media{ background-color:#F3F8F5; }
.log-home .card__media img{ position:absolute; inset:0; width:100%; height:100%; object-fit:contain; padding:14px; background:#fff; }
.log-home .card__badges{ position:absolute; z-index:1; top:10px; left:10px; display:flex; gap:6px; }
.log-home .badge{ padding:4px 9px; border-radius:999px; background:#fff; font-size:12px; font-weight:700; line-height:1.3; }
.log-home .badge--off{ background:var(--log-sun); }
.log-home .badge--rx{ background:var(--log-ink); color:#fff; }
.log-home .badge--new{ background:var(--log-blue); color:#fff; }
.log-home .wish{ position:absolute; z-index:1; top:8px; right:8px; width:38px; height:38px; border-radius:50%; display:grid; place-items:center; background:#fff; color:var(--log-ink-2); box-shadow:0 6px 14px -8px rgba(18,36,30,.45); transition:color .2s; }
.log-home .wish .i{ width:19px; height:19px; transition:fill .2s; }
.log-home .wish[aria-pressed="true"]{ color:#E0466A; }
.log-home .wish[aria-pressed="true"] .i{ fill:currentColor; }
.log-home .card__body{ flex:1; display:flex; flex-direction:column; padding:14px 16px 16px; }
.log-home .card__cat{ font-size:13px; font-weight:600; color:var(--log-green); }
.log-home .card__name{ margin-top:4px; font-family:var(--log-font-body); font-size:16.5px; font-weight:600; line-height:1.3; letter-spacing:-.005em; }
.log-home .card__name a:hover{ text-decoration:underline; text-underline-offset:3px; }
.log-home .card__pack{ margin-top:4px; font-size:13.5px; color:var(--log-muted); }
.log-home .card__foot{ margin-top:auto; padding-top:16px; display:flex; align-items:center; justify-content:space-between; gap:8px; }
.log-home .price{ line-height:1.1; }
.log-home .price strong{ font-family:var(--log-font-display); font-size:20px; font-weight:800; letter-spacing:-.02em; }
.log-home .price s{ display:block; margin-top:2px; font-size:13px; color:var(--log-muted); }
.log-home .add{ display:inline-flex; align-items:center; gap:6px; height:42px; padding:0 16px 0 12px; border-radius:999px; background:var(--log-mint); color:var(--log-green-deep); font-size:14px; font-weight:700; transition:background .2s, color .2s; }
.log-home .add .i{ width:18px; height:18px; stroke-width:2.4; }
.log-home .add:hover,
.log-home .add.is-added{ background:var(--log-green); color:#fff; }
.log-home .band{ background:linear-gradient(180deg, rgba(238,246,241,0), rgba(238,246,241,.55) 18%, rgba(238,246,241,.55) 82%, rgba(238,246,241,0)); }
.log-home .card{ position:relative; }
.log-home .card__media,
.log-home .band .card__media{ background-color:rgba(238,246,241,.72); }
.log-home .card:hover{ box-shadow:var(--log-glass-shadow), 0 34px 60px -34px rgba(18,36,30,.5); }
.log-home .add{ background:rgba(221,239,230,.85); }
.log-home .wish{ background:rgba(255,255,255,.85); -webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px); }
/* Beat the shop's .add_to_cart_button skin so the reference pill shows. */
body .log-home .card .add{ background:rgba(221,239,230,.85); color:var(--log-green-deep); border:0; box-shadow:none; text-transform:none; letter-spacing:0; font-size:14px; font-weight:700; height:42px; padding:0 16px 0 12px; border-radius:999px; }
body .log-home .card .add:hover, body .log-home .card .add.is-added{ background:var(--log-green); color:#fff; }
body .log-home .card .add.loading{ opacity:.7; }
body .log-home .card .add.added{ display:none; }
body .log-home .card .wish{ display:grid; place-items:center; }
body .log-home .card .wish .yith-wcwl-add-to-wishlist{ margin:0; display:grid; place-items:center; width:100%; height:100%; }
body .log-home .card .wish a{ display:grid; place-items:center; width:100%; height:100%; font-size:0; color:inherit; }
body .log-home .card .wish i, body .log-home .card .wish svg{ width:19px; height:19px; margin:0; }

/* Whole product card is one link: the name link stretches over the card; Add and wishlist stay on top. */
.log-home .card{ cursor:pointer; }
.log-home .card__name a::after{ content:""; position:absolute; inset:0; z-index:1; border-radius:inherit; }
.log-home .card .add,
.log-home .card .wish{ position:relative; z-index:2; }
.log-home .card .card__media .wish{ position:absolute; }
.log-home .card__name a:focus-visible{ outline:none; text-decoration:underline; }
.log-home .card__name a:focus-visible::after{ outline:2px solid var(--log-green); outline-offset:-2px; }
