@charset "UTF-8";

/* ==========================================================================
   화천(HWACHEON) Product Detail 상세 페이지
   ========================================================================== */

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    background-color: #ffffff !important;
    color: #111111;
    font-family: 'Jost', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.main-container {
    width: 100%;
    overflow-x: hidden;
    padding-top: 4.5rem;
    box-sizing: border-box;
}

.max-layout-width {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    box-sizing: border-box;
}

.main-section-padding {
    padding: 5rem 0 7rem;
}

.bg-white {
    background-color: #ffffff !important;
}

/* ──────────────────────────────────────────────────────────────────────────
   1. 상단 메인 히어로 2열 그리드
   ────────────────────────────────────────────────────────────────────────── */
.prod-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4.5rem;
    align-items: stretch;
}

.prod-gallery-box {
    width: 100%;
    height: 100%;
    min-height: 520px;
    background: #fdfdfd;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
}

.prod-swiper {
    width: 100%;
    height: 100%;
    flex: 1;
}

.prod-swiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    background: #f4f4f4;
}

.prod-swiper img {
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    object-position: center;
    display: block;
}

.prod-pagination {
    bottom: 1.5rem !important;
}

.prod-pagination .swiper-pagination-bullet {
    background: #ffffff;
    opacity: 0.6;
    width: 8px;
    height: 8px;
}

.prod-pagination .swiper-pagination-bullet-active {
    background: #111111;
    opacity: 1;
}

.prod-info-box {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.exp-top-actions {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.btn-exp-action {
    padding: 0.5rem 1.2rem;
    background: #ffffff;
    border: 1px solid #111111;
    color: #111111;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-exp-action.btn-highlight, .btn-exp-action:hover {
    background: #111111;
    color: #ffffff;
}

.exp-selected-highlight {
    color: #7950f2;
    font-weight: 700;
}

.prod-title-group {
    border-bottom: 2px solid #111111;
    padding-bottom: 1.2rem;
    margin-bottom: 1.5rem;
}

.prod-title-kr {
    font-size: 2rem;
    font-weight: 600;
    color: #111111;
    margin: 0 0 0.3rem 0;
    letter-spacing: -0.02em;
}

.prod-title-en {
    font-family: 'Jost', sans-serif;
    font-size: 0.95rem;
    color: #888888;
    margin: 0;
}

.prod-price-box {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    margin-bottom: 1.8rem;
}

.price-amount {
    font-size: 2.2rem;
    font-weight: 700;
    color: #111111;
}

.price-unit {
    font-size: 1.1rem;
    color: #111111;
}

.prod-volume-info {
    margin-left: auto;
    font-size: 0.92rem;
    color: #777777;
}

.prod-spec-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    padding: 1.5rem;
    background: #fafafa;
    border-radius: 6px;
    margin-bottom: 1.8rem;
}

.spec-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    font-size: 0.9rem;
    line-height: 1.6;
}

.spec-label {
    font-weight: 600;
    color: #111111;
}

.spec-val {
    color: #555555;
}

.prod-qty-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 1rem;
}

.qty-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #111111;
}

.qty-counter {
    display: inline-flex;
    border: 1px solid #e2e2e2;
    border-radius: 4px;
    overflow: hidden;
}

.btn-qty {
    width: 34px;
    height: 38px;
    background: #fafafa;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
}

.qty-input {
    width: 44px;
    height: 38px;
    border: none;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 600;
    outline: none;
}

.prod-delivery-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.88rem;
    color: #666666;
    margin-bottom: 1.5rem;
}

.prod-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.8rem;
}

.total-label {
    font-size: 1.05rem;
    font-weight: 600;
    color: #111111;
}

.total-price-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: #111111;
}

.prod-action-btns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.btn-cart, .btn-buy {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 56px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s ease;
    border: none;
}

.btn-cart {
    background: #ffffff;
    border: 1px solid #111111;
    color: #111111;
}

.btn-cart:hover {
    background: #f4f4f4;
}

.btn-buy {
    background: #111111;
    color: #ffffff;
}

.btn-buy:hover {
    background: #333333;
}

/* ──────────────────────────────────────────────────────────────────────────
   2. 상세 하단 탭 (Detail / Review / Q&A)
   ────────────────────────────────────────────────────────────────────────── */
