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

:root {
    --primary-color: #8B4513;
    --secondary-color: #D2691E;
    --accent-color: #FFB347;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

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

/* Header & Navigation */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 0.2rem;
}

.tagline {
    font-size: 0.85rem;
    color: var(--text-light);
    font-style: italic;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Slider Section */
.hero-slider {
    height: 90vh;
    position: relative;
    overflow: hidden;
}

/* Free Ship Badge */
.free-ship-badge {
    position: absolute;
    top: 100px;
    left: 30px;
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(40, 167, 69, 0.4);
    animation: badge-bounce 3s ease-in-out infinite;
    font-weight: 600;
    font-size: 1.1rem;
}

.badge-icon {
    font-size: 1.5rem;
    animation: badge-shake 2s ease-in-out infinite;
}

.badge-text {
    white-space: nowrap;
}

@keyframes badge-bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

@keyframes badge-shake {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-10deg);
    }
    75% {
        transform: rotate(10deg);
    }
}

.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide-background-video,
.slide-background-gif {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slide-video,
.slide-gif {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.5));
    z-index: 1;
}

.slide-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(0, 0, 0, 0.1) 0%, transparent 50%);
    animation: slidePattern 20s ease-in-out infinite;
}

@keyframes slidePattern {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, 30px); }
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-color);
    animation: fadeInUp 1s ease 0.6s backwards;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-large {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 2rem;
    max-width: 900px;
}

.slide-badge {
    font-size: 5rem;
    margin-bottom: 2rem;
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
    background: rgba(255, 255, 255, 0.1);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    backdrop-filter: blur(10px);
    border: 3px solid rgba(255, 255, 255, 0.3);
}

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

.slide-title {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 3px 5px 10px rgba(0, 0, 0, 0.6);
    font-weight: 700;
    letter-spacing: 1px;
}

.slide-description {
    font-size: 1.6rem;
    opacity: 0.98;
    text-shadow: 2px 3px 6px rgba(0, 0, 0, 0.5);
    font-weight: 400;
}

