.product-detail-page {
    padding: 40px 0 80px;
    background: #fff;
    overflow-x: hidden;
    min-height: 100vh;
    background-color: #ffffff;
}

.product-detail-page .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    box-sizing: border-box;
}

/* Breadcrumbs */
.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    font-size: 14px;
    color: #6b6b66;
}

.breadcrumbs a {
    color: #6b6b66;
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: #EA9834;
}

.breadcrumbs span {
    color: #d1d1ce;
}

/* Product Main Section */
.product-main-section {
    display: grid;
    grid-template-columns: 48% 52%;
    gap: 40px;
    margin-bottom: 60px;
    background: transparent;
    padding: 20px 0;
    border-radius: 0;
    box-shadow: none;
    align-items: start;
}

/* Product Images */
.product-images-section {
    display: flex;
    flex-direction: row;
    gap: 16px;
    position: -webkit-sticky;
    position: sticky;
    top: 20px;
    align-self: flex-start;
    height: fit-content;
    max-height: calc(100vh - 40px);
    z-index: 10;
    width: 100%;
}

.product-image-thumbnails {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 70px;
    max-height: 600px;
    overflow-y: auto;
    flex-shrink: 0;
}

.thumbnail {
    width: 70px;
    height: 70px;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fff;
    padding: 4px;
    flex-shrink: 0;
    box-sizing: border-box;
}

.thumbnail.active {
    border-color: #EA9834;
    box-shadow: 0 0 0 1px rgba(247, 181, 0, 0.3);
}

.thumbnail:hover {
    border-color: #EA9834;
    transform: scale(1.05);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.product-main-image {
    flex: 1;
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    margin: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 500px;
    max-height: 600px;
    cursor: zoom-in;
    overflow: hidden;
    border: none;
}

.product-main-image img {
    max-width: 100%;
    max-height: 850px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    align-self: flex-start;
    margin-top: 0;
}

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

.product-main-image.zoomed {
    cursor: zoom-out;
}

.product-main-image.zoomed img {
    transform: scale(2.5);
}

.zoom-indicator {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: rgba(27, 27, 24, 0.85);
    color: #fff;
    padding: 8px 14px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 500;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 10;
}

.product-main-image:hover .zoom-indicator {
    opacity: 1;
}

.zoom-indicator svg {
    width: 16px;
    height: 16px;
}

/* Product Info */
.product-info-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 100%;
}

.product-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}

.product-title {
    font-size: 28px;
    font-weight: 700;
    color: #3A3A3A;
    margin: 0;
    flex: 1;
    line-height: 1.3;
}

.share-btn {
    background: transparent;
    border: 1px solid #e3e3e0;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    padding: 0;
    flex-shrink: 0;
}

.share-btn svg {
    width: 20px;
    height: 20px;
    display: block;
}

.share-btn:hover {
    background: #fffbf0;
    border-color: #EA9834;
}

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

.tag {
    background: transparent;
    color: #3A3A3A;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid #d1d1ce;
}

.product-short-desc {
    font-size: 15px;
    color: #3e3e3a;
    line-height: 1.6;
    margin: 0;
    background: transparent;
}

