/* ============================================
   BONBONWEAR - COMBINED CSS FILE
   All styles merged into one file
   ============================================ */

/* ============================================
   0. GLOBAL FONT SETTINGS - INTER ONLY
   ============================================ */
* {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif !important;
}

body,
p,
span,
a,
button,
input,
textarea,
select,
label,
div,
h1,
h2,
h3,
h4,
h5,
h6,
.hero-title,
.section-title,
.footer-heading,
.checkout-title,
.cart-title,
.news-title,
.product-title,
.fw-bold {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif !important;
}

/* ============================================
   1. HEADER STYLES (main.php)
   ============================================ */
header {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 1000;
}

.header-container {
    padding: 1rem 2rem;
    flex-wrap: nowrap !important;
    position: relative;
}

.navbar-brand {
    flex-shrink: 0;
    margin-right: auto;
}

/* Logo Styling - Đẹp và nổi bật */
.logo-image {
    height: 70px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.15));
    flex-shrink: 0;
}

.logo-image:hover {
    transform: scale(1.05) translateY(-1px);
    filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.25));
}

.logo-text {
    font-size: 2.5rem;
    font-weight: 900;
    color: #000;
    letter-spacing: 3px;
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 8px 16px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0.05) 100%);
}

.logo-text:hover {
    transform: scale(1.05);
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Navigation Menu */
.nav {
    gap: 2rem !important;
    flex-wrap: nowrap;
    justify-content: center;
    flex: 1;
    display: flex;
    align-items: center;
}

.nav a {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #000;
    transition: width 0.3s ease;
}

.nav a:hover {
    color: #333 !important;
}

.nav a:hover::after {
    width: 100%;
}

/* Icon Styling */
.header-icons {
    gap: 1rem !important;
    flex-wrap: nowrap;
    flex-shrink: 0;
    margin-left: auto;
}

.header-icons a,
.header-icons .dropdown-toggle {
    font-size: 20px;
    transition: all 0.3s ease;
}

.header-icons a:hover,
.header-icons .dropdown-toggle:hover {
    transform: translateY(-2px);
    color: #333 !important;
}

/* Dropdown User */
.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-toggle i {
    font-size: 20px;
}

.dropdown-toggle .small {
    font-size: 0.9rem !important;
    font-weight: 600;
}

/* Cart Badge */
.cart-icon-wrapper {
    position: relative;
    display: inline-block;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #000;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    height: 18px;
    width: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}

/* Header Search Styles */
.header-search-wrapper {
    position: relative;
    width: 0;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-30px) scale(0.9);
    margin-right: 0;
    max-width: 350px;
}

.header-search-wrapper.show {
    width: 350px;
    opacity: 1;
    visibility: visible;
    transform: translateX(0) scale(1);
    margin-right: 12px;
}

.header-search-wrapper.slide-in {
    width: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-30px) scale(0.9);
    margin-right: 0;
}

.header-search-input-container {
    display: flex;
    align-items: center;
    background: #fff;
    border: 2px solid #000;
    border-radius: 50px;
    padding: 8px 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.header-search-wrapper.show .header-search-input-container {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
}

.header-search-input-container:focus-within {
    border-color: #333;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.header-search-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 0.95rem;
    padding: 8px 12px;
    color: #000;
    font-weight: 500;
}

.header-search-input::placeholder {
    color: #999;
    font-weight: 400;
}

.header-search-btn {
    background: #000;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 8px;
    flex-shrink: 0;
}

.header-search-btn:hover {
    background: #333;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.header-search-btn:active {
    transform: scale(0.95);
}

.search-icon-toggle {
    font-size: 22px;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 8px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.search-icon-toggle:hover {
    background: #f5f5f5;
    transform: scale(1.1);
    color: #333 !important;
}

.search-icon-toggle.hide {
    opacity: 0;
    transform: scale(0);
    width: 0;
    margin: 0;
    padding: 0;
    pointer-events: none;
}

/* Header Responsive */
@media (max-width: 992px) {
    .nav {
        gap: 0.8rem !important;
    }

    .nav a {
        font-size: 0.75rem;
    }

    .header-icons {
        gap: 0.8rem !important;
    }

    .logo-image {
        height: 60px;
    }

    .header-search-wrapper.show {
        width: 280px;
    }
}

@media (max-width: 768px) {
    .logo-image {
        height: 50px;
    }

    .logo-text {
        font-size: 1.8rem;
    }

    .header-container {
        padding: 0.75rem 1rem;
    }

    .nav {
        gap: 0.6rem !important;
    }

    .nav a {
        font-size: 0.7rem;
    }

    .header-icons {
        gap: 0.6rem !important;
    }

    .header-search-wrapper.show {
        width: 200px;
    }

    .header-search-input-container {
        padding: 6px 12px;
    }

    .header-search-input {
        font-size: 0.85rem;
        padding: 6px 8px;
    }

    .header-search-btn {
        width: 32px;
        height: 32px;
        margin-left: 6px;
    }
}

/* ============================================
   2. ADMIN LAYOUT STYLES (admin/layout.php)
   ============================================ */
body {
    background: #f5f7fa;
}

.admin-header,
.admin-sidebar,
.admin-content,
.admin-content *,
.admin-table,
.admin-table *,
.form-label,
.form-control,
.form-select,
.btn,
.badge,
.stat-card,
.stat-card * {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

.admin-content h1,
.admin-content h2,
.admin-content h3,
.admin-content h4,
.admin-content h5,
.admin-content h6 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 700;
}

.admin-page-header {
    background: #ffffff;
    color: #1f2a44;
    padding: 18px 22px;
    border-radius: 16px;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.1);
    gap: 16px;
    border: 1px solid #e7e9f3;
    position: relative;
    overflow: hidden;
}

.admin-page-header::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: linear-gradient(180deg, #6b4dfb, #4f8bff);
}

.admin-page-header::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(107, 77, 251, 0.05), rgba(79, 139, 255, 0.03));
    pointer-events: none;
}

.admin-page-header h1,
.admin-page-header h2,
.admin-page-header h3 {
    margin: 0;
    color: #1f2a44;
    font-weight: 800;
    letter-spacing: -0.3px;
    position: relative;
    z-index: 1;
}

