/* ============================================
   CAROUSEL HERO SECTION
   ============================================ */

.hero-carousel {
    position: relative;
    height: 85vh;
    min-height: 600px;
    overflow: hidden;
}

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

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

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.moon-decoration {
    position: absolute;
    top: 10%;
    right: 15%;
    font-size: 150px;
    content: '🌕';
    opacity: 0.15;
    animation: moon-glow 4s ease-in-out infinite;
}

@keyframes moon-glow {
    0%, 100% { opacity: 0.15; transform: scale(1); }
    50% { opacity: 0.25; transform: scale(1.05); }
}

.product-showcase {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    opacity: 0.3;
}

.gift-box-icon {
    font-size: 120px;
    margin-bottom: 20px;
}

.product-name {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

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

.festival-badge {
    display: inline-block;
    background: rgba(255, 215, 0, 0.2);
    border: 2px solid #FFD700;
    padding: 10px 30px;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.slide-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.5);
    line-height: 1.3;
}

.slide-subtitle {
    font-size: 1.6rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.4);
}

.slide-promo {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.9), rgba(255, 165, 0, 0.9));
    color: #8B0000;
    padding: 15px 30px;
    border-radius: 12px;
    margin: 2rem auto;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.3);
    animation: promo-float 3s ease-in-out infinite;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slide-promo:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(255, 215, 0, 0.5);
    background: linear-gradient(135deg, rgba(255, 215, 0, 1), rgba(255, 165, 0, 1));
}

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

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

/* REMOVED: .slide-cta styles - no longer used */

/* Carousel Controls */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.carousel-control:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: translateY(-50%) scale(1.1);
}

.carousel-control.prev {
    left: 30px;
}

.carousel-control.next {
    right: 30px;
}

/* Carousel Indicators */
.carousel-indicators {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

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

.indicator.active {
    background: #FFD700;
    transform: scale(1.3);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* ============================================
   QUICK NAVIGATION ICON BUTTONS
   ============================================ */

.quick-nav-icons {
    padding: 3rem 0;
    background: white;
}

.quick-nav-icons .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2rem;
}

.nav-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-icon-item:hover {
    transform: translateY(-8px);
}

.icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.nav-icon-item:hover .icon-circle {
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    transform: scale(1.1);
}

.icon-emoji {
    font-size: 2.5rem;
}

.icon-label {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    text-align: center;
}

@media (max-width: 768px) {
    .quick-nav-icons .container {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.promo-icon {
    font-size: 1.8rem;
}

.hero-cta-group {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.cta-primary {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #8B0000;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.6);
}

.cta-secondary {
    background: transparent;
    color: white;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    border: 2px solid white;
    transition: all 0.3s ease;
}

.cta-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.scroll-hint {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    cursor: pointer;
}

/* Category Showcase Section */
.category-showcase {
    padding: 5rem 0;
    background: linear-gradient(to bottom, #fafafa, #ffffff);
}

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

.section-title {
    font-size: 2.5rem;
    color: #8B0000;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
}

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

.category-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.category-large {
    grid-column: span 2;
}

.category-image {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.2);
    transition: background 0.3s ease;
}

.category-card:hover .category-overlay {
    background: rgba(0,0,0,0.3);
}

.category-icon {
    font-size: 4rem;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.3));
}

.category-info {
    padding: 1.5rem;
    text-align: center;
}

.category-info h4 {
    font-size: 1.4rem;
    color: #8B0000;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.category-info p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
}

.category-link {
    color: #c9a87c;
    font-weight: 600;
    font-size: 0.95rem;
}

.hot-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 0.5rem;
    animation: badge-pulse 2s infinite;
}

@keyframes badge-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Featured Products Section */
.featured-products-section {
    padding: 5rem 0;
    background: white;
}

.featured-videos{
	background: #B6D3AB;
	background: linear-gradient(135deg,rgba(182, 211, 171, 1) 0%, rgba(182, 211, 171, 1) 0%, rgba(219, 239, 237, 1) 100%);
}

.view-all-wrapper {
    text-align: center;
    margin-top: 3rem;
}

.btn-view-all {
    display: inline-block;
    background: transparent;
    color: #8B0000;
    padding: 1rem 2.5rem;
    border: 2px solid #8B0000;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-view-all:hover {
    background: #8B0000;
    color: white;
    transform: translateY(-2px);
}

/* Promotional Banner Section */
.promo-banner-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #fff8f0, #fef3e2);
}

