/* 2026-10-23: image-led product cards. Existing palette and mobile header preserved. */
body :is(.product-grid,.i18n-grid){grid-template-columns:minmax(0,1fr);gap:32px 24px}
body .grid-card{min-width:0;background:transparent;border:0}
body .grid-card-link{display:block;color:inherit;text-decoration:none}
body .grid-image{position:relative;aspect-ratio:1;overflow:hidden;border-radius:12px;margin:0}
body .grid-image img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .25s ease}
body .grid-image .grid-category{display:none}
body .grid-card-info{position:relative;display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 14px;padding:14px 0 0;min-height:0;border:0}
body .grid-card-info h3,body .grid-card-info .grid-name{flex:1 1 65%;font-size:19px;line-height:1.35;letter-spacing:-.02em;font-weight:700;min-height:0;margin:0;color:var(--djup);overflow-wrap:break-word;word-break:normal;hyphens:auto}
body .grid-card-info>strong{flex:0 0 auto;font-size:19px;line-height:1.35;font-weight:700;margin:0;white-space:nowrap;color:var(--djup)}
body .grid-card-info>p,body .grid-card-info>.grid-format{display:none}
.product-rating{display:flex;align-items:center;gap:7px;flex:1 0 100%;height:20px;margin-bottom:3px;color:var(--vass)}
.rating-stars{position:relative;display:inline-block;width:100px;height:20px;flex:0 0 100px}
.rating-outline,.rating-fill{position:absolute;inset:0;display:flex;width:100px;height:20px}
.rating-fill{overflow:hidden}
.rating-stars svg{width:20px;height:20px;flex:0 0 20px}
.rating-outline svg{fill:none;stroke:currentColor;stroke-width:1.2}
.rating-fill svg{fill:currentColor;stroke:currentColor;stroke-width:1.2}
.rating-count{font-size:13px;line-height:20px;color:var(--muted);font-weight:400}
body :is(.button,.button-light,.button-accent,.i18n-button){display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:52px;padding:13px 22px;border-width:1px;border-style:solid;border-radius:10px;font:700 16px/1.4 var(--font-body);text-align:center;text-decoration:none;cursor:pointer;transition:background-color .18s,color .18s,border-color .18s}
body :is(.button,.button-light,.button-accent,.i18n-button):disabled,body .button[aria-disabled=true]{opacity:.5;cursor:default}
body .button-secondary{background:var(--vatten);border-color:var(--line);color:var(--djup)}
body .button-secondary:hover{background:var(--vass);border-color:var(--vass);color:var(--dimma)}
body :is(.button,.button-light,.button-accent,.i18n-button) svg{width:20px;height:20px;flex:0 0 20px}
body .gallery-main{position:relative;touch-action:pan-y pinch-zoom}
.gallery-main #product-image{user-select:none;-webkit-user-drag:none}
.gallery-arrow{position:absolute;z-index:1;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:44px;height:44px;min-height:44px;padding:10px;border:1px solid var(--line);border-radius:50%;background:var(--dimma);color:var(--djup);cursor:pointer}
.gallery-arrow svg{width:22px;height:22px}
.gallery-prev{left:10px}.gallery-prev svg{transform:rotate(180deg)}.gallery-next{right:10px}
.gallery-arrow:hover{background:var(--vatten)}
body .gallery-counter{pointer-events:none}
@media(min-width:600px){body :is(.product-grid,.i18n-grid){grid-template-columns:repeat(2,minmax(0,1fr));gap:36px 24px}}
@media(min-width:1000px){body :is(.product-grid,.i18n-grid){grid-template-columns:repeat(3,minmax(0,1fr));gap:42px 28px}body .grid-card-info h3,body .grid-card-info .grid-name,body .grid-card-info>strong{font-size:18px}}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.grid-card-link:hover .grid-image img{transform:scale(1.025)}}
@media(prefers-reduced-motion:reduce){body .grid-image img,body :is(.button,.button-light,.button-accent,.i18n-button){transition:none}}

body .i18n-button{background:var(--havre);color:var(--djup);border-color:var(--havre)}
body .i18n-button:hover{background:var(--vass);color:var(--dimma);border-color:var(--vass)}
body .i18n-gallery.presentation-gallery{display:block;min-width:0;align-self:start}
body .presentation-gallery .gallery-main{aspect-ratio:1;border-radius:12px;overflow:hidden;background:var(--vatten)}
body .presentation-gallery .gallery-main>img{width:100%;height:100%;display:block;object-fit:contain}
body .presentation-gallery .catalog-thumbnails{display:flex;gap:8px;max-width:100%;overflow:auto;padding-block:12px;scroll-snap-type:x proximity}
body .presentation-gallery .thumbnails button{width:52px;height:52px;min-width:52px;flex:none;padding:2px;background:transparent;border:1px solid var(--line);scroll-snap-align:start}
body .presentation-gallery .thumbnails button.selected{border:2px solid var(--vass)}
body .presentation-gallery .thumbnails img{display:block;width:100%;height:100%;object-fit:cover}
body .i18n-product>div{min-width:0}