.prod-detail-tabs-section {
    border-top: 1px solid #e2e2e2;
    padding-top: 4rem;
}

.detail-tab-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #111111;
    margin-bottom: 4rem;
    width: 100%;
}

.tab-item {
    font-family: 'Jost', sans-serif;
    font-size: 1.15rem;
    font-weight: 500;
    color: #888888;
    text-decoration: none;
    padding: 1.2rem 0;
    position: relative;
    flex: 1;
    transition: color 0.2s ease;
}

.tab-item:nth-child(1) { text-align: left; }
.tab-item:nth-child(2) { text-align: center; }
.tab-item:nth-child(3) { text-align: right; }

.tab-item.active {
    color: #111111;
    font-weight: 700;
}

.tab-item.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #111111;
}

.detail-tab-content {
    min-height: 300px;
}

.detail-tab-content.is-hidden {
    display: none;
}

.detail-img-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.detail-main-img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.product-policy-box {
    width: 100%;
    margin-top: 3.5rem;
    padding: 2.2rem;
    background-color: #fafafa;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    text-align: left;
    font-size: 0.9rem;
    line-height: 1.7;
    color: #444444;
    box-sizing: border-box;
}

.policy-main-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #111111;
    margin: 0 0 1.2rem;
    border-bottom: 2px solid #222222;
    padding-bottom: 0.6rem;
}

.policy-group {
    margin-bottom: 1.2rem;
}

.policy-group:last-child {
    margin-bottom: 0;
}

.policy-group-title {
    color: #111111;
    font-size: 0.95rem;
}

.policy-list {
    margin: 0.4rem 0 0 1.2rem;
    padding: 0;
    list-style-type: disc;
}

.policy-highlight {
    color: #b02a37;
    font-weight: 600;
}

.policy-desc {
    margin: 0.4rem 0 0 0;
}

.empty-tab-text {
    text-align: center;
    padding: 4rem 0;
    color: #888888;
    font-size: 0.95rem;
}

.empty-tab-text.grid-full {
    grid-column: 1 / -1;
}

/* ──────────────────────────────────────────────────────────────────────────
   TAB 2: Review
   ────────────────────────────────────────────────────────────────────────── */
.review-score-banner {
    background: #FAFAFA;
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    margin-bottom: 3.5rem;
}

.score-center-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 0.6rem;
}

.star-gold, .rev-stars {
    color: #F59E0B !important;
    font-size: 1.5rem;
    letter-spacing: 0.05em;
}

.score-bold {
    font-size: 2.5rem;
    font-weight: 700;
    color: #111111;
    margin-left: 0.3rem;
}

.score-slash {
    font-size: 1.1rem;
    color: #888888;
}

.score-sub-notice {
    font-size: 0.95rem;
    color: #555555;
    margin: 0;
}

.review-table-container {
    display: flex;
    flex-direction: column;
    border-top: 1px solid #111111;
}

.review-row-item {
    display: grid;
    grid-template-columns: 240px 1fr 220px;
    gap: 2.5rem;
    align-items: flex-start;
    padding: 2.5rem 1rem;
    border-bottom: 1px solid #e2e2e2;
}

.rev-col-user {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.rev-user-id {
    font-size: 0.95rem;
    font-weight: 700;
    color: #111111;
}

.rev-prod-name {
    font-size: 0.85rem;
    color: #777777;
}

.rev-col-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100%;
}

.rev-text {
    font-size: 0.95rem;
    color: #333333;
    line-height: 1.7;
    margin: 0 0 1.5rem 0;
    word-break: keep-all;
}

.admin-reply-box {
    margin-top: 12px;
    padding: 12px 15px;
    background: #f8f9fa;
    border-left: 3px solid #111111;
    font-size: 0.9rem;
    color: #444444;
}

.rev-date {
    font-size: 0.85rem;
    color: #888888;
}

.rev-col-thumbs {
    display: flex;
    gap: 0.8rem;
    justify-content: flex-end;
}

.thumb-badge-box {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 6px;
    overflow: hidden;
    background: #f4f4f4;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.thumb-badge-box.user-photo-thumb {
    cursor: pointer;
}

