/* VT Modern Design Styles */

:root {
    --primary-color: #2c2c2c;
    --secondary-color: #f8f8f8;
    --accent-color: #d4af37;
    --text-dark: #333333;
    --text-light: #666666;
    --border-color: #e5e5e5;
    --white: #ffffff;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
}

/* Global Typography */
body {
    font-family: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

/* Hero Section - VT Style with Left Alignment */
.vt-hero {
    position: relative;
    min-height: 650px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 100%);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.vt-hero img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    animation: kenBurns 20s ease infinite alternate;
}

@keyframes kenBurns {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.vt-hero-content-left {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-text-wrapper {
    max-width: 700px;
}

.hero-main-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -2px;
    line-height: 1.1;
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

/* Rotating Text Animation */
.hero-rotating-text-wrapper {
    display: inline-block;
    position: relative;
}

.hero-rotating-text {
    display: inline-block;
    position: relative;
    height: 2.4rem;
    overflow: hidden;
}

.rotating-word {
    display: block;
    position: absolute;
    width: 100%;
    opacity: 0;
    transform: translateY(100%);
    animation: rotateWord 8s infinite;
    background: linear-gradient(135deg, var(--theme-color) 0%, var(--theme-color1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.rotating-word:nth-child(1) { animation-delay: 0s; }
.rotating-word:nth-child(2) { animation-delay: 2s; }
.rotating-word:nth-child(3) { animation-delay: 4s; }
.rotating-word:nth-child(4) { animation-delay: 6s; }

@keyframes rotateWord {
    0%, 20% {
        opacity: 1;
        transform: translateY(0);
    }
    25%, 100% {
        opacity: 0;
        transform: translateY(-100%);
    }
}

.hero-description {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    opacity: 0.95;
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.vt-btn {
    display: inline-block;
    padding: 16px 36px;
    background: var(--white);
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.vt-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;
}

.vt-btn:hover::before {
    width: 300px;
    height: 300px;
}

.vt-btn:hover {
    background: linear-gradient(135deg, var(--theme-color) 0%, var(--theme-color1) 100%);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.vt-btn-primary {
    background: linear-gradient(135deg, var(--theme-color), var(--theme-color1));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.vt-btn-primary:hover {
    background: linear-gradient(135deg, var(--theme-color1), var(--theme-color));
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.vt-btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.vt-btn-outline:hover {
    background: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
}

.vt-btn-dark {
    background: var(--primary-color);
    color: var(--white);
}

.vt-btn-dark:hover {
    background: linear-gradient(135deg, var(--theme-color) 0%, var(--theme-color1) 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Section Backgrounds - Unique Colors */
.about-us {
    background: #ffffff;
}

.section-with-bg {
    background: linear-gradient(135deg, #f8f9fa 0%, #f0f2f5 100%);
}

.section-light-bg {
    background: linear-gradient(135deg, var(--theme-color) 0%, var(--theme-color1) 100%);
}

.products-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%);
}

.section-gradient-bg {
    background: linear-gradient(135deg, var(--theme-color) 0%, var(--theme-color1) 100%);
    position: relative;
    overflow: hidden;
}

.section-gradient-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.section-gradient-bg * {
    color: var(--white) !important;
}

.section-testimonial-bg {
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.section-testimonial-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    animation: pulse 15s ease infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1) translate(0, 0); opacity: 0.5; }
    50% { transform: scale(1.5) translate(-10%, 10%); opacity: 0.3; }
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    position: relative;
}

.section-title h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    letter-spacing: -1px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--theme-color) 0%, var(--theme-color1) 100%);
    border-radius: 2px;
}

.shop-section {
    background: linear-gradient(135deg, #fafbfc 0%, #f5f7fa 100%);
}

.section-title p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 1rem auto 0;
    line-height: 1.7;
}

/* Collections Section */
.collections-section {
    padding: var(--spacing-xl) 0;
    position: relative;
}

.collection-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.collection-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(var(--theme-color-rgb), 0.1) 0%, rgba(var(--theme-color1-rgb), 0.1) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
    pointer-events: none;
}

.collection-card:hover::before {
    opacity: 0;
}

.collection-card:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    transform: translateY(-8px) scale(1.02);
}

.collection-card-image {
    position: relative;
    padding-top: 75%;
    overflow: hidden;
}

.collection-card-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.3) 100%); */
    opacity: 0;
    transition: opacity 0.5s ease;
}

.collection-card:hover .collection-card-image::after {
    opacity: 1;
}

.collection-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.img-contain {
    object-fit: contain !important;
}

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

