/* XNL Shop — UI enhancements (works with style.css theme) */
:root {
    --xnl-primary: #D19C97;
    --xnl-primary-dark: #b87f7a;
    --xnl-secondary: #EDF1FF;
    --xnl-dark: #1C1C1C;
    --xnl-muted: #6F6F6F;
    --xnl-radius: 12px;
    --xnl-shadow: 0 8px 30px rgba(28, 28, 28, 0.08);
    --xnl-shadow-sm: 0 2px 12px rgba(28, 28, 28, 0.06);
}

body {
    color: var(--xnl-muted);
    background-color: #fafbfc;
}

a {
    transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
    color: var(--xnl-primary-dark);
    text-decoration: none;
}

/* ----- Page hero (replaces flat gray blocks) ----- */
.page-hero,
.container-fluid.bg-secondary.mb-5:has(.d-flex.flex-column) {
    background: linear-gradient(135deg, var(--xnl-secondary) 0%, #fdf6f5 55%, #fff 100%) !important;
    border-bottom: 1px solid rgba(209, 156, 151, 0.25);
    margin-bottom: 0 !important;
}

.page-hero .container,
.container-fluid.bg-secondary.mb-5 .d-flex.flex-column {
    min-height: 140px !important;
}

.page-hero__title,
.container-fluid.bg-secondary.mb-5 h1 {
    color: var(--xnl-dark);
    font-weight: 600;
    letter-spacing: 0.02em;
    font-size: 1.75rem;
}

.page-hero__breadcrumb,
.container-fluid.bg-secondary.mb-5 .d-inline-flex {
    font-size: 0.9rem;
    color: var(--xnl-muted);
}

.page-hero__breadcrumb a,
.container-fluid.bg-secondary.mb-5 .d-inline-flex a {
    color: var(--xnl-primary-dark);
    font-weight: 500;
}

.page-hero__breadcrumb .sep,
.container-fluid.bg-secondary.mb-5 .d-inline-flex .px-2 {
    color: #ccc;
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
}

.page-hero__breadcrumb .current {
    color: var(--xnl-dark);
    font-weight: 600;
}

/* ----- Cards & panels ----- */
.card.border-secondary,
.card {
    border: none !important;
    border-radius: var(--xnl-radius) !important;
    box-shadow: var(--xnl-shadow-sm);
    overflow: hidden;
}

.card-header.bg-secondary {
    background: linear-gradient(90deg, var(--xnl-secondary), #fff) !important;
    border-bottom: 1px solid rgba(209, 156, 151, 0.15) !important;
    padding: 1rem 1.25rem;
}

.card-header h4,
.card-header h5 {
    color: var(--xnl-dark);
    font-weight: 600;
}

/* ----- Buttons ----- */
.btn-primary {
    background-color: var(--xnl-primary);
    border-color: var(--xnl-primary);
    border-radius: 8px;
    font-weight: 500;
    padding: 0.5rem 1.25rem;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--xnl-primary-dark);
    border-color: var(--xnl-primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(209, 156, 151, 0.45);
}

.btn-outline-primary {
    color: var(--xnl-primary-dark);
    border-color: var(--xnl-primary);
    border-radius: 8px;
}

.btn-outline-primary:hover {
    background-color: var(--xnl-primary);
    border-color: var(--xnl-primary);
}

/* ----- Forms ----- */
.form-control {
    border-radius: 8px;
    border-color: #e8e8e8;
    padding: 0.55rem 0.85rem;
}

.form-control:focus {
    border-color: var(--xnl-primary);
    box-shadow: 0 0 0 0.2rem rgba(209, 156, 151, 0.25);
}

/* ----- Tables ----- */
.table thead.bg-secondary {
    background: var(--xnl-secondary) !important;
}

.table thead.bg-secondary th {
    color: var(--xnl-dark) !important;
    font-weight: 600;
    border: none !important;
    white-space: nowrap;
}

.table-bordered td,
.table-bordered th {
    border-color: #f0f0f0;
    vertical-align: middle;
}

.table-hover tbody tr:hover {
    background-color: #fdf8f7;
}

/* ----- Alerts (toast-like) ----- */
.xnl-alerts {
    max-width: 1140px;
    margin: 1rem auto 0;
    padding: 0 15px;
}

.xnl-alerts .alert {
    border: none;
    border-radius: var(--xnl-radius);
    box-shadow: var(--xnl-shadow-sm);
    border-left: 4px solid;
}

.xnl-alerts .alert-success {
    border-left-color: #28a745;
    background: #f0fff4;
}

.xnl-alerts .alert-danger {
    border-left-color: #dc3545;
    background: #fff5f5;
}

.xnl-alerts .alert-info {
    border-left-color: #17a2b8;
    background: #f0f9ff;
}

/* ----- Topbar strip links ----- */
.topbar-strip {
    background: linear-gradient(90deg, #f3f6ff 0%, #faf0ee 100%) !important;
    border-bottom: 1px solid rgba(209, 156, 151, 0.2);
}

.topbar-links {
    gap: 0.35rem;
}

.topbar-links a {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.85rem;
    margin-right: 0.35rem;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--xnl-dark) !important;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(209, 156, 151, 0.25);
    box-shadow: 0 1px 4px rgba(28, 28, 28, 0.05);
    transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.topbar-links a:hover {
    background: var(--xnl-primary);
    color: #fff !important;
    border-color: var(--xnl-primary);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(209, 156, 151, 0.35);
}

.topbar-strip .text-dark.px-2 {
    transition: color 0.2s ease, transform 0.15s ease;
}

.topbar-strip .text-dark.px-2:hover {
    color: var(--xnl-primary) !important;
    transform: scale(1.1);
}

/* ----- Navbar auth (Đơn hàng / user / Đăng xuất) ----- */
.navbar-auth {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    flex-wrap: wrap;
    gap: 0.15rem;
}

.navbar-auth .nav-auth-form {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

.navbar-auth .nav-auth-link,
.navbar-auth .nav-auth-logout {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.85rem !important;
    margin: 0 2px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
    color: var(--xnl-dark) !important;
    background: transparent;
    text-decoration: none !important;
    cursor: pointer;
    white-space: nowrap;
    vertical-align: middle;
}

.navbar-auth .nav-auth-logout {
    font-family: inherit;
}

.navbar-auth .nav-auth-link:hover,
.navbar-auth .nav-auth-logout:hover {
    color: var(--xnl-primary-dark) !important;
    background: rgba(209, 156, 151, 0.15);
}

.navbar-auth .nav-auth-link.active {
    color: var(--xnl-primary-dark) !important;
    background: rgba(209, 156, 151, 0.2);
}

.navbar-auth .nav-auth-user {
    font-weight: 600;
}

.navbar-auth .nav-auth-logout {
    color: #c45c5c !important;
}

.navbar-auth .nav-auth-logout:hover {
    color: #fff !important;
    background: #dc3545;
}

/* ----- Shopee-style quantity stepper ----- */
.qty-stepper {
    display: inline-flex;
    align-items: stretch;
    border: 1px solid rgba(0, 0, 0, 0.09);
    border-radius: 2px;
    overflow: hidden;
    background: #fff;
    min-width: 108px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.qty-stepper__form {
    margin: 0;
    display: flex;
}

.qty-stepper__btn {
    width: 32px;
    min-width: 32px;
    height: 32px;
    padding: 0;
    border: none;
    background: #fff;
    color: rgba(0, 0, 0, 0.54);
    font-size: 1.15rem;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease, color 0.15s ease;
}

.qty-stepper__btn:hover:not(:disabled) {
    background: #f5f5f5;
    color: var(--xnl-primary);
}

.qty-stepper__btn:disabled {
    color: #ccc;
    cursor: not-allowed;
    background: #fafafa;
}

.qty-stepper__value {
    min-width: 40px;
    padding: 0 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--xnl-dark);
    border-left: 1px solid rgba(0, 0, 0, 0.09);
    border-right: 1px solid rgba(0, 0, 0, 0.09);
    background: #fff;
    user-select: none;
}

/* ----- Topbar / search ----- */
.topbar-search .form-control {
    border-radius: 999px 0 0 999px;
    border-right: 0;
    padding-left: 1.1rem;
}

.topbar-search .input-group-text {
    border-radius: 0 999px 999px 0;
    background: #fff !important;
    border-left: 0;
    cursor: pointer;
}

.topbar-icon-btn {
    border-radius: 10px !important;
    padding: 0.45rem 0.85rem !important;
    transition: box-shadow 0.2s ease, transform 0.15s ease;
}

.topbar-icon-btn:hover {
    box-shadow: var(--xnl-shadow-sm);
    transform: translateY(-1px);
}

.topbar-icon-btn .badge {
    position: relative;
    top: -8px;
    right: 4px;
    min-width: 18px;
    height: 18px;
    line-height: 18px;
    padding: 0 5px;
    font-size: 0.7rem;
    background: var(--xnl-primary);
    border-radius: 999px;
}

.topbar-actions {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
}

/* ----- Navbar ----- */
.navbar-light .navbar-nav .nav-link {
    font-weight: 500;
    color: var(--xnl-dark);
    padding: 0.5rem 0.85rem;
    border-radius: 6px;
    margin: 0 2px;
}

.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-link:hover {
    color: var(--xnl-primary-dark);
    background: rgba(209, 156, 151, 0.12);
}

/* ----- Stat card ----- */
.stat-card {
    background: linear-gradient(135deg, var(--xnl-primary) 0%, #e8b4af 100%);
    color: #fff;
    border-radius: var(--xnl-radius);
    padding: 1.5rem 1.75rem;
    box-shadow: 0 10px 28px rgba(209, 156, 151, 0.35);
}

.stat-card__label {
    opacity: 0.95;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.stat-card__value {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

/* ----- Order history cards ----- */
.order-card {
    background: #fff;
    border-radius: var(--xnl-radius);
    box-shadow: var(--xnl-shadow-sm);
    padding: 1.25rem 1.5rem;
    margin-bottom: 1rem;
    border: 1px solid #f0f0f0;
    transition: box-shadow 0.2s ease, transform 0.15s ease;
}

.order-card:hover {
    box-shadow: var(--xnl-shadow);
    transform: translateY(-2px);
}

.order-card__id {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--xnl-dark);
}

.order-card__meta {
    font-size: 0.875rem;
    color: var(--xnl-muted);
}

.order-card__amount {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--xnl-primary-dark);
}

.badge-payment {
    background: rgba(209, 156, 151, 0.15);
    color: var(--xnl-primary-dark);
    font-weight: 500;
    padding: 0.35em 0.65em;
    border-radius: 6px;
    font-size: 0.8rem;
}

/* ----- Empty state ----- */
.empty-state {
    text-align: center;
    padding: 3rem 1.5rem;
    background: #fff;
    border-radius: var(--xnl-radius);
    box-shadow: var(--xnl-shadow-sm);
}

.empty-state i {
    font-size: 3rem;
    color: var(--xnl-primary);
    opacity: 0.7;
    margin-bottom: 1rem;
}

/* ----- Payment QR ----- */
.payment-qr-box {
    background: #fff;
    border: 2px dashed rgba(209, 156, 151, 0.4);
    border-radius: var(--xnl-radius);
    padding: 1rem;
    display: inline-block;
}

.payment-code-box {
    background: #fff8e6;
    border: 1px solid #ffe08a;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 1.1rem;
}

#paymentWaiting {
    padding: 1.5rem;
}

#paymentSuccess {
    padding: 1.5rem;
    background: #f0fff4;
    border-radius: var(--xnl-radius);
}

/* ----- Cart product cell ----- */
.cart-product-img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 12px;
}

/* ----- Content section spacing ----- */
.content-section {
    padding-top: 2.5rem;
    padding-bottom: 3rem;
}

/* ----- Profile ----- */
.profile-card {
    text-align: center;
    padding: 2.5rem;
}

.profile-card .profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--xnl-primary), #e8b4af);
    color: #fff;
    font-size: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

@media (max-width: 767.98px) {
    .page-hero__title,
    .container-fluid.bg-secondary.mb-5 h1 {
        font-size: 1.35rem;
    }

    .order-card .btn {
        width: 100%;
        margin-top: 0.5rem;
    }
}

/* ==========================================================================
   Profile page (folder profile/)
   ========================================================================== */
.card-welcome {
    background: linear-gradient(135deg, #fcedea 0%, #fdf6f5 60%, #ffffff 100%) !important;
    border-left: 5px solid var(--xnl-primary) !important;
    border-radius: var(--xnl-radius) !important;
    box-shadow: var(--xnl-shadow-sm) !important;
    border-top: none !important;
    border-right: none !important;
    border-bottom: none !important;
    width: 100% !important;
    padding: 20px 25px !important;
}

.card-welcome h4 {
    color: var(--xnl-dark) !important;
    font-weight: 700 !important;
    margin-bottom: 5px !important;
}

.card-welcome p {
    color: #495057 !important;
    font-weight: 600 !important;
    font-size: 0.92rem !important;
}

.welcome-dot {
    color: var(--xnl-primary);
}

.menu-btn {
    width: 100% !important;
    border: none !important;
    outline: none !important;
    background: transparent;
    padding: 12px 18px !important;
    border-radius: 8px !important;
    text-align: left;
    font-weight: 600 !important;
    color: var(--xnl-dark) !important;
    transition: all 0.25s ease;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.menu-btn.active {
    background-color: var(--xnl-primary) !important;
    color: white !important;
    box-shadow: 0 4px 12px rgba(209, 156, 151, 0.3) !important;
}

.menu-btn:not(.active):hover {
    background-color: rgba(209, 156, 151, 0.1) !important;
    color: var(--xnl-primary-dark) !important;
}

.profile-page .input-group-custom {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.profile-page .input-group-custom i {
    position: absolute;
    left: 16px;
    color: #b87f7a;
    z-index: 5;
    font-size: 16px;
    pointer-events: none;
}

.profile-page .input-group-custom .form-control {
    padding-left: 46px !important;
    height: 48px;
    border: 1px solid #e8e8e8 !important;
    border-radius: 8px !important;
    background-color: #fff !important;
    color: var(--xnl-dark) !important;
    font-weight: 500;
}

.profile-page .input-group-custom .form-control:focus {
    border-color: var(--xnl-primary) !important;
    box-shadow: 0 0 0 0.2rem rgba(209, 156, 151, 0.2) !important;
}

.btn-pastel-submit {
    background-color: var(--xnl-primary) !important;
    color: white !important;
    border: none !important;
    border-radius: 25px !important;
    padding: 10px 30px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 10px rgba(209, 156, 151, 0.2) !important;
}

.btn-pastel-submit:hover {
    background-color: var(--xnl-primary-dark) !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(209, 156, 151, 0.4) !important;
    color: white !important;
}

/* Price filter radios (shop sidebar) */
.form-check.price-filter-row {
    gap: 0.35rem;
}

.form-check.price-filter-row .form-check-input {
    margin-top: 0;
    flex-shrink: 0;
}

.form-check.price-filter-row .form-check-label {
    flex: 1;
    margin-bottom: 0;
}

.price-filter-row .badge {
    min-width: 2rem;
    color: var(--xnl-dark) !important;
    background: #fff;
}

/* ==========================================================================
   Global layout & sections
   ========================================================================== */
.xnl-main {
    min-height: 50vh;
}

.xnl-section {
    padding: 2.5rem 0;
}

.xnl-section--compact {
    padding-top: 1.25rem;
    padding-bottom: 0.5rem;
}

.xnl-section--alt {
    background: linear-gradient(180deg, #fff 0%, var(--xnl-secondary) 100%);
}

.xnl-section--bestsellers {
    background: #fff;
}

.section-heading__eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--xnl-primary-dark);
    margin-bottom: 0.35rem;
}

.section-heading__title {
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--xnl-dark);
}

.section-heading__desc {
    color: var(--xnl-muted);
    font-size: 0.95rem;
}

/* Trust cards (home) */
.trust-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: #fff;
    border-radius: var(--xnl-radius);
    padding: 1.25rem 1.35rem;
    height: 100%;
    box-shadow: var(--xnl-shadow-sm);
    border: 1px solid rgba(209, 156, 151, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.trust-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--xnl-shadow);
}

.trust-card__icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 12px;
    background: rgba(209, 156, 151, 0.15);
    color: var(--xnl-primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.trust-card__title {
    color: var(--xnl-dark);
    font-weight: 600;
}

.trust-card__text {
    color: var(--xnl-muted);
    font-size: 0.875rem;
}

/* Product card (grid) */
.product-item {
    border: none !important;
    border-radius: var(--xnl-radius) !important;
    box-shadow: var(--xnl-shadow-sm);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    background: #fff;
}

.product-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--xnl-shadow);
}

