/* Design gravsteinen – gravsteinbutikken.no */
#awd { --awd-acc: #a0195e; --awd-ink: #3c4654; --awd-mut: #707c8c; --awd-line: #e3e6ea; --awd-bg: #f6f5f3; color: var(--awd-ink); margin: 0 0 40px; }
#awd *, #awd *::before, #awd *::after { box-sizing: border-box; }
#awd .awd-loading { padding: 80px 0; text-align: center; color: var(--awd-mut); }
.awd-steps { display: flex; gap: 4px; margin: 0 0 16px; overflow-x: auto; scrollbar-width: none; }
.awd-steps button { flex: 1 0 auto; display: flex; align-items: center; gap: 8px; justify-content: center; border: 1px solid var(--awd-line); background: #fff; padding: 10px 12px; border-radius: 8px; font-size: 14px; color: var(--awd-ink); cursor: pointer; white-space: nowrap; }
.awd-steps button i { font-style: normal; width: 24px; height: 24px; border-radius: 50%; background: var(--awd-bg); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; }
.awd-steps button.active { border-color: var(--awd-acc); color: var(--awd-acc); font-weight: 600; }
.awd-steps button.active i { background: var(--awd-acc); color: #fff; }
.awd-main { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
@media (min-width: 900px) {
	.awd-main { grid-template-columns: minmax(0, 1.15fr) minmax(340px, 1fr); align-items: start; }
	.awd-left { position: sticky; top: 90px; }
	#awd.awd-picking .awd-main { grid-template-columns: minmax(0, 1fr); }
}
#awd.awd-picking .awd-left { display: none; }
.awd-stage { position: relative; overflow: hidden; background: radial-gradient(ellipse at 50% 35%, #ffffff 0%, #f1efec 70%, #e7e4df 100%); border-radius: 10px; touch-action: none; user-select: none; -webkit-user-select: none; min-height: 200px; }
.awd-scene { position: absolute; left: 0; top: 0; width: 3000px; height: 1000px; transform-origin: 0 0; }
.awd-stone { position: absolute; top: 0; height: 900px; pointer-events: none; }
.awd-sokkel, .awd-bed { position: absolute; background-repeat: no-repeat; background-size: 100% 100%; pointer-events: none; }
.awd-sokkel { top: 760px; height: 100px; }
.awd-bed { top: 824px; height: 140px; }
.awd-t { position: absolute; white-space: nowrap; line-height: 1.2; cursor: move; padding: 0 6px; text-align: center; text-shadow: 0 1px 1px rgba(0,0,0,.25), 0 -1px 0 rgba(255,255,255,.08); }
.awd-t.awd-bronze { text-shadow: 1px 1px 0 rgba(0,0,0,.45), -1px -1px 0 rgba(255,255,255,.25), 2px 2px 2px rgba(0,0,0,.35); }
.awd-dato { display: flex; gap: 1.1em; }
.awd-dpart { display: inline-flex; align-items: center; gap: .15em; }
.awd-ico { width: .8em; height: .8em; fill: currentColor; flex: none; }
.awd-el { position: absolute; cursor: move; transform-origin: 50% 50%; }
.awd-el img, .awd-el svg { display: block; width: 100%; height: auto; pointer-events: none; }
.awd-orn svg, .awd-orn svg * { fill: currentColor !important; }
.awd-orn svg [fill="none"] { fill: none !important; }
.awd-sel { outline: 3px dashed rgba(160, 25, 94, .85); outline-offset: 6px; }
.awd-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 2px 0; }
.awd-info { color: var(--awd-mut); font-size: 13px; }
.awd-pricebox { text-align: right; line-height: 1.15; }
.awd-pricebox small { display: block; color: var(--awd-mut); font-size: 12px; }
.awd-price { font-size: 22px; color: var(--awd-ink); }
@media (max-width: 899px) {
	.awd-left { position: sticky; top: 0; z-index: 5; background: #fff; padding-bottom: 6px; box-shadow: 0 6px 10px -8px rgba(0,0,0,.25); }
	.awd-stage { max-height: 46vh; }
}
.awd-panel { min-width: 0; }
.awd-sec { background: #fff; border: 1px solid var(--awd-line); border-radius: 10px; padding: 16px; margin: 0 0 14px; }
.awd-sec h3 { font-size: 17px; margin: 0 0 12px; font-weight: 700; color: var(--awd-ink); text-transform: none; letter-spacing: 0; }
.awd-hint { color: var(--awd-mut); font-size: 13px; margin: 8px 0 0; }
.awd-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-top: 12px; }
.awd-grid-sm { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); max-height: 520px; overflow-y: auto; padding: 2px; }
.awd-card { display: flex; flex-direction: column; align-items: center; gap: 3px; background: #fff; border: 1px solid var(--awd-line); border-radius: 8px; padding: 8px; cursor: pointer; text-align: center; font-size: 13px; color: var(--awd-ink); transition: border-color .15s, box-shadow .15s; }
.awd-card:hover, .awd-card:focus-visible { border-color: var(--awd-acc); box-shadow: 0 4px 14px rgba(0,0,0,.08); }
.awd-card.active { border-color: var(--awd-acc); box-shadow: inset 0 0 0 1px var(--awd-acc); }
.awd-card img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.awd-card span { color: var(--awd-mut); font-size: 12px; line-height: 1.25; }
.awd-card .awd-from { color: var(--awd-acc); font-weight: 600; }
.awd-ornprev { width: 100%; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; background: #2b2b2b; border-radius: 6px; padding: 12px; color: #c9ccd2; }
.awd-ornprev svg { width: 100%; height: 100%; }
.awd-ornprev svg, .awd-ornprev svg * { fill: currentColor !important; }
.awd-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.awd-chip { border: 1px solid var(--awd-line); background: #fff; border-radius: 999px; padding: 7px 14px; font-size: 14px; cursor: pointer; color: var(--awd-ink); }
.awd-chip small { color: var(--awd-mut); }
.awd-chip.active { border-color: var(--awd-acc); background: var(--awd-acc); color: #fff; }
.awd-chip.active small { color: #fbe3ef; }
.awd-swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.awd-swatch { border: 1px solid var(--awd-line); border-radius: 8px; padding: 6px; background: #fff; cursor: pointer; display: flex; flex-direction: column; gap: 3px; text-align: center; font-size: 12px; color: var(--awd-ink); }
.awd-swatch img { width: 100%; aspect-ratio: 1.4; object-fit: cover; border-radius: 4px; }
.awd-swatch small { color: var(--awd-mut); }
.awd-swatch.active { border-color: var(--awd-acc); box-shadow: inset 0 0 0 1px var(--awd-acc); }
.awd-check { display: flex; gap: 8px; align-items: flex-start; font-weight: normal; cursor: pointer; }
.awd-check input { margin-top: 3px; }
.awd-name { border: 1px solid var(--awd-line); border-radius: 8px; padding: 10px; margin-bottom: 10px; background: var(--awd-bg); }
.awd-namehead { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; }
.awd-namehead small { color: var(--awd-mut); }
.awd-x { margin-left: auto; border: 0; background: none; font-size: 22px; line-height: 1; color: var(--awd-mut); cursor: pointer; }
.awd-daterow { display: grid; grid-template-columns: 42px 76px 1fr; gap: 6px; align-items: center; margin-top: 6px; }
.awd-lbl { font-size: 13px; color: var(--awd-mut); }
.awd-mark { padding: 4px; }
.awd-inline { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-weight: normal; font-size: 14px; }
.awd-later { width: 70px; }
#awd textarea.form-control, #awd select.form-control { margin-top: 6px; }
.awd-fonts { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; }
.awd-font { border: 1px solid var(--awd-line); background: #fff; border-radius: 8px; padding: 8px; cursor: pointer; display: flex; flex-direction: column; gap: 2px; color: var(--awd-ink); }
.awd-font.active { border-color: var(--awd-acc); box-shadow: inset 0 0 0 1px var(--awd-acc); }
.awd-fs { font-size: 24px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.awd-font small { color: var(--awd-mut); font-size: 11px; }
.awd-colors { display: flex; flex-wrap: wrap; gap: 8px; }
.awd-color { display: flex; align-items: center; gap: 6px; border: 1px solid var(--awd-line); background: #fff; border-radius: 999px; padding: 5px 12px 5px 5px; cursor: pointer; font-size: 13px; color: var(--awd-ink); }
.awd-color i { width: 22px; height: 22px; border-radius: 50%; border: 1px solid rgba(0,0,0,.2); }
.awd-color.active { border-color: var(--awd-acc); box-shadow: inset 0 0 0 1px var(--awd-acc); }
.awd-slider { display: grid; grid-template-columns: 80px 1fr 56px; gap: 8px; align-items: center; font-weight: normal; font-size: 13px; margin: 4px 0; }
.awd-slider output { text-align: right; color: var(--awd-mut); }
.awd-selpanel { margin-top: 12px; }
.awd-selbox { border: 1px solid var(--awd-acc); border-radius: 8px; padding: 12px; background: #fff; display: flex; flex-direction: column; gap: 8px; }
.awd-btnrow { display: flex; flex-wrap: wrap; gap: 6px; }
.awd-nav { display: flex; justify-content: space-between; margin: 6px 0 20px; }
.awd-sum { width: 100%; border-collapse: collapse; font-size: 14px; }
.awd-sum td { padding: 6px 0; border-bottom: 1px solid var(--awd-line); vertical-align: top; }
.awd-sum td:last-child { text-align: right; white-space: nowrap; padding-left: 12px; }
.awd-sum small { color: var(--awd-mut); }
.awd-sum .awd-tot td { font-weight: 700; font-size: 17px; border-bottom: 0; padding-top: 10px; }
.awd-usp { margin: 14px 0 0; padding-left: 20px; font-size: 14px; }
.awd-usp li { margin: 3px 0; }
.awd-cols { display: grid; grid-template-columns: 1fr; gap: 0 12px; }
@media (min-width: 560px) { .awd-cols { grid-template-columns: 1fr 1fr; } }
.awd-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.awd-msg { margin-top: 12px; }
.awd-form .btn-lg { margin-top: 10px; width: 100%; }
/* theme overrides: no uppercase on helper text/labels, fixed-height ornament previews */
.awd-page .awd-lead, #awd .awd-hint, #awd label, #awd .awd-inline, #awd .awd-check, #awd .awd-slider span, #awd .awd-usp, #awd .awd-sum { text-transform: none; letter-spacing: 0; }
.awd-page .awd-lead { font-size: 15px; color: #707c8c; max-width: 820px; }
.awd-ornprev { aspect-ratio: auto; height: 96px; overflow: hidden; }
.awd-ornprev svg { max-height: 100%; width: auto; max-width: 100%; }
.awd-grid-sm .awd-card { justify-content: flex-start; }
#awd small, #awd .awd-chip, #awd .awd-swatch, #awd .awd-card span { text-transform: none; }
/* no horizontal scrollbar in the Pynt grid (owner 2026-11-02) */
.awd-grid-sm { overflow-x: hidden; overflow-y: auto; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); padding: 2px 4px 2px 2px; scrollbar-gutter: stable; }
.awd-grid .awd-card { min-width: 0; }
.awd-card span { overflow-wrap: anywhere; max-width: 100%; }
.awd-panel, .awd-sec { min-width: 0; max-width: 100%; }
.awd-tabs { gap: 6px; }
.awd-tabs .awd-chip { padding: 6px 12px; font-size: 13px; }
