/* Product Detail Page Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    color: #ffffff;
    min-height: 100vh;
    line-height: 1.6;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 15, 35, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 255, 214, 0.2);
    z-index: 1000;
    padding: 1rem 0;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
}

.header-left .back-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #00ffd6;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

.header-left .back-btn:hover {
    color: #00ffb3;
    transform: translateX(-5px);
}

.header-left .back-btn svg {
    width: 20px;
    height: 20px;
}

.header-center .header-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.header-right .share-product-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    color: #00ffd6;
    border: none;
    padding: 0.5rem 0;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.header-right .share-product-btn:hover {
    color: #00ffb3;
    transform: translateY(-2px);
}

.header-right .share-product-btn svg {
    width: 18px;
    height: 18px;
}

/* Main Content */
.main-content {
    margin-top: 80px;
    padding: 2rem;
}

.product-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Product Hero Section */
.product-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(0, 255, 214, 0.2);
    backdrop-filter: blur(10px);
}

.product-image-container {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.product-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: linear-gradient(45deg, #00ffd6, #08e260);
    color: #000;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.product-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.product-header {
    margin-bottom: 1rem;
}

.product-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #00ffd6, #08e260);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 1rem;
}

.product-location,
.product-views {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ccc;
    font-size: 0.9rem;
}

.product-location svg,
.product-views svg {
    width: 18px;
    height: 18px;
    color: #00ffd6;
}

.product-description {
    color: #ccc;
    line-height: 1.8;
    font-size: 1.1rem;
}

.product-actions {
    display: flex;
    gap: 1rem;
    margin-top: auto;
}

.like-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 77, 109, 0.1);
    border: 1px solid rgba(255, 77, 109, 0.3);
    color: #ff4d6d;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.like-btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.like-btn:hover {
    background: rgba(255, 77, 109, 0.2);
    border-color: rgba(255, 77, 109, 0.5);
    transform: translateY(-2px);
}

.like-btn.liked {
    background: rgba(255, 77, 109, 0.3);
    border-color: rgba(255, 77, 109, 0.6);
    color: #ff6b8a;
}

.like-btn.liked svg {
    fill: #ff4d6d;
}

.buy-ticket-btn, .add-review-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(45deg, #00ffd6, #08e260);
    color: #000;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.buy-ticket-btn:hover, .add-review-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 214, 0.4);
}

.buy-ticket-btn svg, .add-review-btn svg {
    width: 20px;
    height: 20px;
}

/* Section Headers */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(0, 255, 214, 0.3);
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #00ffd6;
}

/* Business Section */
.business-section {
    margin-bottom: 3rem;
}

.business-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(0, 255, 214, 0.2);
    backdrop-filter: blur(10px);
}

.business-header {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.business-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #00ffd6;
}

.logo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.business-info h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.business-tagline {
    color: #ccc;
    margin-bottom: 1rem;
}

.business-stats {
    display: flex;
    gap: 1.5rem;
}

.stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ccc;
    font-size: 0.9rem;
}

.stat svg {
    width: 18px;
    height: 18px;
    color: #00ffd6;
}

.business-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #ccc;
}

.detail-item svg {
    width: 20px;
    height: 20px;
    color: #00ffd6;
}

.business-actions {
    display: flex;
    gap: 1rem;
}

.follow-btn, .contact-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    border: 1px solid rgba(0, 255, 214, 0.3);
    background: rgba(0, 255, 214, 0.1);
    color: #00ffd6;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.follow-btn:hover, .contact-btn:hover {
    background: rgba(0, 255, 214, 0.2);
    border-color: rgba(0, 255, 214, 0.5);
    transform: translateY(-2px);
}

/* Product Details Grid */
.product-details-section {
    margin-bottom: 3rem;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.detail-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid rgba(0, 255, 214, 0.2);
    transition: all 0.3s ease;
}

.detail-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 255, 214, 0.5);
}

.detail-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 1rem;
    background: linear-gradient(45deg, #00ffd6, #08e260);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.detail-icon svg {
    width: 25px;
    height: 25px;
    color: #000;
}