.admin-page-header p {
    margin: 4px 0 0 0;
    color: #5a6076;
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

.admin-page-header .title-wrap {
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: relative;
    z-index: 1;
}

.admin-page-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.btn-light-soft {
    background: linear-gradient(120deg, #6b4dfb, #4f8bff);
    color: #fff;
    border: 1px solid transparent;
    border-radius: 10px;
    padding: 10px 14px;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.btn-light-soft:hover {
    background: linear-gradient(120deg, #5c43f0, #3f7df8);
    color: #fff;
    border-color: transparent;
}

.admin-page-header .btn,
.admin-page-header .btn:hover {
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.admin-filter-bar {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 12px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

.admin-filter-bar .form-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 6px;
}

.admin-filter-actions {
    display: flex;
    gap: 8px;
    align-items: flex-end;
}

/* Coupon modal wider */
.coupon-modal .modal-dialog {
    max-width: 960px !important;
    width: 80vw !important;
}

.coupon-modal .modal-body {
    max-height: calc(90vh - 140px);
    overflow-y: auto;
}

.coupon-modal .modal-content {
    width: 100%;
}

.admin-content {
    color: #1e293b;
    background: #f8fafc;
}

.admin-header {
    background: linear-gradient(90deg, #6278ff, #7154d1);
    color: #fff;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.admin-sidebar {
    overflow-y: auto;
    overflow-x: hidden;
    max-height: calc(100vh - 60px);
    width: 260px;
    background: #f8fafc;
    border-right: 1px solid #e2e8f0;
    min-height: calc(100vh - 60px);
    padding: 2rem 0;
    position: fixed;
    left: 0;
    top: 60px;
}

/* Custom scrollbar for admin sidebar */
.admin-sidebar::-webkit-scrollbar {
    width: 6px;
}

.admin-sidebar::-webkit-scrollbar-track {
    background: #f1f5f9;
}

.admin-sidebar::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.admin-sidebar::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Firefox scrollbar */
.admin-sidebar {
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 #f1f5f9;
}

.admin-sidebar .brand {
    padding: 0 2rem 2rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 1.5rem;
}

.admin-sidebar .nav-item {
    padding: 0.75rem 2rem;
    color: #64748b;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.2s;
}

.admin-sidebar .nav-item:hover {
    background: #e2e8f0;
    color: #1e293b;
}

.admin-sidebar .nav-item.active {
    background: #e2e8f0;
    color: #1e293b;
    font-weight: 600;
}

.admin-sidebar .nav-item i {
    width: 20px;
}

.admin-content {
    margin-left: 260px;
    padding: 2rem;
}

.admin-table {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.admin-table table {
    margin: 0;
}

.admin-table thead {
    background: #f8fafc;
}

.admin-table th {
    font-weight: 600;
    color: #1e293b;
    border-bottom: 2px solid #e2e8f0;
    padding: 1rem;
}

.admin-table td {
    padding: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.role-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 600;
}

.role-badge.user {
    background: #3b82f6;
    color: #fff;
}

.role-badge.admin {
    background: #ef4444;
    color: #fff;
}

.btn-delete {
    background: #ef4444;
    color: #fff;
    border: none;
    padding: 0.5rem;
    border-radius: 4px;
    cursor: pointer;
}

.btn-delete:hover {
    background: #dc2626;
}

/* ============================================
   3. HOME PAGE STYLES (home.php)
   ============================================ */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    color: #1a1a1a;
    background: #ffffff;
    padding: 0;
    margin: 0;
}

.container {
    max-width: 1320px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

/* Hero Slideshow Styles */
.hero {
    position: relative;
    min-height: 85vh;
    background-color: #000;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
    display: flex;
    align-items: flex-end;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

/* Video & Image Backgrounds */
.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.slide-bg.video-bg {
    object-fit: cover;
}

/* Overlay Gradient */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.2) 40%, transparent 70%);
    z-index: 0;
}

/* Content */
.hero-content {
    position: relative;
    z-index: 10;
    padding: 0 4rem 5rem 4rem;
    max-width: 95%;
    width: 100%;
    color: #fff;
}

/* Typography & Animations */
.hero-subtitle {
    font-size: 0.9rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    font-weight: 600;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.8s ease 0.2s;
}

.hero-title {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', Times, serif;
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.4s;
}

/* Large Screens */
@media (min-width: 1400px) {
    .hero-title {
        font-size: 5.5rem;
    }

    .hero-content {
        padding-bottom: 7rem;
        padding-left: 6rem;
    }
}

.hero-description {
    font-size: 1.15rem;
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.6s;
    max-width: 600px;
}

.hero-cta {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.8s;
    display: flex;
    gap: 1.5rem;
}

/* Dark Text Variant for Light Backgrounds */
.hero-content.text-dark {
    color: #000;
}

.hero-content.text-dark .btn-hero {
    border-color: #000;
    color: #000;
}

.hero-content.text-dark .btn-hero:hover {
    background: #000;
    color: #fff;
}

.hero-content.text-dark .btn-hero-secondary {
    color: #000;
}

.hero-content.text-dark .btn-hero-secondary::after {
    background: #000;
}

/* Active State Animations */
.hero-slide.active .hero-subtitle,
.hero-slide.active .hero-title,
.hero-slide.active .hero-description,
.hero-slide.active .hero-cta {
    opacity: 1;
    transform: translateY(0);
}

/* Buttons */
.btn-hero {
    padding: 1.2rem 3.5rem;
    border: 1px solid #fff;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: transparent;
}

.btn-hero:hover {
    background: #fff;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-hero-secondary {
    padding: 1rem 0;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    text-decoration: none;
    position: relative;
    background: transparent;
    border: none;
}

.btn-hero-secondary::after {
    content: '';
    position: absolute;
    bottom: 0.5rem;
    left: 0;
    width: 0;
    height: 1px;
    background: #fff;
    transition: width 0.3s;
}

.btn-hero-secondary:hover::after {
    width: 100%;
}

.btn-hero-secondary:hover {
    color: #fff;
}

/* Gucci Style Controls */
.hero-controls-gucci {
    position: absolute;
    bottom: 3rem;
    right: 3rem;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 12px;
}

.control-item {
    position: relative;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.control-btn-circle {
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 0;
    outline: none;
}

/* Play/Pause Button specific */
#playPauseBtn {
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    width: 38px;
    height: 38px;
    font-size: 18px;
    backdrop-filter: blur(4px);
}

#playPauseBtn:hover {
    background: rgba(0, 0, 0, 0.6);
    transform: scale(1.05);
}

/* Progress Ring */
.progress-ring {
    position: absolute;
    top: 0;
    left: 0;
    transform: rotate(-90deg);
    pointer-events: none;
}

.progress-ring__circle {
    transition: stroke-dashoffset 0.1s linear;
    transform-origin: 50% 50%;
    stroke: #fff;
    opacity: 0.9;
}

.progress-ring__bg {
    stroke: rgba(255, 255, 255, 0.2);
}

/* Nav Buttons */
.nav-btn {
    background: rgba(255, 255, 255, 0.85);
    color: #1a1a1a;
    width: 42px;
    height: 42px;
    font-size: 16px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.nav-btn:hover {
    background: #fff;
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* Navigation Dots */
.hero-nav {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    gap: 0.8rem;
}

.nav-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.nav-dot.active {
    background: #fff;
    transform: scale(1.2);
}

.section-title {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', Times, serif;
    text-align: center;
    margin: 0 auto 50px;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 700;
    font-size: 2rem;
    color: #000;
    position: relative;
    padding-bottom: 20px;
    max-width: fit-content;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #000;
}

.products-section {
    background: #fff;
    padding: 80px 0;
    margin: 0 auto;
}

.product-card,
.news-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 0;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: none;
    margin: 0 auto;
}

.product-card:hover {
    border-color: #000;
}

.product-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #000;
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
}

.product-card-image-wrapper {
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
    border-radius: 12px 12px 0 0;
    background: #f5f5f5;
}

.product-card img,
.news-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 0;
}

.product-card:hover img {
    opacity: 0.2;
    transform: scale(1.02);
}

.product-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    opacity: 0;
    transform: translateY(0);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-card-overlay {
    opacity: 1;
}

.product-card-icon {
    width: 56px;
    height: 56px;
    background: #000;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 22px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    border: 2px solid #000;
}

.product-card-icon:hover {
    background: #fff;
    color: #000;
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}

.product-card-icon:active {
    transform: scale(1.0);
}

.product-card h3 {
    font-weight: 600;
    color: #000;
    margin-bottom: 8px;
    transition: color 0.3s;
    padding: 0 20px;
    letter-spacing: 0.5px;
}

.product-card:hover h3 {
    color: #000;
}

.product-card .text-muted {
    color: #666 !important;
    padding: 0 20px;
}

.product-card .fw-semibold {
    color: #000;
    font-size: 1.2rem;
    font-weight: 700;
    padding: 0 20px 20px;
    margin: 0;
}

.product-card:hover,
.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.row {
    margin-left: -12px;
    margin-right: -12px;
}

.row>* {
    padding-left: 12px;
    padding-right: 12px;
}

.g-4 {
    --bs-gutter-x: 24px;
    --bs-gutter-y: 24px;
}

.btn-outline-dark,
a.btn-outline-dark {
    border-radius: 30px !important;
    padding: 14px 40px !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    border: 2px solid #000 !important;
    color: #000 !important;
    background: transparent !important;
    font-weight: 600 !important;
    font-size: 12px !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    vertical-align: middle !important;
}

.btn-outline-dark:hover,
a.btn-outline-dark:hover,
.btn-outline-dark:focus,
a.btn-outline-dark:focus,
.btn-outline-dark:active,
a.btn-outline-dark:active {
    background: #000 !important;
    color: #fff !important;
    text-decoration: none !important;
}

.info-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-top: 0;
    font-size: 14px;
    color: #666;
    line-height: 1.8;
}

.info-columns h4 {
    color: #000;
    font-weight: 700;
    margin-bottom: 16px;
}

footer {
    margin-top: 0;
    padding: 40px 0;
    border-top: 1px solid #e0e0e0;
    font-size: 13px;
    color: #666;
    text-align: center;
}

.mt-4 {
    margin-top: 50px !important;
}

.mb-1 {
    margin-bottom: 8px !important;
}

.mb-2 {
    margin-bottom: 12px !important;
}

.text-center {
    text-align: center !important;
}

.news-card {
    padding: 0;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
}

.news-card img {
    height: 240px;
    margin-bottom: 0;
    border-radius: 0;
}

.news-card .small {
    padding: 0 20px;
}

.news-card h3 {
    padding: 0 20px;
    color: #000;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.news-card p {
    padding: 0 20px 20px;
}

.news-card:hover {
    border-color: #000;
}

/* Modern Footer Styles */
.modern-footer {
    background-color: #000;
    color: #fff;
    padding: 80px 0 30px;
    margin-top: 80px;
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand p {
    color: #999;
    line-height: 1.8;
    margin-bottom: 20px;
    max-width: 300px;
}

.footer-logo-img {
    height: 80px;
    width: auto;
    margin-bottom: 25px;
    filter: brightness(0) invert(1);
    /* Chuyển logo sang màu trắng */
}

.footer-heading {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', Times, serif;
    font-size: 1.1rem;
    margin-bottom: 25px;
    font-weight: 600;
    letter-spacing: 1px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: #999;
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 5px;
}

.newsletter-form {
    position: relative;
    margin-top: 20px;
}

.newsletter-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid #333;
    padding: 10px 0;
    color: #fff;
    outline: none;
    transition: border-color 0.3s;
}

.newsletter-input:focus {
    border-color: #fff;
}

.newsletter-btn {
    position: absolute;
    right: 0;
    top: 10px;
    background: none;
    border: none;
    color: #fff;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    cursor: pointer;
}

.footer-bottom {
    border-top: 1px solid #222;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #666;
    font-size: 0.8rem;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    color: #fff;
    font-size: 1.2rem;
    transition: opacity 0.3s;
}

.social-links a:hover {
    opacity: 0.7;
}

/* Custom styles for color selector active state */
.btn-check:checked+label {
    outline: 2px solid #000;
    outline-offset: 2px;
}

/* Home Page Responsive */
@media (max-width: 768px) {
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .products-section {
        padding: 60px 0;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-content {
        padding: 2rem;
        padding-bottom: 6rem;
    }

    .hero-controls-gucci {
        bottom: 2rem;
        right: 1rem;
        transform: scale(0.8);
        transform-origin: bottom right;
    }

    .section-title {
        font-size: 1.5rem;
        letter-spacing: 2px;
    }

    .info-columns {
        gap: 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* ============================================
   4. LOGIN PAGE STYLES (login.php)
   ============================================ */
.login-page {
    min-height: calc(100vh - 120px);
    padding: 60px 20px 80px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 60px;
    width: 100%;
    max-width: 1100px;
    align-items: center;
}

.login-hero h1 {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 16px;
    letter-spacing: -1px;
    position: relative;
    display: inline-block;
    opacity: 0;
    transform: translateY(25px);
    animation: heroFloat 0.7s ease-out forwards;
}

.login-hero h1::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -12px;
    width: 100%;
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(90deg, #0f172a, #f97316);
    transform: scaleY(0);
    transform-origin: bottom;
    animation: underlineRise 0.6s ease-out forwards 0.2s;
}

.login-hero p {
    color: #64748b;
    font-size: 1rem;
    max-width: 380px;
}

.login-card {
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    padding: 48px 42px;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.08);
    background: #fff;
}

.login-card h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 32px;
}

.form-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 8px;
}

.form-control {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px 16px;
    font-size: 0.95rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
    border-color: #f97316;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.2);
}

.login-button {
    width: 100%;
    border: 2px solid #0f172a;
    border-radius: 999px;
    background: #fff;
    color: #0f172a;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 14px 18px;
    margin-top: 24px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.login-button:hover {
    transform: translateY(-1px);
    background: #0f172a;
    color: #fff;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.25);
}

.recaptcha-hint {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 16px;
}

.register-cta {
    text-align: center;
    margin-top: 18px;
    color: #475569;
    font-size: 0.85rem;
}

.register-cta span {
    display: block;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 6px;
}

.register-cta a {
    font-size: 0.9rem;
    font-weight: 600;
    color: #f97316;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.register-cta a:hover {
    color: #0f172a;
}

.forgot-link {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #0f172a;
    text-decoration: none;
    margin-top: 8px;
}

.forgot-link:hover {
    color: #f97316;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 24px;
    font-size: 0.9rem;
    color: #0f172a;
    text-decoration: none;
}

.back-link:hover {
    color: #f97316;
}

.alert {
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 0.9rem;
    margin-bottom: 16px;
}

@media (max-width: 768px) {
    .login-card {
        padding: 32px;
    }

    .login-page {
        padding-top: 40px;
    }
}

@keyframes underlineRise {
    0% {
        transform: scaleY(0);
    }

    100% {
        transform: scaleY(1);
    }
}

@keyframes heroFloat {
    0% {
        opacity: 0;
        transform: translateY(25px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   5. REGISTER PAGE STYLES (register.php)
   ============================================ */
.register-page {
    min-height: calc(100vh - 120px);
    padding: 60px 40px 90px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.register-grid {
    width: 100%;
    max-width: 1100px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 80px;
    align-items: center;
}

.register-hero h1 {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
    letter-spacing: -1px;
    position: relative;
    display: inline-block;
    opacity: 0;
    transform: translateY(25px);
    animation: heroFloat 0.7s ease-out forwards;
}

.register-hero h1::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -12px;
    width: 100%;
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(90deg, #0f172a, #f97316);
    transform: scaleY(0);
    transform-origin: bottom;
    animation: underlineRise 0.6s ease-out forwards 0.2s;
}

.register-form {
    width: 100%;
}

.register-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 6px;
}

.register-form input[type="text"],
.register-form input[type="email"],
.register-form input[type="password"],
.register-form input[type="date"] {
    width: 100%;
    border: none;
    border-radius: 6px;
    background: #f1f5f9;
    height: 52px;
    padding: 0 18px;
    margin-bottom: 18px;
    font-size: 0.95rem;
}

.register-form input:focus {
    outline: 2px solid #f97316;
    background: #fff;
}

.gender-group {
    display: flex;
    gap: 30px;
    align-items: center;
    margin-bottom: 24px;
    color: #0f172a;
    font-size: 0.9rem;
}

.gender-group label {
    margin-bottom: 0;
    font-weight: 500;
}

.register-button {
    border: 2px solid #0f172a;
    border-radius: 999px;
    background: #fff;
    color: #0f172a;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 14px 28px;
    margin-top: 20px;
    text-transform: uppercase;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.register-button:hover {
    background: #0f172a;
    color: #fff;
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .register-page {
        padding: 40px 20px 70px;
    }
}

/* ============================================
   6. CHECKOUT PAGE STYLES (checkout.php)
   ============================================ */
.checkout-page {
    padding: 60px 0;
    min-height: 80vh;
    background-color: #f8f9fa;
}

.checkout-container {
    max-width: 1100px;
    margin: 0 auto;
}

.checkout-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 30px;
    height: 100%;
}

.checkout-title {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', Times, serif;
    font-size: 1.8rem;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.order-summary-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f5f5f5;
}

.order-img {
    width: 60px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 15px;
}

.order-info {
    flex: 1;
}

.order-name {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 4px;
    display: block;
}

.order-meta {
    font-size: 0.85rem;
    color: #777;
}

.order-price {
    font-weight: 700;
}

.checkout-total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.checkout-final-total {
    border-top: 2px solid #000;
    padding-top: 15px;
    margin-top: 15px;
    font-weight: 800;
    font-size: 1.3rem;
}

.btn-place-order {
    background: #000;
    color: #fff;
    width: 100%;
    padding: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    margin-top: 20px;
    transition: all 0.3s;
}

.btn-place-order:hover {
    background: #333;
    transform: translateY(-2px);
}

/* ============================================
   7. CART PAGE STYLES (cart.php)
   ============================================ */
.cart-page {
    padding: 60px 0;
    min-height: 60vh;
}

.cart-header {
    margin-bottom: 40px;
    text-align: center;
}

.cart-title {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', Times, serif;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
}

.cart-table th {
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    padding: 20px;
    border-bottom: 2px solid #000;
    font-weight: 600;
    text-align: left;
}

.cart-table td {
    padding: 25px 20px;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}

.cart-product-img {
    width: 80px;
    height: 100px;
    object-fit: cover;
    margin-right: 20px;
}

.cart-product-name {
    font-weight: 600;
    margin-bottom: 5px;
    display: block;
    color: #000;
    text-decoration: none;
}

.qty-input-group {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    width: 90px;
    height: 32px;
    border-radius: 4px;
}

.qty-btn {
    background: none;
    border: none;
    width: 28px;
    height: 32px;
    cursor: pointer;
    color: #333;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover {
    background: #f5f5f5;
    color: #000;
}

.qty-input {
    width: 34px;
    height: 32px;
    text-align: center;
    border: none;
    font-weight: 600;
    font-size: 13px;
    outline: none;
    appearance: none;
    -moz-appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.qty-input:focus {
    background: #fafafa;
}

.remove-btn {
    color: #999;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.3s;
}

.remove-btn:hover {
    color: #dc3545;
}

.cart-summary {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 4px;
    margin-top: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.summary-total {
    border-top: 1px solid #ddd;
    padding-top: 15px;
    margin-top: 15px;
    font-weight: 700;
    font-size: 1.2rem;
}

.btn-checkout {
    display: block;
    width: 100%;
    background: #000;
    color: #fff;
    text-align: center;
    padding: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    text-decoration: none;
    margin-top: 20px;
    transition: all 0.3s;
}

.btn-checkout:hover {
    background: #333;
    color: #fff;
}

.empty-cart {
    text-align: center;
    padding: 60px 0;
}

.empty-cart i {
    font-size: 4rem;
    color: #ddd;
    margin-bottom: 20px;
}

/* ============================================
   8. FORGOT PASSWORD PAGE STYLES (forgot-password.php)
   ============================================ */
.forgot-page {
    min-height: calc(100vh - 120px);
    padding: 60px 40px 90px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.forgot-grid {
    width: 100%;
    max-width: 1000px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 80px;
    align-items: center;
}

.forgot-hero h1 {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
    letter-spacing: -1px;
    position: relative;
    display: block;
    width: 100%;
    opacity: 0;
    transform: translateY(25px);
    animation: heroFloat 0.7s ease-out forwards;
}

.forgot-hero h1::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -12px;
    width: 100%;
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(90deg, #0f172a, #f97316);
    transform: scaleY(0);
    transform-origin: bottom;
    animation: underlineRise 0.6s ease-out forwards 0.2s;
}

.forgot-card {
    width: 100%;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    padding: 52px 44px;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.08);
    background: #fff;
}

.forgot-card h2 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 18px;
}

.forgot-card label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 8px;
}

.forgot-card input[type="email"] {
    width: 100%;
    border: none;
    border-radius: 12px;
    background: #f1f5f9;
    height: 54px;
    padding: 0 18px;
    font-size: 0.95rem;
}

.forgot-card input:focus {
    outline: 2px solid #f97316;
    background: #fff;
}

.forgot-button {
    width: 100%;
    border: 2px solid #0f172a;
    border-radius: 999px;
    background: #fff;
    color: #0f172a;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 14px 28px;
    margin-top: 22px;
    text-transform: uppercase;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.forgot-button:hover {
    background: #0f172a;
    color: #fff;
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .forgot-page {
        padding: 40px 20px 70px;
    }

    .forgot-card {
        padding: 36px;
    }
}

/* ============================================
   9. RESET PASSWORD PAGE STYLES (reset-password.php)
   ============================================ */
.reset-page {
    min-height: calc(100vh - 120px);
    padding: 60px 20px 80px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reset-grid {
    width: 100%;
    max-width: 1000px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 70px;
    align-items: center;
}

.reset-hero h1 {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
    letter-spacing: -1px;
    position: relative;
    display: inline-block;
    opacity: 0;
    transform: translateY(25px);
    animation: heroFloat 0.7s ease-out forwards;
}

.reset-hero h1::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -12px;
    width: 100%;
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(90deg, #0f172a, #f97316);
    transform: scaleY(0);
    transform-origin: bottom;
    animation: underlineRise 0.6s ease-out forwards 0.2s;
}

.reset-card {
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    padding: 48px 42px;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.08);
    background: #fff;
}

.reset-card h2 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 24px;
}

.reset-button {
    width: 100%;
    border: 2px solid #0f172a;
    border-radius: 999px;
    background: #fff;
    color: #0f172a;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 14px 18px;
    margin-top: 20px;
    text-transform: uppercase;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.reset-button:hover {
    transform: translateY(-1px);
    background: #0f172a;
    color: #fff;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.25);
}

@media (max-width: 768px) {
    .reset-card {
        padding: 32px;
    }
}

/* ============================================
   10. ORDERS HISTORY PAGE STYLES (orders/history.php)
   ============================================ */
.orders-page {
    padding: 60px 0;
    min-height: 70vh;
}

.order-card {
    border-radius: 12px;
    border: 1px solid #f0f0f0;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.order-card:hover {
    border-color: #000;
    transition: border-color 0.2s ease;
}

.order-code {
    font-weight: 700;
    letter-spacing: 0.5px;
}

.order-meta {
    font-size: 0.9rem;
    color: #666;
}

.order-actions .btn {
    min-width: 160px;
}

/* ============================================
   11. ORDER DETAIL PAGE STYLES (orders/detail.php)
   ============================================ */
.order-detail-page {
    padding: 60px 0;
}

.order-summary-card,
.order-items-card {
    border-radius: 12px;
    border: 1px solid #f0f0f0;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.status-steps {
    list-style: none;
    padding: 0;
    margin: 0;
}

.status-steps li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #d1d5db;
    margin-right: 10px;
}

.status-dot.active {
    background: #000;
}

/* ============================================
   12. ADMIN USERS PAGE STYLES (admin/users/index.php)
   ============================================ */
.users-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 2rem;
    color: #fff;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.users-header h2 {
    margin: 0;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.users-header .icon-wrapper {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.users-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s, box-shadow 0.2s;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.stat-card .stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0.5rem 0;
}

.stat-card .stat-label {
    color: #64748b;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-card .stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.stat-card.total .stat-icon {
    background: #dbeafe;
    color: #3b82f6;
}

.stat-card.admin .stat-icon {
    background: #fee2e2;
    color: #ef4444;
}

.stat-card.user .stat-icon {
    background: #dbeafe;
    color: #3b82f6;
}

.stat-card.verified .stat-icon {
    background: #d1fae5;
    color: #10b981;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    font-size: 0.875rem;
    margin-right: 0.75rem;
}

.user-info {
    display: flex;
    align-items: center;
}

.user-name {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.user-email {
    font-size: 0.875rem;
    color: #64748b;
}

.role-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.role-badge.user {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #fff;
}

.role-badge.admin {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #fff;
}

.btn-delete {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #fff;
    border: none;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 2px 4px rgba(239, 68, 68, 0.3);
}

.btn-delete:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(239, 68, 68, 0.4);
}

.current-user-badge {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: #94a3b8;
}

.empty-state i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* ============================================
   13. ADMIN ORDERS PAGE STYLES (admin/orders/index.php)
   ============================================ */
/* Override admin-content padding cho trang orders */
.admin-content:has(.admin-orders-page) {
    padding: 0 !important;
    margin-right: 0 !important;
    width: calc(100% - 260px) !important;
}

.admin-orders-page {
    padding: 2rem;
    padding-right: 0;
    width: 100%;
    margin: 0;
    margin-right: 0;
    box-sizing: border-box;
}

.admin-orders-page .container {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 2rem !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box;
}

.admin-orders-page .admin-card {
    margin-right: 0 !important;
}

.admin-card {
    border-radius: 16px;
    border: 1px solid #efefef;
    padding: 30px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.05);
}

/* ============================================
   14. PRODUCTS INDEX PAGE STYLES (views/products/index.php)
   ============================================ */

/* Filter Section - Make all inputs very compact and equal width */
.products-section .form-control,
.products-section .form-select,
.products-section .btn,
.products-section .input-group {
    height: 32px !important;
    border-radius: 3px;
    font-size: 0.8rem !important;
}

.products-section .form-control,
.products-section .form-select {
    padding: 0.2rem 0.5rem !important;
    line-height: 1.3 !important;
    border: 1px solid #dee2e6 !important;
    width: 100% !important;
}

.products-section .form-select {
    width: 100% !important;
}

.products-section .input-group {
    display: flex !important;
    align-items: stretch !important;
    width: 100% !important;
}

.products-section .input-group .form-control {
    border-right: none !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    height: 32px !important;
    flex: 1 !important;
}

.products-section .input-group .btn {
    border-left: none !important;
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    padding: 0 14px !important;
    height: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.85rem !important;
    flex-shrink: 0 !important;
}

.products-section .input-group .btn i {
    font-size: 0.9rem !important;
}

/* Make all filter labels very compact */
.products-section .col-md-4 h5 {
    font-size: 0.65rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    margin-bottom: 6px !important;
    color: #000 !important;
    line-height: 1 !important;
    height: 14px !important;
    display: block !important;
}

/* Hide spinner arrows for all number inputs */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

input[type="number"] {
    -moz-appearance: textfield !important;
    appearance: textfield !important;
}

.products-section {
    background: #fff;
    padding: 80px 0;
    margin: 0 auto;
}

.product-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 0;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: none;
    margin: 0 auto;
}

.product-card:hover {
    border-color: #000;
}

.product-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #000;
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
}

.product-card-image-wrapper {
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
    border-radius: 12px 12px 0 0;
    background: #f5f5f5;
}

.product-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 0;
}

.product-card:hover img {
    opacity: 0.2;
    transform: scale(1.02);
}

.product-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    opacity: 0;
    transform: translateY(0);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-card-overlay {
    opacity: 1;
}

.product-card-icon {
    width: 56px;
    height: 56px;
    background: #000;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 22px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    border: 2px solid #000;
}

.product-card-icon:hover {
    background: #fff;
    color: #000;
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}

.product-card h3 {
    font-weight: 600;
    color: #000;
    margin-bottom: 8px;
    transition: color 0.3s;
    padding: 0 20px;
    letter-spacing: 0.5px;
}

.product-card .text-muted {
    color: #666 !important;
    padding: 0 20px;
}

.product-card .fw-semibold {
    color: #000;
    font-size: 1.2rem;
    font-weight: 700;
    padding: 0 20px 20px;
    margin: 0;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.filter-section {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 40px;
}

.filter-section h5 {
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.price-filter label {
    display: block;
    padding: 10px;
    margin-bottom: 8px;
    cursor: pointer;
    border-radius: 6px;
    transition: background 0.2s;
}

.price-filter label:hover {
    background: #e9ecef;
}

.price-filter input[type="radio"]:checked+label {
    background: #000;
    color: #fff;
}

/* Custom styles for color selector active state */
.btn-check:checked+label {
    outline: 2px solid #000;
    outline-offset: 2px;
}

.color-option {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.color-option.white {
    border: 1px solid #ccc;
}

/* Responsive Quick Add Modal */
@media (max-width: 768px) {
    .modal-dialog.modal-lg {
        max-width: 95%;
        margin: 10px auto;
    }

    .modal-content .row {
        flex-direction: column;
    }

    .modal-content .col-md-6 {
        max-width: 100%;
    }

    #qaProductImage {
        max-height: 250px !important;
    }
}

/* ============================================
   15. CHECKOUT PAGE STYLES (views/checkout.php)
   ============================================ */
.checkout-page {
    padding: 60px 0;
    min-height: 80vh;
    background-color: #f8f9fa;
}

.checkout-container {
    max-width: 1100px;
    margin: 0 auto;
}

.checkout-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 30px;
    height: 100%;
}

.checkout-title {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', Times, serif;
    font-size: 1.8rem;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.checkout-page .form-label {
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    color: #555;
}

.checkout-page .form-control {
    padding: 12px;
    border-radius: 4px;
    border: 1px solid #ddd;
}

.checkout-page .form-control:focus {
    border-color: #000;
    box-shadow: none;
}

.order-summary-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f5f5f5;
}

.order-img {
    width: 60px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 15px;
}

.order-info {
    flex: 1;
}

.order-name {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 4px;
    display: block;
}

.order-meta {
    font-size: 0.85rem;
    color: #777;
}

.order-price {
    font-weight: 700;
}

.checkout-total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.checkout-final-total {
    border-top: 2px solid #000;
    padding-top: 15px;
    margin-top: 15px;
    font-weight: 800;
    font-size: 1.3rem;
}

.btn-place-order {
    background: #000;
    color: #fff;
    width: 100%;
    padding: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    margin-top: 20px;
    transition: all 0.3s;
}

.btn-place-order:hover {
    background: #333;
    transform: translateY(-2px);
}

.checkout-page .coupon-section {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 4px;
    margin-bottom: 20px;
}

.checkout-page .coupon-message {
    font-size: 0.85rem;
    margin-top: 8px;
}

.checkout-page .coupon-message.success {
    color: #28a745;
}

.checkout-page .coupon-message.error {
    color: #dc3545;
}

#couponCode {
    text-transform: uppercase;
}

/* Address Management Styles */
.address-section {
    margin-bottom: 30px;
}

.address-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e2e8f0;
}

.address-header i {
    color: #000;
    font-size: 1.3rem;
}

.address-header h3 {
    color: #000;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: 0.5px;
}

.default-address-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.default-address-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.default-address-info {
    margin-bottom: 16px;
}

.default-address-name {
    font-weight: 700;
    font-size: 1.05rem;
    color: #000;
    margin-bottom: 6px;
    letter-spacing: 0.3px;
}

.default-address-phone {
    font-weight: 600;
    font-size: 0.95rem;
    color: #000;
    margin-bottom: 10px;
}

.default-address-detail {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.7;
}

.address-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
}

