/* Hawamech Gift Wrap - cart / checkout box and the gift window. Uses the Blocksy palette in light mode and the
   --hw-* tokens of Hawamech Core in dark mode (the palette's heading colour turns orange there). */
.hwgw-wrap, .hwgw-dialog, .hwgw-pp {
	--hwgw-accent: var(--theme-palette-color-1, #e8622c);
	--hwgw-acc-text: var(--hw-acc-text, var(--hwgw-accent));
	--hwgw-on-acc: var(--hw-on-acc, #fff);
	--hwgw-ink: var(--hw-ink, var(--theme-palette-color-4, #0f3f3a));
	--hwgw-fill: var(--hw-fill, var(--theme-palette-color-4, #0f3f3a));
	--hwgw-muted: var(--hw-text, var(--theme-palette-color-3, #546462));
	--hwgw-line: var(--hw-line, var(--theme-palette-color-5, #e9ebec));
	--hwgw-line-2: var(--hw-line-strong, #cfd4d6);
	--hwgw-soft: var(--hw-surface-2, var(--theme-palette-color-6, #f4f5f6));
	--hwgw-white: var(--hw-surface, var(--theme-palette-color-8, #fff));
	--hwgw-field: var(--hw-input, #fff);
	--hwgw-danger: var(--hw-bad, #b42318);
	--hwgw-kraft: #b98a5c;
}
.hwgw-wrap:empty { display: none; }
.hwgw-wrap { margin: 0 0 20px; }
.hwgw-wrap[data-hwgw-float]:not(.is-placed) { display: none; }

/* inside the Order summary (narrow column, under the loyalty box) */
.hwgw-wrap--summary.is-placed { margin: 0 0 16px; }
.hwgw-wrap--summary.is-fallback { margin: 20px 0; }
.hwgw-wrap--summary .hwgw-box { gap: 10px; padding-block: 14px; padding-inline: 22px 16px; font-size: 13px; }
.hwgw-wrap--summary .hwgw-box__icon, .hwgw-wrap--summary .hwgw-box__icon svg { width: 22px; height: 22px; }
.hwgw-wrap--summary .hwgw-box__title { font-size: 13.5px; }
.hwgw-wrap--summary .hwgw-box__text { font-size: 12.5px; line-height: 1.5; }
.hwgw-wrap--summary .hwgw-box__perk { font-size: 12px; }
.hwgw-wrap--summary .hwgw-box .hwgw-btn { width: 100%; min-height: 36px; margin-top: 10px; padding: 0 12px; font-size: 13px; }
.hwgw-wrap--summary .hwgw-box__price { font-size: 13.5px; }
.hwgw-wrap--summary .hwgw-box__lines { font-size: 12.5px; line-height: 1.5; }
.hwgw-wrap--summary .hwgw-box__lines li { margin: 0 0 4px; }
.hwgw-wrap--summary .hwgw-box__lines li span { display: block; min-width: 0; font-size: 11.5px; }
.hwgw-wrap--summary .hwgw-box__msg { font-size: 12.5px; }
.hwgw-wrap--summary .hwgw-box__actions { margin-top: 8px !important; }
.hwgw-wrap--summary .hwgw-link { font-size: 13px; }
.hwgw-wrap--summary .hwgw-box--off { padding: 12px 14px; }

/* ---------------------------------------------------------------- box */
.hwgw-box {
	position: relative;
	display: flex;
	gap: 14px;
	align-items: flex-start;
	padding-block: 16px;
	padding-inline: 26px 18px; /* 6px stripe + 20px */
	border: 1px solid var(--hwgw-line);
	border-radius: 2px;
	background: var(--hwgw-white);
	color: var(--hwgw-ink);
}
/* Kraft stripe on the start edge: 6px wide, square corners. It sits over the box border (-1px) so the box's
   rounded corners never clip it, and the site-wide 2px radius on ::before is switched off for it. */
.hwgw-box::before {
	content: "";
	position: absolute;
	inset-block: -1px;
	inset-inline-start: -1px;
	width: 6px;
	border-radius: 0 !important;
	background: repeating-linear-gradient(180deg, var(--hwgw-kraft) 0 6px, #a67a4f 6px 9px);
}
.hwgw-box.is-set::before { background: var(--hwgw-accent); }
.hwgw-box__icon { flex: 0 0 auto; display: inline-flex; width: 26px; height: 26px; color: var(--hwgw-accent); margin-top: 1px; }
.hwgw-box__icon svg { width: 26px; height: 26px; }
.hwgw-box__body { flex: 1 1 auto; min-width: 0; }
.hwgw-box p { margin: 0; }
.hwgw-box__title { font-weight: 700; font-size: 15px; line-height: 1.4; }
.hwgw-box__text { margin-top: 4px !important; font-size: 14px; line-height: 1.55; color: var(--hwgw-muted); }
.hwgw-box--off { align-items: center; background: var(--hwgw-soft); border-color: var(--hwgw-soft); }
.hwgw-box--off::before { display: none; }
.hwgw-box--off .hwgw-box__icon { color: var(--hwgw-muted); }
.hwgw-box--off .hwgw-box__text { margin: 0 !important; }
.hwgw-box__perk { margin-top: 6px !important; font-size: 13px; font-weight: 600; color: var(--hwgw-acc-text); }
.hwgw-box .hwgw-btn { margin-top: 12px; }
.hwgw-box__row { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.hwgw-box__price { font-weight: 700; white-space: nowrap; }
.hwgw-box__price del { font-weight: 400; color: var(--hwgw-muted); margin-inline-end: 4px; }
.hwgw-box__price ins { text-decoration: none; color: var(--hwgw-acc-text); }
.hwgw-box__lines { list-style: none; margin: 6px 0 0; padding: 0; font-size: 14px; line-height: 1.6; }
.hwgw-box__lines li span { display: inline-block; min-width: 108px; color: var(--hwgw-muted); }
.hwgw-box__msg { margin-top: 6px !important; font-size: 14px; font-style: italic; color: var(--hwgw-muted); overflow-wrap: anywhere; }
.hwgw-box__actions { display: flex; gap: 18px; margin-top: 10px !important; }

.hwgw-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 42px;
	padding: 0 20px;
	border: 1px solid var(--hwgw-accent);
	border-radius: 2px;
	background: transparent;
	color: var(--hwgw-acc-text);
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: background .15s, color .15s;
}
.hwgw-btn:hover, .hwgw-btn:focus-visible { background: var(--hwgw-accent); color: var(--hwgw-on-acc); }
.hwgw-btn--solid { background: var(--hwgw-accent); color: var(--hwgw-on-acc); }
.hwgw-btn--solid:hover, .hwgw-btn--solid:focus-visible { background: var(--hwgw-fill); border-color: var(--hwgw-fill); color: #fff; }
.hwgw-btn[disabled] { opacity: .6; cursor: progress; }
.hwgw-link { padding: 0; border: 0; background: none; color: var(--hwgw-acc-text); font: inherit; font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.hwgw-link--muted { color: var(--hwgw-muted); font-weight: 400; }
.hwgw-wrap.is-busy { opacity: .55; pointer-events: none; transition: opacity .15s; }

/* ---------------------------------------------------------------- window */
.hwgw-dialog {
	width: min(780px, calc(100vw - 32px));
	max-width: none;
	max-height: min(90vh, 940px);
	padding: 0;
	border: 0;
	border-radius: 2px;
	background: var(--hwgw-white);
	color: var(--hwgw-ink);
	box-shadow: 0 30px 80px rgba(15, 63, 58, .28);
}
.hwgw-dialog[open] { display: flex; animation: hwgw-in .18s ease-out; }
.hwgw-dialog::backdrop { background: rgba(12, 36, 34, .55); }
@keyframes hwgw-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.hwgw-form { display: flex; flex-direction: column; width: 100%; max-height: inherit; margin: 0; }
.hwgw-d__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 24px; border-bottom: 1px solid var(--hwgw-line); }
.hwgw-d__head h2 { margin: 0; font-size: 20px; line-height: 1.3; }
.hwgw-x { display: inline-grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 2px; background: transparent; color: var(--hwgw-ink); cursor: pointer; }
.hwgw-x:hover, .hwgw-x:focus-visible { background: var(--hwgw-soft); }
.hwgw-d__body { flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; padding: 18px 24px 26px; }
.hwgw-d__intro { margin: 0 0 16px; font-size: 14px; line-height: 1.6; color: var(--hwgw-muted); }
.hwgw-d__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 24px; border-top: 1px solid var(--hwgw-line); background: var(--hwgw-soft); }

.hwgw-gallery { display: flex; gap: 8px; overflow-x: auto; margin: 0 0 18px; scroll-snap-type: x mandatory; }
.hwgw-gallery img { flex: 0 0 auto; height: 120px; width: auto; border-radius: 2px; scroll-snap-align: start; object-fit: cover; }

.hwgw-sec + .hwgw-sec { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--hwgw-line); }
.hwgw-group { margin: 0; padding: 0; border: 0; min-width: 0; }
.hwgw-group + .hwgw-group { margin-top: 20px; }
.hwgw-group legend { display: flex; align-items: center; gap: 10px; padding: 0; margin: 0 0 12px; font-size: 16px; font-weight: 700; }
.hwgw-step { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--hwgw-fill); color: #fff; font-size: 12px; font-weight: 700; }
.hwgw-hint { margin: -6px 0 12px; font-size: 13px; color: var(--hwgw-muted); }

/* switch */
.hwgw-switch { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; font-weight: 700; font-size: 16px; }
.hwgw-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.hwgw-switch__ui { position: relative; flex: 0 0 auto; width: 44px; height: 24px; border-radius: 999px; background: var(--hw-line-strong, #c9cfd1); transition: background .15s; }
.hwgw-switch__ui::after { content: ""; position: absolute; top: 3px; inset-inline-start: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); transition: transform .15s; }
.hwgw-switch input:checked + .hwgw-switch__ui { background: var(--hwgw-accent); }
.hwgw-switch input:checked + .hwgw-switch__ui::after { transform: translateX(20px); }
[dir="rtl"] .hwgw-switch input:checked + .hwgw-switch__ui::after { transform: translateX(-20px); }
.hwgw-switch input:focus-visible + .hwgw-switch__ui { outline: 2px solid var(--hwgw-accent); outline-offset: 2px; }
.hwgw-wrapbody { margin-top: 18px; }

/* tiles */
.hwgw-tiles { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.hwgw-tiles--closing, .hwgw-tiles--card { grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); }
.hwgw-tile {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 3px;
	margin: 0;
	padding: 10px 10px 12px;
	border: 1px solid var(--hwgw-line);
	border-radius: 2px;
	background: var(--hwgw-white);
	cursor: pointer;
	transition: border-color .15s, box-shadow .15s, background .15s;
}
.hwgw-tile:hover { border-color: color-mix(in srgb, var(--hwgw-accent) 45%, var(--hwgw-line)); }
.hwgw-tile input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.hwgw-tile.is-on { border-color: var(--hwgw-accent); box-shadow: 0 0 0 1px var(--hwgw-accent); background: color-mix(in srgb, var(--hwgw-accent) 5%, var(--hwgw-white)); }
.hwgw-tile.is-focus { outline: 2px dashed var(--hwgw-ink); outline-offset: 3px; }
.hwgw-tile__media { display: block; aspect-ratio: 4 / 3; margin-bottom: 7px; border-radius: 2px; background: var(--hwgw-soft); overflow: hidden; }
.hwgw-tiles--closing .hwgw-tile__media, .hwgw-tiles--card .hwgw-tile__media { aspect-ratio: 16 / 10; }
.hwgw-tile__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hwgw-tile__media--icon { display: grid; place-items: center; color: var(--hwgw-ink); }
.hwgw-tile__media--icon svg { width: 40px; height: 40px; stroke-width: 1.3; }
.hwgw-tile.is-on .hwgw-tile__media--icon { color: var(--hwgw-accent); background: color-mix(in srgb, var(--hwgw-accent) 10%, var(--hwgw-white)); }
.hwgw-tile__media--swatch {
	background-color: var(--hwgw-swatch);
	background-image:
		repeating-linear-gradient(115deg, rgba(255, 255, 255, .07) 0 2px, transparent 2px 7px),
		repeating-linear-gradient(25deg, rgba(0, 0, 0, .06) 0 1px, transparent 1px 5px),
		linear-gradient(160deg, rgba(255, 255, 255, .14), rgba(0, 0, 0, .12));
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06);
}
.hwgw-tile__name { font-size: 14px; font-weight: 700; line-height: 1.35; }
.hwgw-tile__desc { font-size: 12.5px; line-height: 1.45; color: var(--hwgw-muted); }
.hwgw-tile__price { margin-top: 2px; font-size: 13px; font-weight: 600; color: var(--hwgw-acc-text); }
.hwgw-tile__check { position: absolute; top: 7px; inset-inline-end: 7px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--hwgw-accent); color: var(--hwgw-on-acc); opacity: 0; transform: scale(.6); transition: opacity .15s, transform .15s; }
.hwgw-tile__check svg { width: 14px; height: 14px; stroke-width: 2.4; }
.hwgw-tile.is-on .hwgw-tile__check { opacity: 1; transform: none; }
.hwgw-tile--plain .hwgw-tile__media--icon { color: var(--hwgw-muted); }

/* choices under a tile */
.hwgw-extra { margin-top: 14px; padding: 14px 16px; border-radius: 2px; background: var(--hwgw-soft); }
.hwgw-extra__title { margin: 0 0 10px; font-size: 14px; font-weight: 700; }
.hwgw-picks { display: grid; gap: 8px; }
.hwgw-picks--letters { grid-template-columns: repeat(auto-fill, minmax(42px, 1fr)); }
.hwgw-picks--shapes { grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); }
.hwgw-picks--stickers { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.hwgw-pick { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; margin: 0; cursor: pointer; text-align: center; }
.hwgw-pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.hwgw-pick__seal { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--hwgw-line-2); border-radius: 50%; background: var(--hwgw-white); font-family: Georgia, "Times New Roman", serif; font-size: 18px; font-weight: 700; color: var(--hwgw-ink); transition: background .12s, color .12s, border-color .12s; }
.hwgw-pick__seal--num { width: 52px; height: 52px; font-family: inherit; font-size: 15px; }
.hwgw-pick__img { display: block; width: 64px; height: 64px; border: 1px solid var(--hwgw-line-2); border-radius: 50%; overflow: hidden; background: #fff; }
.hwgw-pick__img img { width: 100%; height: 100%; object-fit: cover; }
.hwgw-pick__label { font-size: 12px; line-height: 1.3; color: var(--hwgw-muted); }
.hwgw-pick__sticker { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 46px; padding: 6px 12px; border: 1px dashed var(--hw-line-strong, #b9c0c2); border-radius: 2px; background: var(--hwgw-white); font-size: 14px; font-weight: 600; line-height: 1.3; }
.hwgw-pick:hover .hwgw-pick__seal, .hwgw-pick:hover .hwgw-pick__img, .hwgw-pick:hover .hwgw-pick__sticker { border-color: var(--hwgw-accent); }
.hwgw-pick.is-on .hwgw-pick__seal { background: var(--hwgw-fill); border-color: var(--hwgw-fill); color: #fff; }
.hwgw-pick.is-on .hwgw-pick__img { box-shadow: 0 0 0 2px var(--hwgw-accent); border-color: var(--hwgw-accent); }
.hwgw-pick.is-on .hwgw-pick__sticker { border-style: solid; border-color: var(--hwgw-accent); box-shadow: 0 0 0 1px var(--hwgw-accent); color: var(--hwgw-acc-text); }
.hwgw-pick.is-on .hwgw-pick__label { color: var(--hwgw-ink); font-weight: 600; }
.hwgw-pick.is-focus .hwgw-pick__seal, .hwgw-pick.is-focus .hwgw-pick__img, .hwgw-pick.is-focus .hwgw-pick__sticker { outline: 2px dashed var(--hwgw-ink); outline-offset: 3px; }
.hwgw-note { display: flex; gap: 8px; align-items: flex-start; margin: 12px 0 0; font-size: 13px; line-height: 1.5; color: var(--hwgw-muted); }
.hwgw-note svg { flex: 0 0 16px; width: 16px; height: 16px; margin-top: 2px; }
.hwgw-extra > .hwgw-note:first-child { margin-top: 0; }

/* message */
.hwgw-msg { margin-top: 16px; }
.hwgw-msg__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.hwgw-field { display: flex; flex-direction: column; gap: 6px; margin: 0; font-size: 13px; font-weight: 600; }
.hwgw-field abbr { color: var(--hwgw-acc-text); text-decoration: none; border: 0; }
.hwgw-field input, .hwgw-field textarea { width: 100%; box-sizing: border-box; padding: 10px 12px; border: 1px solid var(--hwgw-line-2); border-radius: 2px; background: var(--hwgw-field); color: var(--hwgw-ink); font: inherit; font-size: 15px; font-weight: 400; }
.hwgw-field textarea { min-height: 104px; resize: vertical; line-height: 1.55; }
.hwgw-field input:focus, .hwgw-field textarea:focus { outline: none; border-color: var(--hwgw-accent); box-shadow: 0 0 0 1px var(--hwgw-accent); }
.hwgw-count { margin: 4px 0 0; font-size: 12px; color: var(--hwgw-muted); text-align: end; }

/* errors */
.hwgw-err { margin: 8px 0 0; font-size: 13px; font-weight: 600; color: var(--hwgw-danger); }
.hwgw-err--general { margin: 0 0 14px; padding: 10px 12px; border-radius: 2px; background: var(--hw-bad-soft, #fef3f2); }
.hwgw-group.has-error .hwgw-tile, .hwgw-field.has-error textarea { border-color: var(--hwgw-danger); }
.hwgw-extra.has-error { box-shadow: inset 0 0 0 1px var(--hwgw-danger); }

/* footer total */
.hwgw-total { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 10px; row-gap: 2px; }
.hwgw-total__label { font-size: 13px; color: var(--hwgw-muted); }
.hwgw-total__amount { font-size: 22px; font-weight: 700; line-height: 1.2; }
.hwgw-total__amount del { margin-inline-end: 6px; font-size: 15px; font-weight: 400; color: var(--hwgw-muted); }
.hwgw-total__amount ins { text-decoration: none; color: var(--hwgw-acc-text); }
.hwgw-total__perk { flex-basis: 100%; font-size: 12.5px; font-weight: 600; color: var(--hwgw-acc-text); }

/* ---------------------------------------------------------------- product page (information only) */
.hwgw-pp { display: flex; gap: 12px; align-items: flex-start; margin: 18px 0 0; padding: 14px 0 0; border-top: 1px solid var(--hwgw-line); color: var(--hwgw-ink); }
.hwgw-pp > svg { flex: 0 0 22px; width: 22px; height: 22px; margin-top: 1px; color: var(--hwgw-accent); }
.hwgw-pp__body { flex: 1 1 auto; min-width: 0; }
.hwgw-pp p { margin: 0; }
.hwgw-pp__title { font-size: 14.5px; line-height: 1.45; }
.hwgw-pp__title strong { font-weight: 700; }
.hwgw-pp__from { display: inline-block; margin-inline-start: 6px; padding: 1px 8px; border-radius: 2px; background: color-mix(in srgb, var(--hwgw-accent) 12%, var(--hwgw-white)); color: var(--hwgw-acc-text); font-size: 12px; font-weight: 700; vertical-align: 1px; }
.hwgw-pp__text { margin-top: 2px !important; font-size: 13px; line-height: 1.55; color: var(--hwgw-muted); }
.hwgw-pp__link { padding: 0; border: 0; background: none; color: var(--hwgw-acc-text); font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; white-space: nowrap; }
.hwgw-pp__link:hover, .hwgw-pp__link:focus-visible { color: var(--hwgw-ink); }

.hwgw-sheet { display: flex; flex-direction: column; width: 100%; max-height: inherit; }
.hwgw-dialog--info { width: min(620px, calc(100vw - 32px)); }
.hwgw-info__groups { display: grid; gap: 18px; }
.hwgw-info__group h3 { margin: 0 0 10px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--hwgw-muted); }
.hwgw-info__group ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.hwgw-info__group li { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 5px 12px 5px 5px; border: 1px solid var(--hwgw-line); border-radius: 2px; background: var(--hwgw-white); font-size: 13.5px; font-weight: 600; line-height: 1.3; }
.hwgw-info__ic { display: grid; place-items: center; flex: 0 0 30px; width: 30px; height: 30px; border-radius: 2px; background: var(--hwgw-soft); color: var(--hwgw-ink); overflow: hidden; }
.hwgw-info__ic svg { width: 18px; height: 18px; stroke-width: 1.5; }
.hwgw-info__ic img { width: 100%; height: 100%; object-fit: cover; }
.hwgw-info__ic--swatch {
	background-color: var(--hwgw-swatch);
	background-image: repeating-linear-gradient(115deg, rgba(255, 255, 255, .08) 0 2px, transparent 2px 6px), linear-gradient(160deg, rgba(255, 255, 255, .14), rgba(0, 0, 0, .12));
}
.hwgw-info__steps { display: grid; gap: 10px; margin: 22px 0 0; padding: 16px 18px; border-radius: 2px; background: var(--hwgw-soft); list-style: none; counter-reset: hwgw-step; }
.hwgw-info__steps li { display: flex; gap: 10px; align-items: flex-start; margin: 0; font-size: 14px; line-height: 1.5; counter-increment: hwgw-step; }
.hwgw-info__steps li::before { content: counter(hwgw-step); display: grid; place-items: center; flex: 0 0 22px; height: 22px; border-radius: 2px; background: var(--hwgw-fill); color: #fff; font-size: 12px; font-weight: 700; }
.hwgw-dialog--info .hwgw-note { margin-top: 14px; }
@media (max-width: 600px) {
	.hwgw-pp { margin-top: 16px; }
	.hwgw-info__group li { font-size: 13px; }
}

/* phones: full-screen sheet */
@media (max-width: 600px) {
	.hwgw-dialog { width: 100vw; height: 100%; max-height: 100%; margin: 0; border-radius: 0; }
	.hwgw-dialog[open] { animation-name: hwgw-up; }
	.hwgw-form { height: 100%; max-height: 100%; }
	.hwgw-d__head { padding: 12px 16px; }
	.hwgw-d__head h2 { font-size: 18px; }
	.hwgw-d__body { padding: 16px 16px 24px; }
	.hwgw-d__foot { padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); }
	.hwgw-tiles, .hwgw-tiles--closing, .hwgw-tiles--card { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	.hwgw-tile__desc { display: none; }
	.hwgw-tiles--paper .hwgw-tile__media { aspect-ratio: 16 / 9; }
	.hwgw-tiles--closing .hwgw-tile, .hwgw-tiles--card .hwgw-tile { flex-direction: row; align-items: center; gap: 10px; padding: 8px; min-height: 60px; }
	.hwgw-tiles--closing .hwgw-tile__media, .hwgw-tiles--card .hwgw-tile__media { flex: 0 0 42px; width: 42px; height: 42px; aspect-ratio: auto; margin: 0; }
	.hwgw-tiles--closing .hwgw-tile__media--icon svg, .hwgw-tiles--card .hwgw-tile__media--icon svg { width: 26px; height: 26px; }
	.hwgw-tiles--closing .hwgw-tile__name, .hwgw-tiles--card .hwgw-tile__name { font-size: 13px; padding-inline-end: 12px; }
	.hwgw-tile__check { top: 5px; inset-inline-end: 5px; width: 18px; height: 18px; }
	.hwgw-tile__check svg { width: 12px; height: 12px; }
	.hwgw-msg__row { grid-template-columns: 1fr; }
	.hwgw-total__amount { font-size: 19px; }
	.hwgw-d__foot .hwgw-btn { padding: 0 16px; }
	.hwgw-box { padding-block: 14px; padding-inline: 22px 14px; gap: 12px; }
	.hwgw-box__lines li span { min-width: 0; margin-inline-end: 4px; }
}
@keyframes hwgw-up { from { transform: translateY(30px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
	.hwgw-dialog[open] { animation: none; }
	.hwgw-tile, .hwgw-tile__check, .hwgw-switch__ui, .hwgw-switch__ui::after { transition: none; }
}
html.hwgw-lock { overflow: hidden; }
