.product-detail {
    position: relative;
    width: 100%;
    padding: var(--spacing-xl) 0;
}

.product-detail-main {
    position: relative;
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    gap: 40px;
    align-items: flex-start;
    justify-content: space-between;
}

.product-images {
    width: 50%;
}

.product-image {
    width: 100%;
    height: 600px;
    background-color: #000;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    /*opacity: 0.8;*/
}

.product-thumbnails {
    display: flex;
    gap: 8px;
}

.product-thumbnail {
    width: 68px;
    height: 68px;
    background-color: #000;
    cursor: pointer;
    overflow: hidden;
    transition: 0.3s all;
}

.product-thumbnail img {
    width: 100%;
    height: auto;
    object-fit: cover;
    opacity: 0.8;
}

.product-info {
    flex: 1;
    max-width: 500px;
}

.brand-link {
    color: #858585;
    text-decoration: none;
    font-size: 17px;
    font-weight: 400;
    display: inline-flex;
    align-items: center;
}

.brand-link::after {
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    border-top: 1px solid #858585;
    border-right: 1px solid #858585;
    transform: rotate(45deg);
    margin-left: 20px;
}

.product-title-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-title {
    flex: 1;
    font-size: 28px;
    font-weight: 500;
}

.product-share-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
    transition: color 0.2s ease;
    padding: 0;
}

.product-description {
    color: #858585;
    font-size: 17px;
}

.product-price-box {
    display: flex;
    align-items: center;
}

.product-sale-price {
    font-size: 32px;
    font-weight: 700;
}

.won {
    font-size: 24px;
    font-weight: 400;
}

.product-discount {
    font-size: 24px;
    font-weight: 600;
    color: var(--color-red);
}

.product-original-price {
    font-size: 18px;
    color: var(--text-light-gray);
    text-decoration: line-through;
}

.product-tags--mb {
    margin-bottom: 14px;
}

.product-point {
    display: flex;
}

.product-point-label {
    font-size: 14px;
    margin-right: 8px;
    color: #221e1f;
}

.product-point-value {
    font-size: 14px;
    font-weight: 500;
    color: #221e1f;
}

.product-benefit-link {
    display: flex;
    justify-content: center;
    background-color: #FFDA8A;
    padding: 12px;
    font-size: 15px;
    text-decoration: none;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 10px;
    height: 45px;
}

.product-info-list {
    margin-bottom: 36px;
}

.product-info-item {
    display: flex;
    color: var(--text-gray);
    font-size: 15px;
}

.product-info-label {
    flex: 0 0 100px;
}

.product-info-value {
    flex: 1;
}

.product-option {
    display: flex;
    align-items: flex-start;
    margin-bottom: 18px;
}

.product-option-label {
    color: var(--text-gray);
    flex: 0 0 100px;
    font-size: 15px;
    margin-top: 12px;
}

.product-option-select {
    flex: 1;
}

.product-options {
    width: 100%;
    padding: 0 8px;
    border: 1px solid #d9d9d9;
    font-size: 14px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: url('https://cdn-ddanzi.bizhost.kr/renewal2025/web/images/icon_toggle_input.svg') no-repeat;
    background-position: right 16px center;
    background-size: 11px;
    height: 32px;
    line-height: 32px;
}

.selected-option-items {
    width: 400px;
    margin-bottom: 24px;
    margin-left: auto;
}

.selected-option-item {
    display: block;
    padding: 16px;
    background-color: #f9f9f9;
    border-radius: 4px;
    margin-bottom: 10px;
}

.selected-option-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 12px;
    flex: 1;
}

.selected-option-info .delete-btn {
    margin: -4px -4px 0 0;
}

.selected-option-name {
    flex: 1;
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.4;
}

.delete-btn {
    position: relative;
    flex-shrink: 0;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #999;
    padding: 0;
    margin: 0;
}