.detail-content h4 {
    color: #00ffd6;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.detail-content p {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
}

/* Comments Section */
.comments-section {
    margin-bottom: 3rem;
}

.add-comment-btn {
    background: linear-gradient(45deg, #00ffd6, #08e260);
    color: #000;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.add-comment-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 214, 0.4);
}

.comments-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.comment-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid rgba(0, 255, 214, 0.2);
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.commenter-info {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.commenter-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.commenter-name {
    color: #00ffd6;
    margin-bottom: 0.5rem;
}

.comment-rating {
    display: flex;
    gap: 0.25rem;
}

.star {
    width: 16px;
    height: 16px;
    color: #ccc;
}

.star.filled {
    color: #ffd700;
}

.comment-date {
    color: #888;
    font-size: 0.9rem;
}

.comment-content {
    color: #ccc;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.comment-actions {
    display: flex;
    gap: 1rem;
}

.like-comment-btn, .reply-btn {
    background: none;
    border: 1px solid rgba(0, 255, 214, 0.3);
    color: #00ffd6;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.like-comment-btn:hover, .reply-btn:hover {
    background: rgba(0, 255, 214, 0.1);
    border-color: rgba(0, 255, 214, 0.5);
}

.no-comments {
    text-align: center;
    padding: 3rem;
    color: #888;
}

.no-comments svg {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
}

.animate-spin {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Reply Form Styles */
.reply-form-container {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(0, 255, 214, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 214, 0.2);
}

.reply-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.reply-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid rgba(0, 255, 214, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-family: inherit;
    resize: vertical;
    min-height: 80px;
}

.reply-input:focus {
    outline: none;
    border-color: rgba(0, 255, 214, 0.6);
    box-shadow: 0 0 0 2px rgba(0, 255, 214, 0.2);
}

.reply-input::placeholder {
    color: #888;
}

.reply-form-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
}

.cancel-reply-btn, .submit-reply-btn {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: none;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.cancel-reply-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #ccc;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cancel-reply-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.submit-reply-btn {
    background: linear-gradient(45deg, #00ffd6, #08e260);
    color: #000;
    border: 1px solid rgba(0, 255, 214, 0.3);
}

.submit-reply-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(0, 255, 214, 0.3);
}

/* Replies Container Styles */
.replies-container {
    margin-top: 1rem;
    padding-left: 2rem;
    border-left: 2px solid rgba(0, 255, 214, 0.3);
}

.reply-item {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 0.75rem;
    border: 1px solid rgba(0, 255, 214, 0.1);
}

.reply-header {
    margin-bottom: 0.5rem;
}

.replier-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.replier-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.replier-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.replier-name {
    color: #00ffd6;
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0;
}

.reply-date {
    color: #888;
    font-size: 0.8rem;
}

.reply-content {
    color: #ccc;
    line-height: 1.5;
}

.reply-content p {
    margin: 0;
}

/* Replies Toggle Button */
.replies-toggle {
    margin-top: 0.5rem;
}

.toggle-replies-btn {
    background: none;
    border: none;
    color: #00ffd6;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

.toggle-replies-btn:hover {
    color: #00ffb3;
    transform: translateX(5px);
}

.toggle-icon {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

/* Initially hide replies container */
.replies-container {
    margin-top: 1rem;
    padding-left: 2rem;
    border-left: 2px solid rgba(0, 255, 214, 0.3);
    display: none;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    backdrop-filter: blur(10px);
    padding: 1rem;
}

.modal {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 20px;
    padding: 2rem;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid rgba(0, 255, 214, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    position: relative;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 255, 214, 0.3) transparent;
}

.modal::-webkit-scrollbar {
    width: 6px;
}

.modal::-webkit-scrollbar-track {
    background: transparent;
}

.modal::-webkit-scrollbar-thumb {
    background: rgba(0, 255, 214, 0.3);
    border-radius: 3px;
}

.modal::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 255, 214, 0.5);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 255, 214, 0.3);
}

.modal-header h3 {
    color: #00ffd6;
    font-size: 1.5rem;
}

.modal-content {
    margin-bottom: 1rem;
}

.comment-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.close-btn {
    background: none;
    border: none;
    color: #ccc;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.close-btn svg {
    width: 20px;
    height: 20px;
}

.ticket-details {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(0, 255, 214, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 214, 0.3);
}

.ticket-details h4 {
    color: #00ffd6;
    margin-bottom: 0.5rem;
}

.ticket-price {
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5rem;
}

.ticket-location {
    color: #ccc;
}

.form-group {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #00ffd6;
    font-weight: 500;
    font-size: 0.95rem;
    line-height: 1.4;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid rgba(0, 255, 214, 0.3);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 1rem;
    font-family: inherit;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00ffd6;
    box-shadow: 0 0 0 3px rgba(0, 255, 214, 0.1);
    background: rgba(255, 255, 255, 0.08);
}

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

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%2300ffd6' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
}

