/* Custom CSS for FM Uniforms */
/* Tailwind CDN handles the primary styling. This file contains global UI & plugin overrides. */

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0f172a; 
}
 
::-webkit-scrollbar-thumb {
    background: #d99a5b; 
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #b78a46; 
}

/* Hide scrollbars for overflow-x containers while keeping touch scroll active */
.hide-scrollbar::-webkit-scrollbar {
    display: none;
}
.hide-scrollbar {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;     /* Firefox */
}

/* ============================================================ */
/* LUXURY BRAND SWEETALERT2 STYLING & CENTER DISPLAY */
/* ============================================================ */

/* Backdrop Overlay - Deep Navy Blur */
.swal2-container {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    background: rgba(5, 11, 20, 0.75) !important;
    z-index: 99999 !important;
}

/* Popup Box - Luxury Dark Navy Card with Gold Accent Border */
.swal2-popup {
    background: linear-gradient(145deg, #0f172a 0%, #08111d 100%) !important;
    border-radius: 1.5rem !important; /* 24px */
    border: 1px solid rgba(217, 154, 91, 0.35) !important;
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.85), 0 0 35px rgba(217, 154, 91, 0.2) !important;
    padding: 2.25rem 2rem !important;
    font-family: 'Outfit', 'Inter', sans-serif !important;
    width: 25rem !important;
    max-width: 90vw !important;
    color: #ffffff !important;
}

/* Title - Gold & Bold */
.swal2-title {
    color: #ffffff !important;
    font-family: 'Outfit', sans-serif !important;
    font-weight: 800 !important;
    font-size: 1.45rem !important;
    letter-spacing: -0.01em !important;
    margin-top: 1rem !important;
    margin-bottom: 0.5rem !important;
}

/* Text Message */
.swal2-html-container {
    color: #cbd5e1 !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
    font-weight: 500 !important;
    margin: 0.5rem 0 1.5rem 0 !important;
}

/* Primary Action Button - Warm Gold Gradient */
.swal2-confirm {
    background: linear-gradient(135deg, #d99a5b 0%, #b78a46 100%) !important;
    color: #051121 !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 800 !important;
    font-size: 0.775rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.12em !important;
    padding: 0.85rem 2.25rem !important;
    border-radius: 0.75rem !important;
    border: none !important;
    box-shadow: 0 4px 20px rgba(217, 154, 91, 0.4) !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    outline: none !important;
    cursor: pointer !important;
}

.swal2-confirm:hover {
    background: linear-gradient(135deg, #e5a769 0%, #c48a4d 100%) !important;
    color: #000000 !important;
    transform: translateY(-2px) scale(1.02) !important;
    box-shadow: 0 8px 25px rgba(217, 154, 91, 0.6) !important;
}

/* Secondary Cancel Button - Soft Glass Pill */
.swal2-cancel {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #e2e8f0 !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 700 !important;
    font-size: 0.775rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.12em !important;
    padding: 0.85rem 1.75rem !important;
    border-radius: 0.75rem !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    transition: all 0.2s ease !important;
    outline: none !important;
    cursor: pointer !important;
}

.swal2-cancel:hover {
    background: rgba(255, 255, 255, 0.18) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}

/* Icons - Glowing Gold & Emerald */
.swal2-icon.swal2-success {
    border-color: #d99a5b !important;
    color: #d99a5b !important;
}
.swal2-icon.swal2-success [class^='swal2-success-line'] {
    background-color: #d99a5b !important;
}
.swal2-icon.swal2-success .swal2-success-ring {
    border: 4px solid rgba(217, 154, 91, 0.4) !important;
}
.swal2-icon.swal2-error {
    border-color: #ef4444 !important;
    color: #ef4444 !important;
}
.swal2-icon.swal2-warning {
    border-color: #f59e0b !important;
    color: #f59e0b !important;
}

/* ============================================================ */
/* EXACT MATCH CART MODAL (MATCHES REFERENCE DESIGN) */
/* ============================================================ */
/* ============================================================ */
/* EXACT MATCH CART MODAL (SLEEK LANDSCAPE RECTANGLE SHAPE) */
/* ============================================================ */
.swal2-popup.exact-match-cart-modal {
    background: #ffffff !important;
    border-radius: 1.5rem !important; /* 24px */
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.22) !important;
    padding: 2.25rem 2.25rem 2rem 2.25rem !important;
    font-family: 'Outfit', 'Inter', sans-serif !important;
    width: 32rem !important; /* 512px Wide Landscape Rectangle */
    max-width: 94vw !important;
    color: #0f172a !important;
}

/* Close Button (X) */
.exact-match-cart-modal .swal2-close {
    color: #94a3b8 !important;
    font-size: 1.5rem !important;
    outline: none !important;
    top: 1.25rem !important;
    right: 1.25rem !important;
    transition: color 0.2s ease !important;
}
.exact-match-cart-modal .swal2-close:hover {
    color: #0f172a !important;
}

/* Actions Container - Side by Side Buttons */
.exact-match-cart-modal .swal2-actions {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 1rem !important;
    width: 100% !important;
    margin-top: 0.75rem !important;
}

/* View Cart Button (Right Gold Button) */
.cart-modal-confirm-btn {
    background: linear-gradient(135deg, #e5a059 0%, #d99a5b 100%) !important;
    color: #ffffff !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 800 !important;
    font-size: 0.775rem !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    height: 3.25rem !important;
    padding: 0 1.5rem !important;
    border-radius: 0.85rem !important;
    border: none !important;
    box-shadow: 0 4px 16px rgba(217, 154, 91, 0.35) !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    cursor: pointer !important;
    flex: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
}
.cart-modal-confirm-btn:hover {
    background: linear-gradient(135deg, #c48a4d 0%, #b78a46 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(217, 154, 91, 0.5) !important;
}

/* Continue Shopping Button (Sleek Navy Outline Pill Button) */
.cart-modal-cancel-btn {
    background: #ffffff !important;
    color: #0f172a !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 800 !important;
    font-size: 0.775rem !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    height: 3.25rem !important;
    padding: 0 1.5rem !important;
    border-radius: 0.85rem !important;
    border: 1.5px solid #0f172a !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05) !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    cursor: pointer !important;
    flex: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
}
.cart-modal-cancel-btn:hover {
    background: #0f172a !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.25) !important;
}