.collection-card-content {
    padding: 2.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

.collection-card-content h3 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fixed-height {
    line-height: 1.3;
    min-height: calc(1.3em * 2);
}

.collection-card:hover .collection-card-content h3 {
    /* color: var(--theme-color); */
}

.collection-card-content p {
    color: var(--text-light);
    margin-bottom: 2rem;
    flex-grow: 1;
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Category Grid */
.category-grid-section {
    padding: var(--spacing-xl) 0;
    position: relative;
}

.category-grid-section .section-title h2 {
    color: #fff;
}

.category-grid-section .section-title p {
    color: #fff;
}

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

.category-item {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    transition: box-shadow 0.35s ease;
    text-decoration: none;
    color: inherit;
    display: block;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    position: relative;
}

.category-item-inner {
    transform: scale(1);
    transition: transform 0.35s ease;
}

.category-item::after {
    transition: border-color 0.35s ease;
}

.category-item:hover .category-item-inner {
    transform: scale(1.04);
}

.category-item:hover::after {
    border-color: var(--theme-color);
}

.category-item:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.category-item-image {
    position: relative;
    padding-top: 65%;
    overflow: hidden;
}

.category-item-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-item-content {
    padding: 1.5rem;
}

.category-item-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.category-item-content p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* Why Choose Section */
.why-choose-section {
    padding: var(--spacing-xl) 0;
    position: relative;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.why-choose-item {
    text-align: center;
    padding: 2.5rem 2rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.why-choose-item:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.why-choose-item i {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: transform 0.4s ease;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.why-choose-item:hover i {
    transform: scale(1.2) rotate(10deg);
}

.why-choose-item h4 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.why-choose-item p {
    font-size: 1.05rem;
    line-height: 1.6;
    opacity: 0.95;
}

/* Testimonials - VT Style */
.testimonials-section {
    padding: var(--spacing-xl) 0;
    position: relative;
    overflow: hidden;
}

.testimonials-section .slick-list {
    overflow: visible;
    padding: 20px 0 !important;
}

.testimonials-section .slick-track {
    display: flex !important;
}

.testimonials-section .slick-slide {
    height: inherit !important;
    display: flex !important;
}

.testimonials-section .slick-slide > div {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-card {
    background: var(--white);
    border-radius: 20px;
    padding: 3rem;
    margin: 1rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    min-height: 350px;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(var(--theme-color-rgb), 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.testimonial-card:hover::before {
    opacity: 1;
}

.testimonial-card:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transform: translateY(-10px) scale(1.02);
}

.testimonial-quote {
    position: relative;
    font-size: 1.125rem;
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    flex-grow: 1;
}

.testimonial-quote::before {
    content: '"';
    font-size: 4rem;
    color: var(--theme-color);
    opacity: 0.2;
    position: absolute;
    top: -20px;
    left: -10px;
    line-height: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
}

.testimonial-author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
}

.testimonial-author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-author-info h5 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.testimonial-author-info p {
    font-size: 0.875rem;
    color: var(--text-light);
}

.testimonial-rating {
    margin-bottom: 1rem;
}

.testimonial-rating i {
    color: var(--theme-color);
    font-size: 0.875rem;
}

/* Product Showcase */
.products-section {
    padding: var(--spacing-xl) 0;
    background: var(--white);
}

.product-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin: 1rem;
}

.product-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.product-card-image {
    position: relative;
    padding-top: 100%;
    overflow: hidden;
    background: var(--secondary-color);
}

.product-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1rem;
}

.product-card-content {
    padding: 1.5rem;
    text-align: center;
}

.product-card-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.product-card-content .price {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--theme-color);
}

/* CTA Section */
.cta-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, var(--theme-color) 0%, var(--theme-color1) 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
    animation: moveBackground 20s linear infinite;
}

@keyframes moveBackground {
    0% { transform: translate(0, 0); }
    100% { transform: translate(100px, 100px); }
}

.cta-section h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.2);
}

.cta-section p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

/* Spacing Adjustments */
.collections-section,
.category-grid-section,
.why-choose-section,
.testimonials-section,
.products-section {
    padding: var(--spacing-xl) 0;
}

/* Override old styles */
.homeBody .section-b-space {
    padding-bottom: 0 !important;
}

.homeBody {
    margin-bottom: 0;
    padding-bottom: 0;
}

.homeBody .about-us {
    padding: var(--spacing-lg) 0;
}

.orders-modern-section {
    background: #ffffff;
}

/* Container adjustments */
.container-fluid-lg {
    max-width: 1400px;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
}

/* Smooth hover transitions */
a, button, .collection-card, .category-item, .product-card {
    transition: all 0.3s ease;
}

/* Improved button hover states */
.vt-btn {
    position: relative;
    overflow: hidden;
}

.vt-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.vt-btn:hover::before {
    width: 300px;
    height: 300px;
}