.rating-input {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    padding: 0.5rem 0;
}

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

.star-label {
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0.25rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.star-label:hover {
    background: rgba(255, 215, 0, 0.1);
}

.star-label svg {
    width: 30px;
    height: 30px;
    color: #ccc;
    transition: all 0.3s ease;
    pointer-events: none;
}

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

.rating-input input[type="radio"]:checked + .star-label {
    background: rgba(255, 215, 0, 0.15);
}

.modal-footer {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 255, 214, 0.3);
    flex-wrap: wrap;
}

.cancel-btn, .confirm-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 44px; /* Better touch target */
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-family: inherit;
}

.cancel-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #ccc;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cancel-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.confirm-btn {
    background: linear-gradient(45deg, #00ffd6, #08e260);
    color: #000;
}

.confirm-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 214, 0.4);
}

/* Enhanced Responsive Design */
@media (max-width: 1024px) {
    .product-hero {
        gap: 2rem;
    }
    
    .product-title {
        font-size: 2.2rem;
    }
    
    .product-image {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 0 1rem;
    }
    
    .header-left .back-btn span {
        display: none;
    }
    
    .header-left .back-btn {
        padding: 0.5rem;
    }
    
    .main-content {
        padding: 1rem;
        margin-top: 70px;
    }
    
    .product-hero {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .product-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .product-meta {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .product-image {
        height: 300px;
    }
    
    .product-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .buy-ticket-btn, .add-review-btn {
        width: 100%;
        justify-content: center;
    }
    
    .like-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .like-btn svg {
        width: 18px;
        height: 18px;
    }
    
    .buy-ticket-btn, .add-review-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .buy-ticket-btn svg, .add-review-btn svg {
        width: 18px;
        height: 18px;
    }
    
    .business-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .business-logo {
        margin: 0 auto;
    }
    
    .business-info h3 {
        text-align: center;
    }
    
    .business-stats {
        justify-content: center;
    }
    
    .business-actions {
        flex-direction: column;
    }
    
    .details-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    /* Modal Responsive Design */
    .modal-overlay {
        padding: 0.5rem;
        align-items: flex-start;
        padding-top: 2rem;
    }
    
    .modal {
        padding: 1.5rem;
        max-width: 100%;
        width: 100%;
        max-height: calc(100vh - 4rem);
        border-radius: 15px;
        margin: 0;
    }
    
    .comment-form {
        gap: 1.25rem;
    }
    
    .form-group {
        margin-bottom: 1.25rem;
        gap: 0.4rem;
    }
    
    .modal-header h3 {
        font-size: 1.3rem;
    }
    
    .ticket-details {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .ticket-price {
        font-size: 1.3rem;
    }
    
    .form-group {
        margin-bottom: 1.25rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.875rem;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .rating-input {
        gap: 0.25rem;
    }
    
    .star-label svg {
        width: 25px;
        height: 25px;
    }
}

@media (max-width: 480px) {
    .header-right .share-product-btn span {
        display: none;
    }
    
    .header-right .share-product-btn {
        padding: 0.5rem;
    }
    
    .product-title {
        font-size: 1.8rem;
    }
    
    .product-image {
        height: 250px;
    }
    
    .details-grid {
        grid-template-columns: 1fr;
    }
    
    .comment-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .commenter-info {
        flex-direction: column;
        text-align: center;
    }
    
    .comment-rating {
        justify-content: center;
    }
    
    .comment-date {
        align-self: flex-end;
    }
    
    .comment-actions {
        justify-content: center;
    }
    
    /* Enhanced Modal Responsive Design */
    .modal-overlay {
        padding: 0.25rem;
        padding-top: 1rem;
    }
    
    .modal {
        padding: 1.25rem;
        border-radius: 12px;
        max-height: calc(100vh - 2rem);
    }
    
    .comment-form {
        gap: 1rem;
    }
    
    .form-group {
        margin-bottom: 1rem;
        gap: 0.3rem;
    }
    
    .modal-header {
        margin-bottom: 1.25rem;
        padding-bottom: 0.75rem;
    }
    
    .modal-header h3 {
        font-size: 1.2rem;
    }
    
    .close-btn {
        padding: 0.4rem;
    }
    
    .close-btn svg {
        width: 18px;
        height: 18px;
    }
    
    .ticket-details {
        padding: 0.875rem;
        margin-bottom: 1.25rem;
    }
    
    .ticket-details h4 {
        font-size: 1.1rem;
    }
    
    .ticket-price {
        font-size: 1.2rem;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-group label {
        font-size: 0.95rem;
        margin-bottom: 0.4rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.75rem;
        font-size: 16px;
        border-radius: 8px;
    }
    
    .form-group textarea {
        min-height: 80px;
        max-height: 150px;
    }
    
    .rating-input {
        gap: 0.2rem;
    }
    
    .star-label svg {
        width: 22px;
        height: 22px;
    }
    
    .modal-footer {
        flex-direction: column;
        gap: 0.75rem;
        margin-top: 1.5rem;
        padding-top: 1.25rem;
    }
    
    .cancel-btn, .confirm-btn {
        width: 100%;
        padding: 0.875rem 1.25rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 360px) {
    .product-title {
        font-size: 1.6rem;
    }
    
    .product-image {
        height: 200px;
    }
    
    .business-stats {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .business-details {
        grid-template-columns: 1fr;
    }
    
    .like-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .like-btn svg {
        width: 16px;
        height: 16px;
    }
    
    .buy-ticket-btn, .add-review-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    .buy-ticket-btn svg, .add-review-btn svg {
        width: 16px;
        height: 16px;
    }
    
    /* Extra small screen modal adjustments */
    .modal {
        padding: 1rem;
        border-radius: 10px;
    }
    
    .comment-form {
        gap: 0.875rem;
    }
    
    .form-group {
        margin-bottom: 0.875rem;
        gap: 0.25rem;
    }
    
    .modal-header h3 {
        font-size: 1.1rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.7rem;
        font-size: 16px;
    }
    
    .star-label svg {
        width: 20px;
        height: 20px;
    }
    
    .cancel-btn, .confirm-btn {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
}

/* Prevent body scroll when modal is open */
body.modal-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

/* Improve modal focus management */
.modal:focus {
    outline: none;
}

.modal input:focus,
.modal select:focus,
.modal textarea:focus {
    outline: none;
    border-color: #00ffd6;
    box-shadow: 0 0 0 3px rgba(0, 255, 214, 0.2);
}

/* Better touch targets for mobile */
@media (max-width: 768px) {
    .form-group input,
    .form-group select,
    .form-group textarea,
    .cancel-btn,
    .confirm-btn,
    .close-btn {
        min-height: 44px;
    }
    
    .star-label {
        min-width: 44px;
        min-height: 44px;
    }
    
    .rating-input {
        justify-content: space-between;
        max-width: 280px;
        margin: 0 auto;
    }
}

/* Desktop optimizations */
@media (min-width: 1024px) {
    .modal {
        max-width: 700px;
    }
    
    .comment-form {
        gap: 2rem;
    }
    
    .form-group {
        margin-bottom: 2rem;
        gap: 0.75rem;
    }
    
    .rating-input {
        gap: 0.75rem;
    }
    
    .star-label svg {
        width: 35px;
        height: 35px;
    }
}

/* New Review Popup Styles */
.review-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    backdrop-filter: blur(15px);
    padding: 1rem;
}

.review-popup {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 20px;
    padding: 2rem;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    border: 2px solid rgba(0, 255, 214, 0.4);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6);
    position: relative;
    animation: popupSlideIn 0.3s ease-out;
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.review-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 255, 214, 0.3);
}

.review-popup-header h3 {
    color: #00ffd6;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.review-close-btn {
    background: none;
    border: none;
    color: #ccc;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    min-height: 40px;
}

.review-close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transform: scale(1.1);
}

.review-close-btn svg {
    width: 20px;
    height: 20px;
}

.review-popup-content {
    margin-bottom: 1rem;
}

.review-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.review-popup-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 255, 214, 0.3);
    flex-wrap: wrap;
}

.review-cancel-btn, .review-submit-btn {
    padding: 0.875rem 1.75rem;
    border-radius: 25px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-family: inherit;
    font-size: 1rem;
}

.review-cancel-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #ccc;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.review-cancel-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    transform: translateY(-2px);
}

.review-submit-btn {
    background: linear-gradient(45deg, #00ffd6, #08e260);
    color: #000;
}

.review-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 255, 214, 0.3);
}

