/* ============================================
   MODERN E-COMMERCE UI/UX DESIGN
   Professional Team Lead Level Styling
   ============================================ */

/* ========== CSS Variables & Color Palette ========== */
:root {
    /* Primary Brand Colors - Vibrant & Eye-catching */
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --accent-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --success-gradient: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    --warning-gradient: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    --dark-gradient: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    
    /* Solid Colors */
    --primary-color: #667eea;
    --primary-dark: #5568d3;
    --secondary-color: #f5576c;
    --accent-color: #4facfe;
    --success-color: #43e97b;
    --warning-color: #fa709a;
    --danger-color: #e74c3c;
    --dark-color: #2c3e50;
    --light-color: #f8f9fa;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 20px rgba(102, 126, 234, 0.4);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ========== Global Styles ========== */
html {
    font-size: 14px;
    scroll-behavior: smooth;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    background-attachment: fixed;
    min-height: 100vh;
    color: #2c3e50;
    line-height: 1.6;
}

main {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 25px;
    padding: 2rem;
    margin: 2rem auto;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);
}

/* ========== Header & Navigation ========== */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-lg);
}

.navbar {
    background: var(--dark-gradient) !important;
    padding: 1rem 0;
    backdrop-filter: blur(10px);
    border-bottom: 3px solid var(--primary-color);
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 800;
    transition: var(--transition-normal);
    letter-spacing: 0.5px;
}

.navbar-brand .logo-al {
    color: #111827;
}

.navbar-brand .logo-get {
    color: #2563EB;
}

.navbar-brand:hover {
    transform: scale(1.05);
    text-shadow: 0 0 18px rgba(37, 99, 235, 0.45);
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    margin: 0 0.25rem;
    border-radius: 8px;
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--accent-gradient);
    transition: var(--transition-normal);
    z-index: -1;
}

.navbar-nav .nav-link:hover::before {
    left: 0;
}

.navbar-nav .nav-link:hover {
    color: white !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.navbar-toggler {
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(102, 126, 234, 0.5);
}

/* Badge Styles */
.badge {
    font-weight: 600;
    padding: 0.35em 0.65em;
    border-radius: 12px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* ========== Buttons ========== */
.btn {
    border-radius: 12px;
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition-normal);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
    background: var(--primary-gradient);
    color: white;
}

.btn-success {
    background: var(--success-gradient);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-success:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.btn-danger {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-danger:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary-gradient);
    color: white;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-success {
    border: 2px solid var(--success-color);
    color: var(--success-color);
    background: transparent;
}

.btn-outline-success:hover {
    background: var(--success-gradient);
    color: white;
    border-color: transparent;
    transform: translateY(-3px);
}

.btn-outline-danger {
    border: 2px solid var(--danger-color);
    color: var(--danger-color);
    background: transparent;
}

.btn-outline-danger:hover {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    border-color: transparent;
    transform: translateY(-3px);
}

/* ========== Cards ========== */
.card {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-md);
    background: white;
    position: relative;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.card-header {
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: 1.25rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-body {
    padding: 1.5rem;
}

.product-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

.product-card:hover::before {
    opacity: 0.05;
}

.product-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 25px 60px rgba(102, 126, 234, 0.3);
}

.product-card img {
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 15px 15px 0 0;
    position: relative;
    z-index: 0;
}

.product-card:hover img {
    transform: scale(1.15) rotate(2deg);
    filter: brightness(1.1) saturate(1.2);
}

.product-card .card-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
    background: white;
}

.product-card .card-title {
    color: var(--dark-color);
    font-weight: 700;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
    position: relative;
}

.product-card:hover .card-title {
    color: var(--primary-color);
    transform: translateX(5px);
}

.product-card .card-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary-gradient);
    transition: width 0.3s ease;
}

.product-card:hover .card-title::after {
    width: 50px;
}

/* ========== Forms ========== */
.form-control {
    border-radius: 12px;
    border: 2px solid #e0e0e0;
    padding: 0.75rem 1rem;
    transition: var(--transition-fast);
    font-size: 1rem;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(102, 126, 234, 0.25);
    outline: none;
}

