/* Theme tokens: chỉ khai báo màu thương hiệu (lấy từ logo) và phông chữ cho Bootstrap. Không có CSS bố cục. */
:root{--bs-primary:#14286b;--bs-primary-rgb:20,40,107;--bs-danger:#d7191f;--bs-danger-rgb:215,25,31;--bs-dark:#0c1740;--bs-dark-rgb:12,23,64;
--bs-link-color:#14286b;--bs-link-color-rgb:20,40,107;--bs-link-hover-color:#d7191f;--bs-link-hover-color-rgb:215,25,31;
--bs-primary-text-emphasis:#0c1948;--bs-primary-bg-subtle:#e6e9f5;--bs-primary-border-subtle:#b9c2e4;--bs-danger-bg-subtle:#fbe4e5;
--bs-tertiary-bg:#f5f6fa;--bs-tertiary-bg-rgb:245,246,250;--bs-body-color:#1c2340;--bs-body-color-rgb:28,35,64;--bs-border-color:#dfe3ee;
--bs-body-font-family:'Be Vietnam Pro',system-ui,-apple-system,'Segoe UI',sans-serif}
h1,h2,h3,h4,.display-1,.display-2,.display-3,.display-4,.display-5,.display-6{font-family:'Playfair Display',Georgia,serif;font-weight:600}
.btn-primary{--bs-btn-bg:#14286b;--bs-btn-border-color:#14286b;--bs-btn-hover-bg:#0f1f55;--bs-btn-hover-border-color:#0f1f55;--bs-btn-active-bg:#0c1948;--bs-btn-active-border-color:#0c1948;--bs-btn-disabled-bg:#14286b;--bs-btn-disabled-border-color:#14286b}
.btn-outline-primary{--bs-btn-color:#14286b;--bs-btn-border-color:#14286b;--bs-btn-hover-bg:#14286b;--bs-btn-hover-border-color:#14286b;--bs-btn-active-bg:#14286b;--bs-btn-active-border-color:#14286b;--bs-btn-disabled-color:#14286b;--bs-btn-disabled-border-color:#14286b}
.btn-danger{--bs-btn-bg:#d7191f;--bs-btn-border-color:#d7191f;--bs-btn-hover-bg:#b8141a;--bs-btn-hover-border-color:#b8141a;--bs-btn-active-bg:#a01217;--bs-btn-active-border-color:#a01217}
.list-group{--bs-list-group-active-bg:#14286b;--bs-list-group-active-border-color:#14286b}
.accordion{--bs-accordion-active-bg:#e6e9f5;--bs-accordion-active-color:#0c1948;--bs-accordion-btn-focus-box-shadow:0 0 0 .25rem rgba(20,40,107,.2)}
.nav-tabs{--bs-nav-tabs-link-active-color:#14286b}
.nav-underline{--bs-nav-underline-link-active-color:#14286b}
.form-control:focus,.form-select:focus{border-color:#7f8bb8;box-shadow:0 0 0 .25rem rgba(20,40,107,.15)}
.form-check-input:checked{background-color:#14286b;border-color:#14286b}
.hero-slide{min-height:420px;padding-bottom:2.5rem}
@media (min-width:768px){.hero-slide{min-height:480px}}
@media (min-width:1200px){.hero-slide{min-height:560px}}
/* ==========================================================================
   Smooth Hero Slider (Pure seamless crossfade, zero text/button reload or jump)
   ========================================================================== */
#heroSlider.carousel-fade .carousel-item {
    opacity: 0;
    transition: opacity 0.65s ease-in-out !important;
    transform: none !important;
}

#heroSlider.carousel-fade .carousel-item.active,
#heroSlider.carousel-fade .carousel-item-next.carousel-item-start,
#heroSlider.carousel-fade .carousel-item-prev.carousel-item-end {
    z-index: 1;
    opacity: 1;
}

#heroSlider.carousel-fade .active.carousel-item-start,
#heroSlider.carousel-fade .active.carousel-item-end {
    z-index: 0;
    opacity: 0;
    transition: opacity 0s 0.65s !important;
}

/* Ensure slide text, containers and buttons stay completely static - zero reload/jump/animation */
#heroSlider .hero-slide,
#heroSlider .hero-slide .container,
#heroSlider .hero-slide h1,
#heroSlider .hero-slide p,
#heroSlider .hero-slide .btn {
    transform: none !important;
    transition: none !important;
    animation: none !important;
}

/* Carousel Indicators */
#heroSlider .carousel-indicators {
    margin-bottom: 1.25rem;
    gap: 6px;
    z-index: 2;
}

#heroSlider .carousel-indicators [data-bs-target] {
    width: 24px;
    height: 4px;
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.4);
    border: none;
    transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease;
    margin: 0;
}

#heroSlider .carousel-indicators .active {
    width: 44px;
    background-color: #dc2626;
}

/* Modern Navigation Arrows */
#heroSlider .carousel-control-prev,
#heroSlider .carousel-control-next {
    width: 46px;
    height: 46px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(15, 23, 42, 0.45);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    transition: all 0.25s ease;
    margin: 0 16px;
    z-index: 2;
}

