/**
 * Frontend page layout — extracted from inline styles in PHP templates.
 * Brand colors: assets/css/theme.css (:root)
 */

/* ── Page banners ── */
.mh-page-banner {
    background-size: cover;
    background-position: center;
    min-height: 350px;
    position: relative;
    z-index: 2;
    width: 100%;
}

.mh-page-banner--shop {
    background-image: url('../../images/background/1.png');
    padding-top: 30px;
}

.mh-page-banner--gallery {
    background-image: url('../../images/background/3.png');
    padding-top: 20px;
}

.mh-page-banner--account {
    background-image: url('../../images/background/1.png');
    min-height: 250px;
    padding-top: 0;
}

.mh-page-banner--account .mh-page-banner__inner {
    padding: 70px 0;
}

.mh-page-banner--account-alt {
    background-image: url('../../images/background/bg1.jpg');
    min-height: 250px;
    padding-top: 80px;
}

.mh-page-banner--account-alt .mh-page-banner__inner {
    padding: 60px 0;
}

.mh-sidebar-avatar {
    width: 90px;
    height: 90px;
    object-fit: cover;
}

.mh-account-empty-icon {
    font-size: 56px;
    color: #ddd;
}

.mh-profile-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #e5e7eb;
}

.mh-profile-avatar-edit {
    position: absolute;
    bottom: 0;
    right: 0;
    background: #8a6b5d;
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 2px solid #fff;
}

.mh-profile-avatar-edit i {
    font-size: 11px;
}

.mh-profile-avatar-wrap {
    position: relative;
}

.mh-profile-header-row {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.mh-hidden-input {
    display: none;
}

.mh-order-status-badge {
    color: var(--white);
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}

.mh-order-status-badge--detail {
    padding: 5px 16px;
    font-size: 12px;
}

.mh-order-step-label {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
}

.mh-order-tracking-note {
    margin-top: 18px;
}

.mh-order-grand-total {
    font-size: 18px;
}

.mh-order-payment-method {
    font-weight: 600;
}

.mh-order-payment-meta {
    margin-top: 4px;
}

.mh-order-payment-badge {
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
}

.mh-order-payment-badge--paid {
    background: var(--mh-payment-success-bg);
    color: var(--mh-payment-success-text);
}

.mh-order-payment-badge--pending {
    background: var(--mh-payment-pending-bg);
    color: var(--mh-payment-pending-text);
}

.mh-order-amount-success {
    color: var(--mh-payment-success-text);
    font-weight: 600;
}

.mh-page-banner__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 0;
}

.mh-page-banner__content {
    position: relative;
    z-index: 1;
}

.mh-page-banner__inner {
    padding: 90px 0;
    text-align: center;
}

/* ── Account pages ── */
.mh-account-page .mh-account-shell {
    padding: 2.5rem 0 4rem;
}

.mh-account-sidebar-wrapper {
    margin-top: 0;
}

@media (min-width: 1280px) {
    .mh-account-sidebar-wrapper {
        margin-top: -4.5rem;
    }
}

.mh-account-sidebar,
.mh-account-mobile-bar {
    background: var(--surface-bg) !important;
    border: 1px solid var(--border-color) !important;
    color: var(--body-text) !important;
}

.mh-account-sidebar__name,
.mh-account-mobile-bar__title,
.mh-account-card h1,
.mh-account-card h2,
.mh-account-card h3,
.mh-account-card h4,
.mh-account-card h5,
.mh-account-card h6,
.mh-account-card .font-semibold {
    color: var(--title) !important;
}

.mh-account-sidebar__email {
    color: var(--secondary) !important;
    font-size: 0.88rem;
}

.mh-account-sidebar__section-label {
    color: var(--title) !important;
    background: var(--surface-strong) !important;
}

.mh-account-sidebar__link {
    color: var(--body-text) !important;
    text-decoration: none;
    transition: color 0.2s ease;
}

.mh-account-sidebar__link:hover,
.mh-account-sidebar__link.text-primary {
    color: var(--primary) !important;
}

