/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Roboto:wght@300;400;500;700&display=swap');

/* Brand Colors */
:root {
    --charcoal: #2C333D;
    --gold: #D4913B;
    --cream: #F5F1E3;
    --slate: #4A5D74;
}

body {
    font-family: 'Poppins', 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--charcoal);
    background-color: var(--cream);
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Modern Header with Gradient */
.header {
    width: 100%;
    background: var(--charcoal);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    max-width: 100%;
    width: 100%;
    padding: 0 2rem;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    width: 100%;
    max-width: 100%;
}

.header-content .nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo a {
    text-decoration: none;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-logo {
    height: 80px;
    width: auto;
    max-width: 240px;
    object-fit: contain;
    transition: transform 0.3s;
}

.site-logo:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .site-logo {
        height: 45px;
        max-width: 150px;
    }
}

/* UFC Logo Design - Unique Fashion Style */
.ufc-logo {
    display: flex;
    align-items: center;
    gap: 0;
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    letter-spacing: -2px;
    position: relative;
    padding: 8px 0;
}

.ufc-letter {
    display: inline-block;
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1;
    position: relative;
    color: #ffffff;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
}

.ufc-u {
    transform: translateX(0) rotateY(0deg);
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ufc-f {
    transform: translateX(-5px) translateY(-3px) rotateY(-5deg);
    background: linear-gradient(135deg, var(--gold) 0%, #E5A855 50%, var(--gold) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: goldShine 3s ease-in-out infinite;
    z-index: 2;
    position: relative;
}

.ufc-c {
    transform: translateX(-8px) rotateY(5deg);
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ufc-logo:hover .ufc-u {
    transform: translateX(2px) rotateY(-5deg) scale(1.05);
}

.ufc-logo:hover .ufc-f {
    transform: translateX(-5px) translateY(-5px) rotateY(0deg) scale(1.1);
    filter: drop-shadow(0 4px 12px rgba(255, 215, 0, 0.6));
}

.ufc-logo:hover .ufc-c {
    transform: translateX(-8px) rotateY(5deg) scale(1.05);
}

@keyframes goldShine {
    0%, 100% {
        background-position: 0% center;
        filter: drop-shadow(0 2px 8px rgba(212, 145, 59, 0.4));
    }
    50% {
        background-position: 100% center;
        filter: drop-shadow(0 4px 16px rgba(212, 145, 59, 0.7));
    }
}

/* Decorative line under logo */
.ufc-logo::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    transition: width 0.4s ease;
    border-radius: 2px;
}

.logo-link:hover .ufc-logo::after {
    width: 110%;
}

.logo h1 {
    font-size: 2rem;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    background: linear-gradient(45deg, #fff, var(--gold), #fff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shine 3s linear infinite;
}

@keyframes shine {
    to { background-position: 200% center; }
}

.search-bar {
    flex: 1;
    max-width: 700px;
    margin: 0 1.5rem;
}

.search-bar form {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

.search-bar .search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-size: 1rem;
    z-index: 3;
    pointer-events: none;
}

.search-bar input {
    width: 100%;
    padding: 0.85rem 1.2rem 0.85rem 2.8rem;
    border: 2px solid transparent;
    border-radius: 8px;
    font-size: 0.95rem;
    background: #f0f2f5;
    transition: all 0.3s ease;
    color: #333;
}

.search-bar input::placeholder {
    color: #999;
    font-weight: 400;
}

.search-bar input:focus {
    outline: none;
    background: white;
    border-color: #e0e0e0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.search-bar button {
    display: none;
}

.menu-toggle {
    display: none;
    background: rgba(255,255,255,0.2);
    border: 2px solid rgba(255,255,255,0.3);
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.5rem;
    transition: all 0.3s;
    align-items: center;
    justify-content: center;
}

.menu-toggle:hover {
    background: rgba(255,255,255,0.3);
    border-color: rgba(255,255,255,0.5);
}

.menu-toggle i {
    display: block;
}

.nav {
    display: block;
    position: static;
    max-height: none;
    opacity: 1;
    overflow: visible;
    flex: 1;
    margin: 0 2rem;
}

.main-nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.main-nav-list > li {
    position: relative;
}

/* Categories Dropdown */
.categories-dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-toggle i {
    font-size: 0.7rem;
    margin-left: 0.3rem;
    transition: transform 0.3s;
    vertical-align: middle;
    display: inline-flex;
    align-items: center;
}

.categories-dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #1a1a1a;
    min-width: 200px;
    list-style: none;
    margin: 0;
    padding: 0.5rem 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    border-radius: 5px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    z-index: 1000;
    margin-top: 0.5rem;
}

.categories-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
    border-radius: 0;
}

.dropdown-menu a:hover {
    background: rgba(255,255,255,0.1);
    padding-left: 2rem;
}

.main-nav-list > li > a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    transition: all 0.3s;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    white-space: nowrap;
    font-size: 0.95rem;
    line-height: 1;
}

