/*
 * HarnishTech customer site
 * Component library built on /css/design-tokens.css + Bootstrap 5 grid/utilities.
 * All custom classes are prefixed `ht-`.
 */

/* =========================================================
   1. Base
   ========================================================= */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--ht-font);
    font-size: var(--ht-fs-base);
    line-height: var(--ht-lh-base);
    color: var(--ht-text);
    background: var(--ht-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    margin: 0 0 var(--ht-space-3);
    font-family: var(--ht-font);
    font-weight: 700;
    line-height: var(--ht-lh-tight);
    letter-spacing: -0.02em;
    color: var(--ht-text);
}

p {
    margin: 0 0 var(--ht-space-4);
}

a {
    color: var(--ht-primary);
    text-decoration: none;
    transition: color var(--ht-duration) var(--ht-ease);
}

a:hover {
    color: var(--ht-primary-hover);
}

img {
    max-width: 100%;
    height: auto;
}

:focus-visible {
    outline: 2px solid var(--ht-primary);
    outline-offset: 2px;
}

::selection {
    background: var(--ht-primary-100);
}

.container {
    max-width: var(--ht-container);
    padding-left: 20px;
    padding-right: 20px;
}

/* Rows with .g-lg-5 pull out by 24px; the container must pad at least that much */
@media (min-width: 992px) {
    .container {
        padding-left: 24px;
        padding-right: 24px;
    }
}

.visually-hidden-focusable:not(:focus):not(:focus-within) {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
}

.ht-skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 2000;
    padding: 10px 16px;
    border-radius: var(--ht-radius-sm);
    background: var(--ht-navy);
    color: #fff;
    font-weight: 600;
}

.text-muted {
    color: var(--ht-text-muted) !important;
}

.text-brand {
    color: var(--ht-primary) !important;
}

/* =========================================================
   2. Buttons
   ========================================================= */
.ht-btn {
    --btn-bg: var(--ht-primary);
    --btn-fg: #fff;
    --btn-border: var(--ht-primary);
    --btn-bg-hover: var(--ht-primary-hover);
    --btn-fg-hover: #fff;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--ht-space-2);
    min-height: 44px;
    padding: 10px 20px;
    border: 1px solid var(--btn-border);
    border-radius: var(--ht-radius-sm);
    background: var(--btn-bg);
    color: var(--btn-fg);
    font-family: inherit;
    font-size: var(--ht-fs-sm);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0;
    white-space: nowrap;
    cursor: pointer;
    user-select: none;
    transition: background-color var(--ht-duration) var(--ht-ease), border-color var(--ht-duration) var(--ht-ease), color var(--ht-duration) var(--ht-ease), box-shadow var(--ht-duration) var(--ht-ease), transform var(--ht-duration) var(--ht-ease);
}

.ht-btn:hover {
    background: var(--btn-bg-hover);
    border-color: var(--btn-bg-hover);
    color: var(--btn-fg-hover);
}

.ht-btn:active {
    transform: translateY(1px);
}

.ht-btn:focus-visible {
    outline: none;
    box-shadow: var(--ht-ring);
}

.ht-btn:disabled,
.ht-btn.is-disabled {
    opacity: 0.55;
    cursor: not-allowed;
    pointer-events: none;
}

.ht-btn--outline {
    --btn-bg: transparent;
    --btn-fg: var(--ht-primary);
    --btn-border: var(--ht-primary-200);
    --btn-bg-hover: var(--ht-primary-50);
    --btn-fg-hover: var(--ht-primary-active);
}

.ht-btn--outline:hover {
    border-color: var(--ht-primary);
}

.ht-btn--ghost {
    --btn-bg: var(--ht-white);
    --btn-fg: var(--ht-text);
    --btn-border: var(--ht-border-strong);
    --btn-bg-hover: var(--ht-gray-50);
    --btn-fg-hover: var(--ht-text);
}

.ht-btn--ghost:hover {
    border-color: var(--ht-gray-400);
}

.ht-btn--dark {
    --btn-bg: var(--ht-navy);
    --btn-border: var(--ht-navy);
    --btn-bg-hover: var(--ht-navy-900);
}

.ht-btn--white {
    --btn-bg: #fff;
    --btn-fg: var(--ht-navy);
    --btn-border: #fff;
    --btn-bg-hover: var(--ht-primary-50);
    --btn-fg-hover: var(--ht-navy);
}

.ht-btn--danger {
    --btn-bg: transparent;
    --btn-fg: var(--ht-danger);
    --btn-border: #fecaca;
    --btn-bg-hover: var(--ht-danger-50);
    --btn-fg-hover: var(--ht-danger);
}

.ht-btn--whatsapp {
    --btn-bg: #25d366;
    --btn-border: #25d366;
    --btn-bg-hover: #1ebe5b;
}

.ht-btn--sm {
    min-height: 36px;
    padding: 7px 14px;
    font-size: 13px;
}

.ht-btn--lg {
    min-height: 52px;
    padding: 14px 28px;
    font-size: var(--ht-fs-base);
}

.ht-btn--block {
    width: 100%;
}

.ht-btn--icon {
    width: 40px;
    min-height: 40px;
    padding: 0;
}

.ht-btn .fa-solid,
.ht-btn .fa-regular,
.ht-btn .fa-brands {
    font-size: 0.95em;
}

.ht-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    font-size: var(--ht-fs-sm);
}

.ht-link i {
    transition: transform var(--ht-duration) var(--ht-ease);
}

.ht-link:hover i {
    transform: translateX(3px);
}

/* =========================================================
   3. Forms
   ========================================================= */
.ht-field {
    margin-bottom: var(--ht-space-4);
}

.ht-label {
    display: block;
    margin-bottom: 6px;
    font-size: var(--ht-fs-sm);
    font-weight: 600;
    color: var(--ht-gray-700);
}

.ht-label .req {
    color: var(--ht-danger);
}

.ht-input,
.ht-select,
.ht-textarea {
    display: block;
    width: 100%;
    min-height: 46px;
    padding: 11px 14px;
    border: 1px solid var(--ht-border-strong);
    border-radius: var(--ht-radius-sm);
    background: var(--ht-white);
    color: var(--ht-text);
    font: 500 var(--ht-fs-sm) / 1.4 var(--ht-font);
    box-shadow: var(--ht-shadow-xs);
    transition: border-color var(--ht-duration) var(--ht-ease), box-shadow var(--ht-duration) var(--ht-ease);
    -webkit-appearance: none;
    appearance: none;
}

.ht-select {
    padding-right: 40px;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%2364748b' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 14px 10px;
}

.ht-textarea {
    min-height: 130px;
    resize: vertical;
}

.ht-input::placeholder,
.ht-textarea::placeholder {
    color: var(--ht-gray-400);
    font-weight: 400;
}

.ht-input:hover,
.ht-select:hover,
.ht-textarea:hover {
    border-color: var(--ht-gray-400);
}

.ht-input:focus,
.ht-select:focus,
.ht-textarea:focus {
    outline: none;
    border-color: var(--ht-primary);
    box-shadow: var(--ht-ring);
}

.ht-input:disabled,
.ht-textarea:disabled {
    background: var(--ht-gray-50);
    color: var(--ht-text-muted);
}

.ht-input.is-invalid,
.ht-select.is-invalid,
.ht-textarea.is-invalid {
    border-color: var(--ht-danger);
}

.ht-input.is-invalid:focus,
.ht-textarea.is-invalid:focus {
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.14);
}

.ht-error,
.error-text {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--ht-danger);
}

.ht-error:empty,
.error-text:empty {
    display: none;
}

.ht-hint {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: var(--ht-text-muted);
}

.ht-input-group {
    position: relative;
}

.ht-input-group > i {
    position: absolute;
    top: 50%;
    left: 14px;
    transform: translateY(-50%);
    color: var(--ht-gray-400);
    pointer-events: none;
}

.ht-input-group > .ht-input {
    padding-left: 40px;
}

.ht-check {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: var(--ht-fs-sm);
    font-weight: 500;
    color: var(--ht-text-soft);
    cursor: pointer;
}

.ht-check input {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--ht-primary);
    cursor: pointer;
}

/* Selectable option card (address, payment) */
.ht-option {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: var(--ht-space-3);
    padding: var(--ht-space-4);
    border: 1px solid var(--ht-border);
    border-radius: var(--ht-radius);
    background: var(--ht-white);
    cursor: pointer;
    transition: border-color var(--ht-duration) var(--ht-ease), background-color var(--ht-duration) var(--ht-ease), box-shadow var(--ht-duration) var(--ht-ease);
}

.ht-option + .ht-option {
    margin-top: var(--ht-space-3);
}

.ht-option:hover {
    border-color: var(--ht-gray-400);
}

.ht-option input {
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    flex-shrink: 0;
    accent-color: var(--ht-primary);
}

.ht-option:has(input:checked) {
    border-color: var(--ht-primary);
    background: var(--ht-primary-50);
    box-shadow: 0 0 0 1px var(--ht-primary);
}

.ht-option__title {
    display: block;
    font-weight: 700;
    font-size: var(--ht-fs-sm);
    color: var(--ht-text);
}

.ht-option__meta {
    display: block;
    font-size: 13px;
    color: var(--ht-text-muted);
}

/* Time-slot picker (cart): radio cards */
.ht-slots {
    min-width: 0;
    margin: var(--ht-space-6) 0 0;
    padding: 0;
    border: 0;
}

.ht-slots__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--ht-space-2);
    margin-bottom: var(--ht-space-3);
    padding: 0;
    font-size: inherit;
    line-height: 1.4;
}

.ht-slots__date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: var(--ht-radius-pill);
    background: var(--ht-gray-100);
    color: var(--ht-text-soft);
    font-size: 12px;
    font-weight: 600;
}

.ht-slots__date i {
    color: var(--ht-primary);
}

.ht-slots__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.ht-slot {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 0;
    padding: 12px 14px;
    border: 1px solid var(--ht-border);
    border-radius: var(--ht-radius);
    background: var(--ht-white);
    cursor: pointer;
    transition: border-color var(--ht-duration) var(--ht-ease), background-color var(--ht-duration) var(--ht-ease), box-shadow var(--ht-duration) var(--ht-ease);
}

.ht-slot__period {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--ht-text-muted);
    font-size: 12px;
    font-weight: 600;
}

.ht-slot__period i {
    width: 14px;
    color: var(--ht-gray-400);
    text-align: center;
    transition: color var(--ht-duration) var(--ht-ease);
}

.ht-slot__time {
    color: var(--ht-text);
    font-size: var(--ht-fs-sm);
    font-weight: 700;
    white-space: nowrap;
}

.ht-slot__check {
    position: absolute;
    top: 10px;
    right: 10px;
    color: var(--ht-primary);
    font-size: 15px;
    opacity: 0;
    transform: scale(0.6);
    transition: opacity var(--ht-duration) var(--ht-ease), transform var(--ht-duration) var(--ht-ease-spring, ease);
}

@media (hover: hover) {
    .ht-slot:hover {
        border-color: var(--ht-gray-400);
        box-shadow: var(--ht-shadow-xs);
    }
}

.ht-slot:has(input:checked) {
    border-color: var(--ht-primary);
    background: var(--ht-primary-50);
    box-shadow: 0 0 0 1px var(--ht-primary);
}

.ht-slot:has(input:checked) .ht-slot__period,
.ht-slot:has(input:checked) .ht-slot__period i {
    color: var(--ht-primary);
}

.ht-slot:has(input:checked) .ht-slot__check {
    opacity: 1;
    transform: none;
}

.ht-slot:has(input:focus-visible) {
    outline: 2px solid var(--ht-primary);
    outline-offset: 2px;
}

.ht-slots.is-invalid .ht-slot:not(:has(input:checked)) {
    border-color: rgba(220, 38, 38, 0.45);
}

.ht-slots__error {
    display: block;
    margin-top: var(--ht-space-2);
}

.ht-slots__error[hidden] {
    display: none;
}

.ht-slots .ht-hint {
    margin-top: var(--ht-space-3);
}

@media (max-width: 575.98px) {
    .ht-slots__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: var(--ht-space-2);
    }

    .ht-slot {
        padding: 10px 12px;
    }
}

.ht-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: var(--ht-space-3);
}

.ht-options-grid .ht-option + .ht-option {
    margin-top: 0;
}

.ht-divider-text {
    display: flex;
    align-items: center;
    gap: var(--ht-space-3);
    margin: var(--ht-space-5) 0;
    color: var(--ht-text-muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ht-divider-text::before,
.ht-divider-text::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--ht-border);
}

/* Select2 aligned with .ht-select */
.select2-container {
    width: 100% !important;
    font-family: var(--ht-font);
}

.select2-container .select2-selection--single {
    height: 46px;
    border: 1px solid var(--ht-border-strong);
    border-radius: var(--ht-radius-sm);
    box-shadow: var(--ht-shadow-xs);
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    padding-left: 14px;
    padding-right: 36px;
    line-height: 44px;
    color: var(--ht-text);
    font-size: var(--ht-fs-sm);
    font-weight: 500;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: var(--ht-gray-400);
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 10px;
    right: 10px;
}

.select2-container--default.select2-container--open .select2-selection--single,
.select2-container--default.select2-container--focus .select2-selection--single {
    border-color: var(--ht-primary);
    box-shadow: var(--ht-ring);
}

.select2-dropdown {
    border: 1px solid var(--ht-border);
    border-radius: var(--ht-radius-sm);
    box-shadow: var(--ht-shadow-lg);
    overflow: hidden;
}

.select2-search--dropdown {
    padding: 8px;
}

.select2-search--dropdown .select2-search__field {
    padding: 8px 10px;
    border: 1px solid var(--ht-border-strong) !important;
    border-radius: 6px;
    outline: none;
}

.select2-results__option {
    padding: 9px 14px;
    font-size: var(--ht-fs-sm);
}

.select2-container--default .select2-results__option[aria-selected="true"],
.select2-container--default .select2-results__option--selected {
    background: var(--ht-primary-50);
    color: var(--ht-primary-active);
}

/* After the selected rule so hovering the current choice still shows the highlight. Our trimmed select2.min.css
   has no highlight colour of its own, so the text colour must be set here or it stays dark on blue. */
.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background: var(--ht-primary);
    color: #fff;
}

/* =========================================================
   4. Cards, badges, misc primitives
   ========================================================= */
.ht-card {
    border: 1px solid var(--ht-border);
    border-radius: var(--ht-radius-lg);
    background: var(--ht-surface);
    box-shadow: var(--ht-shadow-xs);
}

.ht-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--ht-space-3);
    padding: var(--ht-space-5) var(--ht-space-6);
    border-bottom: 1px solid var(--ht-border);
}

.ht-card__title {
    margin: 0;
    font-size: var(--ht-fs-lg);
    font-weight: 700;
}

.ht-card__body {
    padding: var(--ht-space-6);
}

.ht-card__footer {
    padding: var(--ht-space-4) var(--ht-space-6);
    border-top: 1px solid var(--ht-border);
    background: var(--ht-gray-50);
    border-radius: 0 0 var(--ht-radius-lg) var(--ht-radius-lg);
}

.ht-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: var(--ht-radius-pill);
    background: var(--ht-gray-100);
    color: var(--ht-gray-700);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    white-space: nowrap;
}

.ht-badge::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.ht-badge--plain::before {
    display: none;
}

.ht-badge--primary { background: var(--ht-primary-50); color: var(--ht-primary-active); }
.ht-badge--success { background: var(--ht-success-50); color: var(--ht-success); }
.ht-badge--warning { background: var(--ht-warning-50); color: var(--ht-warning); }
.ht-badge--danger { background: var(--ht-danger-50); color: var(--ht-danger); }
.ht-badge--info { background: var(--ht-info-50); color: var(--ht-info); }