.mh-account-card {
    background: var(--surface-bg) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 1rem !important;
    color: var(--body-text) !important;
    box-shadow: 0 14px 36px rgba(26, 18, 14, 0.1);
}

.mh-account-card p,
.mh-account-card li,
.mh-account-card span:not(.mh-order-status-badge),
.mh-account-card td,
.mh-account-card th,
.mh-account-card label,
.mh-account-card .text-body,
.mh-account-card .text-black,
.mh-account-card strong {
    color: var(--body-text) !important;
}

.mh-account-card h1,
.mh-account-card h2,
.mh-account-card h3,
.mh-account-card h4,
.mh-account-card h5,
.mh-account-card h6 {
    color: var(--title) !important;
}

.mh-account-card a:not(.btn):not(.mh-order-status-badge) {
    color: var(--primary) !important;
}

.mh-account-card a:not(.btn):hover {
    color: var(--secondary) !important;
}

.mh-account-card table th {
    color: var(--title) !important;
    font-weight: 700;
}

.mh-account-stat-card {
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.mh-account-stat-card:hover {
    border-color: var(--secondary) !important;
    box-shadow: 0 10px 24px rgba(26, 18, 14, 0.1);
    transform: translateY(-2px);
}

.mh-account-stat-card__label,
.mh-account-stat-card__value {
    color: var(--body-text) !important;
}

.mh-account-stat-card:hover .mh-account-stat-card__label,
.mh-account-stat-card:hover .mh-account-stat-card__value {
    color: var(--title) !important;
}

.mh-account-card .form-control,
.mh-account-card input:not([type="checkbox"]):not([type="radio"]),
.mh-account-card textarea,
.mh-account-card select {
    width: 100%;
    box-sizing: border-box;
    color: var(--body-text) !important;
    background: #fff !important;
    border: 1px solid var(--border-color) !important;
}

.mh-ecommerce-alert--success {
    background: var(--mh-payment-success-bg);
    border: 1px solid rgba(16, 185, 129, 0.24);
    color: var(--mh-payment-success-text);
    margin-bottom: 1rem;
    padding: 0.95rem 1rem;
    border-radius: 0.85rem;
}

/* ── Home: category circle swiper ── */
.mh-category-section .container {
    overflow: hidden;
}

.category-circle-swiper {
    padding-bottom: 48px;
    cursor: grab;
}

.category-circle-swiper.is-dragging,
.category-circle-swiper.swiper-grabbing {
    cursor: grabbing;
}

.category-circle-swiper .swiper-slide {
    display: flex;
    justify-content: center;
}

.mh-category-slide-link:hover .mh-category-slide-img {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.mh-category-slide-img {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.mh-category-slide-link:hover .mh-category-slide-title {
    color: var(--secondary) !important;
}

/* ── Home: about circle link ── */
.mh-about-circle-link {
    transition: background-color 0.3s;
}

.mh-about-circle-link:hover {
    background-color: var(--primary-hover);
}

/* ── Empty states ── */
.mh-empty-icon {
    font-size: 48px;
    color: #ddd;
}

.mh-empty-icon--lg {
    font-size: 60px;
    color: #ddd;
}

/* ── Gallery / search product images ── */
.mh-home-gallery-img {
    height: 220px;
    object-fit: cover;
}

.mh-gallery-page-img {
    height: 250px;
    object-fit: cover;
}

/* ── Gallery pagination ── */
.mh-gallery-pagination {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}

.mh-gallery-pagination__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.mh-gallery-pagination__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.12);
    color: var(--on-page-text);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.mh-gallery-pagination__link:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: var(--secondary);
    color: var(--on-page-text);
}

.mh-gallery-pagination__link.is-active {
    background: var(--secondary);
    border-color: var(--secondary);
    color: var(--white);
}

.mh-gallery-pagination__link.is-active:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.mh-gallery-pagination__link--nav {
    padding: 0 18px;
}

.mh-search-product-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.mh-about-feature-img {
    max-height: 420px;
}

.mh-about-text {
    color: #000 !important;
}

/* ── Cart panel (layout helpers; open/close lives in theme.css) ── */
.mh-cart-panel__item {
    overflow: hidden;
}

.mh-cart-panel__item-image {
    transition: none;
    transform: none !important;
}

.mh-cart-panel__item:hover .mh-cart-panel__item-image {
    transform: none !important;
}

/* ── Auth pages ── */
.mh-auth-title,
.mh-auth-subtitle,
.mh-section-kicker,
.mh-auth-card label {
    color: #000 !important;
}

.mh-auth-shell {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
}

.mh-auth-shell--spacious {
    padding: 40px 16px;
}

.mh-auth-wrap {
    width: 100%;
    max-width: 500px;
}

.mh-auth-card {
    background: #fff;
    border-radius: 1.5rem;
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.08);
    padding: 40px;
}