.main-nav-list > li > a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s;
}

.main-nav-list > li > a:hover::after {
    width: 100%;
}

.main-nav-list > li > a:hover {
    color: #f0f0f0;
}

.cart-badge {
    background: var(--gold);
    color: var(--charcoal);
    border-radius: 50%;
    padding: 2px 8px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-left: 5px;
    box-shadow: 0 2px 8px rgba(212, 145, 59, 0.5);
    animation: pulse 2s infinite;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    min-width: 18px;
    height: 18px;
}

/* Full Width Container */
.full-width {
    width: 100%;
    padding: 0;
    max-width: 100%;
}

.full-width-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Products Page Layout */
.products-page-container {
    padding: 2rem 20px;
}

.products-page-layout {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.products-filter-sidebar {
    background: white;
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    min-width: 250px;
    max-width: 280px;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.products-filter-sidebar h3 {
    margin-bottom: 1rem;
    color: #333;
    font-weight: 600;
    font-size: 1.1rem;
}

.products-filter-sidebar h3:not(:first-child) {
    margin-top: 2rem;
}

.products-filter-search {
    display: block;
}

.products-content-area {
    flex: 1;
    min-width: 0;
}

.no-products-message {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.no-products-message p {
    font-size: 1.2rem;
    color: #666;
}

/* Hero Banner/Carousel - Full Width */
.hero-carousel {
    position: relative;
    margin: 0;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    height: 550px;
    width: 100%;
}

.carousel-container {
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
}

.carousel-slide {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.8s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide.active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto;
    z-index: 1;
    transition: opacity 0.8s ease-in-out;
}

.carousel-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(198,69,105,0.7), rgba(255,107,107,0.7));
}

.carousel-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 2rem;
    max-width: 800px;
}

.carousel-content h2 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.3);
    animation: slideInUp 0.8s ease;
}

.carousel-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: slideInUp 0.8s ease 0.2s backwards;
}

.carousel-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 10px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-dot.active {
    background: white;
    width: 30px;
    border-radius: 6px;
}

.carousel-prev, .carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 3;
    font-size: 1.5rem;
    color: #C44569;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.carousel-prev:hover, .carousel-next:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev { left: 20px; }
.carousel-next { right: 20px; }

/* Category Banners */
.category-section {
    margin: 3rem 0;
}

/* Static Cards Section */
.static-cards-section {
    margin: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 3rem 0;
}

.static-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit);
    gap: 2rem;
    margin-top: 2rem;
}

.static-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.static-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,107,107,0.1) 0%, transparent 70%);
    transition: all 0.6s;
}

.static-card:hover::before {
    top: -100%;
    left: -100%;
}

.static-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.static-card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.static-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #333;
}

.static-card p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.static-card .btn {
    margin-top: 1rem;
}

/* Category Products Section */
.category-products-section {
    margin: 4rem 0;
    padding: 3rem 0;
    background: white;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.category-products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 0 2rem;
}

.category-products-header h2 {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #FF6B6B, #C44569, #FF8E53);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.category-products-header a {
    color: #FF6B6B;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.category-products-header a:hover {
    transform: translateX(5px);
}

.category-products-grid {
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--charcoal);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.category-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.6s;
}

.category-card:hover::before {
    left: 100%;
}

.category-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.category-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.category-card h3 {
    padding: 1.5rem;
    text-align: center;
    font-weight: 600;
    color: #333;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
}

/* Product Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.product-card::after {
    content: 'NEW';
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s;
}

.product-card:hover::after {
    opacity: 1;
}

.product-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.product-image {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.15) rotate(2deg);
}

.product-info {
    padding: 1.5rem;
    background: white;
}

.product-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-description {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 1rem;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: var(--gold);
    font-size: 0.9rem;
}

.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    background-color: var(--gold);
    color: white;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    transition: all 0.3s;
    text-align: center;
    box-shadow: 0 4px 15px rgba(212, 145, 59, 0.3);
    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:hover {
    background-color: #C4822F;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 145, 59, 0.5);
}

.btn:active {
    transform: translateY(-1px) scale(1.02);
}

.btn span {
    position: relative;
    z-index: 1;
}

.btn-secondary {
    background: linear-gradient(135deg, #6c757d, #5a6268);
}

.btn-danger {
    background: linear-gradient(135deg, #dc3545, #c82333);
}

.btn-success {
    background: linear-gradient(135deg, #28a745, #218838);
}

/* Main Content */
.main-content {
    min-height: calc(100vh - 200px);
    padding: 2rem 0;
}