.product-item__img-wrap {
    position: relative;
    background: #f8f9fa;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.product-item__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-item:hover .product-item__img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.35em 0.65em;
    border-radius: 6px;
}

.product-badge--hot {
    background: linear-gradient(135deg, #e85d4c, #d19c97);
    color: #fff;
}

.product-item__body {
    padding: 1rem 1rem 0.5rem !important;
    border: none !important;
}

.product-item__category {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--xnl-primary-dark);
    font-weight: 600;
}

.product-item__name {
    color: var(--xnl-dark);
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.35;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.7em;
}

.product-item__price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--xnl-primary-dark);
}

.product-item__price--lg {
    font-size: 1.75rem;
}

.product-item__footer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem !important;
    background: #fafbfc !important;
    border: none !important;
    border-top: 1px solid #f0f0f0 !important;
}

.product-item__action {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: var(--xnl-dark);
    background: #fff;
    border: 1px solid #eee;
    transition: all 0.2s ease;
    text-decoration: none;
}

.product-item__action:hover {
    color: var(--xnl-primary-dark);
    border-color: var(--xnl-primary);
    background: rgba(209, 156, 151, 0.1);
}

.product-item__action--cart {
    color: #fff;
    background: var(--xnl-primary);
    border-color: var(--xnl-primary);
}