.badge-default {
    background: #000;
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    border: none;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.btn-change-address {
    color: #000;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.2s ease;
    letter-spacing: 0.3px;
}

.btn-change-address:hover {
    color: #333;
    text-decoration: underline;
}

/* Modal Styles */
.address-modal .modal-content {
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.15);
}

.address-modal .modal-header {
    border-bottom: 1px solid #e2e8f0;
    padding: 24px 28px;
    background: #f8fafc;
    border-radius: 16px 16px 0 0;
}

.address-modal .modal-title {
    font-weight: 700;
    font-size: 1.3rem;
    color: #000;
    letter-spacing: 0.5px;
}

.address-modal .modal-body {
    padding: 24px 28px;
    max-height: 70vh;
    overflow-y: auto;
    background: #fff;
}

.address-item-modal {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.address-item-modal:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.address-item-modal.selected {
    border-color: #000;
    background: #f8f9fa;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.address-radio {
    margin-right: 12px;
}

.address-radio input[type="radio"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.address-radio input[type="radio"]:checked {
    accent-color: #dc3545;
}

.address-content {
    flex: 1;
}

.address-content-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: #000;
    margin-bottom: 6px;
    letter-spacing: 0.3px;
}

.address-content-phone {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 8px;
    font-weight: 500;
}

.address-content-detail {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.6;
}

.address-update-link {
    color: #000;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: color 0.2s ease;
}

.address-update-link:hover {
    color: #333;
    text-decoration: underline;
}

.btn-add-address {
    width: 100%;
    border: 2px dashed #cbd5e1;
    background: #fff;
    color: #64748b;
    padding: 16px;
    border-radius: 12px;
    font-weight: 600;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    letter-spacing: 0.3px;
}

.btn-add-address:hover {
    border-color: #000;
    color: #000;
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.modal-footer-custom {
    border-top: 1px solid #e2e8f0;
    padding: 20px 28px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    background: #f8fafc;
    border-radius: 0 0 16px 16px;
}

.btn-cancel {
    background: #fff;
    border: 2px solid #cbd5e1;
    color: #64748b;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.2s ease;
    letter-spacing: 0.3px;
}

.btn-cancel:hover {
    border-color: #94a3b8;
    color: #475569;
    background: #fff;
}

.btn-confirm {
    background: #000;
    border: 2px solid #000;
    color: #fff;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.2s ease;
    letter-spacing: 0.3px;
}

.btn-confirm:hover {
    background: #333;
    border-color: #333;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Add/Edit Address Form */
.address-form-group {
    margin-bottom: 20px;
}

.address-form-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: #000;
    margin-bottom: 10px;
    display: block;
    letter-spacing: 0.3px;
}

.address-form-group .form-control,
.address-form-group .form-select {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px 16px;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.address-form-group .form-control:focus,
.address-form-group .form-select:focus {
    border-color: #000;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
    outline: none;
}

/* Address Search & Tabs Styles */
.address-search-wrapper {
    position: relative;
}

.address-search-input {
    padding-right: 80px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding-left: 16px;
    padding-top: 14px;
    padding-bottom: 14px;
}

.address-search-input:focus {
    border-color: #000;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
    outline: none;
}

.address-search-icon {
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    pointer-events: none;
}

.address-dropdown-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.address-dropdown-icon.active {
    transform: translateY(-50%) rotate(180deg);
}

.address-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    margin-top: 8px;
    max-height: 300px;
    overflow-y: auto;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
}

.address-search-results.show {
    display: block;
}

.address-search-item {
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.2s ease;
}

.address-search-item:last-child {
    border-bottom: none;
}

.address-search-item:hover {
    background: #f8f9fa;
}

.address-search-item-name {
    font-weight: 600;
    color: #000;
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.address-search-item-full {
    font-size: 0.85rem;
    color: #64748b;
}

.address-tabs {
    display: flex;
    gap: 8px;
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 16px;
}

.address-tab {
    background: transparent;
    border: none;
    padding: 12px 20px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #64748b;
    cursor: pointer;
    position: relative;
    transition: color 0.2s ease;
    letter-spacing: 0.3px;
}

.address-tab:not(:disabled):hover {
    color: #000;
}

.address-tab:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.address-tab.active {
    color: #000;
}

.address-tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: #000;
}

.address-list-container {
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 8px;
}

.address-list-item {
    padding: 12px 16px;
    cursor: pointer;
    border-radius: 8px;
    margin-bottom: 4px;
    transition: all 0.2s ease;
    color: #000;
    font-size: 0.9rem;
}

.address-list-item:hover {
    background: #f8f9fa;
}

.address-list-item.selected {
    background: #000;
    color: #fff;
    font-weight: 600;
}

.selected-address-display {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.selected-address-text {
    color: #000;
    font-weight: 600;
    font-size: 0.9rem;
    flex: 1;
}

.btn-clear-address {
    background: transparent;
    border: none;
    color: #64748b;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.btn-clear-address:hover {
    background: #e2e8f0;
    color: #000;
}

.location-map-placeholder {
    min-height: 200px;
    background: #f8f9fa;
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 24px;
    flex-wrap: wrap;
}

.address-search-item mark {
    background: #fff3cd;
    color: #000;
    padding: 2px 4px;
    border-radius: 3px;
    font-weight: 600;
}

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.15em;
}

.address-list-container .text-center {
    padding: 20px;
    color: #64748b;
}

.address-list-container .text-danger {
    color: #dc3545;
}

.address-type-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.address-type-btn {
    flex: 1;
    padding: 14px;
    border: 2px solid #e2e8f0;
    background: #fff;
    border-radius: 12px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}

.address-type-btn:hover {
    border-color: #cbd5e1;
}

.address-type-btn.active {
    border-color: #000;
    background: #000;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.form-check-default {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
    padding: 16px;
    background: #f8fafc;
    border-radius: 12px;
}

.form-check-default input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #000;
}

.form-check-default label {
    margin: 0;
    font-weight: 600;
    color: #000;
    cursor: pointer;
    font-size: 0.9rem;
}

.btn-back {
    background: #fff;
    border: 2px solid #cbd5e1;
    color: #64748b;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.2s ease;
    letter-spacing: 0.3px;
}

.btn-back:hover {
    border-color: #94a3b8;
    color: #475569;
}

.btn-complete {
    background: #000;
    border: 2px solid #000;
    color: #fff;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.2s ease;
    letter-spacing: 0.3px;
}

.btn-complete:hover {
    background: #333;
    border-color: #333;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* ============================================
   16. CART PAGE STYLES (views/cart.php)
   ============================================ */
.cart-page {
    padding: 60px 0;
    min-height: 60vh;
}

.cart-header {
    margin-bottom: 40px;
    text-align: center;
}

.cart-title {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', Times, serif;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
}

.cart-table th {
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    padding: 20px;
    border-bottom: 2px solid #000;
    font-weight: 600;
    text-align: left;
}

.cart-table td {
    padding: 25px 20px;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}

.cart-product-img {
    width: 80px;
    height: 100px;
    object-fit: cover;
    margin-right: 20px;
}

.cart-product-name {
    font-weight: 600;
    margin-bottom: 5px;
    display: block;
    color: #000;
    text-decoration: none;
}

.qty-input-group {
    display: flex;
    align-items: center;
    border: 1px solid #000;
    width: fit-content;
    border-radius: 4px;
}

.qty-btn {
    background: #fff;
    border: none;
    padding: 5px 12px;
    cursor: pointer;
    color: #000;
    transition: all 0.3s;
    font-weight: 600;
}

.qty-btn:hover {
    background: #000;
    color: #fff;
}

.qty-input {
    width: 40px;
    text-align: center;
    border: none;
    font-weight: 600;
    appearance: none;
    -moz-appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.remove-btn {
    color: #666;
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    padding: 8px;
    border-radius: 4px;
}

.remove-btn:hover {
    color: #000;
    background: #f5f5f5;
}

.cart-page .coupon-section {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.cart-page .coupon-message {
    font-size: 0.85rem;
    margin-top: 8px;
}

.cart-page .coupon-message.success {
    color: #28a745;
}

.cart-page .coupon-message.error {
    color: #dc3545;
}

.coupon-item {
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid #ddd;
    margin-bottom: 8px;
    border-radius: 4px;
}

.coupon-item:hover {
    border-color: #000;
    background: #f8f9fa;
}

.coupon-item.selected {
    border-color: #28a745;
    background: #d4edda;
}

.cart-summary {
    background: #fafafa;
    padding: 30px;
    border-radius: 4px;
    margin-top: 20px;
    border: 1px solid #e0e0e0;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.summary-total {
    border-top: 2px solid #000;
    padding-top: 15px;
    margin-top: 15px;
    font-weight: 700;
    font-size: 1.2rem;
    color: #000;
}

.btn-checkout {
    display: block;
    width: 100%;
    background: #000;
    color: #fff;
    text-align: center;
    padding: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    text-decoration: none;
    margin-top: 20px;
    transition: all 0.3s;
}

.btn-checkout:hover {
    background: #333;
    color: #fff;
}

.empty-cart {
    text-align: center;
    padding: 60px 0;
}

.empty-cart i {
    font-size: 4rem;
    color: #999;
    margin-bottom: 20px;
}

.empty-cart h3 {
    color: #000;
    font-weight: 600;
}

.cart-item-checkbox {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

#selectAll,
#selectAllBottom {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

#checkoutBtn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #999 !important;
}

#deleteSelectedBtn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: #f5f5f5 !important;
    color: #999 !important;
    border-color: #ddd !important;
}

#deleteSelectedBtn:not(:disabled) {
    background: #000;
    color: #fff;
    border: 1px solid #000;
}

#deleteSelectedBtn:not(:disabled):hover {
    background: #1a1a1a;
    border-color: #1a1a1a;
}

.cart-page .btn-outline-danger {
    border-color: #000;
    color: #000;
}

.cart-page .btn-outline-danger:hover {
    background: #000;
    color: #fff;
    border-color: #000;
}

/* ============================================
   17. PRODUCT DETAIL PAGE STYLES (views/products/detail.php)
   ============================================ */
.product-detail-section {
    padding: 48px 0 60px;
}

.product-gallery {
    position: relative;
}

.product-main-image {
    width: 100%;
    height: 560px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 16px;
}

.product-thumbnails {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.product-thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.product-thumbnail:hover {
    border-color: #000;
    transform: scale(1.05);
}

.product-thumbnail.active {
    border: 2px solid #000 !important;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
}

.product-detail-section .product-info {
    text-align: left;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 12px;
    padding: 0 0 0 8px;
}

.product-info h1 {
    font-size: 2.3rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.product-price {
    font-size: 2rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 12px;
}

.product-description {
    color: #666;
    line-height: 1.8;
    margin-bottom: 14px;
}

.product-detail-section .product-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin-bottom: 16px;
}

.attribute-selector {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.attribute-selector label {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    margin-bottom: 0;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    min-width: 110px;
}

.size-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.size-option {
    padding: 10px 20px;
    border: 2px solid #e0e0e0;
    background: #fff;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    font-weight: 600;
    min-width: 56px;
    text-align: center;
}

.size-option:hover {
    border-color: #000;
}

.size-option.active {
    background: #000;
    color: #fff;
    border-color: #000;
}

.product-detail-section .color-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.product-detail-section .color-option {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s;
    position: relative;
}

.product-detail-section .color-option:hover {
    transform: scale(1.1);
}

.product-detail-section .color-option.active {
    border-color: #000;
    outline: 2px solid #000;
    outline-offset: 2px;
}

.product-detail-section .color-option.white {
    border: 2px solid #ccc;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
    padding: 14px 16px;
    background: #f8f9fa;
    border-radius: 12px;
}

.quantity-selector label {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 1px;
    color: #333;
    margin: 0;
}

.quantity-selector label {
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0;
}

.quantity-input-group {
    display: flex;
    width: 100px;
    height: 36px;
}

.quantity-input-group button {
    width: 32px;
    height: 36px;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-input-group button:hover {
    background: #f5f5f5;
    border-color: #000;
}

.quantity-input-group button:active {
    background: #e0e0e0;
}

.quantity-input-group input {
    flex: 1;
    width: 36px;
    height: 36px;
    text-align: center;
    border: 1px solid #ddd;
    border-left: none;
    border-right: none;
    font-size: 14px;
    font-weight: 600;
    outline: none;
    -moz-appearance: textfield;
}

.quantity-input-group input::-webkit-outer-spin-button,
.quantity-input-group input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.quantity-input-group input:focus {
    border-color: #000;
    background: #fafafa;
}

.btn-add-to-cart {
    padding: 15px 40px;
    background: #000;
    color: #fff;
    border: none;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s;
    margin-right: 15px;
}

.btn-add-to-cart:hover {
    background: #333;
    transform: translateY(-2px);
}

.btn-buy-now {
    padding: 15px 40px;
    background: transparent;
    color: #000;
    border: 2px solid #000;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.btn-buy-now:hover {
    background: #000;
    color: #fff;
}

.similar-products-section {
    margin-top: 80px;
    padding-top: 80px;
    border-top: 1px solid #e0e0e0;
}

.product-detail-section .product-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 0;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.product-detail-section .product-card:hover {
    border-color: #000;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.product-detail-section .product-card-image-wrapper {
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
    border-radius: 12px 12px 0 0;
}

.product-detail-section .product-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: all 0.4s;
}

.product-detail-section .product-card:hover img {
    opacity: 0.2;
    transform: scale(1.02);
}

.product-detail-section .product-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    opacity: 0;
    transition: all 0.3s;
}

.product-detail-section .product-card:hover .product-card-overlay {
    opacity: 1;
}

.product-detail-section .product-card-icon {
    width: 56px;
    height: 56px;
    background: #000;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 22px;
}

.product-detail-section .product-card-icon:hover {
    background: #fff;
    color: #000;
    transform: scale(1.1);
}

/* ============================================
   15. PRODUCT DETAIL PAGE STYLES (views/products/detail.php)
   ============================================ */
.product-detail-section {
    padding: 80px 0;
}

.product-gallery {
    position: relative;
}

.product-main-image {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 20px;
}

.product-thumbnails {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.product-thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.product-thumbnail:hover {
    border-color: #000;
    transform: scale(1.05);
}

.product-thumbnail.active {
    border: 2px solid #000 !important;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
}

.product-info h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.product-price {
    font-size: 2rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 30px;
}

.product-description {
    color: #666;
    line-height: 1.8;
    margin-bottom: 30px;
}

.attribute-selector {
    margin-bottom: 25px;
}

.attribute-selector label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.size-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.size-option {
    padding: 10px 20px;
    border: 2px solid #e0e0e0;
    background: #fff;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    font-weight: 600;
}

.size-option:hover {
    border-color: #000;
}

.size-option.active {
    background: #000;
    color: #fff;
    border-color: #000;
}

.color-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.color-option {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.color-option:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.color-option.active {
    border-color: #000;
    outline: 3px solid #000;
    outline-offset: 3px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.color-option.white {
    border: 2px solid #ccc;
}

/* Duplicate removed - using styles from first definition */

.btn-add-to-cart {
    padding: 15px 40px;
    background: #000;
    color: #fff;
    border: none;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s;
    margin-right: 15px;
}

.btn-add-to-cart:hover {
    background: #333;
    transform: translateY(-2px);
}

.btn-buy-now {
    padding: 15px 40px;
    background: transparent;
    color: #000;
    border: 2px solid #000;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.btn-buy-now:hover {
    background: #000;
    color: #fff;
}

.similar-products-section {
    margin-top: 80px;
    padding-top: 80px;
    border-top: 1px solid #e0e0e0;
}

/* ============================================
   16. LOGIN PAGE STYLES (views/login.php)
   ============================================ */
.login-page {
    min-height: calc(100vh - 120px);
    padding: 60px 20px 80px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 60px;
    width: 100%;
    max-width: 1100px;
    align-items: center;
}

.login-hero h1 {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 16px;
    letter-spacing: -1px;
    position: relative;
    display: inline-block;
    opacity: 0;
    transform: translateY(25px);
    animation: heroFloat 0.7s ease-out forwards;
}

.login-hero h1::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -12px;
    width: 100%;
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(90deg, #0f172a, #f97316);
    transform: scaleY(0);
    transform-origin: bottom;
    animation: underlineRise 0.6s ease-out forwards 0.2s;
}

.login-hero p {
    color: #64748b;
    font-size: 1rem;
    max-width: 380px;
}

.login-card {
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    padding: 48px 42px;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.08);
    background: #fff;
}

.login-card h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 32px;
}

.login-card .form-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 8px;
}

.login-card .form-control {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px 16px;
    font-size: 0.95rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.login-card .form-control:focus {
    border-color: #f97316;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.2);
}

.login-button {
    width: 100%;
    border: 2px solid #0f172a;
    border-radius: 999px;
    background: #fff;
    color: #0f172a;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 14px 18px;
    margin-top: 24px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.login-button:hover {
    transform: translateY(-1px);
    background: #0f172a;
    color: #fff;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.25);
}

.recaptcha-hint {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 16px;
}

.register-cta {
    text-align: center;
    margin-top: 18px;
    color: #475569;
    font-size: 0.85rem;
}

.register-cta span {
    display: block;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 6px;
}

.register-cta a {
    font-size: 0.9rem;
    font-weight: 600;
    color: #f97316;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.register-cta a:hover {
    color: #0f172a;
}

.forgot-link {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #0f172a;
    text-decoration: none;
    margin-top: 8px;
}

.forgot-link:hover {
    color: #f97316;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 24px;
    font-size: 0.9rem;
    color: #0f172a;
    text-decoration: none;
}

.back-link:hover {
    color: #f97316;
}

.login-card .alert {
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 0.9rem;
    margin-bottom: 16px;
}

@media (max-width: 768px) {
    .login-card {
        padding: 32px;
    }

    .login-page {
        padding-top: 40px;
    }
}

@keyframes underlineRise {
    0% {
        transform: scaleY(0);
    }

    100% {
        transform: scaleY(1);
    }
}

@keyframes heroFloat {
    0% {
        opacity: 0;
        transform: translateY(25px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   17. REGISTER PAGE STYLES (views/register.php)
   ============================================ */
.register-page {
    min-height: calc(100vh - 120px);
    padding: 60px 40px 90px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.register-grid {
    width: 100%;
    max-width: 1100px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 80px;
    align-items: center;
}

.register-hero h1 {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
    letter-spacing: -1px;
    position: relative;
    display: inline-block;
    opacity: 0;
    transform: translateY(25px);
    animation: heroFloat 0.7s ease-out forwards;
}

.register-hero h1::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -12px;
    width: 100%;
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(90deg, #0f172a, #f97316);
    transform: scaleY(0);
    transform-origin: bottom;
    animation: underlineRise 0.6s ease-out forwards 0.2s;
}

.register-form {
    width: 100%;
}

.register-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 6px;
}

.register-form input[type="text"],
.register-form input[type="email"],
.register-form input[type="password"],
.register-form input[type="date"],
.register-form input[type="tel"] {
    width: 100%;
    border: none;
    border-radius: 6px;
    background: #f1f5f9;
    height: 52px;
    padding: 0 18px;
    margin-bottom: 18px;
    font-size: 0.95rem;
}

.register-form input:focus {
    outline: 2px solid #f97316;
    background: #fff;
}

.gender-group {
    display: flex;
    gap: 30px;
    align-items: center;
    margin-bottom: 24px;
    color: #0f172a;
    font-size: 0.9rem;
}

.gender-group label {
    margin-bottom: 0;
    font-weight: 500;
}

.register-button {
    border: 2px solid #0f172a;
    border-radius: 999px;
    background: #fff;
    color: #0f172a;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 14px 28px;
    margin-top: 20px;
    text-transform: uppercase;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.register-button:hover {
    background: #0f172a;
    color: #fff;
    transform: translateY(-1px);
}

.register-form .recaptcha-hint {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: -10px;
    margin-bottom: 16px;
}

.register-form .back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 24px;
    font-size: 0.9rem;
    color: #0f172a;
    text-decoration: none;
}

.register-form .back-link:hover {
    color: #f97316;
}

@media (max-width: 768px) {
    .register-page {
        padding: 40px 20px 70px;
    }
}

/* ============================================
   18. CART PAGE STYLES (views/cart.php)
   ============================================ */
.cart-page {
    padding: 60px 0;
    min-height: 60vh;
}

.cart-header {
    margin-bottom: 40px;
    text-align: center;
}

.cart-title {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', Times, serif;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
}

.cart-table th {
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    padding: 20px;
    border-bottom: 2px solid #000;
    font-weight: 600;
    text-align: left;
}

.cart-table td {
    padding: 25px 20px;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}

.cart-product-img {
    width: 80px;
    height: 100px;
    object-fit: cover;
    margin-right: 20px;
}

.cart-product-name {
    font-weight: 600;
    margin-bottom: 5px;
    display: block;
    color: #000;
    text-decoration: none;
}

.qty-input-group {
    display: flex;
    align-items: center;
    border: 1px solid #000;
    width: fit-content;
    border-radius: 4px;
}

.qty-btn {
    background: #fff;
    border: none;
    padding: 5px 12px;
    cursor: pointer;
    color: #000;
    transition: all 0.3s;
    font-weight: 600;
}

.qty-btn:hover {
    background: #000;
    color: #fff;
}

.qty-input {
    width: 40px;
    text-align: center;
    border: none;
    font-weight: 600;
    appearance: none;
    -moz-appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.remove-btn {
    color: #666;
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    padding: 8px;
    border-radius: 4px;
}

.remove-btn:hover {
    color: #000;
    background: #f5f5f5;
}

.cart-page .coupon-section {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.cart-page .coupon-message {
    font-size: 0.85rem;
    margin-top: 8px;
}

.cart-page .coupon-message.success {
    color: #28a745;
}

.cart-page .coupon-message.error {
    color: #dc3545;
}

.coupon-item {
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid #ddd;
    margin-bottom: 8px;
    border-radius: 4px;
}

.coupon-item:hover {
    border-color: #000;
    background: #f8f9fa;
}

.coupon-item.selected {
    border-color: #28a745;
    background: #d4edda;
}

.cart-summary {
    background: #fafafa;
    padding: 30px;
    border-radius: 4px;
    margin-top: 20px;
    border: 1px solid #e0e0e0;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.summary-total {
    border-top: 2px solid #000;
    padding-top: 15px;
    margin-top: 15px;
    font-weight: 700;
    font-size: 1.2rem;
    color: #000;
}

.btn-checkout {
    display: block;
    width: 100%;
    background: #000;
    color: #fff;
    text-align: center;
    padding: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    text-decoration: none;
    margin-top: 20px;
    transition: all 0.3s;
}

.btn-checkout:hover {
    background: #333;
    color: #fff;
}

.empty-cart {
    text-align: center;
    padding: 60px 0;
}

.empty-cart i {
    font-size: 4rem;
    color: #999;
    margin-bottom: 20px;
}

.empty-cart h3 {
    color: #000;
    font-weight: 600;
}

.cart-item-checkbox {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

#selectAll,
#selectAllBottom {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

#checkoutBtn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #999 !important;
}

#deleteSelectedBtn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: #f5f5f5 !important;
    color: #999 !important;
    border-color: #ddd !important;
}

#deleteSelectedBtn:not(:disabled) {
    background: #000;
    color: #fff;
    border: 1px solid #000;
}

#deleteSelectedBtn:not(:disabled):hover {
    background: #1a1a1a;
    border-color: #1a1a1a;
}

.cart-page .btn-outline-danger {
    border-color: #000;
    color: #000;
}

.cart-page .btn-outline-danger:hover {
    background: #000;
    color: #fff;
    border-color: #000;
}

/* ============================================
   19. CHECKOUT PAGE STYLES (views/checkout.php)
   ============================================ */
.checkout-page {
    padding: 60px 0;
    min-height: 80vh;
    background-color: #f8f9fa;
}

.checkout-container {
    max-width: 1100px;
    margin: 0 auto;
}

.checkout-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 30px;
    height: 100%;
}

.checkout-title {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', Times, serif;
    font-size: 1.8rem;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.checkout-card .form-label {
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    color: #555;
}

.checkout-card .form-control {
    padding: 12px;
    border-radius: 4px;
    border: 1px solid #ddd;
}

.checkout-card .form-control:focus {
    border-color: #000;
    box-shadow: none;
}

.order-summary-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f5f5f5;
}

.order-img {
    width: 60px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 15px;
}

.order-info {
    flex: 1;
}

.order-name {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 4px;
    display: block;
}

.order-meta {
    font-size: 0.85rem;
    color: #777;
}

.order-price {
    font-weight: 700;
}

.checkout-total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.checkout-final-total {
    border-top: 2px solid #000;
    padding-top: 15px;
    margin-top: 15px;
    font-weight: 800;
    font-size: 1.3rem;
}

.btn-place-order {
    background: #000;
    color: #fff;
    width: 100%;
    padding: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    margin-top: 20px;
    transition: all 0.3s;
}

.btn-place-order:hover {
    background: #333;
    transform: translateY(-2px);
}

.checkout-page .coupon-section {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 4px;
    margin-bottom: 20px;
}

.checkout-page .coupon-message {
    font-size: 0.85rem;
    margin-top: 8px;
}

.checkout-page .coupon-message.success {
    color: #28a745;
}

.checkout-page .coupon-message.error {
    color: #dc3545;
}

#couponCode {
    text-transform: uppercase;
}

/* Address Management Styles */
.address-section {
    margin-bottom: 30px;
}

.address-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e2e8f0;
}

.address-header i {
    color: #000;
    font-size: 1.3rem;
}

.address-header h3 {
    color: #000;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: 0.5px;
}

.default-address-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.default-address-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.default-address-info {
    margin-bottom: 16px;
}

.default-address-name {
    font-weight: 700;
    font-size: 1.05rem;
    color: #000;
    margin-bottom: 6px;
    letter-spacing: 0.3px;
}

.default-address-phone {
    font-weight: 600;
    font-size: 0.95rem;
    color: #000;
    margin-bottom: 10px;
}

.default-address-detail {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.7;
}

.address-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
}

.badge-default {
    background: #000;
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    border: none;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.btn-change-address {
    color: #000;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.2s ease;
    letter-spacing: 0.3px;
}

.btn-change-address:hover {
    color: #333;
    text-decoration: underline;
}

/* Modal Styles */
.address-modal .modal-content {
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.15);
}

.address-modal .modal-header {
    border-bottom: 1px solid #e2e8f0;
    padding: 24px 28px;
    background: #f8fafc;
    border-radius: 16px 16px 0 0;
}

.address-modal .modal-title {
    font-weight: 700;
    font-size: 1.3rem;
    color: #000;
    letter-spacing: 0.5px;
}

.address-modal .modal-body {
    padding: 24px 28px;
    max-height: 70vh;
    overflow-y: auto;
    background: #fff;
}

.address-item-modal {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.address-item-modal:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.address-item-modal.selected {
    border-color: #000;
    background: #f8f9fa;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.address-radio {
    margin-right: 12px;
}

.address-radio input[type="radio"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.address-radio input[type="radio"]:checked {
    accent-color: #dc3545;
}

.address-content {
    flex: 1;
}

.address-content-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: #000;
    margin-bottom: 6px;
    letter-spacing: 0.3px;
}

.address-content-phone {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 8px;
    font-weight: 500;
}

.address-content-detail {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.6;
}

.address-update-link {
    color: #000;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: color 0.2s ease;
}

.address-update-link:hover {
    color: #333;
    text-decoration: underline;
}

.btn-add-address {
    width: 100%;
    border: 2px dashed #cbd5e1;
    background: #fff;
    color: #64748b;
    padding: 16px;
    border-radius: 12px;
    font-weight: 600;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    letter-spacing: 0.3px;
}

.btn-add-address:hover {
    border-color: #000;
    color: #000;
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.modal-footer-custom {
    border-top: 1px solid #e2e8f0;
    padding: 20px 28px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    background: #f8fafc;
    border-radius: 0 0 16px 16px;
}

.btn-cancel {
    background: #fff;
    border: 2px solid #cbd5e1;
    color: #64748b;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.2s ease;
    letter-spacing: 0.3px;
}

.btn-cancel:hover {
    border-color: #94a3b8;
    color: #475569;
    background: #fff;
}

.btn-confirm {
    background: #000;
    border: 2px solid #000;
    color: #fff;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.2s ease;
    letter-spacing: 0.3px;
}

.btn-confirm:hover {
    background: #333;
    border-color: #333;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Add/Edit Address Form */
.address-form-group {
    margin-bottom: 20px;
}

.address-form-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: #000;
    margin-bottom: 10px;
    display: block;
    letter-spacing: 0.3px;
}

.address-form-group .form-control,
.address-form-group .form-select {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px 16px;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.address-form-group .form-control:focus,
.address-form-group .form-select:focus {
    border-color: #000;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
    outline: none;
}

/* Address Search & Tabs Styles */
.address-search-wrapper {
    position: relative;
}

.address-search-input {
    padding-right: 80px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding-left: 16px;
    padding-top: 14px;
    padding-bottom: 14px;
}

.address-search-input:focus {
    border-color: #000;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
    outline: none;
}

.address-search-icon {
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    pointer-events: none;
}

.address-dropdown-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.address-dropdown-icon.active {
    transform: translateY(-50%) rotate(180deg);
}

.address-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    margin-top: 8px;
    max-height: 300px;
    overflow-y: auto;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
}

.address-search-results.show {
    display: block;
}

.address-search-result-item {
    padding: 12px 16px;
    cursor: pointer;
    transition: background 0.2s ease;
    border-bottom: 1px solid #f1f5f9;
}

.address-search-result-item:last-child {
    border-bottom: none;
}

.address-search-result-item:hover {
    background: #f8f9fa;
}

.address-search-result-item.selected {
    background: #e2e8f0;
}

.address-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
}

.address-tab {
    padding: 12px 20px;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    color: #64748b;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: 0.3px;
}

.address-tab:hover:not(:disabled) {
    color: #000;
    border-bottom-color: #cbd5e1;
}

.address-tab.active {
    color: #000;
    border-bottom-color: #000;
}

.address-tab:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.address-list {
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 8px;
    background: #fff;
}

.address-list-item {
    padding: 12px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 4px;
    color: #1e293b;
    font-size: 0.95rem;
}

.address-list-item:hover {
    background: #f8f9fa;
}

.address-list-item.selected {
    background: #000;
    color: #fff;
}

.selected-address-display {
    display: none;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 16px;
}

.selected-address-text {
    flex: 1;
    font-size: 0.9rem;
    color: #1e293b;
    font-weight: 500;
}

.btn-clear-address {
    background: transparent;
    border: none;
    color: #64748b;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.btn-clear-address:hover {
    background: #e2e8f0;
    color: #000;
}

.address-type-selector {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.address-type-btn {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    background: #fff;
    color: #64748b;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.address-type-btn:hover {
    border-color: #cbd5e1;
    color: #1e293b;
}

.address-type-btn.active {
    border-color: #000;
    background: #000;
    color: #fff;
}

@media (max-width: 768px) {
    .address-modal .modal-body {
        padding: 16px;
    }

    .address-tabs {
        flex-wrap: wrap;
    }

    .address-tab {
        padding: 8px 12px;
        font-size: 0.85rem;
    }
}

/* ============================================
   20. PROFILE PAGE STYLES (views/profile.php)
   ============================================ */
.profile-page {
    min-height: calc(100vh - 120px);
    padding: 60px 40px 90px;
    background: #fff;
}

.profile-container {
    max-width: 900px;
    margin: 0 auto;
}

.profile-header {
    margin-bottom: 2rem;
}

.profile-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.profile-header p {
    color: #64748b;
    font-size: 1rem;
}

.profile-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
}

.profile-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #f1f5f9;
}

.profile-card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

.profile-form {
    display: grid;
    gap: 1.5rem;
}

.profile-form .form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.profile-form .form-group {
    display: flex;
    flex-direction: column;
}

.profile-form .form-group.full-width {
    grid-column: 1 / -1;
}

.profile-form .form-label {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.profile-form .form-input {
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.2s;
}

.profile-form .form-input:focus {
    outline: none;
    border-color: #000;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.profile-form .gender-group {
    display: flex;
    gap: 2rem;
    margin-top: 0.5rem;
}

.profile-form .gender-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.profile-form .gender-option input[type="radio"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.profile-form .gender-option label {
    cursor: pointer;
    color: #64748b;
    font-weight: 500;
}

.profile-form .btn-submit {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    width: 100%;
    max-width: 200px;
}

.profile-form .btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.profile-form .btn-submit:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .profile-page {
        padding: 40px 20px;
    }

    .profile-form .form-row {
        grid-template-columns: 1fr;
    }

    .profile-card {
        padding: 1.5rem;
    }
}

/* ============================================
   21. ORDERS HISTORY PAGE STYLES (views/orders/history.php)
   ============================================ */
.orders-page {
    padding: 60px 0;
    min-height: 70vh;
}

.order-card {
    border-radius: 12px;
    border: 1px solid #f0f0f0;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.order-card:hover {
    border-color: #000;
    transition: border-color 0.2s ease;
}

.order-code {
    font-weight: 700;
    letter-spacing: 0.5px;
}

.order-meta {
    font-size: 0.9rem;
    color: #666;
}

.order-actions .btn {
    min-width: 160px;
}

/* ============================================
   22. ORDER DETAIL PAGE STYLES (views/orders/detail.php)
   ============================================ */
.order-detail-page {
    padding: 60px 0;
}

.order-summary-card,
.order-items-card {
    border-radius: 12px;
    border: 1px solid #f0f0f0;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.status-steps {
    list-style: none;
    padding: 0;
    margin: 0;
}

.status-steps li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #d1d5db;
    margin-right: 10px;
}

.status-dot.active {
    background: #000;
}

/* ============================================
   23. POSTS/NEWS PAGE STYLES (views/posts/index.php)
   ============================================ */
.news-page {
    padding: 60px 0;
    min-height: 60vh;
}

.news-header {
    margin-bottom: 40px;
    text-align: center;
}

.news-title {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', Times, serif;
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #000;
}

.news-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 0;
    text-align: left;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: none;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    border-color: #000;
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.news-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: all 0.4s;
}

.news-card:hover img {
    transform: scale(1.05);
}

.news-card-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-card-date {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 10px;
}

.news-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #000;
    line-height: 1.4;
}