/* Forms */
.form-container {
    max-width: 500px;
    margin: 2rem auto;
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s;
    background: #fff;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #FF6B6B;
    box-shadow: 0 4px 12px rgba(255,107,107,0.15);
    transform: translateY(-2px);
}

.error-message {
    background: #fee;
    color: #c33;
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    border-left: 4px solid #dc3545;
}

.success-message {
    background: #efe;
    color: #3c3;
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    border-left: 4px solid #28a745;
}

/* Product Details */
.product-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.product-details-image {
    width: 100%;
    border-radius: 20px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    overflow: hidden;
}

.product-details-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-details-image:hover img {
    transform: scale(1.05);
}

.product-details-info h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #333;
}

.product-details-price {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #FF6B6B, #C44569);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 1rem 0;
}

.product-details-description {
    color: #666;
    line-height: 1.8;
    margin: 1.5rem 0;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
}

.quantity-selector input {
    width: 80px;
    text-align: center;
    border-radius: 10px;
}

/* Cart */
.cart-table {
    width: 100%;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.cart-table table {
    width: 100%;
    border-collapse: collapse;
}

.cart-table th,
.cart-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.cart-table th {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    font-weight: 600;
}

.cart-table tbody tr {
    transition: all 0.3s ease;
}

.cart-table tbody tr:hover {
    background: #f8f9fa;
    transform: scale(1.01);
}

.cart-total {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    margin-top: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    font-size: 1.1rem;
}

.cart-total-row.total {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #FF6B6B, #C44569);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    border-top: 2px solid #e0e0e0;
    margin-top: 1rem;
    padding-top: 1rem;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 50%, #2c3e50 100%);
    color: white;
    padding: 4rem 0 2rem;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--charcoal), var(--gold), var(--charcoal));
    background-size: 200% 100%;
    animation: gradientShift 3s linear infinite;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--gold);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #ecf0f1;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.footer-section a:hover {
    color: var(--gold);
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #95a5a6;
}

/* Alert Messages */
.alert {
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    border-left: 4px solid;
}

.alert-error {
    background: #fee;
    color: #c33;
    border-left-color: #dc3545;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.2);
}

.alert-success {
    background: #efe;
    color: #3c3;
    border-left-color: #28a745;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.2);
}