.mh-auth-card__header {
    margin-bottom: 24px;
}

.mh-auth-card__header--compact h2 {
    margin-bottom: 8px;
    font-size: 1.75rem;
}

.mh-auth-field {
    margin-bottom: 20px;
}

.mh-auth-field--sm {
    margin-bottom: 18px;
}

.mh-auth-field--tight {
    margin-bottom: 12px;
}

.mh-auth-field--last {
    margin-bottom: 28px;
}

.mh-auth-label {
    margin-bottom: 6px;
    color: #000;
}

.mh-auth-input {
    height: 54px;
    width: 100%;
    box-sizing: border-box;
}

.mh-auth-input--padded {
    padding: 0 20px;
    border: 1px solid #000;
    border-radius: 12px;
    outline: none;
}

.mh-auth-input--password {
    padding: 0 48px 0 20px;
    border: 1px solid #000;
    border-radius: 12px;
    outline: none;
}

.mh-auth-input-wrap {
    position: relative;
}

.mh-auth-show-pass {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
}

.mh-auth-forgot {
    text-align: right;
    margin-bottom: 20px;
}

.mh-auth-forgot a {
    color: var(--primary);
    font-size: 14px;
    font-weight: 500;
}

.mh-auth-btn-full {
    width: 100%;
    padding: 14px;
    text-align: center;
    font-size: 1rem;
}

.mh-auth-actions {
    display: flex;
    gap: 12px;
}

.mh-auth-actions .btn,
.mh-auth-actions .mh-btn-outline {
    flex: 1;
    padding: 14px;
    text-align: center;
    font-size: 1rem;
}

.mh-auth-actions .mh-btn-outline {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.mh-auth-footer {
    text-align: center;
    margin-top: 20px;
}

.mh-auth-footer-text {
    color: #6b7280;
    font-size: 14px;
}

.mh-auth-footer-link {
    color: var(--secondary);
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
}

.mh-auth-center-link {
    text-align: center;
}

.mh-auth-inline-btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 1rem;
}

.mh-auth-success-banner {
    background: #d1fae5;
    color: #065f46;
    padding: 14px 16px;
    border-radius: 10px;
    border: 1px solid #6ee7b7;
    margin-bottom: 20px;
    text-align: center;
}

.mh-btn-outline {
    color: #000;
    background: #fff;
    transition: background 0.3s, color 0.3s;
}

.mh-btn-outline:hover {
    background-color: var(--secondary);
    color: #fff !important;
}

.mh-auth-inline-link {
    text-decoration: underline;
}