.news-card-excerpt {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    flex: 1;
    margin-bottom: 15px;
}

.news-card-link {
    color: #000;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s;
}

.news-card-link:hover {
    color: #333;
    gap: 10px;
}

.news-page .pagination {
    margin-top: 40px;
    justify-content: center;
}

.news-page .pagination .page-link {
    color: #000;
    border-color: #000;
    padding: 10px 15px;
}

.news-page .pagination .page-item.active .page-link {
    background: #000;
    border-color: #000;
    color: #fff;
}

.news-page .pagination .page-link:hover {
    background: #f5f5f5;
    border-color: #000;
}

/* ============================================
   24. RESET PASSWORD PAGE STYLES (views/reset-password.php)
   ============================================ */
.reset-page {
    min-height: calc(100vh - 120px);
    padding: 60px 20px 80px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reset-grid {
    width: 100%;
    max-width: 1000px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 70px;
    align-items: center;
}

.reset-hero h1 {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
    letter-spacing: -1px;
    position: relative;
    display: inline-block;
    opacity: 0;
    transform: translateY(25px);
    animation: heroFloat 0.7s ease-out forwards;
}

.reset-hero h1::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -12px;
    width: 100%;
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(90deg, #0f172a, #f97316);
    transform: scaleY(0);
    transform-origin: bottom;
    animation: underlineRise 0.6s ease-out forwards 0.2s;
}

.reset-card {
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    padding: 48px 42px;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.08);
    background: #fff;
}