#heroSlider:hover .carousel-control-prev,
#heroSlider:hover .carousel-control-next {
    opacity: 0.85;
}

#heroSlider .carousel-control-prev:hover,
#heroSlider .carousel-control-next:hover {
    opacity: 1;
    background: #dc2626;
    border-color: #dc2626;
    transform: translateY(-50%) scale(1.08);
}

/* ==========================================================================
   Category Carousel (Swiper & Modern Navigation)
   ========================================================================== */
.category-swiper {
    width: 100%;
    overflow: hidden;
    padding: 6px 4px 20px 4px;
}

.category-swiper .swiper-slide {
    height: auto;
    display: flex;
}

.category-card {
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.25s ease;
    border-radius: 1rem !important;
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 28px -6px rgba(20, 40, 107, 0.12), 0 4px 12px -2px rgba(0, 0, 0, 0.05) !important;
    border-color: rgba(20, 40, 107, 0.25) !important;
}

.category-card .category-card-img {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.category-card:hover .category-card-img {
    transform: scale(1.08);
}

.category-btn-prev,
.category-btn-next {
    width: 42px;
    height: 42px;
    border-radius: 50% !important;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    color: #14286b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.category-btn-prev:hover:not(.swiper-button-disabled),
.category-btn-next:hover:not(.swiper-button-disabled) {
    background: #14286b;
    border-color: #14286b;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(20, 40, 107, 0.25);
}

.category-btn-prev.swiper-button-disabled,
.category-btn-next.swiper-button-disabled {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
}

.category-swiper-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #94a3b8;
    opacity: 0.45;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 999px;
    margin: 0 4px;
}

.category-swiper-pagination .swiper-pagination-bullet-active {
    background: #d7191f;
    opacity: 1;
    width: 28px;
    border-radius: 999px;
}

input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
input[type=number]{-moz-appearance:textfield}

/* Điểm nhấn trẻ trung: bo góc mềm hơn, gradient CTA, hover nhẹ - vẫn giữ tông navy/đỏ chủ đạo */
:root{--bs-border-radius:.6rem;--bs-border-radius-lg:1rem;--bs-border-radius-sm:.4rem}
.btn{transition:transform .2s ease,box-shadow .2s ease}
.btn-danger{background:linear-gradient(135deg,#ff535a,#d7191f);border:none;box-shadow:0 4px 14px rgba(215,25,31,.3)}
.btn-danger:hover,.btn-danger:focus{background:linear-gradient(135deg,#ff6b71,#e2242a);transform:translateY(-2px);box-shadow:0 8px 20px rgba(215,25,31,.4)}
.btn-primary{background:linear-gradient(135deg,#1c3488,#14286b);border:none}
.btn-primary:hover,.btn-primary:focus{background:linear-gradient(135deg,#233e9c,#14286b);transform:translateY(-2px)}
.btn-outline-primary:hover,.btn-outline-light:hover{transform:translateY(-2px)}
.badge.text-bg-danger{background:linear-gradient(135deg,#ff535a,#d7191f)!important;border-radius:999px;padding:.45em .85em}
.ratio img{transition:transform .5s ease}
.rounded-3.overflow-hidden:hover img{transform:scale(1.06)}
a.stretched-link{transition:color .2s ease}
.position-relative.h-100{transition:transform .25s ease}
.position-relative.h-100:hover{transform:translateY(-4px)}
@keyframes tv-pulse{0%{box-shadow:0 0 0 0 rgba(20,40,107,.45)}70%{box-shadow:0 0 0 14px rgba(20,40,107,0)}100%{box-shadow:0 0 0 0 rgba(20,40,107,0)}}
.position-fixed.bottom-0.end-0 .btn-primary{animation:tv-pulse 2.4s infinite}
@media (min-width:1200px){
.navbar .nav-item.dropdown:hover>.dropdown-menu,.navbar .nav-item.dropdown:focus-within>.dropdown-menu{display:block}
.navbar .nav-item.dropdown>.dropdown-menu{margin-top:0}
.navbar .product-megamenu{width:min(560px,90vw);padding:.75rem}
.product-megamenu-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem}
}
@media (max-width:1199.98px){
.navbar .product-megamenu{position:static!important;transform:none!important;width:100%;margin:0;border:0!important;box-shadow:none!important;padding:.25rem 0 .5rem 1rem}
.product-megamenu-grid{display:grid;grid-template-columns:1fr}
.product-category .dropdown-item{white-space:normal}
}

/* Custom Luxury Pagination Component */
.custom-pagination-nav {
    border-top: 1px solid #f1f5f9;
    padding-top: 1.25rem !important;
}
.custom-pagination {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: nowrap !important;
}
.custom-pagination .page-item {
    margin: 0 1px;
}
.custom-pagination .page-link.custom-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #334155;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.18s ease-in-out;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.custom-pagination .page-link.custom-page-btn:hover {
    color: #dc2626;
    background-color: #fef2f2;
    border-color: #fecaca;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(220, 38, 38, 0.12);
}
.custom-pagination .page-link.custom-page-btn.active-btn {
    color: #ffffff !important;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
    border-color: #dc2626 !important;
    box-shadow: 0 4px 10px rgba(220, 38, 38, 0.3) !important;
    cursor: default;
    transform: none;
}
.custom-pagination .page-link.custom-page-btn.disabled-btn {
    color: #cbd5e1 !important;
    background-color: #f8fafc !important;
    border-color: #f1f5f9 !important;
    cursor: not-allowed;
    opacity: 0.7;
    box-shadow: none;
    transform: none;
}
.custom-pagination .custom-page-dots {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 38px;
    color: #94a3b8;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 2px;
    border: none;
    background: transparent;
    user-select: none;
}

/* ==========================================================================
   Checkout & Payment Page Styles (Fully integrated for Bootstrap 5)
   ========================================================================== */
:root {
    --color-gold: #14286b;
    --color-gold-hover: #0c1948;
    --color-gold-light: #e6e9f5;
    --color-primary: #14286b;
    --border: #e2e8f0;
    --foreground: #1c2340;
    --foreground-secondary: #64748b;
    --foreground-muted: #94a3b8;
    --background-card: #ffffff;
    --background-elevated: #f8fafc;
}

.container-luxe {
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.card-luxe {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.input-luxe {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 0.65rem 1rem;
    font-size: 0.95rem;
    color: #1e293b;
    outline: none;
    transition: all 0.2s ease;
    width: 100%;
}

.input-luxe:focus {
    border-color: #14286b;
    box-shadow: 0 0 0 3px rgba(20, 40, 107, 0.15);
}

/* Checkout Flexbox & Layout Utilities */
.flex { display: flex !important; }
.inline-flex { display: inline-flex !important; }
.flex-col { flex-direction: column !important; }
.flex-row { flex-direction: row !important; }
.flex-wrap { flex-wrap: wrap !important; }
.flex-1 { flex: 1 1 0% !important; }
.shrink-0 { flex-shrink: 0 !important; }
.min-w-0 { min-width: 0 !important; }

.items-center { align-items: center !important; }
.items-start { align-items: flex-start !important; }
.items-end { align-items: flex-end !important; }
.justify-between { justify-content: space-between !important; }
.justify-center { justify-content: center !important; }
.justify-end { justify-content: flex-end !important; }

/* Grid Utilities */
.grid { display: grid !important; }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }

/* Spacing & Gaps */
.gap-1 { gap: 0.25rem !important; }
.gap-1\.5 { gap: 0.375rem !important; }
.gap-2 { gap: 0.5rem !important; }
.gap-3 { gap: 0.75rem !important; }
.gap-4 { gap: 1rem !important; }
.gap-6 { gap: 1.5rem !important; }
.gap-8 { gap: 2rem !important; }

.space-y-1 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.25rem !important; }
.space-y-2 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.5rem !important; }
.space-y-3 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.75rem !important; }
.space-y-4 > :not([hidden]) ~ :not([hidden]) { margin-top: 1rem !important; }
.space-y-5 > :not([hidden]) ~ :not([hidden]) { margin-top: 1.25rem !important; }

/* Responsive Columns */
@media (min-width: 992px) {
    .lg\:flex-row { flex-direction: row !important; }
    .lg\:w-96 { width: 24rem !important; }
}

/* Sizing Utilities */
.w-full { width: 100% !important; }
.w-2 { width: 0.5rem !important; }
.h-2 { height: 0.5rem !important; }
.w-3 { width: 0.75rem !important; }
.h-3 { height: 0.75rem !important; }
.w-3\.5 { width: 0.875rem !important; }
.h-3\.5 { height: 0.875rem !important; }
.w-4 { width: 1rem !important; }
.h-4 { height: 1rem !important; }
.w-5 { width: 1.25rem !important; }
.h-5 { height: 1.25rem !important; }
.w-6 { width: 1.5rem !important; }
.h-6 { height: 1.5rem !important; }
.w-8 { width: 2rem !important; }
.h-8 { height: 2rem !important; }
.w-9 { width: 2.25rem !important; }
.h-9 { height: 2.25rem !important; }
.w-10 { width: 2.5rem !important; }
.h-10 { height: 2.5rem !important; }
.w-11 { width: 2.75rem !important; }
.w-12 { width: 3rem !important; }
.h-12 { height: 3rem !important; }
.w-14 { width: 3.5rem !important; }
.h-14 { height: 3.5rem !important; }
.max-w-xs { max-width: 20rem !important; }
.max-w-sm { max-width: 440px !important; }
.max-w-md { max-width: 480px !important; }
.max-w-lg { max-width: 540px !important; }
.max-w-full { max-width: 100% !important; }
.max-h-full { max-height: 100% !important; }
.max-h-\[80vh\] { max-height: 80vh !important; }
.max-h-\[88vh\] { max-height: 88vh !important; }
.max-h-56 { max-height: 14rem !important; }
.max-h-48 { max-height: 12rem !important; }
.object-contain { object-fit: contain !important; }
.object-cover { object-fit: cover !important; }

/* Bank Modal Specific Card & Logo Styles */
[x-show="bankModal"] .max-w-sm {
    max-width: 440px !important;
    width: 100% !important;
    margin: auto !important;
}
.bank-item-card {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 12px 14px !important;
    border-radius: 12px !important;
    border: 2px solid #e2e8f0 !important;
    background: #ffffff !important;
    margin-bottom: 8px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}
.bank-item-card:hover {
    border-color: #14286b !important;
    background: rgba(20, 40, 107, 0.03) !important;
}
.bank-item-card .w-12.h-9 {
    width: 56px !important;
    height: 40px !important;
    min-width: 56px !important;
    max-width: 56px !important;
    max-height: 40px !important;
    padding: 4px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
}
.bank-item-card .w-12.h-9 img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
}

/* Borders & Radius */
.rounded-lg { border-radius: 0.5rem !important; }
.rounded-xl { border-radius: 0.75rem !important; }
.rounded-2xl { border-radius: 1rem !important; }
.rounded-full { border-radius: 9999px !important; }
.border-2 { border-width: 2px !important; border-style: solid; }
.border-t { border-top-width: 1px !important; border-top-style: solid; }
.border-b { border-bottom-width: 1px !important; border-bottom-style: solid; }
.border-dashed { border-style: dashed !important; }

/* Hiding utilities */
.hidden { display: none !important; }
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border-width: 0 !important;
}

/* Typography Utilities */
.text-xs { font-size: 0.75rem !important; line-height: 1rem !important; }
.text-sm { font-size: 0.875rem !important; line-height: 1.25rem !important; }
.text-base { font-size: 1rem !important; line-height: 1.5rem !important; }
.text-lg { font-size: 1.125rem !important; line-height: 1.75rem !important; }
.text-xl { font-size: 1.25rem !important; line-height: 1.75rem !important; }
.text-2xl { font-size: 1.5rem !important; line-height: 2rem !important; }
.text-3xl { font-size: 1.875rem !important; line-height: 2.25rem !important; }
@media (min-width: 768px) {
    .md\:text-3xl { font-size: 1.875rem !important; line-height: 2.25rem !important; }
}

.font-normal { font-weight: 400 !important; }
.font-medium { font-weight: 500 !important; }
.font-semibold { font-weight: 600 !important; }
.font-bold { font-weight: 700 !important; }
.font-extrabold { font-weight: 800 !important; }
.tracking-wider { letter-spacing: 0.05em !important; }
.uppercase { text-transform: uppercase !important; }

/* Line Clamp */
.line-clamp-2 {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

/* Palette & Semantic Colors */
.text-\[var\(--color-gold\)\] { color: var(--color-gold) !important; }
.text-\[var\(--foreground\)\] { color: var(--foreground) !important; }
.text-\[var\(--foreground-secondary\)\] { color: var(--foreground-secondary) !important; }
.text-\[var\(--foreground-muted\)\] { color: var(--foreground-muted) !important; }

.bg-\[var\(--color-gold\)\] { background-color: var(--color-gold) !important; }
.bg-\[var\(--color-gold\)\]\/5 { background-color: rgba(20, 40, 107, 0.05) !important; }
.bg-\[var\(--color-gold\)\]\/10 { background-color: rgba(20, 40, 107, 0.1) !important; }
.bg-\[var\(--background-card\)\] { background-color: var(--background-card) !important; }
.bg-\[var\(--background-elevated\)\] { background-color: var(--background-elevated) !important; }

.border-\[var\(--border\)\] { border-color: var(--border) !important; }
.border-\[var\(--color-gold\)\] { border-color: var(--color-gold) !important; }
.border-\[var\(--color-gold\)\]\/40 { border-color: rgba(20, 40, 107, 0.4) !important; }
.border-\[var\(--color-gold\)\]\/50 { border-color: rgba(20, 40, 107, 0.5) !important; }
.border-\[var\(--foreground-muted\)\] { border-color: var(--foreground-muted) !important; }

.text-green-500, .text-green-600 { color: #16a34a !important; }
.bg-green-500\/10 { background-color: rgba(22, 163, 74, 0.1) !important; }
.text-blue-500, .text-blue-600 { color: #2563eb !important; }
.bg-blue-500\/10 { background-color: rgba(37, 99, 235, 0.1) !important; }
.text-purple-500, .text-purple-600 { color: #9333ea !important; }
.bg-purple-500\/10 { background-color: rgba(147, 51, 234, 0.1) !important; }
.text-amber-600 { color: #d97706 !important; }
.text-red-500, .text-red-600 { color: #dc2626 !important; }
.bg-red-50 { background-color: #fef2f2 !important; }
.border-red-200 { border-color: #fecaca !important; }
.bg-emerald-50 { background-color: #ecfdf5 !important; }
.text-emerald-700 { color: #047857 !important; }

/* Sticky Order Summary */
.sticky.top-24 {
    position: sticky !important;
    top: 90px !important;
    z-index: 10;
}

/* Modals (Address, Bank, Voucher) */
.fixed.inset-0.z-\[9999\] {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 9999 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.fixed.inset-0.z-\[9999\][style*="display: none"],
.fixed.inset-0.z-\[9999\][style*="display:none"],
[x-show][style*="display: none"],
[x-show][style*="display:none"],
[x-cloak] {
    display: none !important;
}

.fixed.inset-0.z-\[9999\] .bg-black\/60 {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(12, 23, 64, 0.65) !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
}

.fixed.inset-0.z-\[9999\] .relative {
    position: relative !important;
    z-index: 10000 !important;
}

/* Points Toggle Switch */
.peer:checked ~ div {
    background-color: var(--bs-primary) !important;
}
.translate-x-5 {
    transform: translateX(1.25rem) !important;
}

/* Animation utilities */
.animate-spin {
    animation: spin 1s linear infinite !important;
}
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.rotate-180 { transform: rotate(180deg) !important; }
.transition-all { transition: all 0.2s ease !important; }
.transition-colors { transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease !important; }
.transition-transform { transition: transform 0.2s ease !important; }
.cursor-pointer { cursor: pointer !important; }
.select-none { user-select: none !important; }
.scale-95 { transform: scale(0.95) !important; }
.scale-100 { transform: scale(1) !important; }
.opacity-0 { opacity: 0 !important; }
.opacity-100 { opacity: 1 !important; }
.truncate { overflow: hidden !important; text-overflow: ellipsis !important; white-space: nowrap !important; }
.overflow-y-auto { overflow-y: auto !important; }
.overflow-hidden { overflow: hidden !important; }
.font-mono { font-family: SFMono-Regular, Menlo, Monaco, Consolas, monospace !important; }
.block { display: block !important; }
.leading-snug { line-height: 1.375 !important; }
.leading-relaxed { line-height: 1.625 !important; }
.shadow-sm { box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important; }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important; }

/* Custom scrollbars inside checkout modals and summaries */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}
.custom-scrollbar::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 999px;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 999px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* ==========================================================================
   Article & Rich Content Styling (Fix image/media overflow & typography)
   ========================================================================== */
.article-content,
#body,
#descPane,
#art {
    word-break: break-word;
    overflow-wrap: break-word;
}

.article-content img,
.article-content figure img,
.article-content p img,
#body img,
#body figure img,
#body p img,
#art img,
#descPane img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
    margin: 1.5rem auto;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    object-fit: contain;
}

.article-content figure,
#body figure,
#art figure {
    max-width: 100% !important;
    margin: 1.75rem auto;
    text-align: center;
}

.article-content figcaption,
#body figcaption,
#art figcaption {
    font-size: 0.875rem;
    color: #64748b;
    margin-top: 0.5rem;
    font-style: italic;
    text-align: center;
}

.article-content iframe,
.article-content video,
.article-content embed,
.article-content object,
#body iframe,
#body video,
#art iframe,
#art video {
    max-width: 100% !important;
    width: 100%;
    border-radius: 10px;
    margin: 1.5rem 0;
}

.article-content table,
#body table,
#art table,
#descPane table {
    width: 100% !important;
    max-width: 100% !important;
    margin: 1.5rem 0;
    border-collapse: collapse;
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.article-content table td,
.article-content table th,
#body table td,
#body table th {
    padding: 0.75rem 1rem;
    border: 1px solid #e2e8f0;
}

.article-content table th,
#body table th {
    background-color: #f8fafc;
    font-weight: 600;
}

.article-content h1, .article-content h2, .article-content h3,
.article-content h4, .article-content h5, .article-content h6,
#body h1, #body h2, #body h3, #body h4, #body h5, #body h6 {
    color: #0c1740;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.35;
}

.article-content p,
#body p {
    margin-bottom: 1.25rem;
    line-height: 1.8;
}

.article-content blockquote,
#body blockquote {
    border-left: 4px solid #d7191f;
    background-color: #f8fafc;
    padding: 1rem 1.25rem;
    margin: 1.75rem 0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #475569;
}

.article-content ul, .article-content ol,
#body ul, #body ol {
    margin-bottom: 1.5rem;
    padding-left: 1.75rem;
}

.article-content li,
#body li {
    margin-bottom: 0.5rem;
}

/* ==========================================================================
   Luxury User Dashboard Components & Styles
   ========================================================================== */
:root {
    --color-primary: #14286b;
    --color-primary-hover: #0c1948;
    --color-primary-light: #e6e9f5;
    --color-primary-dark: #0f1f55;
    --color-danger: #d7191f;
    --color-error: #d7191f;
    --background-card: #ffffff;
    --background-elevated: #f8fafc;
}

/* Dashboard Navigation */
.active-nav-item {
    background: linear-gradient(135deg, #14286b 0%, #1c3488 100%) !important;
    color: #ffffff !important;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(20, 40, 107, 0.22);
}
.active-nav-item .nav-icon-box {
    background: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
}
.hover-nav-item {
    transition: all 0.2s ease-in-out;
}
.hover-nav-item:hover {
    background-color: #f1f4fb !important;
    color: #14286b !important;
    transform: translateX(3px);
}
.hover-nav-item:hover .nav-icon-box {
    background: #e2e8f8 !important;
}
.hover-nav-danger {
    transition: all 0.2s ease-in-out;
}
.hover-nav-danger:hover {
    background-color: #fff1f2 !important;
    color: #dc2626 !important;
    transform: translateX(3px);
}

/* Dashboard Stat Cards */
.dashboard-stat-card {
    background: #ffffff;
    border: 1px solid #e5e9f2;
    border-radius: 16px;
    padding: 1.25rem 1.35rem;
    box-shadow: 0 2px 8px rgba(12, 23, 64, 0.04);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}
.dashboard-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(20, 40, 107, 0.09);
    border-color: #cbd5e1;
}
.dashboard-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: transparent;
    transition: background 0.25s ease;
}
.dashboard-stat-card.stat-primary::before { background: linear-gradient(90deg, #14286b, #3b82f6); }
.dashboard-stat-card.stat-warning::before { background: linear-gradient(90deg, #d97706, #f59e0b); }
.dashboard-stat-card.stat-success::before { background: linear-gradient(90deg, #059669, #10b981); }
.dashboard-stat-card.stat-danger::before { background: linear-gradient(90deg, #d7191f, #f43f5e); }

.stat-icon-wrapper {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Luxury Card Styles */
.card-luxe {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    transition: all 0.25s ease;
}
.card-luxe:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

/* Button Gold / Luxury Primary CTA fallback */
.btn-gold,
button.btn-gold,
a.btn-gold {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    padding: 0.6rem 1.4rem !important;
    background: linear-gradient(135deg, #14286b 0%, #1c3488 100%) !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    font-size: 0.875rem !important;
    font-family: inherit !important;
    border-radius: 9999px !important;
    border: none !important;
    outline: none !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 4px 12px rgba(20, 40, 107, 0.25) !important;
    vertical-align: middle !important;
    line-height: 1.5 !important;
}
.btn-gold:hover,
button.btn-gold:hover,
a.btn-gold:hover,
.btn-gold:focus,
button.btn-gold:focus,
a.btn-gold:focus {
    background: linear-gradient(135deg, #1c3488 0%, #0f1f55 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(20, 40, 107, 0.35) !important;
    color: #ffffff !important;
}
.btn-gold:disabled,
button.btn-gold:disabled {
    opacity: 0.6 !important;
    cursor: not-allowed !important;
    transform: none !important;
    box-shadow: none !important;
}

/* Button Outline fallback */
.btn-outline,
button.btn-outline,
a.btn-outline {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    padding: 0.55rem 1.35rem !important;
    background-color: #ffffff !important;
    color: #4b5563 !important;
    font-weight: 500 !important;
    font-size: 0.875rem !important;
    font-family: inherit !important;
    border-radius: 9999px !important;
    border: 1px solid #d1d5db !important;
    outline: none !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    vertical-align: middle !important;
    line-height: 1.5 !important;
}
.btn-outline:hover,
button.btn-outline:hover,
a.btn-outline:hover,
.btn-outline:focus,
button.btn-outline:focus,
a.btn-outline:focus {
    background-color: #f8fafc !important;
    border-color: #94a3b8 !important;
    color: #0f172a !important;
}

/* Custom Hide Scrollbar */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* ==========================================================================
   Floating Action Buttons — Rung Lắc & Pulse Animations
   ========================================================================== */
@keyframes floating-wiggle {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }
    5%, 15%, 25% {
        transform: rotate(-14deg) scale(1.08);
    }
    10%, 20%, 30% {
        transform: rotate(14deg) scale(1.08);
    }
    35% {
        transform: rotate(-6deg) scale(1.04);
    }
    40% {
        transform: rotate(6deg) scale(1.02);
    }
    45%, 90% {
        transform: rotate(0deg) scale(1);
    }
}

@keyframes phone-pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.65), 0 8px 20px rgba(0, 0, 0, 0.15);
    }
    70% {
        box-shadow: 0 0 0 14px rgba(220, 53, 69, 0), 0 8px 20px rgba(0, 0, 0, 0.15);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0), 0 8px 20px rgba(0, 0, 0, 0.15);
    }
}

@keyframes zalo-pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(20, 40, 107, 0.65), 0 8px 20px rgba(0, 0, 0, 0.15);
    }
    70% {
        box-shadow: 0 0 0 14px rgba(20, 40, 107, 0), 0 8px 20px rgba(0, 0, 0, 0.15);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(20, 40, 107, 0), 0 8px 20px rgba(0, 0, 0, 0.15);
    }
}

@keyframes floating-gentle-bob {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-4px);
    }
}

.floating-btn-phone {
    animation: floating-wiggle 3.2s ease-in-out infinite, phone-pulse-glow 2s infinite !important;
    transform-origin: center center;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease !important;
}

.floating-btn-zalo {
    animation: floating-wiggle 3.6s ease-in-out infinite 0.7s, zalo-pulse-glow 2.2s infinite !important;
    transform-origin: center center;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease !important;
}

.floating-btn-email {
    animation: floating-gentle-bob 4s ease-in-out infinite 0.3s;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease !important;
}

.floating-btn-phone:hover,
.floating-btn-zalo:hover,
.floating-btn-email:hover,
#toTop:hover {
    animation-play-state: paused !important;
    transform: scale(1.15) !important;
}

/* ==========================================================================
   Header Sticky & Mobile Full-Width Smooth Animation
   ========================================================================== */
#hd.sticky-top {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 1030 !important;
    background: #ffffff !important;
    transition: box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease;
}

#hd.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
}