.form-label {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

/* ========== Tables ========== */
.table {
    border-radius: 15px;
    overflow: hidden;
}

.table thead {
    background: var(--primary-gradient);
    color: white;
}

.table thead th {
    border: none;
    padding: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.table tbody tr {
    transition: var(--transition-fast);
}

.table tbody tr:hover {
    background: rgba(102, 126, 234, 0.1);
    transform: scale(1.01);
}

.table tbody td {
    padding: 1rem;
    vertical-align: middle;
}

/* ========== Badges ========== */
.badge.bg-success {
    background: var(--success-gradient) !important;
}

.badge.bg-danger {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%) !important;
}

.badge.bg-warning {
    background: var(--warning-gradient) !important;
    color: #2c3e50 !important;
}

.badge.bg-primary {
    background: var(--primary-gradient) !important;
}

.badge.bg-info {
    background: var(--accent-gradient) !important;
}

/* ========== Alerts ========== */
.alert {
    border-radius: 15px;
    border: none;
    padding: 1.25rem 1.5rem;
    box-shadow: var(--shadow-md);
    font-weight: 500;
}

.alert-info {
    background: var(--accent-gradient);
    color: white;
}

.alert-success {
    background: var(--success-gradient);
    color: white;
}

.alert-warning {
    background: var(--warning-gradient);
    color: #2c3e50;
}

.alert-danger {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
}

/* ========== Hero Section & Modern Carousel ========== */
.hero-section {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    margin-top: 2rem;
    box-shadow: var(--shadow-xl);
    perspective: 1000px;
}

.carousel-modern {
    border-radius: 30px;
    overflow: hidden;
    position: relative;
}

.carousel-image-wrapper {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.carousel-image {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(1.1);
}

.carousel-item.active .carousel-image {
    transform: scale(1);
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.8) 0%, rgba(118, 75, 162, 0.8) 100%);
    opacity: 0.7;
    transition: opacity 0.5s ease;
}

.carousel-item.active .carousel-overlay {
    opacity: 0.6;
}

.carousel-caption-modern {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 90%;
    max-width: 800px;
    z-index: 10;
}

.carousel-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.carousel-badge {
    display: inline-block;
    background: var(--warning-gradient);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    animation: pulse 2s infinite;
    box-shadow: 0 4px 15px rgba(250, 112, 154, 0.4);
}

.carousel-title {
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: none;
}

.carousel-description {
    font-size: 1.3rem;
    color: #555;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.carousel-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-carousel-primary {
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-carousel-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-carousel-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-carousel-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.6);
}

.btn-carousel-outline {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    border: 3px solid var(--primary-color);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.btn-carousel-outline:hover {
    background: var(--primary-gradient);
    color: white;
    border-color: transparent;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

/* Carousel Controls */
.carousel-control-modern {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.carousel-control-modern:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
    background: var(--primary-gradient);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
}

.carousel-control-prev-modern,
.carousel-control-next-modern {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.carousel-control-modern:hover .carousel-control-prev-modern,
.carousel-control-modern:hover .carousel-control-next-modern {
    color: white;
}

.carousel-control-prev-modern i,
.carousel-control-next-modern i {
    font-size: 2rem;
}

/* Carousel Indicators */
.carousel-indicators {
    margin-bottom: 2rem;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid white;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.carousel-indicators button.active {
    background: white;
    width: 30px;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(255, 255, 255, 0.5);
}

/* Animations */
@keyframes animate-slide-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes animate-slide-up-delay {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes animate-fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.animate-slide-up {
    animation: animate-slide-up 0.8s ease-out;
}

.animate-slide-up-delay {
    animation: animate-slide-up-delay 1s ease-out;
    animation-delay: 0.2s;
    animation-fill-mode: both;
}

.animate-fade-in {
    animation: animate-fade-in 1.2s ease-out;
    animation-delay: 0.4s;
    animation-fill-mode: both;
}

/* ========== Sections ========== */
section {
    margin-bottom: 4rem;
}

section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--accent-gradient);
    border-radius: 2px;
}

/* ========== Footer ========== */
footer {
    background: var(--dark-gradient) !important;
    margin-top: 4rem;
    padding: 3rem 0 1.5rem !important;
    border-top: 3px solid var(--primary-color);
}

footer h5 {
    color: white;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition-fast);
}

footer a:hover {
    color: white;
    padding-left: 5px;
}

footer hr {
    border-color: rgba(255, 255, 255, 0.2);
    margin: 2rem 0;
}

/* ========== Category Cards ========== */
.category-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 0;
}

.category-card:hover::before {
    left: 0;
    opacity: 0.1;
}

.category-card:hover {
    transform: translateY(-15px) rotateY(5deg);
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.3);
}

.category-icon-wrapper {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto;
}

.category-icon {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    border-radius: 50%;
    font-size: 3rem;
    color: white;
    z-index: 2;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.category-icon-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: var(--accent-gradient);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 1;
}

.category-card:hover .category-icon {
    transform: scale(1.1) rotate(360deg);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.5);
}

.category-card:hover .category-icon-bg {
    opacity: 0.3;
    transform: translate(-50%, -50%) scale(1.2);
}