.ht-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: var(--ht-space-3);
    color: var(--ht-primary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ht-alert {
    display: flex;
    gap: var(--ht-space-3);
    padding: var(--ht-space-3) var(--ht-space-4);
    margin-bottom: var(--ht-space-4);
    border: 1px solid;
    border-radius: var(--ht-radius-sm);
    font-size: var(--ht-fs-sm);
    font-weight: 500;
}

.ht-alert--success { border-color: #bbf7d0; background: var(--ht-success-50); color: #166534; }
.ht-alert--danger { border-color: #fecaca; background: var(--ht-danger-50); color: #991b1b; }
.ht-alert--info { border-color: var(--ht-primary-100); background: var(--ht-primary-50); color: var(--ht-primary-active); }

/* Media with graceful fallback when an upload is missing */
.ht-media {
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--ht-primary-50), #f4f8fc);
}

.ht-media > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 400ms var(--ht-ease);
}

.ht-media__fallback {
    display: none;
}

.ht-media.is-fallback > img {
    display: none;
}

.ht-media.is-fallback .ht-media__fallback {
    display: grid;
    place-items: center;
}

/* Category / service icon chip */
.ht-icon {
    --icon-fg: var(--ht-primary);
    --icon-bg: var(--ht-primary-50);
    display: inline-grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: var(--ht-radius);
    background: var(--icon-bg);
    color: var(--icon-fg);
    font-size: 24px;
    flex-shrink: 0;
}

.ht-icon--lg { width: 72px; height: 72px; font-size: 30px; border-radius: var(--ht-radius-lg); }
.ht-icon--sm { width: 40px; height: 40px; font-size: 17px; border-radius: 10px; }

.ht-icon--amber { --icon-fg: #b45309; --icon-bg: #fef3c7; }
.ht-icon--cyan { --icon-fg: #0e7490; --icon-bg: #cffafe; }
.ht-icon--blue { --icon-fg: #1d4ed8; --icon-bg: #dbeafe; }
.ht-icon--teal { --icon-fg: #0f766e; --icon-bg: #ccfbf1; }
.ht-icon--slate { --icon-fg: #334155; --icon-bg: #e2e8f0; }
.ht-icon--rose { --icon-fg: #be123c; --icon-bg: #ffe4e6; }
.ht-icon--violet { --icon-fg: #6d28d9; --icon-bg: #ede9fe; }
.ht-icon--green { --icon-fg: #15803d; --icon-bg: #dcfce7; }

/* Star rating display: set --rating (0–5) inline */
.ht-stars {
    --rating: 0;
    --percent: calc(var(--rating) / 5 * 100%);
    display: inline-block;
    font-size: 15px;
    line-height: 1;
    letter-spacing: 2px;
}

.ht-stars::before {
    content: "★★★★★";
    background: linear-gradient(90deg, #f59e0b var(--percent), var(--ht-gray-300) var(--percent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ht-rating {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ht-text-soft);
}

/* Empty state */
.ht-empty {
    padding: var(--ht-space-12) var(--ht-space-6);
    text-align: center;
}

.ht-empty__icon {
    display: inline-grid;
    place-items: center;
    width: 72px;
    height: 72px;
    margin-bottom: var(--ht-space-4);
    border-radius: 50%;
    background: var(--ht-primary-50);
    color: var(--ht-primary);
    font-size: 28px;
}

.ht-empty h3 {
    font-size: var(--ht-fs-xl);
    margin-bottom: var(--ht-space-2);
}

.ht-empty p {
    max-width: 420px;
    margin: 0 auto var(--ht-space-5);
    color: var(--ht-text-muted);
}

/* =========================================================
   5. Header
   ========================================================= */
.ht-topbar {
    background: var(--ht-navy);
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
}

.ht-topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--ht-space-4);
    min-height: 40px;
}

.ht-topbar__list {
    display: flex;
    align-items: center;
    gap: var(--ht-space-5);
    margin: 0;
    padding: 0;
    list-style: none;
}

.ht-topbar a {
    color: rgba(255, 255, 255, 0.82);
}

.ht-topbar a:hover {
    color: #fff;
}

.ht-topbar i {
    margin-right: 6px;
    color: #7cc1f2;
}

/* The component's wrapper must not box the header, or `sticky` would be confined to it */
.ht-site-header {
    display: contents;
}

.ht-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid var(--ht-border);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    backdrop-filter: saturate(180%) blur(12px);
    transition: box-shadow var(--ht-duration) var(--ht-ease);
}

.ht-header.is-scrolled {
    box-shadow: var(--ht-shadow);
}

.ht-header__inner {
    display: flex;
    align-items: center;
    gap: var(--ht-space-6);
    min-height: var(--ht-header-h);
}

/* Logo styles live in /css/brand.css (shared with the admin panel). */

@media (max-width: 575.98px) {
    .ht-header__inner { gap: var(--ht-space-3); }
}

.ht-nav {
    display: flex;
    align-items: center;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ht-nav__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 0;
    border-radius: var(--ht-radius-sm);
    background: none;
    color: var(--ht-gray-700);
    font-family: inherit;
    font-size: var(--ht-fs-sm);
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color var(--ht-duration) var(--ht-ease), color var(--ht-duration) var(--ht-ease);
}

.ht-nav__link:hover,
.ht-nav__link[aria-expanded="true"] {
    background: var(--ht-gray-100);
    color: var(--ht-text);
}

.ht-nav__link.is-active {
    color: var(--ht-primary);
    background: var(--ht-primary-50);
}

.ht-nav__link .fa-chevron-down {
    font-size: 10px;
    transition: transform var(--ht-duration) var(--ht-ease);
}

.ht-nav__link[aria-expanded="true"] .fa-chevron-down {
    transform: rotate(180deg);
}

.ht-header__actions {
    display: flex;
    align-items: center;
    gap: var(--ht-space-2);
    margin-left: auto;
}

.ht-icon-btn {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--ht-border);
    border-radius: var(--ht-radius-sm);
    background: var(--ht-white);
    color: var(--ht-gray-700);
    font-size: 17px;
    cursor: pointer;
    transition: border-color var(--ht-duration) var(--ht-ease), background-color var(--ht-duration) var(--ht-ease), color var(--ht-duration) var(--ht-ease);
}

.ht-icon-btn:hover {
    border-color: var(--ht-gray-300);
    background: var(--ht-gray-50);
    color: var(--ht-text);
}

.ht-icon-btn__count {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border: 2px solid #fff;
    border-radius: var(--ht-radius-pill);
    background: var(--ht-primary);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
}

.ht-icon-btn__count[data-count="0"] {
    background: var(--ht-gray-400);
}

/* Dropdown panels (categories, account, mini cart) */
.ht-dropdown {
    min-width: 240px;
    margin-top: 10px !important;
    padding: var(--ht-space-2);
    border: 1px solid var(--ht-border);
    border-radius: var(--ht-radius);
    background: var(--ht-white);
    box-shadow: var(--ht-shadow-lg);
}

.ht-dropdown .dropdown-item {
    display: flex;
    align-items: center;
    gap: var(--ht-space-3);
    padding: 9px 12px;
    border-radius: var(--ht-radius-sm);
    color: var(--ht-text);
    font-size: var(--ht-fs-sm);
    font-weight: 500;
    white-space: normal;
}

.ht-dropdown .dropdown-item:hover,
.ht-dropdown .dropdown-item:focus {
    background: var(--ht-gray-100);
    color: var(--ht-text);
}

.ht-dropdown .dropdown-item.active,
.ht-dropdown .dropdown-item:active {
    background: var(--ht-primary-50);
    color: var(--ht-primary-active);
}

.ht-dropdown .dropdown-item > i {
    width: 18px;
    color: var(--ht-text-muted);
    text-align: center;
}

.ht-dropdown .dropdown-divider {
    margin: 6px 0;
    border-color: var(--ht-border);
}

.ht-dropdown__header {
    padding: 8px 12px 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--ht-text-muted);
    text-transform: uppercase;
}

.ht-dropdown--mega {
    width: min(560px, 92vw);
    padding: var(--ht-space-3);
}

.ht-dropdown--mega .ht-mega-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
}

.ht-dropdown--mega .dropdown-item {
    padding: 10px;
}

.ht-dropdown--mega .dropdown-item strong {
    display: block;
    font-weight: 600;
}

.ht-dropdown--mega .dropdown-item small {
    display: block;
    color: var(--ht-text-muted);
    font-size: 12px;
}

/* Mini cart */
.ht-minicart {
    width: min(360px, 92vw);
    padding: 0;
    overflow: hidden;
}

.ht-minicart__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--ht-space-4) var(--ht-space-4) var(--ht-space-3);
    border-bottom: 1px solid var(--ht-border);
}

.ht-minicart__head h6 {
    margin: 0;
    font-size: var(--ht-fs-sm);
}

.ht-minicart__list {
    max-height: 320px;
    margin: 0;
    padding: var(--ht-space-2);
    overflow-y: auto;
    list-style: none;
}

.ht-minicart__item {
    display: flex;
    align-items: center;
    gap: var(--ht-space-3);
    padding: 8px;
    border-radius: var(--ht-radius-sm);
}

.ht-minicart__item:hover {
    background: var(--ht-gray-50);
}

.ht-minicart__thumb {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    flex-shrink: 0;
}

.ht-minicart__thumb .ht-icon {
    width: 48px;
    height: 48px;
    font-size: 18px;
    border-radius: 10px;
}

.ht-minicart__info {
    flex: 1;
    min-width: 0;
}

.ht-minicart__info a {
    display: block;
    overflow: hidden;
    color: var(--ht-text);
    font-size: var(--ht-fs-sm);
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ht-minicart__info span {
    font-size: 13px;
    font-weight: 700;
    color: var(--ht-primary);
}

.ht-minicart__remove {
    display: inline-grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--ht-gray-400);
    cursor: pointer;
}

.ht-minicart__remove:hover {
    background: var(--ht-danger-50);
    color: var(--ht-danger);
}

.ht-minicart__foot {
    padding: var(--ht-space-4);
    border-top: 1px solid var(--ht-border);
    background: var(--ht-gray-50);
}

.ht-minicart__total {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--ht-space-3);
    font-weight: 700;
}

.ht-minicart__empty {
    padding: var(--ht-space-8) var(--ht-space-4);
    color: var(--ht-text-muted);
    font-size: var(--ht-fs-sm);
    text-align: center;
}

.ht-minicart__empty i {
    display: block;
    margin-bottom: var(--ht-space-2);
    font-size: 28px;
    color: var(--ht-gray-300);
}

/* Header search */
.ht-search {
    position: relative;
    flex: 1;
    max-width: 340px;
}

.ht-search .ht-input {
    min-height: 42px;
    padding-left: 40px;
    border-radius: var(--ht-radius-pill);
    background: var(--ht-gray-50);
    box-shadow: none;
}

.ht-search .ht-input:focus {
    background: #fff;
}

.ht-search > i {
    position: absolute;
    top: 50%;
    left: 16px;
    transform: translateY(-50%);
    color: var(--ht-gray-400);
    font-size: 14px;
    pointer-events: none;
}

/* Mobile drawer */
.ht-drawer.offcanvas {
    width: min(340px, 88vw);
    border: 0;
}

.ht-drawer .offcanvas-header {
    justify-content: space-between;
    gap: var(--ht-space-3);
    padding: var(--ht-space-4) var(--ht-space-5);
    border-bottom: 1px solid var(--ht-border);
}

.ht-drawer .offcanvas-body {
    padding: var(--ht-space-4) var(--ht-space-5) var(--ht-space-8);
}

.ht-drawer__nav {
    margin: 0 0 var(--ht-space-5);
    padding: 0;
    list-style: none;
}

.ht-drawer__nav a,
.ht-drawer__nav button {
    display: flex;
    align-items: center;
    gap: var(--ht-space-3);
    width: 100%;
    padding: 12px 8px;
    border: 0;
    border-bottom: 1px solid var(--ht-gray-100);
    background: none;
    color: var(--ht-text);
    font-family: inherit;
    font-size: var(--ht-fs-base);
    font-weight: 600;
    text-align: left;
}

.ht-drawer__nav a > i:first-child,
.ht-drawer__nav button > i:first-child {
    width: 20px;
    color: var(--ht-text-muted);
    text-align: center;
}

.ht-drawer__nav a.is-active {
    color: var(--ht-primary);
}

.ht-drawer__nav a.is-active > i:first-child {
    color: var(--ht-primary);
}

.ht-drawer__nav .collapse a {
    padding: 10px 8px 10px 40px;
    border-bottom: 0;
    font-size: var(--ht-fs-sm);
    font-weight: 500;
    color: var(--ht-text-soft);
}

.ht-drawer__nav button .fa-chevron-down {
    margin-left: auto;
    font-size: 12px;
    color: var(--ht-gray-400);
    transition: transform var(--ht-duration) var(--ht-ease);
}

.ht-drawer__nav button[aria-expanded="true"] .fa-chevron-down {
    transform: rotate(180deg);
}

.ht-drawer__contact {
    padding: var(--ht-space-4);
    border-radius: var(--ht-radius);
    background: var(--ht-gray-50);
    font-size: var(--ht-fs-sm);
}

.ht-drawer__contact a {
    display: flex;
    align-items: center;
    gap: var(--ht-space-2);
    color: var(--ht-text);
    font-weight: 600;
}

.ht-drawer__contact a + a {
    margin-top: var(--ht-space-2);
}

/* =========================================================
   6. Sections & layout
   ========================================================= */
.ht-section {
    padding: var(--ht-section-y) 0;
}

.ht-section--tint {
    background: var(--ht-bg);
}

.ht-section--tight {
    padding: calc(var(--ht-section-y) * 0.6) 0;
}

.ht-section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--ht-space-4);
    margin-bottom: var(--ht-space-8);
}

