/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', 'Helvetica', sans-serif;
}

:root {
    --primary-color: #ff6b3d;
    --secondary-color: #e35728;
    --dark-color: #003366;
    --light-color: #f7faff;
    --accent-color: #1a91d1;
    --text-color: #333;
    --light-gray: #f4f8fc;
    --medium-gray: #e0e6ef;
    --highlight-color: #ffb74d;
    --success-color: #4caf50;
}

body {
    color: var(--text-color);
    line-height: 1.7;
    background-color: var(--light-color);
}

body.menu-open {
    overflow: hidden;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

h1, h2, h3, h4 {
    color: var(--dark-color);
    margin-bottom: 22px;
    line-height: 1.4;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2.2rem;
    text-align: center;
    padding-bottom: 12px;
    position: relative;
    margin-bottom: 35px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--accent-color), var(--primary-color));
    border-radius: 2px;
}

section {
    padding: 70px 5%;
    background-color: white;
}

section:nth-child(even) {
    background-color: var(--light-color);
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 16px 32px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 107, 61, 0.25);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 2px solid transparent;
}

.btn:hover {
    background-color: white;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255, 107, 61, 0.3);
    border: 2px solid var(--primary-color);
}

.btn-telegram {
    background-color: #0088cc;
    margin-left: 20px;
    box-shadow: 0 4px 12px rgba(0, 136, 204, 0.25);
}

.btn-telegram:hover {
    background-color: white;
    color: #0088cc;
    border: 2px solid #0088cc;
    box-shadow: 0 6px 15px rgba(0, 136, 204, 0.3);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: var(--dark-color);
    font-weight: 600;
    position: relative;
    transition: color 0.3s;
}

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

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-color);
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 51, 102, 0.7), rgba(0, 102, 153, 0.7)), url('https://img.freepik.com/free-photo/top-view-credit-card-smartphone-with-shopping-cart-globalisation-concept_23-2148092377.jpg?w=1380&t=st=1717307175~exp=1717307775~hmac=8dfb27f9ec442f81c48d6c4add9a24f4ef21fde9c1b2a0bb99dfebdb76c5a99e');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 130px 20px;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 51, 102, 0.2) 0%, rgba(255, 107, 61, 0.2) 100%);
    z-index: 1;
}

.hero-content {
    max-width: 850px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.4rem;
    color: white;
    margin-bottom: 25px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 35px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    color: rgba(255, 255, 255, 0.95);
}