.promo-banner {
    background: linear-gradient(135deg, #8B0000, #B22222);
    border-radius: 20px;
    padding: 3rem;
    color: white;
    box-shadow: 0 10px 40px rgba(139, 0, 0, 0.3);
}

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

.promo-left h3 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.promo-desc {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.promo-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.promo-features li {
    padding: 0.5rem 0;
    font-size: 1.05rem;
}

.promo-cta {
    display: inline-block;
    background: #FFD700;
    color: #8B0000;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.promo-cta:hover {
    background: #FFA500;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.promo-timer {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.timer-label {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.countdown-display {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    padding: 1rem;
    border-radius: 10px;
    min-width: 70px;
}

.countdown-number {
    font-size: 2rem;
    font-weight: 700;
    color: #FFD700;
}

.countdown-label {
    font-size: 0.85rem;
    margin-top: 0.3rem;
    opacity: 0.8;
}

/* ============================================
   PROMO COUNTDOWN SECTION
   ============================================ */

.promo-countdown-section {
    position: relative;
    padding: 5rem 0;
    background: linear-gradient(135deg, #F1551D, #F9C076); /* Light orange to match countdown heading */
    overflow: hidden;
}

.promo-banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
}

.countdown-moon {
    position: absolute;
    top: 20%;
    right: 10%;
    font-size: 200px;
    opacity: 0.3;
    animation: moon-glow 4s ease-in-out infinite;
}

.promo-countdown-section .container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.countdown-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.countdown-title {
    font-size: 3rem;
    color: #8B0000;
    margin-bottom: 1rem;
    font-weight: 700;
}

.countdown-subtitle {
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 3rem;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    min-width: 100px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.countdown-number {
    font-size: 3rem;
    font-weight: 700;
    color: #c9a87c;
    line-height: 1;
}

.countdown-label {
    font-size: 1rem;
    color: #666;
    margin-top: 0.5rem;
}

.countdown-separator {
    font-size: 2.5rem;
    color: #c9a87c;
    font-weight: 700;
}

.promo-offers {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.offer-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    padding: 15px 25px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #8B0000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

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

@media (max-width: 768px) {
    .countdown-title {
        font-size: 2rem;
    }
    
    .countdown-item {
        min-width: 70px;
        padding: 1rem;
    }
    
    .countdown-number {
        font-size: 2rem;
    }
    
    .promo-offers {
        flex-direction: column;
        align-items: center;
    }
}

/* Educational Section */
.educational-section {
    padding: 5rem 0;
    background: #f9f9f9;
}

/* ============================================
   WELLNESS TIPS SECTION
   ============================================ */

.wellness-tips {
    padding: 5rem 0;
    background: #FBDDBD;
	background: radial-gradient(circle,rgba(251, 221, 189, 1) 0%, rgba(245, 249, 236, 1) 0%, rgba(203, 178, 143, 1) 100%);
}

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

.tip-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.tip-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.tip-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.tip-title {
    font-size: 1.3rem;
    color: #8B0000;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.tip-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.tip-link {
    color: #c9a87c;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
}

.tip-link:hover {
    text-decoration: underline;
}

/* ============================================
   INSTAGRAM VIDEOS SECTION
   ============================================ */

.instagram-videos {
    padding: 5rem 0;
    background: #F0F4F0; /* Light green-tea to match wellness knowledge heading */
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin: 3rem 0;
}

@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
    }
}

.video-item {
    position: relative;
    aspect-ratio: 9/16;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.video-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.video-thumbnail {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #c9a87c, #8B4513);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.play-icon {
    font-size: 3rem;
    color: white;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.video-item:hover .play-icon {
    opacity: 1;
    transform: scale(1.2);
}

.video-label {
    color: white;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    padding: 0 1rem;
}

/* Video Modal */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal-content {
    position: relative;
    max-width: 500px;
    width: 100%;
    background: white;
    border-radius: 12px;
    overflow: hidden;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: rotate(90deg);
}

.modal-video-container {
    position: relative;
    padding-bottom: 177.78%; /* 9:16 aspect ratio */
    height: 0;
    overflow: hidden;
}

.modal-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.instagram-cta {
    text-align: center;
    margin-top: 3rem;
}

.btn-instagram {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
    color: white;
    padding: 15px 35px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(131, 58, 180, 0.3);
}

.btn-instagram:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(131, 58, 180, 0.5);
}

@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .modal-content {
        max-width: 90%;
    }
}

.video-card {
    background: white;
    padding: 10px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

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

.tip-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.tip-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.tip-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.tip-card h4 {
    font-size: 1.3rem;
    color: #8B0000;
    margin-bottom: 0.8rem;
}

.tip-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.tip-link {
    color: #c9a87c;
    font-weight: 600;
    text-decoration: none;
}

/* About Section */
.about-section {
    padding: 5rem 0;
    background: white;
}

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

.about-text h3 {
    font-size: 2.2rem;
    color: #8B0000;
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #555;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 2rem 0;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    color: #333;
}

.feature-check {
    color: #c9a87c;
    font-weight: 700;
    font-size: 1.2rem;
}

.about-cta {
    display: inline-block;
    background: #8B0000;
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.about-cta:hover {
    background: #B22222;
    transform: translateY(-2px);
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.image-caption {
    text-align: center;
    margin-top: 1rem;
    color: #666;
    font-size: 0.95rem;
}

/* Responsive Design for National Day Theme */
@media (max-width: 768px) {
    .mid-autumn-hero {
        min-height: 70vh;
    }
    
    .hero-main-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-promo-banner {
        font-size: 1rem;
        padding: 12px 20px;
    }
    
    .hero-cta-group {
        flex-direction: column;
        gap: 1rem;
    }
    
    .category-large {
        grid-column: span 1;
    }
    
    .promo-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .countdown-item {
        min-width: 60px;
        padding: 0.8rem;
    }
    
    .countdown-number {
        font-size: 1.5rem;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Serif SC', serif;
    line-height: 1.6;
    color: #333;
}

.header {
    background: linear-gradient(135deg, #8B0000, #B22222);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
}

.logo h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #FFD700;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: #FFD700;
}

.hero {
    position: relative;
    height: 70vh;
    background: url('images/hero-banner.jpg') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 2rem;
}

.hero h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.hero h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
}

/* 免運費標籤樣式 */
.promo-badge {
    display: inline-block;
    background: rgba(139, 0, 0, 0.9); /* 景成標誌性深紅色 */
    color: #fff;
    padding: 10px 25px;
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 50px; /* 膠囊形狀 */
    margin: 1.5rem 0;
    border: 2px solid #ffcc00; /* 加入金色邊框增加名貴感 */
    box-shadow: 0 0 15px rgba(255, 204, 0, 0.4);
    animation: promo-pulse 2s infinite; /* 加入呼吸燈動畫 */
}

/* 呼吸燈動畫定義 */
@keyframes promo-pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 15px rgba(255, 204, 0, 0.4);
    }
    50% {
        transform: scale(1.05); /* 輕微放大 */
        box-shadow: 0 0 25px rgba(255, 204, 0, 0.7);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 15px rgba(255, 204, 0, 0.4);
    }
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #8B0000;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,215,0,0.4);
}

/* 向下滑動提示容器 */
.scroll-indicator {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    cursor: pointer;
}

/* 箭頭樣式（使用 CSS 繪製一個簡約的 V 型） */
.scroll-arrow {
    width: 12px;
    height: 12px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg);
    margin-top: 10px;
    animation: scroll-bounce 2s infinite;
}

/* 輕微跳動動畫 */
@keyframes scroll-bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) rotate(45deg);
        opacity: 0.5;
    }
    40% {
        transform: translateY(10px) rotate(45deg);
        opacity: 1;
    }
    60% {
        transform: translateY(5px) rotate(45deg);
        opacity: 0.8;
    }
}