.reset-card h2 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 24px;
}

.reset-card .form-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 6px;
}

.reset-card .form-control {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px 16px;
    font-size: 0.95rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.reset-card .form-control:focus {
    border-color: #f97316;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.2);
}

.reset-button {
    width: 100%;
    border: 2px solid #0f172a;
    border-radius: 999px;
    background: #fff;
    color: #0f172a;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 14px 18px;
    margin-top: 20px;
    text-transform: uppercase;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.reset-button:hover {
    transform: translateY(-1px);
    background: #0f172a;
    color: #fff;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.25);
}

.reset-card .back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 20px;
    font-size: 0.9rem;
    color: #0f172a;
    text-decoration: none;
}

.reset-card .back-link:hover {
    color: #f97316;
}

@media (max-width: 768px) {
    .reset-card {
        padding: 32px;
    }
}

/* ============================================
   25. FORGOT PASSWORD PAGE STYLES (views/forgot-password.php)
   ============================================ */
.forgot-page {
    min-height: calc(100vh - 120px);
    padding: 60px 40px 90px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.forgot-grid {
    width: 100%;
    max-width: 1000px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 80px;
    align-items: center;
}

.forgot-hero h1 {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
    letter-spacing: -1px;
    position: relative;
    display: block;
    width: 100%;
    opacity: 0;
    transform: translateY(25px);
    animation: heroFloat 0.7s ease-out forwards;
}

.forgot-hero h1::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -12px;
    width: 100%;
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(90deg, #0f172a, #f97316);
    transform: scaleY(0);
    transform-origin: bottom;
    animation: underlineRise 0.6s ease-out forwards 0.2s;
}

.forgot-card {
    width: 100%;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    padding: 52px 44px;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.08);
    background: #fff;
}

.forgot-card h2 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 18px;
}

.forgot-card label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 8px;
}

.forgot-card input[type="email"] {
    width: 100%;
    border: none;
    border-radius: 12px;
    background: #f1f5f9;
    height: 54px;
    padding: 0 18px;
    font-size: 0.95rem;
}

.forgot-card input:focus {
    outline: 2px solid #f97316;
    background: #fff;
}

.forgot-button {
    width: 100%;
    border: 2px solid #0f172a;
    border-radius: 999px;
    background: #fff;
    color: #0f172a;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 14px 28px;
    margin-top: 22px;
    text-transform: uppercase;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.forgot-button:hover {
    background: #0f172a;
    color: #fff;
    transform: translateY(-1px);
}

.forgot-card .recaptcha-hint {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 16px;
}

.forgot-card .back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 24px;
    font-size: 0.9rem;
    color: #0f172a;
    text-decoration: none;
}

.forgot-card .back-link:hover {
    color: #f97316;
}

@media (max-width: 768px) {
    .forgot-page {
        padding: 40px 20px 70px;
    }

    .forgot-card {
        padding: 36px;
    }
}

/* ============================================
   26. ADMIN COUPONS PAGE STYLES (views/admin/coupons/index.php)
   ============================================ */
.coupons-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 2rem;
    color: #fff;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.coupons-header h2 {
    margin: 0;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.coupons-header .icon-wrapper {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.admin-table {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.admin-table .table {
    margin: 0;
}

.admin-table .table thead {
    background: #f8f9fa;
}

.admin-table .table thead th {
    border: none;
    padding: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    color: #495057;
}

.admin-table .table tbody td {
    padding: 1rem;
    vertical-align: middle;
    border-top: 1px solid #f0f0f0;
}

.admin-table .badge {
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.75rem;
}

.admin-table .btn-sm {
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
}

.admin-table .empty-state {
    text-align: center;
    padding: 3rem;
    color: #999;
}

.admin-table .empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.coupons-header+.modal .modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
}

.coupons-header+.modal .modal-header .btn-close {
    filter: brightness(0) invert(1);
}

/* ============================================
   27. ADMIN USERS PAGE STYLES (views/admin/users/index.php)
   ============================================ */
.users-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 2rem;
    color: #fff;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.users-header h2 {
    margin: 0;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.users-header .icon-wrapper {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.users-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.users-stats .stat-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s, box-shadow 0.2s;
}

.users-stats .stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.users-stats .stat-card .stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0.5rem 0;
}

.users-stats .stat-card .stat-label {
    color: #64748b;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.users-stats .stat-card .stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.users-stats .stat-card.total .stat-icon {
    background: #dbeafe;
    color: #3b82f6;
}

.users-stats .stat-card.admin .stat-icon {
    background: #fee2e2;
    color: #ef4444;
}

.users-stats .stat-card.user .stat-icon {
    background: #dbeafe;
    color: #3b82f6;
}

.users-stats .stat-card.verified .stat-icon {
    background: #d1fae5;
    color: #10b981;
}

.admin-table table {
    margin: 0;
}

