:root {
  --ink: #111; --muted: #6b6b6b; --line: #e6e6e6; --bg: #fff; --soft: #f7f7f7;
  --head: #000; --head-ink: #fff; --accent: #b3121f; --ok: #1d7a3a; --warn: #9a6200; --err: #b3121f;
  --radius: 4px; --max: 1200px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: Helvetica, Arial, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.5; font-size: 16px; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.announce { background: var(--accent); color: #fff; text-align: center; font-size: 14px; padding: 8px 16px; }
.demo-bar { background: #fff4d6; color: #6b4d00; text-align: center; font-size: 13px; padding: 6px 16px; border-bottom: 1px solid #f0dca0; }

/* header */
.site-header { background: var(--head); color: var(--head-ink); position: sticky; top: 0; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.logo img { height: 46px; width: auto; }
.logo span { font-size: 22px; letter-spacing: .05em; text-decoration: none; }
.logo { text-decoration: none; }
.nav { display: flex; gap: 22px; margin: 0 auto; font-size: 14px; }
.nav a { text-decoration: none; padding: 6px 0; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a.on { border-bottom-color: currentColor; }
.icons { display: flex; gap: 14px; align-items: center; }
.icons a { text-decoration: none; display: inline-flex; position: relative; }
.icons svg { width: 22px; height: 22px; }
.count { position: absolute; top: -8px; right: -10px; background: #fff; color: #000; border-radius: 10px; font-size: 11px; min-width: 18px; height: 18px; text-align: center; line-height: 18px; padding: 0 4px; font-weight: bold; }
.menu-btn { display: none; background: none; border: 0; color: inherit; padding: 4px; cursor: pointer; }
.searchbar { background: #111; display: none; }
.searchbar.open { display: block; }
.searchbar form { display: flex; gap: 8px; padding: 12px 0; }
.searchbar input { flex: 1; }
@media (max-width: 760px) {
  .menu-btn { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #000; flex-direction: column; gap: 0; padding: 8px 20px 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 10px 0; border-bottom: 1px solid #222; }
  .site-header .wrap { justify-content: space-between; }
  .logo img { height: 38px; }
}

/* flash */
.flashes { max-width: var(--max); margin: 16px auto 0; padding: 0 20px; }
.flash { padding: 10px 14px; border-radius: var(--radius); margin-bottom: 8px; font-size: 15px; border: 1px solid; }
.flash.ok { background: #eef8f1; border-color: #bfe3cb; color: var(--ok); }
.flash.warn { background: #fff7e6; border-color: #f2d9a6; color: var(--warn); }
.flash.error { background: #fdeeee; border-color: #f2c1c1; color: var(--err); }

/* hero */
.hero { position: relative; min-height: 460px; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; background: #333 center/cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.25); }
.hero > div { position: relative; padding: 40px 20px; }
.hero h1 { font-size: clamp(32px, 5vw, 52px); margin: 0 0 8px; font-weight: bold; text-shadow: 0 1px 8px rgba(0,0,0,.4); }
.hero p { font-size: 18px; margin: 0 0 20px; text-shadow: 0 1px 6px rgba(0,0,0,.5); }

/* buttons + forms */
.btn { display: inline-block; background: #000; color: #fff; border: 1px solid #000; padding: 12px 24px; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; cursor: pointer; border-radius: var(--radius); font-family: inherit; text-align: center; }
.btn:hover { background: #333; }
.btn.light { background: #fff; color: #000; border-color: #fff; }
.btn.outline { background: #fff; color: #000; border-color: #000; }
.btn.outline:hover { background: var(--soft); }
.btn.block { display: block; width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.link-btn { background: none; border: 0; padding: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font: inherit; font-size: 14px; }
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=search], input[type=password], input[type=date], select, textarea {
  font: inherit; font-size: 16px; padding: 10px 12px; border: 1px solid #ccc; border-radius: var(--radius); background: #fff; color: var(--ink); width: 100%; }
input:focus, select:focus, textarea:focus { outline: 2px solid #000; outline-offset: -1px; }
label { font-size: 14px; color: #333; display: block; margin-bottom: 4px; }
.field { margin-bottom: 14px; }
.field .err { color: var(--err); font-size: 13px; margin-top: 3px; }
.field.has-err input { border-color: var(--err); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.row3 { display: grid; grid-template-columns: 1fr 2fr; gap: 12px; }

/* sections */
.section { padding: 48px 0; }
.section h2 { text-align: center; font-size: 24px; font-weight: normal; margin: 0 0 28px; }
.page-title { text-align: center; font-size: 30px; font-weight: normal; margin: 40px 0 24px; }
.rte { max-width: 760px; margin: 0 auto; }
.rte h1 { font-size: 26px; }
.rte img { margin: 16px auto; }

/* collection tiles */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; }
@media (max-width: 640px) { .tiles { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
.tile { text-decoration: none; position: relative; display: block; overflow: hidden; border-radius: var(--radius); background: var(--soft); aspect-ratio: 1; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.tile:hover img { transform: scale(1.04); }
.tile span { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px; background: linear-gradient(transparent, rgba(0,0,0,.65)); color: #fff; font-size: 18px; }

/* product grid */
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 24px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.toolbar select { width: auto; font-size: 14px; padding: 8px 10px; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 20px; }
@media (max-width: 960px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 20px 12px; } }
.card { text-decoration: none; display: block; }
.card .ph { position: relative; aspect-ratio: 1; background: var(--soft); overflow: hidden; border-radius: var(--radius); }
.card .ph img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: opacity .3s; }
.card .ph img.alt { opacity: 0; }
.card:hover .ph img.alt { opacity: 1; }
.card h3 { font-size: 15px; font-weight: normal; margin: 10px 0 2px; }
.price { font-size: 15px; }
.price s { color: var(--muted); margin-left: 6px; font-size: 14px; }
.price .sale { color: var(--accent); }
.badge { position: absolute; top: 10px; left: 10px; background: #000; color: #fff; font-size: 12px; padding: 3px 8px; border-radius: 2px; z-index: 2; }
.badge.sale { background: var(--accent); }

/* product page */
.product { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; padding: 40px 0; }
@media (max-width: 800px) { .product { grid-template-columns: 1fr; gap: 24px; padding: 20px 0; } }
.gallery .main { aspect-ratio: 1; background: var(--soft); border-radius: var(--radius); overflow: hidden; }
.gallery .main img { width: 100%; height: 100%; object-fit: contain; }
.thumbs { display: flex; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.thumbs button { width: 76px; height: 76px; padding: 0; border: 2px solid transparent; background: var(--soft); cursor: pointer; border-radius: var(--radius); overflow: hidden; }
.thumbs button.on { border-color: #000; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product h1 { font-size: 28px; font-weight: normal; margin: 0 0 8px; }
.product .price { font-size: 20px; margin-bottom: 6px; }
.vat-note { color: var(--muted); font-size: 13px; margin-bottom: 20px; }
.qty { display: inline-flex; border: 1px solid #ccc; border-radius: var(--radius); }
.qty button { width: 40px; border: 0; background: #fff; font-size: 18px; cursor: pointer; }
.qty input { width: 52px; border: 0; text-align: center; border-left: 1px solid #eee; border-right: 1px solid #eee; border-radius: 0; padding: 10px 0; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.buy { display: grid; gap: 10px; margin: 18px 0 28px; }
.stock-note { font-size: 14px; color: var(--warn); }
.desc { border-top: 1px solid var(--line); padding-top: 20px; }

/* cart */
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { text-align: left; font-weight: normal; font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; border-bottom: 1px solid var(--line); padding: 10px 6px; }
.cart-table td { border-bottom: 1px solid var(--line); padding: 16px 6px; vertical-align: middle; }
.cart-table .ci { display: flex; gap: 14px; align-items: center; }
.cart-table .ci img { width: 84px; height: 84px; object-fit: cover; border-radius: var(--radius); background: var(--soft); }
.cart-table .r { text-align: right; white-space: nowrap; }
.cart-foot { display: flex; justify-content: flex-end; margin-top: 24px; }
.cart-foot > div { width: 100%; max-width: 360px; text-align: right; }
.cart-foot .sum { font-size: 20px; margin-bottom: 4px; }
@media (max-width: 640px) {
  .cart-table thead { display: none; }
  .cart-table tr { display: grid; grid-template-columns: 1fr auto; border-bottom: 1px solid var(--line); padding: 12px 0; }
  .cart-table td { border: 0; padding: 4px 0; }
  .cart-table td.c-qty { grid-column: 1; }
  .cart-table td.c-price { display: none; }
}

/* checkout */
.checkout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 0; min-height: 70vh; }
.checkout .co-main { padding: 32px 40px 48px 0; }
.checkout .co-side { background: var(--soft); border-left: 1px solid var(--line); padding: 32px 0 48px 32px; }
@media (max-width: 860px) {
  .checkout { grid-template-columns: 1fr; }
  .checkout .co-main { padding: 24px 0; order: 2; }
  .checkout .co-side { order: 1; border-left: 0; padding: 20px 16px; margin: 0 -20px; }
}
.co-main h2 { font-size: 18px; font-weight: normal; margin: 28px 0 12px; }
.co-main h2:first-child { margin-top: 0; }
.choices { border: 1px solid #ccc; border-radius: var(--radius); overflow: hidden; }
.choice { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-bottom: 1px solid #e3e3e3; cursor: pointer; margin: 0; }
.choice:last-child { border-bottom: 0; }
.choice input { margin-top: 4px; }
.choice .grow { flex: 1; }
.choice small { color: var(--muted); display: block; }
.choice .amt { white-space: nowrap; }
.sumline { display: flex; justify-content: space-between; padding: 4px 0; font-size: 15px; }
.sumline.total { font-size: 20px; border-top: 1px solid #ddd; margin-top: 10px; padding-top: 14px; }
.mini-items { margin-bottom: 18px; }
.mini-item { display: flex; gap: 12px; align-items: center; padding: 8px 0; }
.mini-item .th { position: relative; }
.mini-item img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; border: 1px solid #ddd; background: #fff; }
.mini-item .q { position: absolute; top: -8px; right: -8px; background: #6b6b6b; color: #fff; border-radius: 10px; font-size: 12px; min-width: 20px; height: 20px; text-align: center; line-height: 20px; }
.mini-item .t { flex: 1; font-size: 14px; }
.code-row { display: flex; gap: 8px; margin: 12px 0; }
.code-row .btn { padding: 10px 14px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.notice { background: #fff7e6; border: 1px solid #f2d9a6; padding: 12px 14px; border-radius: var(--radius); font-size: 14px; margin: 12px 0; }
.box { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin: 16px 0; }
.status-pill { display: inline-block; padding: 3px 10px; border-radius: 12px; font-size: 13px; background: #eee; }
.status-pill.paid, .status-pill.fulfilled { background: #e3f4e8; color: var(--ok); }
.status-pill.pending { background: #fff1d6; color: var(--warn); }
.status-pill.cancelled { background: #f3e2e2; color: var(--err); }
pre.bank { white-space: pre-wrap; font-family: inherit; background: var(--soft); padding: 14px; border-radius: var(--radius); margin: 8px 0; }

/* footer */
.site-footer { background: #000; color: #ddd; margin-top: 64px; padding: 40px 0 28px; font-size: 14px; }
.site-footer .cols { display: flex; gap: 40px; flex-wrap: wrap; justify-content: space-between; }
.site-footer h4 { color: #fff; font-weight: normal; margin: 0 0 10px; font-size: 15px; }
.site-footer a { color: #ddd; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 4px 0; }
.site-footer .copy { border-top: 1px solid #222; margin-top: 28px; padding-top: 16px; color: #888; font-size: 13px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.cards-ic { display: flex; gap: 6px; }
.cards-ic span { background: #fff; color: #000; font-size: 11px; font-weight: bold; padding: 2px 6px; border-radius: 3px; }

/* SEO-efni: brauðmolar, vöruupplýsingar, inngangur og spurningar */
.crumbs { font-size: 13px; color: var(--muted); margin: 18px 0 0; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.facts { list-style: none; padding: 0; margin: 20px 0 0; font-size: 14px; border-top: 1px solid var(--line); }
.facts li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.about-roses, details.faq { border-bottom: 1px solid var(--line); padding: 12px 0; font-size: 15px; }
.about-roses summary, details.faq summary { cursor: pointer; font-weight: bold; }
.about-roses p, details.faq p { margin: 10px 0 0; color: var(--muted); }
.wrap.narrow { max-width: 760px; }
.intro p { font-size: 16px; line-height: 1.7; }
