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

/* 폰트 로딩 최적화 */
@font-face {
    font-family: 'Segoe UI';
    font-display: swap;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    /* 렌더링 최적화 */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Header */
header {
    background-image: url('img/head.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 2rem 0;
    text-align: center;
    position: relative;
    will-change: auto;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

header .container {
    position: relative;
    z-index: 2;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 4rem 0;
    background: white;
    margin: 2rem 0;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.hero h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #666;
}

.hero-promo {
    margin: 1.5rem 0;
    padding: 1.2rem 1.5rem;
    background: linear-gradient(135deg, #fff3cd 0%, #ffe69c 100%);
    border-left: 4px solid #ffc107;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
    }
    50% {
        box-shadow: 0 6px 20px rgba(255, 193, 7, 0.5);
    }
}

/* 성능 최적화: GPU 가속 활성화 */
.hero-promo, .product-card, .quick-nav-btn {
    transform: translateZ(0);
    backface-visibility: hidden;
}

.promo-text {
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    color: #856404;
    text-align: center;
}

.promo-text strong {
    color: #d39e00;
    font-size: 1.05rem;
}

.promo-highlight {
    display: inline-block;
    margin-top: 0.3rem;
    color: #dc3545;
    font-weight: 600;
    font-size: 0.9rem;
    animation: blink-text 1.5s ease-in-out infinite;
}

@keyframes blink-text {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.cta-button {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255,107,107,0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,107,107,0.4);
}

/* Features */
.features {
    padding: 3rem 0;
}

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

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

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

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 2% auto;
    padding: 2rem;
    border-radius: 15px;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #aaa;
    transition: color 0.3s ease;
}

.close:hover {
    color: #333;
}

/* Product Tabs */
.product-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 2rem;
    border-bottom: 2px solid #eee;
    flex-wrap: wrap;
}

.tab-button {
    padding: 12px 20px;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 1rem;
    color: #666;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.tab-button.active {
    color: #667eea;
    border-bottom-color: #667eea;
    font-weight: bold;
}

.tab-button:hover {
    color: #667eea;
}

/* Tab Content */
.tab-content {
    display: none;
}

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

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

.product-card {
    background: white;
    border: 2px solid #eee;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    border-color: #667eea;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102,126,234,0.2);
}

.product-card.popular {
    border-color: #ff6b6b;
    background: linear-gradient(135deg, #fff 0%, #fff5f5 100%);
}

.popular-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ff6b6b;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
}

.product-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.price {
    margin-bottom: 1.5rem;
}

.original-price {
    text-decoration: line-through;
    color: #999;
    font-size: 1rem;
    margin-right: 10px;
}

.sale-price {
    color: #ff6b6b;
    font-size: 1.8rem;
    font-weight: bold;
}

.product-card ul {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.product-card li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    padding-left: 20px;
}

.product-card li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4CAF50;
    font-weight: bold;
}

.product-card li:first-child:before {
    content: "";
}

.select-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.select-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102,126,234,0.3);
}

/* Order Form */
.selected-product {
    background: white;
    color: #333;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    text-align: center;
    border: 2px solid #eee;
}

.selected-product h3 {
    margin-bottom: 0.5rem;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

.order-submit-btn {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 25px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
}

.order-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,107,107,0.3);
}

/* Payment Modal */
.payment-info {
    max-width: 600px;
    margin: 0 auto;
}

.order-summary {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.order-summary h3 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

.order-summary p {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.bank-info {
    background: white;
    color: #333;
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    text-align: center;
    border: 2px solid #eee;
}

.bank-info h3 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

.account-details {
    margin-bottom: 1.5rem;
}

.account-details p {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    color: #333;
}

.copy-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102,126,234,0.3);
}

.payment-notice {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 10px;
    padding: 1.5rem;
}

.payment-notice h4 {
    margin-bottom: 1rem;
    color: #856404;
}

.payment-notice ul {
    margin-left: 1.5rem;
}

.payment-notice li {
    margin-bottom: 0.5rem;
    color: #856404;
}

/* 입금 완료 알림 버튼 */
.payment-actions {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #eee;
}

.confirm-payment-btn {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 25px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(40,167,69,0.3);
    margin-bottom: 1rem;
}

.confirm-payment-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40,167,69,0.4);
}

.confirm-payment-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.payment-help {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.4;
}

/* Payment Actions */
.payment-actions {
    margin-top: 30px;
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 2px dashed #007bff;
}