.admin-table thead {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.admin-table th {
    font-weight: 600;
    color: #1e293b;
    border-bottom: 2px solid #e2e8f0;
    padding: 1.25rem 1rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-table tbody tr {
    transition: all 0.2s;
    border-bottom: 1px solid #f1f5f9;
}

.admin-table tbody tr:hover {
    background: #f8fafc;
    transform: scale(1.01);
}

.admin-table tbody tr:last-child {
    border-bottom: none;
}

.admin-table td {
    padding: 1.25rem 1rem;
    vertical-align: middle;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    font-size: 0.875rem;
    margin-right: 0.75rem;
}

.user-info {
    display: flex;
    align-items: center;
}

.user-name {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.user-email {
    font-size: 0.875rem;
    color: #64748b;
}

.role-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.role-badge.user {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #fff;
}

.role-badge.admin {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #fff;
}

.btn-delete {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #fff;
    border: none;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 2px 4px rgba(239, 68, 68, 0.3);
}

.btn-delete:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(239, 68, 68, 0.4);
}

.current-user-badge {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.admin-table .empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: #94a3b8;
}

.admin-table .empty-state i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* ============================================
   28. ADMIN DASHBOARD PAGE STYLES (views/admin/dashboard/index.php)
   ============================================ */
.admin-dashboard {
    padding: 2rem;
    background: #f5f5f5;
    min-height: 100vh;
}

.admin-banner {
    background: #1e3a8a;
    color: white;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.admin-banner-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.admin-banner-icon {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1e3a8a;
    font-size: 1.5rem;
    font-weight: bold;
}

.admin-banner-title {
    font-size: 2rem;
    font-weight: bold;
    margin: 0;
}

.admin-banner-desc {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
    margin-top: 0.5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stats-grid .stat-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.stats-grid .stat-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.stats-grid .stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #1e293b;
    margin: 0;
}

.stats-grid .stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.stats-grid .stat-icon.blue {
    background: #000;
}

.stats-grid .stat-icon.green {
    background: #10b981;
}

.stats-grid .stat-icon.red {
    background: #ef4444;
}

.stats-grid .stat-icon.orange {
    background: #f97316;
}

.stats-grid .stat-label {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0;
    font-weight: 500;
}

.management-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.management-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

.management-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    color: inherit;
}

.management-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.management-icon {
    width: 60px;
    height: 60px;
    background: #f97316;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
}

.management-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1e293b;
    margin: 0;
}

.management-desc {
    font-size: 0.95rem;
    color: #64748b;
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 1200px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .admin-dashboard {
        padding: 1rem;
    }

    .admin-banner {
        flex-direction: column;
        text-align: center;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .management-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   29. ADMIN STATISTICS PAGE STYLES (views/admin/statistics/index.php)
   ============================================ */
.statistics-page {
    padding: 2rem;
    background: #f5f5f5;
    min-height: 100vh;
}

.page-header {
    margin-bottom: 2rem;
}

.page-title {
    font-size: 2rem;
    font-weight: bold;
    color: #1e293b;
    margin: 0 0 0.5rem 0;
}

.page-subtitle {
    color: #64748b;
    margin: 0;
}

.stats-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stats-cards .stat-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.stats-cards .stat-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.stats-cards .stat-label {
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 500;
}

.stats-cards .stat-value {
    font-size: 2rem;
    font-weight: bold;
    color: #1e293b;
    margin: 0.5rem 0;
}

.stats-cards .stat-change {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
}

.stats-cards .stat-change.up {
    color: #10b981;
}

.stats-cards .stat-change.down {
    color: #ef4444;
}

.charts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.chart-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.chart-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

.chart-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1e293b;
}

.chart-container {
    position: relative;
    height: 300px;
}

.orders-section {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

.search-box {
    padding: 0.5rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    width: 300px;
}

.orders-table {
    width: 100%;
    border-collapse: collapse;
}

.orders-table th {
    text-align: left;
    padding: 1rem;
    border-bottom: 2px solid #f1f5f9;
    color: #64748b;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
}

.orders-table td {
    padding: 1rem;
    border-bottom: 1px solid #f8fafc;
}

.orders-table tbody tr:hover {
    background: #f8fafc;
}

.statistics-page .empty-state {
    text-align: center;
    padding: 3rem;
    color: #94a3b8;
}

.pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f1f5f9;
}

.pagination-info {
    color: #64748b;
    font-size: 0.875rem;
}

.pagination-buttons {
    display: flex;
    gap: 0.5rem;
}

.pagination-btn {
    padding: 0.5rem 1rem;
    border: 1px solid #e2e8f0;
    background: white;
    border-radius: 6px;
    cursor: pointer;
    color: #000;
}

.pagination-btn:hover {
    background: #f8fafc;
    border-color: #000;
    color: #000;
}

.pagination-btn.active {
    background: #000;
    color: white;
    border-color: #000;
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ============================================
   30. ADMIN COUPONS TRASH PAGE STYLES (views/admin/coupons/trash.php)
   ============================================ */
.trash-header {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    border-radius: 16px;
    padding: 2rem;
    color: #fff;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(220, 53, 69, 0.3);
}

.trash-header h2 {
    margin: 0;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.trash-header .icon-wrapper {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* ============================================
   31. ADMIN ORDERS PAGE STYLES (views/admin/orders/index.php)
   ============================================ */
.admin-orders-page {
    padding: 50px 0;
}

.admin-card {
    border-radius: 16px;
    border: 1px solid #efefef;
    padding: 30px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.05);
}

/* ============================================
   PAGINATION OVERRIDES - BLACK/WHITE THEME
   ============================================ */
/* Bootstrap Pagination Override - Black/White Theme */
.pagination .page-link {
    color: #000;
    border-color: #000;
    background-color: #fff;
}

.pagination .page-link:hover {
    color: #000;
    background-color: #f5f5f5;
    border-color: #000;
}

.pagination .page-item.active .page-link {
    background-color: #000;
    border-color: #000;
    color: #fff;
}

.pagination .page-item.disabled .page-link {
    color: #6c757d;
    border-color: #dee2e6;
    background-color: #fff;
    cursor: not-allowed;
}

/* ============================================
   COLLECTION PAGE - MODERN & CENTERED DESIGN
   ============================================ */
.collection-page {
    background: #fff;
    min-height: 80vh;
    padding: 3rem 0;
}

.collection-page .container {
    max-width: 1400px;
    margin: 0 auto;
}

.collection-page .text-center {
    text-align: center;
    margin-bottom: 3rem;
}

.collection-page .display-4 {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    color: #000;
    margin-bottom: 1rem;
}

.collection-page .lead {
    font-size: 1.25rem;
    color: #666;
    font-weight: 300;
}

.collection-section {
    margin-bottom: 4rem;
    animation: fadeInUp 0.6s ease-out;
}

.collection-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #e9ecef;
    position: relative;
}

.collection-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: #000;
}

.collection-title {
    font-size: 2rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.collection-description {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.collection-link {
    color: #000;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    padding: 0.75rem 1.5rem;
    border: 2px solid #000;
    border-radius: 30px;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 1px;
}

.collection-link:hover {
    background: #000;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.collection-product-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f0f0f0;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    max-width: 100%;
}

.collection-product-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: #000;
}

.product-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 120%;
    overflow: hidden;
    background: #f8f9fa;
    display: block;
}

.product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 100%;
    max-height: 100%;
}

.product-image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 3rem;
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.collection-product-card:hover .product-overlay {
    opacity: 1;
}

.collection-product-card:hover .product-image {
    transform: scale(1.1);
}

.view-product-btn {
    color: #fff;
    background: #000;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 2px solid #000;
}

.view-product-btn:hover {
    background: #fff;
    color: #000;
    transform: scale(1.05);
}

.product-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
}

.product-name {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
    line-height: 1.5;
    color: #212529;
}

.product-name a {
    color: #212529;
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-name a:hover {
    color: #000;
}

.product-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #000;
    letter-spacing: -0.5px;
}

@media (max-width: 768px) {
    .collection-page {
        padding: 2rem 0;
    }

    .collection-page .display-4 {
        font-size: 2.5rem;
    }

    .collection-title {
        font-size: 1.75rem;
    }

    .collection-section {
        margin-bottom: 3rem;
    }

    .collection-product-card {
        margin-bottom: 1.5rem;
    }

    .product-info {
        padding: 1.25rem;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   COUPON SECTION - ENHANCED & PROMINENT
   ============================================ */
.coupon-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 2px solid #000;
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1.25rem;
    position: relative;
    overflow: hidden;
}

.coupon-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #000 0%, #333 50%, #000 100%);
}

.coupon-section h5 {
    color: #000;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.coupon-section h5::before {
    content: '🎁';
    font-size: 1.25rem;
}

/* Best Coupon Suggestion Box */
#bestCouponSuggestionInBox {
    background: linear-gradient(135deg, #fff9e6 0%, #fffbf0 100%);
    border: 2px solid #000;
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1rem;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

#bestCouponSuggestionInBox .badge {
    background: #000 !important;
    color: #fff !important;
    font-size: 0.7rem;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 600;
}

#bestCouponSuggestionInBox strong {
    color: #000;
    font-size: 1.1rem;
    font-weight: 700;
}

#bestCouponDiscountInBox {
    color: #000;
    font-size: 1.1rem;
    font-weight: 700;
}

/* Coupon Input Group */
.coupon-section .input-group {
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #000;
}

.coupon-section .form-control {
    border: none;
    padding: 0.75rem 1.25rem;
    font-weight: 600;
    letter-spacing: 1px;
    min-width: 0;
    /* cho phép input co lại đúng cách */
}

.coupon-section .form-control:focus {
    outline: none;
    box-shadow: none;
    border-color: transparent;
}

.coupon-section .btn-outline-dark {
    border: none;
    background: #000;
    color: #fff;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.coupon-section .btn-outline-dark:hover {
    background: #333;
    color: #fff;
    transform: scale(1.02);
}

/* Available Coupons List */
#availableCouponsList {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-height: 400px;
    overflow-y: auto;
}

#availableCouponsList .list-group-item {
    background: #fff;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    min-height: auto;
    word-wrap: break-word;
    overflow: visible;
}

#availableCouponsList .list-group-item:hover {
    border-color: #000;
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.coupon-item {
    background: #fff;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    word-wrap: break-word;
    overflow: visible;
}

.coupon-item:hover {
    border-color: #000;
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Applied Coupon Display */
#appliedCouponDisplay {
    background: linear-gradient(135deg, #f0f0f0 0%, #ffffff 100%);
    border: 2px solid #000;
    border-radius: 12px;
    padding: 1.25rem;
    position: relative;
}

#appliedCouponDisplay::before {
    content: '✓';
    position: absolute;
    top: -12px;
    left: 20px;
    background: #000;
    color: #fff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
}

#appliedCouponCode {
    color: #000;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1px;
}

#appliedCouponDiscount {
    color: #000;
    font-weight: 600;
    font-size: 0.95rem;
}

/* Checkout Coupon Section */
.checkout .coupon-section {
    background: linear-gradient(135deg, #f0f0f0 0%, #ffffff 100%);
    border: 2px solid #000;
    border-radius: 12px;
    padding: 1.5rem;
}

.checkout .coupon-section label {
    color: #000;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.checkout .coupon-section strong {
    color: #000;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.checkout .coupon-section .text-end div {
    color: #000;
    font-weight: 700;
    font-size: 1.25rem;
}

/* Coupon Message */
#couponMessage {
    font-size: 0.875rem;
    font-weight: 500;
    margin-top: 0.5rem;
}

.coupon-message.success {
    color: #000;
    font-weight: 600;
}

.coupon-message.error {
    color: #dc3545;
    font-weight: 600;
}

/* Empty Collection Icon */
.empty-collection-icon {
    font-size: 4rem;
    color: #999;
}

/* Cart Table Styles */
.cart-checkbox-col {
    width: 40px;
}

.cart-product-col {
    width: 50%;
}

/* Coupon Display States */
.coupon-display-none {
    display: none;
}

.coupon-display-block {
    display: block !important;
}

.coupon-input-uppercase {
    text-transform: uppercase !important;
}

.coupon-badge-small {
    font-size: 0.7rem !important;
    padding: 2px 6px !important;
}

.coupon-item-flex {
    flex: 1;
}

/* Hiển thị số lượng đơn giản - chỉ để xem, không cho chỉnh sửa */
.qty-display {
    display: inline-block;
    font-weight: 600;
    font-size: 1rem;
    padding: 8px 12px;
    min-width: 50px;
    text-align: center;
}

/* Căn chỉnh chữ "đ" với số giá - đảm bảo chữ "đ" nằm cùng baseline với số */
.cart-table td {
    font-variant-numeric: tabular-nums;
}

/* Discount Amount */
.discount-amount {
    color: #000;
    font-weight: 700;
}

/* Checkout Applied Coupon */
.checkout-applied-coupon {
    background: linear-gradient(135deg, #f0f0f0 0%, #ffffff 100%);
    border: 2px solid #000;
}

.checkout-applied-coupon-label {
    color: #000;
    font-weight: 600;
}

.checkout-applied-coupon-code {
    color: #000;
    font-size: 1.25rem;
    font-weight: 800;
}

.checkout-applied-coupon-amount {
    color: #000;
    font-weight: 700;
    font-size: 1.1rem;
}

.checkout-discount-amount {
    color: #000;
    font-weight: 600;
}

/* ============================================
   CONTACT PAGE STYLES
   ============================================ */
.contact-page {
    background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
    min-height: 80vh;
}

.contact-info-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #000 0%, #333 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-details h5 {
    font-size: 1rem;
    color: #212529;
}

.contact-form-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
}

.contact-form-card .form-control,
.contact-form-card .form-select {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.contact-form-card .form-control:focus,
.contact-form-card .form-select:focus {
    border-color: #000;
    box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.1);
}

.contact-form-card .btn-dark {
    background: #000;
    border: none;
    border-radius: 8px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-form-card .btn-dark:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.social-links-contact {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #212529;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.25rem;
}

.social-link:hover {
    background: #000;
    color: #fff;
    transform: translateY(-3px);
}

.map-section {
    margin-top: 4rem;
}

.map-placeholder {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.map-placeholder iframe {
    border-radius: 12px;
}

@media (max-width: 768px) {
    .contact-page {
        padding: 2rem 0;
    }

    .contact-info-card,
    .contact-form-card {
        margin-bottom: 2rem;
    }
}

/* ============================================
   ORDER DETAIL - REVIEW STYLES
   ============================================ */
.rating-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 5px;
}

.rating-input input[type="radio"] {
    display: none;
}

.rating-input .star-label {
    cursor: pointer;
    font-size: 24px;
    color: #ddd;
    transition: color 0.2s;
}

.rating-input input[type="radio"]:checked~.star-label,
.rating-input .star-label:hover,
.rating-input .star-label:hover~.star-label {
    color: #ffc107;
}

.review-form-container {
    border-left: 3px solid #000;
}

.review-submitted {
    border-left: 3px solid #000;
}

/* Responsive */
@media (max-width: 768px) {
    .coupon-section {
        padding: 1.25rem;
    }

    .coupon-section h5 {
        font-size: 0.8rem;
    }

    #bestCouponSuggestionInBox {
        padding: 1rem;
    }
}

/* ============================================
   RESPONSIVE STYLES FOR ALL PAGES
   Admin & User Interface
   ============================================ */

/* ============================================
   ADMIN LAYOUT RESPONSIVE
   ============================================ */

/* Tablet và nhỏ hơn - Ẩn sidebar, hiển thị menu toggle */
@media (max-width: 992px) {
    .admin-menu-toggle {
        display: none;
        background: none;
        border: none;
        color: #fff;
        font-size: 1.5rem;
        cursor: pointer;
        margin-right: 1rem;
        padding: 0.5rem;
    }

    .admin-menu-toggle:hover {
        opacity: 0.8;
    }

    .admin-sidebar {
        position: fixed;
        left: -260px;
        top: 60px;
        z-index: 1000;
        transition: left 0.3s ease;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    }

    .admin-sidebar.show {
        left: 0;
    }

    .admin-content {
        margin-left: 0;
        padding: 1.5rem 1rem;
    }

    .admin-header {
        padding: 1rem;
        position: relative;
    }

    /* Overlay khi sidebar mở */
    .admin-sidebar-overlay {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }

    .admin-sidebar-overlay.show {
        display: block;
    }
}