/* Responsive */
@media (max-width: 992px) {
    .header .container {
        padding: 0 1rem;
    }
    
    .search-bar {
        max-width: 400px;
        margin: 0 1rem;
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }
    
    .ufc-letter {
        font-size: 1.9rem;
    }
    
    .nav ul {
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .header .container {
        padding: 0 1rem;
        position: relative;
    }
    
    .header-content {
        display: grid;
        grid-template-columns: auto 1fr auto;
        grid-template-rows: auto auto;
        gap: 1rem;
        align-items: center;
        position: relative;
    }
    
    .logo {
        grid-column: 1;
        grid-row: 1;
    }
    
    .logo h1 {
        font-size: 1.2rem;
    }
    
    .ufc-letter {
        font-size: 1.6rem;
    }
    
    .menu-toggle {
        display: flex;
        grid-column: 3;
        grid-row: 1;
        z-index: 1001;
    }
    
    .search-bar {
        grid-column: 1 / -1;
        grid-row: 2;
        max-width: 100%;
        margin: 0;
        width: 100%;
    }
    
    .search-bar input {
        padding: 0.75rem 1rem 0.75rem 2.5rem;
        font-size: 0.9rem;
    }
    
    .search-bar .search-icon {
        left: 0.75rem;
        font-size: 0.9rem;
    }
    
    .nav {
        position: absolute;
        top: 100%;
        right: 0;
        width: 100%;
        max-width: 400px;
        background: #000000;
        z-index: 999;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
        opacity: 0;
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
        border-radius: 0 0 10px 10px;
        margin-top: 0.5rem;
        display: block;
    }
    
    .nav:not(.nav-active) {
        max-height: 0;
        opacity: 0;
    }
    
    .nav-active {
        max-height: 600px;
        opacity: 1;
        overflow-y: auto;
    }
    
    .main-nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 1rem 0;
        width: 100%;
        margin: 0;
    }
    
    .main-nav-list > li {
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .main-nav-list > li:last-child {
        border-bottom: none;
    }
    
    .main-nav-list > li > a {
        padding: 1rem 1.5rem;
        border-radius: 0;
        width: 100%;
        justify-content: flex-start;
        margin: 0;
    }
    
    .main-nav-list > li > a::after {
        display: none;
    }
    
    .main-nav-list > li > a:hover {
        background: rgba(255,255,255,0.1);
        transform: translateX(5px);
    }
    
    .categories-dropdown .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(255,255,255,0.05);
        margin-top: 0;
        border-radius: 0;
    }
    
    .categories-dropdown .dropdown-toggle i {
        transform: none;
    }
    
    .nav a i {
        font-size: 1.2rem;
        min-width: 25px;
    }
    
    .cart-badge {
        margin-left: auto;
    }
    
    .carousel-content h2 {
        font-size: 2rem;
    }
    
    .carousel-content p {
        font-size: 1rem;
    }
    
    .hero-carousel {
        height: 350px;
    }
    
    .static-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .category-products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        padding: 0 1rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .category-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    /* Cart Page Mobile Styles - Card View */
    .cart-table {
        overflow: visible;
        width: 100%;
        max-width: min(350px, calc(100% - 2rem));
        margin: 0 auto;
    }
    
    .cart-table table {
        width: 100%;
        max-width: 100%;
        border-collapse: collapse;
    }
    
    .cart-table thead {
        display: none;
    }
    
    .cart-table tbody {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        max-width: 100%;
    }
    
    .cart-table tbody tr {
        display: block;
        background: white;
        border: 1px solid #e0e0e0;
        border-radius: 15px;
        padding: 1rem;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .cart-table tbody td {
        display: block;
        padding: 0.75rem 0;
        text-align: left !important;
        border: none;
        border-bottom: 1px solid #f0f0f0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .cart-table tbody td:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
    
    .cart-table tbody td::before {
        content: attr(data-label);
        font-weight: 600;
        color: #666;
        display: block;
        margin-bottom: 0.5rem;
        font-size: 0.85rem;
    }
    
    .cart-table tbody td:first-child::before {
        content: "";
        margin-bottom: 0;
    }
    
    .cart-table tbody td:first-child {
        border-bottom: 1px solid #e0e0e0;
        padding-bottom: 1rem;
    }
    
    .cart-table .product-image {
        width: 80px !important;
        height: 80px !important;
        margin-bottom: 0.5rem;
    }
    
    .cart-table input[type="number"] {
        width: 80px !important;
        padding: 0.5rem !important;
        font-size: 0.9rem;
        margin-right: 0.5rem;
    }
    
    .cart-table .btn {
        padding: 0.5rem 1rem !important;
        font-size: 0.85rem;
        margin-top: 0.5rem;
    }
    
    .cart-table form {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 0.5rem;
        width: 100%;
        max-width: 100%;
    }
    
    .cart-total {
        padding: 1.5rem;
        margin-top: 1.5rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .cart-total-row {
        font-size: 1rem;
    }
    
    .cart-total-row.total {
        font-size: 1.3rem;
    }
    
    /* Admin Pages Mobile Styles */
    .container h1 {
        font-size: 1.8rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    /* Admin Dashboard Grid */
    .container > div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    
    /* Admin Dashboard Stats Cards */
    .container > div[style*="grid-template-columns"] > div {
        padding: 1.5rem !important;
    }
    
    .container > div[style*="grid-template-columns"] > div p {
        font-size: 2rem !important;
    }
    
    /* Admin Dashboard Two Column Layout */
    .container > div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    
    /* Admin Tables */
    .container > div[style*="background: white"] {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .container table {
        min-width: 300px;
        max-width: min(350px, calc(100% - 2rem));
        font-size: 0.85rem;
    }
    
    .container table th,
    .container table td {
        padding: 0.75rem 0.5rem !important;
    }
    
    /* Admin Header with Button */
    .container > div[style*="display: flex"] {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 1rem !important;
    }
    
    .container > div[style*="display: flex"] .btn {
        width: 100%;
        text-align: center;
    }
    
    /* Admin Form Elements */
    .container select {
        width: 100% !important;
        padding: 0.5rem !important;
        font-size: 0.85rem;
    }
    
    .container .btn {
        padding: 0.5rem 1rem !important;
        font-size: 0.9rem;
    }
    
    .product-details {
        grid-template-columns: 1fr;
    }
    
    .full-width-container {
        padding: 1rem 15px !important;
    }
    
    .products-page-container {
        padding: 1rem 1rem !important;
    }
    
    .container {
        padding: 0 1rem !important;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .products-page-layout {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .products-filter-sidebar {
        min-width: 100%;
        max-width: 100%;
        position: static;
        top: auto;
    }
    
    .products-filter-search {
        display: none;
    }
    
    .products-content-area {
        width: 100%;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    .product-image {
        height: 200px;
    }
    
    .product-title {
        font-size: 1rem;
    }
    
    .product-description {
        font-size: 0.85rem;
    }
    
    .product-price {
        font-size: 1.5rem;
    }
    
    /* Cart Page Mobile Styles - Card View */
    .cart-table {
        overflow: visible;
        width: 100%;
        max-width: min(350px, calc(100% - 2rem));
        margin: 0 auto;
    }
    
    .cart-table table {
        width: 100%;
        max-width: 100%;
        border-collapse: collapse;
    }
    
    .cart-table thead {
        display: none;
    }
    
    .cart-table tbody {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        max-width: 100%;
    }
    
    .cart-table tbody tr {
        display: block;
        background: white;
        border: 1px solid #e0e0e0;
        border-radius: 15px;
        padding: 1rem;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .cart-table tbody td {
        display: block;
        padding: 0.75rem 0;
        text-align: left !important;
        border: none;
        border-bottom: 1px solid #f0f0f0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .cart-table tbody td:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
    
    .cart-table tbody td::before {
        content: attr(data-label);
        font-weight: 600;
        color: #666;
        display: block;
        margin-bottom: 0.5rem;
        font-size: 0.85rem;
    }
    
    .cart-table tbody td:first-child::before {
        content: "";
        margin-bottom: 0;
    }
    
    .cart-table tbody td:first-child {
        border-bottom: 1px solid #e0e0e0;
        padding-bottom: 1rem;
    }
    
    .cart-table .product-image {
        width: 80px !important;
        height: 80px !important;
        margin-bottom: 0.5rem;
    }
    
    .cart-table input[type="number"] {
        width: 80px !important;
        padding: 0.5rem !important;
        font-size: 0.9rem;
        margin-right: 0.5rem;
    }
    
    .cart-table .btn {
        padding: 0.5rem 1rem !important;
        font-size: 0.85rem;
        margin-top: 0.5rem;
    }
    
    .cart-table form {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 0.5rem;
        width: 100%;
        max-width: 100%;
    }
    
    .cart-total {
        padding: 1.5rem;
        margin-top: 1.5rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .cart-total-row {
        font-size: 1rem;
    }
    
    .cart-total-row.total {
        font-size: 1.3rem;
    }
    
    /* Admin Pages Mobile Styles */
    .container h1 {
        font-size: 1.8rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    /* Admin Dashboard Grid */
    .container > div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    
    /* Admin Dashboard Stats Cards */
    .container > div[style*="grid-template-columns"] > div {
        padding: 1.5rem !important;
    }
    
    .container > div[style*="grid-template-columns"] > div p {
        font-size: 2rem !important;
    }
    
    /* Admin Dashboard Two Column Layout */
    .container > div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    
    /* Admin Tables */
    .container > div[style*="background: white"] {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .container table {
        min-width: 300px;
        max-width: min(350px, calc(100% - 2rem));
        font-size: 0.85rem;
    }
    
    .container table th,
    .container table td {
        padding: 0.75rem 0.5rem !important;
    }
    
    /* Admin Header with Button */
    .container > div[style*="display: flex"] {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 1rem !important;
    }
    
    .container > div[style*="display: flex"] .btn {
        width: 100%;
        text-align: center;
    }
    
    /* Admin Form Elements */
    .container select {
        width: 100% !important;
        padding: 0.5rem !important;
        font-size: 0.85rem;
    }
    
    .container .btn {
        padding: 0.5rem 1rem !important;
        font-size: 0.9rem;
    }
    
    .category-products-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 0.5rem 0;
    }
    
    .header .container {
        padding: 0 0.75rem;
    }
    
    .logo h1 {
        font-size: 1rem;
    }
    
    .ufc-letter {
        font-size: 1.3rem;
    }
    
    .ufc-logo {
        gap: -2px;
    }
    
    .search-bar input {
        padding: 0.65rem 0.85rem 0.65rem 2.3rem;
        font-size: 0.85rem;
    }
    
    .search-bar input::placeholder {
        font-size: 0.85rem;
    }
    
    .search-bar .search-icon {
        left: 0.65rem;
        font-size: 0.85rem;
    }
    
    .menu-toggle {
        padding: 0.4rem 0.6rem;
        font-size: 1.3rem;
    }
    
    .nav {
        right: 0.75rem;
        left: 0.75rem;
        width: calc(100% - 1.5rem);
        max-width: 100%;
    }
    
    .carousel-content h2 {
        font-size: 1.5rem;
    }
    
    .carousel-content p {
        font-size: 0.9rem;
    }
    
    .hero-carousel {
        height: 300px;
    }
    
    .products-page-container {
        padding: 0.75rem 0.75rem !important;
    }
    
    .products-filter-sidebar {
        padding: 1rem;
    }
    
    .products-filter-sidebar h3 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .products-filter-sidebar h3:not(:first-child) {
        margin-top: 1.5rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .product-image {
        height: 250px;
    }
    
    .product-info {
        padding: 1rem;
    }
    
    .no-products-message {
        padding: 2rem 1rem;
    }
    
    .no-products-message p {
        font-size: 1rem;
    }
    
    /* Cart Page Mobile Styles - Card View */
    .cart-table {
        overflow: visible;
        width: 100%;
        max-width: min(350px, calc(100% - 2rem));
        margin: 0 auto;
    }
    
    .cart-table table {
        width: 100%;
        max-width: 100%;
        border-collapse: collapse;
    }
    
    .cart-table thead {
        display: none;
    }
    
    .cart-table tbody {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        max-width: 100%;
    }
    
    .cart-table tbody tr {
        display: block;
        background: white;
        border: 1px solid #e0e0e0;
        border-radius: 15px;
        padding: 1rem;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .cart-table tbody td {
        display: block;
        padding: 0.75rem 0;
        text-align: left !important;
        border: none;
        border-bottom: 1px solid #f0f0f0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .cart-table tbody td:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
    
    .cart-table tbody td::before {
        content: attr(data-label);
        font-weight: 600;
        color: #666;
        display: block;
        margin-bottom: 0.5rem;
        font-size: 0.85rem;
    }
    
    .cart-table tbody td:first-child::before {
        content: "";
        margin-bottom: 0;
    }
    
    .cart-table tbody td:first-child {
        border-bottom: 1px solid #e0e0e0;
        padding-bottom: 1rem;
    }
    
    .cart-table .product-image {
        width: 80px !important;
        height: 80px !important;
        margin-bottom: 0.5rem;
    }
    
    .cart-table input[type="number"] {
        width: 80px !important;
        padding: 0.5rem !important;
        font-size: 0.9rem;
        margin-right: 0.5rem;
    }
    
    .cart-table .btn {
        padding: 0.5rem 1rem !important;
        font-size: 0.85rem;
        margin-top: 0.5rem;
    }
    
    .cart-table form {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 0.5rem;
        width: 100%;
        max-width: 100%;
    }
    
    .cart-total {
        padding: 1.5rem;
        margin-top: 1.5rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .cart-total-row {
        font-size: 1rem;
    }
    
    .cart-total-row.total {
        font-size: 1.3rem;
    }
    
    /* Admin Pages Mobile Styles */
    .container h1 {
        font-size: 1.8rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    /* Admin Dashboard Grid */
    .container > div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    
    /* Admin Dashboard Stats Cards */
    .container > div[style*="grid-template-columns"] > div {
        padding: 1.5rem !important;
    }
    
    .container > div[style*="grid-template-columns"] > div p {
        font-size: 2rem !important;
    }
    
    /* Admin Dashboard Two Column Layout */
    .container > div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    
    /* Admin Tables */
    .container > div[style*="background: white"] {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .container table {
        min-width: 300px;
        max-width: min(350px, calc(100% - 2rem));
        font-size: 0.85rem;
    }
    
    .container table th,
    .container table td {
        padding: 0.75rem 0.5rem !important;
    }
    
    /* Admin Header with Button */
    .container > div[style*="display: flex"] {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 1rem !important;
    }
    
    .container > div[style*="display: flex"] .btn {
        width: 100%;
        text-align: center;
    }
    
    /* Admin Form Elements */
    .container select {
        width: 100% !important;
        padding: 0.5rem !important;
        font-size: 0.85rem;
    }
    
    .container .btn {
        padding: 0.5rem 1rem !important;
        font-size: 0.9rem;
    }
}

/* Pulse Animation */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

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