/* Card shadows on scroll */
.wow {
    visibility: hidden;
}

.wow.animated {
    visibility: visible;
}

/* Responsive Grid Adjustments */
@media (max-width: 1200px) {
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .why-choose-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .vt-hero {
        min-height: 500px;
    }
    
    .hero-main-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .hero-rotating-text {
        height: 1.8rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .vt-btn-outline {
        margin-left: 0 !important;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .section-title p {
        font-size: 1.05rem;
    }
    
    .collection-card-content,
    .testimonial-card {
        padding: 2rem;
    }
    
    .category-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .why-choose-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .why-choose-item {
        padding: 2rem 1.5rem;
    }
    
    :root {
        --spacing-lg: 2.5rem;
        --spacing-xl: 3rem;
    }
}

@media (max-width: 576px) {
    .vt-hero {
        min-height: 450px;
    }
    
    .hero-main-title {
        font-size: 1.8rem;
        letter-spacing: -1px;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-rotating-text {
        height: 1.5rem;
    }
    
    .vt-hero-content-left {
        padding: 0 1.5rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
    }
    
    .section-title h2 {
        font-size: 1.75rem;
    }
    
    .section-title h2::after {
        width: 40px;
        height: 3px;
    }
    
    .collection-card-content h3 {
        font-size: 1.4rem;
    }
    
    .vt-btn {
        padding: 14px 28px;
        font-size: 0.95rem;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
    
    .cta-section p {
        font-size: 1.05rem;
    }
}

/* Smooth Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.animate-on-scroll {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Floating animation for icons */
.why-choose-item:hover i {
    animation: float 2s ease-in-out infinite;
}

/* Shimmer effect */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.collection-card:hover,
.category-item:hover {
    position: relative;
}

.collection-card:hover::after,
.category-item:hover::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    animation: shimmer 2s infinite;
}

/* Stagger animation for grid items */
.category-grid .category-item:nth-child(1) { animation-delay: 0.1s; }
.category-grid .category-item:nth-child(2) { animation-delay: 0.2s; }
.category-grid .category-item:nth-child(3) { animation-delay: 0.3s; }
.category-grid .category-item:nth-child(4) { animation-delay: 0.4s; }
.category-grid .category-item:nth-child(5) { animation-delay: 0.5s; }
.category-grid .category-item:nth-child(6) { animation-delay: 0.6s; }

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

/* ============================================
   Shop Filter Bar Styles
   ============================================ */

.shop-filter-bar {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.filter-bar-top {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.filter-search-wrapper {
    flex: 1;
    min-width: 250px;
    position: relative;
}

.filter-search-wrapper i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    font-size: 16px;
}

.filter-search-input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.filter-search-input:focus {
    outline: none;
    border-color: var(--theme-color);
    box-shadow: 0 0 0 3px rgba(var(--theme-color-rgb, 13, 110, 253), 0.1);
}

.filter-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.btn-filter-toggle,
.btn-sort-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--secondary-color);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.btn-filter-toggle:hover,
.btn-sort-toggle:hover {
    background: var(--theme-color);
    color: var(--white);
    border-color: var(--theme-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.filter-count-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--theme-color);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 20px;
    text-align: center;
}

/* Sort Dropdown */
.sort-dropdown {
    position: relative;
}

.sort-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 8px;
    min-width: 200px;
    z-index: 100;
    display: none;
    animation: slideDown 0.3s ease;
}

.sort-menu.show {
    display: block;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sort-option {
    display: block;
    padding: 10px 15px;
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.2s ease;
}

.sort-option:hover {
    background: var(--secondary-color);
    color: var(--theme-color);
}

.sort-option.active {
    background: var(--theme-color);
    color: var(--white);
    font-weight: 600;
}

/* Filter Panel */
.filter-panel {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--border-color);
    animation: expandPanel 0.4s ease;
}

@keyframes expandPanel {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 1000px;
    }
}

.filter-panel-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.filter-group {
    background: var(--secondary-color);
    padding: 1.25rem;
    border-radius: 8px;
}

.filter-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-title i {
    color: var(--theme-color);
    font-size: 18px;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-dark);
    padding: 8px;
    border-radius: 6px;
    transition: background 0.2s ease;
}

.filter-checkbox:hover {
    background: rgba(0, 0, 0, 0.03);
}

.filter-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--theme-color);
}

.filter-select-wrapper {
    margin-bottom: 1rem;
}

