/* Gmica quote cart: slide-in panel, header counter badge, floating button. */
.gmd {
	--gmd-accent: #DA5D01;
	--gmd-ink: var(--e-global-color-primary, #391A4F);
	--gmd-text: #1d1d1d;
	--gmd-muted: #6b6b6b;
	--gmd-line: #e3e0e6;
	--gmd-soft: #f5f3f7;
	position: fixed; inset: 0; z-index: 2147483000; font-family: var(--e-global-typography-text-font-family, inherit); color: var(--gmd-text);
}
.gmd[hidden] { display: none; }
.gmd *, .gmd *::before, .gmd *::after { box-sizing: border-box; }
.gmd [hidden] { display: none !important; }
.gmd-overlay { position: absolute; inset: 0; background: rgba(20, 8, 30, .55); opacity: 0; transition: opacity .3s ease; backdrop-filter: blur(2px); }
.gmd-panel {
	position: absolute; top: 0; right: 0; bottom: 0; width: min(460px, 100vw); display: flex; flex-direction: column; background: #fff; outline: none;
	box-shadow: -24px 0 60px -20px rgba(0,0,0,.45); transform: translateX(100%); transition: transform .38s cubic-bezier(.2,.8,.2,1);
}
.gmd.is-open .gmd-overlay { opacity: 1; }
.gmd.is-open .gmd-panel { transform: none; }
.gmd-head { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 22px; background: var(--gmd-ink); color: #fff; }
.gmd .gmd-title { margin: 0; font-size: 20px; font-weight: 600; line-height: 1.2; color: inherit; display: flex; align-items: center; gap: 10px; font-family: var(--e-global-typography-secondary-font-family, inherit); }
.gmd .gmd-n { min-width: 26px; height: 26px; padding: 0 8px; border-radius: 999px; background: var(--gmd-accent); color: #fff; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; }
.gmd .gmd-x { appearance: none; border: 0; background: rgba(255,255,255,.12); color: #fff; width: 38px; height: 38px; border-radius: 50%; font-size: 26px; line-height: 1; cursor: pointer; padding: 0; min-height: 0; }
.gmd .gmd-x:hover { background: rgba(255,255,255,.24); }
.gmd-body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 18px 22px 28px; }
.gmd-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.gmd-item { display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 8px; border: 1px solid var(--gmd-line); border-radius: 10px; background: var(--gmd-soft); margin: 0; animation: gmd-in .3s ease both; }
@keyframes gmd-in { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.gmd-sw { width: 50px; height: 50px; flex: none; border-radius: 8px; background: #ccc center / cover; box-shadow: inset 0 0 0 1px rgba(0,0,0,.1); }
.gmd-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.gmd-name { font-weight: 600; font-size: 15px; color: var(--gmd-text); overflow-wrap: anywhere; }
.gmd-code { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--gmd-muted); overflow-wrap: anywhere; }
.gmd .gmd-rm { appearance: none; border: 0; background: none; color: var(--gmd-muted); font-size: 24px; line-height: 1; width: 34px; height: 34px; border-radius: 50%; cursor: pointer; padding: 0; min-height: 0; flex: none; }
.gmd .gmd-rm:hover { background: #fff; color: var(--gmd-accent); }
.gmd .gmd-empty { margin: 4px 0 0; color: var(--gmd-muted); font-size: 15px; padding: 14px; border: 1px dashed var(--gmd-line); border-radius: 10px; text-align: center; }
.gmd .gmd-h { margin: 24px 0 4px; font-size: 16px; font-weight: 600; color: var(--gmd-ink); }
.gmd-form { display: flex; flex-direction: column; gap: 12px; }
.gmd-field { display: flex; flex-direction: column; gap: 5px; }
.gmd .gmd-field label { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--gmd-muted); }
.gmd .gmd-field label i { color: var(--gmd-accent); font-style: normal; }
.gmd .gmd-field input { width: 100%; height: 44px; padding: 0 12px; border: 1px solid var(--gmd-line); border-radius: 8px; background: #fff; color: #1b1b1b; font: inherit; font-size: 15px; box-shadow: none; margin: 0; }
.gmd .gmd-field input:focus { outline: none; border-color: var(--gmd-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gmd-accent) 25%, transparent); }
.gmd .gmd-field input.is-bad { border-color: #c62828; box-shadow: 0 0 0 3px rgba(198,40,40,.16); }
.gmd .gmd-trap { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.gmd .gmd-msg { margin: 0; color: #c62828; font-size: 14px; }
.gmd .gmd-send { appearance: none; border: 0; cursor: pointer; padding: 14px 24px; border-radius: 999px; background: var(--gmd-accent); color: #fff; font: inherit; font-size: 14px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; transition: filter .2s, transform .2s; }
.gmd .gmd-send:hover { filter: brightness(1.08); transform: translateY(-1px); }
.gmd .gmd-send:disabled { opacity: .6; cursor: wait; transform: none; }
.gmd-done { text-align: center; padding: 48px 8px; }
.gmd-done p { color: var(--gmd-muted); line-height: 1.55; margin: 10px 0 24px; }
.gmd-done .gmd-title { justify-content: center; color: var(--gmd-ink); }
.gmd-tick { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; background: var(--gmd-accent); color: #fff; font-size: 32px; display: flex; align-items: center; justify-content: center; }

/* counter badge on the site's quote button */
.gmica-cart-open { position: relative; cursor: pointer; }
.gmica-cart-badge {
	position: absolute; top: -9px; right: -9px; z-index: 3; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 999px; box-sizing: border-box;
	background: #fff; color: #391A4F; font: 700 13px/24px var(--e-global-typography-accent-font-family, sans-serif); text-align: center; letter-spacing: 0;
	box-shadow: 0 0 0 2px #391A4F, 0 6px 14px -4px rgba(0,0,0,.5); pointer-events: none; text-transform: none;
}
.gmica-cart-badge[hidden] { display: none; }
.gmica-cart-badge.is-bump { animation: gmd-bump .45s cubic-bezier(.2,1.6,.4,1); }
@keyframes gmd-bump { 0% { transform: scale(.4); } 60% { transform: scale(1.35); } 100% { transform: scale(1); } }

/* optional floating cart button: only shown while the cart has shades; number only on phones */
button.gmd-fab { position: fixed; right: 20px; bottom: 20px; z-index: 2147482000; display: inline-flex; align-items: center; gap: 12px; margin: 0; padding: 8px 8px 8px 22px; height: 56px; width: auto; border: 0; border-radius: 999px; cursor: pointer; background: #391A4F; color: #fff; font: 600 14px/1 var(--e-global-typography-accent-font-family, sans-serif); letter-spacing: .08em; text-transform: uppercase; box-shadow: 0 14px 30px -10px rgba(0,0,0,.6); animation: gmd-pop .4s cubic-bezier(.2,1.4,.4,1) both; }
button.gmd-fab[hidden] { display: none !important; }
button.gmd-fab:hover { filter: brightness(1.12); }
button.gmd-fab .gmd-fab-t { color: inherit; white-space: nowrap; }
button.gmd-fab .gmd-fab-n { display: inline-flex; align-items: center; justify-content: center; flex: none; min-width: 40px; height: 40px; padding: 0 10px; border-radius: 999px; background: #DA5D01; color: #fff; font: 700 16px/1 var(--e-global-typography-accent-font-family, sans-serif); letter-spacing: 0; box-sizing: border-box; }
button.gmd-fab .gmd-fab-n.is-bump { animation: gmd-bump .45s cubic-bezier(.2,1.6,.4,1); }
@keyframes gmd-pop { from { opacity: 0; transform: translateY(18px) scale(.85); } to { opacity: 1; transform: none; } }
@media (max-width: 767px) {
	button.gmd-fab { right: 14px; bottom: calc(var(--gmd-fab-bottom, 110px) + env(safe-area-inset-bottom, 0px)); width: 58px; height: 58px; padding: 0; gap: 0; justify-content: center; }
	button.gmd-fab .gmd-fab-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
	button.gmd-fab .gmd-fab-n { min-width: 0; width: 100%; height: 100%; padding: 0; background: transparent; font-size: 20px; }
}
html.gmd-lock, html.gmd-lock body { overflow: hidden !important; }
@media (prefers-reduced-motion: reduce) { .gmd-panel, .gmd-overlay { transition: none; } .gmd-item, .gmica-cart-badge.is-bump, button.gmd-fab, button.gmd-fab .gmd-fab-n.is-bump { animation: none; } }
