/* ============================================
   📦 큰 박스형태 제품 디자인 v3.3.0
   ============================================ */

/* 제품 그리드 - 2열 큰 박스 레이아웃 */
.product-grid,
.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 60px !important;
    margin: 80px auto !important;
    max-width: 1600px !important;
    padding: 0 40px !important;
}

/* 제품 카드 - 큰 박스 스타일 */
.product-card {
    background: white !important;
    border-radius: 30px !important;
    overflow: hidden !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2) !important;
    transition: all 0.5s ease !important;
    cursor: pointer !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    border: 4px solid transparent !important;
}

.product-card:hover {
    transform: translateY(-15px) scale(1.02) !important;
    box-shadow: 0 30px 80px rgba(45, 80, 22, 0.35) !important;
    border-color: #2d5016 !important;
}

/* 제품 이미지 - 대형 500px */
.product-image-wrapper {
    position: relative !important;
    width: 100% !important;
    height: 500px !important;  /* 400px → 500px */
    overflow: hidden !important;
    background: #f9f9f9 !important;
}

.product-image-photo {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.7s ease !important;
}

.product-card:hover .product-image-photo {
    transform: scale(1.2) !important;
}

/* 제품 배지 - 크게 */
.product-badge {
    position: absolute !important;
    top: 25px !important;
    left: 25px !important;
    padding: 12px 28px !important;
    border-radius: 40px !important;
    font-weight: 900 !important;
    font-size: 1.2rem !important;
    z-index: 2 !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4) !important;
    text-transform: uppercase !important;
}

.badge-best {
    background: linear-gradient(135deg, #ff6b6b, #ee5a6f) !important;
    color: white !important;
}

.badge-hot {
    background: linear-gradient(135deg, #f39c12, #e67e22) !important;
    color: white !important;
}

.badge-new {
    background: linear-gradient(135deg, #2ecc71, #27ae60) !important;
    color: white !important;
}

/* 제품 정보 영역 - 넓은 패딩 */
.product-info {
    padding: 50px !important;
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    background: white !important;
}

.product-number {
    font-size: 1.1rem !important;
    color: #999 !important;
    margin-bottom: 15px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

.product-name {
    font-size: 2.5rem !important;
    color: #2d5016 !important;
    margin-bottom: 25px !important;
    font-weight: 900 !important;
    line-height: 1.3 !important;
}

.product-composition {
    font-size: 1.3rem !important;
    color: #666 !important;
    line-height: 2.2 !important;
    margin-bottom: 30px !important;
    flex: 1 !important;
    background: #f8f6f0 !important;
    padding: 25px !important;
    border-radius: 15px !important;
    border-left: 5px solid #2d5016 !important;
}

.product-composition strong {
    color: #2d5016 !important;
    font-weight: 800 !important;
    font-size: 1.4rem !important;
}

/* 제품 가격 - 크게 강조 */
.product-price {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 25px !important;
    padding: 20px !important;
    background: linear-gradient(135deg, #f8f6f0, #ffffff) !important;
    border-radius: 15px !important;
}

.price-retail {
    font-size: 2.5rem !important;
    color: #2d5016 !important;
    font-weight: 900 !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

/* 장바구니 버튼 - 크고 눈에 띄게 */
.add-to-cart-btn {
    width: 100% !important;
    padding: 22px !important;
    font-size: 1.5rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 15px !important;
    background: linear-gradient(135deg, #2d5016, #4a7c2c) !important;
    color: white !important;
    border: none !important;
    border-radius: 15px !important;
    font-weight: 900 !important;
    cursor: pointer !important;
    transition: all 0.4s ease !important;
    box-shadow: 0 10px 30px rgba(45, 80, 22, 0.3) !important;
    text-transform: uppercase !important;
}

.add-to-cart-btn:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 15px 40px rgba(45, 80, 22, 0.5) !important;
    background: linear-gradient(135deg, #4a7c2c, #5d9e3a) !important;
}

.add-to-cart-btn i {
    font-size: 1.8rem !important;
}

/* 제품 섹션 제목 */
.section-title {
    font-size: 3.5rem !important;
    text-align: center !important;
    margin-bottom: 30px !important;
    font-weight: 900 !important;
}

.section-subtitle {
    font-size: 1.8rem !important;
    text-align: center !important;
    color: #666 !important;
    margin-bottom: 60px !important;
}

/* 타블렛 (1200px ~ 1600px) */
@media (max-width: 1600px) {
    .product-grid,
    .products-grid {
        max-width: 1400px !important;
        gap: 50px !important;
    }
}

/* 타블렛 (768px ~ 1199px) */
@media (max-width: 1199px) {
    .product-grid,
    .products-grid {
        grid-template-columns: 1fr !important;
        gap: 50px !important;
        padding: 0 30px !important;
    }

    .product-image-wrapper {
        height: 450px !important;
    }

    .product-info {
        padding: 40px !important;
    }

    .product-name {
        font-size: 2.2rem !important;
    }

    .price-retail {
        font-size: 2.2rem !important;
    }

    .add-to-cart-btn {
        font-size: 1.3rem !important;
    }
}

/* 모바일 (768px 이하) */
@media (max-width: 768px) {
    .product-grid,
    .products-grid {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
        padding: 0 20px !important;
        margin: 50px auto !important;
    }

    .product-card {
        border-radius: 20px !important;
    }

    .product-image-wrapper {
        height: 350px !important;
    }

    .product-info {
        padding: 30px !important;
    }

    .product-number {
        font-size: 0.95rem !important;
    }

    .product-name {
        font-size: 1.8rem !important;
    }

    .product-composition {
        font-size: 1.1rem !important;
        padding: 20px !important;
    }

    .price-retail {
        font-size: 1.8rem !important;
    }

    .add-to-cart-btn {
        padding: 18px !important;
        font-size: 1.2rem !important;
    }

    .section-title {
        font-size: 2.5rem !important;
    }

    .section-subtitle {
        font-size: 1.3rem !important;
    }
}

/* 가격표 테이블도 큰 박스로 */
.price-table-section {
    margin-top: 100px !important;
    padding: 60px !important;
    background: white !important;
    border-radius: 30px !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15) !important;
}

.price-table-title h2 {
    font-size: 3rem !important;
    font-weight: 900 !important;
}

.price-table-title p {
    font-size: 1.4rem !important;
}

/* 프린트 최적화 */
@media print {
    .product-card {
        break-inside: avoid !important;
        page-break-inside: avoid !important;
    }
}