/* Category Section */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.category-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    display: block;
    color: var(--text-color);
    position: relative;
    overflow: hidden;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.category-card::before {
    content: '';
    position: absolute;
    top: -10px;
    right: -10px;
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    transform: rotate(45deg);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-card:hover::before {
    opacity: 0.1;
}

.category-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--light-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.category-icon i {
    font-size: 22px;
    color: var(--primary-color);
}

.category-card h3 {
    margin-bottom: 0;
    font-size: 1rem;
}

/* Benefits Section */
.benefits {
    padding: 70px 5%;
    background-color: #f8f9fa;
}

.highlight {
    color: #e74c3c;
    font-weight: bold;
}

.subtitle {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 1.2rem;
    color: #666;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.benefit-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--light-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.benefit-icon i {
    font-size: 30px;
    color: var(--primary-color);
}

.benefit-card h3 {
    font-size: 1.3rem;
    margin: 10px 0;
    text-align: center;
}

.benefit-card p {
    margin-top: auto;
    color: #666;
    text-align: center;
}

/* Testimonials Section */
.testimonials {
    padding: 70px 5%;
    background-color: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
    transition: transform 0.3s;
    border-top: 4px solid var(--primary-color);
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.rating {
    color: #ffc107;
    margin-bottom: 15px;
}

.testimonial-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.testimonial-card p {
    font-style: italic;
    color: #666;
}

/* Giveaway Section */
.giveaway {
    padding: 70px 5%;
    background-color: #f0f8ff;
    text-align: center;
}

.giveaway h2 {
    color: #3498db;
}

.giveaway-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.giveaway-prizes, .shipping-update {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
}

.giveaway-prizes h3, .shipping-update h3 {
    margin-bottom: 20px;
    color: #333;
}

.prizes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.prize-card {
    padding: 20px;
    border-radius: 8px;
    color: #333;
}

.first-prize {
    background-color: #fff9e6;
    border: 2px solid #ffd700;
}

.second-prize {
    background-color: #f8f9fa;
    border: 2px solid #c0c0c0;
}

.third-prize {
    background-color: #fff5f0;
    border: 2px solid #cd7f32;
}

.medal {
    font-weight: bold;
    margin-bottom: 10px;
}

.prize-amount {
    font-size: 1.8rem;
    font-weight: bold;
    margin: 10px 0;
}

.winners {
    font-size: 0.9rem;
    color: #666;
}

.shipping-update {
    background-color: #fff5f5;
    border-left: 4px solid #e74c3c;
    text-align: left;
    display: flex;
    flex-direction: column;
}

.shipping-update h3 {
    color: #e74c3c;
}

.shipping-update p {
    margin-bottom: 20px;
    flex-grow: 1;
}

.giveaway-btn {
    background-color: #3498db;
    margin-top: auto;
    text-align: center;
}

.giveaway-btn:hover {
    background-color: #2980b9;
}

@media (max-width: 992px) {
    .giveaway-container {
        grid-template-columns: 1fr;
    }
}

/* FAQ Section */
.faq {
    background-color: var(--light-gray);
}

.faq-item {
    background-color: white;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
}

.toggle-icon {
    font-size: 1.5rem;
    transition: transform 0.3s;
    will-change: transform;
}

.faq-answer {
    padding: 0;
    height: 0;
    overflow: hidden;
    transition: height 0.3s ease-out, padding 0.3s ease-out;
    will-change: height, padding;
}

.faq-answer-inner {
    padding: 0 20px 20px;
}

.faq-item.active .toggle-icon {
    transform: rotate(45deg);
}

.faq-item.active .faq-answer {
    padding: 0;
    height: auto;
}

/* Disclaimer Section */
.disclaimer {
    background-color: var(--light-color);
    font-size: 0.9rem;
    color: #666;
}

.disclaimer p {
    margin-bottom: 15px;
}

.last-updated {
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px dashed #ccc;
    font-size: 0.85rem;
    color: #888;
}

.last-updated p {
    margin-bottom: 5px;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 40px 5% 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.footer-links a {
    color: white;
    margin-right: 20px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-social a {
    color: white;
    margin-left: 15px;
    font-size: 1.3rem;
    transition: color 0.3s;
}

.footer-social a:hover {
    color: var(--primary-color);
}

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

.seo-links {
    margin-top: 10px;
}

.seo-links a {
    color: rgba(255, 255, 255, 0.6);
    margin: 0 10px;
    font-size: 0.85rem;
    transition: color 0.3s;
}

.seo-links a:hover {
    color: white;
    text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .language-dropdown {
        width: 100%;
        position: static;
        box-shadow: none;
        border: 1px solid #eee;
        padding: 10px;
        max-height: 250px;
        overflow-y: auto;
    }
    
    .language-row {
        display: block;
        margin-bottom: 0;
    }
    
    .language-option {
        width: 100%;
        padding: 12px 15px;
        text-align: left;
        border-radius: 0;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .language-option:last-child {
        border-bottom: none;
    }
    
    #language-btn {
        width: 100%;
        justify-content: space-between;
        padding: 15px 0;
    }
    
    /* 首页专用样式 */
    body#home-page .language-dropdown {
        max-height: 350px;
        width: 280px;
        position: absolute;
        box-shadow: 0 5px 15px rgba(0,0,0,0.15);
        border-radius: 8px;
        top: 45px;
        right: -10px;
        padding: 10px;
        overflow-y: scroll !important;
        -webkit-overflow-scrolling: touch;
        background-color: white;
    }
    
    /* 调整首页语言选项在移动端的样式 */
    body#home-page .language-option {
        padding: 12px 8px;
        margin-bottom: 2px;
        display: block;
        width: 100%;
        border-bottom: none;
    }
    
    /* 首页语言行在移动端的样式 */
    body#home-page .language-row {
        border-bottom: 1px solid #f0f0f0;
        padding-bottom: 5px;
        margin-bottom: 5px;
    }
    
    body#home-page .language-row:last-child {
        border-bottom: none;
        margin-bottom: 0;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -300px;
        width: 280px;
        height: 100vh;
        background-color: white;
        flex-direction: column;
        padding: 80px 20px 30px;
        transition: right 0.3s ease;
        z-index: 1000;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        margin: 0;
        width: 100%;
    }
    
    .nav-links a {
        display: block;
        padding: 15px 0;
        width: 100%;
        border-bottom: 1px solid #eee;
    }
    
    .nav-links a:hover::after, 
    .nav-links a.active::after {
        width: 30px;
    }
    
    /* 语言切换器移动端样式 */
    .language-switcher {
        width: 100%;
    }
    
    .language-dropdown {
        position: static;
        width: 100%;
        box-shadow: none;
        margin-top: 10px;
        border: 1px solid #eee;
        border-radius: 5px;
    }
    
    .language-dropdown:before {
        display: none;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 1rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-logo, .footer-links, .footer-social {
        margin-bottom: 20px;
    }
    
    .benefits-grid, .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .giveaway-container {
        grid-template-columns: 1fr;
    }
    
    .prizes-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-card {
        max-width: 450px;
        margin: 0 auto;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-telegram {
        margin-left: 0;
        margin-top: 15px;
    }
    
    h2 {
        font-size: 1.7rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    section {
        padding: 40px 5%;
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .category-card {
        padding: 15px;
    }
    
    .category-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 10px;
    }
    
    .category-icon i {
        font-size: 18px;
    }
    
    .category-card h3 {
        font-size: 0.9rem;
    }
    
    .benefits, .testimonials, .giveaway {
        padding: 50px 5%;
    }
    
    .benefit-card, .testimonial-card {
        padding: 20px;
    }
    
    .blog-image {
        height: 180px;
    }
    
    .blog-content {
        padding: 20px;
    }
    
    .blog-card h3 {
        font-size: 1.15rem;
    }
}

/* 语言切换器样式 */
.language-switcher {
    position: relative;
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 280px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    padding: 15px;
    display: none;
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
}

.language-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.language-row:last-child {
    margin-bottom: 0;
}

.language-option {
    padding: 8px 15px;
    border-radius: 5px;
    width: 47%;
    text-align: center;
    transition: background-color 0.3s;
    font-size: 0.9rem;
}

.language-option:hover {
    background-color: var(--light-gray);
    color: var(--primary-color);
}

#language-btn {
    display: flex;
    align-items: center;
}

#language-btn i {
    margin-right: 5px;
}

#language-btn .fa-caret-down {
    margin-left: 5px;
    margin-right: 0;
    transition: transform 0.3s;
}