.ht-section-head--center {
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.ht-section-title {
    margin: 0;
    font-size: var(--ht-fs-3xl);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.ht-section-lead {
    max-width: 560px;
    margin: var(--ht-space-3) 0 0;
    color: var(--ht-text-soft);
    font-size: var(--ht-fs-lg);
}

.ht-section-head--center .ht-section-lead {
    margin-left: auto;
    margin-right: auto;
}

/* Inner page hero (title + breadcrumb) */
.ht-page-hero {
    position: relative;
    padding: clamp(2rem, 1.5rem + 2vw, 3.5rem) 0;
    background:
        radial-gradient(900px 300px at 85% -40%, rgba(var(--ht-primary-rgb), 0.16), transparent 70%),
        linear-gradient(180deg, var(--ht-primary-50), #f8fbfe);
    border-bottom: 1px solid var(--ht-primary-100);
}

.ht-page-hero h1 {
    margin: 0;
    font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.ht-page-hero p {
    max-width: 640px;
    margin: var(--ht-space-2) 0 0;
    color: var(--ht-text-soft);
}

.ht-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0 0 var(--ht-space-3);
    padding: 0;
    list-style: none;
    font-size: 13px;
    font-weight: 600;
    color: var(--ht-text-muted);
}

.ht-breadcrumb li + li::before {
    content: "\f054";
    margin-right: 8px;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 9px;
    color: var(--ht-gray-400);
}

.ht-breadcrumb a {
    color: var(--ht-text-muted);
}

.ht-breadcrumb a:hover {
    color: var(--ht-primary);
}

.ht-breadcrumb [aria-current] {
    color: var(--ht-text);
}

/* =========================================================
   7. Home hero
   ========================================================= */
.ht-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(800px 420px at 90% 10%, rgba(var(--ht-primary-rgb), 0.14), transparent 65%),
        radial-gradient(600px 360px at 0% 100%, rgba(245, 158, 11, 0.10), transparent 60%),
        linear-gradient(180deg, #f3f8fd 0%, #ffffff 100%);
}

.ht-hero .carousel-item {
    padding: clamp(2.5rem, 1.5rem + 4vw, 5rem) 0 clamp(3rem, 2rem + 4vw, 5.5rem);
}

.ht-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(2rem, 1rem + 3vw, 4rem);
}

.ht-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: var(--ht-space-5);
    padding: 6px 14px 6px 6px;
    border: 1px solid var(--ht-primary-100);
    border-radius: var(--ht-radius-pill);
    background: #fff;
    color: var(--ht-gray-700);
    font-size: 13px;
    font-weight: 600;
    box-shadow: var(--ht-shadow-xs);
}

.ht-hero__eyebrow b {
    padding: 2px 10px;
    border-radius: var(--ht-radius-pill);
    background: var(--ht-primary);
    color: #fff;
    font-size: 12px;
}

.ht-hero__title {
    margin: 0 0 var(--ht-space-4);
    font-size: var(--ht-fs-4xl);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.ht-hero__title span {
    display: block;
    color: var(--hero-accent, var(--ht-primary));
}

.ht-hero__lead {
    max-width: 520px;
    margin-bottom: var(--ht-space-6);
    color: var(--ht-text-soft);
    font-size: var(--ht-fs-lg);
}

.ht-booking {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) auto;
    gap: var(--ht-space-2);
    max-width: 620px;
    padding: var(--ht-space-2);
    border: 1px solid var(--ht-border);
    border-radius: var(--ht-radius-lg);
    background: #fff;
    box-shadow: var(--ht-shadow-lg);
}

.ht-booking .select2-container .select2-selection--single,
.ht-booking .ht-select {
    border-color: transparent;
    background-color: var(--ht-gray-50);
    box-shadow: none;
}

.ht-booking__field {
    position: relative;
    min-width: 0;
}

.ht-booking .ht-btn {
    min-height: 46px;
}

.ht-hero__trust {
    display: flex;
    flex-wrap: wrap;
    gap: var(--ht-space-5);
    margin: var(--ht-space-6) 0 0;
    padding: 0;
    list-style: none;
    color: var(--ht-text-soft);
    font-size: var(--ht-fs-sm);
    font-weight: 600;
}

.ht-hero__trust i {
    margin-right: 6px;
    color: var(--ht-success);
}

.ht-hero__visual {
    position: relative;
    aspect-ratio: 5 / 4;
}

.ht-hero__visual::before {
    content: "";
    position: absolute;
    inset: 8% 4% 4% 8%;
    border-radius: 40% 60% 55% 45% / 50% 45% 55% 50%;
    background: linear-gradient(135deg, var(--ht-primary-100), #e8f3fc);
}

.ht-hero__visual img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ht-hero__visual .ht-media {
    position: relative;
    height: 100%;
    background: transparent;
}

.ht-hero__visual .ht-media__fallback {
    font-size: 120px;
    color: var(--ht-primary-200);
}

.ht-hero__float {
    position: absolute;
    display: flex;
    align-items: center;
    gap: var(--ht-space-3);
    padding: 12px 16px;
    border: 1px solid var(--ht-border);
    border-radius: var(--ht-radius);
    background: #fff;
    box-shadow: var(--ht-shadow-lg);
    font-size: 13px;
    line-height: 1.3;
}

.ht-hero__float strong {
    display: block;
    font-size: 15px;
}

.ht-hero__float--a {
    left: 0;
    bottom: 10%;
}

.ht-hero__float--b {
    right: 0;
    top: 8%;
}

.ht-hero .carousel-indicators {
    bottom: 12px;
    margin-bottom: 0;
}

.ht-hero .carousel-indicators [data-bs-target] {
    width: 8px;
    height: 8px;
    margin: 0 4px;
    border: 0;
    border-radius: 50%;
    background: var(--ht-gray-300);
    opacity: 1;
    transition: width var(--ht-duration) var(--ht-ease), background var(--ht-duration) var(--ht-ease);
}

.ht-hero .carousel-indicators .active {
    width: 24px;
    border-radius: 4px;
    background: var(--ht-primary);
}

/* =========================================================
   8. Category tiles
   ========================================================= */
.ht-cat-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: var(--ht-space-4);
}

.ht-cat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--ht-space-3);
    padding: var(--ht-space-6) var(--ht-space-3) var(--ht-space-5);
    border: 1px solid var(--ht-border);
    border-radius: var(--ht-radius-lg);
    background: #fff;
    color: var(--ht-text);
    text-align: center;
    transition: border-color var(--ht-duration) var(--ht-ease), box-shadow var(--ht-duration) var(--ht-ease), transform var(--ht-duration) var(--ht-ease);
}

.ht-cat:hover {
    border-color: var(--ht-primary-200);
    box-shadow: var(--ht-shadow);
    transform: translateY(-3px);
    color: var(--ht-text);
}

.ht-cat.is-active {
    border-color: var(--ht-primary);
    background: var(--ht-primary-50);
    box-shadow: 0 0 0 1px var(--ht-primary);
}

.ht-cat__media {
    width: 72px;
    height: 72px;
    border-radius: var(--ht-radius-lg);
    background: transparent;
}

.ht-cat__media img {
    object-fit: contain;
}

.ht-cat__name {
    font-size: var(--ht-fs-sm);
    font-weight: 700;
    line-height: 1.3;
}

.ht-cat__meta {
    margin-top: -6px;
    font-size: 12px;
    color: var(--ht-text-muted);
}

/* Horizontal scroll chips (category filter on listing) */
.ht-chips {
    display: flex;
    gap: var(--ht-space-2);
    margin: 0;
    padding: 2px 2px var(--ht-space-2);
    overflow-x: auto;
    list-style: none;
    scrollbar-width: thin;
}

.ht-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px 8px 8px;
    border: 1px solid var(--ht-border);
    border-radius: var(--ht-radius-pill);
    background: #fff;
    color: var(--ht-gray-700);
    font-size: var(--ht-fs-sm);
    font-weight: 600;
    white-space: nowrap;
    transition: border-color var(--ht-duration) var(--ht-ease), background-color var(--ht-duration) var(--ht-ease), color var(--ht-duration) var(--ht-ease);
}

.ht-chip .ht-icon {
    width: 28px;
    height: 28px;
    font-size: 13px;
    border-radius: 50%;
}

.ht-chip:hover {
    border-color: var(--ht-gray-400);
    color: var(--ht-text);
}

.ht-chip.is-active {
    border-color: var(--ht-primary);
    background: var(--ht-primary);
    color: #fff;
}

.ht-chip.is-active .ht-icon {
    --icon-bg: rgba(255, 255, 255, 0.2);
    --icon-fg: #fff;
}

/* =========================================================
   9. Service cards
   ========================================================= */
.ht-service-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--ht-space-5);
}

.ht-service {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--ht-border);
    border-radius: var(--ht-radius-lg);
    background: #fff;
    transition: border-color var(--ht-duration) var(--ht-ease), box-shadow var(--ht-duration) var(--ht-ease), transform var(--ht-duration) var(--ht-ease);
}

.ht-service:hover {
    border-color: var(--ht-primary-200);
    box-shadow: var(--ht-shadow-lg);
    transform: translateY(-3px);
}

.ht-service__media {
    aspect-ratio: 4 / 3;
}

.ht-service:hover .ht-service__media img {
    transform: scale(1.04);
}

.ht-service__media .ht-icon {
    width: 76px;
    height: 76px;
    font-size: 32px;
    border-radius: 20px;
}

.ht-service__tag {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 1;
    padding: 4px 10px;
    border-radius: var(--ht-radius-pill);
    background: rgba(255, 255, 255, 0.94);
    color: var(--ht-gray-700);
    font-size: 12px;
    font-weight: 700;
    box-shadow: var(--ht-shadow-xs);
}

.ht-service__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: var(--ht-space-2);
    padding: var(--ht-space-4) var(--ht-space-5) var(--ht-space-5);
}

.ht-service__title {
    margin: 0;
    font-size: var(--ht-fs-base);
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.01em;
}

.ht-service__title a {
    color: var(--ht-text);
}

/* Whole card clickable while keeping the button independent */
.ht-service__title a::after {
    content: "";
    position: absolute;
    inset: 0;
}

.ht-service__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--ht-space-3);
    margin-top: auto;
    padding-top: var(--ht-space-3);
}

.ht-price {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.ht-price small {
    font-size: 11px;
    font-weight: 600;
    color: var(--ht-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.ht-price strong {
    font-size: var(--ht-fs-lg);
    font-weight: 800;
    color: var(--ht-text);
}

.ht-service .addToCart {
    position: relative;
    z-index: 2;
}

/* =========================================================
   10. Feature / step blocks
   ========================================================= */
.ht-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--ht-space-5);
    counter-reset: step;
}

.ht-step {
    position: relative;
    padding: var(--ht-space-6);
    border: 1px solid var(--ht-border);
    border-radius: var(--ht-radius-lg);
    background: #fff;
}

.ht-step::before {
    counter-increment: step;
    content: "0" counter(step);
    position: absolute;
    top: var(--ht-space-5);
    right: var(--ht-space-5);
    color: var(--ht-gray-200);
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.ht-step h3 {
    margin: var(--ht-space-4) 0 var(--ht-space-2);
    font-size: var(--ht-fs-lg);
}

.ht-step p {
    margin: 0;
    color: var(--ht-text-soft);
    font-size: var(--ht-fs-sm);
}

.ht-feature-list {
    display: grid;
    gap: var(--ht-space-5);
    margin: 0;
    padding: 0;
    list-style: none;
}

.ht-feature {
    display: flex;
    gap: var(--ht-space-4);
}

.ht-feature h3 {
    margin: 0 0 4px;
    font-size: var(--ht-fs-base);
}

.ht-feature p {
    margin: 0;
    color: var(--ht-text-soft);
    font-size: var(--ht-fs-sm);
}

.ht-stat-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--ht-space-4);
}

.ht-stat-row div {
    padding: var(--ht-space-5);
    border-radius: var(--ht-radius-lg);
    background: #fff;
    border: 1px solid var(--ht-border);
}

.ht-stat-row strong {
    display: block;
    font-size: var(--ht-fs-2xl);
    font-weight: 800;
    color: var(--ht-primary);
    letter-spacing: -0.02em;
}

.ht-stat-row span {
    font-size: 13px;
    color: var(--ht-text-muted);
    font-weight: 600;
}

/* CTA band */
.ht-cta {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.4fr auto;
    align-items: center;
    gap: var(--ht-space-6);
    padding: clamp(2rem, 1.5rem + 2vw, 3.5rem);
    border-radius: var(--ht-radius-xl);
    background:
        radial-gradient(500px 260px at 100% 0%, rgba(124, 193, 242, 0.35), transparent 70%),
        linear-gradient(120deg, var(--ht-navy) 0%, #0b4f82 100%);
    color: #fff;
}

.ht-cta h2 {
    margin: 0 0 var(--ht-space-2);
    color: #fff;
    font-size: var(--ht-fs-3xl);
    font-weight: 800;
}

.ht-cta p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: var(--ht-fs-lg);
}

.ht-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--ht-space-3);
}

/* =========================================================
   11. Service detail
   ========================================================= */
.ht-detail {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(1.5rem, 1rem + 3vw, 4rem);
    align-items: start;
}

.ht-detail__media {
    aspect-ratio: 4 / 3;
    border-radius: var(--ht-radius-xl);
    border: 1px solid var(--ht-border);
}

.ht-detail__media .ht-icon {
    width: 120px;
    height: 120px;
    font-size: 52px;
    border-radius: 32px;
}

.ht-detail__title {
    margin: var(--ht-space-2) 0 var(--ht-space-3);
    font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.ht-detail__price {
    display: flex;
    align-items: baseline;
    gap: var(--ht-space-2);
    margin: var(--ht-space-5) 0;
    padding: var(--ht-space-4) var(--ht-space-5);
    border-radius: var(--ht-radius);
    background: var(--ht-gray-50);
}

.ht-detail__price strong {
    font-size: var(--ht-fs-3xl);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.ht-detail__price span {
    color: var(--ht-text-muted);
    font-size: var(--ht-fs-sm);
}

.ht-checklist {
    display: grid;
    gap: var(--ht-space-3);
    margin: 0 0 var(--ht-space-6);
    padding: 0;
    list-style: none;
}

.ht-checklist li {
    display: flex;
    align-items: center;
    gap: var(--ht-space-3);
    font-size: var(--ht-fs-sm);
    font-weight: 500;
    color: var(--ht-gray-700);
}

.ht-checklist i {
    display: inline-grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--ht-success-50);
    color: var(--ht-success);
    font-size: 12px;
    flex-shrink: 0;
}

.ht-detail__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--ht-space-3);
}

.ht-tabs {
    display: flex;
    gap: var(--ht-space-1);
    margin-bottom: var(--ht-space-6);
    border-bottom: 1px solid var(--ht-border);
}

.ht-tabs .nav-link {
    margin-bottom: -1px;
    padding: 12px 16px;
    border: 0;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    background: none;
    color: var(--ht-text-muted);
    font-weight: 700;
    font-size: var(--ht-fs-sm);
}

.ht-tabs .nav-link:hover {
    color: var(--ht-text);
}

.ht-tabs .nav-link.active {
    border-bottom-color: var(--ht-primary);
    color: var(--ht-primary);
    background: none;
}

/* Reviews */
.ht-reviews {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: var(--ht-space-8);
    align-items: start;
}

.ht-review-summary {
    padding: var(--ht-space-6);
    border: 1px solid var(--ht-border);
    border-radius: var(--ht-radius-lg);
    background: var(--ht-gray-50);
}

.ht-review-summary__score {
    display: flex;
    align-items: center;
    gap: var(--ht-space-3);
    margin-bottom: var(--ht-space-5);
}

.ht-review-summary__score strong {
    font-size: 44px;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
}

.ht-bar-row {
    display: grid;
    grid-template-columns: 44px 1fr 38px;
    align-items: center;
    gap: var(--ht-space-3);
    font-size: 13px;
    font-weight: 600;
    color: var(--ht-text-soft);
}

.ht-bar-row + .ht-bar-row {
    margin-top: 8px;
}

.ht-bar {
    height: 8px;
    border-radius: var(--ht-radius-pill);
    background: var(--ht-gray-200);
    overflow: hidden;
}

.ht-bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: #f59e0b;
}

.ht-review {
    display: flex;
    gap: var(--ht-space-4);
    padding: var(--ht-space-5) 0;
    border-bottom: 1px solid var(--ht-border);
}

.ht-review:first-child {
    padding-top: 0;
}

.ht-review__avatar {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--ht-primary-100);
    color: var(--ht-primary-active);
    font-weight: 700;
    flex-shrink: 0;
}

.ht-review__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px var(--ht-space-3);
    margin-bottom: 4px;
}

.ht-review__head strong {
    font-size: var(--ht-fs-sm);
}

.ht-review__head time {
    font-size: 12px;
    color: var(--ht-text-muted);
}

.ht-review h4 {
    margin: 6px 0 4px;
    font-size: var(--ht-fs-base);
}

.ht-review p {
    margin: 0;
    color: var(--ht-text-soft);
    font-size: var(--ht-fs-sm);
}

/* Interactive star input (radio group, reversed for CSS sibling hover) */
.ht-star-input {
    display: inline-flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 4px;
}

.ht-star-input input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.ht-star-input label {
    color: var(--ht-gray-300);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    transition: color var(--ht-duration) var(--ht-ease), transform var(--ht-duration) var(--ht-ease);
}

.ht-star-input label:hover,
.ht-star-input label:hover ~ label,
.ht-star-input input:checked ~ label {
    color: #f59e0b;
}

.ht-star-input label:hover {
    transform: scale(1.1);
}

.ht-star-input input:focus-visible + label {
    outline: 2px solid var(--ht-primary);
    outline-offset: 2px;
    border-radius: 4px;
}

.ht-star-input.is-readonly label {
    cursor: default;
    transform: none;
}

/* =========================================================
   12. Cart & checkout
   ========================================================= */
.ht-cart {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 400px;
    gap: var(--ht-space-6);
    align-items: start;
}

.ht-cart-item {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr) auto auto;
    grid-template-areas: "media info price remove";
    align-items: center;
    column-gap: var(--ht-space-4);
    padding: var(--ht-space-4) var(--ht-space-6);
    transition: background-color var(--ht-duration) var(--ht-ease);
}

.ht-cart-item:hover {
    background: var(--ht-gray-50);
}

.ht-cart-item + .ht-cart-item {
    border-top: 1px solid var(--ht-border);
}

.ht-cart-item__media {
    grid-area: media;
    width: 76px;
    height: 76px;
    border-radius: var(--ht-radius);
    flex-shrink: 0;
}

.ht-cart-item__media .ht-icon {
    width: 76px;
    height: 76px;
    border-radius: var(--ht-radius);
}

.ht-cart-item__info {
    grid-area: info;
    min-width: 0;
}

.ht-cart-item__info h3 {
    margin: 0 0 2px;
    font-size: var(--ht-fs-base);
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.ht-cart-item__info h3 a {
    color: var(--ht-text);
}

.ht-cart-item__info h3 a:hover {
    color: var(--ht-primary);
}

.ht-cart-item__info p {
    margin: 0;
    overflow: hidden;
    color: var(--ht-text-muted);
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ht-cart-item__price {
    grid-area: price;
    font-size: var(--ht-fs-lg);
    font-weight: 800;
    white-space: nowrap;
}

.ht-cart-item .ht-minicart__remove {
    grid-area: remove;
    width: 40px;
    height: 40px;
}

/* Card header actions (cart "Add more" / "Clear") */
.ht-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--ht-space-2);
}

