/* Woolroom: the look from design 1c (11 Nov 2026): white, sage, Gloock headings, Montserrat text, square photos and
   panels, round (pill) buttons and choices. Colours and fonts come from theme.json presets. */

:root {
  --wr-blek: var(--wp--preset--color--blek);
  --wr-skogur: var(--wp--preset--color--skogur);
  --wr-salvia: var(--wp--preset--color--salvia);
  --wr-foel: var(--wp--preset--color--foel);
  --wr-grar: var(--wp--preset--color--grar);
  --wr-lina: var(--wp--preset--color--lina);
  --wr-breidd: 1340px;
  --wr-kantur: 48px;
}
@media (max-width: 900px) { :root { --wr-kantur: 20px; } }

*, *::before, *::after { box-sizing: border-box; }
body { -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
.wr-i { display: block; }
:focus-visible { outline: 2.5px solid var(--wr-salvia); outline-offset: 3px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

/* ---- Header ---- */
.wr-haus-svaedi { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--wr-lina); }
.admin-bar .wr-haus-svaedi { top: 32px; }
.wr-haus { display: flex; align-items: center; gap: 44px; height: 84px; padding: 0 var(--wr-kantur); max-width: 1600px; margin: 0 auto; }
.wr-merki { color: var(--wr-blek); display: block; flex: none; }
.wr-merki svg { width: 150px; height: auto; display: block; }
.wr-nav { display: flex; gap: 6px; flex: 1; align-self: stretch; }
.wr-nav-lidur { display: flex; align-items: stretch; }
.wr-nav-tengill { display: flex; align-items: center; padding: 0 12px; font-size: 15.5px; font-weight: 500; color: var(--wr-blek); text-decoration: none; position: relative; }
.wr-nav-tengill::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px; background: var(--wr-salvia); transform: scaleX(0); transition: transform .2s; }
.wr-nav-lidur:hover .wr-nav-tengill::after, .wr-nav-lidur:focus-within .wr-nav-tengill::after, .wr-nav-tengill[aria-current]::after { transform: scaleX(1); }
.wr-tol { display: flex; gap: 14px; align-items: center; }
.wr-tol > a, .wr-tol > button { color: var(--wr-blek); background: none; border: 0; padding: 8px; cursor: pointer; display: grid; place-items: center; border-radius: 999px; }
.wr-tol > a:hover, .wr-tol > button:hover { background: var(--wr-foel); }
.wr-karfa { position: relative; }
.wr-karfa-n { position: absolute; top: 0; right: -2px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--wr-salvia); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.wr-karfa-n[data-n="0"] { display: none; }
.wr-burger { display: none !important; }
.wr-leitarbox { border-top: 1px solid var(--wr-lina); padding: 22px var(--wr-kantur); background: #fff; }
.wr-leit { position: relative; max-width: 760px; margin: 0 auto; }
.wr-leit .wr-i { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: var(--wr-salvia); pointer-events: none; }
.wr-leit input[type=search] { width: 100%; display: block; font: inherit; font-size: 18px; padding: 15px 20px 15px 52px; border: 1.5px solid #cfd8d4; border-radius: 999px; background: #fff; color: var(--wr-blek); }
.wr-leit input[type=search]:focus { outline: none; border-color: var(--wr-salvia); box-shadow: 0 0 0 4px rgba(79, 115, 105, .15); }

/* The panel under the header (desktop) */
.wr-panill { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--wr-lina); box-shadow: 0 30px 50px -20px rgba(29, 43, 39, .18);
  visibility: hidden; opacity: 0; transform: translateY(-6px); transition: opacity .18s, transform .18s, visibility 0s .18s; }
.wr-nav-lidur:hover .wr-panill, .wr-nav-lidur:focus-within .wr-panill, .wr-nav-lidur.is-open .wr-panill {
  visibility: visible; opacity: 1; transform: none; transition: opacity .18s .12s, transform .18s .12s, visibility 0s .12s; }
.wr-nav.is-lokad .wr-panill { visibility: hidden !important; opacity: 0 !important; }
.wr-panill-in { max-width: var(--wr-breidd); margin: 0 auto; padding: 36px var(--wr-kantur) 44px; display: grid; grid-template-columns: 1fr 420px; gap: 56px; }
.wr-panill-fyrirsogn { font-family: var(--wp--preset--font-family--gloock); font-size: 34px; line-height: 1; margin: 0 0 22px; }
.wr-panill-listi { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 28px; }
.wr-lina { display: flex; align-items: center; gap: 14px; padding: 8px 10px 8px 8px; margin: 0 -8px; color: var(--wr-blek); text-decoration: none; border-radius: 12px; }
.wr-lina:hover, .wr-lina:focus-visible { background: var(--wr-foel); }
.wr-lina-mynd { width: 56px; height: 56px; flex: none; background: var(--wr-foel); overflow: hidden; }
.wr-lina-mynd img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wr-lina-texti { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.wr-lina-heiti { font-weight: 600; font-size: 15.5px; }
.wr-lina-verd { font-size: 14px; color: #5d6a66; }
.wr-lina-verd del { opacity: .7; margin-right: 4px; }
.wr-lina-verd ins { text-decoration: none; color: var(--wp--preset--color--vinraudur); }
.wr-panill-kort { position: relative; display: block; min-height: 300px; color: #fff; text-decoration: none; overflow: hidden; }
.wr-panill-mynd { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .5s; }
.wr-panill-kort:hover .wr-panill-mynd { transform: scale(1.03); }
.wr-panill-kort::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 32, 29, 0) 40%, rgba(20, 32, 29, .72)); }
.wr-panill-kort-texti { position: absolute; left: 24px; right: 24px; bottom: 22px; z-index: 1; display: flex; flex-direction: column; gap: 6px; }
.wr-panill-kort-texti span { font-size: 15px; color: #e4ece8; }
.wr-panill-kort-texti b { display: inline-flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 600; }

/* Phone menu */
.wr-simavalmynd { border: 0; padding: 0; margin: 0 0 0 auto; width: min(100%, 460px); max-width: none; height: 100%; max-height: none; background: #fff; color: var(--wr-blek); overflow-y: auto; }
.wr-simavalmynd[open] { animation: wr-inn .25s ease-out; }
@keyframes wr-inn { from { transform: translateX(24px); opacity: 0; } }
.wr-simavalmynd::backdrop { background: rgba(29, 43, 39, .45); }
.wr-simavalmynd-topp { position: sticky; top: 0; z-index: 1; background: #fff; display: flex; justify-content: space-between; align-items: center; height: 64px; padding: 0 20px; border-bottom: 1px solid var(--wr-lina); }
.wr-simavalmynd-topp .wr-merki svg { width: 118px; }
.wr-loka { background: var(--wr-foel); border: 0; color: inherit; width: 44px; height: 44px; border-radius: 999px; display: grid; place-items: center; cursor: pointer; }
.wr-simavalmynd-leit { padding: 18px 20px 6px; }
.wr-simavalmynd-leit input[type=search] { font-size: 17px; padding: 13px 18px 13px 50px; }
.wr-sima-flokkar { padding: 6px 20px; }
.wr-sima-flokkur { border-bottom: 1px solid var(--wr-lina); }
.wr-sima-flokkur summary { list-style: none; display: flex; align-items: center; gap: 16px; padding: 12px 0; cursor: pointer; }
.wr-sima-flokkur summary::-webkit-details-marker { display: none; }
.wr-sima-mynd { width: 58px; height: 58px; flex: none; background-size: cover; background-position: center; }
.wr-sima-heiti { font-family: var(--wp--preset--font-family--gloock); font-size: 28px; line-height: 1.1; flex: 1; }
.wr-sima-fjoldi { font-size: 13px; font-weight: 600; color: var(--wr-salvia); background: var(--wr-foel); border-radius: 999px; padding: 3px 10px; }
.wr-sima-or { width: 10px; height: 10px; border-right: 1.8px solid var(--wr-blek); border-bottom: 1.8px solid var(--wr-blek); transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s; margin: 0 6px; }
.wr-sima-flokkur[open] .wr-sima-or { transform: rotate(-135deg) translate(-2px, -2px); }
.wr-sima-listi { padding: 4px 0 20px; display: flex; flex-direction: column; gap: 2px; }
.wr-sima-listi .wr-lina { margin: 0; padding: 7px 6px; }
.wr-sima-listi .wr-lina-mynd { width: 48px; height: 48px; }
.wr-sima-listi .wr-meira { align-self: flex-start; margin: 12px 6px 0; }
.wr-simavalmynd-fotur { padding: 22px 20px 40px; display: flex; flex-direction: column; gap: 12px; }
.wr-simavalmynd-fotur a { display: flex; align-items: center; gap: 10px; color: var(--wr-blek); font-weight: 600; text-decoration: none; }
.wr-simavalmynd-fotur p { margin: 8px 0 0; font-size: 14px; color: var(--wr-grar); line-height: 1.6; }

@media (max-width: 1100px) { .wr-haus { gap: 24px; } .wr-nav-tengill { padding: 0 8px; font-size: 15px; } }
@media (max-width: 900px) {
  .wr-haus { height: 64px; gap: 12px; justify-content: space-between; }
  .wr-nav, .wr-leitarbox { display: none !important; }
  .wr-merki svg { width: 118px; }
  .wr-tol { gap: 4px; }
  .wr-tol-minar, .wr-tol-leit { display: none !important; }
  .wr-burger { display: inline-flex !important; align-items: center; gap: 10px; background: var(--wr-foel) !important; border-radius: 999px; padding: 10px 16px 10px 14px !important; font: inherit; font-size: 14px; font-weight: 600; margin-left: 6px; }
  .wr-burger-linur { display: flex; flex-direction: column; gap: 5px; width: 18px; }
  .wr-burger-linur i { height: 2px; border-radius: 2px; background: currentColor; display: block; }
  .wr-burger-linur i:last-child { width: 12px; margin-left: 6px; }
  .admin-bar .wr-haus-svaedi { top: 0; position: relative; }
}

/* Notice line (holidays, changed hours): quiet, above the header */
.wr-tilkynning { margin: 0; padding: 9px var(--wr-kantur); text-align: center; font-size: 14px; color: var(--wr-skogur); background: var(--wr-foel); border-bottom: 1px solid var(--wr-lina); }
.wr-tilkynning a { color: inherit; font-weight: 600; }

/* ---- Footer ---- */
.wr-fotur-svaedi { margin-top: 110px; }
.wr-fotur { background: var(--wr-skogur); color: #e4ece8; padding: 72px var(--wr-kantur) 40px; }
.wr-fotur-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; max-width: var(--wr-breidd); margin: 0 auto; }
.wr-fotur h2 { font-family: var(--wp--preset--font-family--montserrat); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #a9c2b9; margin: 0 0 16px; }
.wr-fotur a { display: block; margin: 0 0 9px; font-size: 15px; color: #e4ece8; text-decoration: none; }
.wr-fotur a:hover { text-decoration: underline; }
.wr-fotur-merki svg { width: 170px; height: auto; color: #fff; }
.wr-fotur-merki p { font-size: 14px; line-height: 1.6; margin: 18px 0 0; }
.wr-fotur-lagalegt { max-width: var(--wr-breidd); margin: 48px auto 0; padding-top: 22px; border-top: 1px solid rgba(127, 150, 140, .35); font-size: 13px; opacity: .8; }
@media (max-width: 900px) {
  .wr-fotur-svaedi { margin-top: 72px; }
  .wr-fotur { padding: 48px 20px 32px; }
  .wr-fotur-in { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .wr-fotur-merki { grid-column: 1 / -1; }
}

/* ---- Pages ---- */
.wr-sida { padding-top: 56px; }
.wp-element-button, .wp-block-button__link { transition: background .15s; }
.wp-element-button:hover, .wp-block-button__link:hover { background: var(--wr-salvia); }

/* ---- Product page (woolroom/vara) ---- */
.wr-vara { --wr-panel: var(--wr-foel); }
.wr-molar { max-width: var(--wr-breidd); margin: 0 auto; padding: 22px var(--wr-kantur) 0; font-size: 14px; color: #56635e; }
.wr-molar a { color: inherit; text-decoration: none; }
.wr-molar a:hover { color: var(--wr-blek); text-decoration: underline; }
.wr-molar span { margin: 0 8px; }
.wr-vara-topp { max-width: var(--wr-breidd); margin: 0 auto; padding: 20px var(--wr-kantur) 0; display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
.wr-gal-adal { aspect-ratio: 1; background: var(--wr-panel); overflow: hidden; }
.wr-gal-adal img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wr-gal-smamyndir { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 10px; }
.wr-gal-smamyndir button { padding: 0; border: 0; background: var(--wr-panel); aspect-ratio: 1; overflow: hidden; cursor: pointer; outline: 2.5px solid transparent; outline-offset: 2px; }
.wr-gal-smamyndir button[aria-current="true"] { outline-color: var(--wr-salvia); }
.wr-gal-smamyndir img { width: 100%; height: 100%; object-fit: cover; display: block; }

.wr-kaupa { background: var(--wr-panel); padding: 40px 40px 36px; position: sticky; top: 104px; }
.wr-kaupa h1 { font-size: clamp(36px, 3.6vw, 52px); line-height: 1.02; margin: 0 0 14px; }
.wr-verd { font-family: var(--wp--preset--font-family--gloock); font-size: 38px; line-height: 1.05; color: var(--wr-skogur); margin: 0 0 20px; }
.wr-verd del, .wr-stika-verd del { font-size: .6em; color: #6b7773; margin-right: 6px; }
.wr-verd ins, .wr-stika-verd ins { text-decoration: none; color: var(--wp--preset--color--vinraudur); }
.wr-verd .woocommerce-Price-currencySymbol { font-size: .7em; }
.wr-inngangur { font-size: 18px; line-height: 1.6; color: #2f3d39; margin: 0 0 28px; }
.wr-inngangur p { margin: 0 0 10px; }

.wr-falid { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }
.wr-kaupa .reset_variations, .wr-kaupa .woocommerce-variation-price { display: none !important; }
.wr-val-hopur { border: 0; padding: 0; margin: 0 0 26px; min-width: 0; }
.wr-val-hopur legend { display: flex; width: 100%; justify-content: space-between; align-items: baseline; gap: 12px; padding: 0; margin-bottom: 12px; font-size: 16px; font-weight: 700; }
.wr-val-gildi { font-weight: 600; color: var(--wr-salvia); }
.wr-val-flokkur { font-size: 12.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--wr-salvia); margin: 14px 0 8px; }
.wr-val-flokkur:first-child { margin-top: 0; }
.wr-val button { font: inherit; color: var(--wr-blek); background: #fff; border: 2px solid #fff; cursor: pointer; box-shadow: 0 1px 0 rgba(30, 50, 45, .06); }
.wr-val button[aria-pressed="true"] { background: var(--wr-salvia); border-color: var(--wr-salvia); color: #fff; }
.wr-val button:disabled { background: transparent; border: 2px dashed #c4d0ca; box-shadow: none; color: #8c9a95; cursor: not-allowed; }
.wr-val-rod { display: flex; gap: 8px; }
.wr-val-rod button { flex: 1; border-radius: 16px; padding: 14px; text-align: left; }
.wr-val-rod b, .wr-val-reitir b { font-size: 17px; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.wr-val-reitir { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 8px; }
.wr-val-reitir button { border-radius: 14px; padding: 11px 8px 10px; display: flex; flex-direction: column; align-items: center; gap: 1px; }
.wr-val-reitir b { font-size: 16.5px; font-variant-numeric: tabular-nums; }
.wr-val small { font-size: 13px; color: #4f5d58; }
.wr-val button[aria-pressed="true"] small { color: #e3eee9; }
.wr-val button:disabled small { color: #9aa7a2; }
.wr-stig { display: inline-flex; gap: 3px; align-items: flex-end; }
.wr-stig i { width: 5px; border-radius: 2px; background: #c9d6d0; }
.wr-stig i:nth-child(1) { height: 8px; } .wr-stig i:nth-child(2) { height: 12px; } .wr-stig i:nth-child(3) { height: 16px; }
.wr-stig i.a { background: var(--wr-salvia); }
.wr-val button[aria-pressed="true"] .wr-stig i { background: rgba(255, 255, 255, .35); }
.wr-val button[aria-pressed="true"] .wr-stig i.a { background: #fff; }
.wr-val-myndir { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.wr-val-myndir button { border-radius: 14px; padding: 6px 6px 8px; display: flex; flex-direction: column; gap: 6px; align-items: center; }
.wr-val-myndir img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 9px; display: block; }
.wr-val-myndir b { font-size: 14px; font-weight: 600; }

.wr-kaupa form.cart { margin: 0; }
.wr-kaupa .woocommerce-variation-availability { font-size: 14px; color: var(--wr-grar); }
.wr-kaupa .woocommerce-variation-add-to-cart, .wr-kaupa form.cart:not(.variations_form) { display: flex; gap: 10px; margin: 30px 0 14px; }
.wr-kaupa .quantity { display: flex; align-items: center; background: #fff; border-radius: 999px; padding: 0 6px; }
.wr-kaupa .quantity input.qty { width: 54px; height: 56px; border: 0; background: none; text-align: center; font: inherit; font-weight: 700; -moz-appearance: textfield; }
.wr-kaupa .quantity input::-webkit-inner-spin-button { -webkit-appearance: none; }
.wr-kaupa .single_add_to_cart_button { flex: 1; height: 58px; border: 0; border-radius: 999px; background: var(--wr-skogur); color: #fff; font: inherit; font-size: 17px; font-weight: 600; cursor: pointer; }
.wr-kaupa .single_add_to_cart_button:hover { background: var(--wr-salvia); }
.wr-kaupa .single_add_to_cart_button.disabled { opacity: .5; cursor: not-allowed; }
.wr-athugid { display: flex; gap: 10px; font-size: 15.5px; color: #2f3d39; margin: 0; line-height: 1.5; }
.wr-athugid .wr-i { flex: none; margin-top: 2px; color: var(--wr-salvia); }

.wr-band { background: var(--wr-skogur); color: #fff; margin-top: 96px; display: grid; grid-template-columns: 5fr 7fr; min-height: 560px; }
.wr-band-mynd { background-size: cover; background-position: center; }
.wr-band-texti { padding: 72px 64px 64px; max-width: 820px; }
.wr-band h2 { color: #fff; font-size: 46px; margin: 0 0 40px; }
.wr-band-grind { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(255, 255, 255, .18); }
.wr-stad { padding: 30px 28px 30px 0; border-bottom: 1px solid rgba(255, 255, 255, .18); }
.wr-stad:nth-child(odd) { border-right: 1px solid rgba(255, 255, 255, .18); }
.wr-stad:nth-child(even) { padding-left: 32px; padding-right: 0; }
.wr-stad-tala { font-family: var(--wp--preset--font-family--gloock); font-size: 64px; line-height: .95; display: flex; align-items: baseline; gap: 6px; }
.wr-stad-tala small { font-size: 26px; color: #b9d2c7; }
.wr-stad-heiti { font-size: 19px; font-weight: 600; margin: 12px 0 4px; }
.wr-stad-skyring { font-size: 15.5px; line-height: 1.5; color: #c3d6cd; margin: 0; }

.wr-nanar { max-width: var(--wr-breidd); margin: 0 auto; padding: 88px var(--wr-kantur) 0; display: grid; grid-template-columns: 1fr 1.15fr; gap: 72px; }
.wr-nanar h2 { margin: 0; }
.wr-nanar details { border-bottom: 1.5px solid #dfe7e3; }
.wr-nanar details:first-of-type { border-top: 1.5px solid #dfe7e3; }
.wr-nanar summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 22px 0; font-weight: 700; font-size: 18px; }
.wr-nanar summary::-webkit-details-marker { display: none; }
.wr-nanar summary::after { content: "+"; font-size: 26px; font-weight: 400; color: var(--wr-salvia); line-height: 1; }
.wr-nanar details[open] summary::after { content: "−"; }
.wr-nanar-texti { padding: 0 0 24px; color: #2f3d39; }
.wr-nanar-texti p { margin: 0 0 12px; max-width: 40em; }

.wr-tengt { max-width: var(--wr-breidd); margin: 0 auto; padding: 96px var(--wr-kantur) 0; }
.wr-tengt h2 { margin: 0 0 36px; }
.wr-vorur { display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px 28px; }
.wr-kort { color: var(--wr-blek); text-decoration: none; display: block; }
.wr-kort-mynd { aspect-ratio: 1; background: var(--wr-panel, var(--wr-foel)); overflow: hidden; }
.wr-kort-mynd img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.wr-kort:hover .wr-kort-mynd img { transform: scale(1.03); }
.wr-kort h3 { font-size: 18px; font-weight: 500; margin: 16px 0 4px; }
.wr-kort-verd { margin: 0; color: #5d6a66; }

.wr-stika { display: none; }
@media (max-width: 900px) {
  .wr-molar { padding-top: 14px; font-size: 13px; }
  .wr-vara-topp { grid-template-columns: 1fr; gap: 0; padding: 14px 0 0; }
  .wr-gal-smamyndir { display: none; }
  .wr-kaupa { position: static; padding: 28px 20px 26px; }
  .wr-verd { font-size: 32px; }
  .wr-inngangur { font-size: 17px; }
  .wr-val-rod { gap: 6px; }
  .wr-val-rod button { padding: 12px 10px; }
  .wr-val-reitir { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .wr-val-reitir button { padding: 10px 4px 9px; }
  .wr-band { grid-template-columns: 1fr; min-height: 0; margin-top: 64px; }
  .wr-band-mynd { height: 240px; }
  .wr-band-texti { padding: 40px 20px 44px; }
  .wr-band h2 { font-size: 34px; margin-bottom: 24px; }
  .wr-stad { padding: 22px 14px 22px 0; }
  .wr-stad:nth-child(even) { padding-left: 16px; }
  .wr-stad-tala { font-size: 44px; }
  .wr-stad-tala small { font-size: 18px; }
  .wr-stad-heiti { font-size: 16px; margin-top: 8px; }
  .wr-stad-skyring { font-size: 13.5px; }
  .wr-nanar { grid-template-columns: 1fr; gap: 16px; padding: 60px 20px 0; }
  .wr-tengt { padding: 60px 20px 0; }
  .wr-vorur { grid-template-columns: 1fr 1fr; gap: 30px 14px; }
  .wr-kort h3 { font-size: 15px; margin-top: 12px; }
  .wr-stika { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: #fff; border-top: 1px solid #dfe7e3; padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); align-items: center; gap: 14px; box-shadow: 0 -8px 24px rgba(30, 50, 45, .08); }
  .wr-stika div { flex: 1; min-width: 0; line-height: 1.3; }
  .wr-stika-verd { display: block; font-family: var(--wp--preset--font-family--gloock); font-weight: 400; font-size: 22px; }
  .wr-stika-val { display: block; color: #4f5d58; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .wr-stika-takki { border: 0; border-radius: 999px; background: var(--wr-skogur); color: #fff; font: inherit; font-weight: 600; padding: 15px 22px; }
  body.wr-med-stiku { padding-bottom: 84px; }
}

/* Mobile gallery: swipe the photos (the thumbnails are hidden) */
@media (max-width: 900px) {
  .wr-gal-adal { display: none; }
  .wr-gal-smamyndir { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 8px; margin: 0; padding: 0 20px 20px; scrollbar-width: none; }
  .wr-gal-smamyndir button { flex: 0 0 86%; scroll-snap-align: center; outline: 0; }
}
@media (max-width: 900px) { .wr-gal:has(.wr-gal-smamyndir:empty) .wr-gal-adal { display: block; } }
.wr-kaupa .quantity input.qty { width: 30px; }
.wr-magn { width: 40px; height: 56px; border: 0; background: none; font-size: 22px; color: var(--wr-blek); cursor: pointer; }
.wr-kaupa .quantity label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }

/* ---- Front page (woolroom/forsida) ---- */
.wr-takki { display: inline-flex; align-items: center; gap: 10px; background: var(--wr-salvia); color: #fff; font-weight: 600; font-size: 16px; padding: 16px 26px; border-radius: 999px; text-decoration: none; align-self: flex-start; }
.wr-takki:hover { background: var(--wr-skogur); }
.wr-meira { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; color: var(--wr-salvia); text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 3px; }
.wr-hetja { display: grid; grid-template-columns: 1fr 1.15fr; min-height: 640px; }
.wr-hetja-texti { padding: 96px 72px 80px var(--wr-kantur); display: flex; flex-direction: column; justify-content: center; max-width: 660px; margin-left: auto; width: 100%; }
.wr-hetja h1 { font-size: clamp(42px, 4.4vw, 64px); line-height: 1.04; margin: 0; }
.wr-hetja p { font-size: 19px; margin: 24px 0 36px; color: var(--wr-grar); max-width: 30em; }
.wr-hetja-mynd { background-size: cover; background-position: center 40%; }
.wr-hluti { max-width: var(--wr-breidd); margin: 0 auto; padding: 96px var(--wr-kantur) 0; }
.wr-hluti > h2 { margin: 0 0 36px; }
.wr-flokkar { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.wr-flokkur { color: var(--wr-blek); text-decoration: none; }
.wr-flokkur-mynd { aspect-ratio: 4 / 5; overflow: hidden; background: var(--wr-foel); }
.wr-flokkur-mynd img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.wr-flokkur:hover img { transform: scale(1.03); }
.wr-flokkur h3 { font-size: 17px; font-weight: 600; margin: 14px 0 2px; }
.wr-flokkur p { font-size: 14px; color: #5d6a66; margin: 0; line-height: 1.45; }
.wr-vorur-3 { grid-template-columns: repeat(3, 1fr); }
.wr-af-hverju { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px; border-top: 1px solid var(--wr-lina); padding-top: 40px; }
.wr-af-hverju h3 { font-size: 20px; margin: 0 0 10px; }
.wr-af-hverju h3::first-letter { text-transform: uppercase; }
.wr-af-hverju p { margin: 0; color: var(--wr-grar); }
.wr-saga { display: grid; grid-template-columns: 1.3fr 1fr; gap: 72px; align-items: center; }
.wr-saga-mynd { aspect-ratio: 4 / 3; background-size: cover; background-position: center; }
.wr-saga h2 { margin: 0 0 20px; }
.wr-saga p { color: var(--wr-grar); margin: 0 0 28px; }
.wr-thjonusta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; background: var(--wr-foel); padding: 44px 48px; }
.wr-thjonusta h3 { font-size: 16px; font-weight: 700; margin: 0 0 6px; }
.wr-thjonusta p { margin: 0; font-size: 15px; color: var(--wr-grar); }
@media (max-width: 900px) {
  .wr-hetja { grid-template-columns: 1fr; min-height: 0; }
  .wr-hetja-mynd { height: 360px; order: -1; }
  .wr-hetja-texti { padding: 36px 20px 8px; margin: 0; }
  .wr-hetja h1 { font-size: 42px; }
  .wr-hetja p { font-size: 17px; margin: 16px 0 26px; }
  .wr-hluti { padding-top: 64px; }
  .wr-hluti > h2 { margin-bottom: 22px; }
  .wr-flokkar { grid-template-columns: repeat(6, 62%); overflow-x: auto; gap: 14px; scroll-snap-type: x mandatory; margin-right: -20px; padding-right: 20px; scrollbar-width: none; }
  .wr-flokkur { scroll-snap-align: start; }
  .wr-vorur-3 { grid-template-columns: 1fr 1fr; }
  .wr-af-hverju { grid-template-columns: 1fr; gap: 26px; }
  .wr-saga { grid-template-columns: 1fr; gap: 28px; }
  .wr-thjonusta { grid-template-columns: 1fr; padding: 28px 22px; gap: 20px; }
}

/* Campaign hero (Upplýsingar → Tilboðsdagar) */
.wr-hetja--tilbod .wr-hetja-texti { background: var(--wr-skogur); color: #fff; max-width: none; margin: 0; padding-left: max(var(--wr-kantur), calc((100vw - var(--wr-breidd)) / 2 + var(--wr-kantur))); }
.wr-hetja--tilbod h1 { color: #fff; }
.wr-hetja--tilbod p { color: #cfe0d8; }
.wr-hetja--tilbod .wr-hetja-heiti { font-size: 15px; font-weight: 700; color: #b9d2c7; margin: 0 0 14px; }
.wr-hetja--tilbod .wr-takki { background: #fff; color: var(--wr-skogur); }
.wr-hetja--tilbod .wr-takki:hover { background: var(--wr-foel); }
.wr-hetja--tilbod .wr-hetja-til { font-size: 14px; margin: 18px 0 0; }
.wr-fotur-tilkynning { margin: 14px 0 0; font-size: 14px; color: #fff; display: flex; gap: 8px; }
.wr-fotur-tilkynning::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #b9d2c7; margin-top: 7px; flex: none; }
@media (max-width: 900px) { .wr-hetja--tilbod .wr-hetja-texti { padding: 36px 20px 40px; } }
/* No gap between header, page and footer (WordPress puts block spacing between template parts) */
.wp-site-blocks > * { margin-block-start: 0; }
.wp-site-blocks > .wr-fotur-svaedi { margin-block-start: 110px; }
@media (max-width: 900px) { .wp-site-blocks > .wr-fotur-svaedi { margin-block-start: 72px; } }

/* ---- Lists: categories, search, 404 (inc/listar.php) ---- */
.wr-listi { max-width: var(--wr-breidd); margin: 0 auto; padding: 0 var(--wr-kantur); }
.wr-listi-haus { padding: 22px 0 0; }
.wr-listi-haus .wr-molar { padding: 0; margin: 0 0 28px; }
.wr-listi-haus h1 { margin: 0; }
.wr-listi-lina { font-size: 19px; color: var(--wr-grar); margin: 14px 0 0; max-width: 40em; }
.wr-listi-lina a { color: var(--wr-salvia); font-weight: 600; }
.wr-flokka-hnappar { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; }
.wr-flokka-hnappar a { padding: 9px 18px; border-radius: 999px; background: var(--wr-foel); color: var(--wr-blek); text-decoration: none; font-size: 15px; font-weight: 500; }
.wr-flokka-hnappar a:hover { background: #dfe8e2; }
.wr-flokka-hnappar a[aria-current] { background: var(--wr-salvia); color: #fff; }
.wr-listi-tol { display: flex; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid var(--wr-lina); border-bottom: 1px solid var(--wr-lina); padding: 14px 0; margin: 40px 0 36px; }
.wr-listi-tol p { margin: 0; font-weight: 600; }
.wr-rodun { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.wr-rodun select { font: inherit; padding: 9px 36px 9px 14px; border: 1.5px solid #cfd8d4; border-radius: 999px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231d2b27' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 14px center; -webkit-appearance: none; appearance: none; color: var(--wr-blek); }
.wr-vorur-listi { grid-template-columns: repeat(4, 1fr); }
.wr-tomt { font-size: 18px; color: var(--wr-grar); }
.wr-leit-haus { padding-top: 64px; }
.wr-leit-haus .wr-leit { margin: 32px 0 0; max-width: 640px; }
.wr-leit-haus + .wr-vorur { margin-top: 48px; }
.wr-leidir { padding-top: 72px; }
.wr-leidir h2 { margin: 0 0 28px; }
.wr-flokkar-7 { grid-template-columns: repeat(7, 1fr); gap: 16px; }
.wr-flokkar-7 .wr-flokkur p { display: none; }
@media (max-width: 1100px) { .wr-vorur-listi { grid-template-columns: repeat(3, 1fr); } .wr-flokkar-7 { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 900px) {
  .wr-listi-haus { padding-top: 14px; }
  .wr-listi-haus .wr-molar { margin-bottom: 18px; }
  .wr-listi-lina { font-size: 17px; }
  .wr-flokka-hnappar { flex-wrap: nowrap; overflow-x: auto; margin: 22px -20px 0; padding: 0 20px; scrollbar-width: none; }
  .wr-flokka-hnappar a { white-space: nowrap; }
  .wr-listi-tol { margin: 24px 0 24px; }
  .wr-rodun label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }
  .wr-vorur-listi { grid-template-columns: 1fr 1fr; }
  .wr-leit-haus { padding-top: 36px; }
  .wr-leidir { padding-top: 52px; }
  .wr-flokkar-7 { grid-template-columns: 1fr 1fr; gap: 20px 14px; overflow: visible; margin: 0; padding: 0; }
}
.wr-tom-karfa { max-width: var(--wr-breidd); margin: 56px auto 0; }
.wr-tom-karfa h2 { margin: 0 0 24px; }

/* ---- Cart and checkout (WooCommerce blocks) in the 1c look ---- */
.wr-kassi-sida { padding-top: 48px; }
.wr-kassi-sida > .wp-block-post-title { max-width: var(--wr-breidd); margin: 0 auto 32px; padding: 0 var(--wr-kantur); }
.wr-kassi-sida .wp-block-post-content { padding: 0 var(--wr-kantur); }
.wr-kassi-sida .wp-block-woocommerce-cart, .wr-kassi-sida .wp-block-woocommerce-checkout { font-family: var(--wp--preset--font-family--montserrat); color: var(--wr-blek); }
.wc-block-components-sidebar-layout .wc-block-components-main { padding-right: 5% !important; }
.wc-block-components-sidebar { background: var(--wr-foel); padding: 32px 32px 28px !important; align-self: flex-start; }
.wc-block-components-checkout-step__title, .wc-block-components-title.wc-block-components-title, .wc-block-cart__totals-title, .wc-block-components-checkout-order-summary__title-text {
  font-family: var(--wp--preset--font-family--gloock) !important; font-weight: 400 !important; font-size: 26px !important; text-transform: none !important; letter-spacing: 0 !important; color: var(--wr-blek); }
.wc-block-cart__totals-title { font-size: 26px !important; }
.wc-block-components-text-input input, .wc-block-components-text-input textarea, .wc-blocks-components-select .wc-blocks-components-select__select, .wc-block-components-combobox .wc-block-components-combobox-control input {
  border: 1.5px solid #cfd8d4 !important; border-radius: 12px !important; background: #fff !important; font-family: inherit !important; }
.wc-block-components-text-input.is-active input:focus, .wc-block-components-text-input input:focus, .wc-blocks-components-select__select:focus { border-color: var(--wr-salvia) !important; box-shadow: 0 0 0 3px rgba(79, 115, 105, .15) !important; outline: none !important; }
.wc-block-components-button:not(.is-link), .wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button {
  background: var(--wr-skogur) !important; color: #fff !important; border: 0 !important; border-radius: 999px !important; font-weight: 600 !important; font-size: 17px !important; min-height: 56px; transition: background .15s; }
.wc-block-components-button:not(.is-link):hover { background: var(--wr-salvia) !important; }
.wc-block-components-radio-control__option, .wc-block-components-radio-control-accordion-option { border-radius: 14px !important; }
.wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option--checked-option-highlighted,
.wc-block-components-radio-control--highlight-checked label.wc-block-components-radio-control__option--checked-option-highlighted { box-shadow: inset 0 0 0 2px var(--wr-salvia) !important; }
.wc-block-components-radio-control__input:checked { border-color: var(--wr-salvia) !important; }
.wc-block-components-radio-control__input:checked::before { background: var(--wr-salvia) !important; }
.wc-block-components-checkbox .wc-block-components-checkbox__input[type=checkbox]:checked { background: var(--wr-salvia) !important; border-color: var(--wr-salvia) !important; }
.wc-block-components-product-name { font-weight: 600; color: var(--wr-blek) !important; text-decoration: none; }
.wc-block-components-product-metadata, .wc-block-components-product-details { font-size: 14px; color: var(--wr-grar); }
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value, .wc-block-components-totals-footer-item .wc-block-components-totals-item__label { font-family: var(--wp--preset--font-family--gloock); font-weight: 400; font-size: 24px; }
.wc-block-cart-item__image img, .wc-block-components-order-summary-item__image img { border-radius: 0; }
.wc-block-components-quantity-selector { border-radius: 999px !important; }
.wc-block-components-quantity-selector::after { border-radius: 999px !important; border-color: #cfd8d4 !important; }
.wc-block-components-notice-banner { border-radius: 12px; }
.wc-block-cart__empty-cart__title { font-family: var(--wp--preset--font-family--gloock); font-weight: 400; }
.wc-block-components-checkout-return-to-cart-button { color: var(--wr-salvia) !important; }
@media (max-width: 900px) {
  .wr-kassi-sida { padding-top: 28px; }
  .wc-block-components-sidebar { padding: 24px 20px !important; margin: 0 -20px !important; flex: 0 0 calc(100% + 40px) !important; width: calc(100% + 40px) !important; max-width: none !important; }
}
.wr-kassi-sida .wp-block-woocommerce-checkout-order-summary-block { border: 0 !important; }
.wr-kassi-sida .wc-block-components-checkout-order-summary__title { padding: 0 0 12px !important; }
.wc-block-components-product-metadata__description { display: none; }

/* Order confirmation (templates/order-confirmation.html) */
.wr-stadfesting { padding: 56px var(--wr-kantur) 0; }
.wr-stadfesting .wc-block-order-confirmation-status h1, .wr-stadfesting .wc-block-order-confirmation-status { font-family: var(--wp--preset--font-family--gloock); }
.wr-stadfesting .wc-block-order-confirmation-status p { font-family: var(--wp--preset--font-family--montserrat); font-size: 19px; color: var(--wr-grar); }
.wr-stadfesting .wc-block-order-confirmation-summary { background: var(--wr-foel); padding: 24px 28px; }
.wr-stadfesting .wc-block-order-confirmation-summary-list { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; margin: 0; padding: 0; }
.wr-stadfesting h2, .wr-stadfesting h3 { font-family: var(--wp--preset--font-family--gloock); font-weight: 400; font-size: 26px; margin-top: 40px; }
.wr-stadfesting table, .wr-stadfesting address, .wr-stadfesting .wc-block-order-confirmation-additional-fields { border-radius: 0 !important; }
.wr-stadfesting a { color: var(--wr-salvia); }

/* ---- Ordinary pages (templates/page.html): title, optional wide photo, text column ---- */
.wr-venjuleg { padding-top: 64px; }
.wr-sidu-haus { padding: 0 var(--wr-kantur); }
.wr-sidu-haus h1 { margin: 0; }
.wr-sidu-mynd { max-width: var(--wr-breidd); margin: 40px auto 0 !important; padding: 0 var(--wr-kantur); }
.wr-sidu-mynd img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; display: block; }
.wr-sidu-texti { padding: 0 var(--wr-kantur); margin-top: 40px; font-size: 18px; line-height: 1.7; color: #2f3d39; }
.wr-sidu-texti h2 { font-size: 30px; margin: 48px 0 12px; color: var(--wr-blek); }
.wr-sidu-texti p { margin: 0 0 16px; }
.wr-sidu-texti a { color: var(--wr-salvia); font-weight: 600; }
.wr-sidu-texti .wr-inngangur-sidu { font-size: 21px; line-height: 1.6; color: var(--wr-blek); margin-bottom: 8px; }
@media (max-width: 900px) {
  .wr-venjuleg { padding-top: 36px; }
  .wr-sidu-mynd { margin-top: 28px !important; padding: 0; }
  .wr-sidu-mynd img { aspect-ratio: 3 / 2; }
  .wr-sidu-texti { font-size: 17px; margin-top: 28px; }
  .wr-sidu-texti h2 { font-size: 25px; margin-top: 36px; }
  .wr-sidu-texti .wr-inngangur-sidu { font-size: 19px; }
}
/* The hero text lines up with the sections below (same left edge as the 1340 px column) */
@media (min-width: 901px) {
  .wr-hetja-texti { max-width: none; margin: 0; padding-left: max(var(--wr-kantur), calc((100vw - var(--wr-breidd)) / 2 + var(--wr-kantur))); }
  .wr-hetja-texti > * { max-width: 560px; }
}
/* Coupon field: the button exactly as tall as the input, on the same centre line */
.wc-block-components-totals-coupon__form { align-items: stretch !important; gap: 10px; }
.wc-block-components-totals-coupon__form .wc-block-components-totals-coupon__input { flex: 1; margin: 0 !important; }
.wc-block-components-totals-coupon__form .wc-block-components-text-input input { height: 52px !important; }
.wc-block-components-totals-coupon__form .wc-block-components-button { min-height: 0 !important; height: 52px !important; padding: 0 26px !important; font-size: 16px !important; align-self: center; display: inline-flex; align-items: center; }
/* Facts band: word facts as one heading; one column on phones */
.wr-stad-ord { font-family: var(--wp--preset--font-family--gloock); font-weight: 400; font-size: 34px; line-height: 1.1; color: #fff; margin: 0 0 10px; }
.wr-stad-ord::first-letter { text-transform: uppercase; }
.wr-stad--ord { display: flex; flex-direction: column; justify-content: flex-start; }
@media (max-width: 900px) {
  .wr-band-grind { grid-template-columns: 1fr; }
  .wr-stad, .wr-stad:nth-child(even) { padding: 22px 0; border-right: 0 !important; }
  .wr-stad-ord { font-size: 28px; }
  .wr-stad-tala { font-size: 48px; }
  .wr-stad-tala small { font-size: 20px; }
  .wr-stad-skyring { font-size: 15px; }
}
/* Coupon: the button keeps its own width, the field takes the rest */
.wc-block-components-totals-coupon__form .wc-block-components-button { flex: 0 0 auto !important; width: auto !important; }
.wc-block-components-totals-coupon__form .wc-block-components-totals-coupon__input, .wc-block-components-totals-coupon__form .wc-block-components-text-input { flex: 1 1 auto !important; min-width: 0; }

/* ---- Úr búðinni (inc/budin.php) ---- */
.wr-budin-kort { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: center; background: var(--wr-foel); padding: 28px; }
.wr-budin-texti { max-width: 560px; }
.wr-budin-dags { font-size: 14px; color: var(--wr-grar); margin: -4px 0 14px !important; }
.wr-budin-mynd { display: block; aspect-ratio: 4 / 5; overflow: hidden; }
.wr-budin-mynd img { width: 100%; height: 100%; object-fit: cover; object-position: center 62%; display: block; }
.wr-budin-yfir { font-size: 14px; font-weight: 600; color: var(--wr-salvia); margin: 0 0 8px; }
.wr-budin-yfir a { color: inherit; text-decoration: none; }
.wr-budin-texti h2 { font-size: 30px; margin: 0 0 12px; }
.wr-budin-texti h2 a { color: var(--wr-blek); text-decoration: none; }
.wr-budin-texti p { margin: 0 0 18px; color: var(--wr-grar); }
.wr-budin-tenglar { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; margin: 0 !important; }
.wr-budin-allt { font-size: 15px; color: var(--wr-grar); }
.wr-budin-listi { margin-top: 48px; }
.wr-budin-listakort .wr-budin-yfir { margin: 14px 0 0; }
.wr-budin-listakort h3 { margin-top: 16px !important; }
.wr-budin-faersla .wr-budin-dags { color: var(--wr-grar); font-size: 15px; margin-top: 12px; }
.wr-budin-faersla .wr-budin-yfir { margin-bottom: 14px; }
.wr-budin-til-baka { margin-top: 40px; }
.wr-lista-svaedi .navigation.pagination { margin-top: 48px; display: flex; justify-content: center; gap: 12px; }
@media (max-width: 900px) {
  .wr-budin-kort { grid-template-columns: 1fr; gap: 20px; padding: 0 0 24px; background: none; border-top: 1px solid var(--wr-lina); border-bottom: 1px solid var(--wr-lina); padding-top: 24px; }
  .wr-budin-texti h2 { font-size: 26px; }
}
/* News photos uncropped (portraits from the shop), at most 80% of the screen height */
.wr-budin-stor-mynd { max-width: 760px; }
.wr-budin-stor-mynd img { aspect-ratio: auto !important; width: auto !important; max-width: 100%; max-height: 80vh; margin: 0 auto; object-fit: contain; }

/* One post from the shop (woolroom/frett) */
.wr-frett { max-width: var(--wr-breidd); margin: 0 auto; padding: 0 var(--wr-kantur); }
.wr-frett .wr-molar { padding: 22px 0 0; }
.wr-frett-grind { margin-top: 28px; }
.wr-frett-mynd { margin: 0; }
.wr-frett-mynd img { display: block; width: 100%; height: auto; }
.wr-frett-texti h1 { margin: 0; }
.wr-frett-texti .wr-budin-dags { margin: 14px 0 28px !important; font-size: 15px; }
.wr-frett-efni { font-size: 20px; line-height: 1.65; color: #2f3d39; }
.wr-frett-efni p { margin: 0 0 16px; }
.wr-frett-til-baka { margin: 36px 0 0; }
/* portrait: photo left, text right, both starting at the top */
.wr-frett--skammsnid .wr-frett-grind { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 64px; align-items: start; }
.wr-frett--skammsnid .wr-frett-mynd { max-width: 620px; }
.wr-frett--skammsnid .wr-frett-mynd img { max-height: 82vh; width: auto; max-width: 100%; }
.wr-frett--skammsnid .wr-frett-texti { padding-top: 24px; max-width: 560px; position: sticky; top: 120px; }
/* landscape: photo across, text below in a reading column */
.wr-frett--langsnid .wr-frett-mynd img { max-height: 72vh; object-fit: cover; }
.wr-frett--langsnid .wr-frett-texti { max-width: 760px; margin-top: 40px; }
@media (max-width: 900px) {
  .wr-frett { padding: 0; }
  .wr-frett .wr-molar { padding: 14px 20px 0; }
  .wr-frett-grind { margin-top: 16px; }
  .wr-frett--skammsnid .wr-frett-grind { display: block; }
  .wr-frett--skammsnid .wr-frett-mynd img, .wr-frett--langsnid .wr-frett-mynd img { width: 100%; max-height: none; }
  .wr-frett-texti, .wr-frett--skammsnid .wr-frett-texti, .wr-frett--langsnid .wr-frett-texti { padding: 28px 20px 0; position: static; margin: 0; }
  .wr-frett-efni { font-size: 18px; }
  .wr-frett .wr-tengt { padding-left: 20px; padding-right: 20px; }
}

/* /ur-budinni/: the newest large, the rest in a grid of portrait cards */
.wr-budin-efst { display: grid; grid-template-columns: minmax(0, 520px) minmax(0, 1fr); gap: 64px; align-items: center; margin-top: 48px; padding-bottom: 64px; border-bottom: 1px solid var(--wr-lina); }
.wr-budin-efst-mynd { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--wr-foel); }
.wr-budin-efst-mynd img { width: 100%; height: 100%; object-fit: cover; object-position: center 62%; display: block; }
.wr-budin-efst-texti { max-width: 520px; }
.wr-budin-efst-texti h2 { font-size: clamp(34px, 3.4vw, 48px); margin: 0; }
.wr-budin-efst-texti h2 a { color: var(--wr-blek); text-decoration: none; }
.wr-budin-efst-texti .wr-budin-dags { margin: 12px 0 20px !important; }
.wr-budin-efst-texti p:not(.wr-budin-dags) { font-size: 19px; color: #2f3d39; margin: 0 0 28px; }
.wr-budin-grind { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 28px; margin-top: 56px; }
.wr-budin-listakort { color: var(--wr-blek); text-decoration: none; display: block; }
.wr-budin-listamynd { aspect-ratio: 4 / 5; overflow: hidden; background: var(--wr-foel); }
.wr-budin-listamynd img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; display: block; transition: transform .4s; }
.wr-budin-listakort:hover img { transform: scale(1.03); }
.wr-budin-listakort h3 { font-family: var(--wp--preset--font-family--gloock); font-weight: 400; font-size: 24px; line-height: 1.15; margin: 18px 0 6px !important; }
.wr-budin-listakort .wr-budin-dags { margin: 0 0 8px !important; }
.wr-budin-listatexti { margin: 0; color: var(--wr-grar); font-size: 15.5px; }
.wr-budin-sida .navigation.pagination { margin-top: 56px; }
@media (max-width: 900px) {
  .wr-budin-efst { grid-template-columns: 1fr; gap: 22px; margin-top: 28px; padding-bottom: 40px; }
  .wr-budin-efst-mynd { max-height: 70vh; }
  .wr-budin-efst-texti p:not(.wr-budin-dags) { font-size: 17px; }
  .wr-budin-grind { grid-template-columns: 1fr 1fr; gap: 32px 14px; margin-top: 36px; }
  .wr-budin-listakort h3 { font-size: 20px; margin-top: 12px !important; }
  .wr-budin-listatexti { display: none; }
}

/* One post on a phone: a portrait photo framed 4:5 inside the margins, never taller than ~70% of the screen */
@media (max-width: 900px) {
  .wr-frett--skammsnid .wr-frett-mynd { padding: 0 20px; max-width: none; }
  .wr-frett--skammsnid .wr-frett-mynd img { width: 100%; aspect-ratio: 4 / 5; max-height: 70vh; object-fit: cover; object-position: center 35%; }
}

/* ---- Wide screens: one 1340 px frame for header, hero and sections (logo, hero text and content share a left edge) ---- */
.wr-haus { max-width: var(--wr-breidd); }
@media (min-width: 1440px) {
  .wr-hetja { max-width: var(--wr-breidd); margin: 0 auto; min-height: 640px; }
  .wr-hetja .wr-hetja-texti, .wr-hetja--tilbod .wr-hetja-texti { padding-left: var(--wr-kantur); padding-right: 64px; }
  .wr-hetja-mynd { background-position: center 35%; }
}
@media (min-width: 1900px) { .wr-hetja { min-height: 700px; } }
@media (min-width: 1440px) { .wr-band { max-width: var(--wr-breidd); margin-left: auto; margin-right: auto; } }
/* Coloured boxes line up with the content edges (logo, gallery, headings); their text is indented inside */
@media (min-width: 1440px) {
  .wr-hetja, .wr-band { max-width: calc(var(--wr-breidd) - 2 * var(--wr-kantur)); }
  .wr-hetja .wr-hetja-texti, .wr-hetja--tilbod .wr-hetja-texti { padding-left: 64px; }
}
/* Out of stock: our own line says it, so WooCommerce's "Uppselt" is hidden */
.wr-kaupa p.stock.out-of-stock { display: none; }
.wr-kaupa form.cart:not(.variations_form):empty + .wr-athugid, .wr-kaupa .wr-athugid:first-child { margin-top: 0; }
/* Wordmark without the tagline: a touch larger, optically aligned */
.wr-merki svg { width: 156px; }
.wr-fotur-merki svg { width: 176px; }
@media (max-width: 900px) { .wr-merki svg, .wr-simavalmynd-topp .wr-merki svg { width: 124px; } }
/* Logo at whole-pixel heights (viewBox 881 × 112): 22 px tall in the header, 18 px on phones, 24 px in the footer */
.wr-merki svg { width: 173px; height: 22px; }
.wr-fotur-merki svg { width: 189px; height: 24px; }
@media (max-width: 900px) { .wr-merki svg, .wr-simavalmynd-topp .wr-merki svg { width: 142px; height: 18px; } }
.wr-tilkynning { line-height: 22px; }
.wr-haus { height: 84px; }
@media (max-width: 900px) { .wr-haus { height: 64px; } }

/* ---- Choices 11 Nov 2026: prices and figures in Montserrat (Gloock stays in headings); service strip = lines (A) ---- */
.wr-verd { font-family: var(--wp--preset--font-family--montserrat); font-weight: 600; font-size: 30px; letter-spacing: -.01em; }
.wr-stad-tala { font-family: var(--wp--preset--font-family--montserrat); font-weight: 600; font-size: 54px; letter-spacing: -.02em; }
.wr-stad-tala small { font-family: var(--wp--preset--font-family--montserrat); font-weight: 500; font-size: 20px; }
.wr-stika-verd { font-family: var(--wp--preset--font-family--montserrat) !important; font-weight: 600 !important; font-size: 19px !important; }
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value { font-family: var(--wp--preset--font-family--montserrat) !important; font-weight: 600 !important; font-size: 22px !important; }
.wr-kort-verd, .wr-lina-verd, .wr-val-verd { font-variant-numeric: tabular-nums; }
@media (max-width: 900px) { .wr-verd { font-size: 26px; } .wr-stad-tala { font-size: 42px; } .wr-stad-tala small { font-size: 17px; } }

.wr-thjonusta { background: none; padding: 0; gap: 0; border-top: 1px solid var(--wr-lina); border-bottom: 1px solid var(--wr-lina); }
.wr-thjonusta > div { padding: 36px 36px 36px 0; display: flex; flex-direction: column; align-items: flex-start; }
.wr-thjonusta > div + div { border-left: 1px solid var(--wr-lina); padding-left: 36px; }
.wr-thjonusta h3 { font-family: var(--wp--preset--font-family--gloock); font-weight: 400; font-size: 26px; line-height: 1.1; margin: 0 0 10px; }
.wr-thjonusta p { font-size: 16px; margin: 0 0 18px; flex: 1; }
@media (max-width: 900px) {
  .wr-thjonusta { padding: 0; }
  .wr-thjonusta > div, .wr-thjonusta > div + div { padding: 26px 0; border-left: 0; }
  .wr-thjonusta > div + div { border-top: 1px solid var(--wr-lina); }
  .wr-thjonusta h3 { font-size: 23px; }
}
/* Wordmark viewBox 881 × 138 (the "l" starts at the very top): 24 px tall in the header, 20 on phones, 28 in the footer */
.wr-merki svg { width: 153px; height: 24px; }
.wr-fotur-merki svg { width: 179px; height: 28px; }
@media (max-width: 900px) { .wr-merki svg, .wr-simavalmynd-topp .wr-merki svg { width: 128px; height: 20px; } }

/* ---- Shop (/verslun/): a section per group; category header with the group photo ---- */
.wr-verslun-hopur { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: 28px; padding: 48px 0; border-top: 1px solid var(--wr-lina); }
.wr-verslun-hopur:first-of-type { margin-top: 40px; }
.wr-verslun-forsida { position: relative; display: block; min-height: 420px; color: #fff; text-decoration: none; overflow: hidden; }
.wr-verslun-mynd { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .5s; }
.wr-verslun-forsida:hover .wr-verslun-mynd { transform: scale(1.03); }
.wr-verslun-forsida::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,32,29,0) 35%, rgba(20,32,29,.75)); }
.wr-verslun-texti { position: absolute; left: 24px; right: 24px; bottom: 24px; z-index: 1; display: flex; flex-direction: column; gap: 6px; }
.wr-verslun-heiti { font-family: var(--wp--preset--font-family--gloock); font-size: 38px; line-height: 1.05; }
.wr-verslun-lina { font-size: 15px; color: #e4ece8; }
.wr-verslun-forsida .wr-meira { color: #fff; align-self: flex-start; margin-top: 10px; }
.wr-verslun-vorur { grid-template-columns: repeat(3, 1fr); align-content: start; }
.wr-flokks-haus { display: grid; grid-template-columns: 1fr 420px; gap: 48px; align-items: end; }
.wr-flokks-mynd { aspect-ratio: 16 / 9; background-size: cover; background-position: center; }
.wr-kort-verd ins, .wr-lina-verd ins { text-decoration: none; color: var(--wp--preset--color--vinraudur); }
.wr-kort-verd del { margin-right: 4px; opacity: .75; }
/* "Raða" on the same centre line as its box */
.wr-rodun { align-items: center; }
.wr-rodun label { line-height: 1; margin: 0; }
@media (max-width: 900px) {
  .wr-verslun-hopur { grid-template-columns: 1fr; gap: 18px; padding: 32px 0; }
  .wr-verslun-forsida { min-height: 220px; }
  .wr-verslun-heiti { font-size: 30px; }
  .wr-verslun-vorur { grid-template-columns: 1fr 1fr; }
  .wr-verslun-vorur > :nth-child(3) { display: none; }
  .wr-flokks-haus { grid-template-columns: 1fr; gap: 20px; }
  .wr-flokks-mynd { order: -1; aspect-ratio: 2 / 1; margin: 0 -20px; }
}

/* ---- Product cards: choices line and price ---- */
.wr-kort h3 { font-size: 18px; font-weight: 600; margin: 16px 0 4px; }
.wr-kort-val { margin: 0 0 8px; font-size: 14px; color: #6b7773; }
.wr-kort-verd { margin: 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 8px; color: var(--wr-skogur); }
.wr-kort-fra { font-size: 14px; color: #6b7773; }
.wr-kort-nu { font-size: 18px; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.wr-kort-nu .wr-kr, .wr-kort-verd del .wr-kr { font-size: .8em; font-weight: 500; }
.wr-kort-verd--tilbod .wr-kort-nu { color: var(--wp--preset--color--vinraudur); }
.wr-kort-verd del { font-size: 14px; color: #8c9a95; font-variant-numeric: tabular-nums; }
@media (max-width: 900px) { .wr-kort h3 { font-size: 15.5px; } .wr-kort-nu { font-size: 16px; } .wr-kort-val, .wr-kort-fra, .wr-kort-verd del { font-size: 13px; } }

/* ---- Category header: pale sage panel with the text, the group photo beside it ---- */
.wr-flokks-haus { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; align-items: stretch; background: var(--wr-foel); margin-top: 8px; }
.wr-flokks-texti { padding: 56px 56px 48px; display: flex; flex-direction: column; justify-content: flex-end; }
.wr-flokks-texti h1 { margin: 0; }
.wr-flokks-texti .wr-listi-lina { margin-top: 12px; }
.wr-flokks-fjoldi { margin: 20px 0 0; font-size: 14px; font-weight: 600; color: var(--wr-salvia); }
.wr-flokks-mynd { aspect-ratio: auto; min-height: 360px; }
@media (max-width: 900px) {
  .wr-flokks-haus { grid-template-columns: 1fr; margin: 8px -20px 0; }
  .wr-flokks-texti { padding: 28px 20px; }
  .wr-flokks-mynd { min-height: 200px; margin: 0; aspect-ratio: auto; order: -1; }
}
/* Category banner: a calmer shape so square/portrait photos crop less (focal point per group in WR_VALMYND) */
@media (min-width: 901px) {
  .wr-flokks-haus { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
  .wr-flokks-mynd { min-height: 440px; }
}
@media (max-width: 900px) { .wr-flokks-mynd { min-height: 0; aspect-ratio: 4 / 3; } }
/* One post, portrait photo: photo capped at ~70% of the screen, text centred beside it (the user: the tall photo left
   the text stranded at the top) */
@media (min-width: 901px) {
  .wr-frett--skammsnid .wr-frett-grind { align-items: center; gap: 80px; }
  .wr-frett--skammsnid .wr-frett-mynd img { max-height: min(70vh, 720px); }
  .wr-frett--skammsnid .wr-frett-texti { position: static; padding-top: 0; }
}
/* One post, portrait photo (the user, 11 Nov 2026: a 1:2 phone photo became a thin strip): framed 4:5 at a fixed
   width, cropped around the middle, with the text centred beside it */
@media (min-width: 901px) {
  .wr-frett--skammsnid .wr-frett-grind { grid-template-columns: 560px minmax(0, 1fr); gap: 72px; align-items: center; }
  .wr-frett--skammsnid .wr-frett-mynd { max-width: none; }
  .wr-frett--skammsnid .wr-frett-mynd img { width: 100%; max-width: none; height: auto; max-height: none; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 62%; }
}
@media (min-width: 901px) and (max-width: 1200px) { .wr-frett--skammsnid .wr-frett-grind { grid-template-columns: 440px minmax(0, 1fr); gap: 48px; } }

/* ---- Review fixes, 11 Nov 2026 ---- */
/* WooCommerce's own "Til á lager" line: our delivery note says it already */
.wr-kaupa .woocommerce-variation-availability { display: none; }
/* Empty cart: our message and the groups */
.wr-tom-karfa-texti { font-size: 20px; margin: 0 0 18px; }
.wr-tom-karfa > .wr-takki { margin-bottom: 56px; }
/* Ordinary pages: title, photo and text share the left edge of the 1340 frame; text keeps its 760 column */
.wr-venjuleg .wr-sidu-haus, .wr-venjuleg .wr-sidu-texti { max-width: calc(var(--wr-breidd) + 2 * var(--wr-kantur)); margin-left: auto; margin-right: auto; }
.wr-venjuleg .wr-sidu-haus > *, .wr-venjuleg .wr-sidu-texti > * { max-width: 760px; margin-left: 0 !important; margin-right: auto !important; }
.wr-venjuleg .wr-sidu-mynd { max-width: calc(var(--wr-breidd) + 2 * var(--wr-kantur)); }
/* Front page news card: no empty right half */
@media (min-width: 901px) { .wr-budin-kort { max-width: 1060px; grid-template-columns: 340px 1fr; } .wr-budin-texti { max-width: 600px; } }

/* ---- Motion (assets/js/hreyfing.js): slow and quiet. Only active when the script runs and motion isn't reduced ---- */
:root { --wr-mjukt: cubic-bezier(.22, .61, .36, 1); }
.wr-haus-svaedi { transition: box-shadow .4s var(--wr-mjukt); }
.wr-haus-svaedi.er-skrunad { box-shadow: 0 10px 30px -18px rgba(29, 43, 39, .35); }

/* hero / category banner: the photo settles from a slight zoom, the text rises in line by line */
.wr-hreyfing .wr-hetja-mynd, .wr-hreyfing .wr-flokks-mynd { transform: scale(1.06); transition: transform 2.4s var(--wr-mjukt); }
.wr-hreyfing.wr-komin .wr-hetja-mynd, .wr-hreyfing.wr-komin .wr-flokks-mynd { transform: none; }
.wr-hetja-mynd, .wr-flokks-mynd { will-change: transform; }
.wr-hetja, .wr-flokks-haus { overflow: hidden; }
.wr-hreyfing .wr-hetja-texti > *, .wr-hreyfing .wr-flokks-texti > * { opacity: 0; transform: translateY(14px); transition: opacity 1s var(--wr-mjukt), transform 1s var(--wr-mjukt); }
.wr-hreyfing.wr-komin .wr-hetja-texti > *, .wr-hreyfing.wr-komin .wr-flokks-texti > * { opacity: 1; transform: none; }
.wr-hreyfing .wr-hetja-texti > :nth-child(2), .wr-hreyfing .wr-flokks-texti > :nth-child(2) { transition-delay: .15s; }
.wr-hreyfing .wr-hetja-texti > :nth-child(3) { transition-delay: .3s; }
.wr-hreyfing .wr-hetja-texti > :nth-child(4) { transition-delay: .45s; }

/* sections and cards fade up as they arrive */
.wr-hreyfing .wr-birtist { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--wr-mjukt) var(--wr-seinkun, 0ms), transform .9s var(--wr-mjukt) var(--wr-seinkun, 0ms); }
.wr-hreyfing .wr-birtist.er-synilegt { opacity: 1; transform: none; }

/* photos fade in when loaded */
.wr-hreyfing img.wr-mynd-bidur { opacity: 0; transition: opacity .8s var(--wr-mjukt); }
.wr-hreyfing img.wr-mynd-bidur.wr-mynd-komin { opacity: 1; }

/* slower, softer hovers */
.wr-kort-mynd img, .wr-flokkur-mynd img, .wr-verslun-mynd, .wr-panill-mynd, .wr-budin-listamynd img { transition: transform 1.2s var(--wr-mjukt) !important; }
.wr-kort:hover .wr-kort-mynd img, .wr-flokkur:hover img, .wr-budin-listakort:hover img { transform: scale(1.035); }
.wr-meira { transition: gap .35s var(--wr-mjukt), color .35s; }
.wr-meira:hover { gap: 12px; }
.wr-takki, .wr-kaupa .single_add_to_cart_button, .wr-val button { transition: background-color .35s var(--wr-mjukt), color .35s, border-color .35s, transform .35s var(--wr-mjukt); }
.wr-takki:hover, .wr-kaupa .single_add_to_cart_button:hover { transform: translateY(-1px); }
.wr-panill { transition-duration: .3s !important; }

/* the price glides to its new value */
@keyframes wr-verd-inn { from { opacity: .25; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.wr-verd-breytt { animation: wr-verd-inn .5s var(--wr-mjukt); }

@media (prefers-reduced-motion: reduce) {
  .wr-kort-mynd img, .wr-flokkur-mynd img, .wr-verslun-mynd, .wr-panill-mynd, .wr-budin-listamynd img { transition: none !important; }
}

/* ---- One frame everywhere (the user, 11 Nov 2026): header, sections, footer and the news card share the content
   width (1340 incl. the 48 px gutters = --wr-innri) and the products' 3-column grid ---- */
:root { --wr-innri: calc(var(--wr-breidd) - 2 * var(--wr-kantur)); --wr-bil: 28px; }
.wr-fotur-in, .wr-fotur-lagalegt { max-width: var(--wr-innri); }
@media (min-width: 901px) {
  .wr-budin-kort { max-width: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--wr-bil); padding: 0; align-items: stretch; }
  .wr-budin-mynd { grid-column: 1; aspect-ratio: 4 / 5; height: 100%; }
  .wr-budin-texti { grid-column: 2 / 4; max-width: 640px; padding: 48px 48px 48px 20px; align-self: center; }
}

/* ---- Checkout choices (delivery, payment): every option its own rounded box, the same in both groups ---- */
.wr-kassi-sida .wc-block-components-radio-control,
.wr-kassi-sida .wc-block-components-radio-control--highlight-checked { display: flex; flex-direction: column; gap: 10px; border: 0 !important; box-shadow: none !important; }
.wr-kassi-sida .wc-block-components-radio-control--highlight-checked::after { display: none !important; }
.wr-kassi-sida .wc-block-components-radio-control__option,
.wr-kassi-sida .wc-block-components-radio-control-accordion-option {
  margin: 0 !important; border: 1.5px solid #cfd8d4 !important; border-radius: 14px !important; background: #fff; box-shadow: none !important; }
.wr-kassi-sida .wc-block-components-radio-control__option { padding: 16px 18px 16px 52px !important; }
.wr-kassi-sida .wc-block-components-radio-control__option::after, .wr-kassi-sida .wc-block-components-radio-control-accordion-option::after { display: none !important; }
.wr-kassi-sida .wc-block-components-radio-control__option--checked-option-highlighted,
.wr-kassi-sida .wc-block-components-radio-control-accordion-option--checked-option-highlighted,
.wr-kassi-sida .wc-block-components-radio-control__option:has(input:checked),
.wr-kassi-sida .wc-block-components-radio-control-accordion-option:has(input:checked) { border-color: var(--wr-salvia) !important; box-shadow: inset 0 0 0 1px var(--wr-salvia) !important; }
.wr-kassi-sida .wc-block-components-radio-control-accordion-option .wc-block-components-radio-control__option { border: 0 !important; border-radius: 0 !important; background: none; }
.wr-kassi-sida .wc-block-components-radio-control__input { left: 18px !important; }
/* payment method label: text and card icon on one line with room between */
.wr-kassi-sida .wc-block-components-payment-method-label { display: inline-flex !important; align-items: center; gap: 10px; }
.wr-kassi-sida .wc-block-components-payment-method-label img, .wr-kassi-sida .wc-block-components-payment-method-label svg { margin: 0 !important; height: 22px; width: auto; }
.wr-kassi-sida .wc-block-components-radio-control-accordion-content { padding: 0 18px 16px 52px !important; color: var(--wr-grar); }
/* payment option: no inner line, clean rounded corners */
.wr-kassi-sida .wc-block-components-radio-control-accordion-option { overflow: hidden; }
.wr-kassi-sida .wc-block-components-radio-control-accordion-option .wc-block-components-radio-control__option { border-bottom: 0 !important; box-shadow: none !important; padding-bottom: 8px !important; }
.wr-kassi-sida .wc-block-components-radio-control-accordion-content { border: 0 !important; }
.wr-kassi-sida .wc-block-components-radio-control-accordion-option .wc-block-components-radio-control__option,
.wr-kassi-sida .wc-block-components-radio-control-accordion-option .wc-block-components-radio-control__option:has(input:checked) { border: 0 !important; box-shadow: none !important; background: transparent; }
/* Rapyd's own label (title + card icon floated right) */
.wr-kassi-sida .rapyd-payment-method__label { display: inline-flex; align-items: center; gap: 12px; }
.wr-kassi-sida .rapyd-payment-method__icon { float: none !important; height: 22px; width: auto; margin: 0 !important; }

/* ---- Card payment page (WooCommerce "order-pay", where Rapyd's card form sits): one centred column ---- */
body.woocommerce-order-pay .wr-kassi-sida > .wp-block-post-title,
body.woocommerce-order-pay .wr-kassi-sida .wp-block-post-content > * { max-width: 760px !important; margin-left: auto !important; margin-right: auto !important; }
body.woocommerce-order-pay .wr-kassi-sida > .wp-block-post-title { padding: 0; margin-top: 56px !important; margin-bottom: 28px !important; font-size: clamp(34px, 4vw, 48px); }
body.woocommerce-order-pay table.shop_table { border-radius: 0 !important; border-collapse: collapse; }
body.woocommerce-order-pay #payment { background: var(--wr-foel) !important; border-radius: 0 !important; }
body.woocommerce-order-pay #payment div.payment_box { background: #fff !important; color: var(--wr-grar); border-radius: 0 !important; }
body.woocommerce-order-pay #payment div.payment_box::before { border-bottom-color: #fff !important; }
body.woocommerce-order-pay #payment ul.payment_methods { border-bottom-color: rgba(44, 64, 59, .12) !important; }
body.woocommerce-order-pay #payment .place-order { font-size: 15px; color: var(--wr-grar); }
@media (max-width: 900px) { body.woocommerce-order-pay .wr-kassi-sida > .wp-block-post-title { margin-top: 32px !important; padding: 0 var(--wr-kantur); } }
body.woocommerce-order-pay ul.order_details { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; list-style: none; background: var(--wr-foel); padding: 22px 26px !important; margin: 8px auto 36px !important; }
body.woocommerce-order-pay ul.order_details li { border: 0 !important; margin: 0 !important; padding: 0 !important; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--wr-grar); }
body.woocommerce-order-pay ul.order_details li strong { display: block; margin-top: 4px; font-size: 17px; letter-spacing: 0; text-transform: none; color: var(--wr-blek); }
body.woocommerce-order-pay #order_review, body.woocommerce-order-pay form#order_review { max-width: 760px; margin: 0 auto; }
@media (max-width: 900px) { body.woocommerce-order-pay ul.order_details { grid-template-columns: 1fr 1fr; } }

/* ---- Order confirmation, "takk fyrir" (inc/kassi.php) ---- */
.wr-takk { max-width: 760px; margin: 0 auto 40px; padding: 56px 0 8px; }
.wr-takk-merki { width: 64px; height: 64px; border-radius: 50%; background: var(--wr-foel); color: var(--wr-salvia); display: grid; place-items: center; margin: 0 0 24px; }
.wr-takk h1 { font-size: clamp(38px, 4.6vw, 56px); line-height: 1.04; margin: 0 0 16px; }
.wr-takk-lina { font-size: 19px; color: #2f3d39; margin: 0 0 24px; }
.wr-takk-naest { display: flex; gap: 12px; background: var(--wr-foel); padding: 18px 20px; margin: 0 0 28px; font-size: 16px; color: #2f3d39; }
.wr-takk-naest .wr-i { flex: none; color: var(--wr-salvia); margin-top: 2px; }
.wr-takk-takkar { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; margin: 0; }
.wr-takk--villa .wr-takki { background: var(--wp--preset--color--vinraudur); }
.wr-stadfesting .wc-block-order-confirmation-summary { margin-top: 8px; }
@media (max-width: 900px) { .wr-takk { padding-top: 32px; } .wr-takk-lina { font-size: 17px; } }
.wr-stadfesting .wr-takk { max-width: 980px; padding-top: 32px; }
.wr-stadfesting .wr-takk .wr-takki { color: #fff !important; }
.wr-stadfesting .wr-takk .wr-takki:hover { color: #fff !important; }
.wr-stadfesting .wc-block-order-confirmation-summary { border-radius: 0 !important; }

/* Only one can be bought (e.g. 1 in stock): WooCommerce hides the number field, so no empty quantity box either */
.wr-kaupa .quantity:has(input[type="hidden"]) { display: none; }
/* WooCommerce's own "Til á lager" line: the delivery line under the button already says it */
.wr-kaupa p.stock.in-stock { display: none; }

/* Phone price bar: slimmer, and slides away while the buy button itself is on screen */
@media (max-width: 900px) {
  .wr-stika { padding: 8px 20px calc(8px + env(safe-area-inset-bottom)); transition: transform .35s cubic-bezier(.22, .61, .36, 1), visibility .35s; }
  .wr-stika.is-falin { transform: translateY(110%); visibility: hidden; }
  .wr-stika-verd { font-size: 17px !important; }
  .wr-stika-val { font-size: 12px; }
  .wr-stika-takki { padding: 11px 20px; font-size: 15px; }
  body.wr-med-stiku { padding-bottom: 64px; }
}

/* Checkout and cart on phones: WooCommerce keeps the desktop gap (padding-right on the main column) even when the
   summary sits above, so the fields stopped short of the right edge */
.wc-block-components-sidebar-layout.is-mobile .wc-block-components-main,
.wc-block-components-sidebar-layout.is-small .wc-block-components-main { padding-right: 0 !important; }
/* … and the order summary (above the form on phones) needs air before "Tengiliðaupplýsingar" */
.wc-block-checkout.is-mobile .wc-block-checkout__main,
.wc-block-checkout.is-small .wc-block-checkout__main { padding-top: 40px; }

/* ---- One spacing system (12 Nov 2026, the user: "check spacing in general") ----
   Every page's top: --wr-topp between the header and the page's first line (as ordinary pages, search and 404 had).
   Every page's text and title share the frame of the header (1340 incl. the gutters = logo edge), not the old wider
   frame that put ordinary pages and the cart/checkout titles 48 px left of the logo. */
:root { --wr-topp: 64px; }
@media (max-width: 900px) { :root { --wr-topp: 36px; } }
.wr-venjuleg, .wr-leit-haus, .wr-kassi-sida, .wr-stadfesting { padding-top: var(--wr-topp) !important; }
.wr-stadfesting .wr-takk { padding-top: 0 !important; }
body.woocommerce-order-pay .wr-kassi-sida > .wp-block-post-title { margin-top: 0 !important; }
.wr-venjuleg .wr-sidu-haus, .wr-venjuleg .wr-sidu-texti, .wr-venjuleg .wr-sidu-mynd { max-width: var(--wr-breidd) !important; }
.wr-kassi-sida > .wp-block-post-title { max-width: var(--wr-breidd) !important; padding: 0 var(--wr-kantur) !important; box-sizing: border-box; margin-top: 0 !important; }
body.woocommerce-order-pay .wr-kassi-sida > .wp-block-post-title { max-width: 760px !important; padding: 0 !important; }
@media (max-width: 900px) { body.woocommerce-order-pay .wr-kassi-sida > .wp-block-post-title { padding: 0 var(--wr-kantur) !important; } }
/* Cart rows on phones: WooCommerce's fixed grid (80 + 132 px + price, 16 px gaps) was 23 px wider than our phone
   column, so the whole cart page could slide sideways; image, product (fluid) and price instead */
.is-mobile table.wc-block-cart-items, .is-small table.wc-block-cart-items { border-spacing: 0; }
.is-mobile table.wc-block-cart-items .wc-block-cart-items__row,
.is-small table.wc-block-cart-items .wc-block-cart-items__row { grid-template-columns: 64px minmax(0, 1fr) auto !important; column-gap: 14px !important; }
.is-mobile table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__image,
.is-small table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__image { padding-right: 0 !important; }
.is-mobile table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__product,
.is-small table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__product { grid-column: 2 / 3 !important; }
.is-mobile table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__total,
.is-small table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__total { grid-column: 3 !important; }
