/* Hovdenak verslun – sama vörumerki og distillery.is (Cormorant Garamond + Inter, gull á dökku), en bjartari:
   dökkur haus og borði efst, ljósir hlýir fletir fyrir vörur, körfu og vörusíðu. Vörumyndir eru alltaf á hvítu. */
:root {
  --night: #0a0a0b;
  --night2: #15120e;
  --cream: #f6f1e8;
  --cream2: #efe7d8;
  --paper: #fff;
  --ink: #1b1916;
  --mute: #5d564b;
  --line: #e4dac8;
  --gold: #c9a45c;
  --gold-hi: #e0bd73;
  --gold-ink: #7d5f24;      /* gull sem texti á ljósu (AA) */
  --on-dark: #f5f2ea;
  --mute-dark: #cfc6b6;
  --danger: #a23b2a;
  --shadow: 0 1px 2px rgba(27, 25, 22, .06), 0 10px 30px -12px rgba(27, 25, 22, .18);
  --shadow-hi: 0 2px 4px rgba(27, 25, 22, .06), 0 22px 44px -16px rgba(27, 25, 22, .3);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: 16px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased;
  min-height: 100vh; display: flex; flex-direction: column; overflow-x: hidden;
}
main { flex: 1; width: 100%; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
h1, h2 { font-family: var(--serif); font-weight: 500; line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.005em; }
h1 { font-size: clamp(2.3rem, 7vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); }
a { color: var(--gold-ink); text-decoration: none; }
a:hover { color: var(--ink); }
img { max-width: 100%; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--mute); }
.eyebrow { margin: 0 0 10px; font: 600 .75rem/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-ink); }
select:focus-visible, input:focus-visible, button:focus-visible, a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