/* Hero CTA */
.hero-cta {
    position: absolute;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.slider-arrow {
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

.slider-dots {
    display: flex;
    gap: 1rem;
}

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

.dot.active {
    background: var(--white);
    width: 40px;
    border-radius: 6px;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.2);
}

/* Section Styles */
.section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    margin: 0 auto 1rem;
    border-radius: 2px;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.contact-methods {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.contact-method-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
}

.method-icon {
    font-size: 1.5rem;
}

.zalo-icon-inline {
    width: 24px;
    height: 24px;
    filter: drop-shadow(0 2px 4px rgba(0, 104, 255, 0.2));
}

.method-separator {
    color: var(--text-light);
    font-style: italic;
}

/* Intro Section */
.intro {
    background: var(--bg-light);
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.intro-text h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.intro-text p {
    margin-bottom: 1rem;
    font-size: 1.05rem;
    line-height: 1.8;
}

.intro-text strong {
    color: var(--primary-color);
}

/* Product Showcase Slider */
.product-showcase {
    flex: 1;
    position: relative;
    min-height: 400px;
}

.showcase-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.showcase-item {
    position: absolute;
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.showcase-item.active {
    opacity: 1;
    position: relative;
}

.showcase-image {
    width: 100%;
    height: 300px;
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.showcase-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.showcase-info {
    text-align: center;
}

.showcase-info h4 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.showcase-info p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.showcase-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.showcase-size {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.showcase-zalo-btn {
    width: 45px;
    height: 45px;
    background: var(--white);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(139, 69, 19, 0.2);
    flex-shrink: 0;
    font-size: 1.5rem;
    text-decoration: none;
    filter: grayscale(0);
}

.showcase-zalo-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.3);
    background: var(--bg-light);
    border-color: var(--secondary-color);
}

/* Showcase Navigation */
.showcase-nav {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.showcase-arrow {
    background: var(--primary-color);
    border: none;
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.showcase-arrow:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
}

.showcase-dots {
    display: flex;
    gap: 0.8rem;
}

.showcase-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(139, 69, 19, 0.3);
    cursor: pointer;
    transition: all 0.3s;
}

.showcase-dot.active {
    background: var(--primary-color);
    width: 30px;
    border-radius: 5px;
}

.showcase-dot:hover {
    background: var(--secondary-color);
}

.image-placeholder {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    color: var(--white);
    box-shadow: var(--shadow);
}

.image-placeholder span {
    font-size: 5rem;
    display: block;
    margin-bottom: 1rem;
}

.image-placeholder p {
    font-size: 1.2rem;
    font-weight: 500;
}

/* Products Section */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 3rem;
}

.product-card {
    background: var(--white);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.product-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.product-card h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.product-features {
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.5rem;
}

.feature-icon {
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 0.8rem;
    font-size: 1.2rem;
}

.product-description {
    padding-top: 1.5rem;
    border-top: 2px solid var(--bg-light);
}

.product-description p {
    line-height: 1.8;
    color: var(--text-light);
}

/* Advantages Section */
.advantages {
    background: var(--bg-light);
}

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

.advantage-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.advantage-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.advantage-card h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.advantage-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-content-centered {
    display: flex;
    justify-content: center;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 900px;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.contact-icon {
    font-size: 2rem;
    color: var(--primary-color);
}

.contact-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--text-light);
}

/* Form Styles */
.contact-form {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 15px;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 3rem 0 1rem;
}

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

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

.footer-section h4 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section p {
    opacity: 0.8;
    line-height: 1.6;
}

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

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

.footer-section a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-section a:hover {
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    transition: all 0.3s;
}

.social-link:hover {
    background: var(--primary-color);
    opacity: 1;
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .free-ship-badge {
        top: 80px;
        left: 15px;
        padding: 10px 18px;
        font-size: 0.9rem;
    }
    
    .badge-icon {
        font-size: 1.2rem;
    }
    
    .slide-title {
        font-size: 2.2rem;
    }
    
    .slide-description {
        font-size: 1.1rem;
    }
    
    .slide-badge {
        width: 90px;
        height: 90px;
        font-size: 3.5rem;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 1rem;
    }
    
    .intro-content,
    .contact-content,
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .contact-content-centered .contact-info {
        gap: 2rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
    
    .btn-large {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

/* Projects Page Styles */
.projects-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 6rem 0 4rem;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
    min-height: 400px;
}

.hero-video,
.hero-gif {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.projects-hero .container {
    position: relative;
    z-index: 3;
}

.hero-content-text {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 3;
}

.page-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.page-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    font-weight: 300;
}

.coming-soon-section {
    background: var(--bg-light);
    min-height: 50vh;
    display: flex;
    align-items: center;
}

.coming-soon-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.construction-icon {
    font-size: 8rem;
    margin-bottom: 2rem;
    animation: float 3s ease-in-out infinite;
}

.coming-soon-content h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.coming-soon-content p {
    font-size: 1.2rem;
    color: var(--text-light);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Active nav link */
.nav-link.active {
    color: var(--primary-color);
    font-weight: 600;
}

.nav-link.active::after {
    width: 100%;
}

/* Responsive for Projects */
@media (max-width: 768px) {
    .page-title {
        font-size: 2.5rem;
    }
    
    .page-subtitle {
        font-size: 1.1rem;
    }
    
    .construction-icon {
        font-size: 5rem;
    }
    
    .coming-soon-content h2 {
        font-size: 2rem;
    }
    
    .coming-soon-content p {
        font-size: 1rem;
    }
}

/* Floating Zalo Button */
.zalo-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0068FF, #0095FF);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 104, 255, 0.4);
    z-index: 1000;
    transition: all 0.3s;
    text-decoration: none;
}

.zalo-button::before,
.zalo-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid #0068FF;
    transform: translate(-50%, -50%);
    opacity: 0;
}

.zalo-button::before {
    animation: zalo-ripple 2s ease-out infinite;
}

.zalo-button::after {
    animation: zalo-ripple 2s ease-out 1s infinite;
}

.zalo-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(0, 104, 255, 0.6);
}

.zalo-logo {
    color: white;
    font-weight: 700;
    font-size: 18px;
    font-family: 'Poppins', sans-serif;
    letter-spacing: -0.5px;
    z-index: 1;
}

@keyframes zalo-ripple {
    0% {
        width: 100%;
        height: 100%;
        opacity: 0.6;
    }
    100% {
        width: 200%;
        height: 200%;
        opacity: 0;
    }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .zalo-button {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    
    .zalo-button svg {
        width: 28px;
        height: 28px;
    }
}

/* Product Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    animation: fadeIn 0.3s;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--white);
    border-radius: 20px;
    max-width: 1000px;
    width: 90%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    animation: slideDown 0.3s;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    border-bottom: 2px solid var(--bg-light);
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 10;
    border-radius: 20px 20px 0 0;
}

.modal-header h2 {
    color: var(--primary-color);
    font-size: 2rem;
}

.close-modal {
    font-size: 3rem;
    color: var(--text-light);
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s;
}

.close-modal:hover {
    color: var(--primary-color);
}

.modal-body {
    padding: 2rem;
    overflow-y: auto;
    flex: 1;
}

.modal-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.modal-product-card {
    background: var(--white);
    border: 2px solid var(--bg-light);
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.3s;
    text-align: center;
}

.modal-product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: var(--primary-color);
}

.modal-product-image {
    width: 100%;
    height: 200px;
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.modal-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.modal-product-info h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.modal-product-info p {
    color: var(--text-light);
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.modal-product-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.8rem;
}

.product-size {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 15px;
    font-size: 0.85rem;
}

.modal-cart-btn {
    width: 40px;
    height: 40px;
    background: var(--white);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(139, 69, 19, 0.15);
    flex-shrink: 0;
    font-size: 1.3rem;
    text-decoration: none;
    cursor: pointer;
}

.modal-cart-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 3px 12px rgba(139, 69, 19, 0.25);
    background: var(--bg-light);
    border-color: var(--secondary-color);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* Mobile responsive for modal */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        max-height: 85vh;
    }
    
    .modal-header {
        padding: 1.5rem;
    }
    
    .modal-header h2 {
        font-size: 1.5rem;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .modal-products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}