.category-card .card-title {
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.category-card:hover .card-title {
    color: var(--primary-color);
}

.category-btn {
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.category-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.category-btn:hover::after {
    width: 300px;
    height: 300px;
}

/* ========== Animations ========== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

.slide-in {
    animation: slideIn 0.6s ease-out;
}

.float-animation {
    animation: float 3s ease-in-out infinite;
}

/* ========== Utility Classes ========== */
.text-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient-primary {
    background: var(--primary-gradient);
}

.bg-gradient-secondary {
    background: var(--secondary-gradient);
}

.bg-gradient-accent {
    background: var(--accent-gradient);
}

.shadow-glow {
    box-shadow: var(--shadow-glow);
}

/* ========== Responsive Design ========== */
@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.4rem;
    }
    
    section h2 {
        font-size: 2rem;
    }
    
    .carousel-title {
        font-size: 2rem !important;
    }
    
    .carousel-description {
        font-size: 1rem !important;
    }
    
    .carousel-content {
        padding: 1.5rem !important;
    }
    
    .carousel-actions {
        flex-direction: column;
    }
    
    .btn-carousel-primary,
    .btn-carousel-outline {
        width: 100%;
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    .carousel-image-wrapper {
        height: 300px !important;
    }
    
    .category-icon-wrapper {
        width: 80px;
        height: 80px;
    }
    
    .category-icon {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }
    
    .floating-actions {
        bottom: 20px;
        right: 20px;
    }
    
    .fab-main {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .fab-item {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    .card {
        margin-bottom: 1.5rem;
    }
    
    .product-card:hover {
        transform: translateY(-5px) scale(1.01);
    }
    
    .category-card:hover {
        transform: translateY(-5px);
    }
}

/* ========== Loading States ========== */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.spinner-border {
    border-width: 3px;
    width: 3rem;
    height: 3rem;
}

/* ========== Focus States ========== */
.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, 
.form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(102, 126, 234, 0.5);
    outline: none;
}

/* ========== Floating Action Buttons ========== */
.floating-actions {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.fab-main {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-gradient);
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10;
}

.fab-main:hover {
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.6);
}

.fab-main.active {
    transform: rotate(45deg);
    background: var(--secondary-gradient);
}

.fab-menu {
    position: absolute;
    bottom: 70px;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.fab-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.fab-item {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    font-size: 1.2rem;
    position: relative;
}

.fab-item:hover {
    transform: scale(1.15);
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.fab-item:nth-child(1) {
    animation-delay: 0.1s;
}

.fab-item:nth-child(2) {
    animation-delay: 0.2s;
}

.fab-item:nth-child(3) {
    animation-delay: 0.3s;
}

.fab-item:nth-child(4) {
    animation-delay: 0.4s;
}

/* ========== Loading Animations ========== */
.loading-spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid rgba(102, 126, 234, 0.1);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 8px;
}

.skeleton-text {
    height: 1rem;
    margin-bottom: 0.5rem;
}

.skeleton-title {
    height: 2rem;
    width: 60%;
    margin-bottom: 1rem;
}

.skeleton-image {
    height: 200px;
    width: 100%;
}

/* ========== Scrollbar Styling ========== */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-gradient);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-gradient);
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
    z-index: 999;
}

.scroll-to-top.show {
    display: flex;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
}

/* ========== Container Enhancements ========== */
.container-fluid {
    padding-left: 2rem;
    padding-right: 2rem;
}

.container {
    max-width: 1200px;
}

@media (max-width: 768px) {
    .container-fluid {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    main {
        padding: 1rem;
        margin: 1rem;
        border-radius: 15px;
    }
}

/* ========== Price Display ========== */
.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.price-old {
    text-decoration: line-through;
    color: #999;
    font-size: 1rem;
    margin-right: 0.5rem;
}

.price-discount {
    color: var(--danger-color);
    font-weight: 700;
}

/* ========== Pagination ========== */
.pagination {
    justify-content: center;
    margin-top: 2rem;
}

.page-link {
    border-radius: 10px;
    margin: 0 0.25rem;
    border: 2px solid #e0e0e0;
    color: var(--primary-color);
    transition: var(--transition-fast);
}

.page-link:hover {
    background: var(--primary-gradient);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
}

.page-item.active .page-link {
    background: var(--primary-gradient);
    border-color: transparent;
    box-shadow: var(--shadow-md);
}

/* ========== Dropdown Menus ========== */
.dropdown-menu {
    border-radius: 15px;
    border: none;
    box-shadow: var(--shadow-lg);
    padding: 0.5rem;
    margin-top: 0.5rem;
}

.dropdown-item {
    border-radius: 10px;
    padding: 0.75rem 1rem;
    transition: var(--transition-fast);
}

.dropdown-item:hover {
    background: var(--primary-gradient);
    color: white;
    transform: translateX(5px);
}

/* ========== Search Bar ========== */
.form-control.me-2 {
    border-radius: 25px;
    padding-left: 2.5rem;
}

.btn-outline-light {
    border-radius: 25px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition-fast);
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary-color);
    border-color: white;
    transform: scale(1.05);
}