#language-btn.active .fa-caret-down {
    transform: rotate(180deg);
}

.language-dropdown.show {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}

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

/* 添加语言下拉菜单的滚动条样式 */
.language-dropdown::-webkit-scrollbar {
    width: 6px;
}

.language-dropdown::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.language-dropdown::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 10px;
}

.language-dropdown::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .language-dropdown {
        width: 100%;
        position: static;
        box-shadow: none;
        border: 1px solid #eee;
        padding: 10px;
        max-height: 250px;
        overflow-y: auto;
    }
    
    .language-row {
        display: block;
        margin-bottom: 0;
    }
    
    .language-option {
        width: 100%;
        padding: 12px 15px;
        text-align: left;
        border-radius: 0;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .language-option:last-child {
        border-bottom: none;
    }
    
    #language-btn {
        width: 100%;
        justify-content: space-between;
        padding: 15px 0;
    }
    
    /* 首页专用样式 */
    body#home-page .language-dropdown {
        max-height: 350px;
        width: 280px;
        position: absolute;
        box-shadow: 0 5px 15px rgba(0,0,0,0.15);
        border-radius: 8px;
        top: 45px;
        right: -10px;
        padding: 10px;
        overflow-y: scroll !important;
        -webkit-overflow-scrolling: touch;
        background-color: white;
    }
    
    /* 调整首页语言选项在移动端的样式 */
    body#home-page .language-option {
        padding: 12px 8px;
        margin-bottom: 2px;
        display: block;
        width: 100%;
        border-bottom: none;
    }
    
    /* 首页语言行在移动端的样式 */
    body#home-page .language-row {
        border-bottom: 1px solid #f0f0f0;
        padding-bottom: 5px;
        margin-bottom: 5px;
    }
    
    body#home-page .language-row:last-child {
        border-bottom: none;
        margin-bottom: 0;
    }
}