/* ---------- haus (dökkur, eins og distillery.is) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; flex-wrap: wrap; gap: 10px 18px;
  padding: 10px max(var(--gutter), calc((100% - 1180px) / 2 + var(--gutter)));
  background: rgba(10, 10, 11, .9); color: var(--on-dark);
  backdrop-filter: saturate(1.5) blur(14px); -webkit-backdrop-filter: saturate(1.5) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.site-header .bar { display: contents; }
.brand { order: 0; display: inline-flex; align-items: center; gap: 10px; color: var(--on-dark); }
.brand:hover { color: var(--on-dark); }
.brand img { width: 34px; height: 34px; }
.brand .bn { font: 600 1.2rem/1 var(--serif); letter-spacing: .2em; }
.brand .bn span { color: var(--gold); }
.site-header nav { order: 2; display: flex; align-items: center; gap: 18px; font: 500 .78rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.site-header nav a { color: var(--on-dark); opacity: .88; display: inline-flex; align-items: center; gap: 7px; }
.site-header nav a:hover { color: var(--gold); opacity: 1; }
.cart-link { padding: 8px 12px 8px 10px; border: 1px solid rgba(201, 164, 92, .55); border-radius: 999px; }
.cart-link .ic { width: 18px; height: 18px; }
.badge { display: inline-block; min-width: 1.6em; padding: 0 .45em; border-radius: 999px; background: var(--gold); color: #17130a; text-align: center; font: 600 .72rem/1.6 var(--sans); letter-spacing: 0; }
.badge.bump { animation: bump .4s ease; }
@keyframes bump { 40% { transform: scale(1.35); } }
.tools { order: 1; margin-left: auto; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.langs { display: inline-flex; border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; overflow: hidden; }
button.lang { background: none; border: 0; color: var(--mute-dark); font: 500 .75rem var(--sans); padding: 6px 11px; cursor: pointer; letter-spacing: .1em; }
button.lang.on { background: var(--gold); color: #17130a; }
.tools select {
  background: rgba(255, 255, 255, .06); color: var(--on-dark); border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px;
  font: 400 .82rem var(--sans); padding: 6px 10px; max-width: 46vw; min-width: 0;
}
.tools select option { color: var(--ink); background: #fff; }
.tools .sel { min-width: 0; }
.tools select.cur { font-weight: 600; letter-spacing: .02em; padding-right: 8px; }
.ship-to { margin-bottom: 18px; }
.ship-to select { background: var(--paper); color: var(--ink); border: 1px solid #d6cbb7; border-radius: 10px; padding: 12px 13px; font: 500 1rem var(--sans); width: 100%; }

/* ---------- hnappar ---------- */
.btn, button.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-align: center;
  padding: 13px 22px; border-radius: 999px; border: 1px solid var(--gold-ink);
  background: none; color: var(--gold-ink); font: 600 .8rem/1.1 var(--sans); letter-spacing: .12em; text-transform: uppercase; cursor: pointer;
  transition: transform .18s, background .18s, color .18s, box-shadow .18s;
}
.btn:hover { background: rgba(201, 164, 92, .14); color: var(--ink); transform: translateY(-1px); }
.btn.gold { background: var(--gold); border-color: var(--gold); color: #17130a; }
.btn.gold:hover { background: var(--gold-hi); border-color: var(--gold-hi); color: #17130a; box-shadow: 0 8px 20px -8px rgba(160, 120, 40, .6); }
.btn.ghost { border-color: rgba(201, 164, 92, .7); color: var(--on-dark); }
.btn.ghost:hover { background: rgba(201, 164, 92, .16); color: #fff; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-btns .btn { padding: 13px 18px; letter-spacing: .08em; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.unavailable {
  display: inline-flex; align-items: center; gap: 7px; margin: 0; align-self: flex-start;
  font: 500 .78rem/1 var(--sans); letter-spacing: .08em; color: var(--mute);
  padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--cream);
}
.unavailable::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #b9ad98; }

/* ---------- tilkynningar ---------- */
.msg { border-left: 2px solid var(--gold); padding: 10px 14px; color: var(--ink); background: rgba(201, 164, 92, .1); margin: 16px 0; border-radius: 0 8px 8px 0; }
.msg.error { border-color: var(--danger); color: var(--danger); background: rgba(162, 59, 42, .07); }
.msg.error:empty { display: none; }
.msg.notice {
  display: flex; align-items: center; justify-content: center; gap: 10px; text-align: center;
  border: 1px solid rgba(201, 164, 92, .55); border-radius: 999px; background: #fffaf0;
  padding: 10px 18px; font-size: .9rem; color: var(--ink); margin: 0 auto 26px; width: fit-content; max-width: 100%;
}
.msg.notice::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(201, 164, 92, .25); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(201, 164, 92, 0); } }
.fine { font-size: .8rem; color: var(--mute); margin-top: 28px; }

/* ---------- forsíða: borði ---------- */
.hero-band { position: relative; overflow: hidden; background: var(--night); color: var(--on-dark); }
.hero-band::before {
  content: ""; position: absolute; right: -15%; top: -30%; width: 80vw; height: 80vw; max-width: 1000px; max-height: 1000px;
  background: radial-gradient(closest-side, rgba(217, 181, 106, .2), rgba(217, 181, 106, 0)); pointer-events: none;
}
.hero-band::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(217, 181, 106, .45), transparent); }
.hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 72px; }
.hero-copy .eyebrow { color: var(--gold); }
.hero-copy h1 { font-size: clamp(2.6rem, 5.4vw, 4.6rem); line-height: 1; margin-bottom: 18px; color: #fff; }
.hero-copy .lead { color: var(--mute-dark); font-size: 1.1rem; max-width: 34rem; margin: 0 0 28px; }
.hero-pics { position: relative; height: 460px; }
.hp {
  position: absolute; width: 46%; aspect-ratio: 560 / 760; height: auto; object-fit: cover; border-radius: 18px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .75), 0 0 0 1px rgba(217, 181, 106, .18);
  animation: rise .9s cubic-bezier(.2, .7, .2, 1) both, float 9s ease-in-out infinite;
}
.hp0 { left: 0; top: 40px; --r: -4deg; animation-delay: 0s, .9s; }
.hp1 { left: 27%; top: 0; z-index: 2; width: 48%; --r: 1deg; animation-delay: .12s, 1.4s; }
.hp2 { right: 0; top: 70px; --r: 5deg; animation-delay: .24s, 2s; }
@keyframes rise { from { opacity: 0; transform: translateY(30px) rotate(var(--r)); } to { opacity: 1; transform: rotate(var(--r)); } }
@keyframes float { 0%, 100% { transform: rotate(var(--r)); } 50% { transform: translateY(-8px) rotate(var(--r)); } }