.ht-summary {
    position: sticky;
    top: calc(var(--ht-header-h) + var(--ht-space-4));
}

.ht-summary__rows {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ht-summary__rows li {
    display: flex;
    justify-content: space-between;
    gap: var(--ht-space-3);
    padding: 8px 0;
    font-size: var(--ht-fs-sm);
    color: var(--ht-text-soft);
}

.ht-summary__rows li span:last-child {
    font-weight: 600;
    color: var(--ht-text);
}

.ht-summary__rows li.is-discount span:last-child {
    color: var(--ht-success);
}

.ht-summary__total {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin: var(--ht-space-3) 0 var(--ht-space-5);
    padding-top: var(--ht-space-4);
    border-top: 1px dashed var(--ht-border-strong);
}

.ht-summary__total span {
    font-weight: 700;
}

.ht-summary__total strong {
    font-size: var(--ht-fs-2xl);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.ht-coupon {
    display: flex;
    gap: var(--ht-space-2);
}

.ht-coupon .ht-input {
    flex: 1 1 auto;
    min-width: 0;
}

.ht-coupon .ht-btn {
    flex-shrink: 0;
}

.ht-coupon .ht-input {
    text-transform: uppercase;
}

.ht-coupon .ht-input::placeholder {
    text-transform: none;
}

.ht-secure-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: var(--ht-space-3) 0 0;
    color: var(--ht-text-muted);
    font-size: 12px;
    font-weight: 600;
}

.ht-stepper {
    display: flex;
    align-items: center;
    gap: var(--ht-space-3);
    margin: 0 0 var(--ht-space-6);
    padding: 0;
    list-style: none;
    font-size: 13px;
    font-weight: 700;
    color: var(--ht-text-muted);
}

.ht-stepper li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ht-stepper li + li::before {
    content: "";
    width: 32px;
    height: 2px;
    margin-right: 4px;
    border-radius: 2px;
    background: var(--ht-border-strong);
}

.ht-stepper b {
    display: inline-grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--ht-gray-200);
    color: var(--ht-text-soft);
    font-size: 12px;
}

.ht-stepper .is-current {
    color: var(--ht-text);
}

.ht-stepper .is-current b {
    background: var(--ht-primary);
    color: #fff;
}

/* =========================================================
   13. Auth (customer log in / sign up / password recovery)
   Mobile-first, single centred column inside the regular customer header & footer.
   Wrapper: resources/views/components/customer/auth-layout.blade.php
   ========================================================= */
.ht-auth {
    padding: var(--ht-space-8) 0 var(--ht-space-12);
    background: var(--ht-white);
}

.ht-auth__card {
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
}

.ht-auth__card h1 {
    margin: 0 0 6px;
    font-size: var(--ht-fs-2xl);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: var(--ht-lh-tight);
}

.ht-auth__sub {
    margin: 0 0 var(--ht-space-6);
    color: var(--ht-text-muted);
    font-size: var(--ht-fs-sm);
}

.ht-auth__sub strong {
    color: var(--ht-text);
}

.ht-auth__card .ht-btn--block {
    margin-top: var(--ht-space-2);
}

.ht-auth__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--ht-space-2) var(--ht-space-3);
    margin: var(--ht-space-1) 0 var(--ht-space-5);
    font-size: var(--ht-fs-sm);
}

.ht-auth__row a,
.ht-auth__link {
    font-weight: 600;
}

.ht-auth__foot {
    margin: var(--ht-space-6) 0 0;
    padding-top: var(--ht-space-5);
    border-top: 1px solid var(--ht-border);
    color: var(--ht-text-muted);
    font-size: var(--ht-fs-sm);
    text-align: center;
}

.ht-auth__foot a {
    font-weight: 700;
}

.ht-auth__foot p {
    margin: 0;
}

.ht-auth__foot p + p {
    margin-top: var(--ht-space-2);
}

/* Alerts inside the auth card announce themselves to screen readers */
.ht-auth__card .ht-alert {
    align-items: flex-start;
}

.ht-auth__card .ht-alert i {
    margin-top: 2px;
}

/* Step indicator: "1 Your details — 2 Verify mobile" */
.ht-auth-steps {
    display: flex;
    gap: var(--ht-space-2);
    margin: 0 0 var(--ht-space-6);
    padding: 0;
    list-style: none;
    counter-reset: ht-step;
}

.ht-auth-steps li {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 8px;
    color: var(--ht-text-muted);
    font-size: var(--ht-fs-xs);
    font-weight: 600;
}

.ht-auth-steps li::before {
    content: "";
    height: 4px;
    border-radius: 4px;
    background: var(--ht-gray-200);
    transition: background-color var(--ht-duration) var(--ht-ease);
}

.ht-auth-steps li.is-done,
.ht-auth-steps li.is-current {
    color: var(--ht-text);
}

.ht-auth-steps li.is-done::before,
.ht-auth-steps li.is-current::before {
    background: var(--ht-primary);
}

/* Prefix inside an input, e.g. "+91" */
.ht-affix {
    position: relative;
}

.ht-affix__text {
    position: absolute;
    top: 50%;
    left: 14px;
    transform: translateY(-50%);
    color: var(--ht-text-soft);
    font-size: var(--ht-fs-sm);
    font-weight: 600;
    pointer-events: none;
}

.ht-affix .ht-input {
    padding-left: 52px;
}

/* Password show/hide */
.ht-password {
    position: relative;
}

.ht-password .ht-input {
    padding-right: 48px;
}

.ht-password__toggle {
    position: absolute;
    top: 50%;
    right: 5px;
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--ht-gray-500);
    transform: translateY(-50%);
    cursor: pointer;
}

.ht-password__toggle:hover {
    color: var(--ht-text);
    background: var(--ht-gray-100);
}

.ht-password__toggle:focus-visible {
    outline: none;
    box-shadow: var(--ht-ring);
}

/* Password requirements + strength */
.ht-pw-meter {
    margin-top: var(--ht-space-2);
}

.ht-pw-meter__bar {
    height: 4px;
    border-radius: 999px;
    background: var(--ht-gray-100);
    overflow: hidden;
}

.ht-pw-meter__bar span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: var(--ht-danger);
    transition: width var(--ht-duration) var(--ht-ease), background-color var(--ht-duration) var(--ht-ease);
}

.ht-pw-meter__bar span[data-level="fair"] { background: var(--ht-warning); }
.ht-pw-meter__bar span[data-level="strong"] { background: var(--ht-success); }

.ht-pw-meter ul {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 14px;
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
    color: var(--ht-text-muted);
    font-size: 12px;
}

.ht-pw-meter li::before {
    content: "\2022";
    display: inline-block;
    width: 14px;
    color: var(--ht-gray-400);
}

.ht-pw-meter li.is-met {
    color: var(--ht-success);
}

.ht-pw-meter li.is-met::before {
    content: "\2713";
    color: var(--ht-success);
}

/* One-time code */
.ht-otp-input {
    font-size: 24px !important;
    font-weight: 700 !important;
    letter-spacing: 0.6em;
    text-align: center;
    text-indent: 0.6em;
}

.ht-otp-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--ht-space-2);
    margin-top: var(--ht-space-4);
    font-size: var(--ht-fs-sm);
    color: var(--ht-text-muted);
}

.ht-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 36px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--ht-primary);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.ht-link-btn:hover:not(:disabled) {
    color: var(--ht-primary-hover);
    text-decoration: underline;
}

.ht-link-btn:disabled {
    color: var(--ht-text-muted);
    cursor: not-allowed;
}

/* Success state */
.ht-auth-done {
    text-align: center;
}

.ht-auth-done__icon {
    display: inline-grid;
    place-items: center;
    width: 64px;
    height: 64px;
    margin-bottom: var(--ht-space-4);
    border-radius: 50%;
    background: var(--ht-success-50);
    color: var(--ht-success);
    font-size: 26px;
}

/* Tablet and up: the form sits on a card over the light page background */
@media (min-width: 576px) {
    .ht-auth {
        padding: var(--ht-space-12) 0 var(--ht-space-16);
        background: var(--ht-bg);
    }

    .ht-auth__card {
        max-width: 460px;
        padding: var(--ht-space-8);
        border: 1px solid var(--ht-border);
        border-radius: var(--ht-radius-xl);
        background: var(--ht-white);
        box-shadow: var(--ht-shadow);
    }
}

@media (min-width: 992px) {
    .ht-auth {
        padding: var(--ht-space-16) 0;
    }

    .ht-auth__card {
        padding: var(--ht-space-10);
    }
}

/* =========================================================
   14. Account
   ========================================================= */
.ht-account {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: var(--ht-space-6);
    align-items: start;
}

.ht-account__nav {
    position: sticky;
    top: calc(var(--ht-header-h) + var(--ht-space-4));
    padding: var(--ht-space-3);
}

.ht-account__user {
    display: flex;
    align-items: center;
    gap: var(--ht-space-3);
    padding: var(--ht-space-3) var(--ht-space-3) var(--ht-space-4);
    margin-bottom: var(--ht-space-2);
    border-bottom: 1px solid var(--ht-border);
}

.ht-account__user strong {
    display: block;
    font-size: var(--ht-fs-sm);
}

.ht-account__user small {
    color: var(--ht-text-muted);
    font-size: 12px;
}

.ht-account__nav .nav-link {
    display: flex;
    align-items: center;
    gap: var(--ht-space-3);
    width: 100%;
    padding: 10px 12px;
    border: 0;
    border-radius: var(--ht-radius-sm);
    background: none;
    color: var(--ht-text-soft);
    font-size: var(--ht-fs-sm);
    font-weight: 600;
    text-align: left;
}

.ht-account__nav .nav-link i {
    width: 18px;
    color: var(--ht-gray-400);
    text-align: center;
}

.ht-account__nav .nav-link:hover {
    background: var(--ht-gray-100);
    color: var(--ht-text);
}

.ht-account__nav .nav-link.active {
    background: var(--ht-primary-50);
    color: var(--ht-primary);
}

.ht-account__nav .nav-link.active i {
    color: var(--ht-primary);
}

.ht-account__nav .nav-link.is-danger:hover {
    background: var(--ht-danger-50);
    color: var(--ht-danger);
}

.ht-orders {
    display: grid;
    gap: var(--ht-space-4);
}

.ht-order {
    padding: var(--ht-space-5);
    border: 1px solid var(--ht-border);
    border-radius: var(--ht-radius-lg);
    background: #fff;
}

.ht-order__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--ht-space-3);
    padding-bottom: var(--ht-space-4);
    margin-bottom: var(--ht-space-4);
    border-bottom: 1px solid var(--ht-border);
}

.ht-order__head > div {
    min-width: 0;
}

.ht-order__head .ht-badge {
    flex-shrink: 0;
    white-space: nowrap;
}

.ht-order__no {
    font-size: var(--ht-fs-base);
    font-weight: 800;
}

.ht-order__date {
    display: block;
    color: var(--ht-text-muted);
    font-size: 13px;
}

.ht-order__meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--ht-space-4);
    margin: 0 0 var(--ht-space-4);
}

.ht-order__meta dt {
    margin-bottom: 2px;
    color: var(--ht-text-muted);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.ht-order__meta dd {
    margin: 0;
    font-size: var(--ht-fs-sm);
    font-weight: 600;
}

.ht-order__items {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 var(--ht-space-4);
    padding: 0;
    list-style: none;
}

.ht-order__items li {
    padding: 6px 12px;
    border-radius: var(--ht-radius-pill);
    background: var(--ht-gray-100);
    font-size: 13px;
    font-weight: 600;
    color: var(--ht-gray-700);
}

.ht-order__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--ht-space-3);
}

.ht-order__total {
    font-size: var(--ht-fs-lg);
    font-weight: 800;
}

.ht-address-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: var(--ht-space-4);
}

.ht-address {
    display: flex;
    flex-direction: column;
    gap: var(--ht-space-3);
    padding: var(--ht-space-5);
    border: 1px solid var(--ht-border);
    border-radius: var(--ht-radius-lg);
    background: #fff;
}

.ht-address address {
    margin: 0;
    color: var(--ht-text-soft);
    font-size: var(--ht-fs-sm);
    font-style: normal;
    line-height: 1.6;
}

.ht-dl {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: var(--ht-space-3) var(--ht-space-4);
    margin: 0;
}

.ht-dl dt {
    color: var(--ht-text-muted);
    font-size: var(--ht-fs-sm);
    font-weight: 600;
}

.ht-dl dd {
    margin: 0;
    font-size: var(--ht-fs-sm);
    font-weight: 600;
}

/* =========================================================
   15. Content / prose (about, legal)
   ========================================================= */
.ht-prose {
    max-width: 760px;
    min-width: 0;
    overflow-wrap: anywhere;
    color: var(--ht-text-soft);
    font-size: var(--ht-fs-base);
    line-height: 1.75;
}

.ht-prose h2,
.ht-prose h3 {
    margin: 2.2em 0 0.6em;
    color: var(--ht-text);
    font-size: var(--ht-fs-xl);
    scroll-margin-top: calc(var(--ht-header-h) + 16px);
}

.ht-prose h4,
.ht-prose h5 {
    margin: 1.6em 0 0.5em;
    color: var(--ht-text);
    font-size: var(--ht-fs-base);
}

.ht-prose > :first-child {
    margin-top: 0;
}

.ht-prose p,
.ht-prose li {
    margin-bottom: 0.75em;
}

.ht-prose ul,
.ht-prose ol {
    padding-left: 1.25rem;
}

.ht-prose ol > p {
    margin-left: -1.25rem;
}

.ht-prose strong {
    color: var(--ht-text);
}

.ht-prose a {
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.ht-legal {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: var(--ht-space-10);
    align-items: start;
}

.ht-toc {
    position: sticky;
    top: calc(var(--ht-header-h) + var(--ht-space-6));
    margin: 0;
    padding: var(--ht-space-4);
    border: 1px solid var(--ht-border);
    border-radius: var(--ht-radius-lg);
    list-style: none;
    font-size: 13px;
}

.ht-toc::before {
    content: "On this page";
    display: block;
    margin-bottom: var(--ht-space-2);
    padding: 0 8px;
    color: var(--ht-text-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ht-toc a {
    display: block;
    padding: 6px 8px;
    border-radius: 6px;
    color: var(--ht-text-soft);
    font-weight: 600;
}

.ht-toc a:hover {
    background: var(--ht-gray-100);
    color: var(--ht-text);
}

.ht-area-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--ht-space-5);
}

.ht-area {
    overflow: hidden;
    border: 1px solid var(--ht-border);
    border-radius: var(--ht-radius-lg);
    background: #fff;
}

.ht-area .ht-media {
    aspect-ratio: 16 / 10;
}

.ht-area__body {
    padding: var(--ht-space-4) var(--ht-space-5) var(--ht-space-5);
}

.ht-area__body h3 {
    margin: 0 0 4px;
    font-size: var(--ht-fs-base);
}

.ht-area__body p {
    margin: 0;
    color: var(--ht-text-muted);
    font-size: var(--ht-fs-sm);
}

.ht-team {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--ht-space-5);
}

.ht-person {
    display: flex;
    align-items: center;
    gap: var(--ht-space-4);
    padding: var(--ht-space-5);
    border: 1px solid var(--ht-border);
    border-radius: var(--ht-radius-lg);
    background: #fff;
}

.ht-person .ht-review__avatar {
    width: 56px;
    height: 56px;
    font-size: var(--ht-fs-lg);
}

.ht-person strong {
    display: block;
}

.ht-person span {
    color: var(--ht-primary);
    font-size: var(--ht-fs-sm);
    font-weight: 600;
}

/* Contact */
.ht-contact {
    display: grid;
    grid-template-columns: 380px minmax(0, 1fr);
    gap: var(--ht-space-6);
    align-items: start;
}

.ht-contact__info {
    display: grid;
    gap: var(--ht-space-3);
}

.ht-contact__item {
    display: flex;
    gap: var(--ht-space-4);
    padding: var(--ht-space-5);
    border: 1px solid var(--ht-border);
    border-radius: var(--ht-radius-lg);
    background: #fff;
}

.ht-contact__item h3 {
    margin: 0 0 2px;
    font-size: var(--ht-fs-sm);
    color: var(--ht-text-muted);
    font-weight: 600;
}

.ht-contact__item p,
.ht-contact__item a {
    margin: 0;
    color: var(--ht-text);
    font-size: var(--ht-fs-sm);
    font-weight: 600;
}