#hd .navbar {
    transition: padding 0.3s ease;
}

/* Desktop Header Spacing & Non-Wrapping */
@media (min-width: 1200px) {
    #hd .navbar-nav {
        flex-wrap: nowrap !important;
    }
    #hd .navbar-nav .nav-link {
        white-space: nowrap !important;
        padding-left: 0.65rem !important;
        padding-right: 0.65rem !important;
        font-size: 0.95rem;
    }
    #hd .header-search-form {
        width: 260px;
        max-width: 340px;
        flex-grow: 1;
        transition: width 0.3s ease, max-width 0.3s ease;
    }
    #hd .header-search-form:focus-within {
        max-width: 380px;
    }
}

@media (min-width: 1400px) {
    #hd .navbar-nav .nav-link {
        padding-left: 0.85rem !important;
        padding-right: 0.85rem !important;
        font-size: 0.95rem;
    }
    #hd .header-search-form {
        width: 320px;
        max-width: 420px;
    }
    #hd .header-search-form:focus-within {
        max-width: 480px;
    }
}

/* Mobile Offcanvas Full-Width & Smooth Transitions */
@media (max-width: 1199.98px) {
    .mobile-full-offcanvas.offcanvas-start {
        width: 100% !important;
        max-width: 100vw !important;
        border: none !important;
        border-radius: 0 !important;
        transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.38s cubic-bezier(0.16, 1, 0.3, 1) !important;
        box-shadow: none !important;
    }

    .mobile-full-offcanvas.offcanvas-start.show {
        transform: none !important;
    }

    /* Staggered entrance animation for nav items */
    .mobile-full-offcanvas.show .navbar-nav > .nav-item {
        animation: mobileNavFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
    }
    .mobile-full-offcanvas.show .navbar-nav > .nav-item:nth-child(1) { animation-delay: 0.04s; }
    .mobile-full-offcanvas.show .navbar-nav > .nav-item:nth-child(2) { animation-delay: 0.08s; }
    .mobile-full-offcanvas.show .navbar-nav > .nav-item:nth-child(3) { animation-delay: 0.12s; }
    .mobile-full-offcanvas.show .navbar-nav > .nav-item:nth-child(4) { animation-delay: 0.16s; }
    .mobile-full-offcanvas.show .navbar-nav > .nav-item:nth-child(5) { animation-delay: 0.20s; }
    .mobile-full-offcanvas.show .navbar-nav > .nav-item:nth-child(6) { animation-delay: 0.24s; }

    @keyframes mobileNavFadeIn {
        from {
            opacity: 0;
            transform: translateY(12px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .mobile-full-offcanvas .navbar-nav .nav-link {
        padding: 0.85rem 1.15rem !important;
        border-radius: 0.85rem;
        color: #1e293b;
        font-weight: 600;
        font-size: 0.95rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
        transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
        margin-bottom: 0.25rem;
    }

    .mobile-full-offcanvas .navbar-nav .nav-link:hover,
    .mobile-full-offcanvas .navbar-nav .nav-link:focus {
        background: #f1f5f9;
        color: #14286b;
        transform: translateX(4px);
    }

    .mobile-full-offcanvas .navbar-nav .nav-link.active {
        background: linear-gradient(135deg, #14286b, #1c3488) !important;
        color: #ffffff !important;
        box-shadow: 0 4px 12px rgba(20, 40, 107, 0.2);
    }

    .mobile-full-offcanvas .dropdown-menu {
        background: #f8fafc;
        border: 1px solid #e2e8f0 !important;
        border-radius: 0.85rem;
        padding: 0.6rem;
        margin-top: 0.25rem !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    }

    .mobile-full-offcanvas .dropdown-item {
        padding: 0.65rem 1rem;
        border-radius: 0.55rem;
        font-size: 0.88rem;
        font-weight: 500;
        color: #475569;
        transition: all 0.15s ease;
    }

    .mobile-full-offcanvas .dropdown-item:hover {
        background: #e2e8f0;
        color: #0f172a;
        transform: translateX(3px);
    }

    /* Mobile Menu Close Button */
    .mobile-menu-close-btn {
        width: 38px;
        height: 38px;
        border-radius: 50%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: #f1f5f9;
        border: none;
        transition: all 0.25s ease;
    }
    .mobile-menu-close-btn:hover {
        background: #e2e8f0;
        transform: rotate(90deg);
    }

    /* Hamburger Animated Bars */
    .hamburger-lines {
        width: 22px;
        height: 18px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    .hamburger-lines .line {
        display: block;
        height: 2.2px;
        width: 100%;
        border-radius: 2px;
        background: #14286b;
        transition: all 0.25s ease;
    }
}

/* ========================================================
   Mobile Floating Filter Button & Bottom Sheet
   ======================================================== */
.mobile-filter-floating-container {
    position: fixed;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1045;
    pointer-events: none;
    transition: all 0.3s ease;
}

.mobile-filter-floating-btn {
    pointer-events: auto;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50px;
    padding: 10px 22px;
    box-shadow: 0 10px 25px -4px rgba(15, 23, 42, 0.45), 0 4px 10px -2px rgba(15, 23, 42, 0.25);
    font-weight: 600;
    font-size: 0.925rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease, background 0.2s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    white-space: nowrap;
    cursor: pointer;
}

.mobile-filter-floating-btn:hover {
    background: linear-gradient(135deg, #1e293b, #334155);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px -4px rgba(15, 23, 42, 0.55);
}

.mobile-filter-floating-btn:active {
    transform: scale(0.95);
}

.mobile-filter-floating-btn .filter-icon-wrapper {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(220, 38, 38, 0.2);
    color: #f87171;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

/* Mobile Filter Bottom Sheet */
.mobile-filter-sheet {
    z-index: 1060 !important;
    height: auto !important;
    max-height: 85vh !important;
    border-top-left-radius: 1.5rem !important;
    border-top-right-radius: 1.5rem !important;
    border: none !important;
    box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.18) !important;
}

.mobile-filter-sheet .sheet-drag-handle {
    width: 38px;
    height: 4px;
    background: #cbd5e1;
    border-radius: 999px;
    margin: 10px auto 4px auto;
}

.floating-contact-wrapper {
    transition: opacity 0.25s ease, transform 0.25s ease;
}

/* Hide floating contact buttons when offcanvas or modal is open */
body:has(.offcanvas.show) .floating-contact-wrapper,
body:has(.modal.show) .floating-contact-wrapper,
body.modal-open .floating-contact-wrapper {
    opacity: 0 !important;
    pointer-events: none !important;
    transform: scale(0.85);
}

.cursor-pointer {
    cursor: pointer;
}

/* ==========================================================================
   Animated Mobile/Header Search Bar
   ========================================================================== */
.header-search-collapse {
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    transform: translateY(-8px);
    transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.28s ease,
                transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.35s;
    background: #ffffff;
    box-shadow: 0 10px 25px -4px rgba(20, 40, 107, 0.08);
}

.header-search-collapse.is-open {
    max-height: 80px;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-search-toggle {
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-search-toggle .transition-icon {
    transition: transform 0.25s ease, color 0.2s ease;
}

.mobile-search-toggle.is-active {
    background-color: #fee2e2 !important;
}

.mobile-search-toggle.is-active .transition-icon {
    color: #dc2626 !important;
    transform: rotate(90deg);
}

.mobile-search-form .search-input-group {
    background-color: #f8fafc;
    border-color: #e2e8f0;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.mobile-search-form .search-input-group:focus-within {
    border-color: #dc2626 !important;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12) !important;
}

.search-collapse-close-btn {
    transition: all 0.2s ease;
}

.search-collapse-close-btn:hover {
    background-color: #fee2e2;
    color: #dc2626;
}

/* ==========================================================================
   Product Detail Gallery Slider (Responsive Touch Swipe + Thumbs)
   ========================================================================== */
.product-gallery-container {
    position: relative;
    width: 100%;
}

.product-main-swiper {
    width: 100%;
    user-select: none;
    touch-action: pan-y pinch-zoom;
}

.product-main-swiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
}

.product-gallery-counter {
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    pointer-events: none;
}

.product-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: #1e293b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0.85;
}

.product-nav-btn:hover {
    background: #dc2626;
    color: #ffffff;
    border-color: #dc2626;
    opacity: 1;
    transform: translateY(-50%) scale(1.08);
}

.product-nav-prev {
    left: 10px;
}

.product-nav-next {
    right: 10px;
}

/* Thumbs Swiper - Never wraps on mobile */
.product-thumbs-swiper {
    width: 100%;
    overflow: hidden;
    padding: 2px;
}

.product-thumbs-swiper .swiper-wrapper {
    flex-wrap: nowrap !important;
}

.product-thumb-slide {
    cursor: pointer;
    width: auto;
}

.product-thumb-box {
    cursor: pointer;
    background: #f8fafc;
    border: 2px solid transparent !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-thumb-box:hover {
    border-color: #cbd5e1 !important;
}

.product-thumb-box.is-active,
.product-thumb-slide.swiper-slide-thumb-active .product-thumb-box {
    border-color: #dc2626 !important;
    box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.25) !important;
    transform: scale(0.96);
}

@media (max-width: 767.98px) {
    .product-nav-btn {
        width: 32px;
        height: 32px;
        font-size: 0.75rem;
        opacity: 0.75;
    }
}