/* ── Checkout page ── */
.mh-checkout-banner {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.2)), var(--page-bg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.mh-checkout-banner-inner {
    padding: 3.5rem 0 2.75rem;
}

.mh-checkout-shell {
    padding: 2.5rem 0 4rem;
}

.mh-checkout-grid {
    display: grid;
    gap: 1.75rem;
    align-items: start;
}

@media (min-width: 992px) {
    .mh-checkout-grid {
        grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
        gap: 2rem;
    }

    .mh-checkout-sidebar {
        position: sticky;
        top: calc(var(--mh-header-height, 80px) + 1rem);
    }
}

.mh-checkout-section-head {
    margin-bottom: 1.25rem;
}

.mh-checkout-heading,
.mh-checkout-order-title {
    margin: 0 0 0.35rem;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.25;
}

.mh-checkout-subheading {
    margin: 0 0 1rem;
    font-size: 1rem;
    font-weight: 700;
}

.mh-checkout-muted {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.5;
}

.mh-checkout-form,
.mh-checkout-order-card {
    background: var(--surface-bg);
    border: 1px solid var(--border-color);
    border-radius: 1.25rem;
    padding: 1.5rem 1.75rem;
    color: var(--body-text);
    box-shadow: 0 14px 36px rgba(26, 18, 14, 0.12);
}

.mh-checkout-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.mh-checkout-fields {
    display: grid;
    gap: 1rem;
}

.mh-checkout-fields--two {
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .mh-checkout-fields--two {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.mh-checkout-field label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--title);
}

.mh-checkout-field input,
.mh-checkout-field textarea {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 0.85rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    background: #fff;
    color: var(--body-text);
    font-size: 0.95rem;
    line-height: 1.4;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.mh-checkout-field textarea {
    min-height: 96px;
    resize: vertical;
}

.mh-checkout-field input:focus,
.mh-checkout-field textarea:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(200, 157, 69, 0.18);
}

.mh-payment-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mh-payment-option {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin: 0;
    padding: 1rem 1.1rem;
    border: 1px solid var(--border-color);
    border-radius: 0.9rem;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.mh-payment-option:hover {
    border-color: rgba(200, 157, 69, 0.55);
}

.mh-payment-option.is-selected,
.mh-payment-option:has(input:checked) {
    border-color: var(--secondary);
    background: rgba(200, 157, 69, 0.1);
    box-shadow: 0 0 0 1px rgba(200, 157, 69, 0.18);
}

.mh-payment-option input[type="radio"] {
    width: auto;
    margin: 0.2rem 0 0;
    flex-shrink: 0;
    accent-color: var(--secondary);
}

.mh-payment-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--title);
    line-height: 1.35;
}

.mh-payment-copy {
    margin-top: 0.25rem;
    font-size: 0.82rem;
    line-height: 1.45;
    color: var(--muted-text);
}

.mh-payment-banner {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.95rem 1rem;
    border-radius: 0.85rem;
    background: rgba(111, 79, 66, 0.06);
    border: 1px solid rgba(111, 79, 66, 0.12);
}

.mh-payment-banner img {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.mh-payment-banner-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--title);
}

.mh-payment-banner-copy {
    margin-top: 0.15rem;
    font-size: 0.78rem;
    line-height: 1.4;
    color: var(--muted-text);
}

.mh-checkout-order-card {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.mh-order-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid rgba(196, 168, 152, 0.45);
}

.mh-order-item-media {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
    flex: 1;
}

.mh-order-item-media img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 0.65rem;
    flex-shrink: 0;
}

.mh-order-item-name {
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--title);
    line-height: 1.35;
}

.mh-order-item-qty {
    margin-top: 0.15rem;
    font-size: 0.78rem;
    color: var(--muted-text);
}

.mh-order-item-price {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--title);
    white-space: nowrap;
}

.mh-order-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--muted-text);
}

.mh-order-row--discount {
    color: var(--primary);
}

.mh-order-row__free {
    font-weight: 700;
    color: var(--primary);
}

.mh-checkout-divider {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 0.85rem;
    margin-top: 0.35rem;
    border-top: 1px solid rgba(196, 168, 152, 0.55);
    color: var(--title);
}

.mh-checkout-total {
    font-size: 1.25rem;
    color: var(--title);
}

.mh-checkout-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    width: 100%;
    margin-top: 0.35rem;
    padding: 0.95rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 0.85rem;
    background: #ffffff;
    color: #000000;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}

.mh-checkout-footnote {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    margin: 0;
    font-size: 0.78rem;
    line-height: 1.45;
    color: var(--muted-text);
}

.mh-checkout-footnote .fa-shield-alt {
    color: var(--mh-status-delivered);
    margin-top: 0.1rem;
}

.mh-payment-success {
    display: flex;
    justify-content: center;
    padding: 2rem 0 3rem;
}

