/* Homein Wallpaper PDP — only loads on wallpaper products (body.hwp-on). */
body.hwp-on {
	--hwp-accent: #8cc21f;
	--hwp-ink: #1d1f22;
	--hwp-mute: #6b6f75;
	--hwp-line: #e3e5e8;
	--hwp-soft: #f4f9e6;
	--hwp-r: 14px;
}

/* ---------- two columns that fit the screen ---------- */
@media (min-width: 1025px) {
	.hwp-on .product-image-summary-inner {
		display: grid !important;
		grid-template-columns: minmax(0, 1.6fr) minmax(400px, 1fr);
		gap: 0 44px;
		align-items: start;
	}
	.hwp-on .product-image-summary-inner > .wd-grid-col {
		width: auto !important;
		max-width: none !important;
		flex: none !important;
		grid-column: auto !important;
		padding: 0 !important;
		margin: 0 !important;
	}
	.hwp-on .product-images { position: sticky; top: 16px; }
	.hwp-on .wd-gallery-images { position: relative; border-radius: 18px; overflow: hidden; }
	.hwp-on .wd-gallery-images .woocommerce-product-gallery__image img,
	.hwp-on .wd-gallery-images .wd-carousel-item img {
		width: 100%;
		height: calc(var(--hwp-avail, 640px) - var(--hwp-thumbs, 0px)) !important;
		object-fit: cover;
	}
	.hwp-on .wd-gallery-thumb { margin-top: 12px; }
	.hwp-on .wd-gallery-thumb img { height: 96px !important; object-fit: cover; border-radius: 10px; }
	.hwp-on .summary.entry-summary { max-height: var(--hwp-avail, none); }
}

/* ---------- summary ---------- */
.hwp-on .summary-inner { position: relative; }
.hwp-on .summary-inner > * { margin-bottom: 0 !important; }
.hwp-on .summary .product_title {
	font-size: clamp(26px, 2.3vw, 36px);
	line-height: 1.1;
	font-weight: 800;
	margin: 0 0 4px 0 !important;
	color: var(--hwp-ink);
	padding: 0 96px 0 0 !important;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.hwp-on .summary .product_title::after { display: none !important; }
.hwp-subtitle { margin: 0 0 6px !important; color: var(--hwp-mute); font-size: 15px; line-height: 1.35; font-weight: 500 !important; }
.hwp-sku { white-space: nowrap; opacity: .75; font-size: 13px; }
.hwp-on .custom-product-sku,
.hwp-on .summary .wd-social-icons,
.hwp-on .summary .product-share,
.hwp-on .summary .product_meta { display: none !important; }

.hwp-on .summary .price {
	display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px;
	font-size: 32px; font-weight: 800; color: var(--hwp-ink) !important; margin: 0 0 12px !important; line-height: 1.1;
}
.hwp-on .summary .price del { font-size: 18px; font-weight: 500; opacity: .5; order: 2; }
.hwp-on .summary .price ins { text-decoration: none; order: 1; }
.hwp-on .summary .price .wrv-per-m2 { font-size: 18px; font-weight: 500; color: var(--hwp-mute); order: 1; }

/* wishlist / compare as round icons next to the title */
.hwp-on .summary-inner > .wd-wishlist-btn,
.hwp-on .summary-inner > .wd-compare-btn {
	position: absolute; top: 4px; z-index: 2;
}
.hwp-on .summary-inner > .wd-wishlist-btn { right: 44px; }
.hwp-on .summary-inner > .wd-compare-btn { right: 0; }
.hwp-on .summary-inner > .wd-wishlist-btn a,
.hwp-on .summary-inner > .wd-compare-btn a {
	width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--hwp-line); background: #fff;
	display: inline-flex !important; align-items: center; justify-content: center; padding: 0 !important; color: var(--hwp-ink) !important;
}
.hwp-on .summary-inner > .wd-wishlist-btn .wd-action-text,
.hwp-on .summary-inner > .wd-compare-btn .wd-action-text { display: none !important; }
.hwp-on .summary-inner > .wd-wishlist-btn .wd-action-icon,
.hwp-on .summary-inner > .wd-compare-btn .wd-action-icon { display: flex !important; margin: 0 !important; font-size: 18px !important; line-height: 1; }