.features {
    padding: 5rem 0;
    background: #f8f8f8;
}

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

.features h3 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #8B0000;
}

.features-grid {
    display: grid;
    /* 預設在手機上顯示為一列 */
    grid-template-columns: 1fr;
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

/* 放大教學文章預覽標題 */
.feature-card h4 {
    font-size: 24px !important;    /* 標題字級大小，可依喜好調整 */
    line-height: 1.4 !important;   /* 增加行高，避免多行時太擠 */
    margin-top: 15px !important;   /* 與上方圖片的間距 */
    margin-bottom: 10px !important; /* 與下方摘要文字的間距 */
}

/* 確保連結顏色正確且加粗 */
.feature-card h4 a {
    font-weight: 700 !important;
    display: block;               /* 讓點擊範圍更完整 */
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.about {
    padding: 5rem 0;
    background: white;
}

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

.about-text h3 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #8B0000;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.footer {
    background: #8B0000;
    color: white;
    padding: 3rem 0 1rem;
    text-align: center;
}

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

.footer h4 {
    color: #FFD700;
    margin-bottom: 1rem;
}

/* 分類頁面的特定樣式 - 補強 archive.php */
.archive-content {
    padding: 5rem 0;
    background: #fff;
}

.archive-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #8B0000;
}

.archive-card {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.archive-card a {
    text-decoration: none;
    color: #333;
}

.archive-card h4 {
    margin: 1rem 0;
    color: #8B0000;
}

.pagination {
    text-align: center;
    margin-top: 3rem;
}

.pagination a, .pagination span {
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    margin: 0 0.25rem;
    text-decoration: none;
    color: #8B0000;
    border-radius: 5px;
}

.pagination .current {
    background-color: #8B0000;
    color: white;
    border-color: #8B0000;
}

.latest-products .products {
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.video-card .instagram-media {
    min-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
}

/* 修復首頁與商店頁面商品列表 */
.latest-products .products, 
.woocommerce ul.products {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 20px !important;
    padding: 0;
    list-style: none;
    margin: 2rem 0;
}

/* 強制每一列顯示 4 個商品 (電腦版) */
.latest-products .products li.product,
.woocommerce ul.products li.product {
    width: calc(25% - 15px) !important; /* 25% 減去間距，確保一排四個 */
    margin: 0 !important;
    float: none !important;
    box-sizing: border-box;
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    text-align: center;
}

/* 圖片優化：確保圖片夠大且不變形 */
.woocommerce ul.products li.product img {
    width: 100% !important;
    height: auto !important;
    display: block;
    margin-bottom: 15px;
    border-radius: 5px;
    object-fit: cover;
}

/* 文字優化：防止文字變打直 */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 1.1rem !important;
    line-height: 1.4 !important;
    margin: 10px 0 !important;
    color: #333;
    display: block;
    word-break: keep-all; /* 防止中文異常斷行 */
}

/* 價格樣式 */
.woocommerce ul.products li.product .price {
    color: #8B0000 !important;
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
}

/**
 * Custom Product Layout Styles
 * 
 * Add this to your theme's style.css or enqueue it separately.
 * Path: your-theme/woocommerce/custom-product-styles.css
 */

/* ============================================
   LAYOUT: Product Summary (Gallery + Info)
   ============================================ */
.custom-product-layout {
	max-width: 1200px;
	margin: 0 auto;
}

.custom-product-summary {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	padding: 30px 0;
}

@media (max-width: 768px) {
	.custom-product-summary {
		grid-template-columns: 1fr;
		gap: 20px;
	}
}

.custom-product-gallery .woocommerce-product-gallery {
	width: 100% !important;
}

.custom-product-info {
	padding: 10px 0;
}

/* ============================================
   SECTIONS: General
   ============================================ */
.custom-section {
	padding: 40px 0;
	border-top: 1px solid #e8e8e8;
}

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

.section-title {
	font-size: 24px;
	font-weight: 600;
	margin-bottom: 25px;
	color: #333;
	display: flex;
	align-items: center;
	gap: 10px;
}

.section-title .title-icon {
	color: #c9a87c;
	font-size: 18px;
}

/* ============================================
   SECTION: 商品特色 (Product Highlights)
   ============================================ */
.highlights-content {
	background: #fafafa;
	border-radius: 8px;
	padding: 25px 30px;
	line-height: 1.8;
	color: #111;
}

.highlights-content p {
	margin: 0 0 15px;
}

.highlights-content p:last-child {
	margin-bottom: 0;
}

.highlights-content ul,
.highlights-content ol {
	margin: 10px 0;
	padding-left: 25px;
}

.highlights-content li {
	margin-bottom: 8px;
}

/* ============================================
   SECTION: Product Tabs
   ============================================ */
.product-tabs-nav {
	display: flex;
	gap: 0;
	border-bottom: 2px solid #e8e8e8;
	margin-bottom: 30px;
}

.tab-btn {
	background: none;
	border: none;
	padding: 15px 30px;
	font-size: 16px;
	font-weight: 500;
	color: #888;
	cursor: pointer;
	position: relative;
	transition: color 0.3s ease;
}

.tab-btn:hover {
	color: #333;
}

.tab-btn.active {
	color: #c9a87c;
}

.tab-btn.active::after {
	content: '';
	position: absolute;
	bottom: -2px;
	left: 0;
	right: 0;
	height: 2px;
	background: #c9a87c;
}

.tab-pane {
	display: none;
}

.tab-pane.active {
	display: block;
}

/* ============================================
   TAB: 詳細說明 (Description)
   ============================================ */
.detail-block {
	margin-bottom: 35px;
	padding-bottom: 35px;
	border-bottom: 1px solid #f0f0f0;
}

.detail-block:last-child {
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: 0;
}

.block-title {
	font-size: 18px;
	font-weight: 600;
	color: #333;
	margin-bottom: 15px;
	padding-left: 12px;
	border-left: 3px solid #c9a87c;
}

.block-content {
	line-height: 1.8;
	color: #222;
}

.block-content p {
	margin: 0 0 12px;
}

/* Video Block */
.video-wrapper {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
	border-radius: 8px;
	background: #000;
}

.video-wrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* Weight Block */
.weight-value {
	display: inline-block;
	background: #f5f5f5;
	padding: 10px 20px;
	border-radius: 6px;
	font-size: 16px;
	font-weight: 500;
	color: #c9a87c;
}

/* Detail Gallery */
.detail-gallery {
	display: grid;
	grid-template-columns: 1fr;
	gap: 15px;
}

.detail-gallery .detail-image {
	width: 100%;
	height: auto;
	border-radius: 8px;
	display: block;
}

@media (min-width: 768px) {
	.detail-gallery {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* ============================================
   TAB: 商品規格 (Specifications)
   ============================================ */
.specifications-table-wrapper {
	overflow-x: auto;
}

.specifications-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
}

.specifications-table th,
.specifications-table td {
	padding: 15px 20px;
	text-align: left;
	border-bottom: 1px solid #e8e8e8;
}

.specifications-table th {
	width: 180px;
	font-weight: 600;
	color: #333;
	background: #fafafa;
}

.specifications-table td {
	color: #555;
}

.specifications-table tr:last-child th,
.specifications-table tr:last-child td {
	border-bottom: none;
}

.specifications-table tr:hover th,
.specifications-table tr:hover td {
	background: #f9f9f9;
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */
@media (max-width: 768px) {
	.section-title {
		font-size: 20px;
	}

	.tab-btn {
		padding: 12px 20px;
		font-size: 15px;
	}

	.block-title {
		font-size: 16px;
	}

	.specifications-table th {
		width: 120px;
		padding: 12px 15px;
	}

	.specifications-table td {
		padding: 12px 15px;
	}
}

/* ============================================
   OPTIONAL: Enhance Default WooCommerce Elements
   ============================================ */

/* Product Title */
.custom-product-info .product_title {
	font-size: 28px;
	font-weight: 600;
	margin-bottom: 15px;
	color: #333;
}

/* Product Price */
.custom-product-info .price {
	font-size: 24px;
	font-weight: 700;
	color: #c9a87c;
	margin-bottom: 20px;
}

/* Add to Cart Button */
.custom-product-info .single_add_to_cart_button {
	background: #c9a87c;
	border: none;
	padding: 15px 40px;
	font-size: 16px;
	font-weight: 600;
	color: #fff;
	border-radius: 6px;
	cursor: pointer;
	transition: background 0.3s ease;
}

.custom-product-info .single_add_to_cart_button:hover {
	background: #b89565;
}

/* Product Meta */
.custom-product-info .product_meta {
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid #e8e8e8;
	font-size: 14px;
	color: #888;
}

.custom-product-info .product_meta span {
	display: block;
	margin-bottom: 5px;
}

.custom-product-info .product_meta a {
	color: #C6852F;
	text-decoration: none;
}

.custom-product-info .product_meta a:hover {
	text-decoration: underline;
}

.video-wrapper-vertical {
    max-width: 400px; /* Limit width for vertical videos */
    margin: 0 auto; /* Center the video */
}

.wcpay-express-checkout-wrapper{
	display: none !important;
}

/* 響應式：超小螢幕一排 1 個 */
@media (max-width: 480px) {
    .latest-products .products li.product,
    .woocommerce ul.products li.product {
        width: 100% !important;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero h2 {
        font-size: 2.2rem;
    }
    
    .hero h3 {
        font-size: 1.7rem;
    }
    
    .hero p{
        margin-bottom: 0rem;
    }
    
    .promo-badge {
        font-size: 1.1rem;
        padding: 8px 15px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .feature-card h4 {
        font-size: 20px !important;
    }

    .latest-products .products {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .video-grid {
        grid-template-columns: 1fr;
    }

    .latest-products .products li.product,
    .woocommerce ul.products li.product {
        width: calc(50% - 10px) !important;
    }

    .scroll-indicator {
        margin-top: 40px; /* 在手機上增加一點間距，避免誤觸按鈕 */
        display: flex !important; /* 確保在手機上一定顯示 */
    }
    
    .scroll-indicator span {
        letter-spacing: 1px;
        text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    }   
}

/* 在平板設備上顯示兩列 (螢幕大於 600px) */
@media (min-width: 600px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 在桌上型電腦上顯示四列 (螢幕大於 1024px) */
@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
