:root {
    --fashion-primary: #8b5e34;
    --fashion-primary-dark: #6f4a27;
    --fashion-primary-soft: #b48352;
    --fashion-accent: #c89b5b;
    --fashion-dark: #2f2118;
    --fashion-dark-soft: #4a3728;
    --fashion-cream: #fcf8f3;
    --fashion-cream-2: #f8f2e9;
    --fashion-beige: #eadccb;
    --fashion-border: #e5d7c7;
    --fashion-card: #ffffff;
    --fashion-text: #2f2118;
    --fashion-muted: #7a6959;
    --fashion-success: #2f8f57;
    --fashion-danger: #c14d4d;
    --fashion-warning: #d7a843;
    --shadow-soft: 0 12px 30px rgba(47, 33, 24, 0.08);
    --shadow-medium: 0 18px 40px rgba(47, 33, 24, 0.12);
    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 28px;
    --transition: all 0.28s ease;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    color: var(--fashion-text);
    background: linear-gradient(180deg, var(--fashion-cream) 0%, #ffffff 40%, var(--fashion-cream) 100%);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: var(--fashion-primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--fashion-primary-dark);
    text-decoration: none;
}

.container,
.container-fluid {
    position: relative;
    z-index: 1;
}

/* ===== Bootstrap helper overrides ===== */
.text-muted {
    color: var(--fashion-muted) !important;
}

.bg-light {
    background: var(--fashion-cream-2) !important;
}

.table > :not(caption) > * > * {
    border-bottom-color: var(--fashion-border);
}

.table thead th {
    color: var(--fashion-dark);
    font-weight: 700;
}

.form-control,
.form-select {
    border: 1px solid var(--fashion-border);
    border-radius: 14px;
    padding: 0.9rem 1rem;
    color: var(--fashion-text);
    background: #ffffff;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--fashion-primary-soft);
    box-shadow: 0 0 0 0.18rem rgba(139, 94, 52, 0.14);
}

.alert {
    border: none;
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
}

/* ===== Buttons ===== */
.btn {
    border-radius: 999px;
    font-weight: 700;
    padding: 0.75rem 1.25rem;
    transition: var(--transition);
}

.btn-fashion {
    background: var(--fashion-primary);
    border: 1px solid var(--fashion-primary);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(139, 94, 52, 0.18);
}

.btn-fashion:hover,
.btn-fashion:focus {
    background: var(--fashion-primary-dark);
    border-color: var(--fashion-primary-dark);
    color: #ffffff;
    transform: translateY(-1px);
}

.btn-whatsapp {
    background: #25d366;
    border: 1px solid #25d366;
    color: #ffffff;
}

.btn-whatsapp:hover,
.btn-whatsapp:focus {
    background: #1daa52;
    border-color: #1daa52;
    color: #ffffff;
}

.btn-outline-dark {
    border: 1px solid var(--fashion-dark);
    color: var(--fashion-dark);
    background: transparent;
}

.btn-outline-dark:hover {
    background: var(--fashion-dark);
    color: #ffffff;
}

.btn-outline-light {
    border: 1px solid rgba(255,255,255,0.65);
    color: #ffffff;
}

.btn-outline-light:hover {
    background: #ffffff;
    color: var(--fashion-dark);
}

/* ===== Public top bar ===== */
.public-top-bar {
    background: var(--fashion-primary);
    color: #fff;
    font-size: 0.92rem;
    padding: 10px 0;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.top-bar-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.top-bar-links a {
    color: rgba(255,255,255,0.94);
    font-weight: 600;
}

.top-bar-links a:hover {
    color: #ffffff;
}

/* ===== Main public header ===== */
.public-main-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: rgba(252, 248, 243, 0.96);
    border-bottom: 1px solid rgba(229, 215, 199, 0.9);
    backdrop-filter: blur(10px);
}

.public-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 88px;
}

.public-logo {
    display: inline-flex;
    flex-direction: column;
    gap: 0;
    line-height: 1;
    min-width: 190px;
}

/* ===== Public logo with image ===== */
.public-logo-with-image {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    min-width: 235px;
}

.public-logo-img {
    width: 58px;
    height: 58px;
    object-fit: contain;
    border-radius: 50%;
    background: var(--fashion-cream);
    border: 1px solid var(--fashion-border);
    padding: 5px;
    box-shadow: 0 8px 18px rgba(47, 33, 24, 0.08);
    flex: 0 0 58px;
}

.public-logo-text {
    display: inline-flex;
    flex-direction: column;
    line-height: 1;
}

.logo-main {
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--fashion-dark);
    letter-spacing: 0.02em;
}

.logo-sub {
    font-size: 0.92rem;
    color: var(--fashion-primary);
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-top: 6px;
}

.public-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    flex: 1;
    justify-content: center;
}

.public-nav a {
    color: var(--fashion-dark-soft);
    font-weight: 600;
    position: relative;
    padding: 8px 0;
}

.public-nav a:hover,
.public-nav a.active {
    color: var(--fashion-primary);
}

.public-nav a.active::after,
.public-nav a:hover::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: var(--fashion-primary);
}

.public-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.header-cart-link,
.header-whatsapp,
.header-admin-link,
.currency-button {
    border-radius: 999px;
    padding: 11px 16px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.header-cart-link {
    border: 1px solid var(--fashion-border);
    color: var(--fashion-dark);
    background: #ffffff;
}

.header-cart-link:hover,
.header-cart-link.active {
    background: var(--fashion-cream-2);
    border-color: var(--fashion-primary-soft);
    color: var(--fashion-primary);
}

.cart-count {
    min-width: 24px;
    height: 24px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--fashion-primary);
    color: #ffffff;
    font-size: 0.82rem;
    padding: 0 6px;
}

.currency-holder {
    position: relative;
}

.currency-button {
    background: #ffffff;
    border: 1px solid var(--fashion-border);
    color: var(--fashion-dark);
    cursor: pointer;
}

.currency-button:hover {
    background: var(--fashion-cream-2);
    border-color: var(--fashion-primary-soft);
}

.currency-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 220px;
    background: #ffffff;
    border: 1px solid var(--fashion-border);
    border-radius: 18px;
    box-shadow: var(--shadow-medium);
    padding: 10px;
    display: none;
}

.currency-holder:hover .currency-menu {
    display: block;
}

.currency-menu a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 10px 12px;
    border-radius: 12px;
    color: var(--fashion-dark);
}

.currency-menu a:hover,
.currency-menu a.active {
    background: var(--fashion-cream-2);
    color: var(--fashion-primary);
}

.currency-menu a small {
    color: var(--fashion-muted);
}

.header-whatsapp {
    background: #25d366;
    color: #ffffff;
    border: 1px solid #25d366;
}

.header-whatsapp:hover {
    background: #1daa52;
    color: #ffffff;
}

.header-admin-link {
    background: var(--fashion-dark);
    color: #ffffff;
    border: 1px solid var(--fashion-dark);
}

.header-admin-link:hover {
    background: var(--fashion-primary);
    border-color: var(--fashion-primary);
    color: #ffffff;
}

.mobile-menu-button {
    display: none;
    background: var(--fashion-dark);
    color: #ffffff;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    font-size: 1.15rem;
}

.mobile-nav-panel {
    display: none;
    padding: 14px 0 20px;
    border-top: 1px solid var(--fashion-border);
}

.mobile-nav-panel a {
    display: block;
    padding: 11px 0;
    color: var(--fashion-dark);
    border-bottom: 1px solid rgba(229, 215, 199, 0.6);
}

/* ===== Hero sections ===== */
.shop-hero,
.checkout-hero,
.contact-hero {
    padding: 48px 0 28px;
}

.shop-hero-inner {
    background:
        linear-gradient(90deg, rgba(252, 248, 243, 0.96) 0%, rgba(252, 248, 243, 0.88) 48%, rgba(252, 248, 243, 0.30) 100%),
        radial-gradient(circle at top right, rgba(200, 155, 91, 0.18), transparent 30%);
    border: 1px solid var(--fashion-border);
    border-radius: 32px;
    padding: 54px 48px;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

.shop-hero-inner::after {
    content: "";
    position: absolute;
    right: -60px;
    bottom: -60px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(139, 94, 52, 0.08);
    z-index: 0;
}

.shop-hero-inner > * {
    position: relative;
    z-index: 1;
}

.shop-hero-inner h1 {
    font-size: clamp(2rem, 4vw, 4.2rem);
    line-height: 1.06;
    font-weight: 800;
    color: var(--fashion-dark);
    max-width: 760px;
    margin-bottom: 16px;
}

.shop-hero-inner p {
    max-width: 680px;
    font-size: 1.08rem;
    color: var(--fashion-muted);
    margin-bottom: 0;
}

.boutique-label,
.dark-label,
.summary-label,
.footer-small-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    padding: 7px 14px;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.boutique-label {
    background: rgba(139, 94, 52, 0.12);
    color: var(--fashion-primary-dark);
    margin-bottom: 18px;
}

.dark-label {
    background: rgba(47, 33, 24, 0.08);
    color: var(--fashion-dark);
}

.summary-label,
.footer-small-label {
    background: rgba(200, 155, 91, 0.16);
    color: var(--fashion-primary-dark);
}

/* ===== Search section ===== */
.market-search-section,
.home-search-wrap {
    margin: 28px auto 38px;
}

.market-search-form,
.home-search-form {
    max-width: 920px;
    margin: 0 auto;
    display: flex;
    align-items: stretch;
    background: #ffffff;
    border: 2px solid var(--fashion-border);
    border-radius: 999px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.market-search-icon,
.home-search-icon {
    width: 68px;
    min-width: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--fashion-primary);
    font-size: 1.15rem;
    background: transparent;
}

.market-search-input,
.home-search-input {
    flex: 1;
    border: none !important;
    border-radius: 0 !important;
    padding: 18px 8px;
    font-size: 1.05rem;
    color: var(--fashion-dark);
    background: transparent;
    box-shadow: none !important;
}

.market-search-input::placeholder,
.home-search-input::placeholder {
    color: #9a8b7f;
}

.market-search-button,
.home-search-button {
    border: none;
    background: var(--fashion-primary);
    color: #ffffff;
    font-weight: 800;
    padding: 0 32px;
    min-width: 170px;
    font-size: 1rem;
}

.market-search-button:hover,
.home-search-button:hover {
    background: var(--fashion-primary-dark);
}

/* ===== Section headings ===== */
.section-title {
    color: var(--fashion-dark);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.checkout-section-heading span {
    display: inline-block;
    color: var(--fashion-primary);
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 0.08em;
    font-size: 0.82rem;
    margin-bottom: 8px;
}

.checkout-section-heading h2 {
    color: var(--fashion-dark);
    font-weight: 800;
    margin-bottom: 10px;
}

.checkout-section-heading p {
    color: var(--fashion-muted);
    margin-bottom: 0;
}

/* ===== Cards ===== */
.category-card,
.product-card,
.info-card,
.order-success-card,
.checkout-summary-card,
.contact-info-card,
.empty-cart-card,
.checkout-form-card,
.boutique-banner {
    background: var(--fashion-card);
    border: 1px solid var(--fashion-border);
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
}

.category-card,
.product-card,
.info-card {
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
}

.category-card:hover,
.product-card:hover,
.info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

.info-card .card-body,
.category-card .card-body,
.product-card .card-body {
    padding: 1.35rem;
}

.category-card h5,
.product-card h5,
.info-card h5 {
    color: var(--fashion-dark);
    font-weight: 800;
}

/* ===== Category cards ===== */
.category-card {
    text-align: center;
    padding: 14px;
}

.category-card .btn {
    margin-top: 10px;
}

/* ===== Product cards ===== */
.product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card img,
.product-image,
.product-main-img {
    width: 100%;
    object-fit: cover;
    background: var(--fashion-cream-2);
}

.product-card img,
.product-image {
    height: 300px;
}

.product-main-img {
    max-height: 600px;
    min-height: 420px;
    border-radius: 24px;
}

.product-card .card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-card .category-text,
.product-card small.text-muted {
    color: var(--fashion-muted) !important;
}

.product-card h3,
.product-card h4,
.product-card h5 {
    margin-top: 8px;
    margin-bottom: 10px;
    color: var(--fashion-dark);
}

.product-card p {
    color: var(--fashion-muted);
    margin-bottom: 14px;
}

.price {
    color: var(--fashion-primary);
    font-weight: 800;
    font-size: 1.35rem;
    display: inline-block;
    margin-right: 10px;
}

.old-price {
    color: var(--fashion-muted);
    text-decoration: line-through;
    font-size: 0.98rem;
}

.stock-badge,
.badge-stock,
.in-stock-label {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 800;
    background: var(--fashion-success);
    color: #ffffff;
}

.out-stock-label {
    background: var(--fashion-danger);
    color: #ffffff;
}

.product-card .btn,
.product-actions .btn {
    margin-top: auto;
}

/* ===== Product details page ===== */
.product-details-section {
    padding: 28px 0 40px;
}

.product-details-card {
    background: transparent;
}

.product-detail-title {
    font-size: clamp(2rem, 4vw, 3.4rem);
    color: var(--fashion-dark);
    font-weight: 800;
    line-height: 1.08;
    margin-bottom: 14px;
}

.product-detail-meta {
    color: var(--fashion-muted);
    margin-bottom: 16px;
}

.product-short-description,
.product-full-description {
    color: var(--fashion-muted);
}

.product-options-box {
    background: rgba(248, 242, 233, 0.65);
    border: 1px solid var(--fashion-border);
    border-radius: 22px;
    padding: 22px;
    margin-top: 22px;
}

/* ===== Cart page ===== */
.cart-page-section,
.checkout-page-section,
.contact-page-section {
    padding: 16px 0 48px;
}

.cart-table {
    width: 100%;
}

.cart-table img {
    width: 84px;
    height: 84px;
    object-fit: cover;
    border-radius: 16px;
    background: var(--fashion-cream-2);
}

.cart-summary-card,
.cart-empty-card {
    background: #ffffff;
    border: 1px solid var(--fashion-border);
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
    padding: 24px;
}

.cart-summary-card h4,
.cart-empty-card h2 {
    color: var(--fashion-dark);
    font-weight: 800;
}

.summary-total-row,
.cart-total-row,
.contact-info-row,
.order-status-box > div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
}

.summary-total-row {
    padding-top: 16px;
    margin-top: 16px;
    border-top: 1px solid var(--fashion-border);
    font-size: 1.06rem;
}

/* ===== Checkout / order success ===== */
.order-success-layout,
.contact-layout {
    display: grid;
    grid-template-columns: 1.5fr 0.95fr;
    gap: 28px;
    align-items: start;
}

.order-success-card,
.checkout-summary-card,
.contact-info-card,
.checkout-form-card,
.empty-cart-card {
    padding: 28px;
}

.order-success-card h2,
.checkout-summary-card h3,
.contact-info-card h3,
.empty-cart-card h2 {
    color: var(--fashion-dark);
    font-weight: 800;
}

.order-status-box {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin: 22px 0;
}

.order-status-box > div {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px;
    background: var(--fashion-cream-2);
    border-radius: 18px;
    border: 1px solid var(--fashion-border);
}

.order-status-box span,
.contact-info-row span {
    color: var(--fashion-muted);
    font-size: 0.9rem;
}

.checkout-payment-note,
.summary-note {
    background: rgba(200, 155, 91, 0.12);
    border: 1px solid rgba(200, 155, 91, 0.28);
    color: var(--fashion-dark);
    border-radius: 18px;
    padding: 16px 18px;
    margin-top: 20px;
}

.checkout-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 22px;
}