/* ---------- form ---------- */
.hwp-on form.cart.hwp-form { display: block !important; margin: 0 0 12px !important; }
.hwp-on form.cart .wrv-dims-wrap > .wrv-dims,
.hwp-on .wrv-crop,
.hwp-on form.cart > .quantity { display: none !important; }
.hwp-config { margin: 0 0 12px; }

.hwp-notice {
	display: flex; gap: 12px; align-items: flex-start;
	background: var(--hwp-soft); border-radius: 12px; padding: 11px 14px; margin: 0 0 14px;
	color: var(--hwp-ink); font-size: 14px; line-height: 1.4;
}
.hwp-notice p { margin: 0; font-weight: 500 !important; }
.hwp-notice strong { font-weight: 800; }
.hwp-notice .hwp-i { flex: 0 0 auto; margin-top: 1px; }

.hwp-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hwp-h { font-size: 18px !important; font-weight: 800 !important; margin: 0 0 8px !important; color: var(--hwp-ink); }
.hwp-guide-btn {
	display: inline-flex; align-items: center; gap: 6px; background: none !important; border: 0 !important; padding: 0 !important;
	min-height: 0 !important; color: var(--hwp-ink) !important; font-size: 14px !important; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; text-transform: none !important; box-shadow: none !important;
}