/* Mobile - Cải thiện spacing và font size */
@media (max-width: 768px) {
    .admin-header {
        padding: 0.75rem 1rem;
    }

    .admin-header h5 {
        font-size: 1rem;
    }

    .admin-content {
        padding: 1rem 0.75rem;
    }

    .admin-sidebar {
        width: 240px;
    }

    .admin-sidebar .brand {
        padding: 0 1.5rem 1.5rem;
        font-size: 1.2rem;
    }

    .admin-sidebar .nav-item {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    /* Admin tables responsive */
    .admin-table {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .admin-table table {
        min-width: 800px;
    }

    /* Cards responsive */
    .card {
        margin-bottom: 1rem;
    }

    /* Form responsive */
    .form-row,
    .row.g-3,
    .row.g-4 {
        margin-left: -0.5rem;
        margin-right: -0.5rem;
    }

    .form-row>*,
    .row.g-3>*,
    .row.g-4>* {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
}

/* ============================================
   USER PAGES RESPONSIVE
   ============================================ */

/* Orders History Page */
@media (max-width: 768px) {
    .orders-page {
        padding: 40px 0;
    }

    .order-card {
        padding: 1rem;
        margin-bottom: 1rem;
    }

    .order-card .row {
        margin: 0;
    }

    .order-card .col-md-3,
    .order-card .col-md-2 {
        margin-bottom: 1rem;
        text-align: left !important;
    }

    .order-actions {
        text-align: left !important;
        margin-top: 1rem;
    }

    .order-actions .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    /* Order items preview */
    .order-items-preview .row {
        margin: 0;
    }

    .order-items-preview .col-md-6,
    .order-items-preview .col-lg-4 {
        margin-bottom: 0.75rem;
    }
}

/* Order Detail Page */
@media (max-width: 992px) {
    .order-detail-page .row {
        margin: 0;
    }

    .order-detail-page .col-lg-4,
    .order-detail-page .col-lg-8 {
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .order-detail-page {
        padding: 1rem 0;
    }

    .order-summary-card,
    .order-items-card {
        padding: 1rem;
        margin-bottom: 1rem;
    }

    /* Status timeline */
    .status-timeline {
        font-size: 0.85rem;
    }

    .status-step-item {
        margin-bottom: 0.75rem;
    }

    /* Review form */
    .review-form-container {
        padding: 1rem !important;
    }

    .review-form-container h6 {
        font-size: 1rem;
    }

    /* Table responsive */
    .order-items-card .table-responsive {
        font-size: 0.85rem;
    }

    .order-items-card .table td,
    .order-items-card .table th {
        padding: 0.5rem;
    }

    /* Product image in table */
    .order-items-card .table td img {
        width: 50px !important;
        height: 50px !important;
    }
}

/* Cart Page */
@media (max-width: 768px) {
    .cart-page {
        padding: 1rem 0;
    }

    .cart-item {
        flex-direction: column;
        padding: 1rem;
    }

    .cart-item-image {
        width: 100%;
        margin-bottom: 1rem;
    }

    .cart-item-details {
        width: 100%;
    }

    .cart-summary {
        margin-top: 2rem;
        position: sticky;
        bottom: 0;
        background: #fff;
        padding: 1rem;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    }
}

/* Checkout Page */
@media (max-width: 768px) {
    .checkout-page {
        padding: 1rem 0;
    }

    .checkout-form .row {
        margin: 0;
    }

    .checkout-summary {
        margin-top: 2rem;
        position: sticky;
        bottom: 0;
        background: #fff;
        padding: 1rem;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    }

    .address-card {
        padding: 1rem;
        margin-bottom: 1rem;
    }
}

/* Products Page */
@media (max-width: 768px) {
    .products-page {
        padding: 1rem 0;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem;
    }

    .product-card {
        margin-bottom: 1rem;
    }

    .product-filters {
        margin-bottom: 1rem;
    }

    .product-filters .card {
        margin-bottom: 1rem;
    }
}

/* Product Detail Page */
@media (max-width: 768px) {
    .product-detail-page {
        padding: 1rem 0;
    }

    .product-images {
        margin-bottom: 2rem;
    }

    .product-info {
        padding: 1rem;
    }

    .product-variants {
        margin: 1rem 0;
    }

    .product-actions {
        flex-direction: column;
    }

    .product-actions .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

/* ============================================
   ADMIN TABLES RESPONSIVE
   ============================================ */

@media (max-width: 992px) {
    .admin-table {
        overflow-x: auto;
    }

    .admin-table table {
        min-width: 800px;
        font-size: 0.9rem;
    }

    .admin-table th,
    .admin-table td {
        padding: 0.75rem 0.5rem;
        white-space: nowrap;
    }

    /* Reviews table */
    .admin-table .comment-preview,
    .admin-table .reply-preview {
        max-width: 150px !important;
    }
}

@media (max-width: 768px) {
    .admin-table table {
        min-width: 1000px;
        font-size: 0.85rem;
    }

    .admin-table th,
    .admin-table td {
        padding: 0.5rem 0.25rem;
        font-size: 0.8rem;
    }

    /* Button groups responsive */
    .btn-group-sm {
        flex-direction: column;
    }

    .btn-group-sm .btn {
        width: 100%;
        margin-bottom: 0.25rem;
    }
}

/* ============================================
   ADMIN FORMS RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .admin-form .row {
        margin: 0;
    }

    .admin-form .col-md-6,
    .admin-form .col-md-4,
    .admin-form .col-md-3 {
        margin-bottom: 1rem;
    }

    .admin-form .form-label {
        font-size: 0.9rem;
    }

    .admin-form .form-control,
    .admin-form .form-select {
        font-size: 0.9rem;
    }

    .admin-form .btn-group {
        flex-direction: column;
        width: 100%;
    }

    .admin-form .btn-group .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

/* ============================================
   HEADER & NAVIGATION RESPONSIVE
   ============================================ */

@media (max-width: 576px) {
    .header-container {
        padding: 0.5rem 0.75rem;
        flex-wrap: wrap;
    }

    .navbar-brand {
        margin-right: 0.5rem;
    }

    .logo-image {
        height: 40px;
    }

    .logo-text {
        font-size: 1.5rem;
    }

    .nav {
        order: 3;
        width: 100%;
        margin-top: 0.5rem;
        flex-wrap: wrap;
        gap: 0.5rem !important;
    }

    .nav a {
        font-size: 0.65rem;
        padding: 0.25rem 0.5rem;
    }

    .header-icons {
        gap: 0.5rem !important;
    }

    .header-search-wrapper.show {
        width: 100%;
        max-width: 100%;
        margin-right: 0;
        margin-top: 0.5rem;
        order: 4;
    }
}

/* ============================================
   MODAL RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .modal-dialog {
        margin: 0.5rem;
    }

    .modal-dialog.modal-lg {
        max-width: calc(100% - 1rem);
    }

    .modal-content {
        border-radius: 8px;
    }

    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 1rem;
    }

    .modal-title {
        font-size: 1.1rem;
    }
}

/* ============================================
   TOAST NOTIFICATIONS RESPONSIVE
   ============================================ */

@media (max-width: 576px) {
    #toastContainer {
        left: 0.5rem !important;
        right: 0.5rem !important;
        padding: 0.5rem !important;
    }

    .toast {
        width: 100%;
        max-width: 100%;
    }

    .toast-header {
        font-size: 0.9rem;
    }

    .toast-body {
        font-size: 0.85rem;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

/* Hide on mobile */
@media (max-width: 768px) {
    .hide-mobile {
        display: none !important;
    }
}

/* Show only on mobile */
.show-mobile {
    display: none !important;
}

@media (max-width: 768px) {
    .show-mobile {
        display: block !important;
    }
}

/* Text alignment responsive */
@media (max-width: 768px) {
    .text-md-end {
        text-align: left !important;
    }

    .text-md-center {
        text-align: center !important;
    }

    .text-md-start {
        text-align: left !important;
    }
}

/* Button groups responsive */
@media (max-width: 576px) {
    .btn-group {
        flex-direction: column;
        width: 100%;
    }

    .btn-group .btn {
        width: 100%;
        margin-bottom: 0.5rem;
        border-radius: 0.375rem !important;
    }
}

/* Reviews admin table responsive */
@media (max-width: 992px) {

    .admin-reviews-table .comment-preview,
    .admin-reviews-table .reply-preview {
        max-width: 200px !important;
    }
}

@media (max-width: 768px) {

    .admin-reviews-table .comment-preview,
    .admin-reviews-table .reply-preview {
        max-width: 150px !important;
        font-size: 0.8rem;
    }

    .admin-reviews-table .review-images-preview img {
        width: 40px !important;
        height: 40px !important;
    }
}

/* Admin orders table responsive */
@media (max-width: 768px) {
    .admin-orders-table {
        font-size: 0.8rem;
    }

    .admin-orders-table .badge {
        font-size: 0.7rem;
        padding: 0.25rem 0.5rem;
    }
}

/* Admin statistics responsive */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem;
    }

    .stat-card {
        padding: 1rem;
    }
}

/* Checkout form responsive */
@media (max-width: 576px) {
    .checkout-form .form-group {
        margin-bottom: 1rem;
    }

    .checkout-form .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

/* Product grid responsive */
@media (max-width: 576px) {
    .products-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Home page hero responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem !important;
    }

    .hero-description {
        font-size: 0.9rem !important;
    }
}

/* Collection page responsive */
@media (max-width: 768px) {
    .collection-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Contact page responsive */
@media (max-width: 768px) {
    .contact-form {
        padding: 1rem;
    }

    .contact-info {
        margin-top: 2rem;
    }
}

/* Profile page responsive */
@media (max-width: 768px) {
    .profile-page {
        padding: 1rem 0;
    }

    .profile-sidebar {
        margin-bottom: 2rem;
    }

    .profile-content {
        padding: 1rem;
    }
}

/* ============================================
   MODAL FIX - Prevent Overflow
   ============================================ */

/* Quick Add Modal - Fix overflow issue */
/* Product modal (new) */
#productModal .modal-dialog {
    max-width: 1400px;
    width: min(100vw, 1400px);
    margin: 0 auto;
    min-height: calc(100vh - 2rem);
    padding: 0 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pm-modal {
    background: #fff;
    border-radius: 14px;
    width: 100%;
    height: 100%;
}

.pm-left {
    background: #f6f7f9;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    min-height: 500px;
    overflow: hidden;
    flex: 0 0 50%;
    max-width: 50%;
}

.pm-image {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 0;
}

.pm-right {
    padding: 2rem 2.2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    flex: 0 0 50%;
    max-width: 50%;
}

.pm-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
}

.pm-header {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pm-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0;
    color: #111;
}

.pm-price {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    color: #444;
}

.pm-form {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.pm-field {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.pm-label {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.85rem;
    color: #333;
    min-width: 120px;
    margin: 0;
}

.pm-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.pm-size {
    padding: 10px 18px;
    border: 2px solid #e0e0e0;
    background: #fff;
    cursor: pointer;
    transition: all 0.25s;
    text-transform: uppercase;
    font-weight: 600;
    min-width: 52px;
    text-align: center;
}

.pm-size:hover {
    border-color: #000;
}

.pm-size.active {
    background: #000;
    color: #fff;
    border-color: #000;
}

.pm-color {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 3px solid transparent;
    outline: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
}

.pm-color:hover {
    transform: scale(1.05);
}

.pm-color.active {
    border-color: #000;
    outline: 2px solid #000;
    outline-offset: 2px;
}

.pm-color.white {
    border: 2px solid #ccc;
}

.pm-quantity {
    width: 140px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #quickAddModal .modal-dialog {
        max-height: 95vh;
        margin: 0.5rem;
    }

    #quickAddModal .modal-content .col-md-6:last-child {
        max-height: 60vh;
    }

    #quickAddModal .modal-content .col-md-6:last-child>div {
        padding: 1.5rem !important;
    }

    /* Reduce image height on mobile */
    #quickAddModal #qaProductImage {
        max-height: 250px !important;
    }
}

/* Ensure smooth scrolling */
#quickAddModal .modal-content .col-md-6:last-child {
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 #f1f5f9;
}

#quickAddModal .modal-content .col-md-6:last-child::-webkit-scrollbar {
    width: 6px;
}

#quickAddModal .modal-content .col-md-6:last-child::-webkit-scrollbar-track {
    background: #f1f5f9;
}

#quickAddModal .modal-content .col-md-6:last-child::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

#quickAddModal .modal-content .col-md-6:last-child::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* PAGE SPECIFIC STYLES START */

/* ============================================
   Page-Specific Styles (Migrated)
   ============================================ */

/* Post detail page */
.post-detail-page {
    padding: 40px 0 80px;
    min-height: 60vh;
    background: #fff;
}