/* =========================================================
   16. Footer
   ========================================================= */
.ht-footer {
    background: var(--ht-navy-900);
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--ht-fs-sm);
}

.ht-footer__top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
    gap: var(--ht-space-8);
    padding: var(--ht-space-16) 0 var(--ht-space-10);
}

.ht-footer h2 {
    margin: 0 0 var(--ht-space-4);
    color: #fff;
    font-size: var(--ht-fs-sm);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.ht-footer a {
    color: rgba(255, 255, 255, 0.7);
}

.ht-footer a:hover {
    color: #fff;
}

.ht-footer__brand .ht-logo {
    margin-bottom: var(--ht-space-4);
}

.ht-footer__brand p {
    max-width: 320px;
}

.ht-footer__links {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ht-footer__contact {
    display: grid;
    gap: var(--ht-space-3);
    margin: 0;
    padding: 0;
    list-style: none;
}

.ht-footer__contact li {
    display: flex;
    gap: var(--ht-space-3);
}

.ht-footer__contact i {
    flex: 0 0 16px;
    margin-top: 4px;
    text-align: center;
    color: #7cc1f2;
}

.ht-social {
    display: flex;
    gap: var(--ht-space-2);
    margin-top: var(--ht-space-5);
}

.ht-social a {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.8);
    transition: background-color var(--ht-duration) var(--ht-ease), border-color var(--ht-duration) var(--ht-ease);
}

.ht-social a:hover {
    border-color: var(--ht-primary);
    background: var(--ht-primary);
    color: #fff;
}

.ht-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--ht-space-3);
    padding: var(--ht-space-5) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13px;
}

.ht-footer__pay {
    display: flex;
    align-items: center;
    gap: var(--ht-space-3);
    color: rgba(255, 255, 255, 0.55);
    font-size: 24px;
}

/* Floating WhatsApp button */
.ht-whatsapp {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1040;
    display: inline-grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    font-size: 28px;
    box-shadow: 0 10px 24px -6px rgba(37, 211, 102, 0.6);
    transition: transform var(--ht-duration) var(--ht-ease);
}

.ht-whatsapp:hover {
    color: #fff;
    transform: scale(1.06);
}

/* Tawk.to bubble stays bottom-left, opposite WhatsApp */
.widget-visible iframe {
    left: 20px !important;
    right: auto !important;
}

/* SweetAlert2 aligned with the design system */
.swal2-popup {
    border-radius: var(--ht-radius-xl) !important;
    font-family: var(--ht-font) !important;
}

.swal2-popup.swal2-toast {
    border-radius: var(--ht-radius) !important;
    box-shadow: var(--ht-shadow-lg) !important;
}

.swal2-title {
    color: var(--ht-text) !important;
    font-weight: 700 !important;
}

.swal2-styled.swal2-confirm {
    border-radius: var(--ht-radius-sm) !important;
    background: var(--ht-primary) !important;
    font-weight: 700 !important;
}

.swal2-styled.swal2-cancel {
    border-radius: var(--ht-radius-sm) !important;
    background: var(--ht-gray-100) !important;
    color: var(--ht-text) !important;
    font-weight: 700 !important;
}

.swal2-styled.swal2-deny {
    border-radius: var(--ht-radius-sm) !important;
}

.swal2-styled:focus {
    box-shadow: var(--ht-ring) !important;
}

/* 404 */
.ht-404 {
    padding: var(--ht-section-y) 0;
    text-align: center;
}

.ht-404__code {
    margin: 0;
    background: linear-gradient(135deg, var(--ht-primary), var(--ht-navy));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: clamp(3.5rem, 2.5rem + 4vw, 5.5rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.06em;
}

/* =========================================================
   17. Responsive
   ========================================================= */
@media (max-width: 1199.98px) {
    .ht-service-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .ht-cart {
        grid-template-columns: minmax(0, 1fr) 360px;
    }
}

@media (max-width: 991.98px) {
    :root {
        --ht-header-h: 64px;
    }

    .ht-hero__grid,
    .ht-reviews,
    .ht-cart,
    .ht-account,
    .ht-contact,
    .ht-legal,
    .ht-cta {
        grid-template-columns: minmax(0, 1fr);
    }

    .ht-hero__visual {
        max-width: 460px;
        width: 100%;
        margin: 0 auto;
        order: -1;
    }

    .ht-cat-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .ht-steps,
    .ht-area-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ht-footer__top {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ht-summary,
    .ht-account__nav,
    .ht-toc {
        position: static;
    }

    .ht-toc {
        display: none;
    }

    .ht-account__nav .nav {
        flex-direction: row !important;
        flex-wrap: nowrap;
        overflow-x: auto;
    }

    .ht-account__nav .nav-link {
        white-space: nowrap;
    }

    .ht-account__user {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .ht-service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: var(--ht-space-3);
    }

    .ht-service__body {
        padding: var(--ht-space-3) var(--ht-space-4) var(--ht-space-4);
    }

    .ht-service__title {
        font-size: var(--ht-fs-sm);
    }

    .ht-service__foot {
        flex-direction: column;
        align-items: stretch;
    }

    .ht-booking,
    .ht-detail {
        grid-template-columns: minmax(0, 1fr);
    }

    .ht-section-title {
        font-size: var(--ht-fs-2xl);
    }

    .ht-section-head {
        margin-bottom: var(--ht-space-6);
    }

    .ht-team,
    .ht-stat-row {
        grid-template-columns: minmax(0, 1fr);
    }

    .ht-dl {
        grid-template-columns: minmax(0, 1fr);
        gap: 2px;
    }

    .ht-dl dd {
        margin-bottom: var(--ht-space-3);
    }

    .ht-hero__float {
        display: none;
    }

    .ht-cart-item {
        grid-template-columns: 64px minmax(0, 1fr) auto;
        grid-template-areas:
            "media info remove"
            "media price remove";
        row-gap: 2px;
        column-gap: var(--ht-space-3);
        padding: var(--ht-space-4);
    }

    .ht-cart-item__info h3 {
        font-size: var(--ht-fs-sm);
    }

    .ht-cart-item__info p {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        font-size: 12px;
        white-space: normal;
    }

    .ht-cart-item__price {
        margin-top: 4px;
        font-size: var(--ht-fs-base);
    }

    .ht-cart-item .ht-minicart__remove {
        align-self: start;
        margin: -6px -8px 0 0;
    }

    .ht-card__header,
    .ht-card__body {
        padding: var(--ht-space-4);
    }
}

@media (max-width: 575.98px) {
    .ht-hero__visual {
        max-width: 280px;
    }

    .ht-cat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: var(--ht-space-3);
    }

    .ht-steps,
    .ht-area-grid,
    .ht-footer__top {
        grid-template-columns: minmax(0, 1fr);
    }

    .ht-footer__top {
        gap: var(--ht-space-6);
        padding-top: var(--ht-space-10);
    }

    .ht-cta {
        padding: var(--ht-space-6);
    }

    .ht-cta h2 {
        font-size: var(--ht-fs-2xl);
    }

    .ht-cta__actions .ht-btn {
        width: 100%;
    }

    .ht-hero__trust {
        gap: var(--ht-space-3);
    }

    .ht-stepper {
        align-items: flex-start;
        gap: 0;
        font-size: 12px;
    }

    .ht-stepper li {
        position: relative;
        flex: 1 1 0;
        flex-direction: column;
        gap: 6px;
        line-height: 1.3;
        text-align: center;
    }

    .ht-stepper li + li::before {
        position: absolute;
        top: 12px;
        left: calc(-50% + 20px);
        right: calc(50% + 20px);
        width: auto;
        margin: 0;
    }

    .ht-cart .ht-card__header {
        flex-wrap: wrap;
    }

    .ht-cart .ht-card__actions .ht-btn {
        padding-inline: 12px;
    }

    /* How it works: icon beside the copy instead of four tall cards */
    .ht-steps {
        gap: var(--ht-space-3);
    }

    .ht-step {
        display: grid;
        grid-template-columns: 48px minmax(0, 1fr);
        column-gap: var(--ht-space-4);
        align-items: start;
        padding: var(--ht-space-4);
    }

    .ht-step .ht-icon {
        grid-row: span 2;
        width: 48px;
        height: 48px;
    }

    .ht-step h3 {
        margin: 2px 0 4px;
        padding-right: 36px;
        font-size: var(--ht-fs-base);
    }

    .ht-step::before {
        top: var(--ht-space-4);
        right: var(--ht-space-4);
        font-size: 20px;
    }

    /* Account: tabs as an even 2 × 2 grid rather than a clipped scroller */
    .ht-account__nav .nav {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 4px;
        overflow: visible;
    }

    .ht-account__nav .nav-link {
        justify-content: center;
        gap: 8px;
        padding: 10px 8px;
        white-space: normal;
        text-align: center;
    }

    .ht-order {
        padding: var(--ht-space-4);
    }

    .ht-order__meta {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: var(--ht-space-3) var(--ht-space-4);
    }

    .ht-form-submit {
        width: 100%;
    }
}

@media (max-width: 399.98px) {
    .ht-account__nav .nav-link i {
        display: none;
    }
}

/* Section headings that carry an anchor (legal pages) read as top-level sections */
.ht-prose h3[id],
.ht-prose h4[id] {
    margin-top: 2.2em;
    font-size: var(--ht-fs-xl);
    scroll-margin-top: calc(var(--ht-header-h) + 16px);
}

/* =========================================================
   18. Motion, vector animation & touch
   Everything here animates transform / opacity only (compositor-friendly) and is switched off under
   prefers-reduced-motion at the end of this section. Behaviour hooks live in assets/js/app.js.
   ========================================================= */
:root {
    --ht-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ht-ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ht-reveal-duration: 700ms;
}

/* ---------- Keyframes ---------- */
@keyframes ht-float {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(0, -10px, 0); }
}

@keyframes ht-drift {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
    33% { transform: translate3d(14px, -18px, 0) rotate(10deg) scale(1.04); }
    66% { transform: translate3d(-10px, 8px, 0) rotate(-6deg) scale(0.98); }
}

@keyframes ht-spin {
    to { transform: rotate(360deg); }
}

@keyframes ht-twinkle {
    0%, 100% { opacity: 0.25; transform: scale(0.6) rotate(0deg); }
    50% { opacity: 1; transform: scale(1) rotate(45deg); }
}

@keyframes ht-pop-in {
    from { opacity: 0; translate: 0 8px; scale: 0.98; }
    to { opacity: 1; translate: 0 0; scale: 1; }
}

@keyframes ht-slide-in {
    from { opacity: 0; transform: translate3d(16px, 0, 0); }
    to { opacity: 1; transform: none; }
}

@keyframes ht-bump {
    0% { transform: scale(1); }
    35% { transform: scale(1.35); }
    65% { transform: scale(0.92); }
    100% { transform: scale(1); }
}

@keyframes ht-pulse-ring {
    0% { opacity: 0.55; transform: scale(1); }
    100% { opacity: 0; transform: scale(1.6); }
}

@keyframes ht-fab-in {
    from { opacity: 0; transform: translate3d(0, 16px, 0) scale(0.6); }
    to { opacity: 1; transform: none; }
}

/* ---------- Animation utilities (used by the SVG components) ---------- */
.ht-anim-float { animation: ht-float 6s ease-in-out infinite; }
.ht-anim-drift { animation: ht-drift 18s ease-in-out infinite; transform-origin: 50% 50%; }
.ht-anim-drift--slow { animation-duration: 26s; animation-direction: reverse; }
.ht-anim-spin { animation: ht-spin 24s linear infinite; transform-origin: 50% 50%; transform-box: fill-box; }
.ht-anim-spin--slow { animation-duration: 60s; }
.ht-anim-spin--reverse { animation-direction: reverse; animation-duration: 16s; }
.ht-anim-twinkle { animation: ht-twinkle 3.2s ease-in-out infinite; transform-origin: 50% 50%; transform-box: fill-box; }
.ht-anim-delay-1 { animation-delay: -1.2s; }
.ht-anim-delay-2 { animation-delay: -2.1s; }

/* Illustration gears declare their transform-origin in SVG user space */
.ht-illus__gear { transform-box: view-box; }

/* ---------- Decorative vector layer (x-customer.deco) ---------- */
.ht-deco {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    color: var(--ht-primary);
}

.ht-deco__item {
    position: absolute;
    display: block;
}

.ht-deco__item > svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
}

svg.ht-deco__item { overflow: visible; }