.hwp-dims { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 0 14px; }
.hwp-field {
	display: block; border: 1.5px solid var(--hwp-line); border-radius: 12px; padding: 7px 14px 6px; margin: 0; cursor: text;
	transition: border-color .15s, box-shadow .15s; background: #fff;
}
.hwp-field:focus-within { border-color: var(--hwp-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--hwp-accent) 22%, transparent); }
.hwp-field span { display: block; font-size: 12.5px; color: var(--hwp-mute); line-height: 1.2; }
.hwp-field input {
	width: 100% !important; border: 0 !important; padding: 0 !important; height: 30px !important; min-height: 0 !important;
	font-size: 22px !important; font-weight: 800; color: var(--hwp-ink); background: transparent !important; box-shadow: none !important;
	text-align: left !important;
}
.hwp-err { margin: -6px 0 12px !important; color: #c0392b; font-size: 14px; font-weight: 600; }

.hwp-mats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0 0 14px; }
.hwp-mat {
	position: relative; display: flex !important; flex-direction: column; align-items: stretch; text-align: left;
	padding: 6px !important; border: 1.5px solid var(--hwp-line) !important; border-radius: 12px !important;
	background: #fafafa !important; color: var(--hwp-ink) !important; cursor: pointer; min-height: 0 !important;
	text-transform: none !important; box-shadow: none !important; line-height: 1.25; transition: border-color .15s, box-shadow .15s;
}
.hwp-mat:hover { border-color: #c9ccd1 !important; }
.hwp-mat.is-on { border-color: var(--hwp-accent) !important; box-shadow: 0 0 0 3px color-mix(in srgb, var(--hwp-accent) 22%, transparent) !important; background: #fff !important; }
.hwp-mat-img { display: block; height: 72px; border-radius: 8px; background-size: cover; background-position: center; margin-bottom: 7px; }
.hwp-mat-tex.t0 { background-image: linear-gradient(135deg, rgba(255,255,255,.75), rgba(255,255,255,0) 55%), radial-gradient(circle at 70% 120%, rgba(0,0,0,.08), transparent 60%); }
.hwp-mat-tex.t1 { background-image: linear-gradient(160deg, rgba(255,255,255,.6), rgba(255,255,255,0) 60%), repeating-linear-gradient(90deg, rgba(0,0,0,.025) 0 2px, transparent 2px 5px); }
.hwp-mat-tex.t2 { background-image: repeating-linear-gradient(45deg, rgba(0,0,0,.05) 0 1px, transparent 1px 4px), repeating-linear-gradient(-45deg, rgba(0,0,0,.05) 0 1px, transparent 1px 4px); }
.hwp-mat-tick {
	position: absolute; top: 10px; right: 10px; width: 24px; height: 24px; border-radius: 50%;
	background: var(--hwp-accent); color: #fff; display: none; align-items: center; justify-content: center;
}
.hwp-mat.is-on .hwp-mat-tick { display: flex; }
.hwp-mat-tick svg { width: 15px; height: 15px; stroke-width: 3; }
.hwp-mat-t { font-weight: 800; font-size: 14px; padding: 0 4px; }
.hwp-mat-s { font-size: 12px; color: var(--hwp-mute); padding: 0 4px 2px; }
.hwp-mat-s em { font-style: normal; color: var(--hwp-ink); font-weight: 600; }

.hwp-total { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin: 0; min-height: 36px; }
.hwp-total-price { font-size: 30px; font-weight: 800; color: var(--hwp-ink); line-height: 1.1; }
.hwp-total-meta { font-size: 14px; color: var(--hwp-mute); }

body.hwp-on.single-product form.cart .single_add_to_cart_button.hwp-btn {
	width: 100% !important; display: flex !important; align-items: center; justify-content: center; gap: 12px;
	height: 54px; border-radius: 12px !important; background: var(--hwp-accent) !important; color: #10130a !important;
	font-size: 19px !important; font-weight: 800 !important; text-transform: none !important; margin: 0 !important;
	box-shadow: 0 6px 18px -8px color-mix(in srgb, var(--hwp-accent) 80%, transparent);
}
body.hwp-on.single-product form.cart .single_add_to_cart_button.hwp-btn:hover { filter: brightness(.96); }
.hwp-btn svg { width: 24px; height: 24px; }

.hwp-pay {
	display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 9px 14px;
	border: 1px solid var(--hwp-line); border-radius: 12px; font-size: 13.5px; font-weight: 600; color: var(--hwp-ink);
}
.hwp-pay img { margin-left: auto; max-height: 26px; width: auto; }

/* "Δες το στον χώρο σου" banner from wrv — same card on desktop and mobile */
.hwp-on .summary .wrv-wall-banner {
	display: flex !important; align-items: center; gap: 14px !important; max-width: none !important; width: 100%;
	margin: 12px 0 0 !important; padding: 14px 16px !important; box-sizing: border-box;
	border: 2px solid var(--hwp-accent) !important; border-radius: 16px !important;
	background: linear-gradient(135deg, #f8fbec 0%, #eef6d5 100%) !important; color: var(--hwp-ink) !important;
	text-decoration: none !important; box-shadow: none !important; filter: none !important;
	transition: transform .2s ease, box-shadow .2s ease;
}
.hwp-on .summary .wrv-wall-banner:hover,
.hwp-on .summary .wrv-wall-banner:focus-visible { transform: translateY(-2px); box-shadow: 0 14px 28px -18px rgba(40, 60, 0, .55) !important; filter: none !important; }
.hwp-on .wrv-wall-banner-icon {
	flex: 0 0 auto; width: 48px !important; height: 48px !important; padding: 11px; box-sizing: border-box;
	border-radius: 14px; background: #fff; color: var(--hwp-ink) !important; box-shadow: 0 4px 12px -6px rgba(0,0,0,.3);
}
.hwp-on .wrv-wall-banner-text { gap: 3px !important; }
.hwp-on .summary .wrv-wall-banner-text strong { font-size: 17px !important; font-weight: 800 !important; line-height: 1.2; color: var(--hwp-ink) !important; }
.hwp-on .summary .wrv-wall-banner-text span {
	font-size: 13.5px !important; font-weight: 500 !important; line-height: 1.35; color: var(--hwp-mute) !important;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.hwp-on .summary .wrv-wall-banner-arrow {
	flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center;
	font-size: 18px !important; color: var(--hwp-ink) !important; box-shadow: 0 4px 12px -6px rgba(0,0,0,.35); transition: background .2s, transform .2s;
}
.hwp-on .summary .wrv-wall-banner:hover .wrv-wall-banner-arrow { background: var(--hwp-accent); transform: translateX(3px); }

/* ---------- selector ---------- */
.hwp-sel { display: flex; flex-direction: column; background: #f2f2ef; border-radius: 18px; overflow: hidden; }
.hwp-sel[hidden] { display: none !important; }
.hwp-sel.is-over { position: absolute; inset: 0; z-index: 40; }
.hwp-mobile-slot .hwp-sel { margin: 0 0 14px; }
.hwp-mobile-slot .hwp-stage { height: min(72vw, 440px); flex: none; }
.hwp-stage { position: relative; flex: 1 1 auto; min-height: 0; overflow: hidden; touch-action: none; user-select: none; -webkit-user-select: none; }
.hwp-img { position: absolute; max-width: none !important; pointer-events: none; }
.hwp-box {
	position: absolute; box-sizing: border-box; border: 2px solid #fff; cursor: grab; outline: none;
	box-shadow: 0 0 0 9999px rgba(14, 16, 18, .58), 0 0 0 1px rgba(0,0,0,.25) inset;
}
.hwp-sel.is-drag .hwp-box { cursor: grabbing; }
.hwp-box:focus-visible { border-color: var(--hwp-accent); }
.hwp-grid {
	position: absolute; inset: 0; pointer-events: none; opacity: .55;
	background:
		linear-gradient(90deg, transparent calc(33.33% - .5px), rgba(255,255,255,.8) calc(33.33% - .5px) calc(33.33% + .5px), transparent calc(33.33% + .5px) calc(66.66% - .5px), rgba(255,255,255,.8) calc(66.66% - .5px) calc(66.66% + .5px), transparent calc(66.66% + .5px)),
		linear-gradient(180deg, transparent calc(33.33% - .5px), rgba(255,255,255,.8) calc(33.33% - .5px) calc(33.33% + .5px), transparent calc(33.33% + .5px) calc(66.66% - .5px), rgba(255,255,255,.8) calc(66.66% - .5px) calc(66.66% + .5px), transparent calc(66.66% + .5px));
}
.hwp-sel.is-drag .hwp-grid { opacity: .9; }
.hwp-box b {
	position: absolute; width: 22px; height: 22px; background: #fff; border-radius: 50%;
	box-shadow: 0 1px 6px rgba(0,0,0,.35); border: 3px solid var(--hwp-accent);
}
.hwp-box b[data-c="nw"] { left: -12px; top: -12px; cursor: nwse-resize; }
.hwp-box b[data-c="se"] { right: -12px; bottom: -12px; cursor: nwse-resize; }
.hwp-box b[data-c="ne"] { right: -12px; top: -12px; cursor: nesw-resize; }
.hwp-box b[data-c="sw"] { left: -12px; bottom: -12px; cursor: nesw-resize; }
.hwp-lw, .hwp-lh {
	position: absolute; padding: 4px 10px; border-radius: 999px; background: rgba(20, 24, 28, .78); color: #fff;
	font-size: 12px; font-weight: 700; white-space: nowrap; pointer-events: none;
}
.hwp-lw, .hwp-lh, .hwp-hint, .hwp-hint * { color: #fff !important; }
.hwp-mat, .hwp-mat * { text-align: left !important; }
.hwp-mat-tick, .hwp-mat-tick svg { color: #10130a !important; }
.hwp-lw { left: 50%; top: 10px; transform: translateX(-50%); }
.hwp-lh { left: 10px; top: 50%; transform: translateY(-50%); }
.hwp-box.is-small .hwp-lh { display: none; }
.hwp-hint {
	position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); margin: 0 !important;
	max-width: calc(100% - 28px); padding: 8px 16px; border-radius: 999px; background: rgba(20, 24, 28, .8);
	color: #fff; font-size: 13px; font-weight: 600; text-align: center; pointer-events: none;
}
.hwp-hint[hidden] { display: none; }
.hwp-bar { display: flex; align-items: center; gap: 6px; padding: 8px 10px; background: #fff; border-top: 1px solid var(--hwp-line); }
.hwp-bar button {
	display: inline-flex !important; align-items: center; gap: 6px; height: 36px; min-height: 0 !important; padding: 0 12px !important;
	border: 1px solid var(--hwp-line) !important; border-radius: 10px !important; background: #fff !important; color: var(--hwp-ink) !important;
	font-size: 13px !important; font-weight: 700 !important; text-transform: none !important; box-shadow: none !important; cursor: pointer;
}
.hwp-bar button:hover { border-color: var(--hwp-accent) !important; }
.hwp-mini-wrap { margin-left: auto; display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--hwp-mute); }
.hwp-mini { display: block; border-radius: 4px; background-repeat: no-repeat; box-shadow: 0 0 0 1px rgba(0,0,0,.15), 0 3px 10px -4px rgba(0,0,0,.4); }
.hwp-reopen {
	position: absolute; left: 16px; bottom: 16px; z-index: 39; display: inline-flex !important; align-items: center; gap: 8px;
	height: 42px; padding: 0 16px !important; border-radius: 999px !important; border: 0 !important; background: var(--hwp-accent) !important;
	color: #10130a !important; font-weight: 800 !important; font-size: 14px !important; text-transform: none !important; cursor: pointer; box-shadow: 0 6px 18px -6px rgba(0,0,0,.4);
}
.hwp-reopen[hidden] { display: none !important; }
.hwp-mobile-slot .hwp-reopen { position: static; margin: 0 0 14px; }
.hwp-selecting .product-labels { visibility: hidden; }

/* ---------- measuring guide ---------- */
.hwp-guide { position: fixed; inset: 0; z-index: 100000; background: rgba(10, 12, 14, .55); display: flex; align-items: center; justify-content: center; padding: 20px; }
.hwp-guide[hidden] { display: none; }
.hwp-guide-card { position: relative; background: #fff; border-radius: 18px; padding: 28px 30px 20px; max-width: 560px; width: 100%; max-height: 90vh; overflow: auto; color: var(--hwp-ink); }
.hwp-guide-card h3 { margin-top: 0; }
.hwp-guide-card ol { padding-left: 20px; }
.hwp-guide-card li { margin-bottom: 8px; }
.hwp-guide-x { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; min-height: 0 !important; padding: 0 !important; border-radius: 50% !important; border: 0 !important; background: #f2f2f2 !important; color: var(--hwp-ink) !important; display: flex !important; align-items: center; justify-content: center; cursor: pointer; }

/* ---------- shorter laptop screens: compact automatically ---------- */
.hwp-tight .hwp-mat-img { height: 46px; margin-bottom: 5px; }
.hwp-tight .hwp-notice { padding: 8px 12px; font-size: 13px; margin-bottom: 10px; }
.hwp-tight .hwp-dims { margin-bottom: 10px; }
.hwp-tight .hwp-mats { margin-bottom: 10px; }
.hwp-tight .summary .price { font-size: 26px; margin-bottom: 8px !important; }
.hwp-tight .hwp-subtitle { font-size: 14px; }
body.hwp-tight.single-product form.cart .single_add_to_cart_button.hwp-btn { height: 48px; }
.hwp-tight .summary .wrv-wall-banner { padding: 10px 14px !important; }
.hwp-tight .wrv-wall-banner-icon { width: 42px !important; height: 42px !important; padding: 9px; }
.hwp-tighter .hwp-mat-img { display: none; }
.hwp-tighter .hwp-mat { padding: 8px 6px !important; }
.hwp-tighter .hwp-pay img { max-height: 20px; }
.hwp-tighter .hwp-pay { margin-top: 8px; padding: 6px 12px; }
.hwp-tighter .hwp-total-price { font-size: 26px; }
.hwp-tighter .summary .product_title { font-size: 26px; }

.hwp-tight .summary .product_title { font-size: 26px; }
.hwp-tight .summary .wrv-wall-banner-text span { font-size: 12.5px !important; -webkit-line-clamp: 1; }
.hwp-tightest .hwp-sku,
.hwp-tightest .hwp-pay span { display: none !important; }
.hwp-tightest .summary .wrv-wall-banner { padding: 8px 12px !important; margin-top: 8px !important; }
.hwp-tightest .wrv-wall-banner-icon { width: 38px !important; height: 38px !important; padding: 8px; border-radius: 11px; }
.hwp-tightest .summary .wrv-wall-banner-text strong { font-size: 15.5px !important; }
.hwp-tightest .summary .wrv-wall-banner-arrow { width: 34px; height: 34px; }
.hwp-tightest .hwp-pay { justify-content: center; }
.hwp-tightest .hwp-pay img { margin: 0; }
.hwp-tightest .hwp-pay .hwp-i { display: none; }
.hwp-tightest .summary .product_title { font-size: 22px; }
.hwp-tightest .hwp-subtitle { font-size: 13px; margin-bottom: 4px !important; }
.hwp-tightest .hwp-notice { font-size: 12.5px; padding: 7px 10px; }
.hwp-tightest .hwp-h { font-size: 16px !important; margin-bottom: 6px !important; }
.hwp-tightest .hwp-field input { height: 26px !important; font-size: 19px !important; }

/* ---------- mobile ---------- */
@media (max-width: 1024px) {
	.hwp-on .summary .product_title { display: block; -webkit-line-clamp: unset; overflow: visible; }
}
@media (max-width: 767px) {
	.hwp-on .summary-inner { padding: 20px 16px 14px !important; }
	.hwp-on .summary .product_title { font-size: 23px !important; line-height: 1.2; }
	.hwp-on .summary-inner > .wd-wishlist-btn,
	.hwp-on .summary-inner > .wd-compare-btn { top: 18px; }
	.hwp-on .summary-inner > .wd-wishlist-btn { right: 60px; }
	.hwp-on .summary-inner > .wd-compare-btn { right: 16px; }
	.hwp-subtitle { font-size: 14px; }
	.hwp-on .summary .price { font-size: 28px; }
	.hwp-on .summary .price del, .hwp-on .summary .price .wrv-per-m2 { font-size: 16px; }

	.hwp-notice { font-size: 13.5px; padding: 10px 12px; gap: 10px; }
	.hwp-h { font-size: 17px !important; }
	.hwp-guide-btn { font-size: 13px !important; }
	.hwp-guide-btn .hwp-i { width: 17px; height: 17px; }
	.hwp-dims { gap: 10px; }
	.hwp-field { padding: 6px 12px 5px; }
	.hwp-field input { font-size: 21px !important; }

	.hwp-mats { gap: 8px; }
	.hwp-mat { padding: 10px 8px 9px !important; min-height: 64px !important; justify-content: center; }
	.hwp-mat-img { display: none; }
	.hwp-mat-t { font-size: 14px; padding: 0 22px 2px 0; }
	.hwp-mat-s { display: block !important; font-size: 11.5px; padding: 0; line-height: 1.3; }
	.hwp-mat-tick { top: 7px; right: 7px; width: 20px; height: 20px; }
	.hwp-mat-tick svg { width: 13px; height: 13px; }

	.hwp-total { margin-bottom: 4px; }
	.hwp-total-price { font-size: 28px; }
	.hwp-total-meta { font-size: 13px; }
	body.hwp-on.single-product form.cart .single_add_to_cart_button.hwp-btn { height: 52px; font-size: 18px !important; }

	.hwp-pay { flex-wrap: wrap; gap: 6px 8px; padding: 10px 12px; font-size: 13px; }
	.hwp-pay img { margin: 0; max-width: 100%; height: auto; max-height: none; }

	.hwp-on .summary .wrv-wall-banner { padding: 12px 14px !important; gap: 12px !important; }
	.hwp-on .wrv-wall-banner-icon { width: 42px !important; height: 42px !important; padding: 9px; }
	.hwp-on .summary .wrv-wall-banner-text strong { font-size: 15.5px !important; }
	.hwp-on .summary .wrv-wall-banner-text span { font-size: 12.5px !important; -webkit-line-clamp: 3; }
	.hwp-on .summary .wrv-wall-banner-arrow { width: 34px; height: 34px; }

	.hwp-mobile-slot .hwp-sel { margin: 0 0 16px; border-radius: 14px; }
	.hwp-mobile-slot .hwp-stage { height: min(82vw, 420px); }
	.hwp-box b { width: 24px; height: 24px; }
	.hwp-box b::after { content: ""; position: absolute; inset: -12px; }
	.hwp-hint { font-size: 12px; padding: 6px 12px; bottom: 10px; border-radius: 12px; width: max-content; max-width: calc(100% - 24px); }
	.hwp-bar { padding: 8px; }
	.hwp-bar button span { display: none; }
	.hwp-bar button { padding: 0 11px !important; }
	.hwp-mini-l { display: none; }
	.hwp-mobile-slot .hwp-reopen { width: 100%; justify-content: center; }
}

/* ---------- "added to cart" popup ---------- */
.hwp-pop { position: fixed; inset: 0; z-index: 100001; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(12, 14, 16, 0); transition: background .25s ease; }
.hwp-pop[hidden] { display: none; }
.hwp-pop.is-in { background: rgba(12, 14, 16, .5); }
.hwp-pop-card {
	position: relative; width: 100%; max-width: 460px; background: #fff; border-radius: 22px; padding: 26px 24px 22px;
	box-shadow: 0 30px 70px -20px rgba(0,0,0,.45); color: var(--hwp-ink, #1d1f22); text-align: center;
	transform: translateY(18px) scale(.97); opacity: 0; transition: transform .32s cubic-bezier(.2,.9,.3,1.2), opacity .2s ease;
}
.hwp-pop.is-in .hwp-pop-card { transform: none; opacity: 1; }
.hwp-pop-x {
	position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; min-height: 0 !important; padding: 0 !important; border: 0 !important;
	border-radius: 50% !important; background: #f2f3f4 !important; color: var(--hwp-ink, #1d1f22) !important; display: flex !important; align-items: center; justify-content: center; cursor: pointer;
}
.hwp-pop-check { width: 62px; height: 62px; margin: 0 auto 12px; border-radius: 50%; background: var(--hwp-accent, #8cc21f); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 8px color-mix(in srgb, var(--hwp-accent, #8cc21f) 18%, transparent); }
.hwp-pop-check svg { width: 32px; height: 32px; stroke: #10130a; stroke-width: 3; stroke-dasharray: 30; stroke-dashoffset: 30; }
.hwp-pop.is-in .hwp-pop-check svg { animation: hwp-draw .45s .18s ease forwards; }
@keyframes hwp-draw { to { stroke-dashoffset: 0; } }
.hwp-pop-t { font-size: 22px; font-weight: 800; margin: 0 0 16px; line-height: 1.2; }
.hwp-pop-item { display: flex; gap: 14px; align-items: center; text-align: left; padding: 12px; border: 1px solid var(--hwp-line, #e3e5e8); border-radius: 16px; margin: 0 0 18px; }
.hwp-pop-thumb { flex: 0 0 84px; display: flex; align-items: center; justify-content: center; height: 84px; }
.hwp-pop-thumb > span { max-width: 84px; max-height: 84px; width: 84px; border-radius: 8px; background-repeat: no-repeat; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.hwp-pop-info { min-width: 0; flex: 1; }
.hwp-pop-name { font-weight: 800; font-size: 15px; line-height: 1.3; margin: 0 0 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hwp-pop-meta { font-size: 13px; color: var(--hwp-mute, #6b6f75); margin: 0 0 4px; }
.hwp-pop-price { font-size: 18px; font-weight: 800; }
.hwp-pop-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hwp-pop-btns a, .hwp-pop-btns button {
	display: flex !important; align-items: center; justify-content: center; height: 50px; min-height: 0 !important; padding: 0 12px !important;
	border-radius: 12px !important; font-size: 15px !important; font-weight: 800 !important; text-transform: none !important; text-decoration: none !important; cursor: pointer; box-shadow: none !important;
}
.hwp-pop-btns .hwp-pop-go { background: var(--hwp-accent, #8cc21f) !important; color: #10130a !important; border: 0 !important; }
.hwp-pop-btns .hwp-pop-go:hover { filter: brightness(.95); }
.hwp-pop-btns .hwp-pop-stay { background: #fff !important; color: var(--hwp-ink, #1d1f22) !important; border: 1.5px solid var(--hwp-line, #e3e5e8) !important; }
.hwp-pop-cart { display: inline-block; margin-top: 14px; font-size: 13.5px; font-weight: 600; color: var(--hwp-ink, #1d1f22) !important; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 767px) {
	.hwp-pop { align-items: flex-end; padding: 0; }
	.hwp-pop-card { max-width: none; border-radius: 22px 22px 0 0; padding: 22px 18px calc(18px + env(safe-area-inset-bottom)); transform: translateY(100%); }
	.hwp-pop-card::before { content: ""; display: block; width: 44px; height: 5px; border-radius: 3px; background: #d9dbde; margin: -8px auto 14px; }
	.hwp-pop-btns { grid-template-columns: 1fr; }
	.hwp-pop-btns .hwp-pop-go { order: -1; }
	.hwp-pop-t { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
	.hwp-pop, .hwp-pop-card { transition: none; }
	.hwp-pop.is-in .hwp-pop-check svg { animation: none; stroke-dashoffset: 0; }
}