.product-rating-section {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rating-stars {
    display: flex;
    gap: 2px;
}

.rating-stars .star {
    color: #d1d1ce;
    font-size: 18px;
}

.rating-stars .star.filled {
    color: #EA9834;
}

.rating-value {
    font-weight: 600;
    color: #3A3A3A;
    font-size: 16px;
}

.reviews-count {
    color: #6b6b66;
    font-size: 14px;
}

/* Purchase Form */
.product-purchase-form {
    margin-top: 24px;
}

.weight-options {
    margin-bottom: 20px;
}

.weight-label {
    display: block;
    font-weight: 600;
    color: #3A3A3A;
    margin-bottom: 12px;
    font-size: 15px;
}

.weight-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.weight-btn {
    padding: 10px 20px;
    border: 2px solid #e3e3e0;
    background: #fff;
    border-radius: 8px;
    font-weight: 500;
    color: #3A3A3A;
    cursor: pointer;
    transition: all 0.2s;
}

.weight-btn:hover {
    border-color: #EA9834;
    background: #fffbf0;
}

.weight-btn.active {
    border-color: #EA9834;
    background: #EA9834;
    color: #fff;
}

.quantity-section {
    margin-bottom: 24px;
}

.quantity-section label {
    display: block;
    font-weight: 500;
    color: #3A3A3A;
    margin-bottom: 10px;
    font-size: 14px;
}

.quantity-controls {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0 !important;
    background: #fff !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 4px !important;
    overflow: hidden !important;
}

.qty-btn {
    width: 40px !important;
    height: 40px !important;
    border: none !important;
    background: #ffffff !important;
    cursor: pointer !important;
    font-size: 20px !important;
    font-weight: 600 !important;
    color: #3a3a3a !important;
    transition: background 0.2s !important;
    line-height: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.qty-btn.qty-minus {
    border-radius: 4px 0 0 4px !important;
}

.qty-btn.qty-plus {
    border-radius: 0 4px 4px 0 !important;
}

.qty-btn:hover {
    background: #e6a500 !important;
}

.qty-input {
    width: 50px !important;
    height: 40px !important;
    border: none !important;
    border-left: 1px solid #e0e0e0 !important;
    border-right: 1px solid #e0e0e0 !important;
    text-align: center !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    background: #fff !important;
    color: #3A3A3A !important;
    -moz-appearance: textfield !important;
    appearance: textfield !important;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    appearance: none !important;
    margin: 0 !important;
}

.product-price-section {
    margin: 24px 0;
    padding: 0;
    background: transparent;
    border-radius: 0;
}

.price-display {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 8px;
}

.price-label {
    font-size: 16px;
    color: #6b6b66;
}

.price-amount {
    font-size: 32px;
    font-weight: 700;
    color: #3A3A3A;
}

.price-note {
    font-size: 13px;
    color: #6b6b66;
    margin-bottom: 4px;
}

.shipping-note {
    font-size: 12px;
    color: #6b6b66;
}

.product-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.btn {
    flex: 1;
    padding: 14px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-shop-now {
    background: #EA9834;
    color: #fff;
}

.btn-shop-now:hover {
    background: #e6a500;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(247, 181, 0, 0.3);
}

.btn-add-to-cart {
    background: transparent;
    color: #3A3A3A;
    border: 2px solid #EA9834;
}

.btn-add-to-cart:hover {
    background: #EA9834;
    color: #fff;
    transform: translateY(-1px);
    border-color: #EA9834;
}

.available-offers {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 16px 0;
    margin-top: 24px;
}

.offers-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #3A3A3A;
    margin-bottom: 12px;
    font-size: 15px;
    text-transform: none;
}

.offers-icon {
    font-size: 16px;
}

.offer-item {
    font-size: 13px;
    color: #3e3e3a;
    margin-bottom: 8px;
    padding-left: 0;
    list-style: none;
}

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

/* Product Details Sections */
.product-details-sections {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e3e3e0;
}

.detail-section {
    border-bottom: 1px solid #e3e3e0;
    margin-bottom: 0;
}

.detail-section:last-child {
    border-bottom: none;
}

.detail-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    cursor: pointer;
    transition: all 0.2s;
}

.detail-section-header:hover {
    color: #EA9834;
}

.detail-section-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: #3A3A3A;
    margin: 0;
}

.detail-section-header:hover h3 {
    color: #EA9834;
}

.detail-arrow {
    font-size: 14px;
    color: #6b6b66;
    transition: transform 0.3s;
}

.detail-section-header.active .detail-arrow {
    transform: rotate(180deg);
}

.detail-section-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0;
}

.detail-section-content.active {
    max-height: 1000px;
    padding-bottom: 24px;
}