.mh-payment-success-card {
    width: min(100%, 560px);
    padding: 2.5rem 2rem;
    text-align: center;
    background: var(--surface-bg);
    border: 1px solid var(--border-color);
    border-radius: 1.25rem;
    box-shadow: 0 14px 36px rgba(26, 18, 14, 0.12);
}

.mh-payment-success-badge {
    width: 72px;
    height: 72px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--mh-payment-success-bg);
    color: var(--mh-payment-success-text);
    font-size: 1.75rem;
}

.mh-payment-success-title {
    color: var(--title);
}

.mh-payment-success-copy {
    color: var(--muted-text);
}

.mh-ecommerce-alert {
    margin-bottom: 1.25rem;
    padding: 0.95rem 1rem;
    border-radius: 0.85rem;
    font-size: 0.92rem;
}

.mh-ecommerce-alert--error {
    background: #fff;
    border: 1px solid rgba(185, 28, 28, 0.35);
    color: #991b1b;
    box-shadow: 0 8px 24px rgba(26, 18, 14, 0.12);
}

@media (max-width: 991px) {
    .mh-checkout-banner-inner {
        padding: 2.5rem 0 2rem;
    }

    .mh-checkout-form,
    .mh-checkout-order-card {
        padding: 1.25rem 1.15rem;
    }
}

/* ── Contact page ── */
.contact_us {
    padding: 0;
}

.contact_inner {
    background: #fff;
    position: relative;
    border-radius: 25px 0 0 25px;
    overflow: hidden;
    min-height: 420px;
    box-shadow: 20px 22px 44px rgba(204, 204, 204, 0.65);
}