.thumb-badge-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.badge-tag {
    position: absolute;
    bottom: 6px;
    right: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.2rem 0.45rem;
    border-radius: 2px;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.badge-tag.tag-product {
    background: rgba(17, 17, 17, 0.75);
}

.badge-tag.tag-user {
    background: #111111;
}

/* ──────────────────────────────────────────────────────────────────────────
   TAB 3: Q&A
   ────────────────────────────────────────────────────────────────────────── */
.faq-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.faq-count {
    font-size: 1rem;
    color: #444444;
}

.faq-count strong {
    font-weight: 700;
    color: #111111;
}

.btn-write-qna {
    height: 44px;
    padding: 0 1.8rem;
    background: #111111;
    color: #ffffff;
    border: none;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.2s ease;
}

.btn-write-qna:hover {
    background: #333333;
}

.faq-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
    align-items: start;
}

.faq-card {
    background: #ffffff;
    border: 1px solid #ebebeb;
    border-radius: 14px;
    padding: 1.8rem 1.6rem;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.faq-card:hover {
    border-color: #d1d5db;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.faq-card .card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.faq-card .status-badge {
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1;
}

.faq-card .status-badge.status-done {
    background: #111111;
    color: #ffffff;
}

.faq-card .status-badge.status-pending {
    background: #f1f3f5;
    color: #888888;
    border: 1px solid #dee2e6;
}

.faq-card .card-date {
    font-size: 0.85rem;
    color: #888888;
}

.faq-card .card-writer {
    font-size: 0.82rem;
    color: #888888;
    margin-bottom: 0.5rem;
    display: block;
}

.faq-card .card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #111111;
    margin: 0;
    line-height: 1.45;
    word-break: keep-all;
}

.faq-card .card-answer {
    display: none;
    margin-top: 1.2rem;
    padding-top: 1.2rem;
    border-top: 1px dashed #e9ecef;
    font-size: 0.92rem;
    line-height: 1.65;
    color: #444444;
}

.faq-card.active .card-answer {
    display: block !important;
}

.qna-question-box {
    margin-bottom: 0.8rem;
    color: #666666;
    font-size: 0.95rem;
    line-height: 1.6;
    border-bottom: 1px dashed #eeeeee;
    padding-bottom: 0.6rem;
}

.answer-waiting {
    color: #999999;
}

/* ──────────────────────────────────────────────────────────────────────────
   3. Other Product
   ────────────────────────────────────────────────────────────────────────── */
.other-products-section {
    border-top: 1px solid #f0f0f0;
}

.section-header-center h2 {
    font-family: 'Jost', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 3.5rem;
}

.ticker-slider-container {
    width: 100%;
    overflow: hidden;
    padding-bottom: 2rem;
}

.ticker-track {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: infiniteScroll 25s linear infinite;
}

.ticker-slider-container:hover .ticker-track {
    animation-play-state: paused;
}

.ticker-item {
    width: 360px;
    flex-shrink: 0;
}

.product-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    width: 100%;
}

.prod-thumb-link {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #f4f4f4;
    border: 1px solid rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 1.2rem;
    border-radius: 6px;
}

.prod-img-box {
    width: 100%;
    height: 100%;
    display: block;
    padding: 0 !important;
    box-sizing: border-box;
}

.prod-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    object-position: center;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .prod-img-box img {
    transform: scale(1.06);
}

.prod-caption-box {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.prod-title {
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0 0 0.3rem 0;
}

.prod-title a {
    color: #111111;
    text-decoration: none;
}

.prod-desc {
    font-size: 0.85rem;
    color: #777777;
    margin: 0;
}

.prod-price-badge span {
    display: inline-block;
    background: #111111;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.4rem 0.8rem;
    border-radius: 2px;
}

@keyframes infiniteScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 15px)); }
}

/* ──────────────────────────────────────────────────────────────────────────
   4. 팝업 모달 공통 & 예약 달력 / 폼 스타일
   ────────────────────────────────────────────────────────────────────────── */