.checkout-items-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.checkout-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--fashion-border);
}

.checkout-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.checkout-item-image {
    width: 62px;
    min-width: 62px;
}

.order-item-placeholder {
    width: 62px;
    height: 62px;
    border-radius: 18px;
    background: var(--fashion-cream-2);
    color: var(--fashion-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    border: 1px solid var(--fashion-border);
}

.checkout-item-details h5 {
    margin: 0 0 5px;
    font-size: 1rem;
    color: var(--fashion-dark);
    font-weight: 700;
}

.checkout-item-details small {
    display: block;
    color: var(--fashion-muted);
    margin-bottom: 5px;
}

.contact-category-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.contact-category-links a {
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 999px;
    background: var(--fashion-cream-2);
    border: 1px solid var(--fashion-border);
    color: var(--fashion-dark);
    font-weight: 600;
}

.contact-category-links a:hover {
    background: var(--fashion-primary);
    border-color: var(--fashion-primary);
    color: #ffffff;
}

/* ===== Boutique banner ===== */
.shop-bottom-banner {
    padding-bottom: 48px;
}

.boutique-banner {
    padding: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    background:
        linear-gradient(135deg, rgba(248, 242, 233, 0.88), rgba(255,255,255,0.94));
}

.boutique-banner h2 {
    color: var(--fashion-dark);
    font-weight: 800;
    margin-bottom: 10px;
}

.boutique-banner p {
    color: var(--fashion-muted);
    margin-bottom: 0;
    max-width: 720px;
}

.banner-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ===== Footer ===== */
.footer,
.boutique-footer {
    background: var(--fashion-dark);
    color: rgba(255,255,255,0.86);
    margin-top: 30px;
}

.boutique-footer .container {
    padding-top: 50px;
    padding-bottom: 26px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr 0.7fr 0.9fr;
    gap: 28px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* ===== Footer logo with image ===== */
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    line-height: 1;
    margin-bottom: 16px;
}

.footer-logo-img {
    width: 62px;
    height: 62px;
    object-fit: contain;
    border-radius: 50%;
    background: var(--fashion-cream);
    border: 1px solid rgba(200, 155, 91, 0.45);
    padding: 5px;
    flex: 0 0 62px;
}

.footer-logo-text {
    display: inline-flex;
    flex-direction: column;
    line-height: 1;
}

.footer-logo-main {
    font-size: 1.7rem;
    color: #ffffff;
    font-weight: 800;
}

.footer-logo-sub {
    font-size: 0.9rem;
    color: var(--fashion-accent);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-top: 6px;
    font-weight: 700;
}

.footer-top h5 {
    color: #ffffff;
    font-weight: 800;
    margin-bottom: 16px;
}

.footer-top p,
.footer-top a {
    color: rgba(255,255,255,0.82);
}

.footer-top a:hover {
    color: #ffffff;
}

.footer-links-block,
.footer-contact-block {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-whatsapp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #25d366;
    color: #ffffff !important;
    padding: 12px 18px;
    border-radius: 999px;
    font-weight: 700;
    margin-top: 12px;
}

.footer-middle {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
    padding: 28px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-middle p {
    margin: 8px 0 0;
    color: rgba(255,255,255,0.76);
}

.footer-mini-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.footer-mini-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 16px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.18);
    color: #ffffff;
    font-weight: 700;
}

.footer-mini-actions a:hover {
    background: rgba(255,255,255,0.08);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    padding-top: 22px;
    font-size: 0.95rem;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255,255,255,0.68);
}

/* ===== Admin sidebar / admin shared ===== */
.admin-sidebar {
    min-height: 100vh;
    background: linear-gradient(180deg, var(--fashion-dark) 0%, #241811 100%);
    box-shadow: inset -1px 0 0 rgba(255,255,255,0.05);
}

.admin-sidebar .p-3 {
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.admin-sidebar h5 {
    margin-bottom: 10px;
    font-weight: 800;
    color: #ffffff;
}

.admin-sidebar a {
    display: block;
    color: rgba(255,255,255,0.82);
    padding: 12px 18px;
    border-left: 3px solid transparent;
    font-weight: 600;
}

.admin-sidebar a:hover,
.admin-sidebar a.active-admin-link {
    color: #ffffff;
    background: rgba(255,255,255,0.06);
    border-left-color: var(--fashion-accent);
}

/* ===== Admin sidebar logo ===== */
.admin-sidebar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.admin-sidebar-logo {
    width: 54px;
    height: 54px;
    object-fit: contain;
    border-radius: 50%;
    background: var(--fashion-cream);
    border: 1px solid rgba(200, 155, 91, 0.45);
    padding: 5px;
    flex: 0 0 54px;
}

.admin-sidebar-brand h5 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.05rem;
    font-weight: 500;
    color: #ffffff;
}

.admin-sidebar-brand span {
    display: block;
    margin-top: 4px;
    color: var(--fashion-accent);
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 900;
}

.active-admin-link {
    background: rgba(255,255,255,0.07);
    color: #ffffff !important;
    border-left-color: var(--fashion-accent) !important;
}

.admin-content-card,
.admin-page-card {
    background: #ffffff;
    border: 1px solid var(--fashion-border);
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
}

/* ===== Tables and utility cards ===== */
pre {
    border-radius: 16px;
    border: 1px solid var(--fashion-border);
}

.copy-box {
    white-space: pre-wrap;
    background: var(--fashion-cream-2);
    border: 1px solid var(--fashion-border);
    border-radius: 18px;
    padding: 18px;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--fashion-dark);
}