.contact_strip {
    position: absolute;
    right: 0;
    top: 0;
    width: 150px;
    height: 100%;
    background: linear-gradient(to top right, #f0d27a -5%, #7b5b4d 100%);
}

.contact_field {
    padding-right: 0;
}

.contact_field h3 {
    color: #000;
    font-size: 40px;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 10px;
}

.contact_field p {
    color: #000;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 1px;
    margin-bottom: 35px;
}

.contact_us .form-control {
    width: 100%;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid #ccc;
    padding: 16px 0;
    font-size: 13px;
    color: #111;
    background: transparent;
}

.contact_us .form-control:focus {
    box-shadow: none !important;
    outline: none !important;
    border: none !important;
    border-bottom: 2px solid #d4af37 !important;
    background: transparent !important;
}

.contact_us input.form-control,
.contact_us textarea.form-control {
    border: none !important;
    border-bottom: 1px solid #ccc !important;
    box-shadow: none !important;
    background: transparent !important;
}

.contact_us input.form-control:focus,
.contact_us textarea.form-control:focus {
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
}


.contact_us .form-control::placeholder {
    font-size: 13px;
    letter-spacing: 1px;
    color: #9ca3af;
}

/* Override browser autofill background for contact inputs */
.contact_us input.form-control:-webkit-autofill,
.contact_us textarea.form-control:-webkit-autofill,
.contact_us input.form-control:-webkit-autofill:focus,
.contact_us textarea.form-control:-webkit-autofill:focus,
.contact_us input.form-control:-webkit-autofill:hover,
.contact_us textarea.form-control:-webkit-autofill:hover {
    -webkit-box-shadow: 0 0 0px 1000px transparent inset !important;
    box-shadow: 0 0 0px 1000px transparent inset !important;
    -webkit-text-fill-color: #111 !important;
    background-color: transparent !important;
    background-image: none !important;
    background-clip: padding-box !important;
}

/* Extra coverage for browser internals and Firefox autofill and paste states */
.contact_us input.form-control:-webkit-autofill::first-line,
.contact_us textarea.form-control:-webkit-autofill::first-line,
.contact_us input.form-control:-internal-autofill-selected,
.contact_us textarea.form-control:-internal-autofill-selected,
.contact_us input.form-control:-moz-autofill,
.contact_us textarea.form-control:-moz-autofill {
    background-color: transparent !important;
    background-image: none !important;
    -webkit-box-shadow: 0 0 0px 1000px transparent inset !important;
    box-shadow: 0 0 0px 1000px transparent inset !important;
    -webkit-text-fill-color: #111 !important;
    transition: background-color 5000s ease-in-out 0s !important;
}

.right_conatct_social_icon {
    background: linear-gradient(135deg, #6f4f42 0%, #8a6b5d 50%, #d4af37 100%);
    height: 100%;
}

.contact_info_sec {
    position: absolute;
    right: 35px;
    top: 50%;
    transform: translateY(-50%);
    width: 320px;
    background: #2d2d2d !important;
    padding: 35px;
    border-radius: 20px;
    z-index: 5;
    color: #ffffff !important;
}

.contact_info_sec h4 {
    color: #ffffff !important;
    letter-spacing: 1px;
    padding-bottom: 15px;
}

.info_single {
    margin: 30px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.info_single i {
    color: #ffffff !important;
    font-size: 18px;
}

.info_single span {
    font-size: 14px;
    letter-spacing: 1px;
    color: #ffffff !important;
}

.contact_form_submit {
    border: none;
    padding: 14px 40px;
    width: 220px;
    height: 50px;
    margin-top: 25px;
    border-radius: 35px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
}

.socil_item_inner li {
    list-style: none;
}

.socil_item_inner li a {
    color: #fff;
    margin: 0 15px;
    font-size: 18px;
}

.socil_item_inner {
    padding-bottom: 10px;
}

.map_sec {
    padding: 0;
}

.map_inner {
    width: 100%;
}

.map_inner h4,
.map_inner p {
    color: #000;
    text-align: center;
}

.map_inner p {
    font-size: 13px;
}

.map_bind {
    border-radius: 0;
    overflow: hidden;
}

.mh-map-iframe {
    border: 0;
    min-height: 450px;
}

@media (max-width: 767px) {
    .contact_info_sec {
        position: static;
        transform: none;
        width: 100%;
        border-radius: 20px;
        margin-top: 24px;
    }
}

/* ── Account order details ── */
.account-order-summary-grid {
    display: grid;
    gap: 1rem;
}

@media (min-width: 768px) {
    .account-order-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.account-order-timeline {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding-bottom: 0.75rem;
    margin-bottom: 1.5rem;
}

.tracking-step {
    min-width: 140px;
    flex: 1 1 140px;
    border-radius: 18px;
    padding: 14px 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--border-color);
    background: var(--card-bg);
}

.tracking-step.completed {
    background: var(--mh-payment-success-bg);
    border-color: rgba(5, 150, 105, 0.26);
    color: var(--mh-payment-success-text);
}

.tracking-step.current {
    background: rgba(59, 130, 246, 0.12);
    border-color: rgba(59, 130, 246, 0.24);
    color: #1d4ed8;
}

.tracking-step.upcoming {
    background: var(--card-bg);
    border-color: var(--border-color);
    color: var(--muted-text);
}

.tracking-step-icon {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
}

.tracking-step.completed .tracking-step-icon {
    background: var(--mh-status-delivered);
    color: var(--white);
}

.tracking-step.current .tracking-step-icon {
    background: #2563eb;
    color: var(--white);
}

.tracking-step.upcoming .tracking-step-icon {
    background: #cbd5e1;
    color: #475569;
}

.tracking-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 22px;
    padding: 24px;
    margin-bottom: 24px;
}

.tracking-card h5 {
    margin: 0 0 12px;
    font-size: 1.05rem;
}

.tracking-card-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.tracking-card-item {
    flex: 1 1 220px;
}

.tracking-card-item strong {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--title);
}

.tracking-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--secondary);
    color: var(--white);
    padding: 12px 18px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
}

/* Shop dropdown — ensure category names stay visible */
.header-nav .mh-shop-dropdown,
.header-nav .mh-shop-flyout {
    background: #ffffff !important;
}

.header-nav .mh-shop-dropdown__link,
.header-nav .mh-shop-dropdown__text,
.header-nav .mh-shop-flyout__link {
    color: #333333 !important;
}

.header-nav .mh-shop-dropdown li:hover > .mh-shop-dropdown__link,
.header-nav .mh-shop-flyout li:hover > .mh-shop-flyout__link {
    color: #333333 !important;
}