.filter-select-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.filter-select {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 14px;
    background: var(--white);
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-select:focus {
    outline: none;
    border-color: var(--theme-color);
}

.filter-actions-bottom {
    grid-column: 1 / -1;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 1rem;
}

.btn-clear-filters,
.btn-apply-filters {
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 2px solid transparent;
}

.btn-clear-filters {
    background: transparent;
    color: var(--text-dark);
    border-color: var(--border-color);
}

.btn-clear-filters:hover {
    background: #f44336;
    color: var(--white);
    border-color: #f44336;
    transform: translateY(-2px);
}

.btn-apply-filters {
    background: var(--theme-color);
    color: var(--white);
    border-color: var(--theme-color);
}

.btn-apply-filters:hover {
    background: var(--theme-color1, #0056b3);
    border-color: var(--theme-color1, #0056b3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Active Filters Display */
.active-filters {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.active-filters-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

.active-filters-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: var(--theme-color);
    color: var(--white);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    animation: fadeInScale 0.3s ease;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.filter-tag i {
    cursor: pointer;
    font-size: 12px;
    padding: 2px;
    border-radius: 50%;
    transition: background 0.2s ease;
}

.filter-tag i:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .filter-bar-top {
        flex-direction: column;
    }

    .filter-search-wrapper {
        width: 100%;
        min-width: unset;
    }

    .filter-actions {
        width: 100%;
        justify-content: space-between;
    }

    .btn-filter-toggle,
    .btn-sort-toggle {
        flex: 1;
        justify-content: center;
    }

    .filter-panel-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .filter-actions-bottom {
        flex-direction: column;
    }

    .btn-clear-filters,
    .btn-apply-filters {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .shop-filter-bar {
        padding: 1rem;
    }

    .btn-filter-toggle span,
    .btn-sort-toggle .sort-label {
        display: none;
    }

    .btn-filter-toggle,
    .btn-sort-toggle {
        padding: 12px 16px;
    }
}

/* ============================================
   Orders Page Styles
   ============================================ */

/* Order Statistics Grid */
.order-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--white);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.stat-icon {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
}

.stat-icon.bg-primary-light {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
}

.stat-icon.bg-success-light {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: var(--white);
}

.stat-icon.bg-warning-light {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: var(--white);
}

.stat-icon.bg-info-light {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: var(--white);
}

.stat-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 0.25rem 0;
    line-height: 1;
}

.stat-content p {
    font-size: 0.875rem;
    color: var(--text-light);
    margin: 0;
    font-weight: 500;
}

/* Modern Order Cards */
.order-card-modern {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.order-card-modern:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.order-card-header-modern {
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.order-number-section {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.order-hash {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.5px;
}

.order-time-ago {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

.order-status-badges-modern {
    display: flex;
    gap: 0.5rem;
}

.status-badge-modern {
    padding: 0.375rem 0.875rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge-modern.badge-paid,
.status-badge-modern.badge-approved {
    background: #10b981;
    color: var(--white);
    border: 1px solid #10b981;
}

.status-badge-modern.badge-pending {
    background: rgba(251, 191, 36, 0.2);
    color: #f59e0b;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.status-badge-modern.badge-notpaid {
    background: #f97316;
    color: var(--white);
    border: 1px solid #f97316;
}

.status-badge-modern.badge-overdue {
    background: #dc2626;
    color: var(--white);
    border: 1px solid #dc2626;
}

.order-card-body-modern {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.order-detail-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.order-detail-row i {
    width: 20px;
    color: var(--theme-color);
    font-size: 1rem;
}

.delivery-badge {
    padding: 0.25rem 0.625rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.delivery-badge.badge-delivered {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.delivery-badge.badge-processing {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.delivery-badge.badge-pickup {
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
}

.order-card-footer-modern {
    padding: 1.25rem 1.5rem;
    background: var(--secondary-color);
    border-top: 1px solid var(--border-color);
}

.order-total-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.total-label {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 500;
}

.total-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--theme-color);
}

.btn-view-details-modern {
    width: 100%;
    padding: 0.75rem 1.5rem;
    background: var(--theme-color);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-view-details-modern:hover {
    background: var(--theme-color1, #0056b3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-view-details-modern i {
    font-size: 1rem;
}

/* Orders filter bar reuse shop styles */
.orders-filter-bar {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

/* Empty state for orders */
.empty-orders-state {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.empty-orders-state .empty-icon {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    opacity: 0.5;
}

.empty-orders-state h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.empty-orders-state p {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* Responsive Design for Orders */
@media (max-width: 1024px) {
    .order-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .order-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1rem;
    }
    
    .stat-icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }
    
    .stat-content h3 {
        font-size: 1.5rem;
    }
    
    .order-card-modern {
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .order-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .order-card-header-modern {
        padding: 1rem;
    }
    
    .order-hash {
        font-size: 1.1rem;
    }
    
    .order-card-body-modern {
        padding: 1rem;
    }
    
    .total-amount {
        font-size: 1.25rem;
    }
}
