/* ========================================
   Custom CSS for Customer Website - Brown Theme
   ======================================== */

/* Font Family */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(180deg, #4A2F1A 0%, #5C3A1E 50%, #4A2F1A 100%);
    background-attachment: fixed;
    color: #FFD98E;
    min-height: 100vh;
}

.font-inter {
    font-family: 'Inter', sans-serif;
}

/* Prevent horizontal overflow */
html {
    overflow-x: clip;
}

body {
    overflow-x: clip;
}

* {
    box-sizing: border-box;
}

/* ========================================
   HEADER STYLES
   ======================================== */

/* Sticky Header System - Simple Sticky */
/* Top bar - normal (not sticky) */
.topbar,
body > div.topbar,
body > div.py-2:first-of-type {
    position: relative;
    z-index: 5;
    background: linear-gradient(135deg, #5C3A1E 0%, #704214 50%, #5C3A1E 100%);
    border-bottom: 2px solid #D4A76A;
}

/* Main header - sticky (stays in document flow) */
body > header,
header {
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    background: linear-gradient(135deg, #5C3A1E, #4A2F1A) !important;
    border-bottom: 3px solid #D4A76A !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5) !important;
}

/* Remove padding from body since header is in normal flow */
body {
    padding-top: 0;
}

/* Navigation and containers should not clip dropdowns */
nav,
header nav,
header > div,
header .container {
    overflow: visible !important;
}

/* Logo Hover Effect */
.logo-hover {
    transition: transform 0.3s ease;
}

.logo-hover:hover {
    transform: scale(1.05);
}

/* Navigation Links */
.nav-link {
    position: relative;
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    font-weight: 600;
    color: #FFD98E;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.nav-link:hover {
    color: #FFD700;
    background-color: rgba(255, 215, 0, 0.15);
}

.nav-link.active {
    color: #FFD700;
    background-color: rgba(255, 215, 0, 0.2);
    font-weight: 700;
    border-bottom: 2px solid #FFD700;
}

/* Navigation Link Underline Effect */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #8B6914, #A68950);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

/* ========================================
   DROPDOWN STYLES
   ======================================== */

/* Desktop Dropdown Container */
.dropdown-container {
    position: relative;
    z-index: 9999;
}

.dropdown-trigger {
    cursor: pointer;
    position: relative;
    z-index: 10000;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 250px;
    margin-top: 0.5rem;
    background: #4A3428;
    border: 1px solid #8B7355;
    border-radius: 0.75rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 9999 !important;
    overflow: hidden;
}

.dropdown-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.25rem;
    color: #FFFFFF;
    font-weight: 500;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.dropdown-item:hover {
    background: linear-gradient(90deg, rgba(251, 185, 49, 0.2) 0%, rgba(245, 158, 11, 0.3) 100%);
    color: #FFC857;
    border-left-color: #FFC857;
}

.dropdown-item.active {
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.25) 0%, rgba(255, 200, 87, 0.35) 100%);
    color: #FFD700;
    border-left-color: #FFD700;
    font-weight: 700;
}

.dropdown-item i {
    font-size: 1.125rem;
    width: 24px;
    text-align: center;
}

/* User Dropdown */
.user-dropdown-container {
    position: relative;
    z-index: 9999;
}

.user-dropdown-trigger {
    cursor: pointer;
    position: relative;
    z-index: 10000;
}

.user-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 220px;
    margin-top: 0.5rem;
    background: #4A3428;
    border: 1px solid #8B7355;
    border-radius: 0.75rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 9999 !important;
    overflow: hidden;
}

.user-dropdown-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ========================================
   MOBILE MENU STYLES
   ======================================== */

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
}

.mobile-menu.active {
    visibility: visible;
    opacity: 1;
}

.mobile-menu-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.mobile-menu-content {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 85%;
    max-width: 320px;
    background: #3A2418;
    border-left: 1px solid #8B7355;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.4);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.mobile-menu.active .mobile-menu-content {
    transform: translateX(0);
}

/* Mobile Navigation Links */
.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.875rem 1rem;
    color: #FFFFFF;
    font-weight: 500;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.mobile-nav-link:hover {
    background: linear-gradient(90deg, rgba(251, 185, 49, 0.15) 0%, rgba(245, 158, 11, 0.2) 100%);
    color: #FFC857;
}

.mobile-nav-link i {
    font-size: 1.125rem;
    width: 24px;
    text-align: center;
}

/* Mobile Dropdown */
.mobile-dropdown {
    margin-bottom: 0.5rem;
}

.mobile-dropdown-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

.mobile-dropdown-content.active {
    max-height: 500px;
    opacity: 1;
    margin-top: 0.5rem;
}

.mobile-dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem 0.75rem 3rem;
    color: #FFD98E;
    font-size: 0.9375rem;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.mobile-dropdown-item:hover {
    background: rgba(251, 185, 49, 0.2);
    color: #FFC857;
}

.mobile-dropdown-item i {
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

/* ========================================
   FOOTER STYLES
   ======================================== */

.footer-link {
    display: inline-flex;
    align-items: center;
    color: #FFD98E;
    transition: all 0.2s ease;
    position: relative;
}

.footer-link::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #8B6914, #A68950);
    transition: width 0.3s ease;
}