.prod-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(5px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    padding: 1rem;
    box-sizing: border-box;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.prod-modal-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.prod-modal-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    max-height: 90dvh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: #ffffff;
    border-radius: 16px;
    padding: 2.2rem 1.8rem;
    box-sizing: border-box;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.prod-modal-overlay.is-open .prod-modal-container {
    transform: translateY(0);
}

.btn-modal-close {
    position: absolute;
    top: 1.2rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: #888888;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s ease;
}

.btn-modal-close:hover {
    color: #111111;
}

.modal-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #111111;
    margin: 0 0 0.35rem 0;
}

.modal-sub {
    font-size: 0.9rem;
    color: #777777;
    margin: 0 0 1.5rem 0;
}

.modal-map-wrapper {
    width: 100%;
    height: 360px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e5e5e5;
}

.modal-map-wrapper iframe {
    border: 0;
}

.calendar-modal-container {
    max-width: 500px;
}

.calendar-wrapper {
    background: #fafafa;
    border: 1px solid #ebebeb;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.2rem;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
    margin-bottom: 1rem;
}

.btn-cal-nav {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    font-weight: bold;
    padding: 5px 10px;
}

.cal-month-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #111111;
    letter-spacing: -0.02em;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.4rem;
    text-align: center;
}

.calendar-grid-body {
    display: contents;
}

.day-head {
    font-size: 0.85rem;
    font-weight: 700;
    color: #777777;
    padding-bottom: 0.6rem;
}

.day-head.sun { color: #e53e3e; }
.day-head.sat { color: #3182ce; }

.cal-day {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    font-size: 0.92rem;
    border-radius: 8px;
    box-sizing: border-box;
    user-select: none;
    transition: all 0.2s ease;
}

.cal-day.disabled {
    color: #cccccc;
    cursor: default;
    background: transparent;
}

.cal-day.available {
    background: #ffffff;
    border: 1px solid #e2e2e2;
    color: #111111;
    font-weight: 500;
    cursor: pointer;
}

.cal-day.available:hover {
    border-color: #111111;
    background: #f0f0f0;
}

.cal-day.available.active {
    background: #111111 !important;
    border-color: #111111 !important;
    color: #ffffff !important;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.time-select-box {
    background: #fafafa;
    border: 1px solid #ebebeb;
    border-radius: 12px;
    padding: 1.2rem;
    margin-top: 1.2rem;
    margin-bottom: 1.2rem;
}

.time-label {
    font-size: 0.9rem;
    color: #555555;
    display: block;
    margin-bottom: 0.8rem;
}

.time-label strong {
    color: #111111;
}

.time-buttons {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.8rem;
    flex-wrap: wrap;
}

.btn-time {
    flex: 1;
    padding: 0.75rem 0.5rem;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    color: #444444;
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.btn-time:hover {
    border-color: #111111;
    color: #111111;
}

.btn-time.active {
    border-color: #111111;
    background: #111111;
    color: #ffffff;
    font-weight: 600;
}

.btn-modal-confirm {
    width: 100%;
    height: 52px;
    margin-top: 1.2rem;
    background: #111111;
    color: #ffffff;
    border: none;
    font-size: 0.98rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 6px;
    transition: background 0.2s ease;
}

.btn-modal-confirm:hover {
    background: #333333;
}

.qna-write-modal-container {
    max-width: 540px;
}

.qna-modal-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-top: 1rem;
}

.qna-modal-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.qna-modal-form .form-group.checkbox-row {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
}

.qna-modal-form .form-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: #333333;
}

.writer-id-text {
    font-weight: 600;
    color: #111111;
}

.writer-id-text.is-guest {
    color: #888888;
}

.checkbox-label {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    color: #555555;
}

.form-input {
    height: 44px;
    padding: 0 1rem;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-size: 0.92rem;
    outline: none;
    box-sizing: border-box;
    font-family: inherit;
}

.form-textarea {
    padding: 0.8rem 1rem;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-size: 0.92rem;
    outline: none;
    resize: vertical;
    font-family: inherit;
    line-height: 1.5;
    box-sizing: border-box;
}

.modal-action-row {
    display: flex;
    justify-content: flex-end;
    gap: 0.6rem;
    margin-top: 0.5rem;
}

.btn-modal-cancel {
    height: 42px;
    padding: 0 1.2rem;
    background: #f1f3f5;
    border: 1px solid #ced4da;
    border-radius: 6px;
    cursor: pointer;
    color: #495057;
    font-size: 0.92rem;
    font-family: inherit;
}

.btn-modal-submit {
    height: 42px;
    padding: 0 1.5rem;
    background: #111111;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.92rem;
    font-family: inherit;
}

.btn-modal-submit:hover {
    background: #333333;
}

.photo-modal-container {
    max-width: 800px;
    padding: 1.5rem;
    background: transparent;
    box-shadow: none;
}

.photo-modal-body {
    width: 100%;
    display: flex;
    justify-content: center;
}

.photo-modal-body img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
}