/* 移动端菜单样式 */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--dark-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -300px;
        width: 280px;
        height: 100vh;
        background-color: white;
        flex-direction: column;
        padding: 80px 20px 30px;
        transition: right 0.3s ease;
        z-index: 1000;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        margin: 0;
        width: 100%;
    }
    
    .nav-links a {
        display: block;
        padding: 15px 0;
        width: 100%;
        border-bottom: 1px solid #eee;
    }
    
    .nav-links a:hover::after, 
    .nav-links a.active::after {
        width: 30px;
    }
    
    /* 语言切换器移动端样式 */
    .language-switcher {
        width: 100%;
    }
    
    .language-dropdown {
        position: static;
        width: 100%;
        box-shadow: none;
        margin-top: 10px;
        border: 1px solid #eee;
        border-radius: 5px;
    }
    
    .language-dropdown:before {
        display: none;
    }
}

/* 首页专用样式 */
body#home-page .language-dropdown {
    max-height: 350px;
    width: 280px;
    position: absolute;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    border-radius: 8px;
    top: 45px;
    right: -10px;
    padding: 10px;
    overflow-y: scroll !important;
    -webkit-overflow-scrolling: touch;
    background-color: white;
}

/* 为移动端的首页语言下拉菜单强制添加滚动样式 */
@media (max-width: 768px) {
    body#home-page .language-dropdown {
        overflow-y: scroll !important;
        -webkit-overflow-scrolling: touch;
    }
    
    /* 调整语言选项在移动端的高度和间距 */
    body#home-page .language-option {
        padding: 12px 8px;
        margin-bottom: 2px;
    }
    
    /* 移除最后一个语言选项的下边距 */
    body#home-page .language-row:last-child .language-option {
        margin-bottom: 0;
    }
}

/* 添加反向海淘特色样式 */
.global-badge {
    display: inline-block;
    background-color: var(--highlight-color);
    color: var(--dark-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    margin-right: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.hero-buttons {
    margin-top: 40px;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 1rem;
    }
}

/* Featured Products Section */
.featured-products {
    padding: 2rem 1rem;
    background-color: #f8f9fa;
}

.featured-products h2 {
    text-align: center;
    margin-bottom: 0.5rem;
    font-size: 2rem;
    color: #333;
}

.featured-products .subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 0.5rem;
}

.product-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.product-image {
    position: relative;
    padding-top: 100%;
    overflow: hidden;
}

.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.product-tag {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: #4CAF50;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
}

.product-tag.hot {
    background: #f44336;
}

.product-tag.sale {
    background: #ff9800;
}

.product-info {
    padding: 0.75rem;
}

.product-info h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
    color: #333;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.price {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2196F3;
}

.rating {
    color: #ffc107;
    font-size: 0.8rem;
}

.rating span {
    color: #666;
    margin-left: 0.25rem;
}

.btn-small {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    background: #2196F3;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s ease;
    font-size: 0.8rem;
}

.btn-small:hover {
    background: #1976D2;
}

.view-more {
    text-align: center;
    margin-top: 2rem;
}

.view-more .btn {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}

/* Responsive Design for Featured Products */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 0.75rem;
    }

    .featured-products {
        padding: 1.5rem 0.5rem;
    }

    .featured-products h2 {
        font-size: 1.5rem;
    }

    .product-info h3 {
        font-size: 0.9rem;
    }

    .price {
        font-size: 1rem;
    }
} 