/* HEIRPK Store Manager — front end. Inherits HEIRPK theme tokens when present. */

.heirpk-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.heirpk-muted { color: var(--heir-muted, #5e5850); font-size: 14px; }

/* Forms */
.heirpk-form { max-width: 760px; }
.heirpk-form__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 16px; }
.heirpk-field { display: flex; flex-direction: column; gap: 6px; margin: 0 0 16px; }
.heirpk-field--full { grid-column: 1 / -1; }
.heirpk-field[hidden] { display: none; }
.heirpk-field label { font-size: 13px; letter-spacing: .04em; }
.heirpk-help { font-size: 12px; color: var(--heir-muted, #5e5850); }
.heirpk-help[hidden] { display: none; }
.heirpk-form__context { padding: 10px 14px; background: var(--heir-paper, #fbf9f5); border: 1px solid var(--heir-line, #dcd5ca); }
.heirpk-notice { padding: 14px 18px; margin: 0 0 20px; border: 1px solid var(--heir-line, #dcd5ca); border-top: 2px solid var(--heir-ink, #0e0e0e); background: var(--heir-paper, #fbf9f5); }
.heirpk-notice--error { border-top-color: var(--heir-sale, #8a2d1f); }
.heirpk-notice p { margin: 0; }

/* Subscribe */
.heirpk-subscribe { width: 100%; max-width: 520px; }
.heirpk-subscribe__row { display: flex; flex-wrap: wrap; gap: 12px; }
.heirpk-subscribe input[type="email"] { flex: 1 1 240px; min-height: 52px; padding: 0 16px; border-radius: 0; }
.heirpk-subscribe button { min-height: 52px; padding: 0 28px; border: 0; border-radius: 0; cursor: pointer; font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; background: var(--heir-ink, #0e0e0e); color: var(--heir-ivory, #f7f4ee); }
.heirpk-subscribe button[disabled] { opacity: .6; }
.heirpk-subscribe--dark input[type="email"] { background: transparent; border: 1px solid #5e5850; color: var(--heir-ivory, #f7f4ee); }
.heirpk-subscribe--dark input[type="email"]::placeholder { color: #a39b8f; }
.heirpk-subscribe--dark button { background: var(--heir-ivory, #f7f4ee); color: var(--heir-ink, #0e0e0e); }
.heirpk-subscribe__msg { min-height: 1.4em; margin: 10px 0 0; font-size: 14px; }
.heirpk-subscribe__msg.is-error { color: #e9a99b; }
.heirpk-subscribe--light .heirpk-subscribe__msg.is-error { color: var(--heir-sale, #8a2d1f); }

/* Thread (My Account) */
.heirpk-thread { list-style: none; margin: 16px 0 24px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.heirpk-thread__msg { padding: 14px 18px; border: 1px solid var(--heir-line, #dcd5ca); background: var(--heir-paper, #fbf9f5); }
.heirpk-thread__msg--staff { border-left: 3px solid var(--heir-ink, #0e0e0e); }
.heirpk-thread__who { display: block; margin-bottom: 6px; font-size: 12px; color: var(--heir-muted, #5e5850); letter-spacing: .04em; }

/* Payment reference */
.heirpk-payref { margin: 32px 0; padding: 24px; border: 1px solid var(--heir-line, #dcd5ca); background: var(--heir-paper, #fbf9f5); }
.heirpk-payref h2 { margin-top: 0; font-size: 24px; }
.heirpk-form--inline { display: flex; flex-wrap: wrap; gap: 0 16px; align-items: flex-end; }
.heirpk-form--inline .heirpk-field { flex: 1 1 220px; }

/* WhatsApp */
.heirpk-wa-float {
	position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 56px; height: 56px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	background: var(--heir-ink, #0e0e0e); color: var(--heir-ivory, #f7f4ee) !important; box-shadow: 0 6px 20px rgba(14, 14, 14, .25);
	transition: transform .2s ease;
}
.heirpk-wa-float:hover { transform: translateY(-2px); }
.heirpk-wa-product { margin: 4px 0 16px; }
.heirpk-wa-btn { font-size: 13px; letter-spacing: .08em; text-decoration: underline; text-underline-offset: 4px; }

/* Brands page */
.heirpk-brands a { flex-direction: column; gap: 8px; }
.heirpk-brands small { font-size: 11px; letter-spacing: .1em; color: var(--heir-muted, #5e5850); text-transform: none; }
.heirpk-reviews__summary { font-size: 15px; color: var(--heir-muted, #5e5850); margin-bottom: 24px; }
.heirpk-stars { letter-spacing: 2px; }
.heirpk-empty { font-size: 17px; }