.detail-section-content p {
    color: #3e3e3a;
    line-height: 1.8;
    margin: 0 0 16px 0;
}

/* Rich Text Content (Quill Output) Support */
.rich-text-content ul,
.rich-text-content ol {
    padding-left: 20px !important;
    margin: 12px 0 !important;
    list-style: initial !important;
}

.rich-text-content ul {
    list-style-type: disc !important;
}

.rich-text-content ol {
    list-style-type: decimal !important;
}

.rich-text-content ul li,
.rich-text-content ol li {
    padding: 4px 0 !important;
    padding-left: 8px !important;
    position: static !important;
    color: #3e3e3a !important;
    line-height: 1.6 !important;
    display: list-item !important;
}

.rich-text-content ul li:before,
.rich-text-content ol li:before {
    content: none !important;
}

/* Legacy/Fallback List Styles */
.detail-section-content ul:not(.rich-text-content ul) {
    list-style: none;
    padding: 0;
    margin: 12px 0;
}

.detail-section-content ul:not(.rich-text-content ul) li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    color: #3e3e3a;
    line-height: 1.6;
}

.detail-section-content ul:not(.rich-text-content ul) li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #EA9834;
    font-weight: bold;
}

.info-row {
    display: flex;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 600;
    color: #3A3A3A;
    min-width: 150px;
}

.info-value {
    color: #3e3e3a;
}

.info-note {
    font-size: 13px;
    color: #6b6b66;
    font-style: italic;
    margin-top: 12px;
}


.nutrition-table {
    margin: 16px 0;
}

.nutrition-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.nutrition-row:last-child {
    border-bottom: none;
}

/* Related Products */
.related-products-section {
    margin-top: 80px;
}

.related-products-section .section-header {
    text-align: center;
    margin-bottom: 40px;
}

.related-products-section .section-title {
    font-size: 32px;
    font-weight: 600;
    color: #3A3A3A;
    margin-bottom: 12px;
}

.related-products-section .section-subtitle {
    font-size: 16px;
    color: #6b6b66;
    max-width: 600px;
    margin: 0 auto;
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.related-product-card {
    background: transparent;
    text-align: left;
    transition: all 0.3s;
}

.related-product-card:hover {
    transform: translateY(-4px);
}

.related-product-image {
    display: block;
    width: 100%;
    height: 280px;
    margin-bottom: 0;
    background: #fff;
    border: 1px solid #fff6f6;
    border-radius: 0;
    padding: 20px;
    overflow: hidden;
}

.related-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transition: transform 0.4s ease;
}

.related-product-card:hover .related-product-image img {
    transform: scale(1.05);
}

.related-product-info {
    padding-top: 10px;
}

.related-product-name {
    font-size: 15px;
    font-weight: 600;
    color: #3A3A3A;
    margin: 0 0 8px 0;
}

.related-product-desc {
    font-size: 13px;
    color: #6b6b66;
    margin-bottom: 12px;
    min-height: 15px;
}

.related-product-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
}

.related-product-rating .stars {
    font-weight: 600;
    color: #3A3A3A;
    font-size: 14px;
}

.related-product-rating .star-icon {
    color: #EA9834;
    font-size: 14px;
}

.related-product-rating .reviews {
    color: #6b6b66;
    font-size: 13px;
}

.related-product-price {
    font-size: 16px;
    font-weight: 600;
    color: #3A3A3A;
    margin-bottom: 16px;
}

.btn-shop-now-small {
    width: 100%;
    padding: 10px 20px;
    background: #EA9834;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    display: inline-block;
    transition: all 0.2s;
}

.btn-shop-now-small:hover {
    background: #e6a500;
}

.btn-explore-all {
    display: inline-block;
    color: #EA9834;
    font-weight: 600;
    text-decoration: none;
    font-size: 16px;
}

.btn-explore-all:hover {
    color: #e6a500;
}

.arrow-right {
    margin-left: 4px;
}

