body {
    background: url("../image/background.jpg") center/cover no-repeat fixed;
}


.product-page {
    max-width: 1180px;
    margin: 30px auto 60px;
    padding: 0 24px;
}


.breadcrumb {
    font-size: 11px;
    color: #f2d7c9;
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.breadcrumb a {
    color: #f2d7c9;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb .current {
    color: #ffffff;
}


.product-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 2fr);
    gap: 40px;
}

.product-gallery {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr);
    gap: 16px;
}


.thumb-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.thumb-item {
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 4px;
    cursor: pointer;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

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

.thumb-item.active,
.thumb-item:hover {
    border-color: #ff6a58;
    box-shadow: 0 0 0 2px rgba(255,106,88,0.35);
}


.product-main-image {
    background-color: #f7f7f7;
    border-radius: 10px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;      
    cursor: zoom-in;       
}

.product-main-image img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}


.product-main-image:hover img {
    transform: scale(1.2);   
}



.product-info {
    color: #ffffff;
}


.product-header {
    margin-bottom: 16px;
}

.badge-new {
    display: inline-block;
    padding: 3px 9px;
    font-size: 11px;
    font-weight: 700;
    background-color: #ffd34a;
    color: #5e291d;
    border-radius: 999px;
    margin-bottom: 8px;
}

.product-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 4px;
}

.product-subtitle {
    font-size: 13px;
    color: #f2d7c9;
}


.product-price {
    font-size: 22px;
    font-weight: 800;
    color: #ffcc4a;
    margin: 12px 0 18px;
}


.option-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #f2d7c9;
    margin-bottom: 6px;
}


.product-option-block {
    margin-bottom: 18px;
}

.option-buttons {
    display: flex;
    gap: 8px;
}


.option-btn {
    flex: 1;
    padding: 10px 8px;
    font-size: 13px;
    border-radius: 6px;
    border: 1px solid #ccc;
    background-color: #ffffff;
    cursor: pointer;
}


.option-btn-active {
    border-color: #ff6a58;
    box-shadow: 0 0 0 2px rgba(255,106,88,0.35);
}



.product-purchase-row {
    margin-top: 10px;
    margin-bottom: 22px;
}


.quantity-block {
    margin-bottom: 12px;
}


.quantity-buttons {
    display: inline-flex;
    align-items: center;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #ddd;
    background-color: #ffffff;
}

.qty-btn {
    width: 28px;
    height: 28px;
    border: none;
    background: #f5f5f5;
    cursor: pointer;
    font-size: 16px;
}

.qty-number {
    width: 32px;
    text-align: center;
    font-size: 13px;
    color: #333;
    background-color: #ffffff;
}


.cta-block {
    display: flex;
    gap: 10px;
    margin-top: 8px;
}

.favorite-btn,
.add-btn {
    flex: 1;
    padding: 10px 0;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.favorite-btn {
    background-color: #ffffff;
    color: #333;
    border: 1px solid #ddd;
}


.favorite-btn.favorite-active {
    background-color: #ffe6ea;
    color: #e01e26;
    border-color: #e01e26;
}


.add-btn {
    background-color: #e01e26;
    color: #ffffff;
    border: none;
}


.blindbox-tip {
    display: flex;
    gap: 10px;
    align-items: center;
    background-color: rgba(0,0,0,0.35);
    border-radius: 10px;
    padding: 10px 12px;
    margin-bottom: 22px;
}

.tip-icon {
    font-size: 18px;
}

.tip-title {
    font-size: 13px;
    font-weight: 700;
}

.tip-desc {
    font-size: 12px;
    color: #f2d7c9;
}


.product-details {
    margin-top: 8px;
}

.details-title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
}

.details-list {
    list-style: none;
    font-size: 12px;
    line-height: 1.8;
    color: #f5e6d5;
}

.details-list .dt {
    font-weight: 700;
    margin-right: 4px;
}

.details-list .note {
    display: block;
    margin-top: 4px;
}


.reviews-section {
    margin-top: 40px;
    background-color: rgb(33,45,79);
    border-radius: 14px;
    padding: 18px 20px 22px;
    color: #ffffff;
}

.reviews-header-row h2 {
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.reviews-empty {
    font-size: 12px;
    color: #f2d7c9;
    margin-bottom: 10px;
}


.reviews-list {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
}

.review-item {
    padding: 10px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.review-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.review-name-display {
    font-size: 13px;
    font-weight: 700;
}

.review-rating-display {
    font-size: 12px;
    color: #ffd34a;
}

.review-text-display {
    font-size: 12px;
    color: #f5e6d5;
    line-height: 1.5;
}


.review-form {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 12px;
    margin-top: 4px;
}

.review-form-title {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 8px;
}

.review-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 8px;
}

.review-field label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #f2d7c9;
}

.review-name,
.review-rating,
.review-text {
    font-size: 12px;
    border-radius: 6px;
    border: 1px solid #ccc;
    padding: 6px 8px;
    font-family: inherit;
}

.review-text {
    resize: vertical;
}

.review-submit {
    margin-top: 4px;
    padding: 8px 14px;
    border-radius: 999px;
    border: none;
    background-color: #ffd34a;
    color: #5e291d;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    align-self: flex-start;
    box-shadow: 0 3px 8px rgba(0,0,0,0.3);
    transition: 0.15s ease;
}

.review-submit:hover {
    background-color: #ffbe2b;
    transform: translateY(-1px);
}

@media (max-width: 600px) {
    .reviews-section {
        padding: 14px 14px 18px;
    }
}



@media (max-width: 900px) {
    .product-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .product-gallery {
        grid-template-columns: 1fr;
    }

    .thumb-list {
        flex-direction: row;
        justify-content: center;
    }

    .thumb-item {
        width: 70px;
    }

    .product-main-image {
        padding: 24px;
    }
}

@media (max-width: 600px) {
    .product-page {
        padding: 0 16px;
        margin-top: 24px;
    }
}