/* ── Shop filter panel (single unified block) ── */
.mh-shop-filter-panel {
    background: var(--surface-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 22px 24px;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.1);
}

.mh-shop-filter-panel__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-color);
}

.mh-shop-filter-panel__title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--title);
    letter-spacing: 0.02em;
}

.mh-shop-filter-panel__clear {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid var(--secondary);
    transition: background 0.25s ease, color 0.25s ease;
}

.mh-shop-filter-panel__clear:hover {
    background: var(--secondary);
    color: var(--white);
}

.mh-shop-filter-panel__section {
    margin-bottom: 16px;
}

.mh-shop-filter-panel__section:last-child {
    margin-bottom: 0;
}

.mh-shop-filter-panel__label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted-text);
    margin-bottom: 10px;
}

.mh-shop-filter-panel__pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.mh-shop-filter-panel__pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: 999px;
    background: #f7f2ed;
    border: 1px solid #e8ddd4;
    color: var(--title);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    line-height: 1.2;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.mh-shop-filter-panel__pill:hover {
    border-color: var(--secondary);
    background: #fff8eb;
}

.mh-shop-filter-panel__pill.is-active {
    background: var(--secondary);
    border-color: var(--secondary);
    color: var(--white);
}

.mh-shop-filter-panel__pill.is-active:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.mh-shop-filter-panel__thumb {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.mh-shop-filter-panel__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mh-shop-filter-panel__search-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px 8px 14px;
    border-radius: 999px;
    background: #f7f2ed;
    border: 1px solid #e8ddd4;
    color: var(--title);
    font-size: 0.875rem;
    font-weight: 600;
}

.mh-shop-filter-panel__search-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--secondary);
    color: var(--white);
    font-size: 1rem;
    line-height: 1;
    text-decoration: none;
}

.mh-shop-filter-panel__search-remove:hover {
    background: var(--primary);
    color: var(--white);
}

@media (max-width: 575px) {
    .mh-shop-filter-panel {
        padding: 16px;
    }

    .mh-shop-filter-panel__head {
        flex-direction: column;
        align-items: flex-start;
    }

    .mh-shop-filter-panel__pill {
        font-size: 0.8125rem;
        padding: 8px 12px;
    }
}

/* Category swiper pagination */
.category-circle-pagination {
    bottom: 4px !important;
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 8px;
    min-height: 14px;
}

.category-circle-pagination .swiper-pagination-bullet {
    display: inline-block !important;
    opacity: 1 !important;
    visibility: visible !important;
    width: 10px !important;
    height: 10px !important;
    margin: 0 4px !important;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55) !important;
    border: 1px solid rgba(255, 255, 255, 0.75);
}

.category-circle-pagination .swiper-pagination-bullet-active {
    width: 32px !important;
    height: 10px !important;
    border-radius: 999px;
    background: var(--secondary) !important;
    border-color: var(--secondary) !important;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35);
}

/* Cart — available coupons marquee */
.mh-coupon-marquee {
    margin-bottom: 0.75rem;
    border: 1px dashed rgba(142, 109, 94, 0.45);
    border-radius: 10px;
    background: rgba(142, 109, 94, 0.06);
    overflow: hidden;
}

.mh-coupon-marquee__label {
    padding: 0.4rem 0.75rem 0.15rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #8a6b5d;
}

.mh-coupon-marquee__label i {
    margin-right: 0.3rem;
}

.mh-coupon-marquee__track-wrap {
    padding: 0 0.35rem 0.45rem;
}

.mh-coupon-marquee__scroll {
    display: block;
    width: 100%;
    color: #1f2937;
    font-size: 0.82rem;
    line-height: 1.6;
}

.mh-coupon-marquee__item {
    display: inline-block;
    margin-right: 1.75rem;
    white-space: nowrap;
}

.mh-coupon-marquee__item strong {
    color: #6f4f42;
    letter-spacing: 0.03em;
}

.mh-coupon-form {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.mh-coupon-form__input {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    font-size: 13px;
    outline: none;
    color: #1f2937;
}

.mh-coupon-form__btn {
    background: #8a6b5d;
    color: #fff;
    border: none;
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}