/* ---------- forsíða: vörur ---------- */
.range { padding: 64px 0 80px; background: linear-gradient(var(--cream), var(--cream2)); scroll-margin-top: 60px; }
.range-head { text-align: center; margin-bottom: 26px; }
.range-head h2 { margin: 0; }
.chips { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin: 0 0 30px; }
.chips button {
  font: 500 .85rem/1 var(--sans); letter-spacing: .04em; padding: 10px 18px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: var(--paper); color: var(--ink); transition: background .2s, color .2s, border-color .2s;
}
.chips button:hover { border-color: var(--gold); }
.chips button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 24px; }
.product-card {
  position: relative; background: var(--paper); border-radius: 18px; padding: 12px 12px 18px; display: flex; flex-direction: column;
  box-shadow: var(--shadow); transition: transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s;
  animation: cardIn .6s cubic-bezier(.2, .7, .2, 1) both;
}
.grid > li:nth-child(2) { animation-delay: .05s; } .grid > li:nth-child(3) { animation-delay: .1s; } .grid > li:nth-child(4) { animation-delay: .15s; }
.grid > li:nth-child(n+5) { animation-delay: .2s; }
@keyframes cardIn { from { opacity: 0; transform: translateY(16px); } }
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hi); }
.pic-wrap { position: relative; }
.pic { display: block; aspect-ratio: 4 / 5; background: var(--paper); border-radius: 12px; overflow: hidden; }
.pic img { width: 100%; height: 100%; object-fit: contain; display: block; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.product-card:hover .pic img { transform: scale(1.04); }
.pic:has(.placeholder) { background: var(--cream); }
.placeholder { width: 100%; height: 100%; display: grid; place-items: center; color: var(--gold-ink); }
.bottle { height: 66%; width: auto; opacity: .7; }
.badges { position: absolute; left: 8px; top: 8px; display: flex; gap: 6px; flex-wrap: wrap; pointer-events: none; }
.award {
  padding: 6px 10px; border-radius: 999px;
  background: var(--ink); color: var(--gold-hi); font: 600 .68rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase;
}
/* „Nýtt“: gyllt innsigli yfir efra hægra horni myndar, hallað −10°, með glitrandi stjörnum */
.new-badge {
  position: absolute; z-index: 3; top: -14px; right: -12px; width: 72px; height: 72px;
  display: grid; place-items: center; transform: rotate(-10deg); pointer-events: none;
  filter: drop-shadow(0 6px 12px rgba(125, 95, 36, .45)) drop-shadow(0 0 1px rgba(90, 66, 22, .6));
  animation: sealIn .7s cubic-bezier(.2, 1.4, .4, 1) both .3s;
}
.new-badge .seal-bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.seal-t { position: relative; font: 800 .86rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: #1b1408; text-shadow: 0 1px 0 rgba(255, 248, 224, .7); }
.new-badge .sp { position: absolute; color: #c9a45c; filter: drop-shadow(0 0 3px rgba(255, 236, 170, .9)); animation: twinkle 2.6s ease-in-out infinite; }
.new-badge .s1 { width: 20px; height: 20px; left: -20px; top: 0; }
.new-badge .s2 { width: 14px; height: 14px; right: -4px; top: -14px; animation-delay: .7s; }
.new-badge .s3 { width: 14px; height: 14px; right: -14px; bottom: 6px; animation-delay: 1.3s; }
.new-badge .s4 { width: 12px; height: 12px; left: -6px; bottom: -10px; animation-delay: 1.9s; }
@keyframes twinkle { 0%, 100% { transform: scale(.55) rotate(0); opacity: .45; } 50% { transform: scale(1.1) rotate(20deg); opacity: 1; } }
@keyframes sealIn { from { transform: rotate(-40deg) scale(.4); opacity: 0; } }
.gallery .new-badge { top: -20px; right: -18px; width: 92px; height: 92px; }
.gallery .seal-t { font-size: 1.02rem; }
.gallery .new-badge .s1 { width: 22px; height: 22px; left: -22px; }
.gallery .new-badge .s3 { width: 16px; height: 16px; right: -18px; }

/* Bandaríkin: borði sem vísar á Longship Liquors */
.us-banner {
  display: flex; align-items: center; gap: 16px; padding: 12px max(var(--gutter), calc((100% - 1180px) / 2 + var(--gutter)));
  background: linear-gradient(90deg, #fffaf0, #f3ead6); color: var(--ink); border-bottom: 1px solid rgba(201, 164, 92, .5);
}
.us-banner:hover { color: var(--ink); background: #fff6e2; }
.us-banner img { width: 56px; height: 56px; flex: none; }
.ub-t { flex: 1; font-size: .98rem; }
.ub-t strong { font: 600 1.2rem/1.2 var(--serif); margin-right: 4px; }
.ub-go { flex: none; padding: 10px 18px; border-radius: 999px; background: var(--ink); color: var(--gold-hi); font: 600 .78rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.us-banner:hover .ub-go { background: #000; }
.us-banner.us-inline { padding: 14px 18px; border: 1px solid rgba(201, 164, 92, .55); border-radius: 12px; margin: 0 0 22px; }
.card-body { display: flex; flex-direction: column; gap: 6px; padding: 14px 6px 0; flex: 1; }
.card-body .eyebrow { margin: 0; font-size: .68rem; }
.product-card h2 { font-size: 1.5rem; margin: 0; line-height: 1.1; }
.product-card h2 a { color: var(--ink); }
.product-card h2 a::after { content: ""; position: absolute; inset: 0; border-radius: 18px; } /* allt kortið smellanlegt */
.product-card .btn, .product-card .unavailable, .product-card .card-body > a { position: relative; z-index: 1; margin-top: auto; }
.meta { margin: 2px 0 10px; color: var(--mute); }
.price { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; color: var(--gold-ink); }
.approx { font-size: .8rem; color: var(--mute); }

/* ---------- forsíða: frá eimingarhúsinu ---------- */
.story { background: var(--night2); color: var(--on-dark); padding: 72px 0; }
.story-in { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 56px; align-items: center; }
.story-wrap { display: grid; }
.story-slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility 0s .8s; }
.story-slide.on { opacity: 1; visibility: visible; transition: opacity .8s ease; }
.story-dots { grid-area: 2 / 1; }
.story-copy .btn { margin-top: 26px; }
.story-dots { display: flex; justify-content: center; gap: 4px; margin-top: 34px; }
.story-dots button { width: 28px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.story-dots button::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: rgba(245, 242, 234, .3); transition: background .3s, transform .3s; }
.story-dots button[aria-current="true"]::before { background: var(--gold); transform: scale(1.3); }
.story-img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7), 0 0 0 1px rgba(217, 181, 106, .15); }
.story .eyebrow { color: var(--gold); }
.story h2 { color: #fff; font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.story-copy > p:not(.eyebrow) { color: var(--mute-dark); font-size: 1.05rem; max-width: 36rem; }
.usps { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.usps li { display: grid; gap: 2px; padding-left: 16px; border-left: 2px solid var(--gold); color: var(--on-dark); font-size: .98rem; }
.usps strong { font: 600 italic 1.35rem/1.2 var(--serif); color: #fff; }
.usps span { color: var(--mute-dark); font-size: .92rem; }

/* ---------- vörusíða ---------- */
.product-page { padding-top: 24px; padding-bottom: 72px; }
.back { display: inline-block; margin-bottom: 18px; font-size: .9rem; color: var(--mute); }
.back:hover { color: var(--gold-ink); }
.product-card.detail {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; padding: 0; background: none; box-shadow: none; animation: none;
}
.product-card.detail:hover { transform: none; box-shadow: none; }
.gallery { position: sticky; top: 84px; align-self: start; }
.gallery .pic { border-radius: 22px; box-shadow: var(--shadow); }
button.sway { display: block; width: 100%; padding: 0; border: 0; cursor: pointer; touch-action: pan-y; -webkit-tap-highlight-color: transparent; }
.sway-face { display: block; width: 100%; height: 100%; background: var(--paper) no-repeat 0 0 / 2500% 100%; opacity: 0; transition: opacity .4s; }
.sway.ready .sway-face { opacity: 1; }
.gallery .hint { text-align: center; color: var(--mute); font-size: .8rem; margin: 12px 0 0; }
.detail .info { display: flex; flex-direction: column; align-items: stretch; padding-top: 12px; }
.detail .info h1 { margin-bottom: 14px; }
.desc { font-size: 1.12rem; color: var(--mute); margin: 0 0 22px; max-width: 34rem; }
.buy { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.buy .meta { margin: 0; }
.meta.big .price { font-size: 2.2rem; }
.buy .btn, .buy .unavailable { margin: 0; align-self: center; }
.buy .btn { min-width: 210px; }
.detail .msg.notice { margin: 18px 0 0; }
.review { margin: 26px 0 0; padding: 20px 22px; background: var(--paper); border-radius: 16px; box-shadow: var(--shadow); position: relative; }
.review blockquote { margin: 0 0 8px; font: 500 italic 1.3rem/1.35 var(--serif); color: var(--ink); }
.review figcaption { font: 600 .72rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); }
.where { margin-top: 26px; }
.where h2 { font-size: 1.4rem; margin-bottom: 8px; }
.where ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.where li { position: relative; padding-left: 22px; color: var(--mute); font-size: .95rem; }
.where li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 8px; height: 8px; border-radius: 50%; border: 2px solid var(--gold); }
.more { margin-top: 72px; }
.more h2 { text-align: center; }
.mini-grid { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.mini { display: flex; flex-direction: column; gap: 4px; padding: 10px 10px 14px; background: var(--paper); border-radius: 16px; box-shadow: var(--shadow); color: var(--ink); transition: transform .3s, box-shadow .3s; }
.mini:hover { transform: translateY(-4px); box-shadow: var(--shadow-hi); color: var(--ink); }
.mini .pic { border-radius: 10px; }
.mn { font: 500 1.15rem/1.15 var(--serif); margin-top: 8px; }
.mp { font: 600 1rem var(--serif); color: var(--gold-ink); }

/* ---------- karfa ---------- */
.cart-page { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 36px; align-items: start; padding-top: 36px; padding-bottom: 80px; }
.lines { list-style: none; margin: 8px 0 18px; padding: 6px 18px; background: var(--paper); border-radius: 18px; box-shadow: var(--shadow); }
.cart-line { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-line:last-child { border-bottom: 0; }
.cart-line .thumb { width: 76px; aspect-ratio: 4 / 5; background: var(--paper); border-radius: 8px; overflow: hidden; border: 1px solid var(--line); }
.cart-line .thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }
.cart-line .thumb .bottle { height: 80%; }
.cart-line .what { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cart-line .what > a { color: var(--ink); font: 500 1.3rem/1.15 var(--serif); overflow-wrap: anywhere; }
.cart-line .spec { font-size: .78rem; color: var(--mute); letter-spacing: .04em; }
.cart-line .amount .price { font-size: 1.25rem; }
.qty { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.qty button { background: var(--cream); border: 1px solid var(--line); color: var(--ink); width: 32px; height: 32px; border-radius: 999px; cursor: pointer; font-size: 1rem; line-height: 1; }
.qty button:hover { border-color: var(--gold); }
.qty button.link { width: auto; height: auto; background: none; border: 0; color: var(--mute); text-decoration: underline; font-size: .8rem; margin-left: 6px; }
.qty .n { min-width: 1.6em; text-align: center; font-weight: 600; }
.cart-side { background: var(--paper); border-radius: 18px; box-shadow: var(--shadow); padding: 24px; position: sticky; top: 84px; }
.cart-side:empty { display: none; }
.cart-side > :first-child { margin-top: 0; }
.cart-side .msg.notice { border-radius: 12px; width: auto; margin: 18px 0 0; }
.summary h2 { font-size: 1.5rem; }
.ship { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 13px 14px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 8px; cursor: pointer; transition: border-color .2s, background .2s; }
.ship:has(input:checked) { border-color: var(--gold); background: #fffaf0; }
.ship input { accent-color: var(--gold-ink); }
.ship .price { font-size: 1.1rem; }
.note { color: var(--mute); font-size: .9rem; margin: 14px 0; }
.totals { display: grid; grid-template-columns: 1fr auto; gap: 6px 0; margin: 18px 0 0; }
.totals dt, .totals dd { margin: 0; color: var(--mute); }
.totals dd { text-align: right; padding-left: 16px; }
.totals .grand { color: var(--ink); font-family: var(--serif); font-size: 1.7rem; font-weight: 600; padding-top: 10px; margin-top: 4px; border-top: 1px solid var(--line); }
.checkout { margin-top: 26px; display: grid; gap: 14px; padding-top: 22px; border-top: 1px solid var(--line); }
.field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.field label { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); font-weight: 600; }
input[type="text"], input[type="email"], input:not([type]) {
  background: var(--paper); color: var(--ink); border: 1px solid #d6cbb7; border-radius: 10px; padding: 12px 13px; font: 400 1rem var(--sans); width: 100%; min-width: 0;
}
input:focus { border-color: var(--gold); }
.row2 { display: grid; grid-template-columns: 1fr 2fr; gap: 12px; }
.check { display: flex; gap: 10px; align-items: flex-start; }
.check input { accent-color: var(--gold-ink); width: 20px; height: 20px; margin-top: 3px; flex: none; }
#pay-btn { width: 100%; padding: 16px; font-size: .85rem; }
.secure { margin: 0; text-align: center; font-size: .78rem; color: var(--mute); }
.cart-empty, .thanks { padding-top: 72px; padding-bottom: 96px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.cart-empty .msg { border: 0; background: none; color: var(--mute); padding: 0; margin: 0 0 24px; }
.big-ic { width: 64px; height: 64px; color: var(--gold-ink); margin-bottom: 14px; }
.thanks-card { background: var(--paper); border-radius: 22px; box-shadow: var(--shadow); padding: 44px 28px; max-width: 560px; width: 100%; display: flex; flex-direction: column; align-items: center; }
.thanks-card .lead { color: var(--mute); font-size: 1.1rem; margin: 0 0 18px; }
.order { font-size: 1.1rem; overflow-wrap: anywhere; margin: 0 0 18px; padding: 10px 18px; background: var(--cream); border-radius: 999px; }
.thanks-card .note { margin: 0 0 22px; }

/* ---------- fótur (eins og distillery.is) ---------- */
.site-footer { background: var(--night); color: var(--mute-dark); padding: 56px 16px 40px; text-align: center; }
.site-footer p { margin: 0 0 12px; font-size: .9rem; }
.site-footer a { color: var(--on-dark); border-bottom: 1px solid rgba(201, 164, 92, .45); }
.site-footer a:hover { color: var(--gold); }
.fbrand { font: 600 1.7rem/1 var(--serif) !important; letter-spacing: .24em; color: var(--on-dark); }
.fbrand span { display: block; font: 500 .68rem/1 var(--sans); letter-spacing: .42em; color: var(--gold); margin-top: 10px; }
.site-footer .rule { width: 56px; height: 1px; background: var(--gold); margin: 22px auto; }
.site-footer .fsmall { font-size: .75rem; color: #8f877a; margin-top: 18px; }

/* ---------- minni skjáir ---------- */
@media (max-width: 900px) {
  .hero-in { grid-template-columns: 1fr; gap: 28px; padding-top: 40px; padding-bottom: 48px; }
  .hero-pics { height: 300px; max-width: 520px; width: 100%; margin: 0 auto; }
  .story-in { grid-template-columns: 1fr; gap: 32px; }
  .story-img { aspect-ratio: 16 / 10; }
  .cart-page { grid-template-columns: 1fr; gap: 20px; }
  .cart-side { position: static; }
  .mini-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .product-card.detail { grid-template-columns: 1fr; gap: 20px; }
  .gallery { position: static; max-width: 420px; width: 100%; margin: 0 auto; }
  .detail .info { padding-top: 0; }
  /* kaupahnappur fylgir neðst á skjánum meðan varan er í sýn */
  .buy {
    position: sticky; bottom: 10px; z-index: 5; margin: 0 -6px; padding: 10px 10px 10px 18px; justify-content: space-between; flex-wrap: nowrap;
    background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-hi);
  }
  .meta.big .price { font-size: 1.6rem; }
  .buy .btn { min-width: 0; padding: 12px 18px; }
}
@media (max-width: 640px) {
  .site-header { gap: 8px 10px; padding-top: 8px; padding-bottom: 8px; }
  .brand img { width: 28px; height: 28px; }
  .brand .bn { font-size: 1rem; letter-spacing: .14em; }
  .brand .bn span { display: none; }
  .site-header nav { margin-left: auto; gap: 12px; }
  .site-header nav > a:first-child { display: none; }
  .cart-link .cl { display: none; }
  .tools { order: 3; width: 100%; margin: 0; justify-content: flex-start; }
  .tools select { max-width: 52vw; }
  .range { padding: 44px 0 56px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .product-card { padding: 8px 8px 12px; border-radius: 14px; }
  .product-card h2 { font-size: 1.15rem; }
  .card-body { padding: 10px 4px 0; gap: 4px; }
  .card-body .eyebrow { font-size: .6rem; letter-spacing: .14em; }
  .price { font-size: 1.2rem; }
  .meta { margin-bottom: 8px; }
  .product-card .btn { padding: 11px 8px; font-size: .68rem; letter-spacing: .06em; }
  .product-card .unavailable { font-size: .7rem; padding: 7px 10px; }
  .badges { left: 6px; top: 6px; gap: 4px; }
  .award { font-size: .6rem; padding: 6px 8px; }
  .product-card .new-badge { width: 64px; height: 64px; top: -12px; right: -8px; }
  .product-card .seal-t { font-size: .74rem; }
  .gallery { position: relative; top: auto; }
  .gallery .new-badge { right: -6px; width: 84px; height: 84px; }
  .product-card .new-badge .s3, .gallery .new-badge .s3 { right: -4px; bottom: -6px; }
  .us-banner { flex-wrap: wrap; gap: 10px 12px; padding-top: 10px; padding-bottom: 12px; }
  .us-banner img { width: 44px; height: 44px; }
  .ub-t { flex: 1 1 200px; font-size: .9rem; }
  .ub-go { width: 100%; text-align: center; padding: 11px; }
  .chips { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(-1 * var(--gutter)) 22px; padding: 2px var(--gutter); scrollbar-width: none; }
  .chips button { flex: none; }
  .hero-copy h1 { font-size: 2.5rem; }
  .hero-pics { height: 300px; }
  .msg.notice { border-radius: 14px; }
  .story { padding: 52px 0; }
  .cart-line { grid-template-columns: 60px minmax(0, 1fr) auto; gap: 12px; }
  .cart-line .thumb { width: 60px; }
  .lines { padding: 4px 14px; }
  .cart-side { padding: 18px; }
  .totals .grand { font-size: 1.45rem; }
  .row2 { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