.product-item__action--cart:hover {
    background: var(--xnl-primary-dark);
    color: #fff;
}

/* Category cards */
.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem 1rem;
    background: #fff;
    border-radius: var(--xnl-radius);
    border: 1px solid rgba(209, 156, 151, 0.15);
    box-shadow: var(--xnl-shadow-sm);
    height: 100%;
    transition: all 0.25s ease;
    color: var(--xnl-dark);
}

.category-card:hover {
    border-color: var(--xnl-primary);
    transform: translateY(-4px);
    box-shadow: var(--xnl-shadow);
    color: var(--xnl-dark);
}

.category-card__icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(209, 156, 151, 0.12);
    color: var(--xnl-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

.category-card__title {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.category-card__count {
    font-size: 0.8rem;
    color: var(--xnl-muted);
}

/* Promo banners */
.promo-banner {
    position: relative;
    overflow: hidden;
    border-radius: var(--xnl-radius);
    background: linear-gradient(135deg, var(--xnl-secondary), #fff5f3);
    min-height: 220px;
    padding: 2rem;
    box-shadow: var(--xnl-shadow-sm);
}

.promo-banner__img {
    position: absolute;
    max-height: 85%;
    max-width: 45%;
    bottom: 0;
    opacity: 0.9;
    pointer-events: none;
}

.promo-banner--end .promo-banner__img {
    right: 0;
}

.promo-banner--start .promo-banner__img {
    left: 0;
}

.promo-banner__content {
    position: relative;
    z-index: 1;
    max-width: 58%;
}

.promo-banner--start .promo-banner__content {
    margin-left: auto;
    text-align: end;
}

.promo-banner__tag {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--xnl-primary-dark);
}

.promo-banner__title {
    font-weight: 700;
    color: var(--xnl-dark);
    margin: 0.5rem 0;
}

.promo-banner__text {
    color: var(--xnl-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* Shop page */
.shop-filter-panel {
    background: #fff;
    border-radius: var(--xnl-radius);
    padding: 1.25rem 1.35rem;
    box-shadow: var(--xnl-shadow-sm);
    border: 1px solid rgba(209, 156, 151, 0.12);
    top: 1rem;
}

.shop-filter-panel__title {
    font-weight: 700;
    color: var(--xnl-dark);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f0f0f0;
}

.shop-page .sticky-lg-top {
    z-index: 10;
}

/* Product detail */
.product-detail-gallery {
    border-radius: var(--xnl-radius);
    overflow: hidden;
    box-shadow: var(--xnl-shadow-sm);
    background: #f8f9fa;
    aspect-ratio: 1;
}

.product-detail-gallery img {
    object-fit: cover;
    height: 100%;
}

.product-detail-page .nav-tabs .nav-link.active {
    color: var(--xnl-primary-dark);
    border-color: var(--xnl-primary) var(--xnl-primary) #fff;
}

/* Footer */
.xnl-footer {
    background: linear-gradient(180deg, var(--xnl-secondary) 0%, #eef1f8 100%);
    margin-top: 3rem;
    border-top: 1px solid rgba(209, 156, 151, 0.2);
}

.xnl-footer h5 {
    color: var(--xnl-dark);
}

.xnl-footer a.text-dark {
    color: var(--xnl-muted) !important;
    text-decoration: none;
    padding: 0.2rem 0;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.xnl-footer a.text-dark:hover {
    color: var(--xnl-primary-dark) !important;
    padding-left: 4px;
}

.xnl-footer__bottom {
    border-color: rgba(209, 156, 151, 0.2) !important;
}

/* Tables & cart */
.table-responsive {
    border-radius: var(--xnl-radius);
    box-shadow: var(--xnl-shadow-sm);
    background: #fff;
}

/* Pagination */
.pagination .page-link {
    border-radius: 8px;
    margin: 0 2px;
    color: var(--xnl-dark);
    border-color: #eee;
}

.pagination .page-item.active .page-link {
    background: var(--xnl-primary);
    border-color: var(--xnl-primary);
}

/* Misc readability */
h1, h2, h3, h4, h5, h6 {
    color: var(--xnl-dark);
}

.text-dark {
    color: var(--xnl-dark) !important;
}

.container-fluid.bg-secondary:not(.mb-5) {
    background: transparent !important;
}

@media (max-width: 991.98px) {
    .promo-banner__content {
        max-width: 100%;
        text-align: center !important;
        margin: 0 auto !important;
    }

    .promo-banner__img {
        opacity: 0.25;
        max-width: 70%;
    }

    .section-heading__title {
        font-size: 1.35rem;
    }
}