.confirm-payment-btn {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.confirm-payment-btn:hover {
    background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

.confirm-payment-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.payment-help {
    color: #666;
    font-size: 14px;
    margin-top: 10px;
    line-height: 1.4;
}

/* Products Section */
.products-section {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 3rem;
}

.product-category {
    margin-bottom: 4rem;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.category-title {
    font-size: 1.8rem;
    padding: 20px;
    text-align: center;
    margin-bottom: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Order Now Button Animation */
.order-now-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.order-now-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;
}

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

/* Product Card Hover Effect */
.product-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.product-card:hover {
    transform: translateY(-10px) scale(1.02);
}

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

.product-category {
    animation: fadeInUp 0.8s ease-out;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }

    .hero-promo {
        padding: 1rem;
        margin: 1rem 0;
    }

    .promo-text {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    .promo-text strong {
        font-size: 0.95rem;
    }

    .promo-highlight {
        font-size: 0.85rem;
    }

    .modal-content {
        width: 95%;
        padding: 1.5rem;
    }
    
    .product-tabs {
        flex-direction: column;
    }
    
    .tab-button {
        text-align: center;
        padding: 10px;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
}

/* Quick Navigation */
.quick-nav {
    background: white;
    padding: 3rem 0;
    margin: 2rem 0;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.quick-nav-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 0 auto;
    max-width: 1200px;
    padding: 0 1rem;
}

.quick-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 0;
    border-radius: 15px;
    text-decoration: none;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    position: relative;
    min-height: 200px;
    background: #f8f9fa;
}

.quick-nav-btn:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.nav-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.quick-nav-btn:hover .nav-img {
    transform: scale(1.1);
}

.nav-text {
    font-size: 1.1rem;
    text-align: center;
    padding: 1rem;
    background: white;
    width: 100%;
    color: #2c3e50;
    font-weight: bold;
    border-top: 3px solid #667eea;
}

/* Stats Section */
.stats-section {
    background: white;
    padding: 2rem 0;
    margin: 1rem 0 2rem 0;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    color: #2c3e50;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #667eea;
}

.stat-label {
    font-size: 1.1rem;
    color: #666;
}

/* Reviews Section */
.reviews-section {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

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

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

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

.review-stars {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.review-text {
    color: #333;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.reviewer {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    border-top: 2px solid #eee;
    padding-top: 1rem;
}

.reviewer strong {
    color: #2c3e50;
}

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

/* FAQ Section */
.faq-section {
    padding: 4rem 0;
    background: white;
}

.faq-container {
    max-width: 800px;
    margin: 2rem auto 0;
}

.faq-item {
    border-bottom: 2px solid #eee;
    margin-bottom: 1rem;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    font-weight: bold;
    color: #2c3e50;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-toggle {
    font-size: 1.5rem;
    color: #667eea;
    transition: transform 0.3s ease;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 1.5rem;
    color: #666;
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem;
}

@media (max-width: 768px) {
    .quick-nav-buttons {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .reviews-grid {
        grid-template-columns: 1fr;
    }
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
    background: linear-gradient(135deg, #3d566e 0%, #34495e 100%);
}

/* Live Notification */
.live-notification {
    position: fixed;
    bottom: 100px;
    left: 20px;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    transform: translateX(-400px);
    transition: transform 0.5s ease;
    z-index: 998;
    max-width: 300px;
}

.live-notification.show {
    transform: translateX(0);
}

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

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

.notification-text {
    color: #333;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Kakao Float Button */
.kakao-float {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #FEE500;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    z-index: 999;
    transition: all 0.3s ease;
    animation: kakao-pulse 2s infinite;
}

.kakao-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0,0,0,0.4);
}

@keyframes kakao-pulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(254, 229, 0, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(254, 229, 0, 0.8);
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 2rem 0;
    }

    .cta-button {
        padding: 12px 30px;
        font-size: 1.1rem;
    }

    .modal-content {
        margin: 5% auto;
        padding: 1rem;
    }

    .quick-nav-buttons {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .quick-nav-btn {
        min-height: 180px;
    }

    .nav-img {
        height: 120px;
    }

    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }

    .kakao-float {
        bottom: 80px;
        right: 20px;
        width: 55px;
        height: 55px;
    }

    .live-notification {
        left: 10px;
        bottom: 150px;
        max-width: 250px;
    }

    .stat-number {
        font-size: 2rem;
        color: #667eea;
    }

    .footer-content {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
        display: grid !important;
    }

    .footer-section {
        text-align: center;
        min-width: 0 !important;
        width: 100% !important;
    }

    .footer-section h4 {
        font-size: 1.1rem;
        white-space: normal !important;
        word-wrap: break-word;
    }

    .footer-stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .site-footer {
        padding: 2rem 0 1rem;
        margin-top: 2rem;
    }

    .footer-container {
        padding: 0 1rem;
    }

    .footer-links {
        width: 100%;
    }

    .footer-links li {
        margin-bottom: 0.5rem;
        font-size: 0.9rem;
        word-wrap: break-word;
    }

    .footer-links a {
        word-wrap: break-word;
        white-space: normal;
    }

    .footer-bottom {
        padding-top: 1.5rem;
    }

    .footer-bottom p {
        font-size: 0.85rem;
    }

    .footer-disclaimer {
        font-size: 0.8rem;
    }

    .company-info {
        padding: 1rem;
        margin: 1rem 0;
    }

    .company-info p {
        font-size: 0.85rem;
    }

    .company-info strong {
        font-size: 1rem;
    }
}

/* 작은 데스크톱/큰 태블릿 반응형 - 푸터 3칼럼 */
@media (min-width: 769px) and (max-width: 1100px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

/* 작은 태블릿 반응형 - 푸터 2칼럼 */
@media (min-width: 481px) and (max-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem;
    }

    .footer-section {
        min-width: 0 !important;
        width: 100%;
    }

    .footer-section h4 {
        white-space: normal !important;
    }
}

/* 푸터 스타일 */
.site-footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #ecf0f1;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

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

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

.footer-section {
    min-width: 0;
    word-wrap: break-word;
}

.footer-section h4 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-section p {
    color: #bdc3c7;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-stats {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

.footer-stat-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-stat-item strong {
    color: #3498db;
    font-size: 1.3rem;
    font-weight: bold;
    display: block;
}

.footer-stat-item span {
    color: #95a5a6;
    font-size: 0.85rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.7rem;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #3498db;
    transform: translateX(5px);
}

.footer-links li:not(:has(a)) {
    color: #95a5a6;
    font-size: 0.9rem;
}

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

.footer-bottom p {
    margin: 0.5rem 0;
    font-size: 0.9rem;
}

.company-info {
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.company-info p {
    margin: 0.5rem 0;
    font-size: 0.9rem;
    color: #bdc3c7;
}

.company-info strong {
    color: #fff;
    font-size: 1.1rem;
}

.footer-disclaimer {
    color: #7f8c8d;
    font-size: 0.85rem;
    line-height: 1.6;
    margin-top: 1rem;
}

/* 약관 모달 추가 스타일 */
#policyModal .modal-content {
    padding: 2rem;
    max-height: 80vh;
    overflow-y: auto;
}

#policyContent {
    line-height: 1.8;
}

#policyContent h2 {
    color: #2c3e50;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

#policyContent h3 {
    color: #34495e;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

#policyContent p {
    margin-bottom: 1rem;
    color: #555;
}

#policyContent ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

#policyContent li {
    margin-bottom: 0.5rem;
    color: #666;
}

/* 상품 후기 스타일 */
.reviews-toggle-btn {
    width: 100%;
    padding: 12px 20px;
    margin-top: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.reviews-toggle-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.5);
}

.reviews-count {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: normal;
}

.product-reviews {
    margin-top: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
        padding: 0 20px;
    }
    to {
        opacity: 1;
        max-height: 2000px;
        padding: 20px;
    }
}

.review-item {
    background: white;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

.review-item:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.review-item:last-child {
    margin-bottom: 0;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 10px;
}

.review-rating {
    font-size: 1.1rem;
}

.review-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #666;
}

.review-author {
    font-weight: 600;
    color: #2c3e50;
}

.review-date {
    color: #95a5a6;
}

.review-content {
    line-height: 1.6;
    color: #555;
    margin: 0;
    font-size: 0.95rem;
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .review-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .reviews-toggle-btn {
        font-size: 0.95rem;
        padding: 10px 16px;
    }

    .product-reviews {
        padding: 15px;
    }

    .review-item {
        padding: 12px;
    }
}

/* 페이지네이션 스타일 */
.reviews-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
    flex-wrap: wrap;
}

.pagination-btn {
    padding: 8px 14px;
    background: white;
    color: #667eea;
    border: 1px solid #667eea;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 40px;
}

.pagination-btn:hover:not(.disabled) {
    background: #667eea;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(102, 126, 234, 0.3);
}

.pagination-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.4);
}

.pagination-btn.disabled {
    background: #f8f9fa;
    color: #adb5bd;
    border-color: #dee2e6;
    cursor: not-allowed;
    opacity: 0.6;
}

.pagination-btn.prev-btn,
.pagination-btn.next-btn {
    padding: 8px 16px;
    font-weight: 600;
}

.pagination-dots {
    color: #adb5bd;
    padding: 0 4px;
    font-weight: bold;
}

/* 페이지네이션 모바일 반응형 */
@media (max-width: 768px) {
    .reviews-pagination {
        gap: 6px;
        margin-top: 20px;
        padding-top: 15px;
    }

    .pagination-btn {
        padding: 6px 10px;
        font-size: 0.85rem;
        min-width: 35px;
    }

    .pagination-btn.prev-btn,
    .pagination-btn.next-btn {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
} 