/* Review Popup Responsive Design */
@media (max-width: 768px) {
    .review-popup-overlay {
        padding: 0.5rem;
        align-items: flex-start;
        padding-top: 2rem;
    }
    
    .review-popup {
        padding: 1.5rem;
        max-width: 100%;
        width: 100%;
        max-height: calc(100vh - 4rem);
        border-radius: 15px;
        margin: 0;
    }
    
    .review-popup-header {
        margin-bottom: 1.5rem;
        padding-bottom: 0.75rem;
    }
    
    .review-popup-header h3 {
        font-size: 1.3rem;
    }
    
    .review-form {
        gap: 1.25rem;
    }
    
    .review-popup-actions {
        margin-top: 1.5rem;
        padding-top: 1rem;
        gap: 0.75rem;
    }
    
    .review-cancel-btn, .review-submit-btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.95rem;
        min-height: 44px;
        flex: 1;
    }
}

@media (max-width: 480px) {
    .review-popup-overlay {
        padding: 0.25rem;
        padding-top: 1rem;
    }
    
    .review-popup {
        padding: 1.25rem;
        border-radius: 12px;
        max-height: calc(100vh - 2rem);
    }
    
    .review-popup-header {
        margin-bottom: 1.25rem;
        padding-bottom: 0.75rem;
    }
    
    .review-popup-header h3 {
        font-size: 1.2rem;
    }
    
    .review-close-btn {
        padding: 0.4rem;
        min-width: 36px;
        min-height: 36px;
    }
    
    .review-close-btn svg {
        width: 18px;
        height: 18px;
    }
    
    .review-form {
        gap: 1rem;
    }
    
    .review-popup-actions {
        margin-top: 1.25rem;
        padding-top: 0.75rem;
        flex-direction: column;
    }
    
    .review-cancel-btn, .review-submit-btn {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
        min-height: 44px;
        width: 100%;
    }
}

/* Prevent body scroll when popup is open */
body.modal-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

/* Better touch targets for mobile */
@media (max-width: 768px) {
    .review-form input,
    .review-form select,
    .review-form textarea,
    .review-close-btn {
        min-height: 44px;
    }
    
    .star-label {
        min-width: 44px;
        min-height: 44px;
    }
    
    .rating-input {
        justify-content: space-between;
        max-width: 280px;
        margin: 0 auto;
    }
}

/* Desktop optimizations for review popup */
@media (min-width: 1024px) {
    .review-popup {
        max-width: 600px;
    }
    
    .review-form {
        gap: 2rem;
    }
    
    .rating-input {
        gap: 0.75rem;
    }
    
    .star-label svg {
        width: 35px;
        height: 35px;
    }
}