.footer-link:hover {
    color: #FFC857;
}

.footer-link:hover::before {
    width: 100%;
}

/* Social Icons */
.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(251, 185, 49, 0.1);
    border-radius: 0.5rem;
    color: #FFFFFF;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: linear-gradient(135deg, #8B6914, #A68950);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(166, 137, 80, 0.5);
}

/* ========================================
   SCROLL TO TOP BUTTON
   ======================================== */

.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #8B6914, #A68950);
    color: #1A0F0A;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(251, 185, 49, 0.5);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8);
    transition: all 0.3s ease;
    z-index: 40;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.scroll-to-top:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(251, 185, 49, 0.7);
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #A68950, #967856);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Card Hover Effect */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.4), 0 0 30px rgba(255, 200, 87, 0.3);
    border-color: #FFD700 !important;
    background: linear-gradient(135deg, #6B4520, #5C3A1E) !important;
}

/* Badge Styles */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
}

.badge-primary {
    background: linear-gradient(135deg, #C87A3C, #A0643F);
    color: #FFFFFF;
    font-weight: 700;
    border: 1px solid #D4905E;
    box-shadow: 0 3px 12px rgba(200, 122, 60, 0.5);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.badge-success {
    background: linear-gradient(135deg, #E8C468, #D4AF37);
    color: #1A0F0A;
    font-weight: 700;
    border: 1px solid #EDD17A;
    box-shadow: 0 3px 12px rgba(232, 196, 104, 0.4);
}

.badge-warning {
    background: linear-gradient(135deg, #A67C52, #8B6F47);
    color: #FFECD1;
    font-weight: 700;
    border: 1px solid #B8906B;
    box-shadow: 0 2px 8px rgba(166, 124, 82, 0.4);
}

.badge-danger {
    background: linear-gradient(135deg, #8B4513, #704214);
    color: #FFE4B5;
    font-weight: 700;
    border: 1px solid #A0522D;
    box-shadow: 0 2px 8px rgba(139, 69, 19, 0.5);
}

.badge-secondary {
    background: linear-gradient(135deg, #6B4520, #5C3A1E);
    color: #E8C468;
    font-weight: 700;
    border: 1px solid #8B6914;
    box-shadow: 0 2px 8px rgba(107, 69, 32, 0.5);
}

.badge-info {
    background: linear-gradient(135deg, #92400E, #78350F);
    color: #F5DEB3;
    font-weight: 700;
    border: 1px solid #B45309;
    box-shadow: 0 3px 12px rgba(146, 64, 14, 0.6);
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, #704214, #5C3A1E);
    color: #FFC857;
    font-weight: 700;
    border: 2px solid #D4A76A;
    box-shadow: 0 5px 15px rgba(112, 66, 20, 0.6);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #8B6914, #704214);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(62, 40, 21, 0.8);
    color: #FFC857;
    border-color: #FFC857;
}

.btn-outline {
    background: transparent;
    border: 2px solid #D4A76A;
    color: #FFC857;
    font-weight: 600;
    transition: all 0.3s ease;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.btn-outline:hover {
    background: linear-gradient(135deg, #704214, #5C3A1E);
    color: #FFC857;
    border-color: #FFC857;
    box-shadow: 0 4px 12px rgba(112, 66, 20, 0.6);
}

.btn-secondary {
    background: linear-gradient(135deg, #5C3A1E, #4A2F1A);
    color: #FFC857;
    border: 2px solid #D4A76A;
    box-shadow: 0 3px 10px rgba(92, 58, 30, 0.5);
    font-weight: 600;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #704214, #5C3A1E);
    color: #FFC857;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

/* ========================================
   BROWN THEME UTILITIES
   ======================================== */

.bg-brown-700 {
    background: linear-gradient(135deg, #704214, #5C3A1E) !important;
}

.hover\:bg-brown-700:hover {
    background: linear-gradient(135deg, #704214, #5C3A1E) !important;
}

.bg-brown-600 {
    background: linear-gradient(135deg, #8B6914, #704214) !important;
}

.text-brown-cream {
    color: #FFC857 !important;
}

.border-brown {
    border-color: #D4A76A !important;
}

/* ========================================
   RESPONSIVE UTILITIES
   ======================================== */

@media (max-width: 1024px) {
    .dropdown-menu {
        display: none;
    }
}

/* Animation Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* ========================================
   COMMON FORM ELEMENTS
   ======================================== */

/* Input Search */
.input-search {
    font-size: 1rem;
}

.input-search:focus {
    outline: none;
}

/* Filter Tags */
.filter-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    border: 2px solid #8B7355;
    background: #4A3428;
    color: #FFD98E;
    font-weight: 500;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.filter-tag:hover {
    border-color: #D4A76A;
    background: linear-gradient(135deg, #704214, #5C3A1E);
    color: #FFC857;
}

.filter-tag.active {
    border-color: #FFC857;
    background: linear-gradient(135deg, #8B6914, #704214);
    color: #FFC857;
    font-weight: 600;
}

/* ========================================
   CTV PAGE STYLES
   ======================================== */

/* CTV Grid */
.ctv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

@media (max-width: 640px) {
    .ctv-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (min-width: 1024px) {
    .ctv-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

@media (min-width: 1280px) {
    .ctv-grid {
        grid-template-columns: repeat(7, 1fr);
    }
}

/* CTV Card */
.ctv-card {
    position: relative;
    background: linear-gradient(135deg, #5C3A1E, #4A2F1A);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 2px solid #D4A76A;
}

.ctv-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.4), 0 0 30px rgba(255, 200, 87, 0.3);
    border-color: #FFD700;
}

/* CTV Avatar */
.ctv-avatar-wrapper {
    position: relative;
    margin-bottom: 1rem;
}

.ctv-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #8B7355;
    transition: all 0.3s ease;
}

.ctv-card:hover .ctv-avatar {
    border-color: #FFC857;
    transform: scale(1.05);
}

.ctv-no-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #E5E7EB, #D1D5DB);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFD98E;
    font-size: 2rem;
    border: 3px solid #8B7355;
    transition: all 0.3s ease;
}

.ctv-card:hover .ctv-no-avatar {
    border-color: #8B5A3C;
    background: linear-gradient(135deg, #A0704D, #8B5A3C);
    color: #FFFFFF;
}

/* CTV Status Badge */
.ctv-status-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* CTV Info */
.ctv-info {
    flex: 1;
    width: 100%;
}

.ctv-name {
    font-size: 1rem;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 0.25rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ctv-service {
    font-size: 0.75rem;
    color: #FFD98E;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    margin-top: 0.25rem;
}

/* CTV Contact */
.ctv-contact {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #8B7355;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.ctv-contact i {
    font-size: 1.125rem;
    transition: all 0.2s ease;
    color: #FFD98E;
}

.ctv-tag {
    font-size: 0.875rem;
    font-weight: 600;
    color: #FFC857;
    padding: 0.375rem 0.875rem;
    background: linear-gradient(135deg, rgba(112, 66, 20, 0.4), rgba(92, 58, 30, 0.4));
    border-radius: 6px;
    border: 1px solid #8B6914;
    white-space: nowrap;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

.ctv-tag i {
    font-size: 0.75rem;
    color: #FFD98E;
    transition: all 0.3s ease;
}

.ctv-tag-count {
    font-size: 0.75rem;
    font-weight: 700;
    color: #1A0F0A;
    background: linear-gradient(135deg, #A68950, #876B48);
    padding: 0.25rem 0.5rem;
    border-radius: 50%;
    min-width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(166, 137, 80, 0.4);
    transition: all 0.3s ease;
}

.ctv-card:hover .ctv-contact i {
    color: #FFC857;
    transform: scale(1.2);
}

.ctv-card:hover .ctv-tag {
    background: linear-gradient(135deg, rgba(62, 40, 21, 0.6), rgba(112, 66, 20, 0.6));
    border-color: #FFC857;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(166, 137, 80, 0.3);
}

.ctv-card:hover .ctv-tag i {
    color: #FFC857;
    transform: scale(1.1);
}

.ctv-card:hover .ctv-tag-count {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(166, 137, 80, 0.6);
}

/* ========================================
   PAGE HEADER
   ======================================== */

.page-header {
    background: linear-gradient(135deg, #5C3A1E 0%, #704214 50%, #5C3A1E 100%);
    border-radius: 1.5rem;
    padding: 3rem 2rem;
    margin-bottom: 2rem;
    border: 3px solid #D4A76A;
    box-shadow: 0 10px 40px rgba(92, 58, 30, 0.5);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.page-header-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.page-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #8B6914, #704214);
    backdrop-filter: blur(10px);
    border-radius: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #FFC857;
    box-shadow: 0 0 25px rgba(166, 137, 80, 0.4);
    border: 3px solid #A68950;
}

.page-title {
    font-size: 2rem;
    font-weight: 800;
    color: #FFC857;
    margin: 0;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
    letter-spacing: -0.5px;
}

.page-subtitle {
    font-size: 1.125rem;
    color: #FFD98E;
    margin: 0.5rem 0 0 0;
    font-weight: 600;
}

@media (max-width: 768px) {
    .page-header {
        padding: 2rem 1.5rem;
    }
    
    .page-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .page-title {
        font-size: 1.5rem;
    }
    
    .page-subtitle {
        font-size: 0.9375rem;
    }
}

/* ========================================
   ACCOUNT GRID STYLES (for other pages)
   ======================================== */

.account-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

@media (max-width: 640px) {
    .account-grid {
        grid-template-columns: 1fr;
    }
}

.account-card {
    background: linear-gradient(135deg, #5C3A1E, #4A2F1A);
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    border: 2px solid #D4A76A;
    cursor: pointer;
}

.account-card:hover {
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4), 0 0 30px rgba(255, 200, 87, 0.3);
    border-color: #FFD700;
    /* transform: translateY(-2px); */
    background: linear-gradient(135deg, #5C3A1E 0%, #6B4520 100%);
}

.account-card-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, #4A2F1A 0%, #3E2415 100%);
}

.account-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.account-card-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(135deg, #704214, #5C3A1E);
    color: #FFC857;
    padding: 0.5rem 1.25rem;
    border-radius: 0;
    font-weight: 900;
    font-size: 0.875rem;
    letter-spacing: 1px;
    border: 2px solid #D4A76A;
    box-shadow: 0 4px 15px rgba(112, 66, 20, 0.7);
    z-index: 2;
    text-transform: uppercase;
}

/* ID | Chi tiết | Giá - Row below image */
.account-card-info {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    padding: 0;
    background: linear-gradient(135deg, #3A2418 0%, #4A3428 100%);
    border-bottom: 3px solid #A68950;
    gap: 0;
    position: relative;
    overflow: visible;
    height: 32px;
}

.account-card-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(251, 185, 49, 0.1) 0%, 
        rgba(245, 158, 11, 0.05) 50%, 
        rgba(251, 185, 49, 0.1) 100%);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.6;
    }
}

.info-id {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #FFC857;
    letter-spacing: 0.5px;
    text-align: center;
    white-space: nowrap;
    padding: 0;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    text-shadow: 0 0 10px rgba(166, 137, 80, 0.5);
    transition: all 0.3s ease;
}

.info-id:hover {
    color: #FFF4D4;
    text-shadow: 0 0 15px rgba(251, 185, 49, 0.8);
}

.info-detail {
    font-size: 0.8125rem;
    font-weight: 800;
    color: #FFC857;
    background: linear-gradient(135deg, #ab6620, #935e32);
    background-size: 200% 200%;
    padding: 0;
    text-decoration: none;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    white-space: nowrap;
    animation: goldShine 3s ease-in-out infinite;
    text-shadow: 
        0 1px 2px rgba(0, 0, 0, 0.5),
        0 0 3px rgba(107, 84, 68, 0.3);
    z-index: 3;
    height: 45px;
    margin: -10px 0;
    clip-path: polygon(
        20% 0%,
        80% 0%,
        100% 50%,
        80% 100%,
        20% 100%,
        0% 50%
    );
    box-shadow: 
        0 0 20px rgba(166, 137, 80, 0.5),
        inset 0 2px 4px rgba(255, 255, 255, 0.3),
        inset 0 -2px 4px rgba(0, 0, 0, 0.2);
    /* Add visible border using filter drop-shadow */
    filter: drop-shadow(0 0 0 2px #A68950) drop-shadow(0 0 8px rgba(166, 137, 80, 0.6));
}

@keyframes goldShine {
    0% {
        background-position: 0% 50%;
        box-shadow: 
            0 0 20px rgba(166, 137, 80, 0.5),
            inset 0 2px 4px rgba(255, 255, 255, 0.3),
            inset 0 -2px 4px rgba(0, 0, 0, 0.2);
    }
    50% {
        background-position: 100% 50%;
        box-shadow: 
            0 0 30px rgba(166, 137, 80, 0.7),
            inset 0 2px 4px rgba(255, 255, 255, 0.4),
            inset 0 -2px 4px rgba(0, 0, 0, 0.2);
    }
    100% {
        background-position: 0% 50%;
        box-shadow: 
            0 0 20px rgba(166, 137, 80, 0.5),
            inset 0 2px 4px rgba(255, 255, 255, 0.3),
            inset 0 -2px 4px rgba(0, 0, 0, 0.2);
    }
}

.info-detail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        transparent 0%,
        rgba(255, 255, 255, 0.3) 45%,
        rgba(255, 255, 255, 0.5) 50%,
        rgba(255, 255, 255, 0.3) 55%,
        transparent 100%
    );
    transform: translateX(-100%);
    animation: slideShine 1.0s ease-in-out infinite;
    clip-path: polygon(
        20% 0%,
        80% 0%,
        100% 50%,
        80% 100%,
        20% 100%,
        0% 50%
    );
}

@keyframes slideShine {
    0% {
        transform: translateX(-100%);
    }
    50% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(100%);
    }
}



.info-detail:hover {
    background: linear-gradient(135deg, #8B6914 0%, #704214 50%, #8B6914 100%);
    background-size: 200% 200%;
    transform: scale(1.05);
    color: #FFC857;
    border-color: #FFC857;
    box-shadow: 
        0 0 25px rgba(62, 40, 21, 0.8),
        inset 0 2px 4px rgba(255, 255, 255, 0.2),
        inset 0 -2px 4px rgba(0, 0, 0, 0.3);
    animation: goldShine 1.5s ease-in-out infinite;
    /* Maintain border on hover with brighter glow */
    filter: drop-shadow(0 0 0 2px #A68950) drop-shadow(0 0 12px rgba(166, 137, 80, 0.9));
}

.info-detail:active {
    transform: scale(0.98);
    background: linear-gradient(135deg, #5C3A1E 0%, #4A2F1A 50%, #5C3A1E 100%);
    box-shadow: 
        0 0 15px rgba(92, 58, 30, 0.7),
        inset 0 2px 4px rgba(0, 0, 0, 0.4);
}

.info-price {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #FFC857;
    letter-spacing: 0.5px;
    text-align: center;
    white-space: nowrap;
    padding: 0;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    text-shadow: 0 0 10px rgba(166, 137, 80, 0.5);
    transition: all 0.3s ease;
}

.info-price:hover {
    color: #FFF4D4;
    text-shadow: 0 0 15px rgba(166, 137, 80, 0.8);
}

/* Specs at Bottom */
.account-card-specs-bottom {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 1rem;
    gap: 0;
    background: #3A2418;
    border-top: 1px solid #8B7355;
}

.spec-col {
    text-align: center;
}


.spec-col .spec-label {
    font-size: 0.85rem;
    color: #FFD98E;
    margin-bottom: 0.5rem;
    display: block;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-align: center;
}

.spec-col .spec-value {
    /* font-size: 1rem; */
    color: #FFFFFF;
    display: block;
    text-align: center;
    font-weight: 600;
}

.spec-col .spec-value b {
    font-weight: 800;
    color: #FFC857;
    font-size: 0.85rem;
}

/* Old Card Body Styles - Keep for compatibility */
.account-card-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.account-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    margin-bottom: 0;
}

.account-card-id {
    font-size: 1.125rem;
    font-weight: 800;
    color: #EF4444;
}

.account-card-detail {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #3B82F6;
    text-decoration: none;
    transition: all 0.2s ease;
}

.account-card-detail:hover {
    color: #1E40AF;
    text-decoration: underline;
}

.account-card-price {
    font-size: 2rem;
    font-weight: 800;
    color: #FFD700;
    text-align: center;
    padding: 1.25rem 0;
    margin: 0;
    line-height: 1;
    text-shadow: 0 2px 10px rgba(255, 215, 0, 0.5);
}

.account-card-specs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    padding-top: 1rem;
    border-top: 1px solid #8B7355;
}

.account-card-specs .spec-item {
    text-align: center;
    padding: 0.75rem 0.5rem;
    background: transparent;
    border-radius: 0;
    transition: none;
}

.account-card-specs .spec-item:hover {
    background: transparent;
    transform: none;
}

.account-card-specs .spec-label {
    display: block;
    font-size: 0.75rem;
    color: #FFD98E;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.account-card-specs .spec-value {
    display: block;
    font-size: 1rem;
    color: #FFFFFF;
    font-weight: 700;
}

/* Old Card Styles (for compatibility) */
.account-card-content {
    padding: 1.25rem;
}

.account-card-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.account-card-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #FFD98E;
    font-size: 0.875rem;
}

.account-price-label {
    font-size: 0.875rem;
    color: #FFD98E;
}

.account-price-value {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #A68950, #967856);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   PAGINATION STYLES
   ======================================== */

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.75rem;
    border-radius: 0.5rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.pagination a {
    background: #4A3428;
    color: #FFD98E;
    border: 1px solid #8B7355;
}

.pagination a:hover {
    background: linear-gradient(135deg, #704214, #8B6914);
    color: #FFC857;
    border-color: #FFC857;
}

.pagination span.current {
    background: linear-gradient(135deg, #704214, #8B6914);
    color: #FFC857;
    border: none;
    font-weight: 700;
}

.pagination .disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* ========================================
   FILTER SECTION
   ======================================== */

.filter-section {
    background: linear-gradient(135deg, #5C3A1E, #4A2F1A);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    margin-bottom: 2rem;
    border: 2px solid #D4A76A;
}

.filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .filter-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .filter-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .filter-section {
        padding: 1rem;
    }
}

.filter-item {
    display: flex;
    flex-direction: column;
}

.filter-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #FFC857;
    margin-bottom: 0.5rem;
}

.filter-label i {
    display: none;
}

.filter-input,
.filter-select {
    width: 100%;
    padding: 0.625rem 0.875rem;
    border: 2px solid #D4A76A;
    border-radius: 0.5rem;
    font-size: 0.9375rem;
    color: #FFC857;
    background: linear-gradient(135deg, #4A2F1A, #3E2415);
    transition: all 0.2s ease;
}

.filter-select option {
    background: #4A2F1A;
    color: #FFC857;
}

.filter-input:focus,
.filter-select:focus {
    outline: none;
    border-color: #FFC857;
    box-shadow: 0 0 0 3px rgba(251, 185, 49, 0.3);
}

.filter-input::placeholder {
    color: #E8C468;
}

.filter-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

/* ========================================
   ACCOUNT DETAIL PAGE
   ======================================== */

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #4A3428;
    color: #FFFFFF;
    border: 2px solid #8B7355;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
}

.back-btn:hover {
    background: linear-gradient(135deg, #8B5A3C, #6B4423);
    border-color: #8B5A3C;
    color: #FFFFFF;
    transform: translateX(-3px);
}

/* ==================== DETAIL PAGE STYLES ==================== */

/* Back Button */
.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #4A2F1A, #5C3A1E);
    color: #FFC857;
    border: 2px solid #D4A76A;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(74, 47, 26, 0.5);
}

.back-btn:hover {
    background: linear-gradient(135deg, #704214, #8B6914);
    border-color: #FFC857;
    color: #FFC857;
    transform: translateX(-3px);
    box-shadow: 0 5px 15px rgba(112, 66, 20, 0.7);
}

.back-btn i {
    font-size: 1rem;
}

/* Detail Grid Layout */
.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 1.5rem;
    max-width: 100%;
    overflow-x: hidden;
    width: 100%;
}

.detail-grid > * {
    min-width: 0;
    max-width: 100%;
}

@media (max-width: 968px) {
    .detail-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Image Slider */
.detail-slider {
    background: linear-gradient(135deg, #5C3A1E, #4A2F1A);
    border: 3px solid #A68950;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    max-width: 100%;
    width: 100%;
}

.slider-main {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #2D1F1A;
    overflow: hidden;
    cursor: pointer;
    max-width: 100%;
}

.slider-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.4s ease;
    background: linear-gradient(135deg, #5C3A1E, #4A2F1A);
    max-width: 100%;
}

.slider-image.active {
    opacity: 1;
    z-index: 1;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(107, 84, 68, 0.9);
    border: 2px solid #A68950;
    color: #FFC857;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(4px);
}

.slider-btn:hover {
    background: rgba(251, 185, 49, 0.95);
    color: #FFC857;
    transform: translateY(-50%) scale(1.1);
}

.slider-btn.prev {
    left: 15px;
}

.slider-btn.next {
    right: 15px;
}

/* Remove counter on mobile */
.slider-counter {
    display: none;
}

/* Mobile Slider Adjustments */
@media (max-width: 768px) {
    .detail-slider {
        position: relative;
        top: 0;
    }
    
    .slider-main {
        aspect-ratio: 4 / 3;
        max-height: 300px;
    }
    
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    .detail-grid {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .detail-slider,
    .detail-info {
        width: 100%;
        max-width: 100%;
    }
}

/* Purchase Guide Section */
.purchase-guide {
    background: linear-gradient(135deg, #5C3A1E 0%, #4A2F1A 100%);
    border: 3px solid #A68950;
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.guide-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #FFC857;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.guide-title i {
    font-size: 1.25rem;
}

.guide-steps {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-height: 1000px;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.4s ease;
}

.guide-steps.collapsed {
    max-height: 0;
    opacity: 0;
}

@media (min-width: 768px) {
    .guide-steps.collapsed {
        max-height: 1000px;
        opacity: 1;
    }
}

.guide-toggle {
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    color: #FFC857;
    font-size: 1.25rem;
    font-weight: 700;
}

.guide-toggle-icon {
    transition: transform 0.3s ease;
    color: #FFC857;
}

.guide-toggle-icon.rotated {
    transform: rotate(180deg);
}

/* Show/Hide title based on screen size */
/* On desktop: Show h3, hide button */
.guide-toggle {
    display: none !important;
}

.guide-title:not(.guide-toggle) {
    display: block;
}

/* On mobile: Show button, hide h3 */
@media (max-width: 768px) {
    .guide-toggle {
        display: flex !important;
    }
    
    .guide-title:not(.guide-toggle) {
        display: none !important;
    }
    
    .purchase-guide {
        padding: 1rem;
    }
}

.guide-step {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem;
    background: linear-gradient(135deg, rgba(92, 58, 30, 0.3), rgba(74, 47, 26, 0.3));
    border-radius: 8px;
    border-left: 3px solid #A68950;
    border: 1px solid rgba(62, 40, 21, 0.4);
}

.guide-step-number {
    background: linear-gradient(135deg, #8B6914, #704214);
    color: #FFC857;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    flex-shrink: 0;
    border: 2px solid #A68950;
    box-shadow: 0 0 10px rgba(166, 137, 80, 0.3);
}

.guide-step-text {
    flex: 1;
    color: #FFD98E;
    font-size: 0.95rem;
    line-height: 1.5;
}

.warning-box {
    background: rgba(239, 68, 68, 0.1);
    border: 2px solid #EF4444;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.warning-icon {
    color: #EF4444;
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.warning-text {
    flex: 1;
}

.warning-title {
    font-weight: 700;
    color: #EF4444;
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.warning-content {
    color: #FCA5A5;
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Thumbnails */
.slider-thumbnails {
    display: flex;
    gap: 10px;
    padding: 15px;
    overflow-x: auto;
    background: linear-gradient(135deg, #5C3A1E, #4A2F1A);
    scrollbar-width: thin;
    scrollbar-color: #FFC857 #5C3A1E;
}

.slider-thumbnails::-webkit-scrollbar {
    height: 8px;
}

.slider-thumbnails::-webkit-scrollbar-track {
    background: #4A3428;
}

.slider-thumbnails::-webkit-scrollbar-thumb {
    background: #A68950;
    border-radius: 4px;
}

.slider-thumbnail {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border: 2px solid #8B7355;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.slider-thumbnail:hover {
    border-color: #FFC857;
    transform: scale(1.05);
}

.slider-thumbnail.active {
    border-color: #FFC857;
    box-shadow: 0 0 10px rgba(166, 137, 80, 0.6);
}

/* Detail Info Panel */
.detail-info {
    background: linear-gradient(135deg, #5C3A1E 0%, #4A2F1A 100%);
    border: 3px solid #A68950;
    border-radius: 16px;
    padding: 2rem;
    max-width: 100%;
    width: 100%;
    overflow-x: hidden;
    position: relative;
}

.detail-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(166, 137, 80, 0.1) 0%, transparent 50%);
    border-radius: 14px;
    pointer-events: none;
}

.detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 2px solid #8B7355;
    margin-bottom: 1.5rem;
}

.detail-id {
    font-size: 1.5rem;
    font-weight: 700;
    color: #FFC857;
    text-shadow: 0 2px 8px rgba(166, 137, 80, 0.4);
}

.detail-badge {
    background: linear-gradient(135deg, #704214, #8B6914);
    color: #FFC857;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(62, 40, 21, 0.5);
}

/* Price Section */
.detail-price {
    background: linear-gradient(135deg, #5C3A1E, #4A2F1A);
    border: 2px solid #A68950;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.price-label {
    font-size: 0.9rem;
    color: #FFD98E;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.price-value {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #FFD700, #FFC857);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 10px rgba(255, 215, 0, 0.6);
    filter: brightness(1.2);
}

/* Specs Section */
.detail-specs {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.spec-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 640px) {
    .spec-row {
        grid-template-columns: 1fr;
    }
}

.spec-box {
    background: linear-gradient(135deg, #2D1F1A, #3A2418);
    border: 2px solid #8B7355;
    border-radius: 10px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.spec-box:hover {
    border-color: #FFC857;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(251, 185, 49, 0.3);
}

.spec-box i {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(251, 185, 49, 0.15);
    border-radius: 8px;
}

.spec-content {
    flex: 1;
}

.spec-label {
    font-size: 0.8rem;
    color: #FFD98E;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.spec-value {
    font-size: 1rem;
    font-weight: 600;
    color: #FFFFFF;
}

/* Badges in Spec - uses global badge styles defined above */

.text-yellow-500 {
    color: #FFC857;
}

/* Description Section */
.detail-description {
    background: linear-gradient(135deg, #5C3A1E, #4A2F1A);
    border: 2px solid #D4A76A;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.description-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #FFC857;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.description-title i {
    font-size: 1.2rem;
}

.description-content {
    color: #FFD98E;
    line-height: 1.7;
    font-size: 0.95rem;
    word-wrap: break-word;
}

/* Action Buttons */
.detail-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 640px) {
    .detail-actions {
        grid-template-columns: 1fr;
    }
}

.btn-block {
    width: 100%;
    text-align: center;
    justify-content: center;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 700;
}

.btn-primary {
    background: linear-gradient(135deg, #704214, #5C3A1E);
    color: #FFC857;
    border: 2px solid #D4A76A;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(112, 66, 20, 0.6);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #8B6914, #704214);
    box-shadow: 0 8px 20px rgba(62, 40, 21, 0.8);
    transform: translateY(-2px);
    color: #FFC857;
    border-color: #FFC857;
}

.btn-secondary {
    background: linear-gradient(135deg, #3A2418, #4A3428);
    color: #FFC857;
    border: 2px solid #D4A76A;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #704214, #8B6914);
    border-color: #FFC857;
    color: #FFC857;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(112, 66, 20, 0.7);
}

.btn i {
    font-size: 1.2rem;
}

/* ========================================
   DETAIL PAGE - SELLER INFO SECTION
   ======================================== */

.seller-info-section {
    background: linear-gradient(135deg, #5C3A1E 0%, #4A2F1A 100%);
    border: 2px solid #D4A76A;
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.seller-info-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.seller-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #A68950;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(166, 137, 80, 0.4);
}

.seller-avatar-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #A68950;
    background: linear-gradient(135deg, #8B6914, #704214);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: #FFC857;
    box-shadow: 0 4px 12px rgba(166, 137, 80, 0.4);
}

.seller-details {
    flex: 1;
}

.seller-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #FFC857;
    margin-bottom: 0.25rem;
}

.seller-label {
    font-size: 0.875rem;
    color: #FFD98E;
}

.seller-contact-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: 1rem;
}

.contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid;
}

.contact-btn-phone {
    background: linear-gradient(135deg, #704214, #5C3A1E);
    color: #FFC857;
    border-color: #D4A76A;
}

.contact-btn-phone:hover {
    background: linear-gradient(135deg, #8B6914, #704214);
    box-shadow: 0 6px 16px rgba(166, 137, 80, 0.4);
    transform: translateY(-2px);
    border-color: #FFC857;
    color: #FFC857;
}

.contact-btn-facebook {
    background: linear-gradient(135deg, #5C3A1E, #4A2F1A);
    color: #FFD98E;
    border-color: #704214;
}

.contact-btn-facebook:hover {
    background: linear-gradient(135deg, #704214, #5C3A1E);
    box-shadow: 0 6px 16px rgba(150, 120, 86, 0.4);
    transform: translateY(-2px);
    border-color: #FFC857;
    color: #FFC857;
}

.contact-btn i {
    font-size: 1.1rem;
}

/* Compact Spec List with Bullets */
.spec-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.spec-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.5rem;
    background: linear-gradient(135deg, rgba(92, 58, 30, 0.3), rgba(74, 47, 26, 0.3));
    border-radius: 8px;
    border: 1px solid rgba(62, 40, 21, 0.4);
}

.spec-bullet {
    color: #FFC857;
    font-size: 0.75rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.spec-item-content {
    flex: 1;
    min-width: 0;
}

.spec-item-label {
    font-size: 0.75rem;
    color: #FFD98E;
    margin-bottom: 0.125rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

.spec-item-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: #FFC857;
    word-wrap: break-word;
}

/* Responsive Grid for Specs */
@media (max-width: 768px) {
    .spec-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    
    .spec-item {
        padding: 0.4rem;
    }
    
    .spec-item-label {
        font-size: 0.7rem;
    }
    
    .spec-item-value {
        font-size: 0.85rem;
    }
    
    .seller-contact-buttons {
        grid-template-columns: 1fr;
    }
    
    .seller-info-header {
        flex-direction: column;
        text-align: center;
    }
    
    .seller-avatar,
    .seller-avatar-placeholder {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 640px) {
    .detail-grid {
        grid-template-columns: 1fr;
        padding: 0;
        gap: 1rem;
    }
    
    .detail-slider,
    .detail-info,
    .purchase-guide {
        padding: 1rem;
        margin-left: 0;
        margin-right: 0;
    }
    
    .seller-info-section {
        padding: 1rem;
    }
    
    body,
    .container,
    main {
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    img {
        max-width: 100%;
        height: auto;
    }
}

/* ===================================
   Image Preview Button
   =================================== */

.preview-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, rgba(135, 107, 72, 0.95), rgba(245, 158, 11, 0.95));
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: #1A0F0A;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.preview-btn:hover {
    background: linear-gradient(135deg, #A68950, #8B6914);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(166, 137, 80, 0.5);
}

.preview-btn:active {
    transform: scale(0.95);
}

.preview-btn i {
    pointer-events: none;
}

/* Responsive preview button */
@media (max-width: 640px) {
    .preview-btn {
        width: 38px;
        height: 38px;
        font-size: 16px;
        top: 8px;
        right: 8px;
    }
}

/* ========================================
   SHOP PAGE STYLES
   ======================================== */

/* Shop Owner Card */
.shop-owner-card {
    background: linear-gradient(135deg, #4A2F1A, #5C3A1E);
    border: 2px solid #D4A76A;
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 40px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.shop-owner-content {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}

.shop-owner-avatar-wrapper {
    position: relative;
    flex-shrink: 0;
}

.shop-owner-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid #A68950;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(166, 137, 80, 0.3);
}

.shop-owner-no-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid #8B6914;
    background: linear-gradient(135deg, #704214, #5C3A1E);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFC857;
    font-size: 48px;
}

.shop-owner-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #A68950, #876B48);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1A0F0A;
    font-size: 18px;
    border: 3px solid #4A2F1A;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.shop-owner-info {
    flex: 1;
    min-width: 250px;
}

.shop-owner-name {
    font-size: 32px;
    font-weight: 700;
    background: linear-gradient(90deg, #FFD700, #FFC857);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    filter: brightness(1.1);
}

.shop-owner-label {
    color: #FFD98E;
    font-size: 16px;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    font-weight: 600;
}

.shop-owner-joined {
    color: #FFD98E;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.shop-owner-contact {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.shop-contact-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    background: linear-gradient(135deg, #FFD700, #FFC857);
    color: #4A2F1A;
    border-color: #FFD700;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

.shop-contact-phone:hover,
.shop-contact-zalo:hover {
    background: linear-gradient(135deg, #FFC857, #FFD700);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
    transform: translateY(-2px);
    border-color: #FDB931;
}

/* Game Section */
.game-section {
    margin-bottom: 48px;
}

.game-section-header {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid #D4A76A;
}

.game-section-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.game-section-title i {
    font-size: 32px;
}

.game-section-title h2 {
    font-size: 28px;
    font-weight: 700;
    color: #FFC857;
    margin: 0;
}

.game-section-count {
    color: #FFD98E;
    font-size: 18px;
    font-weight: 500;
}

/* Shop Account Grid */
.shop-account-grid {
    margin-bottom: 24px;
}

/* Load More Button */
.load-more-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

.load-more-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 48px;
    background: linear-gradient(135deg, #704214, #5C3A1E);
    border: 2px solid #D4A76A;
    border-radius: 12px;
    color: #FFC857;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.load-more-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #8B6914, #704214);
    box-shadow: 0 6px 16px rgba(62, 40, 21, 0.4);
    transform: translateY(-2px);
}

.load-more-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.load-more-btn i {
    font-size: 18px;
}

.load-more-count {
    color: #FFD98E;
    font-weight: 400;
}

/* Responsive Shop Owner Card */
@media (max-width: 768px) {
    .shop-owner-card {
        padding: 24px;
    }
    
    .shop-owner-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .shop-owner-avatar,
    .shop-owner-no-avatar {
        width: 100px;
        height: 100px;
    }
    
    .shop-owner-no-avatar {
        font-size: 40px;
    }
    
    .shop-owner-badge {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
    
    .shop-owner-name {
        font-size: 24px;
    }
    
    .shop-owner-label,
    .shop-owner-joined {
        justify-content: center;
    }
    
    .shop-owner-contact {
        justify-content: center;
        width: 100%;
    }
    
    .shop-contact-btn {
        flex: 1;
        justify-content: center;
        min-width: 140px;
    }
    
    .game-section-title {
        flex-wrap: wrap;
    }
    
    .game-section-title h2 {
        font-size: 22px;
    }
    
    .game-section-title i {
        font-size: 26px;
    }
    
    .load-more-btn {
        padding: 14px 32px;
        font-size: 15px;
    }
}