/* Reviews Section */
.reviews-section {
    margin-top: 80px;
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}

.reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    padding: 0;
}

.reviews-title {
    font-size: 28px;
    font-weight: 600;
    color: #3A3A3A;
    margin: 0;
}

.btn-write-review {
    padding: 10px 20px;
    background: #EA9834;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-write-review:hover {
    background: #e6a500;
}

.reviews-summary {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 40px;
    margin-bottom: 24px;
    padding-bottom: 32px;
    border-bottom: 1px solid #e3e3e0;
    background: transparent;
}

.overall-rating {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rating-number {
    font-size: 48px;
    font-weight: 700;
    color: #3A3A3A;
}

.rating-star-large {
    font-size: 32px;
    color: #EA9834;
}

.rating-breakdown {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rating-bar {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rating-bar span:first-child {
    min-width: 70px;
    font-size: 13px;
    color: #6b6b66;
    text-align: left;
}

.rating-bar span:last-child {
    min-width: 40px;
    text-align: right;
    font-size: 13px;
    color: #6b6b66;
}

.bar {
    flex: 1;
    height: 8px;
    background: #e3e3e0;
    border-radius: 4px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: #EA9834;
    transition: width 0.3s;
}

.reviews-count-text {
    font-size: 14px;
    color: #6b6b66;
    margin-bottom: 24px;
    font-weight: 500;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
}

.review-item {
    display: flex;
    gap: 16px;
    padding-bottom: 24px;
    border-bottom: 1px solid #f0f0f0;
}

.review-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.review-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #EA9834;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 18px;
    flex-shrink: 0;
}

.review-content {
    flex: 1;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.reviewer-name {
    font-weight: 600;
    color: #3A3A3A;
}

.verified-badge {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

.review-stars {
    display: flex;
    gap: 2px;
}

.review-stars .star {
    color: #EA9834;
    font-size: 14px;
}

.review-text {
    color: #3e3e3a;
    line-height: 1.6;
    margin: 0;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.page-btn {
    width: 36px;
    height: 36px;
    border: 1px solid #e3e3e0;
    background: #fff;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    color: #3A3A3A;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 14px;
}

.page-btn:hover:not(:disabled) {
    border-color: #EA9834;
    color: #EA9834;
}

.page-btn.active {
    background: #EA9834;
    border-color: #EA9834;
    color: #fff;
}

.page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

@media (max-width: 1100px) {
    .product-main-section {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 30px;
    }

    .product-images-section {
        flex-direction: column-reverse;
        position: static;
        top: auto;
        max-height: none;
    }

    .product-image-thumbnails {
        flex-direction: row;
        width: auto;
        overflow-x: auto;
        overflow-y: visible;
        max-height: none;
    }

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

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

@media (max-width: 640px) {
    .product-detail-page {
        padding: 20px 0 40px !important;
    }

    .product-detail-page .container {
        padding: 0 12px !important;
    }

    .product-main-section {
        padding: 20px !important;
        gap: 24px !important;
    }

    .product-images-section {
        gap: 12px !important;
    }

    .product-image-thumbnails {
        gap: 8px !important;
    }

    .thumbnail {
        width: 50px !important;
        height: 50px !important;
    }

    .product-main-image {
        min-height: 300px !important;
        max-height: 400px !important;
        padding: 12px !important;
        margin: 0 !important;
    }

    .product-main-image img {
        max-height: 350px !important;
    }

    .product-title {
        font-size: 24px !important;
    }

    .product-short-desc {
        font-size: 14px !important;
    }

    .weight-buttons {
        gap: 8px !important;
    }

    .weight-btn {
        padding: 8px 16px !important;
        font-size: 14px !important;
    }

    .quantity-controls {
        width: 100% !important;
    }

    .qty-btn {
        width: 36px !important;
        height: 36px !important;
    }

    .qty-input {
        width: 50px !important;
        height: 36px !important;
    }

    .price-amount {
        font-size: 24px !important;
    }

    .product-actions {
        flex-direction: column !important;
        gap: 10px !important;
    }

    .btn {
        width: 100% !important;
    }

    .product-details-sections {
        padding-top: 20px !important;
        margin-top: 30px !important;
    }

    .detail-section-header {
        padding: 15px 0 !important;
    }

    .detail-section-header h3 {
        font-size: 14px !important;
    }

    .related-products-section {
        margin-top: 50px !important;
    }

    .related-products-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .related-product-image {
        height: 180px !important;
    }

    .reviews-section {
        padding: 24px !important;
        margin-top: 50px !important;
    }

    .reviews-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 15px !important;
    }

    .reviews-title {
        font-size: 22px !important;
    }

    .btn-write-review {
        width: 100% !important;
    }

    .reviews-summary {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .overall-rating {
        justify-content: center !important;
    }

    .rating-number {
        font-size: 36px !important;
    }

    .rating-star-large {
        font-size: 24px !important;
    }

    .review-item {
        flex-direction: column !important;
        gap: 12px !important;
    }

    .review-avatar {
        width: 40px !important;
        height: 40px !important;
        font-size: 16px !important;
    }
}

/* Review Modal Styles */
.review-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    animation: fadeIn 0.2s ease;
}

.review-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.review-modal-content {
    background-color: #fff;
    border-radius: 12px;
    width: 90%;
    max-width: 550px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.review-modal-header {
    padding: 24px 28px;
    border-bottom: 1px solid #e3e3e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.review-modal-header h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    color: #3A3A3A;
}

.review-modal-close {
    background: none;
    border: none;
    font-size: 32px;
    line-height: 1;
    color: #6b6b66;
    cursor: pointer;
    transition: all 0.2s;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.review-modal-close:hover {
    color: #3A3A3A;
    transform: rotate(90deg);
}

.review-form {
    padding: 28px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #3A3A3A;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group .required {
    color: #EA9834;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #e3e3e0;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.2s;
    background: #fff;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #EA9834;
    box-shadow: 0 0 0 3px rgba(247, 181, 0, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-hint {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #6b6b66;
}

.reviewer-info {
    padding: 12px 14px;
    background: #faf9f6;
    border: 1px solid #e3e3e0;
    border-radius: 8px;
    color: #3e3e3a;
}

/* Star Rating Input */
.star-rating-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 8px;
    margin-bottom: 8px;
}

.star-rating-input input[type="radio"] {
    display: none;
}

.star-rating-input label {
    font-size: 32px;
    color: #d1d1ce;
    cursor: pointer;
    transition: all 0.2s;
    margin: 0;
}

.star-rating-input label:hover,
.star-rating-input label:hover~label,
.star-rating-input input[type="radio"]:checked~label {
    color: #EA9834;
    transform: scale(1.1);
}

.rating-text {
    display: inline-block;
    font-size: 14px;
    color: #6b6b66;
    font-weight: 500;
}

.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 32px;
}

.btn-cancel,
.btn-submit {
    flex: 1;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-cancel {
    background: #faf9f6;
    color: #3A3A3A;
    border: 1px solid #e3e3e0;
}

.btn-cancel:hover {
    background: #e3e3e0;
}

.btn-submit {
    background: #EA9834;
    color: #fff;
}

.btn-submit:hover {
    background: #e6a500;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(247, 181, 0, 0.3);
}

.btn-submit:disabled {
    background: #d1d1ce;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Mobile responsive for modal */
@media (max-width: 768px) {
    .review-modal-content {
        width: 95%;
        max-height: 95vh;
    }

    .review-modal-header {
        padding: 20px;
    }

    .review-modal-header h3 {
        font-size: 20px;
    }

    .review-form {
        padding: 20px;
    }

    .star-rating-input label {
        font-size: 28px;
    }

    .form-actions {
        flex-direction: column;
    }

    .btn-cancel,
    .btn-submit {
        width: 100%;
    }
}