.delete-btn:before {
    content: "\eb99";
    font-family: remixicon !important;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.delete-btn img {
    width: 21px;
    height: 18px;
    display: none;
}

.selected-option-quantity {
    display: flex;
    align-items: center;
}

.selected-option-price {
    display: flex;
    align-items: baseline;
    margin-left: auto;
    text-align: right;
    gap: 10px;
}

.selected-option-total {
    display: block;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 4px;
}

.selected-option-point {
    font-size: 12px;
    color: #A7A7A7;
}

.product-total-price {
    display: flex;
    justify-content: flex-end;
    align-items: baseline;
    margin-bottom: 24px;
}

.product-total-label {
    font-size: 16px;
    margin-right: 8px;
}

.product-total-value {
    font-size: 28px;
    font-weight: 700;
    white-space: nowrap;
}

.product-actions {
    display: flex;
    width: 100%;
    height: 64px;
    cursor: pointer;
}

.product-btn {
    padding: 0;
    border: none;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-btn-wish {
    flex: 0 0 64px;
    background-color: #fff;
    border: 1px solid #ddd;
    color: #666;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.product-btn-cart {
    flex: 1;
    font-size: 19px;
    font-weight: 700;
    background-color: #B5B5B5;
    color: #fff;
}

.product-btn-buy {
    flex: 1;
    background-color: #ef2a23;
    ;
    color: #fff;
    font-size: 19px;
    font-weight: 700;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

/* 탭 */
.product-detail-tabs {
    position: sticky;
    top: 99px;
    background: #fff;
    z-index: 2;
    margin-top: 60px;
    border-bottom: 1px solid #e0e0e0;
    height: 56px;
}

/* Sticky 탭 스타일 */
.product-detail-tabs.is-sticky {
    position: fixed;
    top: 65px;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 10;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.sticky-content-inner {
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

/* 썸네일 활성 상태 */
.product-thumbnail.active {
    border: 4px solid var(--primary-color);
    opacity: 1;
}

.product-thumbnail.active img {
    opacity: 1;
}

[data-section] {
    scroll-margin-top: 170px;
}

.tabs {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.tab {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 50px;
    height: 100%;
    font-size: 17px;
    font-weight: 400;
    cursor: pointer;
    text-align: center;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 100%;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    color: #222;
    font-size: 16px;
    font-weight: 400;
}

.tab::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: transparent;
    transition: background 0.2s;
}

.tab.active button {
    color: var(--primary-color);
    font-weight: 600;
}

.tab.active::after {
    background: var(--primary-color);
}

.review-count {
    color: #666;
    font: inherit;
}

/* 리뷰 */
.reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
}

.reviews-rating-info {
    display: flex;
    align-items: center;
}

.star-icon {
    display: flex;
    height: 28px;
    margin-right: 5px;
}

.reviews-rating {
    font-weight: 700;
    font-size: 23px;
    margin-right: 5px;
}

.reviews-count {
    color: #888;
    font-size: 22px;
    font-weight: 500;
}

.review-more-btn {
    color: #ff8800;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.more-icon {
    margin-left: 12px;
    font-size: 12px;
}

.review-show-more-wrapper {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}

.review-show-more-btn {
    background: #fff;
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 12px 24px;
    color: #000;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
    cursor: pointer;
}

.review-show-more-btn:hover {
    border-color: #999;
    background: #f9f9f9;
}

.review-show-more-btn .show-more-icon {
    transition: transform 0.3s ease;
}

.review-show-more-btn.expanded .show-more-icon {
    transform: rotate(180deg);
}

.product-review-thumbnails {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 60px;
    overflow: hidden;
}

.product-review-thumbnail {
    width: 134px;
    height: 134px;
    flex-shrink: 0;
    background: #f0f0f0;
}

.product-review-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
}

.product-review-image-more {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    font-weight: 400;
    color: #fff;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.product-review-image-more img {
    filter: blur(2px) brightness(0.5);
}

.product-review-image-more span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    white-space: nowrap;
}

.product-review-item {
    display: flex;
    padding: 20px 0;
    border-bottom: 1px solid #d7d7d7;
    gap: 85px;
}

.review-left {
    width: 414px;
    margin-right: 20px;
}

.review-images {
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
}

.review-image {
    width: 96px;
    height: 96px;
    overflow: hidden;
    border-radius: 4px;
}

.review-right {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.review-content {
    margin-bottom: 10px;
    line-height: 1.5;
    color: #333;
}

.review-content p {
    margin-bottom: 10px;
}

.review-bottom {
    display: flex;
    justify-content: space-between; /* 양 끝으로 배치 */
    align-items: center;            /* 수직 가운데 정렬 */
    margin-top: auto;
}
.commentEaView {
    margin-right: auto; /* 왼쪽에 붙이고 나머지를 밀어냄 */
}

.review-date {
    align-self: flex-start;
    margin-bottom: 5px;
    font-size: 13px;
    color: var(--text-gray)
}

.helpful-btn {
    align-self: flex-end;
    height: 40px;
    display: flex;
    align-items: center;
    border: 1px solid var(--color-border-gray);
    background: #fff;
    font-size: 13px;
    font-weight: 400;
    padding: 8px 20px;
    border-radius: 4px;
}

.helpful-btn img {
    margin: 0 6px;
    vertical-align: middle;
}

.review-stars {
    display: flex;
    align-items: center;
}

.review-rating {
    display: flex;
    align-items: center;
    gap: 22px;
}

.review-meta {
    display: flex;
    align-items: center;
    font-size: 16px;
    color: var(--text-gray)
}

.product-detail .review-product-name {
    margin-right: 8px;
    font-size: 16px;
}

.product-section {
    margin-top: 80px;
}

.section-title {
    font-size: 30px;
    font-weight: 600;
    margin-bottom: 60px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.product-section-arrow {
    width: 36px;
    height: 36px;
    vertical-align: middle;
}

.product-section .section-content {
    max-width: 1180px;
    margin: 0 auto;
    text-align: left;
}

.product-section .section-content table {
    width: 100%;
}

.policy-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    color: #444;
    margin-bottom: 50px;
}

.policy-table th,
.policy-table td {
    border-bottom: 1px solid #ddd;
    padding: 18px;
    text-align: left;
    line-height: 1.8;
}

.policy-table th {
    width: 180px;
    font-weight: 600;
}

.policy-table td {
    flex: 1;
    font-weight: 400;
}

/* 상품 문의 */
.product-inquiry {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.product-inquiry thead {
    background-color: #ffda8a;
    border: 1px solid #e7ba5a;
}

.product-inquiry th {
    text-align: center;
    padding: 20px 22px;
    font-size: 15px;
}

.product-inquiry thead th:first-child {
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.product-inquiry thead th:last-child {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.inquiry-notice {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 14px;
    font-weight: 400;
    color: #858585;
    margin-top: -40px;
    margin-bottom: 6px;
    line-height: 1.5;
}

.product-inquiry-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product-inquiry-row .inquiry-title {
    text-align: left;
}

.inquiry-title-inner {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.lock-icon img,
.image-icon img {
    width: 20px;
    height: 20px;
    vertical-align: middle;
}

.inquiry-row {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.inquiry-row thead {
    background-color: #FFDA8A;
    border: 1px solid;
}

.inquiry-row th {
    text-align: center;
    padding: 20px 22px;
    font-weight: 500;
    font-size: 15px;
    color: #333;
}

.inquiry-row th:first-child {
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.inquiry-row th:last-child {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.product-inquiry-body {
    width: 100%;
    border-collapse: collapse;
}

.product-inquiry-row:not(.row-issec) {
    cursor: pointer;
}

.product-inquiry-row td {
    text-align: center;
    padding: 16px 12px;
    border-bottom: 1px solid #ededed;
    background-color: #fff;
    font-size: 15px;
    font-weight: 400;
    color: var(--text-gray)
}

.inquiry-status {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 15px;
}

.inquiry-status.complete {
    color: var(--color-orange);
}

.product-inquiry-detail td {
    background-color: #F8F8F8;
    text-align: left;
    font-size: 14px;
    border-bottom: 1px solid #eee;
    line-height: 1.6;
}

.product-inquiry-question,
.product-inquiry-answer {
    display: flex;
    align-items: flex-start;
    font-size: 15px;
    font-weight: 400;
    padding: 30px;
    background-color: transparent;
}

.inquiry-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.inquiry-btn-box {
    display: flex;
    justify-content: flex-end;
}

.inquiry-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    background: #fff;
    font-size: 15px;
    font-weight: 700;
    gap: 8px;
    color: #fff;
    background-color: var(--color-orange);
    padding: 11px 30px;
    border: 1px solid var(--color-orange);
}

.product-inquiry-contents {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.product-inquiry-text {
    font-size: 16px;
    line-height: 1.5;
}

.product-inquiry-images {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.product-inquiry-item {
    width: 140px;
    height: 110px;
    overflow: hidden;
}

.product-inquiry-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 하단 고정 주문바 */
.product-orderbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: -15px;
    z-index: 30;
    background: #fff;
    transform: translateY(calc(100% - 50px));
    border-top: 3px solid var(--color-red);
}

.product-orderbar.is-open {
    transform: translateY(0);
}

.product-orderbar-toggle {
    position: absolute;
    top: -46px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1180px;
    display: flex;
    justify-content: flex-start;
}

.product-orderbar-btn-toggle {
    position: relative;
    z-index: 31;
    width: 268px;
    height: 46px;
    border: 4px solid var(--color-red);
    border-bottom: 0;
    border-radius: 8px 8px 0 0;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.product-orderbar-btn-toggle img {
    transition: transform 0.3s ease;
    transform: rotate(180deg);
}

.product-orderbar.is-open .product-orderbar-btn-toggle img {
    transform: rotate(0deg);
}

.product-orderbar-btn-toggle::after {
    content: "";
    position: absolute;
    left: -3px;
    right: -3px;
    bottom: -3px;
    height: 3px;
    background: #fff;
    pointer-events: none;
}

.product-orderbar-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 30px 0;
    border-top: 0;
}

.product-orderbar-list {
    display: grid;
    gap: 12px;
}

.product-orderbar-list .selected-option-items {
    width: 100%;
    margin-bottom: 0;
    height: 140px;
    overflow-y: auto;
}

.product-orderbar-list .selected-option-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.product-orderbar-list .selected-option-quantity {
    gap: 30px;
}

.product-orderbar-list .selected-option-total {
    margin-bottom: 0;
}

.product-orderbar-list .selected-option-info {
    margin: 0;
}

.product-orderbar-list .selected-option-name {
    font-size: 17px;
}

.product-orderbar-list .selected-option-total {
    font-size: 20px;
}

.product-orderbar-list .selected-option-point {
    font-size: 14px;
}

.product-orderbar-total {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    padding: 10px 0;
    margin-bottom: 12px;
}

.product-orderbar-total .product-total-label {
    margin-top: 8px
}

.modal-upload-trigger {
    cursor: pointer;
}

.nodata-row {
    height: 100px;
    line-height: 100px;
}

.no-data {
    text-align: center;
    color: #858585;
    font-size: 16px;
    height: 100px;
    line-height: 100px;
}

/* 검증필증 */
.confirmTable {
    position: relative;
    width: 100%;
    width: 912px;
    text-align: center;
    margin: 0 auto;
    padding-bottom: 105px;
    background: url('//img-ddanzi.bizhost.kr/web/detailsInfo_logo.jpg') center bottom no-repeat;
    background-size: 100%;
}

.confirmTable .stemp {
    position: absolute;
    bottom: 46px;
    right: -5px;
    width: 129px;
    height: 124px;
    background: url('//img-ddanzi.bizhost.kr/web/stamp.png') no-repeat;
    text-indent: -9999em;
}

table.type1 {
    width: 100%;
    box-sizing: border-box;
    border-top: 1px solid #e0e0e0;
    border-left: 1px solid #e0e0e0;
    font-size: 13px;
    color: #555;
    border-collapse: collapse;
}

table.type1 thead th {
    height: 50px;
    line-height: 50px;
    background-color: #333;
    color: #fff;
    font-size: 17px;
}

table.type1 th,
table.type1 td {
    border-bottom: 1px solid #e0e0e0;
    border-right: 1px solid #e0e0e0;
    box-sizing: border-box;
}

table.type1 tbody th {
    background-color: #f0f0f0;
}

table.type1 tbody td {
    text-align: left;
    padding: 10px 15px;
    line-height: 22px;
}

.sharing-url {
    display: flex;
    gap: 10px;
    align-items: center;
}

.sharing-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 20px 0;
}

.share-url-input {
    flex: 1;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #ddd;
    font-size: 14px;
    color: #333;
    background-color: #f9f9f9;
    border-radius: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sns-copy-url {
    padding: 10px 16px;
    background: #ff8000;
    color: #fff;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    height: 40px;
}

#modal-root .modal-dialog:has(.share-url-input) .modal-title {
    margin-bottom: 20px;
}



/* 섹션별 여백 및 제목 스타일*/
.shop-view-notice,
.shop-view-detail-wrap,
.shop-view-policy-wrap {
  padding: 50px 20px;
}

.shop-view-policy-wrap p {
  line-height: 1.5;
}

.notice-title,
.detail-title,
.policy-title {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 20px;
}