/* ===== Responsive ===== */
@media (max-width: 1199px) {
    .public-nav {
        gap: 18px;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 991px) {
    .public-nav {
        display: none;
    }

    .mobile-menu-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    body.mobile-menu-open .mobile-nav-panel {
        display: block;
    }

    .public-header-inner {
        min-height: 78px;
    }

    .shop-hero-inner {
        padding: 38px 28px;
    }

    .order-success-layout,
    .contact-layout,
    .footer-top {
        grid-template-columns: 1fr;
    }

    .footer-middle {
        flex-direction: column;
        align-items: flex-start;
    }

    .boutique-banner {
        flex-direction: column;
        align-items: flex-start;
    }

    .order-status-box {
        grid-template-columns: 1fr;
    }

    .product-main-img {
        min-height: 320px;
    }
}

@media (max-width: 767px) {
    .top-bar-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .public-header-actions {
        gap: 8px;
    }

    .logo-main {
        font-size: 1.45rem;
    }

    .shop-hero,
    .checkout-hero,
    .contact-hero {
        padding-top: 24px;
    }

    .shop-hero-inner {
        padding: 28px 20px;
        border-radius: 24px;
    }

    .shop-hero-inner h1 {
        font-size: 2rem;
    }

    .market-search-form,
    .home-search-form {
        flex-wrap: nowrap;
        min-height: 58px;
    }

    .market-search-icon,
    .home-search-icon {
        width: 54px;
        min-width: 54px;
        font-size: 1rem;
    }

    .market-search-input,
    .home-search-input {
        font-size: 0.98rem;
        padding: 14px 4px;
    }

    .market-search-button,
    .home-search-button {
        min-width: 110px;
        padding: 0 18px;
        font-size: 0.95rem;
    }

    .product-card img,
    .product-image {
        height: 240px;
    }

    .checkout-actions,
    .banner-actions {
        flex-direction: column;
        width: 100%;
    }

    .checkout-actions .btn,
    .banner-actions .btn {
        width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .footer-logo-img {
        width: 52px;
        height: 52px;
        flex: 0 0 52px;
    }

    .footer-logo-main {
        font-size: 1.45rem;
    }

    .footer-logo-sub {
        font-size: 0.65rem;
        letter-spacing: 0.12em;
    }
}

@media (max-width: 575px) {
    .public-header-inner {
        gap: 12px;
    }

    .public-header-actions {
        width: 100%;
        justify-content: flex-end;
    }

    .public-logo {
        min-width: auto;
    }

    .public-logo-with-image {
        min-width: auto;
        gap: 8px;
    }

    .public-logo-img {
        width: 46px;
        height: 46px;
        flex: 0 0 46px;
        padding: 4px;
    }

    .public-logo-text .logo-main {
        font-size: 1.35rem;
    }

    .public-logo-text .logo-sub {
        font-size: 0.55rem;
        letter-spacing: 0.12em;
    }

    .market-search-form,
    .home-search-form {
        border-radius: 18px;
        flex-wrap: wrap;
        overflow: hidden;
    }

    .market-search-icon,
    .home-search-icon {
        width: 50px;
        min-width: 50px;
    }

    .market-search-input,
    .home-search-input {
        min-width: 0;
        flex: 1;
    }

    .market-search-button,
    .home-search-button {
        width: 100%;
        min-width: 100%;
        height: 52px;
        border-radius: 0;
    }

    .header-cart-link,
    .header-whatsapp,
    .header-admin-link,
    .currency-button {
        padding: 10px 12px;
        font-size: 0.9rem;
    }

    .product-card img,
    .product-image {
        height: 220px;
    }

    .product-main-img {
        min-height: 260px;
    }
}


/* =========================================================
   MI AMOIRE FINAL COLOR CLEANUP
   Removes leftover pink/black and forces brown/cream theme
   ========================================================= */

:root {
    --mi-primary: #8b5e34;
    --mi-primary-dark: #6f4a27;
    --mi-accent: #c89b5b;
    --mi-dark: #2f2118;
    --mi-soft-dark: #4a3728;
    --mi-cream: #fcf8f3;
    --mi-cream-2: #f8f2e9;
    --mi-border: #e5d7c7;
    --mi-muted: #7a6959;
}

/* Remove old pink/magenta labels */
.section-row-heading span,
.checkout-section-heading span,
.product-category-text,
.product-card .card-body small,
.product-card small,
.boutique-products-section span,
.summary-label,
.footer-small-label,
.category-text,
.text-pink,
.text-danger:not(.alert-danger *),
[class*="pink"],
[class*="magenta"] {
    color: var(--mi-primary) !important;
}

/* Replace pink/magenta backgrounds */
.bg-pink,
.bg-danger.product-badge,
.product-badge.bg-danger,
.badge.bg-danger:not(.admin-message-count),
[class*="bg-pink"],
[class*="bg-magenta"] {
    background: var(--mi-primary) !important;
    color: #ffffff !important;
    border-color: var(--mi-primary) !important;
}

/* Black buttons changed to elegant dark brown */
.btn-dark,
.header-admin-link,
.mobile-menu-button,
.admin-mobile-menu-btn,
.product-hover-actions a:hover,
.footer-mini-actions a:hover,
.boutique-label.dark-label,
.dark-label,
.fashion-offer-label,
.badge.bg-dark,
.bg-dark {
    background: var(--mi-dark) !important;
    border-color: var(--mi-dark) !important;
    color: #ffffff !important;
}

/* Better hover brown instead of black */
.btn-dark:hover,
.header-admin-link:hover,
.mobile-menu-button:hover,
.admin-mobile-menu-btn:hover,
.product-hover-actions a:hover {
    background: var(--mi-primary) !important;
    border-color: var(--mi-primary) !important;
    color: #ffffff !important;
}

/* Brown outline buttons instead of black */
.btn-outline-dark {
    border-color: var(--mi-dark) !important;
    color: var(--mi-dark) !important;
    background: transparent !important;
}

.btn-outline-dark:hover,
.btn-outline-dark.active {
    background: var(--mi-primary) !important;
    border-color: var(--mi-primary) !important;
    color: #ffffff !important;
}

/* Main brown buttons */
.btn-fashion,
.market-search-button,
.home-search-button {
    background: var(--mi-primary) !important;
    border-color: var(--mi-primary) !important;
    color: #ffffff !important;
}

.btn-fashion:hover,
.market-search-button:hover,
.home-search-button:hover {
    background: var(--mi-primary-dark) !important;
    border-color: var(--mi-primary-dark) !important;
    color: #ffffff !important;
}

/* Top bar and cart count */
.public-top-bar,
.cart-count {
    background: var(--mi-primary) !important;
    color: #ffffff !important;
}

/* Product price and category colors */
.price,
.product-detail-price,
.product-card .price,
.old-price + .price,
.footer-logo-sub,
.logo-sub,
.admin-sidebar-brand span {
    color: var(--mi-primary) !important;
}

/* Cards should stay cream/white, not pinkish */
.category-card,
.product-card,
.info-card,
.checkout-form-card,
.checkout-summary-card,
.order-success-card,
.contact-info-card,
.empty-cart-card,
.boutique-banner,
.cart-summary-card,
.cart-table-card {
    background: #ffffff !important;
    border-color: var(--mi-border) !important;
}

/* Soft cream sections */
body,
.public-main-header,
.shop-hero-inner,
.product-options-box,
.checkout-payment-note,
.summary-note,
.order-status-box > div,
.contact-category-links a,
.bg-light {
    background-color: var(--mi-cream) !important;
}

/* Improve hero overlay from black to brown */
.hero-slide::before,
.product-hero::before,
.cart-hero::before,
.checkout-hero::before,
.contact-hero::before,
.order-success-hero::before {
    background: rgba(47, 33, 24, 0.48) !important;
}

/* If hero uses background linear gradient directly */
.product-hero,
.cart-hero,
.checkout-hero,
.contact-hero,
.order-success-hero {
    background-color: var(--mi-dark) !important;
}

/* Stock badges */
.badge.bg-success,
.stock-pill.in-stock,
.stock-badge,
.in-stock-label {
    background: #2f8f57 !important;
    color: #ffffff !important;
}

.badge.bg-warning,
.stock-pill.out-stock,
.out-stock-label {
    background: var(--mi-accent) !important;
    color: var(--mi-dark) !important;
}

/* Footer: keep dark brown, not pure black */
.footer,
.boutique-footer {
    background: linear-gradient(180deg, var(--mi-dark) 0%, #241811 100%) !important;
    color: rgba(255,255,255,0.86) !important;
}

/* Footer powered by */
.footer-bottom p,
.footer-bottom,
.footer-bottom a {
    color: rgba(255,255,255,0.68) !important;
}

/* Header links */
.public-nav a:hover,
.public-nav a.active {
    color: var(--mi-primary) !important;
}

.public-nav a.active::after,
.public-nav a:hover::after {
    background: var(--mi-primary) !important;
}

/* Admin sidebar: dark brown instead of black/purple */
.admin-sidebar {
    background: linear-gradient(180deg, var(--mi-dark) 0%, #241811 100%) !important;
}

.admin-sidebar a:hover,
.admin-sidebar a.active-admin-link,
.active-admin-link {
    background: rgba(200, 155, 91, 0.14) !important;
    border-left-color: var(--mi-accent) !important;
    color: #ffffff !important;
}

/* Admin top header */
.admin-top-header {
    background: rgba(252, 248, 243, 0.96) !important;
    border-bottom-color: var(--mi-border) !important;
}

/* Remove any remaining inline pink border or text where possible */
[style*="#c12a7a"],
[style*="c12a7a"],
[style*="pink"],
[style*="magenta"] {
    color: var(--mi-primary) !important;
    border-color: var(--mi-primary) !important;
}

/* Forms and inputs */
.form-control:focus,
.form-select:focus {
    border-color: var(--mi-primary) !important;
    box-shadow: 0 0 0 0.18rem rgba(139, 94, 52, 0.14) !important;
}

/* Keep WhatsApp green because users expect WhatsApp to be green */
.btn-whatsapp,
.header-whatsapp,
.footer-whatsapp-button {
    background: #25d366 !important;
    border-color: #25d366 !important;
    color: #ffffff !important;
}

.btn-whatsapp:hover,
.header-whatsapp:hover,
.footer-whatsapp-button:hover {
    background: #1daa52 !important;
    border-color: #1daa52 !important;
    color: #ffffff !important;
}

/* Extra cleanup for homepage offer/count labels */
.offer-number,
.feature-number,
.home-feature-number,
.feature-card strong,
.offer-card strong {
    color: var(--mi-primary) !important;
}

/* Text selection and small accents */
::selection {
    background: var(--mi-accent);
    color: var(--mi-dark);
}

/* =========================================================
   MI AMOIRE SECTION LABEL VISIBILITY FIX
   Makes SHOP COLLECTIONS, NEW ARRIVALS, SELECTED ITEMS visible
   ========================================================= */

.section-label,
.section-subtitle,
.section-small-title,
.home-section-label,
.collection-label,
.collections-label,
.products-label,
.featured-label,
.offer-label,
.boutique-label,
.summary-label,
.footer-small-label,
.category-section span,
.products-section span,
.featured-section span,
.section-heading span,
.section-header span,
.section-row-heading span,
.section-title-small,
.shop-label,
.new-arrivals-label,
.selected-items-label,
.fashion-label,
.text-uppercase.small,
small.text-uppercase,
span.text-uppercase {
    display: inline-flex !important;
    align-items: center !important;
    width: auto !important;
    max-width: max-content !important;
    background: rgba(139, 94, 52, 0.12) !important;
    color: #8b5e34 !important;
    border: 1px solid rgba(139, 94, 52, 0.22) !important;
    border-radius: 999px !important;
    padding: 7px 14px !important;
    font-size: 0.72rem !important;
    font-weight: 900 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    line-height: 1.2 !important;
    margin-bottom: 10px !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Force homepage section labels to show if they are inside headings */
h1 span,
h2 span,
h3 span,
h4 span,
h5 span,
.section-title span,
.section-heading h2 span,
.section-header h2 span {
    color: #8b5e34 !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Specific text-style sections on homepage */
.home-section-title,
.shop-collections-title,
.new-arrivals-title,
.selected-items-title,
.featured-fashion-title {
    color: #2f2118 !important;
    font-weight: 900 !important;
}

/* Remove old pink/magenta from section labels */
[style*="#c12a7a"],
[style*="c12a7a"],
[style*="#e83e8c"],
[style*="e83e8c"],
[style*="pink"],
[style*="magenta"] {
    color: #8b5e34 !important;
    border-color: #8b5e34 !important;
}

/* Make category/product section areas more readable */
.shop-section,
.products-section,
.featured-section,
.home-products-section,
.home-categories-section,
.category-section {
    color: #2f2118 !important;
}

/* Ensure labels are not hidden by parent containers */
.home-categories-section *,
.home-products-section *,
.featured-section *,
.products-section *,
.category-section * {
    visibility: visible;
}

/* Stronger direct homepage label support */
.home-categories-section .section-label,
.home-products-section .section-label,
.featured-section .section-label,
.shop-section .section-label,
.products-section .section-label,
.category-section .section-label,
.home-categories-section small,
.home-products-section small,
.featured-section small {
    display: inline-flex !important;
    background: rgba(139, 94, 52, 0.12) !important;
    color: #8b5e34 !important;
    border: 1px solid rgba(139, 94, 52, 0.22) !important;
    border-radius: 999px !important;
    padding: 7px 14px !important;
    font-weight: 900 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    opacity: 1 !important;
}

/* Keep section main titles elegant and readable */
.home-categories-section h2,
.home-products-section h2,
.featured-section h2,
.shop-section h2,
.products-section h2,
.category-section h2 {
    color: #2f2118 !important;
    font-weight: 900 !important;
}

/* Final color matching for homepage small accents */
.section-label,
.home-section-label,
.new-arrivals-label,
.selected-items-label,
.collections-label {
    color: #8b5e34 !important;
}

/* =========================================================
   MI AMOIRE HOME + SHOP PAGE FINAL OVERRIDE
   Fixes remaining pink labels, black accents, and faded shop hero card
   Paste at the very bottom of assets/css/style.css
   ========================================================= */

:root {
    --mi-primary: #8b5e34;
    --mi-primary-dark: #6f4a27;
    --mi-accent: #c89b5b;
    --mi-dark: #2f2118;
    --mi-soft-dark: #4a3728;
    --mi-cream: #fcf8f3;
    --mi-cream-2: #f8f2e9;
    --mi-border: #e5d7c7;
    --mi-muted: #7a6959;
}

/* =========================================================
   1. REMOVE REMAINING PINK LABELS
   ========================================================= */

.home-feature-card > span,
.home-feature-card .feature-number,
.feature-number,
.offer-number,
.home-offer-number,
.stat-number,
.home-stat-number,
.product-card small,
.product-card .category-text,
.product-card .product-category,
.featured-product-card small,
.featured-product-card .category-text,
.featured-product-card .product-category,
.product-mini-card small,
.product-mini-card .category-text,
.product-mini-card .product-category,
.section-label,
.section-kicker,
.section-tag,
.home-section-label,
.shop-section-label,
.products-label,
.collections-label,
.new-arrivals-label,
.selected-items-label,
.featured-label,
.category-label,
.product-label,
small.text-uppercase,
span.text-uppercase,
.text-uppercase.small,
.text-danger,
.text-pink,
[class*="pink"],
[class*="magenta"] {
    color: var(--mi-primary) !important;
}

/* Product category names like CLOTHES, SHOES, BAGS */
.product-card small,
.product-card .card-body small,
.product-card .category-text,
.product-card .product-category,
.featured-product-card small,
.featured-product-card .category-text,
.featured-product-card .product-category,
.product-mini-card small,
.product-mini-card .category-text,
.product-mini-card .product-category {
    color: var(--mi-primary) !important;
    font-weight: 900 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
}

/* Numbers 01, 02, 03 */
.home-feature-card > span:first-child,
.feature-card > span:first-child,
.offer-card > span:first-child,
.info-card > span:first-child,
.home-feature-number,
.feature-number,
.offer-number {
    color: var(--mi-primary) !important;
    background: rgba(139, 94, 52, 0.10) !important;
    border: 1px solid rgba(139, 94, 52, 0.18) !important;
    border-radius: 999px !important;
    padding: 5px 11px !important;
    display: inline-flex !important;
    width: auto !important;
    max-width: max-content !important;
    font-weight: 900 !important;
}

/* =========================================================
   2. SECTION LABELS LIKE PRODUCTS / NEW ARRIVALS
   ========================================================= */

.home-section-heading span,
.section-heading span,
.section-header span,
.section-title-wrap span,
.products-section span:first-child,
.home-products-section span:first-child,
.home-categories-section span:first-child,
.featured-section span:first-child,
.featured-products-section span:first-child,
.shop-section span:first-child,
.collection-section span:first-child,
.home-section-title span,
.boutique-label,
.summary-label {
    color: var(--mi-primary) !important;
    background: rgba(139, 94, 52, 0.10) !important;
    border: 1px solid rgba(139, 94, 52, 0.18) !important;
    border-radius: 999px !important;
    padding: 7px 14px !important;
    font-size: 0.72rem !important;
    font-weight: 900 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    display: inline-flex !important;
    align-items: center !important;
    width: auto !important;
    max-width: max-content !important;
    margin-bottom: 10px !important;
}

/* Section headings should be dark brown */
.home-section-heading h2,
.section-heading h2,
.section-header h2,
.section-title-wrap h2,
.home-products-section h2,
.home-categories-section h2,
.featured-section h2,
.featured-products-section h2,
.shop-section h2,
.collection-section h2,
.section-title,
h2.section-title {
    color: var(--mi-dark) !important;
    font-weight: 900 !important;
}

/* Section subtitles */
.home-section-heading p,
.section-heading p,
.section-header p,
.section-title-wrap p,
.home-products-section p,
.home-categories-section p,
.featured-section p,
.featured-products-section p,
.shop-section p,
.collection-section p {
    color: var(--mi-muted) !important;
}

/* =========================================================
   3. FEATURED PRODUCT CARDS COLOR FIX
   ========================================================= */

.featured-product-card,
.product-mini-card,
.featured-item-card,
.selected-item-card {
    background: #ffffff !important;
    border: 1px solid var(--mi-border) !important;
    box-shadow: 0 12px 30px rgba(47, 33, 24, 0.05) !important;
}

.featured-product-card h4,
.featured-product-card h5,
.product-mini-card h4,
.product-mini-card h5,
.featured-item-card h4,
.featured-item-card h5,
.selected-item-card h4,
.selected-item-card h5 {
    color: var(--mi-dark) !important;
    font-weight: 900 !important;
}

.featured-product-card strong,
.product-mini-card strong,
.featured-item-card strong,
.selected-item-card strong {
    color: var(--mi-dark) !important;
}

/* =========================================================
   4. SHOP PAGE HERO CARD FIX
   This fixes the faded/empty-looking top card on shop.php
   ========================================================= */

.shop-hero,
.shop-page-hero,
.product-hero,
.cart-hero,
.checkout-hero,
.contact-hero {
    background-color: var(--mi-cream) !important;
}

.shop-hero-inner,
.shop-page-hero-inner,
.product-hero-inner,
.cart-hero-inner,
.checkout-hero-inner,
.contact-hero-inner {
    background:
        linear-gradient(135deg, rgba(252, 248, 243, 0.96), rgba(248, 242, 233, 0.92)),
        radial-gradient(circle at right center, rgba(200, 155, 91, 0.18), transparent 34%) !important;
    border: 1px solid var(--mi-border) !important;
    box-shadow: 0 18px 40px rgba(47, 33, 24, 0.10) !important;
    color: var(--mi-dark) !important;
}

/* Make faded hero texts visible */
.shop-hero-inner h1,
.shop-page-hero-inner h1,
.product-hero-inner h1,
.cart-hero-inner h1,
.checkout-hero-inner h1,
.contact-hero-inner h1,
.shop-hero h1,
.shop-page-hero h1 {
    color: var(--mi-dark) !important;
    text-shadow: none !important;
    opacity: 1 !important;
    font-weight: 900 !important;
}

.shop-hero-inner p,
.shop-page-hero-inner p,
.product-hero-inner p,
.cart-hero-inner p,
.checkout-hero-inner p,
.contact-hero-inner p,
.shop-hero p,
.shop-page-hero p {
    color: var(--mi-muted) !important;
    text-shadow: none !important;
    opacity: 1 !important;
    font-weight: 600 !important;
}

/* Hero label should be brown/cream, not black or pink */
.shop-hero-inner .boutique-label,
.shop-page-hero-inner .boutique-label,
.product-hero-inner .boutique-label,
.cart-hero-inner .boutique-label,
.checkout-hero-inner .boutique-label,
.contact-hero-inner .boutique-label {
    background: rgba(139, 94, 52, 0.10) !important;
    color: var(--mi-primary) !important;
    border: 1px solid rgba(139, 94, 52, 0.20) !important;
}

/* If shop hero has old text "MIRIA FASHION STORE", style it correctly */
.shop-hero-inner span,
.shop-page-hero-inner span {
    color: var(--mi-primary) !important;
}

/* Add a soft decorative circle to the shop hero card */
.shop-hero-inner::before,
.shop-page-hero-inner::before {
    content: "";
    position: absolute;
    right: 6%;
    top: 50%;
    width: 210px;
    height: 210px;
    transform: translateY(-50%);
    border-radius: 50%;
    background: rgba(139, 94, 52, 0.08);
    z-index: 0;
    pointer-events: none;
}

.shop-hero-inner > *,
.shop-page-hero-inner > * {
    position: relative;
    z-index: 1;
}

/* =========================================================
   5. SHOP PAGE PRODUCTS LABEL FIX
   ========================================================= */

.shop-products-header span,
.shop-products-title span,
.products-header span,
.products-title span {
    color: var(--mi-primary) !important;
    background: rgba(139, 94, 52, 0.10) !important;
    border: 1px solid rgba(139, 94, 52, 0.20) !important;
    border-radius: 999px !important;
    padding: 7px 14px !important;
    font-weight: 900 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
}

/* Product count heading */
.shop-products-header h2,
.shop-products-title h2,
.products-header h2,
.products-title h2 {
    color: var(--mi-dark) !important;
    font-weight: 900 !important;
}

/* =========================================================
   6. BUTTON CLEANUP
   ========================================================= */

.btn-dark,
.header-admin-link,
.mobile-menu-button,
.admin-mobile-menu-btn,
.badge.bg-dark,
.bg-dark {
    background: var(--mi-dark) !important;
    border-color: var(--mi-dark) !important;
    color: #ffffff !important;
}

.btn-dark:hover,
.header-admin-link:hover,
.mobile-menu-button:hover,
.admin-mobile-menu-btn:hover {
    background: var(--mi-primary) !important;
    border-color: var(--mi-primary) !important;
    color: #ffffff !important;
}

.btn-outline-dark {
    color: var(--mi-dark) !important;
    border-color: var(--mi-dark) !important;
    background: transparent !important;
}

.btn-outline-dark:hover {
    color: #ffffff !important;
    background: var(--mi-primary) !important;
    border-color: var(--mi-primary) !important;
}

/* Keep WhatsApp green */
.btn-whatsapp,
.header-whatsapp,
.footer-whatsapp-button {
    background: #25d366 !important;
    border-color: #25d366 !important;
    color: #ffffff !important;
}

.btn-whatsapp:hover,
.header-whatsapp:hover,
.footer-whatsapp-button:hover {
    background: #1daa52 !important;
    border-color: #1daa52 !important;
    color: #ffffff !important;
}

/* =========================================================
   7. REMOVE INLINE PINK WHERE POSSIBLE
   ========================================================= */

[style*="#c12a7a"],
[style*="c12a7a"],
[style*="#e83e8c"],
[style*="e83e8c"],
[style*="pink"],
[style*="magenta"] {
    color: var(--mi-primary) !important;
    border-color: var(--mi-primary) !important;
}

/* =========================================================
   8. MOBILE SAFETY
   ========================================================= */

@media (max-width: 767px) {
    .shop-hero-inner::before,
    .shop-page-hero-inner::before {
        width: 130px;
        height: 130px;
        right: -20px;
        opacity: 0.6;
    }

    .shop-hero-inner,
    .shop-page-hero-inner {
        padding: 30px 22px !important;
    }

    .shop-hero-inner h1,
    .shop-page-hero-inner h1 {
        font-size: 2rem !important;
    }
}

/* =========================================================
   MI AMOIRE MOBILE HEADER SPACING FIX
   Fixes empty gap between logo and cart/menu on phone
   Added at the very bottom of assets/css/style.css
   ========================================================= */

@media (max-width: 767px) {
    .site-header,
    .main-header,
    .header,
    .boutique-header,
    .public-main-header {
        padding: 10px 0 !important;
    }

    .header-inner,
    .main-header-inner,
    .site-header-inner,
    .boutique-header-inner,
    .navbar,
    .navbar .container,
    header .container,
    .public-header-inner {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 8px !important;
        flex-wrap: nowrap !important;
        width: 100% !important;
    }

    .header-brand,
    .site-brand,
    .navbar-brand,
    .brand,
    .logo-area,
    .header-logo-wrap,
    .public-logo,
    .public-logo-with-image {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        max-width: calc(100% - 145px) !important;
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
    }

    .header-logo,
    .site-logo,
    .brand-logo,
    .logo,
    .public-logo-img {
        width: 54px !important;
        height: 54px !important;
        max-width: 54px !important;
        flex: 0 0 54px !important;
    }

    .header-logo img,
    .site-logo img,
    .brand-logo img,
    .logo img,
    .navbar-brand img,
    .public-logo-img {
        width: 54px !important;
        height: 54px !important;
        object-fit: contain !important;
    }

    .brand-text,
    .logo-text,
    .header-brand-text,
    .site-brand-text,
    .public-logo-text {
        min-width: 0 !important;
        overflow: hidden !important;
        flex: 1 1 auto !important;
    }

    .brand-title,
    .logo-title,
    .site-title,
    .header-brand-title,
    .navbar-brand span:first-child,
    .logo-main {
        font-size: 1.55rem !important;
        line-height: 1 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        display: block !important;
        max-width: 100% !important;
    }

    /* Hide long tagline on phones to remove the big empty space */
    .brand-tagline,
    .logo-tagline,
    .site-tagline,
    .header-brand-subtitle,
    .header-logo-subtitle,
    .navbar-brand small,
    .logo-sub {
        display: none !important;
    }

    .header-actions,
    .site-header-actions,
    .main-header-actions,
    .nav-actions,
    .navbar-actions,
    .public-header-actions {
        flex: 0 0 auto !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 8px !important;
        margin-left: auto !important;
        width: auto !important;
        flex-wrap: nowrap !important;
    }

    .header-cart,
    .cart-button,
    .cart-link,
    .header-cart-button,
    .header-cart-link {
        width: 58px !important;
        height: 58px !important;
        min-width: 58px !important;
        padding: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 999px !important;
    }

    .mobile-menu-toggle,
    .mobile-menu-button,
    .menu-toggle,
    .navbar-toggler,
    .header-menu-button {
        width: 70px !important;
        height: 58px !important;
        min-width: 70px !important;
        padding: 0 12px !important;
        border-radius: 999px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-weight: 900 !important;
    }

    /* Hide desktop navigation/search/extra buttons inside header on phone */
    .desktop-nav,
    .header-nav,
    .main-nav,
    .navbar-nav,
    .header-search,
    .desktop-search,
    .public-nav,
    .header-whatsapp,
    .header-admin-link,
    .currency-holder {
        display: none !important;
    }
}

@media (max-width: 575px) {
    .public-header-inner {
        min-height: 72px !important;
    }

    .public-header-actions {
        width: auto !important;
        justify-content: flex-end !important;
    }

    .public-logo-with-image {
        max-width: calc(100% - 138px) !important;
    }

    .public-logo-img {
        width: 50px !important;
        height: 50px !important;
        flex: 0 0 50px !important;
    }

    .public-logo-text .logo-main {
        font-size: 1.4rem !important;
    }

    .header-cart-link {
        width: 56px !important;
        height: 56px !important;
        min-width: 56px !important;
    }

    .mobile-menu-button {
        width: 66px !important;
        height: 56px !important;
        min-width: 66px !important;
    }
}

/* =========================================================
   MI AMOIRE REAL MOBILE HEADER FIX
   Fixes big empty space between logo and cart/menu
   ========================================================= */

@media (max-width: 575px) {
    .public-main-header {
        position: sticky !important;
        top: 0 !important;
        z-index: 9999 !important;
    }

    .public-header-inner {
        min-height: 74px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-wrap: nowrap !important;
        gap: 8px !important;
        padding: 8px 0 !important;
    }

    .public-logo,
    .public-logo-with-image {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        max-width: calc(100% - 142px) !important;
        width: auto !important;
        gap: 8px !important;
    }

    .public-logo-img {
        width: 46px !important;
        height: 46px !important;
        flex: 0 0 46px !important;
        padding: 4px !important;
    }

    .public-logo-text {
        min-width: 0 !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }

    .public-logo-text .logo-main,
    .logo-main {
        font-size: 1.55rem !important;
        line-height: 1 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        max-width: 160px !important;
    }

    .public-logo-text .logo-sub,
    .logo-sub {
        display: none !important;
    }

    .public-header-actions {
        width: auto !important;
        flex: 0 0 auto !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        flex-wrap: nowrap !important;
        gap: 8px !important;
        margin-left: auto !important;
    }

    .currency-holder,
    .header-whatsapp,
    .header-admin-link {
        display: none !important;
    }

    .header-cart-link {
        width: 58px !important;
        height: 58px !important;
        min-width: 58px !important;
        padding: 0 !important;
        border-radius: 999px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 0 !important;
    }

    .header-cart-link .cart-count {
        font-size: 0.9rem !important;
        min-width: 30px !important;
        height: 30px !important;
    }

    .mobile-menu-button {
        width: 70px !important;
        height: 58px !important;
        min-width: 70px !important;
        padding: 0 12px !important;
        border-radius: 999px !important;
        font-size: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .mobile-menu-button::after {
        content: "Menu" !important;
        font-size: 1rem !important;
        font-weight: 900 !important;
        color: #ffffff !important;
    }
}

/* =========================================================
   MI AMOIRE NEWSLETTER DISCOUNT POPUP
   Elegant fashion popup inspired layout
   ========================================================= */

.mi-newsletter-overlay {
    position: fixed;
    inset: 0;
    background: rgba(47, 33, 24, 0.55);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
}

.mi-newsletter-overlay.show {
    display: flex;
}

.mi-newsletter-modal {
    width: min(980px, 96vw);
    min-height: 540px;
    background: #ffffff;
    position: relative;
    box-shadow: 0 30px 90px rgba(47, 33, 24, 0.28);
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    overflow: hidden;
    border-radius: 0;
}

.mi-newsletter-close {
    position: absolute;
    top: 18px;
    right: 20px;
    width: 42px;
    height: 42px;
    border: none;
    background: transparent;
    color: #2f2118;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    z-index: 5;
}

.mi-newsletter-content {
    padding: 70px 60px 55px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background:
        radial-gradient(circle at top left, rgba(200,155,91,0.18), transparent 34%),
        #ffffff;
}

.mi-newsletter-small {
    display: inline-flex;
    width: fit-content;
    color: #8b5e34;
    background: rgba(139, 94, 52, 0.10);
    border: 1px solid rgba(139, 94, 52, 0.18);
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.mi-newsletter-content h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.4rem, 5vw, 4.6rem);
    line-height: 1.02;
    color: #2f2118;
    font-weight: 500;
    margin: 0 0 18px;
    letter-spacing: -0.04em;
}

.mi-newsletter-content p {
    color: #7a6959;
    font-size: 1rem;
    line-height: 1.75;
    max-width: 520px;
    margin: 0 0 34px;
}

.mi-newsletter-form {
    max-width: 520px;
}

.mi-newsletter-input {
    width: 100%;
    border: none;
    border-bottom: 1px solid #cfc2b4;
    padding: 14px 4px;
    outline: none;
    color: #2f2118;
    background: transparent;
    text-align: center;
    font-size: 0.95rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.mi-newsletter-input::placeholder {
    color: #7a6959;
}

.mi-newsletter-submit {
    margin: 28px auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 190px;
    height: 58px;
    border: none;
    background: #2f2118;
    color: #ffffff;
    font-weight: 900;
    border-radius: 0;
    cursor: pointer;
}

.mi-newsletter-submit:hover {
    background: #8b5e34;
}

.mi-newsletter-check {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #7a6959;
    font-size: 0.95rem;
}

.mi-newsletter-check input {
    width: 18px;
    height: 18px;
    accent-color: #8b5e34;
}

.mi-newsletter-image {
    background:
        linear-gradient(rgba(252,248,243,0.05), rgba(252,248,243,0.05)),
        url("../images/newsletter-fashion.jpg");
    background-size: cover;
    background-position: center;
    min-height: 540px;
}

.mi-newsletter-success {
    display: none;
    margin-top: 16px;
    color: #2f8f57;
    font-weight: 800;
    text-align: center;
}

.mi-newsletter-success.show {
    display: block;
}

@media (max-width: 767px) {
    .mi-newsletter-modal {
        grid-template-columns: 1fr;
        min-height: auto;
        width: 94vw;
    }

    .mi-newsletter-image {
        min-height: 210px;
        order: -1;
    }

    .mi-newsletter-content {
        padding: 38px 24px 34px;
        text-align: center;
        align-items: center;
    }

    .mi-newsletter-content h2 {
        font-size: 2.45rem;
    }

    .mi-newsletter-content p {
        font-size: 0.95rem;
        margin-bottom: 24px;
    }

    .mi-newsletter-submit {
        width: 100%;
    }

    .mi-newsletter-close {
        top: 10px;
        right: 12px;
        background: rgba(255,255,255,0.85);
        border-radius: 50%;
    }
}

/* =========================================================
   MI AMOIRE NEWSLETTER POPUP SIZE FIX
   Makes discount popup smaller and cleaner
   Paste at the very bottom of assets/css/style.css
   ========================================================= */

.mi-newsletter-overlay {
    padding: 18px !important;
    background: rgba(47, 33, 24, 0.55) !important;
    align-items: flex-start !important;
    padding-top: 35px !important;
}

.mi-newsletter-modal {
    width: min(720px, 92vw) !important;
    min-height: 360px !important;
    max-height: 88vh !important;
    grid-template-columns: 0.95fr 1.05fr !important;
    border-radius: 0 !important;
    overflow: hidden !important;
    box-shadow: 0 24px 70px rgba(47, 33, 24, 0.26) !important;
}

.mi-newsletter-content {
    padding: 36px 34px 32px !important;
}

.mi-newsletter-small {
    font-size: 0.62rem !important;
    padding: 5px 10px !important;
    margin-bottom: 12px !important;
}

.mi-newsletter-content h2 {
    font-size: clamp(2rem, 4vw, 3.15rem) !important;
    line-height: 1.02 !important;
    margin-bottom: 14px !important;
}

.mi-newsletter-content p {
    font-size: 0.86rem !important;
    line-height: 1.55 !important;
    margin-bottom: 20px !important;
    max-width: 360px !important;
}

.mi-newsletter-form {
    max-width: 360px !important;
}

.mi-newsletter-input {
    padding: 10px 4px !important;
    font-size: 0.78rem !important;
    letter-spacing: 0.18em !important;
}

.mi-newsletter-submit {
    margin: 20px auto 14px !important;
    min-width: 145px !important;
    height: 44px !important;
    font-size: 0.88rem !important;
}

.mi-newsletter-check {
    font-size: 0.82rem !important;
}

.mi-newsletter-check input {
    width: 15px !important;
    height: 15px !important;
}

.mi-newsletter-image {
    min-height: 360px !important;
    background-size: cover !important;
    background-position: center !important;
}

.mi-newsletter-close {
    top: 10px !important;
    right: 12px !important;
    width: 34px !important;
    height: 34px !important;
    font-size: 1.7rem !important;
}

/* Tablet */
@media (max-width: 991px) {
    .mi-newsletter-modal {
        width: min(680px, 92vw) !important;
        min-height: 340px !important;
    }

    .mi-newsletter-content {
        padding: 32px 28px !important;
    }

    .mi-newsletter-content h2 {
        font-size: 2.45rem !important;
    }

    .mi-newsletter-image {
        min-height: 340px !important;
    }
}

/* Phone */
@media (max-width: 767px) {
    .mi-newsletter-overlay {
        align-items: center !important;
        padding: 14px !important;
    }

    .mi-newsletter-modal {
        width: 94vw !important;
        max-height: 90vh !important;
        min-height: auto !important;
        grid-template-columns: 1fr !important;
        overflow-y: auto !important;
    }

    .mi-newsletter-image {
        min-height: 170px !important;
        order: -1 !important;
    }

    .mi-newsletter-content {
        padding: 26px 20px 24px !important;
        text-align: center !important;
        align-items: center !important;
    }

    .mi-newsletter-content h2 {
        font-size: 2rem !important;
        line-height: 1.06 !important;
    }

    .mi-newsletter-content p {
        font-size: 0.84rem !important;
        line-height: 1.55 !important;
        margin-bottom: 18px !important;
    }

    .mi-newsletter-form {
        max-width: 100% !important;
        width: 100% !important;
    }

    .mi-newsletter-submit {
        width: 100% !important;
        height: 44px !important;
    }

    .mi-newsletter-close {
        background: rgba(255,255,255,0.92) !important;
        border-radius: 50% !important;
    }
}


/* =========================================================
   MI AMOIRE POPUP CLOSE BUTTON FIX
   Replaces broken question mark close icon with clean X
   ========================================================= */

.mi-newsletter-close {
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    color: #2f2118 !important;
    background: rgba(255, 255, 255, 0.94) !important;
    border: 1px solid rgba(47, 33, 24, 0.18) !important;
    border-radius: 50% !important;
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    cursor: pointer !important;
    z-index: 30 !important;
    text-indent: 0 !important;
    overflow: hidden !important;
}

.mi-newsletter-close:hover {
    background: #2f2118 !important;
    color: #ffffff !important;
    border-color: #2f2118 !important;
}

.mi-newsletter-close::before,
.mi-newsletter-close::after {
    display: none !important;
    content: none !important;
}


/* =========================================================
   MI AMOIRE MOBILE MENU FINAL FIX
   Makes phone menu clean full-width dropdown
   ========================================================= */

@media (max-width: 991px) {
    .mobile-nav-panel {
        display: none !important;
        position: absolute !important;
        left: 0 !important;
        right: 0 !important;
        top: 100% !important;
        width: 100% !important;
        background: #fcf8f3 !important;
        border-top: 1px solid #e5d7c7 !important;
        border-bottom: 1px solid #e5d7c7 !important;
        box-shadow: 0 18px 40px rgba(47, 33, 24, 0.12) !important;
        padding: 12px 18px 18px !important;
        z-index: 99999 !important;
    }

    body.mobile-menu-open .mobile-nav-panel {
        display: block !important;
    }

    .mobile-nav-panel a {
        display: block !important;
        width: 100% !important;
        padding: 13px 0 !important;
        color: #2f2118 !important;
        border-bottom: 1px solid rgba(229, 215, 199, 0.85) !important;
        font-size: 1rem !important;
        font-weight: 800 !important;
        text-align: left !important;
    }

    .mobile-nav-panel a:last-child {
        border-bottom: none !important;
    }

    .mobile-nav-panel a:hover {
        color: #8b5e34 !important;
    }

    .public-main-header {
        position: sticky !important;
        top: 0 !important;
        z-index: 99998 !important;
    }

    .public-main-header .container {
        position: relative !important;
    }

    .public-header-inner {
        position: relative !important;
        z-index: 2 !important;
    }
}

/* =========================================================
   MI AMOIRE PHONE POPUP FINAL FIX
   Makes newsletter popup neat on mobile phones
   ========================================================= */

@media (max-width: 767px) {
    .mi-newsletter-overlay {
        padding: 12px !important;
        align-items: center !important;
        justify-content: center !important;
        overflow-y: auto !important;
    }

    .mi-newsletter-modal {
        width: 92vw !important;
        max-width: 380px !important;
        min-height: auto !important;
        max-height: 88vh !important;
        display: flex !important;
        flex-direction: column !important;
        overflow-y: auto !important;
        border-radius: 18px !important;
        box-shadow: 0 18px 45px rgba(47, 33, 24, 0.28) !important;
    }

    .mi-newsletter-image {
        order: -1 !important;
        width: 100% !important;
        min-height: 145px !important;
        max-height: 145px !important;
        background-size: cover !important;
        background-position: center !important;
    }

    .mi-newsletter-content {
        padding: 22px 18px 20px !important;
        text-align: center !important;
        align-items: center !important;
    }

    .mi-newsletter-content h2 {
        font-size: 1.8rem !important;
        line-height: 1.05 !important;
        margin-bottom: 10px !important;
    }

    .mi-newsletter-content p {
        font-size: 0.82rem !important;
        line-height: 1.45 !important;
        margin-bottom: 16px !important;
    }

    .mi-newsletter-submit {
        width: 100% !important;
        height: 42px !important;
        min-width: 100% !important;
        margin: 16px 0 12px !important;
        border-radius: 999px !important;
    }

    .mi-newsletter-close {
        top: 8px !important;
        right: 8px !important;
        width: 34px !important;
        height: 34px !important;
        font-size: 18px !important;
        background: rgba(255,255,255,0.95) !important;
        border-radius: 50% !important;
    }
}

/* =========================================================
   MI AMOIRE INSTALL APP BUTTON
   ========================================================= */

.mi-install-app-btn {
    position: fixed;
    left: 16px;
    bottom: 16px;
    z-index: 99998;
    background: #8b5e34;
    color: #ffffff;
    border: none;
    border-radius: 999px;
    padding: 12px 18px;
    font-weight: 900;
    box-shadow: 0 12px 30px rgba(47, 33, 24, 0.25);
    cursor: pointer;
}

.mi-install-app-btn:hover {
    background: #6f4a27;
}

@media (max-width: 767px) {
    .mi-install-app-btn {
        left: 12px;
        bottom: 12px;
        padding: 11px 15px;
        font-size: 0.86rem;
    }
}


/* =========================================================
   MI AMOIRE TOP CATEGORY REMOVE + HAMBURGER MENU + PRELOADER
   Final override pasted at bottom of assets/css/style.css
   ========================================================= */

/* Remove top category links: Clothes, Shoes, Bags, Jewelry */
.public-top-bar .top-bar-links {
    display: none !important;
}

.public-top-bar .top-bar-inner {
    justify-content: center !important;
    text-align: center !important;
}

.public-top-bar .top-bar-inner > div:first-child {
    width: 100% !important;
    text-align: center !important;
}

/* Replace Menu text with 3-line hamburger icon */
.mobile-menu-button {
    width: 64px !important;
    height: 58px !important;
    min-width: 64px !important;
    padding: 0 !important;
    border-radius: 999px !important;
    background: #2f2118 !important;
    border: 1px solid #2f2118 !important;
    color: transparent !important;
    font-size: 0 !important;
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.mobile-menu-button::before {
    content: "" !important;
    width: 26px !important;
    height: 2px !important;
    background: #ffffff !important;
    border-radius: 999px !important;
    display: block !important;
    box-shadow:
        0 -8px 0 #ffffff,
        0 8px 0 #ffffff !important;
}

.mobile-menu-button::after {
    content: "" !important;
    display: none !important;
}

.mobile-menu-button:hover {
    background: #8b5e34 !important;
    border-color: #8b5e34 !important;
}

body.mobile-menu-open .mobile-menu-button {
    background: #8b5e34 !important;
    border-color: #8b5e34 !important;
}

/* Mobile menu dropdown cleaner */
@media (max-width: 991px) {
    .mobile-nav-panel {
        display: none !important;
        position: absolute !important;
        left: 0 !important;
        right: 0 !important;
        top: 100% !important;
        width: 100% !important;
        background: #fcf8f3 !important;
        border-top: 1px solid #e5d7c7 !important;
        border-bottom: 1px solid #e5d7c7 !important;
        box-shadow: 0 18px 40px rgba(47, 33, 24, 0.12) !important;
        padding: 12px 18px 18px !important;
        z-index: 99999 !important;
    }

    body.mobile-menu-open .mobile-nav-panel {
        display: block !important;
    }

    .mobile-nav-panel a {
        display: block !important;
        width: 100% !important;
        padding: 13px 0 !important;
        color: #2f2118 !important;
        border-bottom: 1px solid rgba(229, 215, 199, 0.85) !important;
        font-size: 1rem !important;
        font-weight: 800 !important;
        text-align: left !important;
    }

    .mobile-nav-panel a:last-child {
        border-bottom: none !important;
    }

    .public-main-header {
        position: sticky !important;
        top: 0 !important;
        z-index: 99998 !important;
    }

    .public-main-header .container {
        position: relative !important;
    }
}

/* Preloader */
.mi-preloader {
    position: fixed;
    inset: 0;
    background: #fcf8f3;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.45s ease, visibility 0.45s ease;
}

.mi-preloader.hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.mi-preloader-inner {
    text-align: center;
}

.mi-preloader-logo {
    width: 86px;
    height: 86px;
    object-fit: contain;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #e5d7c7;
    padding: 8px;
    margin: 0 auto 18px;
    box-shadow: 0 14px 35px rgba(47, 33, 24, 0.12);
    animation: miPreloaderPulse 1.2s ease-in-out infinite;
}

.mi-preloader-title {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.8rem;
    color: #2f2118;
    margin-bottom: 6px;
}

.mi-preloader-text {
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #8b5e34;
    font-weight: 900;
}

@keyframes miPreloaderPulse {
    0% {
        transform: scale(1);
        opacity: 0.75;
    }

    50% {
        transform: scale(1.08);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 0.75;
    }
}
/* =========================================================
   MI AMOIRE PRELOADER SPIN FIX
   Makes preloader logo spin while website is loading
   ========================================================= */

.mi-preloader-logo {
    animation: miPreloaderSpin 1.2s linear infinite !important;
    border: 2px solid #e5d7c7 !important;
    border-top-color: #8b5e34 !important;
}

@keyframes miPreloaderSpin {
    0% {
        transform: rotate(0deg) scale(1);
    }

    50% {
        transform: rotate(180deg) scale(1.05);
    }

    100% {
        transform: rotate(360deg) scale(1);
    }
}

/* =========================================================
   MI AMOIRE MOBILE CLOTHES SUBMENU FIX
   Makes Clothes menu open as a clean dropdown list
   ========================================================= */

.mobile-submenu-group {
    width: 100% !important;
    border-bottom: 1px solid rgba(229, 215, 199, 0.85) !important;
}

.mobile-submenu-toggle {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    background: transparent !important;
    border: none !important;
    padding: 13px 0 !important;
    color: #2f2118 !important;
    font-size: 1rem !important;
    font-weight: 800 !important;
    text-align: left !important;
    cursor: pointer !important;
    font-family: inherit !important;
}

.mobile-submenu-toggle:hover {
    color: #8b5e34 !important;
}

.mobile-submenu-arrow {
    font-size: 1.2rem !important;
    line-height: 1 !important;
    font-weight: 900 !important;
    transition: transform 0.25s ease !important;
}

.mobile-submenu-group.open .mobile-submenu-arrow {
    transform: rotate(45deg) !important;
}

.mobile-submenu-links {
    display: none !important;
    padding: 0 0 10px 14px !important;
    background: #fdfaf6 !important;
    border-radius: 0 0 14px 14px !important;
}

.mobile-submenu-group.open .mobile-submenu-links {
    display: block !important;
}

.mobile-submenu-links a {
    display: block !important;
    width: 100% !important;
    padding: 10px 0 !important;
    color: #5d4a3c !important;
    border-bottom: 1px solid rgba(229, 215, 199, 0.55) !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    text-align: left !important;
}

.mobile-submenu-links a:last-child {
    border-bottom: none !important;
}

.mobile-submenu-links a:hover {
    color: #8b5e34 !important;
    padding-left: 6px !important;
    transition: all 0.2s ease !important;
}


/* =========================================================
   MI AMOIRE AUTO SEASON OFFER SECTION
   Detects the current month from index.php and displays the right offer
   ========================================================= */

.mi-season-offer-section {
    padding-top: 34px;
    padding-bottom: 20px;
}

.mi-season-offer-card {
    background:
        linear-gradient(135deg, rgba(252, 248, 243, 0.98), rgba(255,255,255,0.96)),
        radial-gradient(circle at right center, rgba(200,155,91,0.18), transparent 35%);
    border: 1px solid #e5d7c7;
    border-radius: 28px;
    padding: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    box-shadow: 0 18px 45px rgba(47, 33, 24, 0.08);
}

.mi-season-offer-card h2 {
    color: #2f2118;
    font-weight: 900;
    letter-spacing: -0.03em;
    margin-bottom: 8px;
}

.mi-season-offer-card p {
    color: #7a6959;
    margin-bottom: 0;
    max-width: 680px;
    line-height: 1.7;
}

.mi-season-offer-card .banner-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.boutique-trending-section {
    padding-top: 62px;
    padding-bottom: 62px;
}

@media (max-width: 767px) {
    .mi-season-offer-section {
        padding-top: 24px;
        padding-bottom: 10px;
    }

    .mi-season-offer-card {
        padding: 22px;
        border-radius: 22px;
    }

    .mi-season-offer-card h2 {
        font-size: 1.45rem;
    }

    .mi-season-offer-card .banner-actions,
    .mi-season-offer-card .btn {
        width: 100%;
    }

    .boutique-trending-section {
        padding-top: 42px;
        padding-bottom: 42px;
    }
}

/* =========================================================
   MI AMOIRE ORDER SUCCESS PHONE FIX
   Shows full order details, products, amount on mobile
   ========================================================= */

@media (max-width: 767px) {
    .order-success-page-wrapper,
    .order-success-section,
    .order-success-layout,
    .order-success-card,
    .order-summary-card,
    .order-products-card {
        width: 100% !important;
        max-width: 100% !important;
        overflow: visible !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }

    .order-success-layout {
        display: block !important;
        grid-template-columns: 1fr !important;
    }

    .order-success-card,
    .order-products-card,
    .order-summary-card {
        display: block !important;
        position: static !important;
        margin-bottom: 20px !important;
        padding: 20px !important;
        border-radius: 20px !important;
    }

    .order-detail-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        width: 100% !important;
    }

    .order-detail-box {
        display: block !important;
        width: 100% !important;
        padding: 14px !important;
        overflow: visible !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .order-detail-box span,
    .order-detail-box strong {
        display: block !important;
        width: 100% !important;
        white-space: normal !important;
        overflow-wrap: break-word !important;
        word-break: normal !important;
    }

    .order-products-card h3,
    .order-success-card h2,
    .order-summary-card h3 {
        display: block !important;
        color: #2f2118 !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .order-product-item {
        display: flex !important;
        align-items: flex-start !important;
        gap: 12px !important;
        width: 100% !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }

    .order-product-image {
        width: 72px !important;
        height: 86px !important;
        flex: 0 0 72px !important;
        display: block !important;
    }

    .order-product-details {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        display: block !important;
    }

    .order-product-details h5,
    .order-product-details small,
    .order-product-details strong {
        display: block !important;
        white-space: normal !important;
        overflow-wrap: break-word !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .summary-row,
    .summary-total-row {
        display: flex !important;
        justify-content: space-between !important;
        align-items: flex-start !important;
        gap: 10px !important;
        width: 100% !important;
    }

    .summary-row span,
    .summary-row strong,
    .summary-total-row span,
    .summary-total-row strong {
        display: block !important;
        white-space: normal !important;
        overflow-wrap: break-word !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .order-actions,
    .order-actions .btn {
        width: 100% !important;
    }

    .order-actions .btn {
        display: block !important;
        margin-bottom: 8px !important;
    }
}

/* Force order success items visible even with global animations */
.order-success-page-wrapper .order-success-card,
.order-success-page-wrapper .order-products-card,
.order-success-page-wrapper .order-summary-card,
.order-success-page-wrapper .order-product-item,
.order-success-page-wrapper .order-detail-box {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

/* =========================================================
   MI AMOIRE ONEA-INSPIRED HOME SLIDER
   Original fashion-shop slider style for Mi Amoire
   ========================================================= */

.mi-onea-slider {
    width: 100%;
    overflow: hidden;
    background: #fcf8f3;
}

.mi-onea-slide {
    min-height: 560px;
    background-size: cover;
    background-position: center;
    background-color: #2f2118;
    position: relative;
    display: flex;
    align-items: center;
}

.mi-onea-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(47, 33, 24, 0.70), rgba(47, 33, 24, 0.36), rgba(47, 33, 24, 0.14));
    z-index: 1;
}

.mi-onea-slide .container {
    position: relative;
    z-index: 2;
}

.mi-onea-content {
    max-width: 560px;
    color: #ffffff;
    padding: 70px 0;
}

.mi-onea-content span {
    display: inline-flex;
    align-items: center;
    background: rgba(252, 248, 243, 0.94);
    color: #8b5e34;
    border: 1px solid rgba(200, 155, 91, 0.45);
    border-radius: 999px;
    padding: 7px 14px;
    font-size: 0.7rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    margin-bottom: 14px;
}

.mi-onea-content h1 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.35rem, 5vw, 4.7rem);
    line-height: 0.98;
    font-weight: 500;
    letter-spacing: -0.05em;
    color: #ffffff;
    margin-bottom: 16px;
}

.mi-onea-content p {
    max-width: 470px;
    color: rgba(255,255,255,0.92);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.mi-onea-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.mi-onea-actions .btn {
    padding: 12px 24px;
    font-size: 0.92rem;
}

.mi-onea-indicators {
    bottom: 24px;
}

.mi-onea-indicators button {
    width: 42px !important;
    height: 3px !important;
    border-radius: 999px !important;
}

.mi-onea-control {
    width: 7%;
}

.carousel-item.active .mi-onea-content {
    animation: miOneaTextIn 0.85s ease both;
}

@keyframes miOneaTextIn {
    0% {
        opacity: 0;
        transform: translateY(28px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 991px) {
    .mi-onea-slide {
        min-height: 520px;
        background-position: center;
    }

    .mi-onea-content {
        max-width: 520px;
        padding: 55px 0;
    }
}

@media (max-width: 767px) {
    .mi-onea-slide {
        min-height: 460px;
        background-position: center;
    }

    .mi-onea-overlay {
        background: linear-gradient(90deg, rgba(47, 33, 24, 0.78), rgba(47, 33, 24, 0.42));
    }

    .mi-onea-content {
        max-width: 92%;
        padding: 45px 0;
    }

    .mi-onea-content h1 {
        font-size: 2.25rem;
        line-height: 1.02;
    }

    .mi-onea-content p {
        font-size: 0.9rem;
        line-height: 1.6;
        max-width: 92%;
    }

    .mi-onea-actions .btn {
        padding: 11px 18px;
        font-size: 0.86rem;
    }

    .mi-onea-control {
        display: none;
    }

    .mi-onea-indicators {
        bottom: 16px;
    }
}

@media (max-width: 420px) {
    .mi-onea-slide {
        min-height: 430px;
    }

    .mi-onea-content h1 {
        font-size: 2rem;
    }

    .mi-onea-content p {
        font-size: 0.86rem;
    }
}


/* =========================================================
   MI AMOIRE SLIDER SIZE FINAL FIX
   Makes homepage slider smaller and cleaner
   ========================================================= */

.mi-onea-slide {
    min-height: 500px !important;
}

.mi-onea-content {
    max-width: 520px !important;
    padding: 55px 0 !important;
}

.mi-onea-content h1 {
    font-size: clamp(2.1rem, 4vw, 3.8rem) !important;
    line-height: 1.02 !important;
    margin-bottom: 14px !important;
}

.mi-onea-content p {
    font-size: 0.95rem !important;
    line-height: 1.65 !important;
    margin-bottom: 22px !important;
}

.mi-onea-content span {
    font-size: 0.66rem !important;
    padding: 6px 13px !important;
}

.mi-onea-actions .btn {
    padding: 11px 22px !important;
    font-size: 0.9rem !important;
}

@media (max-width: 767px) {
    .mi-onea-slide {
        min-height: 420px !important;
    }

    .mi-onea-content {
        max-width: 90% !important;
        padding: 38px 0 !important;
    }

    .mi-onea-content h1 {
        font-size: 1.9rem !important;
        line-height: 1.05 !important;
        margin-bottom: 12px !important;
    }

    .mi-onea-content p {
        font-size: 0.84rem !important;
        line-height: 1.55 !important;
        margin-bottom: 18px !important;
    }

    .mi-onea-actions {
        gap: 8px !important;
    }

    .mi-onea-actions .btn {
        padding: 10px 15px !important;
        font-size: 0.82rem !important;
    }
}

@media (max-width: 420px) {
    .mi-onea-slide {
        min-height: 395px !important;
    }

    .mi-onea-content h1 {
        font-size: 1.75rem !important;
    }
}

/* =========================================================
   MI AMOIRE PRODUCT-FIRST HOME FLOW
   Quick category buttons + compact shopping sections
   ========================================================= */

.mi-quick-shop-strip {
    padding-top: 18px;
    padding-bottom: 8px;
}

.mi-quick-shop-inner {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.mi-quick-shop-link {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 86px;
    padding: 16px 18px;
    background: #ffffff;
    border: 1px solid #e5d7c7;
    border-radius: 22px;
    box-shadow: 0 12px 30px rgba(47, 33, 24, 0.06);
    color: #2f2118 !important;
    text-decoration: none !important;
    transition: all 0.28s ease;
}

.mi-quick-shop-link span {
    color: #8b5e34;
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 5px;
}

.mi-quick-shop-link strong {
    color: #2f2118;
    font-weight: 900;
    font-size: 1rem;
}

.mi-quick-shop-link:hover {
    transform: translateY(-4px);
    border-color: rgba(139, 94, 52, 0.35);
    box-shadow: 0 18px 45px rgba(47, 33, 24, 0.12);
}

.mi-quick-shop-offer {
    background:
        linear-gradient(135deg, rgba(139, 94, 52, 0.95), rgba(111, 74, 39, 0.95)),
        radial-gradient(circle at right center, rgba(200, 155, 91, 0.30), transparent 38%);
    border-color: #8b5e34;
}

.mi-quick-shop-offer span,
.mi-quick-shop-offer strong {
    color: #ffffff !important;
}

.boutique-products-section {
    padding-top: 38px !important;
}

.boutique-deals-section,
.boutique-trending-section,
.boutique-category-showcase,
.boutique-featured-section {
    padding-top: 55px !important;
    padding-bottom: 55px !important;
}

.mi-season-offer-section {
    padding-top: 22px !important;
    padding-bottom: 8px !important;
}

.mi-season-offer-card {
    padding: 22px 24px !important;
}

.mi-season-offer-card h2 {
    font-size: clamp(1.35rem, 2.4vw, 2rem) !important;
    margin-bottom: 6px !important;
}

.mi-season-offer-card p {
    font-size: 0.94rem !important;
    line-height: 1.6 !important;
}

.mi-home-help-strip {
    padding-top: 45px !important;
    padding-bottom: 60px !important;
}

.mi-home-help-card {
    background:
        linear-gradient(135deg, rgba(252, 248, 243, 0.98), rgba(255,255,255,0.96)),
        radial-gradient(circle at right center, rgba(200,155,91,0.18), transparent 35%);
    border: 1px solid #e5d7c7;
    border-radius: 28px;
    padding: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    box-shadow: 0 18px 45px rgba(47, 33, 24, 0.08);
}

.mi-home-help-card h2 {
    color: #2f2118;
    font-weight: 900;
    letter-spacing: -0.03em;
    margin-bottom: 8px;
}

.mi-home-help-card p {
    color: #7a6959;
    margin-bottom: 0;
    max-width: 680px;
    line-height: 1.7;
}

@media (max-width: 991px) {
    .mi-quick-shop-inner {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .mi-quick-shop-strip {
        padding-top: 14px;
        padding-bottom: 0;
    }

    .mi-quick-shop-inner {
        display: flex;
        overflow-x: auto;
        gap: 10px;
        padding-bottom: 8px;
        scroll-snap-type: x mandatory;
    }

    .mi-quick-shop-link {
        min-width: 150px;
        min-height: 74px;
        padding: 13px 14px;
        border-radius: 18px;
        scroll-snap-align: start;
    }

    .mi-quick-shop-link strong {
        font-size: 0.92rem;
    }

    .boutique-products-section {
        padding-top: 30px !important;
    }

    .boutique-deals-section,
    .boutique-trending-section,
    .boutique-category-showcase,
    .boutique-featured-section {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }

    .mi-season-offer-card,
    .mi-home-help-card {
        padding: 20px !important;
        border-radius: 22px !important;
    }

    .mi-season-offer-card .banner-actions,
    .mi-season-offer-card .btn,
    .mi-home-help-card .banner-actions,
    .mi-home-help-card .btn {
        width: 100% !important;
    }
}


/* =========================================================
   MI AMOIRE CART CARD CENTER + BEAUTIFUL LOOK
   Centers the cart hero message, empty cart card, and quick order card
   ========================================================= */

.cart-page-wrapper .cart-hero {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
}

.cart-page-wrapper .cart-hero .container {
    display: flex !important;
    justify-content: center !important;
}

.cart-page-wrapper .cart-hero-inner {
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 760px !important;
    width: min(92%, 760px) !important;
    text-align: center !important;
    background: rgba(252, 248, 243, 0.92) !important;
    border: 1px solid rgba(229, 215, 199, 0.95) !important;
    border-radius: 28px !important;
    padding: 34px 30px !important;
    box-shadow: 0 24px 70px rgba(47, 33, 24, 0.22) !important;
    backdrop-filter: blur(10px) !important;
}

.cart-page-wrapper .cart-hero-inner h1,
.cart-page-wrapper .cart-hero-inner p {
    color: #2f2118 !important;
}

.cart-page-wrapper .cart-hero-inner h1 {
    font-size: clamp(2.15rem, 4vw, 4rem) !important;
    line-height: 1.02 !important;
    margin-bottom: 14px !important;
}

.cart-page-wrapper .cart-hero-inner p {
    max-width: 640px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    color: #7a6959 !important;
}

.cart-page-wrapper .empty-cart-card {
    width: min(94%, 820px) !important;
    margin: 0 auto !important;
    text-align: center !important;
    border-radius: 34px !important;
    padding: 54px 34px !important;
    background:
        radial-gradient(circle at top left, rgba(200, 155, 91, 0.18), transparent 32%),
        linear-gradient(180deg, #ffffff 0%, #fcf8f3 100%) !important;
    border: 1px solid #e5d7c7 !important;
    box-shadow: 0 26px 75px rgba(47, 33, 24, 0.13) !important;
}

.cart-page-wrapper .empty-cart-card h2 {
    color: #2f2118 !important;
    font-weight: 900 !important;
    letter-spacing: -0.04em !important;
    font-size: clamp(2rem, 4vw, 3.35rem) !important;
}

.cart-page-wrapper .empty-cart-card p {
    color: #7a6959 !important;
    font-size: 1.03rem !important;
    line-height: 1.75 !important;
}

.cart-page-wrapper .empty-cart-card .btn {
    min-width: 210px !important;
    min-height: 52px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.cart-summary-panel {
    display: flex !important;
    justify-content: center !important;
    align-items: flex-start !important;
}

.cart-summary-card {
    width: 100% !important;
    max-width: 450px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    border-radius: 30px !important;
    background:
        radial-gradient(circle at top right, rgba(200, 155, 91, 0.14), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #fcf8f3 100%) !important;
    border: 1px solid #e5d7c7 !important;
    box-shadow: 0 24px 65px rgba(47, 33, 24, 0.13) !important;
}

.quick-order-box {
    background: #ffffff !important;
    border: 1px solid #e5d7c7 !important;
    border-radius: 26px !important;
    padding: 24px !important;
    margin-top: 22px !important;
    box-shadow: 0 16px 42px rgba(47, 33, 24, 0.08) !important;
}

.quick-order-box h5 {
    text-align: center !important;
    font-size: 1.28rem !important;
    color: #2f2118 !important;
    font-weight: 900 !important;
    margin-bottom: 8px !important;
}

.quick-order-box p {
    text-align: center !important;
    color: #7a6959 !important;
    font-size: 0.94rem !important;
    line-height: 1.65 !important;
    margin-bottom: 18px !important;
}

.quick-order-box .form-control,
.quick-order-box .form-select {
    border-radius: 17px !important;
    border: 1px solid #e5d7c7 !important;
    background: #fcf8f3 !important;
}

.quick-order-box .form-control:focus,
.quick-order-box .form-select:focus {
    background: #ffffff !important;
    border-color: #8b5e34 !important;
    box-shadow: 0 0 0 0.18rem rgba(139, 94, 52, 0.14) !important;
}

.quick-order-box .payment-method-box {
    background: #fcf8f3 !important;
    border: 1px solid #e5d7c7 !important;
    border-radius: 24px !important;
    padding: 18px !important;
}

.quick-order-box .payment-method-box h6 {
    text-align: center !important;
    color: #2f2118 !important;
    font-weight: 900 !important;
}

.quick-order-box .payment-option-card {
    border-radius: 18px !important;
    background: #ffffff !important;
    border: 1px solid #e5d7c7 !important;
    transition: all 0.25s ease !important;
}

.quick-order-box .payment-option-card:hover {
    border-color: #8b5e34 !important;
    box-shadow: 0 12px 25px rgba(47, 33, 24, 0.08) !important;
    transform: translateY(-2px) !important;
}

.quick-order-box .btn-whatsapp {
    min-height: 56px !important;
    border-radius: 999px !important;
    font-weight: 900 !important;
    box-shadow: 0 16px 34px rgba(37, 211, 102, 0.24) !important;
}

.cart-currency-note {
    text-align: center !important;
    max-width: 390px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

@media (min-width: 992px) {
    .cart-summary-panel {
        position: sticky !important;
        top: 100px !important;
    }
}

@media (max-width: 991px) {
    .cart-page-wrapper .cart-hero-inner {
        width: min(94%, 680px) !important;
    }

    .cart-summary-card {
        max-width: 620px !important;
    }
}

@media (max-width: 575px) {
    .cart-page-wrapper .cart-hero {
        padding: 44px 0 !important;
    }

    .cart-page-wrapper .cart-hero-inner {
        width: 94% !important;
        border-radius: 24px !important;
        padding: 26px 20px !important;
    }

    .cart-page-wrapper .cart-hero-inner h1 {
        font-size: 2.1rem !important;
    }

    .cart-page-wrapper .empty-cart-card {
        width: 94% !important;
        padding: 34px 20px !important;
        border-radius: 26px !important;
    }

    .cart-summary-card {
        max-width: 100% !important;
        padding: 20px !important;
        border-radius: 24px !important;
    }

    .quick-order-box {
        padding: 18px !important;
        border-radius: 22px !important;
    }

    .quick-order-box h5 {
        font-size: 1.14rem !important;
    }
}

/* =========================================================
   MI AMOIRE ORDER SUCCESS CONGRATULATIONS FIREWORKS
   Shows a short celebration after a successful order
   ========================================================= */

.mi-order-celebration {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: rgba(47, 33, 24, 0.48);
    backdrop-filter: blur(4px);
    pointer-events: none;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.55s ease, visibility 0.55s ease;
}

.mi-order-celebration.hide {
    opacity: 0;
    visibility: hidden;
}

.mi-order-celebration-card {
    position: relative;
    width: min(92vw, 460px);
    text-align: center;
    background:
        radial-gradient(circle at top left, rgba(200, 155, 91, 0.25), transparent 32%),
        linear-gradient(180deg, #ffffff 0%, #fcf8f3 100%);
    border: 1px solid #e5d7c7;
    border-radius: 34px;
    padding: 34px 26px;
    box-shadow: 0 30px 90px rgba(47, 33, 24, 0.32);
    overflow: hidden;
    animation: miCelebrationCardIn 0.65s ease both;
}

.mi-order-celebration-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #25d366;
    color: #ffffff;
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 16px;
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.30);
    animation: miCelebrationPulse 1.2s ease-in-out infinite;
}

.mi-order-celebration-card h2 {
    color: #2f2118;
    font-weight: 900;
    font-size: clamp(1.7rem, 4vw, 2.35rem);
    line-height: 1.08;
    margin: 0 0 10px;
}

.mi-order-celebration-card p {
    color: #7a6959;
    line-height: 1.65;
    margin: 0 auto;
    max-width: 330px;
}

.mi-firework-dot {
    position: absolute;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #c89b5b;
    opacity: 0;
    animation: miFireworkPop 1.15s ease-out infinite;
}

.mi-firework-dot:nth-child(1) { left: 12%; top: 18%; animation-delay: 0s; background: #c89b5b; }
.mi-firework-dot:nth-child(2) { left: 24%; top: 10%; animation-delay: 0.12s; background: #8b5e34; }
.mi-firework-dot:nth-child(3) { right: 14%; top: 18%; animation-delay: 0.22s; background: #25d366; }
.mi-firework-dot:nth-child(4) { right: 26%; top: 11%; animation-delay: 0.32s; background: #d7a843; }
.mi-firework-dot:nth-child(5) { left: 14%; bottom: 20%; animation-delay: 0.42s; background: #2f8f57; }
.mi-firework-dot:nth-child(6) { right: 15%; bottom: 18%; animation-delay: 0.52s; background: #c89b5b; }
.mi-firework-dot:nth-child(7) { left: 47%; top: 6%; animation-delay: 0.62s; background: #8b5e34; }
.mi-firework-dot:nth-child(8) { left: 48%; bottom: 7%; animation-delay: 0.72s; background: #25d366; }

@keyframes miCelebrationCardIn {
    from {
        opacity: 0;
        transform: translateY(24px) scale(0.94);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes miCelebrationPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 12px 28px rgba(37, 211, 102, 0.30);
    }
    50% {
        transform: scale(1.08);
        box-shadow: 0 18px 38px rgba(37, 211, 102, 0.38);
    }
}

@keyframes miFireworkPop {
    0% {
        opacity: 0;
        transform: scale(0.2) translateY(0);
    }
    35% {
        opacity: 1;
        transform: scale(1.5) translateY(-12px);
    }
    100% {
        opacity: 0;
        transform: scale(0.2) translateY(-28px);
    }
}

@media (max-width: 575px) {
    .mi-order-celebration-card {
        border-radius: 28px;
        padding: 30px 20px;
    }

    .mi-order-celebration-icon {
        width: 62px;
        height: 62px;
        font-size: 1.7rem;
    }
}



/* =========================================================
   MI AMOIRE HEADER SEARCH + BASKET FORMAT FINAL FIX
   Removes separate 0 circle and uses Search | BASKET(0) Bag | Menu lines
   ========================================================= */

.public-header-actions {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    flex-wrap: nowrap !important;
}

.header-search-toggle,
.header-basket-action,
.mi-menu-lines-button {
    height: 54px !important;
    border: none !important;
    background: transparent !important;
    color: #2f2118 !important;
    border-radius: 0 !important;
    padding: 0 12px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    font-weight: 500 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    box-shadow: none !important;
    cursor: pointer !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

.header-search-toggle {
    border-right: 1px solid rgba(47, 33, 24, 0.35) !important;
}

.header-search-icon,
.header-basket-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #2f2118 !important;
}

.header-search-icon svg,
.header-basket-icon svg {
    width: 30px !important;
    height: 30px !important;
    display: block !important;
}

.header-search-text {
    display: none !important;
}

.header-basket-text {
    color: #2f2118 !important;
    font-size: 1.04rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    line-height: 1 !important;
}

.header-basket-action {
    border-right: 1px solid rgba(47, 33, 24, 0.35) !important;
}

.header-basket-action:hover,
.header-basket-action.active,
.header-search-toggle:hover,
.mi-menu-lines-button:hover {
    color: #8b5e34 !important;
    background: transparent !important;
    text-decoration: none !important;
}

.header-basket-action:hover .header-basket-text,
.header-basket-action.active .header-basket-text,
.header-basket-action:hover .header-basket-icon,
.header-basket-action.active .header-basket-icon,
.header-search-toggle:hover .header-search-icon,
.mi-menu-lines-button:hover span {
    color: #8b5e34 !important;
    border-color: #8b5e34 !important;
}

.mi-menu-lines-button {
    width: 72px !important;
    min-width: 72px !important;
    height: 54px !important;
    padding: 0 6px !important;
    flex-direction: column !important;
    gap: 7px !important;
    background: #f2f0ee !important;
    border-radius: 0 !important;
}

.mi-menu-lines-button span {
    display: block !important;
    width: 42px !important;
    height: 2px !important;
    background: #2f2118 !important;
    border-radius: 999px !important;
    transition: all 0.25s ease !important;
}

body.mobile-menu-open .mi-menu-lines-button span:nth-child(1) {
    transform: translateY(9px) rotate(45deg) !important;
}

body.mobile-menu-open .mi-menu-lines-button span:nth-child(2) {
    opacity: 0 !important;
}

body.mobile-menu-open .mi-menu-lines-button span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg) !important;
}

/* Hide old round cart counter style if any old markup remains */
.header-cart-link .cart-count,
.cart-count:only-child {
    border-radius: 0 !important;
}

/* Header search dropdown */
.mi-header-search-form {
    position: absolute !important;
    right: 0 !important;
    top: calc(100% + 14px) !important;
    width: min(92vw, 430px) !important;
    display: none !important;
    align-items: stretch !important;
    background: #ffffff !important;
    border: 1px solid #e5d7c7 !important;
    border-radius: 999px !important;
    box-shadow: 0 18px 45px rgba(47, 33, 24, 0.16) !important;
    overflow: hidden !important;
    z-index: 999999 !important;
}

body.mi-header-search-open .mi-header-search-form {
    display: flex !important;
}

.mi-header-search-form input {
    flex: 1 !important;
    border: none !important;
    outline: none !important;
    background: #ffffff !important;
    color: #2f2118 !important;
    padding: 14px 18px !important;
    min-width: 0 !important;
    font-size: 0.95rem !important;
    text-transform: none !important;
}

.mi-header-search-form button {
    border: none !important;
    background: #8b5e34 !important;
    color: #ffffff !important;
    padding: 0 22px !important;
    font-weight: 900 !important;
    cursor: pointer !important;
}

/* Keep header clean like the reference */
.header-cart-link.header-basket-link {
    display: none !important;
}

@media (min-width: 992px) {
    .mi-menu-lines-button {
        display: inline-flex !important;
    }
}

@media (max-width: 1199px) {
    .header-basket-text {
        font-size: 0.95rem !important;
    }

    .header-whatsapp,
    .header-admin-link {
        display: none !important;
    }
}

@media (max-width: 991px) {
    .public-header-actions {
        margin-left: auto !important;
        gap: 8px !important;
    }

    .header-search-toggle,
    .header-basket-action,
    .mi-menu-lines-button {
        height: 48px !important;
        padding: 0 8px !important;
    }

    .header-search-icon svg,
    .header-basket-icon svg {
        width: 25px !important;
        height: 25px !important;
    }

    .header-basket-text {
        font-size: 0.82rem !important;
        letter-spacing: 0.04em !important;
    }

    .mi-menu-lines-button {
        width: 58px !important;
        min-width: 58px !important;
        height: 48px !important;
    }

    .mi-menu-lines-button span {
        width: 32px !important;
    }
}

@media (max-width: 575px) {
    .public-header-inner {
        gap: 8px !important;
    }

    .public-logo-img {
        width: 42px !important;
        height: 42px !important;
        flex-basis: 42px !important;
    }

    .public-logo-text .logo-main {
        font-size: 1.18rem !important;
    }

    .header-search-toggle {
        padding-left: 4px !important;
        padding-right: 7px !important;
    }

    .header-basket-action {
        gap: 5px !important;
        padding-left: 6px !important;
        padding-right: 7px !important;
    }

    .header-basket-text {
        font-size: 0.72rem !important;
        letter-spacing: 0.02em !important;
    }

    .header-basket-icon svg,
    .header-search-icon svg {
        width: 22px !important;
        height: 22px !important;
    }

    .mi-menu-lines-button {
        width: 48px !important;
        min-width: 48px !important;
    }

    .mi-menu-lines-button span {
        width: 28px !important;
    }

    .mi-header-search-form {
        right: -4px !important;
        top: calc(100% + 10px) !important;
        width: calc(100vw - 24px) !important;
        border-radius: 18px !important;
    }

    .mi-header-search-form input {
        padding: 13px 14px !important;
    }

    .mi-header-search-form button {
        padding: 0 15px !important;
    }
}



/* =========================================================
   MI AMOIRE HEADER BASKET ICON ONLY FINAL FIX
   Replaces BASKET(0) text with a clean basket icon + small count
   ========================================================= */

.header-basket-action {
    position: relative !important;
    width: 64px !important;
    min-width: 64px !important;
    height: 54px !important;
    padding: 0 12px !important;
    border-right: 1px solid rgba(47, 33, 24, 0.35) !important;
    border-left: none !important;
    border-top: none !important;
    border-bottom: none !important;
    background: transparent !important;
    color: #2f2118 !important;
    border-radius: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    box-shadow: none !important;
    cursor: pointer !important;
}

.header-basket-action:hover,
.header-basket-action.active {
    background: transparent !important;
    color: #8b5e34 !important;
    text-decoration: none !important;
}

.header-basket-text {
    display: none !important;
}

.header-basket-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: currentColor !important;
    width: 36px !important;
    height: 36px !important;
}

.header-basket-icon svg {
    width: 34px !important;
    height: 34px !important;
    display: block !important;
}

.header-basket-count {
    position: absolute !important;
    top: 4px !important;
    right: 5px !important;
    min-width: 20px !important;
    height: 20px !important;
    padding: 0 6px !important;
    border-radius: 999px !important;
    background: #8b5e34 !important;
    color: #ffffff !important;
    border: 2px solid #fcf8f3 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.68rem !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
}

.header-basket-action:hover .header-basket-count,
.header-basket-action.active .header-basket-count {
    background: #6f4a27 !important;
}

@media (max-width: 991px) {
    .header-basket-action {
        width: 56px !important;
        min-width: 56px !important;
        height: 48px !important;
        padding: 0 8px !important;
    }

    .header-basket-icon,
    .header-basket-icon svg {
        width: 28px !important;
        height: 28px !important;
    }

    .header-basket-count {
        top: 3px !important;
        right: 2px !important;
        min-width: 18px !important;
        height: 18px !important;
        font-size: 0.62rem !important;
        border-width: 2px !important;
    }
}

@media (max-width: 575px) {
    .header-basket-action {
        width: 48px !important;
        min-width: 48px !important;
        padding: 0 5px !important;
    }

    .header-basket-icon,
    .header-basket-icon svg {
        width: 25px !important;
        height: 25px !important;
    }

    .header-basket-count {
        top: 2px !important;
        right: 0 !important;
    }
}

/* =========================================================
   MI AMOIRE HOME PAGE CLEAN MOBILE FLOW
   Removes the marked search/category/deal block and brings products closer
   ========================================================= */

.home-search-area,
.mi-quick-shop-strip,
.mi-season-offer-section {
    display: none !important;
}

.home-page-wrapper .boutique-products-section {
    padding-top: 48px !important;
}

@media (max-width: 767px) {
    .home-page-wrapper .boutique-products-section {
        padding-top: 28px !important;
        padding-bottom: 36px !important;
    }

    .home-page-wrapper .section-row-heading {
        margin-bottom: 20px !important;
    }
}

/* =========================================================
   MI AMOIRE HOME PRODUCT SLIDER
   Turns Latest Products into a clean swipeable product slider
   ========================================================= */

.mi-product-slider-section {
    overflow: hidden;
}

.mi-product-slider-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.mi-product-slider-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #e5d7c7;
    background: #ffffff;
    color: #2f2118;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    line-height: 1;
    font-weight: 400;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(47, 33, 24, 0.08);
    transition: all 0.25s ease;
}

.mi-product-slider-btn:hover {
    background: #8b5e34;
    border-color: #8b5e34;
    color: #ffffff;
    transform: translateY(-2px);
}

.mi-product-slider-wrap {
    position: relative;
    width: 100%;
}

.mi-product-slider-track {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 4px 4px 18px;
    -webkit-overflow-scrolling: touch;
}

.mi-product-slider-track::-webkit-scrollbar {
    height: 8px;
}

.mi-product-slider-track::-webkit-scrollbar-track {
    background: #f8f2e9;
    border-radius: 999px;
}

.mi-product-slider-track::-webkit-scrollbar-thumb {
    background: #c89b5b;
    border-radius: 999px;
}

.mi-product-slide-item {
    flex: 0 0 calc(25% - 14px);
    min-width: 260px;
    scroll-snap-align: start;
}

.mi-product-slide-item .product-card {
    height: 100%;
}

@media (max-width: 1199px) {
    .mi-product-slide-item {
        flex-basis: calc(33.333% - 12px);
    }
}

@media (max-width: 991px) {
    .mi-product-slide-item {
        flex-basis: calc(50% - 10px);
        min-width: 240px;
    }
}

@media (max-width: 575px) {
    .mi-product-slider-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .mi-product-slider-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .mi-product-slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1.7rem;
    }

    .mi-product-slide-item {
        flex-basis: 82%;
        min-width: 82%;
    }
}

/* =========================================================
   MI AMOIRE HOME PAGE ALIGNMENT + SAFE PRODUCT SLIDER FIX
   Fixes wide overflow and keeps products aligned on phone/desktop
   ========================================================= */

.home-page-wrapper,
.boutique-products-section,
.boutique-trending-section,
.boutique-deals-section,
.boutique-category-showcase,
.boutique-bottom-services {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
}

.boutique-products-section {
    padding-top: 44px !important;
    padding-bottom: 44px !important;
}

/* Keep heading/buttons balanced */
.boutique-products-section .section-row-heading {
    align-items: center !important;
    margin-bottom: 22px !important;
}

.mi-product-slider-actions {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
}

/* Main slider window */
.mi-product-slider-wrap {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    position: relative !important;
    padding: 4px 0 10px !important;
}

/* Sliding rail */
.mi-product-slider-track {
    display: flex !important;
    align-items: stretch !important;
    gap: 18px !important;
    width: max-content !important;
    max-width: none !important;
    overflow: visible !important;
    scroll-snap-type: none !important;
    padding: 4px 0 12px !important;
}

/* Auto movement from right to left */
.mi-auto-product-slider-track {
    animation: miProductsMoveLeft 42s linear infinite !important;
    will-change: transform !important;
}

.mi-product-slider-wrap:hover .mi-auto-product-slider-track {
    animation-play-state: paused !important;
}

/* Fixed slide sizes prevent page stretching/misalignment */
.mi-product-slide-item {
    flex: 0 0 270px !important;
    width: 270px !important;
    min-width: 270px !important;
    max-width: 270px !important;
    scroll-snap-align: none !important;
}

.mi-product-slide-item .product-card {
    height: 100% !important;
    width: 100% !important;
}

.mi-product-slide-item .product-image-box {
    aspect-ratio: 4 / 5 !important;
}

@keyframes miProductsMoveLeft {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

/* Nice arrow buttons */
.mi-product-slider-btn {
    width: 42px !important;
    height: 42px !important;
    border-radius: 50% !important;
    border: 1px solid #e5d7c7 !important;
    background: #ffffff !important;
    color: #2f2118 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.8rem !important;
    line-height: 1 !important;
    cursor: pointer !important;
    box-shadow: 0 10px 24px rgba(47, 33, 24, 0.08) !important;
}

.mi-product-slider-btn:hover {
    background: #8b5e34 !important;
    border-color: #8b5e34 !important;
    color: #ffffff !important;
}

/* Hide slider scrollbar */
.mi-product-slider-track::-webkit-scrollbar {
    display: none !important;
}

.mi-product-slider-track {
    scrollbar-width: none !important;
}

/* Trending and deal sections should remain normal grid */
.boutique-trending-section .row,
.boutique-deals-section .row {
    align-items: stretch !important;
}

/* Phone alignment */
@media (max-width: 767px) {
    .boutique-products-section,
    .boutique-trending-section,
    .boutique-deals-section,
    .boutique-category-showcase,
    .boutique-bottom-services {
        padding-top: 34px !important;
        padding-bottom: 34px !important;
    }

    .boutique-products-section .section-row-heading {
        align-items: flex-start !important;
        gap: 12px !important;
    }

    .mi-product-slider-actions {
        width: 100% !important;
    }

    .mi-product-slider-actions .btn {
        width: 100% !important;
        justify-content: center !important;
    }

    .mi-product-slide-item {
        flex-basis: 235px !important;
        width: 235px !important;
        min-width: 235px !important;
        max-width: 235px !important;
    }

    .mi-auto-product-slider-track {
        animation-duration: 34s !important;
    }

    .mi-product-slide-item .product-card h5 {
        min-height: auto !important;
        font-size: 0.95rem !important;
    }

    .mi-product-slide-item .product-card .card-body {
        padding: 14px !important;
    }
}

@media (max-width: 420px) {
    .mi-product-slide-item {
        flex-basis: 218px !important;
        width: 218px !important;
        min-width: 218px !important;
        max-width: 218px !important;
    }
}

/* Respect reduced motion and keep manual swipe */
@media (prefers-reduced-motion: reduce) {
    .mi-auto-product-slider-track {
        animation: none !important;
        transform: none !important;
    }

    .mi-product-slider-wrap {
        overflow-x: auto !important;
    }

    .mi-product-slider-track {
        width: max-content !important;
    }
}

/* =========================================================
   MI AMOIRE PRODUCT SLIDER ARROW ICON FIX
   Replaces broken question mark arrows with clean SVG arrows
   ========================================================= */

.mi-product-slider-btn {
    font-size: 0 !important;
}

.mi-product-slider-btn svg {
    width: 22px !important;
    height: 22px !important;
    display: block !important;
    color: currentColor !important;
}

@media (max-width: 767px) {
    .mi-product-slider-btn svg {
        width: 20px !important;
        height: 20px !important;
    }
}

/* =========================================================
   MI AMOIRE SHOP PAGE PRODUCT SLIDER
   Adds a clean product slider on shop.php
   ========================================================= */

.shop-product-slider-section {
    padding-top: 46px !important;
    padding-bottom: 20px !important;
    overflow: hidden !important;
}

.shop-slider-heading {
    display: flex !important;
    align-items: end !important;
    justify-content: space-between !important;
    gap: 18px !important;
    flex-wrap: wrap !important;
    margin-bottom: 22px !important;
}

.shop-slider-heading h2 {
    font-weight: 900 !important;
    color: #2f2118 !important;
    margin-bottom: 6px !important;
}

.shop-slider-heading p {
    color: #7a6959 !important;
    margin-bottom: 0 !important;
}

.shop-slider-actions {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.shop-slider-btn {
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    border: 1px solid #e5d7c7 !important;
    background: #ffffff !important;
    color: #2f2118 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    box-shadow: 0 10px 24px rgba(47, 33, 24, 0.08) !important;
    transition: all 0.25s ease !important;
}

.shop-slider-btn:hover {
    background: #8b5e34 !important;
    border-color: #8b5e34 !important;
    color: #ffffff !important;
}

.shop-slider-btn svg {
    width: 22px !important;
    height: 22px !important;
    display: block !important;
}

.shop-product-slider-wrap {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    position: relative !important;
    padding: 4px 0 12px !important;
}

.shop-product-slider-track {
    display: flex !important;
    align-items: stretch !important;
    gap: 18px !important;
    width: max-content !important;
    max-width: none !important;
    overflow: visible !important;
    padding: 4px 0 14px !important;
    animation: miShopProductsMoveLeft 45s linear infinite !important;
    will-change: transform !important;
}

.shop-product-slider-wrap:hover .shop-product-slider-track,
.shop-product-slider-track.shop-slider-paused {
    animation-play-state: paused !important;
}

.shop-product-slide-item {
    flex: 0 0 270px !important;
    width: 270px !important;
    min-width: 270px !important;
    max-width: 270px !important;
}

.shop-product-slide-item .product-card {
    width: 100% !important;
    height: 100% !important;
}

.shop-product-slide-item .product-image-box {
    aspect-ratio: 4 / 5 !important;
}

@keyframes miShopProductsMoveLeft {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

.shop-product-slider-track::-webkit-scrollbar {
    display: none !important;
}

.shop-product-slider-track {
    scrollbar-width: none !important;
}

@media (max-width: 767px) {
    .shop-product-slider-section {
        padding-top: 34px !important;
        padding-bottom: 10px !important;
    }

    .shop-slider-heading {
        align-items: flex-start !important;
    }

    .shop-slider-actions {
        width: 100% !important;
    }

    .shop-product-slide-item {
        flex-basis: 235px !important;
        width: 235px !important;
        min-width: 235px !important;
        max-width: 235px !important;
    }

    .shop-product-slider-track {
        animation-duration: 36s !important;
    }

    .shop-product-slide-item .product-card h5 {
        min-height: auto !important;
        font-size: 0.95rem !important;
    }

    .shop-product-slide-item .product-card .card-body {
        padding: 14px !important;
    }
}

@media (max-width: 420px) {
    .shop-product-slide-item {
        flex-basis: 218px !important;
        width: 218px !important;
        min-width: 218px !important;
        max-width: 218px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .shop-product-slider-track {
        animation: none !important;
        transform: none !important;
        overflow-x: auto !important;
    }

    .shop-product-slider-wrap {
        overflow-x: auto !important;
    }
}

/* =========================================================
   MI AMOIRE SHOP PAGE ALL PRODUCT SECTIONS LOOP
   Makes the main product list slide in a continuous loop too
   ========================================================= */

.shop-products-area {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
}

.shop-main-products-slider-wrap {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    position: relative !important;
    padding: 4px 0 16px !important;
}

.shop-main-products-slider-track {
    display: flex !important;
    align-items: stretch !important;
    gap: 18px !important;
    width: max-content !important;
    max-width: none !important;
    overflow: visible !important;
    padding: 4px 0 14px !important;
    animation: miShopMainProductsMoveLeft 52s linear infinite !important;
    will-change: transform !important;
}

.shop-main-products-slider-wrap:hover .shop-main-products-slider-track {
    animation-play-state: paused !important;
}

.shop-main-product-slide-item {
    flex: 0 0 270px !important;
    width: 270px !important;
    min-width: 270px !important;
    max-width: 270px !important;
}

.shop-main-product-slide-item .product-card {
    width: 100% !important;
    height: 100% !important;
}

.shop-main-product-slide-item .product-image-box {
    aspect-ratio: 4 / 5 !important;
}

@keyframes miShopMainProductsMoveLeft {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

.shop-main-products-slider-track::-webkit-scrollbar {
    display: none !important;
}

.shop-main-products-slider-track {
    scrollbar-width: none !important;
}

@media (max-width: 767px) {
    .shop-main-product-slide-item {
        flex-basis: 235px !important;
        width: 235px !important;
        min-width: 235px !important;
        max-width: 235px !important;
    }

    .shop-main-products-slider-track {
        animation-duration: 40s !important;
    }

    .shop-main-product-slide-item .product-card h5 {
        min-height: auto !important;
        font-size: 0.95rem !important;
    }

    .shop-main-product-slide-item .product-card .card-body {
        padding: 14px !important;
    }
}

@media (max-width: 420px) {
    .shop-main-product-slide-item {
        flex-basis: 218px !important;
        width: 218px !important;
        min-width: 218px !important;
        max-width: 218px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .shop-main-products-slider-track {
        animation: none !important;
        transform: none !important;
        overflow-x: auto !important;
    }

    .shop-main-products-slider-wrap {
        overflow-x: auto !important;
    }
}

/* =========================================================
   MI AMOIRE MANUAL + AUTO LOOP SLIDER FIX
   Lets sliders move automatically while customers can drag/swipe
   ========================================================= */

.mi-product-slider-wrap,
.shop-product-slider-wrap,
.shop-main-products-slider-wrap {
    overflow: hidden !important;
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
}

.mi-product-slider-track,
.shop-product-slider-track,
.shop-main-products-slider-track {
    animation: none !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-behavior: smooth !important;
    -webkit-overflow-scrolling: touch !important;
    cursor: grab !important;
    scrollbar-width: none !important;
}

.mi-product-slider-track:active,
.shop-product-slider-track:active,
.shop-main-products-slider-track:active {
    cursor: grabbing !important;
}

.mi-product-slider-track::-webkit-scrollbar,
.shop-product-slider-track::-webkit-scrollbar,
.shop-main-products-slider-track::-webkit-scrollbar {
    display: none !important;
}

/* Keep cards in a proper horizontal row while allowing manual scrolling */
.mi-product-slide-item,
.shop-product-slide-item,
.shop-main-product-slide-item {
    flex-shrink: 0 !important;
}

/* Keep automatic/manual sliders tidy on mobile */
@media (max-width: 767px) {
    .mi-product-slider-track,
    .shop-product-slider-track,
    .shop-main-products-slider-track {
        scroll-snap-type: x proximity !important;
    }

    .mi-product-slide-item,
    .shop-product-slide-item,
    .shop-main-product-slide-item {
        scroll-snap-align: start !important;
    }
}

/* =========================================================
   MI AMOIRE HOME ALL PRODUCT SECTIONS AUTO + MANUAL SLIDERS
   Makes Latest, Trending, and Deals move automatically and swipe manually
   ========================================================= */

.mi-home-product-loop-section {
    overflow: hidden !important;
}

.mi-home-loop-actions {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
}

.mi-home-loop-btn {
    width: 42px !important;
    height: 42px !important;
    border-radius: 50% !important;
    border: 1px solid #e5d7c7 !important;
    background: #ffffff !important;
    color: #2f2118 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    box-shadow: 0 10px 24px rgba(47, 33, 24, 0.08) !important;
    transition: all 0.25s ease !important;
}

.mi-home-loop-btn:hover {
    background: #8b5e34 !important;
    border-color: #8b5e34 !important;
    color: #ffffff !important;
}

.mi-home-loop-btn svg {
    width: 22px !important;
    height: 22px !important;
    display: block !important;
}

.mi-home-trending-slider-wrap,
.mi-home-deals-slider-wrap {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    position: relative !important;
    padding: 4px 0 16px !important;
}

.mi-home-trending-slider-track,
.mi-home-deals-slider-track {
    display: flex !important;
    align-items: stretch !important;
    gap: 18px !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-behavior: smooth !important;
    -webkit-overflow-scrolling: touch !important;
    cursor: grab !important;
    scrollbar-width: none !important;
    padding: 4px 0 14px !important;
}

.mi-home-trending-slider-track:active,
.mi-home-deals-slider-track:active {
    cursor: grabbing !important;
}

.mi-home-trending-slider-track::-webkit-scrollbar,
.mi-home-deals-slider-track::-webkit-scrollbar {
    display: none !important;
}

.mi-home-trending-slide-item,
.mi-home-deals-slide-item {
    flex: 0 0 270px !important;
    width: 270px !important;
    min-width: 270px !important;
    max-width: 270px !important;
    scroll-snap-align: start !important;
}

.mi-home-trending-slide-item .product-card,
.mi-home-deals-slide-item .product-card {
    width: 100% !important;
    height: 100% !important;
}

.mi-home-trending-slide-item .product-image-box,
.mi-home-deals-slide-item .product-image-box {
    aspect-ratio: 4 / 5 !important;
}

@media (max-width: 767px) {
    .mi-home-loop-actions {
        width: 100% !important;
    }

    .mi-home-loop-actions .btn {
        width: 100% !important;
        justify-content: center !important;
    }

    .mi-home-trending-slider-track,
    .mi-home-deals-slider-track {
        scroll-snap-type: x proximity !important;
    }

    .mi-home-trending-slide-item,
    .mi-home-deals-slide-item {
        flex-basis: 235px !important;
        width: 235px !important;
        min-width: 235px !important;
        max-width: 235px !important;
    }

    .mi-home-trending-slide-item .product-card h5,
    .mi-home-deals-slide-item .product-card h5 {
        min-height: auto !important;
        font-size: 0.95rem !important;
    }

    .mi-home-trending-slide-item .product-card .card-body,
    .mi-home-deals-slide-item .product-card .card-body {
        padding: 14px !important;
    }
}

@media (max-width: 420px) {
    .mi-home-trending-slide-item,
    .mi-home-deals-slide-item {
        flex-basis: 218px !important;
        width: 218px !important;
        min-width: 218px !important;
        max-width: 218px !important;
    }
}

/* =========================================================
   MI AMOIRE ADMIN MENU BUTTON VISIBILITY FIX
   Keeps Admin / POS visible on desktop, tablet, and phone
   ========================================================= */

.public-header-actions .header-admin-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
    visibility: visible !important;
    opacity: 1 !important;
}

@media (max-width: 1199px) {
    .public-header-actions .header-admin-link {
        display: inline-flex !important;
        padding: 10px 12px !important;
        font-size: 0.82rem !important;
    }
}

@media (max-width: 767px) {
    .public-header-actions .header-admin-link {
        padding: 9px 10px !important;
        font-size: 0.78rem !important;
        min-height: 42px !important;
    }
}

@media (max-width: 575px) {
    .public-header-actions .header-admin-link {
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        padding: 0 !important;
        border-radius: 50% !important;
        font-size: 0 !important;
        position: relative !important;
    }

    .public-header-actions .header-admin-link::before {
        content: "POS" !important;
        font-size: 0.72rem !important;
        font-weight: 900 !important;
        letter-spacing: 0.02em !important;
        line-height: 1 !important;
    }
}

/* =========================================================
   MI AMOIRE HEADER OVERFLOW FINAL FIX
   Keeps Admin / POS visible and prevents right-side cutoff
   ========================================================= */

.public-main-header,
.public-main-header * {
    box-sizing: border-box !important;
}

.public-main-header .container {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
}

.public-header-inner {
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    overflow: visible !important;
}

.public-nav {
    min-width: 0 !important;
    flex: 1 1 auto !important;
    gap: 16px !important;
}

.public-nav a {
    white-space: nowrap !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
}

.public-header-actions {
    flex: 0 0 auto !important;
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
    margin-left: 10px !important;
    min-width: 0 !important;
    max-width: none !important;
}

.header-search-toggle,
.header-basket-action,
.currency-button,
.header-whatsapp,
.header-admin-link,
.mobile-menu-button {
    flex: 0 0 auto !important;
}

@media (max-width: 1399px) {
    .public-logo-with-image {
        min-width: 210px !important;
    }

    .logo-main {
        font-size: 1.7rem !important;
    }

    .logo-sub {
        font-size: 0.62rem !important;
        letter-spacing: 0.18em !important;
    }

    .public-nav {
        gap: 12px !important;
    }

    .public-nav a {
        font-size: 0.9rem !important;
        padding-left: 6px !important;
        padding-right: 6px !important;
    }

    .header-whatsapp {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .header-admin-link {
        display: inline-flex !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
        font-size: 0.85rem !important;
    }
}

@media (max-width: 1240px) {
    .public-logo-with-image {
        min-width: 190px !important;
    }

    .logo-main {
        font-size: 1.55rem !important;
    }

    .logo-sub {
        font-size: 0.55rem !important;
        letter-spacing: 0.14em !important;
    }

    .public-nav {
        gap: 8px !important;
    }

    .public-nav a {
        font-size: 0.84rem !important;
    }

    .header-whatsapp {
        font-size: 0 !important;
        width: 46px !important;
        height: 46px !important;
        padding: 0 !important;
        border-radius: 50% !important;
        position: relative !important;
    }

    .header-whatsapp::before {
        content: "WA" !important;
        font-size: 0.75rem !important;
        font-weight: 900 !important;
    }

    .header-admin-link {
        display: inline-flex !important;
        font-size: 0 !important;
        width: 54px !important;
        height: 46px !important;
        min-width: 54px !important;
        padding: 0 !important;
        border-radius: 999px !important;
        position: relative !important;
    }

    .header-admin-link::before {
        content: "POS" !important;
        font-size: 0.75rem !important;
        font-weight: 900 !important;
        letter-spacing: 0.02em !important;
    }
}

@media (max-width: 991px) {
    .public-main-header .container {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    .public-header-actions {
        margin-left: auto !important;
        gap: 8px !important;
    }
}