.reveal-element {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-element.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   화천(HWACHEON) 상품 상세페이지 반응형 아키텍처
   ========================================================================== */

/* ── STAGE 1. 초고해상도 노트북 및 일반 데스크톱 (Max 1440px) ── */
@media (max-width: 1440px) {
    .max-layout-width {
        padding-left: 3rem;
        padding-right: 3rem;
    }
    .prod-hero-grid {
        gap: 3.5rem;
    }
    .prod-title-kr {
        font-size: 1.85rem;
    }
    .price-amount {
        font-size: 2rem;
    }
}

/* ── STAGE 2. 일반 랩톱 및 중형 모니터 (Max 1200px) ── */
@media (max-width: 1200px) {
    .max-layout-width {
        padding-left: 2.5rem;
        padding-right: 2.5rem;
    }
    .prod-hero-grid {
        gap: 2.5rem;
    }
    .prod-title-kr {
        font-size: 1.7rem;
    }
    .price-amount {
        font-size: 1.85rem;
    }
    .prod-gallery-box {
        min-height: 440px;
    }
    .detail-tab-nav {
        margin-bottom: 3rem;
    }
    .tab-item {
        font-size: 1.05rem;
    }
    .review-row-item {
        grid-template-columns: 200px 1fr 180px;
        gap: 1.8rem;
    }
    .faq-card-grid {
        gap: 1.4rem;
    }
}

/* ── STAGE 3. 태블릿 디바이스 및 가로 뷰포트 (Max 1024px) ── */
@media (max-width: 1024px) {
    .main-container {
        padding-top: 4.2rem;
    }
    .main-section-padding {
        padding: 4rem 0 5rem;
    }
    .max-layout-width {
        padding-left: 2rem !important;
        padding-right: 2rem !important;
    }

    .prod-hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .prod-gallery-box {
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
        min-height: auto;
        aspect-ratio: 1 / 1;
    }

    .prod-detail-tabs-section {
        padding-top: 3rem;
    }
    .tab-item {
        font-size: 1rem;
        padding: 1rem 0;
    }

    .review-row-item {
        grid-template-columns: 180px 1fr;
        gap: 1.5rem;
        padding: 2rem 0.5rem;
    }
    .rev-col-thumbs {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }

    .faq-card-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.4rem;
    }

    .prod-modal-container {
        max-width: 500px;
        padding: 2rem 1.6rem;
    }
}

/* ── STAGE 4. 대형 모바일 & 미니 태블릿 (Max 768px) ── */
@media (max-width: 768px) {
    .main-container {
        padding-top: 3.9rem;
    }
    .main-section-padding {
        padding: 3.5rem 0 4.5rem;
    }
    .max-layout-width {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }

    .prod-gallery-box {
        max-width: 100%;
        aspect-ratio: 1 / 1;
    }
    .prod-title-kr {
        font-size: 1.5rem;
    }
    .price-amount {
        font-size: 1.7rem;
    }
    .spec-item {
        grid-template-columns: 90px 1fr;
        font-size: 0.86rem;
    }
    .btn-cart, .btn-buy {
        height: 50px;
        font-size: 0.95rem;
    }

    .detail-tab-nav {
        margin-bottom: 2.5rem;
    }
    .tab-item {
        font-size: 0.92rem;
    }

    .review-score-banner {
        padding: 2rem 1rem;
        margin-bottom: 2.5rem;
    }
    .score-bold {
        font-size: 2rem;
    }
    .review-row-item {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1.8rem 0;
    }

    .faq-top-bar {
        margin-bottom: 1.5rem;
    }
    .faq-card-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    .faq-card {
        padding: 1.5rem 1.2rem;
    }

    .prod-modal-container {
        width: 92%;
        padding: 1.8rem 1.4rem;
        border-radius: 12px;
    }
    .modal-title {
        font-size: 1.2rem;
    }
    .modal-map-wrapper {
        height: 260px;
    }
    .calendar-wrapper {
        padding: 1rem;
    }
    .cal-day {
        height: 38px;
        font-size: 0.85rem;
    }
}