.ht-deco__dots { color: var(--ht-primary-200); }
.ht-deco__spark { width: 18px; height: 18px; color: #f59e0b; }
.ht-deco__spark--2 { width: 12px; height: 12px; color: var(--ht-primary); animation-delay: -1.1s; }
.ht-deco__spark--3 { width: 14px; height: 14px; animation-delay: -2.2s; }
.ht-deco__plus { width: 14px; height: 14px; color: var(--ht-primary); opacity: 0.45; animation-duration: 7s; }

/* Hero */
.ht-hero .carousel { position: relative; z-index: 1; }
.ht-deco--hero .ht-deco__blob-a { top: -18%; right: -12%; width: min(62vw, 720px); aspect-ratio: 1; }
.ht-deco--hero .ht-deco__blob-b { bottom: -30%; left: -14%; width: min(48vw, 520px); aspect-ratio: 1; color: #f59e0b; }
.ht-deco--hero .ht-deco__ring { top: 10%; right: 6%; width: min(40vw, 520px); aspect-ratio: 1; opacity: 0.55; }
.ht-deco--hero .ht-deco__dots { top: 12%; left: 46%; width: 160px; height: 112px; opacity: 0.8; }
.ht-deco--hero .ht-deco__spark--1 { top: 18%; left: 52%; }
.ht-deco--hero .ht-deco__spark--2 { top: 70%; left: 48%; }
.ht-deco--hero .ht-deco__spark--3 { top: 14%; right: 8%; }
.ht-deco--hero .ht-deco__plus { bottom: 18%; right: 4%; }

/* Inner page band */
.ht-page-hero { overflow: hidden; }
.ht-page-hero > .container { position: relative; z-index: 1; }
.ht-deco--band .ht-deco__blob-a { top: -120%; right: -6%; width: 520px; aspect-ratio: 1; }
.ht-deco--band .ht-deco__dots { top: 18%; right: 14%; width: 160px; height: 112px; opacity: 0.7; }
.ht-deco--band .ht-deco__spark--1 { top: 24%; right: 34%; }
.ht-deco--band .ht-deco__spark--2 { bottom: 22%; right: 8%; }

/* CTA band (dark) */
.ht-cta > :not(.ht-deco) { position: relative; z-index: 1; }
.ht-deco--cta { color: #fff; }
.ht-deco--cta .ht-deco__rings { top: -60%; right: -8%; width: 420px; aspect-ratio: 1; }
.ht-deco--cta .ht-deco__spark--1 { top: 18%; right: 42%; color: #fcd34d; }
.ht-deco--cta .ht-deco__spark--2 { bottom: 20%; left: 46%; color: #7cc1f2; }
.ht-deco--cta .ht-deco__spark--3 { top: 64%; right: 6%; color: #fcd34d; }
.ht-deco--cta .ht-deco__plus { top: 16%; left: 4%; color: #7cc1f2; opacity: 0.6; }

/* Auth aside (dark) */
.ht-deco--auth { color: #fff; }
.ht-deco--auth .ht-deco__rings { bottom: -18%; right: -22%; width: 420px; aspect-ratio: 1; }
.ht-deco--auth .ht-deco__dots { top: 8%; right: 10%; width: 160px; height: 112px; color: rgba(255, 255, 255, 0.18); }
.ht-deco--auth .ht-deco__spark--1 { top: 22%; right: 30%; color: #fcd34d; }
.ht-deco--auth .ht-deco__spark--2 { bottom: 28%; left: 12%; color: #7cc1f2; }

/* ---------- Hero visual: floating illustration + badges ---------- */
.ht-hero__visual .ht-media { animation: ht-float 7s ease-in-out infinite; }
.ht-hero__visual::before { animation: ht-drift 22s ease-in-out infinite; }
.ht-hero__float { animation: ht-float 6s ease-in-out infinite; }
.ht-hero__float--b { animation-delay: -3s; }

/* ---------- Animated vector illustrations (x-customer.illustration) ---------- */
.ht-illus { display: block; margin: 0 auto var(--ht-space-4); }
.ht-illus svg { display: block; width: 100%; height: auto; overflow: visible; }
.ht-illus__shadow { fill: rgba(15, 23, 42, 0.07); }
.ht-illus--cart { max-width: 200px; }
.ht-illus--lost { max-width: 340px; margin-bottom: var(--ht-space-2); }

/* Generic empty-state icon: gentle float + a halo */
.ht-empty__icon { position: relative; animation: ht-float 5s ease-in-out infinite; }
.ht-empty__icon::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 2px solid var(--ht-primary-100);
    border-radius: inherit;
    animation: ht-pulse-ring 2.4s var(--ht-ease-out) infinite;
}

/* ---------- How-it-works connector (draws in when revealed) ---------- */
.ht-steps { position: relative; }
.ht-steps__line { display: none; }

@media (min-width: 992px) {
    .ht-steps__line {
        position: absolute;
        top: 52px;
        left: 12%;
        z-index: 0;
        display: block;
        width: 76%;
        height: 4px;
        color: var(--ht-primary-200);
        clip-path: inset(0 0 0 0);
        transition: clip-path 1.4s var(--ht-ease-out) 250ms;
    }

    .ht-steps__line.ht-reveal { opacity: 1; transform: none; clip-path: inset(0 100% 0 0); }
    .ht-steps__line.ht-reveal.is-in { clip-path: inset(0 0 0 0); }
    .ht-step { position: relative; z-index: 1; }
}

/* ---------- Scroll reveal (app.js adds these only to content below the fold) ---------- */
.ht-reveal {
    opacity: 0;
    transform: translate3d(0, 28px, 0);
    transition: opacity var(--ht-reveal-duration) var(--ht-ease-out), transform var(--ht-reveal-duration) var(--ht-ease-out), clip-path 1.4s var(--ht-ease-out) 250ms;
    transition-delay: var(--reveal-delay, 0ms);
}

.ht-reveal.is-in {
    opacity: 1;
    transform: none;
}

/* ---------- Micro-interactions ---------- */
a,
button,
[role="button"],
label {
    -webkit-tap-highlight-color: rgba(var(--ht-primary-rgb), 0.12);
}

.ht-btn:active:not(:disabled) {
    transform: scale(0.97);
}

.ht-btn i {
    transition: transform var(--ht-duration) var(--ht-ease);
}

@media (hover: hover) {
    .ht-btn:not(.ht-btn--ghost):not(.ht-btn--outline):not(.ht-btn--white):not(:disabled):hover {
        box-shadow: 0 10px 20px -10px rgba(var(--ht-primary-rgb), 0.7);
        transform: translateY(-1px);
    }

    .ht-btn:hover .fa-arrow-right { transform: translateX(3px); }
    .ht-btn:hover .fa-plus { transform: rotate(90deg); }
    .ht-btn:hover .fa-cart-plus { transform: translateY(-1px) rotate(-8deg); }
    .ht-btn:hover .fa-whatsapp { transform: rotate(-12deg) scale(1.1); }

    .ht-step .ht-icon,
    .ht-feature .ht-icon,
    .ht-contact__item .ht-icon { transition: transform 300ms var(--ht-ease-spring); }
    .ht-step:hover .ht-icon,
    .ht-feature:hover .ht-icon,
    .ht-contact__item:hover .ht-icon { transform: translateY(-3px) rotate(-6deg); }

    .ht-footer__links a { display: inline-block; transition: color var(--ht-duration) var(--ht-ease), transform var(--ht-duration) var(--ht-ease); }
    .ht-footer__links a:hover { transform: translateX(3px); }

    .ht-social a:hover { transform: translateY(-2px); }
}

.ht-social a {
    transition: background-color var(--ht-duration) var(--ht-ease), border-color var(--ht-duration) var(--ht-ease), transform var(--ht-duration) var(--ht-ease);
}

/* Touch screens get a press state instead of a sticky hover */
@media (hover: none) {
    .ht-service:active,
    .ht-cat:active { transform: scale(0.98); }
}

/* Add-to-cart: waiting on the server, then confirmation */
.ht-btn.is-loading {
    cursor: progress;
    opacity: 0.8;
}

.ht-btn.is-loading i { animation: ht-spin 800ms linear infinite; }


.ht-btn.is-added,
.ht-btn.is-added:hover {
    border-color: var(--ht-success);
    background: var(--ht-success);
    color: #fff;
}

.ht-btn.is-added i { animation: ht-bump 420ms var(--ht-ease-spring); }

/* Cart count bump when the Livewire mini-cart changes */
.ht-icon-btn__count.is-bump { animation: ht-bump 520ms var(--ht-ease-spring); }

/* Dropdown + mega menu entrance. Uses the individual `translate` / `scale` properties so Popper's inline
   `transform` positioning is left untouched. */
.ht-dropdown.show { animation: ht-pop-in 200ms var(--ht-ease-out); }

/* Mobile drawer links cascade in */
.ht-drawer:is(.showing, .show) .ht-drawer__nav > li { animation: ht-slide-in 380ms var(--ht-ease-out) both; }
.ht-drawer__nav > li:nth-child(2) { animation-delay: 40ms; }
.ht-drawer__nav > li:nth-child(3) { animation-delay: 80ms; }
.ht-drawer__nav > li:nth-child(4) { animation-delay: 120ms; }
.ht-drawer__nav > li:nth-child(5) { animation-delay: 160ms; }
.ht-drawer__nav > li:nth-child(6) { animation-delay: 200ms; }
.ht-drawer__nav > li:nth-child(n + 7) { animation-delay: 240ms; }

/* Form fields: label picks up the focus colour */
.ht-field:focus-within > .ht-label {
    color: var(--ht-primary);
    transition: color var(--ht-duration) var(--ht-ease);
}

/* Floating WhatsApp: entrance + a short attention pulse, then rest */
.ht-whatsapp {
    bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    animation: ht-fab-in 500ms var(--ht-ease-spring) 800ms backwards;
    transition: transform var(--ht-duration) var(--ht-ease), bottom 300ms var(--ht-ease-out);
}

.ht-whatsapp::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: 50%;
    background: #25d366;
    opacity: 0;
    animation: ht-pulse-ring 1.8s var(--ht-ease-out) 1.4s 3;
}

/* ---------- Mobile sticky booking bar (service detail) ---------- */
.ht-buybar { display: none; }

@media (max-width: 767.98px) {
    .ht-buybar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1030;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: var(--ht-space-3);
        padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
        border-top: 1px solid var(--ht-border);
        background: rgba(255, 255, 255, 0.97);
        box-shadow: 0 -10px 30px -12px rgba(15, 23, 42, 0.2);
        transform: translate3d(0, 110%, 0);
        visibility: hidden;
        transition: transform 320ms var(--ht-ease-out), visibility 0s linear 320ms;
    }

    .ht-buybar.is-visible {
        transform: none;
        visibility: visible;
        transition: transform 320ms var(--ht-ease-out), visibility 0s;
    }

    .ht-buybar small {
        display: block;
        color: var(--ht-text-muted);
        font-size: 12px;
        font-weight: 600;
    }

    .ht-buybar strong {
        font-size: var(--ht-fs-xl);
        font-weight: 800;
        line-height: 1.1;
    }

    .ht-buybar .ht-btn { flex: 0 0 auto; min-width: 150px; }

    body.has-buybar { padding-bottom: 76px; }
    body.has-buybar .ht-whatsapp { bottom: calc(92px + env(safe-area-inset-bottom, 0px)); }

    .ht-detail__actions {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: var(--ht-space-2);
    }

    .ht-detail__actions .ht-btn {
        width: 100%;
        padding-left: 12px;
        padding-right: 12px;
    }
}

/* ---------- Touch ergonomics ---------- */
@media (max-width: 767.98px), (pointer: coarse) {
    /* 16px text stops iOS Safari zooming into focused fields */
    .ht-input,
    .ht-select,
    .ht-textarea,
    .select2-container .select2-selection--single .select2-selection__rendered,
    .select2-search__field {
        font-size: 16px !important;
    }

    .ht-btn--sm { min-height: 40px; }

    .ht-link { min-height: 40px; }

    .ht-breadcrumb a {
        display: inline-flex;
        align-items: center;
        min-height: 32px;
    }

    .ht-footer__links { gap: 0; }

    .ht-footer__links a {
        display: inline-flex;
        align-items: center;
        min-height: 40px;
    }

    /* Bigger hit area without pushing the text off its icon's line */
    .ht-footer__contact a {
        display: inline-block;
        padding: 6px 0;
        margin: -6px 0;
    }

    .ht-social a { width: 44px; height: 44px; }

    .ht-whatsapp { right: 16px; width: 52px; height: 52px; font-size: 26px; }
}

@media (max-width: 575.98px) {
    /* Company + account link lists sit side by side; brand and contact span the row */
    .ht-footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--ht-space-4); }
    .ht-footer__brand,
    .ht-footer__top > :last-child { grid-column: 1 / -1; }

    .ht-deco--hero .ht-deco__blob-a { top: -6%; right: -40%; width: 120vw; }
    .ht-deco--hero .ht-deco__ring { top: 2%; right: -10%; width: 90vw; }
    .ht-deco--hero .ht-deco__dots { top: 4%; left: 4%; width: 96px; height: 64px; }
    .ht-deco--hero .ht-deco__spark--1 { top: 6%; left: auto; right: 12%; }
    .ht-deco--hero .ht-deco__spark--2 { top: 30%; left: 6%; }
    .ht-deco--band .ht-deco__dots { right: -20px; opacity: 0.45; }
    .ht-deco--band .ht-deco__spark--1 { top: 10%; right: 6%; }
    .ht-deco--cta .ht-deco__rings { top: auto; bottom: -40%; right: -30%; }
    /* CTA band: keep the sparkles clear of the heading */
    .ht-deco--cta .ht-deco__plus { top: auto; bottom: 10%; left: 5%; }
    .ht-deco--cta .ht-deco__spark--1 { top: 7%; right: 6%; }
    .ht-deco--cta .ht-deco__spark--2 { display: none; }
}

@media print {
    .ht-reveal { opacity: 1 !important; transform: none !important; clip-path: none !important; }
    .ht-deco,
    .ht-buybar,
    .ht-whatsapp { display: none !important; }
}

/* ---------- Reduced motion: keep the layout, drop the movement ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        animation-delay: 0ms !important;
        transition-duration: 0.01ms !important;
        transition-delay: 0ms !important;
    }

    .ht-reveal {
        opacity: 1 !important;
        transform: none !important;
        clip-path: none !important;
    }

    .ht-whatsapp::after,
    .ht-empty__icon::after { display: none; }

    [data-parallax] { transform: none !important; }
}

/* =========================================================
   19. Service identity: tones, animated illustrations, cards, listing
   One tone per category (App\Support\ServiceTheme) drives the illustration, card glow and tile colours.
   ========================================================= */
.ht-tone--amber  { --tone-fg: #d97706; --tone-deep: #78350f; --tone-soft: #fde68a; --tone-bg: #fef3c7; --tone-tint: #fffbeb; --tone-rgb: 217, 119, 6; }
.ht-tone--cyan   { --tone-fg: #0891b2; --tone-deep: #164e63; --tone-soft: #a5f3fc; --tone-bg: #cffafe; --tone-tint: #ecfeff; --tone-rgb: 8, 145, 178; }
.ht-tone--blue   { --tone-fg: #2563eb; --tone-deep: #1e3a8a; --tone-soft: #bfdbfe; --tone-bg: #dbeafe; --tone-tint: #eff6ff; --tone-rgb: 37, 99, 235; }
.ht-tone--teal   { --tone-fg: #0d9488; --tone-deep: #134e4a; --tone-soft: #99f6e4; --tone-bg: #ccfbf1; --tone-tint: #f0fdfa; --tone-rgb: 13, 148, 136; }
.ht-tone--slate  { --tone-fg: #475569; --tone-deep: #0f172a; --tone-soft: #cbd5e1; --tone-bg: #e2e8f0; --tone-tint: #f8fafc; --tone-rgb: 71, 85, 105; }
.ht-tone--rose   { --tone-fg: #e11d48; --tone-deep: #881337; --tone-soft: #fecdd3; --tone-bg: #ffe4e6; --tone-tint: #fff1f2; --tone-rgb: 225, 29, 72; }
.ht-tone--green  { --tone-fg: #16a34a; --tone-deep: #14532d; --tone-soft: #bbf7d0; --tone-bg: #dcfce7; --tone-tint: #f0fdf4; --tone-rgb: 22, 163, 74; }
.ht-tone--violet { --tone-fg: #7c3aed; --tone-deep: #4c1d95; --tone-soft: #ddd6fe; --tone-bg: #ede9fe; --tone-tint: #f5f3ff; --tone-rgb: 124, 58, 237; }

/* ---------- Illustration (x-customer.service-art) ---------- */
.ht-art {
    display: block;
    width: 100%;
    height: 100%;
    transition: transform 400ms var(--ht-ease-spring);
}

.ht-art svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.ht-art__blob { fill: var(--tone-bg); }
.ht-art__shadow { fill: rgba(15, 23, 42, 0.08); }

.ht-art__ring {
    fill: none;
    stroke: var(--tone-fg);
    stroke-opacity: 0.22;
    stroke-width: 1.2;
    stroke-dasharray: 2 6;
    stroke-linecap: round;
}

/* Rest pose is each animation's first frame; motion runs only while --art-play is "running". */
.ht-art.is-live,
.ht-art.is-inview,
.ht-service:hover .ht-art,
.ht-service:focus-within .ht-art,
.ht-cat:hover .ht-art,
.ht-cat:focus-visible .ht-art,
.ht-floater:hover .ht-art {
    --art-play: running;
}

.ht-art .ha-spin { animation: ht-spin 16s linear infinite; transform-box: fill-box; transform-origin: center; }
.ht-art .ha-spin-fast { animation: ht-spin 6s linear infinite; }
.ht-art .ha-spin-gear { animation: ht-spin 8s linear infinite; }
.ht-art .ha-spin-gear-rev { animation: ht-spin 5.33s linear infinite reverse; }
.ht-art .ha-bob { animation: ha-bob 3.2s ease-in-out infinite; }
.ht-art .ha-bob-soft { animation: ha-bob-soft 3.2s ease-in-out infinite; }
.ht-art .ha-glow { animation: ha-glow 2.4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; opacity: 0.55; }
.ht-art .ha-rays { animation: ha-flicker 2.4s ease-in-out infinite; opacity: 0.45; }
.ht-art .ha-wiggle { animation: ha-wiggle 2.8s ease-in-out infinite; }
.ht-art .ha-blink { animation: ha-blink 1.4s steps(2, jump-none) infinite; }
.ht-art .ha-air { animation: ha-air 1.6s ease-in infinite; }
.ht-art .ha-drip { animation: ha-drip 2.2s cubic-bezier(0.55, 0, 0.75, 0.2) infinite; transform-box: fill-box; transform-origin: 50% 0; }
.ht-art .ha-ripple { animation: ha-ripple 2.2s ease-out infinite; transform-box: fill-box; transform-origin: center; opacity: 0; }
.ht-art .ha-wave { animation: ha-wave 3s linear infinite; }
.ht-art .ha-rise { animation: ha-rise 2.4s ease-in infinite; opacity: 0; }
.ht-art .ha-paint { animation: ha-paint 3.2s ease-in-out infinite; transform-box: fill-box; transform-origin: 0 50%; transform: scaleX(0.3); }
.ht-art .ha-roll { animation: ha-roll 3.2s ease-in-out infinite; transform: translateX(-20px); }
.ht-art .ha-drip-small { animation: ha-drip-small 3.2s ease-in-out infinite; transform-box: fill-box; transform-origin: 50% 0; transform: scaleY(0.2); }
.ht-art .ha-mist { animation: ha-mist 1.6s ease-out infinite; transform-box: fill-box; transform-origin: center; }
.ht-art .ha-hammer { animation: ha-hammer 1.6s ease-in-out infinite; transform: rotate(30deg); }
.ht-art .ha-impact { animation: ha-impact 1.6s ease-out infinite; transform-box: fill-box; transform-origin: center; opacity: 0; }
.ht-art .ha-twinkle { animation: ht-twinkle 3.2s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.ht-art .ha-d1 { animation-delay: -0.55s; }
.ht-art .ha-d2 { animation-delay: -1.1s; }

/* Must out-rank the `.ht-art .ha-*` shorthands above, which reset play-state */
.ht-art svg [class*="ha-"] { animation-play-state: var(--art-play, paused); }

@keyframes ha-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes ha-bob-soft { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-2px); } }
@keyframes ha-glow { 0%, 100% { opacity: 0.55; transform: scale(0.92); } 50% { opacity: 1; transform: scale(1.1); } }
@keyframes ha-flicker { 0%, 100% { opacity: 0.45; } 40% { opacity: 1; } 55% { opacity: 0.7; } 70% { opacity: 1; } }
@keyframes ha-wiggle { 0%, 60%, 100% { transform: rotate(0deg); } 70% { transform: rotate(-10deg); } 80% { transform: rotate(8deg); } 90% { transform: rotate(-4deg); } }
@keyframes ha-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
@keyframes ha-air {
    0%, 100% { opacity: 0.9; transform: translateY(0); }
    70% { opacity: 0; transform: translateY(8px); }
    71% { opacity: 0; transform: translateY(-4px); }
}
@keyframes ha-drip {
    0% { opacity: 1; transform: translateY(0) scale(1); }
    55% { opacity: 1; transform: translateY(16px) scale(1); }
    62% { opacity: 0; transform: translateY(18px) scale(0.8); }
    63% { opacity: 0; transform: translateY(0) scale(0.3); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes ha-ripple {
    0%, 55% { opacity: 0; transform: scale(0.4); }
    62% { opacity: 1; transform: scale(0.7); }
    90%, 100% { opacity: 0; transform: scale(1.6); }
}
@keyframes ha-wave { from { transform: translateX(0); } to { transform: translateX(-60px); } }
@keyframes ha-rise {
    0% { opacity: 0; transform: translateY(0); }
    25% { opacity: 1; }
    100% { opacity: 0; transform: translateY(-28px); }
}
@keyframes ha-paint { 0%, 100% { transform: scaleX(0.3); } 50% { transform: scaleX(1); } }
@keyframes ha-roll { 0%, 100% { transform: translateX(-20px); } 50% { transform: translateX(24px); } }
@keyframes ha-drip-small { 0%, 35% { transform: scaleY(0.2); } 65% { transform: scaleY(1); } 100% { transform: scaleY(0.2); } }
@keyframes ha-mist {
    0% { opacity: 0.9; transform: translate(0, 0) scale(1); }
    100% { opacity: 0; transform: translate(6px, -4px) scale(1.8); }
}
@keyframes ha-hammer {
    0%, 100% { transform: rotate(30deg); }
    40% { transform: rotate(18deg); }
    58% { transform: rotate(55deg); }
    66% { transform: rotate(50deg); }
}
@keyframes ha-impact {
    0%, 56% { opacity: 0; transform: scale(0.6); }
    64% { opacity: 1; transform: scale(1); }
    85%, 100% { opacity: 0; transform: scale(1.15); }
}

/* Small thumbnails drop the fine detail */
.ht-minicart__thumb .ht-art__ring,
.ht-minicart__thumb .ha-twinkle,
.ht-cart-item__media .ht-art__ring,
.ht-cat__media .ht-art__ring { display: none; }

.ht-minicart__thumb.ht-art { width: 48px; height: 48px; }
.ht-cart-item__media.ht-art { width: 76px; height: 76px; }

@media (max-width: 767.98px) {
    .ht-cart-item__media.ht-art { width: 64px; height: 64px; align-self: start; }
}

.ht-minicart__thumb.ht-art,
.ht-cart-item__media.ht-art {
    flex-shrink: 0;
    padding: 4px;
    border: 1px solid rgba(var(--tone-rgb), 0.18);
    background: var(--tone-tint);
}

/* ---------- Service card ---------- */
.ht-service {
    border-radius: 20px;
    box-shadow: var(--ht-shadow-xs);
    transition: border-color 250ms var(--ht-ease), box-shadow 300ms var(--ht-ease), transform 300ms var(--ht-ease-out);
}

.ht-service__media {
    position: relative;
    aspect-ratio: 4 / 3;
    padding: 36px 12% 6px;
    border-bottom: 1px solid rgba(var(--tone-rgb, 7, 118, 199), 0.1);
    background:
        radial-gradient(120% 90% at 50% 0%, var(--tone-tint, var(--ht-primary-50)) 0%, #fff 75%);
}

.ht-service__tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(var(--tone-rgb, 7, 118, 199), 0.14);
    backdrop-filter: blur(6px);
}

.ht-service__tag::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--tone-fg, var(--ht-primary));
}

.ht-service__body {
    gap: var(--ht-space-2);
    padding: var(--ht-space-4) var(--ht-space-5) var(--ht-space-5);
}

.ht-service__title {
    display: -webkit-box;
    min-height: 2.7em;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 1.0625rem;
}

.ht-service__title a { transition: color var(--ht-duration) var(--ht-ease); }

.ht-service .ht-rating {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    font-size: 13px;
}

.ht-service__meta {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--ht-text-muted);
    font-size: 12px;
    font-weight: 600;
}

.ht-service__meta i { color: var(--ht-success); }

.ht-service__foot {
    padding-top: var(--ht-space-4);
    border-top: 1px dashed var(--ht-border);
}

.ht-service .ht-price strong { font-size: 1.25rem; letter-spacing: -0.02em; }

/* Keyboard focus on the card's (stretched) title link outlines the whole card */
.ht-service:has(.ht-service__title a:focus-visible) {
    outline: 2px solid var(--ht-primary);
    outline-offset: 3px;
}

@media (hover: hover) {
    .ht-service:hover {
        border-color: rgba(var(--tone-rgb, 7, 118, 199), 0.35);
        box-shadow: 0 22px 40px -22px rgba(var(--tone-rgb, 7, 118, 199), 0.55), 0 2px 6px -2px rgba(15, 23, 42, 0.06);
        transform: translateY(-4px);
    }

    .ht-service:hover .ht-art { transform: scale(1.05) translateY(-2px); }
    .ht-service:hover .ht-service__title a { color: var(--ht-primary); }

    .ht-service:hover .addToCart:not(.is-added) {
        border-color: var(--ht-primary);
        background: var(--ht-primary);
        color: #fff;
    }
}

/* ---------- Category tiles (home) ---------- */
.ht-cat__media.ht-art {
    width: 104px;
    height: 78px;
}

@media (hover: hover) {
    .ht-cat:hover {
        border-color: rgba(var(--tone-rgb, 7, 118, 199), 0.4);
        box-shadow: 0 18px 32px -20px rgba(var(--tone-rgb, 7, 118, 199), 0.55);
    }

    .ht-cat:hover .ht-art { transform: scale(1.08); }
}

/* ---------- Service detail media ---------- */
.ht-detail__media {
    display: grid;
    place-items: center;
    padding: var(--ht-space-6);
    overflow: hidden;
    background: radial-gradient(110% 90% at 50% 10%, var(--tone-tint) 0%, #fff 80%);
}

.ht-detail__media .ht-art { max-width: 420px; }

/* ---------- Services header: floating category art ---------- */
.ht-page-hero--with-aside > .container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
    align-items: center;
    gap: var(--ht-space-8);
}

.ht-page-hero__aside {
    position: relative;
    height: 230px;
}

.ht-floater {
    position: absolute;
    display: block;
    width: 92px;
    will-change: transform;
}

.ht-floater__card {
    display: block;
    padding: 6px;
    border: 1px solid var(--ht-border);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 36px -18px rgba(15, 23, 42, 0.28);
    animation: ht-float 6s ease-in-out infinite;
    transition: transform 300ms var(--ht-ease-spring), box-shadow 300ms var(--ht-ease);
}

.ht-floater__card .ht-art { aspect-ratio: 4 / 3; height: auto; }
.ht-floater:hover .ht-floater__card { box-shadow: 0 24px 40px -18px rgba(15, 23, 42, 0.35); }

.ht-floater--1 { top: 20%; left: 30%; z-index: 2; width: 156px; }
.ht-floater--1 .ht-floater__card { padding: 10px; border-radius: 24px; }
.ht-floater--2 { top: 0; left: 2%; }
.ht-floater--2 .ht-floater__card { animation-delay: -1.5s; animation-duration: 7s; }
.ht-floater--3 { top: -4%; right: 0; width: 84px; }
.ht-floater--3 .ht-floater__card { animation-delay: -3s; }
.ht-floater--4 { bottom: -2%; right: 6%; }
.ht-floater--4 .ht-floater__card { animation-delay: -4.2s; animation-duration: 6.6s; }
.ht-floater--5 { bottom: 2%; left: 8%; width: 78px; }
.ht-floater--5 .ht-floater__card { animation-delay: -2.2s; animation-duration: 7.4s; }

/* Hero search with an explicit submit button (easier on touch than relying on the keyboard) */
.ht-search--hero {
    max-width: 480px;
}

.ht-search--hero .ht-input {
    min-height: 52px;
    padding-right: 58px;
    border-color: var(--ht-border);
    background: #fff;
    box-shadow: 0 12px 28px -18px rgba(15, 23, 42, 0.3);
}

.ht-search--hero .ht-input:focus { box-shadow: var(--ht-ring), 0 12px 28px -18px rgba(15, 23, 42, 0.3); }

.ht-search__submit {
    position: absolute;
    top: 50%;
    right: 6px;
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: var(--ht-primary);
    color: #fff;
    transform: translateY(-50%);
    transition: background-color var(--ht-duration) var(--ht-ease), transform var(--ht-duration) var(--ht-ease);
}

.ht-search__submit:hover { background: var(--ht-primary-hover); }
.ht-search__submit:active { transform: translateY(-50%) scale(0.92); }
.ht-search__submit i { transition: transform var(--ht-duration) var(--ht-ease); }
.ht-search__submit:hover i { transform: translateX(2px); }

/* ---------- Sticky category filter ---------- */
.ht-filterbar {
    position: sticky;
    top: var(--ht-header-h);
    z-index: 1020;
    padding: var(--ht-space-3) 0 var(--ht-space-2);
    border-bottom: 1px solid transparent;
    background: rgba(255, 255, 255, 0.94);
    transition: border-color var(--ht-duration) var(--ht-ease), box-shadow var(--ht-duration) var(--ht-ease);
}

@supports (backdrop-filter: blur(8px)) {
    .ht-filterbar { background: rgba(255, 255, 255, 0.82); backdrop-filter: saturate(180%) blur(12px); }
}

.ht-filterbar.is-stuck {
    border-bottom-color: var(--ht-border);
    box-shadow: 0 10px 24px -20px rgba(15, 23, 42, 0.35);
}

.ht-filterbar .ht-chips {
    scroll-snap-type: x proximity;
    scroll-padding-inline: 4px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.ht-filterbar .ht-chips::-webkit-scrollbar { display: none; }

/* Fade the edge that has more chips beyond it */
.ht-chips.has-more-end { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); }
.ht-chips.has-more-start { -webkit-mask-image: linear-gradient(90deg, transparent, #000 40px); mask-image: linear-gradient(90deg, transparent, #000 40px); }
.ht-chips.has-more-start.has-more-end { -webkit-mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent); }

.ht-chips > li { scroll-snap-align: start; }

.ht-chip {
    min-height: 44px;
    transition: border-color var(--ht-duration) var(--ht-ease), background-color var(--ht-duration) var(--ht-ease), color var(--ht-duration) var(--ht-ease), box-shadow var(--ht-duration) var(--ht-ease), transform var(--ht-duration) var(--ht-ease);
}

.ht-chip .ht-icon { transition: transform 300ms var(--ht-ease-spring), background-color var(--ht-duration) var(--ht-ease); }
.ht-chip:active { transform: scale(0.96); }
.ht-chip.is-active { box-shadow: 0 8px 18px -10px rgba(var(--ht-primary-rgb), 0.7); }

@media (hover: hover) {
    .ht-chip:not(.is-active):hover {
        border-color: var(--ht-primary-200);
        box-shadow: var(--ht-shadow-sm);
        transform: translateY(-1px);
    }

    .ht-chip:hover .ht-icon { transform: rotate(-10deg) scale(1.12); }
}

/* ---------- Results bar ---------- */
.ht-section--listing { padding-top: var(--ht-space-6); }

.ht-listing-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--ht-space-3);
    margin-bottom: var(--ht-space-5);
}

.ht-listing-bar__count {
    margin: 0;
    color: var(--ht-text-soft);
    font-size: var(--ht-fs-sm);
}

.ht-listing-bar__count strong { color: var(--ht-text); font-size: var(--ht-fs-base); }

.ht-listing-bar__trust {
    display: flex;
    flex-wrap: wrap;
    gap: var(--ht-space-4);
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--ht-text-muted);
    font-size: 13px;
    font-weight: 600;
}

.ht-listing-bar__trust i { margin-right: 4px; color: var(--ht-success); }

.ht-empty__art { width: 200px; height: 150px; margin: 0 auto var(--ht-space-4); }

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
    .ht-page-hero--with-aside > .container { grid-template-columns: minmax(0, 1fr) minmax(0, 360px); }
    .ht-floater--1 { width: 132px; }
}

@media (max-width: 991.98px) {
    .ht-page-hero--with-aside > .container { display: block; }
    .ht-page-hero__aside { display: none; }
}

@media (max-width: 767.98px) {
    .ht-listing-bar__trust { display: none; }
    .ht-service { border-radius: 16px; }
    .ht-service__media { aspect-ratio: 1 / 0.92; padding: 30px 4% 4px; }
    .ht-service__tag { top: 8px; left: 8px; padding: 3px 8px; font-size: 11px; }
    .ht-service__title { font-size: var(--ht-fs-sm); }
    .ht-service__meta { display: none; }
    .ht-service .ht-price strong { font-size: 1.0625rem; }
    .ht-service__foot { padding-top: var(--ht-space-3); }
    .ht-service .addToCart { width: 100%; }
    .ht-filterbar { padding-top: var(--ht-space-2); }
    .ht-detail__media { padding: var(--ht-space-4); }
}

@media (max-width: 575.98px) {
    .ht-cat__media.ht-art { width: 92px; height: 69px; }
}

/* =========================================================
   20. Sub-service scenes – extra motion primitives (components/customer/art/*)
   Same rules as §19: first keyframe = rest pose, paused until --art-play is running.
   ========================================================= */
.ht-art .ha-fast { animation-duration: 2.4s; }
.ht-art .ha-med { animation-duration: 7s; }
.ht-art .ha-plug { animation: ha-plug 2.4s ease-in-out infinite; }
.ht-art .ha-sway { animation: ha-sway 3.2s ease-in-out infinite; transform: rotate(-4deg); }
.ht-art .ha-cone { animation: ha-flicker 2.4s ease-in-out infinite; }
.ht-art .ha-swing { animation: ha-swing 2.2s ease-in-out infinite; transform: rotate(-30deg); }
.ht-art .ha-toggle { animation: ha-toggle 2.4s ease-in-out infinite; }
.ht-art .ha-charge { animation: ha-charge 2s ease-in-out infinite; }
.ht-art .ha-level { animation: ha-level 2.6s ease-in-out infinite; }
.ht-art .ha-heat { animation: ha-heat 1.8s ease-out infinite; }
.ht-art .ha-flame { animation: ha-flame 0.9s ease-in-out infinite alternate; }
.ht-art .ha-fill { animation: ha-fill 2.4s ease-in-out infinite; transform-box: fill-box; transform-origin: 50% 100%; }
.ht-art .ha-wind { animation: ha-wind 1.4s ease-out infinite; }
.ht-art .ha-brush { animation: ha-brush 3.2s ease-in-out infinite; }
.ht-art .ha-c2 { animation-delay: 0.3s; }
.ht-art .ha-c3 { animation-delay: 0.6s; }
.ht-art .ha-c4 { animation-delay: 0.9s; }

@keyframes ha-plug { 0%, 100% { transform: translateX(0); } 40%, 60% { transform: translateX(-8px); } }
@keyframes ha-sway { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }
@keyframes ha-swing { 0%, 100% { transform: rotate(-30deg); } 50% { transform: rotate(32deg); } 60% { transform: rotate(24deg); } }
@keyframes ha-toggle { 0%, 35%, 100% { transform: translateY(0); } 50%, 85% { transform: translateY(-13px); } }
@keyframes ha-charge { 0%, 100% { opacity: 1; } 15% { opacity: 0.25; } 40% { opacity: 1; } }
@keyframes ha-level { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
@keyframes ha-heat {
    0%, 100% { opacity: 0.9; transform: translateY(0); }
    70% { opacity: 0; transform: translateY(-9px); }
    71% { opacity: 0; transform: translateY(4px); }
}
@keyframes ha-flame { from { transform: scale(1, 1); } to { transform: scale(0.94, 1.1); } }
@keyframes ha-fill { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(0.35); } }
@keyframes ha-wind {
    0%, 100% { opacity: 0.9; transform: translateX(0); }
    70% { opacity: 0; transform: translateX(-10px); }
    71% { opacity: 0; transform: translateX(4px); }
}
@keyframes ha-brush { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(22px); } }

/* =========================================================
   21. Home hero illustration (x-customer.hero-art)
   ========================================================= */
.ht-hero__visual--art::before { display: none; }

/* Keep the "Same-day slots" badge clear of the AC unit's display */
.ht-hero__visual--art .ht-hero__float--b { top: -1%; }

.ht-hero-art {
    position: relative;
    width: 100%;
    height: 100%;
}

.ht-hero-art__scene {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.ht-hero-art__orbit {
    fill: none;
    stroke: var(--ht-primary);
    stroke-opacity: 0.32;
    stroke-width: 1.5;
    stroke-dasharray: 3 10;
    stroke-linecap: round;
}

/* Idle: cool air pulses from the vent, the plant + leaves drift, the clock ticks */
.ht-hero-art__breeze { animation: hh-air 2.4s ease-in infinite; opacity: 0.55; }
.ht-hero-art__breeze--2 { animation-delay: -0.8s; }
.ht-hero-art__breeze--3 { animation-delay: -1.6s; }
.ht-hero-art__air { opacity: 0.7; transition: opacity 400ms var(--ht-ease); }
.ht-hero-art__fan { opacity: 0.7; transition: opacity 500ms var(--ht-ease); }
.ht-hero-art__plant { animation: hh-sway 5s ease-in-out infinite; }
.ht-hero-art__leaf { animation: hh-leaf 7s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.ht-hero-art__leaf--2 { animation-duration: 9s; animation-delay: -3s; }
.ht-hero-art__clock-hand { animation: ht-spin 30s linear infinite; transform-origin: 90px 134px; }
.ht-hero-art__led { animation: hh-led 1.6s steps(2, jump-none) infinite; }
.ht-hero-art__display { transition: fill 300ms var(--ht-ease); }

/* Interactive: the AC powers up – stronger, faster airflow and a brighter display */
.ht-hero-art:hover .ht-hero-art__air,
.ht-hero-art:focus-within .ht-hero-art__air,
.ht-hero-art:hover .ht-hero-art__fan,
.ht-hero-art:focus-within .ht-hero-art__fan { opacity: 1; }

.ht-hero-art:hover .ht-hero-art__breeze,
.ht-hero-art:focus-within .ht-hero-art__breeze { animation-duration: 1.4s; }

.ht-hero-art:hover .ht-hero-art__display,
.ht-hero-art:focus-within .ht-hero-art__display { fill: var(--ht-primary-active); }

@keyframes hh-air {
    0% { opacity: 0; transform: translateY(-6px); }
    30% { opacity: 1; }
    100% { opacity: 0; transform: translateY(14px); }
}
@keyframes hh-sway { 0%, 100% { transform: rotate(-1.5deg); } 50% { transform: rotate(1.5deg); } }
@keyframes hh-leaf {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(6px, -10px) rotate(18deg); }
}
@keyframes hh-led { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

/* Category tokens floating around the scene */
.ht-hero-token {
    position: absolute;
    z-index: 2;
    display: block;
    border-radius: 24px;
    color: var(--ht-text);
}

.ht-hero-token__bubble {
    display: grid;
    place-items: center;
    width: 80px;
    height: 80px;
    padding: 8px;
    border: 1px solid rgba(var(--tone-rgb), 0.22);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 18px 32px -18px rgba(var(--tone-rgb), 0.6), 0 2px 6px -2px rgba(15, 23, 42, 0.08);
    animation: ht-float 6s ease-in-out infinite;
    transition: scale 300ms var(--ht-ease-spring), box-shadow 300ms var(--ht-ease);
}

.ht-hero-token__bubble .ht-art { height: auto; aspect-ratio: 4 / 3; transform: scale(1.35); }
.ht-hero-token__bubble :is(.ht-art__ring, .ha-twinkle, .ht-art__shadow) { display: none; }

.ht-hero-token__label {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    padding: 4px 10px;
    border-radius: var(--ht-radius-pill);
    background: var(--ht-navy);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    opacity: 0;
    translate: -50% 4px;
    pointer-events: none;
    transition: opacity 200ms var(--ht-ease), translate 250ms var(--ht-ease-out);
}

.ht-hero-token--1 { top: 2%; left: 4%; }
.ht-hero-token--2 { top: 30%; right: -2%; }
.ht-hero-token--2 .ht-hero-token__bubble { animation-delay: -2s; animation-duration: 7s; }
.ht-hero-token--3 { top: 44%; left: -1%; }
.ht-hero-token--3 .ht-hero-token__bubble { animation-delay: -4s; animation-duration: 6.6s; }

.ht-hero-token:hover .ht-art,
.ht-hero-token:focus-visible .ht-art { --art-play: running; }

.ht-hero-token:hover .ht-hero-token__bubble,
.ht-hero-token:focus-visible .ht-hero-token__bubble {
    scale: 1.1;
    box-shadow: 0 22px 38px -16px rgba(var(--tone-rgb), 0.7), 0 2px 6px -2px rgba(15, 23, 42, 0.08);
}

.ht-hero-token:hover .ht-hero-token__label,
.ht-hero-token:focus-visible .ht-hero-token__label {
    opacity: 1;
    translate: -50% 0;
}

@media (max-width: 991.98px) {
    .ht-hero-token__bubble { width: 68px; height: 68px; border-radius: 20px; }
    /* The info badges repeat the trust list under the booking bar; on the stacked layout they crowd the scene */
    .ht-hero__float { display: none; }
}

@media (max-width: 575.98px) {
    .ht-hero-token__bubble { width: 52px; height: 52px; padding: 5px; border-radius: 16px; }
    .ht-hero-token--1 { top: 0; left: -2%; }
    .ht-hero-token--2 { right: -6%; }
    .ht-hero-token--3 { top: 46%; left: -5%; }
}

/* =========================================================
   22. Language picker (header) + hidden Google Translate engine
   ========================================================= */
.ht-translate-engine {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* Google's own banner, tooltip and highlight never show – the picker is the only UI */
iframe.skiptranslate,
.goog-te-banner-frame,
#goog-gt-tt,
.goog-te-balloon-frame,
.VIpgJd-ZVi9od-ORHb-OEVmcd,
.VIpgJd-ZVi9od-aZ2wEe-wOHMyf { display: none !important; }

body { top: 0 !important; }

.goog-text-highlight {
    background: none !important;
    box-shadow: none !important;
}

.ht-lang { position: relative; }

.ht-lang__toggle {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 42px;
    padding: 0 12px;
    border: 1px solid var(--ht-border);
    border-radius: var(--ht-radius-sm);
    background: #fff;
    color: var(--ht-gray-700);
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
    transition: border-color var(--ht-duration) var(--ht-ease), background-color var(--ht-duration) var(--ht-ease), color var(--ht-duration) var(--ht-ease), box-shadow var(--ht-duration) var(--ht-ease);
}

.ht-lang__toggle .fa-globe { color: var(--ht-primary); font-size: 15px; transition: transform 500ms var(--ht-ease-out); }
.ht-lang__chev { font-size: 9px; color: var(--ht-text-muted); transition: transform var(--ht-duration) var(--ht-ease); }
.ht-lang__toggle:hover { border-color: var(--ht-primary-200); color: var(--ht-text); }
.ht-lang__toggle:hover .fa-globe { transform: rotate(-25deg); }
.ht-lang__toggle:active { transform: scale(0.97); }
.ht-lang__toggle[aria-expanded="true"] { border-color: var(--ht-primary); background: var(--ht-primary-50); color: var(--ht-primary); box-shadow: var(--ht-ring); }
.ht-lang__toggle[aria-expanded="true"] .ht-lang__chev { transform: rotate(180deg); }

.ht-lang__menu {
    width: 280px;
    padding: var(--ht-space-3);
}

.ht-lang__menu[data-bs-popper] {
    top: calc(100% + 8px);
    right: 0;
    left: auto;
}

.ht-lang__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--ht-space-2);
    padding: 2px 4px;
    font-size: var(--ht-fs-sm);
}

.ht-lang__close {
    display: none;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: var(--ht-gray-100);
    color: var(--ht-gray-700);
}

.ht-lang__search { position: relative; margin-bottom: var(--ht-space-2); }

.ht-lang__search i {
    position: absolute;
    top: 50%;
    left: 12px;
    color: var(--ht-gray-400);
    font-size: 13px;
    transform: translateY(-50%);
    pointer-events: none;
}

.ht-lang__search .ht-input {
    min-height: 40px;
    padding: 8px 12px 8px 34px;
    border-radius: var(--ht-radius-sm);
    background: var(--ht-gray-50);
    box-shadow: none;
}

.ht-lang__list {
    display: grid;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ht-lang__option {
    display: flex !important;
    align-items: center;
    gap: var(--ht-space-3);
    width: 100%;
    min-height: 48px;
    padding: 8px 10px !important;
    border-radius: var(--ht-radius-sm);
    text-align: left;
    transition: background-color var(--ht-duration) var(--ht-ease);
}

.ht-lang__badge {
    display: inline-grid;
    flex-shrink: 0;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--ht-primary-50);
    color: var(--ht-primary);
    font-size: 13px;
    font-weight: 800;
    transition: transform 300ms var(--ht-ease-spring), background-color var(--ht-duration) var(--ht-ease), color var(--ht-duration) var(--ht-ease);
}

.ht-lang__name { display: flex; flex: 1; flex-direction: column; line-height: 1.25; }
.ht-lang__name strong { font-size: var(--ht-fs-sm); color: var(--ht-text); }
.ht-lang__name small { font-size: 12px; color: var(--ht-text-muted); }

.ht-lang__check {
    color: var(--ht-primary);
    opacity: 0;
    transform: scale(0.4);
    transition: opacity var(--ht-duration) var(--ht-ease), transform 300ms var(--ht-ease-spring);
}

.ht-lang__option:hover .ht-lang__badge,
.ht-lang__option:focus-visible .ht-lang__badge { transform: scale(1.08) rotate(-4deg); }

.ht-lang__option.is-selected { background: var(--ht-primary-50); }
.ht-lang__option.is-selected .ht-lang__badge { background: var(--ht-primary); color: #fff; }
.ht-lang__option.is-selected .ht-lang__check { opacity: 1; transform: none; }

.ht-lang__empty {
    margin: var(--ht-space-2) 0;
    padding: var(--ht-space-3);
    border-radius: var(--ht-radius-sm);
    background: var(--ht-gray-50);
    color: var(--ht-text-muted);
    font-size: 13px;
    text-align: center;
}

.ht-lang__note {
    margin: var(--ht-space-2) 0 0;
    padding: var(--ht-space-2) 4px 0;
    border-top: 1px solid var(--ht-border);
    color: var(--ht-text-muted);
    font-size: 11px;
}

/* Phones: compact toggle, menu becomes a bottom sheet over a dimmed page */
@media (max-width: 575.98px) {
    .ht-lang__toggle { width: 44px; height: 44px; padding: 0; justify-content: center; }
    .ht-lang__toggle .ht-lang__current,
    .ht-lang__chev { display: none; }

    .ht-lang__menu.show {
        position: fixed !important;
        top: auto !important;
        right: 0 !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 100%;
        max-height: 80vh;
        margin: 0;
        padding: var(--ht-space-4) var(--ht-space-4) calc(var(--ht-space-5) + env(safe-area-inset-bottom, 0px));
        overflow-y: auto;
        border: 0;
        border-radius: 22px 22px 0 0;
        box-shadow: 0 -18px 40px -12px rgba(15, 23, 42, 0.3);
        animation: hl-sheet 320ms var(--ht-ease-out);
    }

    .ht-lang__menu.show::before {
        content: "";
        display: block;
        width: 40px;
        height: 4px;
        margin: -4px auto var(--ht-space-3);
        border-radius: 2px;
        background: var(--ht-gray-300);
    }

    .ht-lang__close { display: inline-grid; }
    .ht-lang__head { margin-bottom: var(--ht-space-3); font-size: var(--ht-fs-base); }
    .ht-lang__option { min-height: 56px; }

    /* The header's backdrop-filter would trap a fixed sheet inside it, so drop it while the sheet is open and
       lift the header above the page; the dimmer lives inside the picker so it layers under the sheet. */
    body.ht-lang-open .ht-header {
        z-index: 1060;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }

    body.ht-lang-open .ht-lang::before {
        content: "";
        position: fixed;
        inset: 0;
        z-index: 1;
        background: rgba(15, 23, 42, 0.42);
        animation: hl-fade 250ms var(--ht-ease);
    }

    .ht-lang__menu.show { z-index: 2; }
}

@keyframes hl-sheet { from { transform: translate3d(0, 100%, 0); } to { transform: none; } }
@keyframes hl-fade { from { opacity: 0; } to { opacity: 1; } }

/* =========================================================
   Home booking bar: validation + busy state
   ========================================================= */
.ht-booking { align-items: start; }

.ht-booking__field .ht-error {
    margin: 6px 6px 2px;
    font-size: 12.5px;
    line-height: 1.35;
}

.ht-booking__field.is-invalid .select2-container .select2-selection--single {
    border-color: var(--ht-danger);
    background-color: var(--ht-danger-50);
}

.ht-booking__field.is-invalid .select2-container--focus .select2-selection--single,
.ht-booking__field.is-invalid .select2-container--open .select2-selection--single {
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.14);
}

.ht-booking .ht-btn:disabled { cursor: progress; opacity: 0.85; }

/* =========================================================
   Services page: live search
   ========================================================= */
.ht-search--hero .ht-input { padding-right: 96px; }

.ht-search--hero .ht-input::-webkit-search-cancel-button,
.ht-search--hero .ht-input::-webkit-search-decoration { -webkit-appearance: none; appearance: none; }

.ht-search__clear {
    position: absolute;
    top: 50%;
    right: 50px;
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--ht-gray-400);
    transform: translateY(-50%);
    transition: background-color var(--ht-duration) var(--ht-ease), color var(--ht-duration) var(--ht-ease);
}

.ht-search__clear[hidden] { display: none; }
.ht-search__clear:hover { background: var(--ht-gray-100); color: var(--ht-text); }
.ht-search__clear:focus-visible,
.ht-search__submit:focus-visible { outline: none; box-shadow: var(--ht-ring); }

/* Spinner in place of the arrow while results load */
.ht-search__submit i,
.ht-search__submit::after { grid-area: 1 / 1; }

.ht-search--hero.is-loading .ht-search__submit i { opacity: 0; }
.ht-search--hero.is-loading .ht-search__submit::after {
    content: "";
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: ht-spin 0.7s linear infinite;
}

.ht-search__msg {
    max-width: 480px;
    margin: 8px 0 0 18px;
}

/* Results dim (with a progress sweep) while a new search loads */
.ht-results { position: relative; }
.ht-results > * { transition: opacity var(--ht-duration) var(--ht-ease); }
.ht-results.is-loading { pointer-events: none; }
.ht-results.is-loading > * { opacity: 0.45; }
.ht-results.is-loading::before {
    content: "";
    position: absolute;
    top: -14px;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, transparent, var(--ht-primary), transparent) no-repeat;
    background-size: 40% 100%;
    animation: ht-search-sweep 1s ease-in-out infinite;
}

@keyframes ht-search-sweep {
    from { background-position: -60% 0; }
    to { background-position: 160% 0; }
}

.ht-search-note { align-items: center; }
.ht-search-note i { flex: none; }

.ht-empty__icon--danger { background: var(--ht-danger-50); color: var(--ht-danger); }
.ht-empty__icon--danger::after { border-color: #fecaca; }

@media (max-width: 575.98px) {
    .ht-search--hero { max-width: none; }
    .ht-search--hero .ht-input { font-size: 16px; } /* no iOS zoom-on-focus */
    .ht-search-error h3 { font-size: var(--ht-fs-lg); }
}