.breadcrumb-nav {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.breadcrumb-nav ol {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.breadcrumb-nav li {
    display: flex;
    align-items: center;
}

.breadcrumb-nav a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb-nav a:hover {
    color: #000;
}

.breadcrumb-nav .separator {
    color: #ccc;
    margin: 0 4px;
}

.breadcrumb-nav .current {
    color: #000;
    font-weight: 600;
}

.post-hero {
    position: relative;
    margin-bottom: 50px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.post-hero-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.post-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    padding: 60px 40px 40px;
    color: #fff;
}

.post-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 20px;
    color: #fff;
    line-height: 1.2;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.post-title.plain {
    color: #000;
    margin-bottom: 20px;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.post-meta.plain {
    color: #666;
    margin-bottom: 30px;
}

.post-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.post-meta-item i {
    font-size: 1rem;
}

.post-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.post-excerpt {
    font-size: 1.3rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 40px;
    padding: 30px;
    background: #f8f9fa;
    border-left: 4px solid #000;
    border-radius: 8px;
    font-style: italic;
}

.post-content {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #333;
    margin-bottom: 50px;
}

.post-content p {
    margin-bottom: 24px;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 30px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.post-content h2,
.post-content h3,
.post-content h4 {
    font-family: 'Playfair Display', serif;
    margin-top: 50px;
    margin-bottom: 20px;
    color: #000;
    font-weight: 700;
}

.post-content h2 {
    font-size: 2.2rem;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.post-content h3 {
    font-size: 1.8rem;
}

.post-content h4 {
    font-size: 1.4rem;
}

.post-content ul,
.post-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.post-content li {
    margin-bottom: 12px;
}

.post-content blockquote {
    border-left: 4px solid #000;
    padding: 20px 30px;
    margin: 30px 0;
    background: #f8f9fa;
    border-radius: 8px;
    font-style: italic;
    color: #555;
}

.post-content a {
    color: #000;
    text-decoration: underline;
    transition: color 0.3s;
}

.post-content a:hover {
    color: #666;
}

.post-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
    margin: 50px 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #000;
    text-decoration: none;
    font-weight: 600;
    padding: 12px 24px;
    border: 2px solid #000;
    border-radius: 8px;
    transition: all 0.3s;
}

.back-button:hover {
    background: #000;
    color: #fff;
    transform: translateX(-5px);
}

.social-share {
    display: flex;
    align-items: center;
    gap: 15px;
}

.social-share-label {
    font-weight: 600;
    color: #666;
    font-size: 0.9rem;
}

.social-share-buttons {
    display: flex;
    gap: 10px;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
    font-size: 1.1rem;
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    color: #fff;
}

.social-btn.facebook {
    background: #1877f2;
}

.social-btn.twitter {
    background: #1da1f2;
}

.social-btn.linkedin {
    background: #0077b5;
}

.related-posts {
    margin-top: 80px;
    padding-top: 50px;
    border-top: 2px solid #f0f0f0;
}

.related-posts-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 30px;
    color: #000;
    text-align: center;
}

.related-post-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.related-post-card:hover {
    border-color: #000;
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.related-post-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s;
}

.related-post-card:hover img {
    transform: scale(1.05);
}

.related-post-card-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.related-post-card-date {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 10px;
}

.related-post-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #000;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-post-card-link {
    color: #000;
    text-decoration: none;
    margin-top: auto;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s;
}

.related-post-card-link:hover {
    gap: 10px;
    color: #000;
}

@media (max-width: 768px) {
    .post-hero-image {
        height: 300px;
    }

    .post-hero-overlay {
        padding: 40px 20px 30px;
    }

    .post-actions {
        flex-direction: column;
        gap: 20px;
        align-items: stretch;
    }

    .back-button {
        text-align: center;
        justify-content: center;
    }

    .social-share {
        justify-content: center;
    }
}

/* Admin users page */
.users-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    padding: 0.6rem 0.8rem;
    color: #fff;
    margin-bottom: 0.6rem;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.users-header h2 {
    margin: 0;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.users-header .icon-wrapper {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.users-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.3rem;
    margin-bottom: 0.3rem;
}

.stat-card {
    background: #fff;
    border-radius: 4px;
    padding: 0.3rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s, box-shadow 0.2s;
}

.stat-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
}

.stat-card .stat-value {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0.08rem 0;
}

.stat-card .stat-label {
    color: #64748b;
    font-size: 0.55rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-card .stat-icon {
    width: 20px;
    height: 20px;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    margin-bottom: 0.2rem;
}

.stat-card.total .stat-icon {
    background: #dbeafe;
    color: #3b82f6;
}

.stat-card.admin .stat-icon {
    background: #fee2e2;
    color: #ef4444;
}

.stat-card.user .stat-icon {
    background: #dbeafe;
    color: #3b82f6;
}

.stat-card.verified .stat-icon {
    background: #d1fae5;
    color: #10b981;
}

.admin-table {
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.admin-table table {
    margin: 0;
}

.admin-table thead {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.admin-table th {
    font-weight: 600;
    color: #1e293b;
    border-bottom: 2px solid #e2e8f0;
    padding: 0.3rem 0.3rem;
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-table tbody tr {
    transition: all 0.2s;
    border-bottom: 1px solid #f1f5f9;
}

.admin-table tbody tr:hover {
    background: #f8fafc;
    transform: scale(1.01);
}

.admin-table tbody tr:last-child {
    border-bottom: none;
}

.admin-table td {
    padding: 0.3rem 0.3rem;
    vertical-align: middle;
    font-size: 0.65rem;
}

.user-avatar {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    font-size: 0.55rem;
    margin-right: 0.25rem;
}

.user-info {
    display: flex;
    align-items: center;
}

.user-name {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.02rem;
    font-size: 0.65rem;
}

.user-email {
    font-size: 0.55rem;
    color: #64748b;
}

.role-badge {
    padding: 0.12rem 0.35rem;
    border-radius: 6px;
    font-size: 0.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 0.12rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.role-badge.user {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #fff;
}

.role-badge.admin {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #fff;
}

.btn-delete {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #fff;
    border: none;
    padding: 0.4rem 0.6rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 2px 4px rgba(239, 68, 68, 0.3);
    font-size: 0.75rem;
}

.btn-delete:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(239, 68, 68, 0.4);
}

.current-user-badge {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    padding: 0.12rem 0.35rem;
    border-radius: 6px;
    font-size: 0.5rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.12rem;
}

.admin-table .badge {
    padding: 0.12rem 0.3rem;
    font-size: 0.55rem;
    font-weight: 600;
}

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: #94a3b8;
}

.empty-state i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* Admin statistics page */
.pagination-btn:hover {
    background: #f8fafc;
}

.pagination-btn.active {
    background: #3b82f6;
    color: white;
    border-color: #3b82f6;
}

@media (max-width: 1200px) {
    .stats-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .charts-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .statistics-page {
        padding: 1rem;
    }

    .stats-cards {
        grid-template-columns: 1fr;
    }
}

/* Admin products trash */
.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.products-header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.btn-back {
    background: #64748b;
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
}

.btn-back:hover {
    background: #475569;
    color: #fff;
}

.admin-table {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.admin-table table {
    margin: 0;
    width: 100%;
}

.admin-table thead {
    background: #f8fafc;
}

.admin-table th {
    font-weight: 600;
    color: #1e293b;
    border-bottom: 2px solid #e2e8f0;
    padding: 1rem;
    text-align: left;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-table tbody tr {
    transition: background 0.2s;
    border-bottom: 1px solid #f1f5f9;
}

.admin-table tbody tr:nth-child(even) {
    background: #fafbfc;
}

.admin-table tbody tr:hover {
    background: #f1f5f9;
}

.admin-table td {
    padding: 1rem;
    vertical-align: middle;
    color: #475569;
    font-size: 0.9rem;
}

.admin-table .product-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.action-buttons {
    display: flex;
    gap: 0.5rem;
}

.btn-restore {
    background: #10b981;
    color: #fff;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.85rem;
}

.btn-restore:hover {
    background: #059669;
    transform: translateY(-2px);
}

.btn-force-delete {
    background: #ef4444;
    color: #fff;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.85rem;
}

.btn-force-delete:hover {
    background: #dc2626;
    transform: translateY(-2px);
}

.deleted-badge {
    background: #fef3c7;
    color: #92400e;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Admin products index */
.btn-add-product {
    background: #3b82f6;
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.btn-add-product:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
    color: #fff;
}

.product-name {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.product-category {
    font-size: 0.85rem;
    color: #64748b;
}

.price-original {
    color: #64748b;
    text-decoration: line-through;
    font-size: 0.9rem;
}

.price-promotional {
    color: #ef4444;
    font-weight: 700;
    font-size: 1rem;
}

.stock-amount {
    font-weight: 600;
    color: #1e293b;
}

.status-badge {
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
}

.status-badge.active {
    background: #10b981;
    color: #fff;
}

.status-badge.inactive {
    background: #ef4444;
    color: #fff;
}

.btn-edit {
    background: #f59e0b;
    color: #fff;
    border: none;
    padding: 0.5rem;
    border-radius: 6px;
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    text-decoration: none;
}

.btn-edit:hover {
    background: #d97706;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(245, 158, 11, 0.3);
    color: #fff;
}

.btn-delete {
    background: #ef4444;
    color: #fff;
    border: none;
    padding: 0.5rem;
    border-radius: 6px;
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.btn-delete:hover {
    background: #dc2626;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(239, 68, 68, 0.3);
}

/* Admin product form */
.admin-section {
    padding: 0;
}

.form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.form-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.form-card {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
}

.form-label {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
    display: block;
    font-size: 0.9rem;
}

.form-control,
.form-select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: border-color 0.2s;
}

.form-control:focus,
.form-select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

.btn-submit {
    background: #3b82f6;
    color: #fff;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-submit:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-cancel {
    background: #f1f5f9;
    color: #64748b;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s;
    margin-right: 1rem;
}

.btn-cancel:hover {
    background: #e2e8f0;
    color: #1e293b;
}

.variants-section {
    margin-top: 2rem;
}

.variant-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.variant-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e2e8f0;
}

.variant-info {
    font-weight: 600;
    color: #1e293b;
}

.variant-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-sm {
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-danger-sm {
    background: #ef4444;
    color: #fff;
}

.btn-danger-sm:hover {
    background: #dc2626;
}

.empty-variants {
    text-align: center;
    padding: 2rem;
    color: #94a3b8;
    background: #f8fafc;
    border-radius: 8px;
}

/* Admin orders page */
.admin-content {
    padding: 0 !important;
    margin-right: 0 !important;
    width: calc(100% - 260px) !important;
}

.admin-orders-page {
    padding: 2rem !important;
    padding-right: 0 !important;
    width: 100% !important;
    margin: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box;
}

.admin-orders-page .container {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 2rem !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box;
}

.admin-card {
    margin-right: 0 !important;
}

/* Admin categories list */
.categories-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.categories-header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.btn-add-category {
    background: #3b82f6;
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.btn-add-category:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
    color: #fff;
}

.category-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.no-image {
    color: #94a3b8;
    font-style: italic;
    font-size: 0.85rem;
}

/* Admin categories form */
.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

/* Admin attributes page */
.attributes-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.attributes-header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.btn-add {
    background: #3b82f6;
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.btn-add:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
    color: #fff;
}

.attributes-container {
    max-width: 1200px;
    margin: 0 auto;
}

.attribute-card {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.attribute-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f1f5f9;
}

.attribute-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
}

.attribute-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-sm {
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.btn-edit-sm {
    background: #f59e0b;
    color: #fff;
}

.btn-edit-sm:hover {
    background: #d97706;
    transform: translateY(-2px);
}

.btn-delete-sm {
    background: #ef4444;
    color: #fff;
}

.btn-delete-sm:hover {
    background: #dc2626;
    transform: translateY(-2px);
}

.values-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.value-item {
    background: #f8fafc;
    padding: 0.75rem;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #e2e8f0;
}

.value-name {
    font-weight: 600;
    color: #1e293b;
}

.value-actions {
    display: flex;
    gap: 0.25rem;
}

.btn-icon {
    width: 28px;
    height: 28px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.add-value-form {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.form-inline {
    display: flex;
    gap: 0.5rem;
    align-items: flex-end;
}

.form-inline .form-group {
    flex: 1;
}

.form-inline label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 0.25rem;
}

.form-inline input {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 0.9rem;
}

.form-inline input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.btn-add-value {
    background: #10b981;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.btn-add-value:hover {
    background: #059669;
}

.modal-form {
    display: none;
}

.modal-form.active {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    width: 90%;
}

/* ============================================
   Inline style replacements / utilities
   ============================================ */
.age-error {
    color: #dc3545;
    display: none;
    font-size: 0.8rem;
    margin-top: -15px;
    margin-bottom: 10px;
}

.modal-product-image {
    max-height: 70vh;
    max-width: 100%;
    width: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.input-group-compact {
    width: 120px;
}

.progress-thin {
    height: 8px;
}

.review-thumb {
    width: 100px;
    height: 100px;
    object-fit: cover;
    cursor: pointer;
}

.similar-card-pad {
    padding: 0 20px;
}

.similar-card-pad-bottom {
    padding: 0 20px 20px;
}

.empty-icon-lg {
    font-size: 3rem;
    color: #ccc;
    margin-bottom: 1rem;
    display: block;
}

.thumb-60 {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
}

.thumb-80 {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
}

.placeholder-60-box {
    width: 60px;
    height: 60px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-80-box {
    width: 80px;
    height: 80px;
    background: #f1f5f9;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
}

.flex-min-0 {
    min-width: 0;
}

.badge-inline {
    margin-top: 8px;
    display: inline-block;
}

.swatch-black {
    background-color: #000;
}

.swatch-white {
    background-color: #fff;
}

.swatch-beige {
    background-color: #f5f5dc;
}

.address-highlight {
    background: #fff3cd;
    padding: 2px 4px;
    border-radius: 3px;
}

.set-default-label {
    margin: 0;
    cursor: pointer;
}

.map-frame {
    border: 0;
}

.footer-note-muted {
    color: #999;
    margin-bottom: 20px;
}

.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-grid-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-grid-3-compact {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.flex-end-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
}

.modal-title-spacing {
    margin-bottom: 1.5rem;
}

.modal-field {
    margin-bottom: 1rem;
}

.modal-label-strong {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.modal-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
}

.info-card-alt {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
}

.btn-icon-warning {
    background: #f59e0b;
    color: #fff;
}

.btn-icon-danger {
    background: #ef4444;
    color: #fff;
}

.grid-span-full {
    grid-column: 1 / -1;
}

.dynamic-attributes-grid {
    display: grid;
    gap: 1rem;
    margin-bottom: 1rem;
}

.cols-1 {
    grid-template-columns: repeat(1, 1fr);
}

.cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.text-slate {
    color: #64748b;
}

.fs-125 {
    font-size: 1.25rem;
}

.comment-preview {
    max-width: 200px;
}

.reply-preview {
    max-width: 250px;
}

.review-thumb-sm {
    width: 50px;
    height: 50px;
    object-fit: cover;
    cursor: pointer;
}

.admin-logo {
    max-width: 120px;
    height: auto;
}


/* ============================================
   ORDER STATUS TABS STYLES
   ============================================ */
.orders-page {
    padding: 60px 0;
    min-height: calc(100vh - 200px);
}

.order-status-tabs {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 0;
    overflow: hidden;
}

.status-tabs-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    border-bottom: 2px solid #000;
}

.status-tab {
    flex: 1;
    min-width: 150px;
    padding: 16px 20px;
    text-align: center;
    text-decoration: none;
    color: #666;
    font-weight: 600;
    font-size: 0.9rem;
    border-right: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    background: #fff;
    position: relative;
}

.status-tab:last-child {
    border-right: none;
}

.status-tab:hover {
    background: #f5f5f5;
    color: #000;
}

.status-tab.active {
    background: #000;
    color: #fff;
    font-weight: 700;
}

.status-tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: #000;
}

.order-card {
    background: #fff;
    transition: all 0.3s ease;
}

.order-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.order-actions .btn {
    font-size: 0.9rem;
    padding: 10px 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.order-actions .btn-dark {
    background: #000;
    border-color: #000;
}

.order-actions .btn-dark:hover {
    background: #333;
    border-color: #333;
}

.order-actions .btn-outline-dark {
    border: 2px solid #000;
    color: #000;
}

.order-actions .btn-outline-dark:hover {
    background: #000;
    color: #fff;
}

/* Responsive */
@media (max-width: 1200px) {
    .status-tab {
        min-width: 120px;
        font-size: 0.85rem;
        padding: 14px 16px;
    }
}

@media (max-width: 992px) {
    .status-tabs-wrapper {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .status-tab {
        flex: 0 0 auto;
        min-width: 140px;
        white-space: nowrap;
    }
}

@media (max-width: 768px) {
    .orders-page {
        padding: 40px 0;
    }

    .status-tab {
        font-size: 0.8rem;
        padding: 12px 14px;
        min-width: 120px;
    }

    .order-actions .btn {
        font-size: 0.85rem;
        padding: 8px 16px;
    }
}

/* Notification dropdown */
.notification-wrapper {
    position: relative;
    margin-left: 12px;
}

.notif-bell {
    border: none;
    background: transparent;
    position: relative;
    font-size: 1.25rem;
    color: #000;
    padding: 6px;
    line-height: 1;
}

.notif-badge {
    position: absolute;
    top: 0;
    right: -4px;
    background: #e63946;
    color: #fff;
    border-radius: 999px;
    padding: 2px 6px;
    font-size: 11px;
    min-width: 20px;
    text-align: center;
}

.notification-dropdown {
    position: absolute;
    right: 0;
    top: 115%;
    width: 380px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    display: none;
    z-index: 1200;
}

.notification-dropdown.show {
    display: block;
}

.notification-header {
    padding: 12px 14px;
    border-bottom: 1px solid #f0f0f0;
}

.notification-actions-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 14px;
    border-bottom: 1px solid #f0f0f0;
    gap: 10px;
}

.notification-actions-bar .btn {
    font-size: 12px;
    padding: 6px 10px;
}

.notification-list {
    max-height: 440px;
    overflow-y: auto;
}

.notification-item {
    padding: 12px 14px;
    border-bottom: 1px solid #f7f7f7;
    cursor: pointer;
    transition: background 0.2s ease;
}

.notification-item.unread {
    background: #f5f8ff;
}

.notification-item:hover {
    background: #f0f4ff;
}

.notification-main {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.notif-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.notif-body {
    flex: 1;
    min-width: 0;
}

.notif-title {
    font-weight: 700;
    font-size: 14px;
    color: #111;
    margin-bottom: 4px;
}

.notif-content {
    font-size: 13px;
    color: #444;
    line-height: 1.4;
}

.notif-meta {
    font-size: 12px;
    color: #999;
    margin-top: 6px;
}

.notif-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.notif-actions .notif-delete-one {
    color: #999;
}

.notif-actions .notif-delete-one:hover {
    color: #e63946;
}

.notification-extra {
    margin-top: 8px;
    padding: 10px;
    background: #fafafa;
    border: 1px dashed #e0e0e0;
    border-radius: 10px;
}

.coupon-meta-row {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

@media (max-width: 576px) {
    .notification-dropdown {
        width: 95vw;
        right: -40px;
    }
}