/* ── STAGE 5. 스마트폰 세로 모드 최하단 레이어 (Max 479px) ── */
@media (max-width: 479px) {
    .main-container {
        padding-top: 3.8rem;
    }
    .main-section-padding {
        padding: 2.5rem 0 3.5rem;
    }
    .max-layout-width {
        padding-left: 1.25rem !important;
        padding-right: 1.25rem !important;
    }

    .exp-top-actions {
        gap: 0.5rem;
        margin-bottom: 1.2rem;
    }
    .btn-exp-action {
        padding: 0.45rem 1rem;
        font-size: 0.8rem;
    }
    .prod-title-group {
        padding-bottom: 0.8rem;
        margin-bottom: 1.2rem;
    }
    .prod-title-kr {
        font-size: 1.35rem;
    }
    .prod-title-en {
        font-size: 0.85rem;
    }
    .price-amount {
        font-size: 1.55rem;
    }
    .prod-spec-list {
        padding: 1.2rem;
        gap: 0.6rem;
    }
    .spec-item {
        grid-template-columns: 80px 1fr;
        font-size: 0.82rem;
    }
    .total-price-text {
        font-size: 1.5rem;
    }
    .prod-action-btns {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }
    .btn-cart, .btn-buy {
        height: 48px;
        font-size: 0.92rem;
    }

    .detail-tab-nav {
        margin-bottom: 2rem;
    }
    .tab-item {
        font-size: 0.84rem;
        padding: 0.8rem 0;
    }

    .review-score-banner {
        padding: 1.5rem 0.8rem;
        margin-bottom: 2rem;
    }
    .score-bold {
        font-size: 1.8rem;
    }
    .star-gold, .rev-stars {
        font-size: 1.2rem;
    }
    .thumb-badge-box {
        width: 80px;
        height: 80px;
    }

    .btn-write-qna {
        height: 38px;
        padding: 0 1.2rem;
        font-size: 0.82rem;
    }
    .faq-card .card-title {
        font-size: 1rem;
    }
    .faq-card .card-answer {
        font-size: 0.85rem;
    }

    /* 팝업 모달 & 예약 달력 최적화 */
    .prod-modal-overlay {
        padding: 0.8rem;
    }
    .prod-modal-container,
    .calendar-modal-container {
        padding: 1.6rem 1.2rem 1.4rem;
        max-height: 88dvh;
    }
    .modal-title {
        font-size: 1.15rem;
        margin-bottom: 0.2rem;
    }
    .modal-sub {
        font-size: 0.8rem;
        margin-bottom: 1rem;
    }
    .calendar-wrapper {
        padding: 0.8rem 0.6rem;
        margin-bottom: 0.8rem;
    }
    .cal-month-title {
        font-size: 1rem;
    }
    .calendar-grid {
        gap: 0.2rem;
    }
    .day-head {
        font-size: 0.78rem;
        padding-bottom: 0.3rem;
    }
    .cal-day {
        height: 34px;
        font-size: 0.82rem;
        border-radius: 6px;
    }
    .time-select-box {
        padding: 0.8rem;
        margin-top: 0.8rem;
        margin-bottom: 0.8rem;
    }
    .time-label {
        font-size: 0.82rem;
        margin-bottom: 0.5rem;
    }
    .time-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }
    .btn-time {
        width: 100%;
        padding: 0.65rem 0.5rem;
        font-size: 0.84rem;
    }
    .btn-modal-confirm {
        height: 44px;
        font-size: 0.88rem;
        margin-top: 0.8rem;
    }
    .btn-modal-close {
        top: 0.8rem;
        right: 1rem;
        font-size: 1.5rem;
    }
}