/**
 * Gig Single Page Styles
 * 
 * @package Marketplace Pro
 * @since 1.0
 */

/* Gig Single Page Layout */
.gig-single {
    padding: 2rem 0;
    min-height: 60vh;
}

.gig-single .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.gig-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

/* Breadcrumbs */
.breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: #6c757d;
    margin-bottom: 2rem;
    padding: 1rem 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 3px solid #667eea;
}

.breadcrumbs a {
    color: #667eea;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.breadcrumbs a:hover {
    color: #5a6fd8;
    background: rgba(102, 126, 234, 0.1);
    text-decoration: none;
}

.breadcrumbs .separator {
    color: #adb5bd;
    font-size: 0.75rem;
    display: inline-flex;
    align-items: center;
}

.breadcrumbs .current {
    color: #2c3e50;
    font-weight: 500;
    padding: 0.25rem 0.5rem;
    background: white;
    border-radius: 4px;
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Breadcrumb Dark Mode */
@media (prefers-color-scheme: dark) {
    .breadcrumbs {
        background: #2c3e50;
        border-left-color: #667eea;
    }
    
    .breadcrumbs a {
        color: #a0aec0;
    }
    
    .breadcrumbs a:hover {
        color: #667eea;
        background: rgba(102, 126, 234, 0.2);
    }
    
    .breadcrumbs .separator {
        color: #4a5568;
    }
    
    .breadcrumbs .current {
        color: white;
        background: #34495e;
    }
}

/* Gig Gallery */
.gig-gallery {
    margin-bottom: 2rem;
}

.gig-main-image {
    width: 100%;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.gig-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gig-placeholder {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    color: #6c757d;
    font-size: 3rem;
}

.gig-placeholder p {
    margin-top: 1rem;
    font-size: 1rem;
}

.gig-thumbnails {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 0.5rem 0;
}

.gig-thumbnail {
    width: 80px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.gig-thumbnail.active {
    border-color: #667eea;
}

.gig-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Gig Details */
.gig-details {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.gig-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e9ecef;
}

.gig-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.gig-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.gig-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

.gig-tag {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    background: #f0f2ff;
    color: #667eea;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.gig-tag:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
    transform: translateY(-2px);
}

.gig-category {
    background: #e3f2fd;
    color: #1976d2;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.9rem;
}

.gig-date {
    color: #6c757d;
    font-size: 0.9rem;
}

.gig-description {
    margin-bottom: 2rem;
    line-height: 1.7;
    color: #2c3e50;
    font-size: 1.05rem;
}

/* Gig Features */
.gig-features {
    margin-bottom: 2rem;
}

.gig-features h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f8f9fa;
    color: #2c3e50;
}

.features-list li:last-child {
    border-bottom: none;
}

.features-list i {
    color: #28a745;
    font-size: 1rem;
}

/* Gig Requirements */
.gig-requirements {
    margin-bottom: 2rem;
}

.gig-requirements h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.requirements-content {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #667eea;
    line-height: 1.6;
    color: #2c3e50;
}

/* Hide requirements section in sidebar (order card) */
.gig-sidebar .gig-requirements,
.order-card .gig-requirements {
    display: none !important;
}

/* Gig FAQ Accordion */
.gig-faq {
    margin-bottom: 2rem;
}

.gig-faq h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-accordion-item {
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-accordion-item:hover {
    border-color: #667eea;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.1);
}

.faq-accordion-question {
    width: 100%;
    background: #2c3e50;
    color: white;
    border: none;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: 500;
    text-align: left;
    position: relative;
    z-index: 1;
    pointer-events: auto;
}

.faq-accordion-question:hover {
    background: #34495e;
}

.faq-accordion-question[aria-expanded="true"] {
    background: #667eea;
}

.faq-q-icon {
    color: #667eea;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
    pointer-events: none;
}

.faq-accordion-question[aria-expanded="true"] .faq-q-icon {
    color: white;
}

.faq-q-text {
    flex: 1;
    line-height: 1.4;
    pointer-events: none;
}

.faq-toggle-icon {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    opacity: 0.8;
    pointer-events: none;
}

.faq-accordion-question[aria-expanded="true"] .faq-toggle-icon {
    transform: rotate(180deg);
}

.faq-accordion-answer {
    display: none;
    overflow: hidden;
}

.faq-answer-content {
    padding: 1.5rem;
    line-height: 1.6;
    color: #495057;
    background: white;
}

.faq-answer-content p {
    margin: 0 0 1rem;
}

.faq-answer-content p:last-child {
    margin-bottom: 0;
}

/* Dark Mode Support for FAQ */
@media (prefers-color-scheme: dark) {
    .gig-faq h3 {
        color: var(--primary-color) !important;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
        font-weight: 700;
    }
    
    .faq-accordion-item {
        background: #2c3e50;
        border-color: #34495e;
    }
    
    .faq-accordion-item:hover {
        border-color: #667eea;
    }
    
    .faq-accordion-question {
        background: #34495e;
        color: white;
    }
    
    .faq-accordion-question:hover {
        background: #3e5169;
    }
    
    .faq-accordion-question[aria-expanded="true"] {
        background: #667eea;
    }
    
    .faq-answer-content {
        background: #2c3e50;
        color: #e9ecef;
    }
    
    /* Order Summary Dark Mode */
    .order-summary {
        background: #2c3e50;
        border-color: #34495e;
    }
    
    .summary-item {
        border-bottom-color: #34495e;
    }
    
    .summary-item .item-name,
    .summary-item .item-price {
        color: #e9ecef;
    }
    
    .summary-total {
        border-top-color: #34495e;
    }
    
    .summary-total .total-label,
    .summary-total .total-amount {
        color: #ffffff;
    }
    
    /* Seller Card Dark Mode */
    .seller-card {
        background: #2c3e50;
        border-color: #34495e;
    }
    
    .seller-header {
        border-bottom-color: #34495e;
    }
    
    .seller-info h3,
    .seller-info p,
    .seller-stats-item strong {
        color: white;
    }
    
    .seller-stats-item span {
        color: rgba(255, 255, 255, 0.7);
    }
    
    .seller-body {
        background: #2c3e50;
    }
    
    .seller-stats-item {
        border-right-color: #34495e;
    }
    
    .seller-action {
        border-top-color: #34495e;
    }
    
    /* Order Card Dark Mode */
    .order-card {
        background: #2c3e50;
        border: 1px solid #34495e;
    }
    
    .order-header h2 {
        color: white;
    }
    
    .order-body {
        background: #2c3e50;
    }
    
    .delivery-time span,
    .delivery-time strong {
        color: white;
    }
    
    .pricing-breakdown-item,
    .pricing-total {
        border-bottom-color: #34495e;
    }
    
    .pricing-breakdown-item span,
    .pricing-breakdown-item strong {
        color: rgba(255, 255, 255, 0.9);
    }
    
    .pricing-total strong {
        color: white;
    }
}

/* Gig Extras */
.gig-extras {
    margin-bottom: 2rem;
}

.gig-extras h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.extras-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.extra-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.extra-item:hover {
    border-color: #667eea;
    background: #f0f2ff;
}

.extra-info h4 {
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
}

.extra-info p {
    margin: 0 0 0.5rem;
    color: #6c757d;
    font-size: 0.9rem;
}

.extra-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
}

.extra-price {
    color: #28a745;
    font-weight: 600;
}

.extra-delivery {
    color: #6c757d;
}

.checkbox-wrapper {
    position: relative;
    cursor: pointer;
}

.checkbox-wrapper input[type="checkbox"] {
    opacity: 0;
    position: absolute;
    width: 0;
    height: 0;
}

.checkmark {
    width: 24px;
    height: 24px;
    border: 2px solid #dee2e6;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    background: white;
}

.checkbox-wrapper input[type="checkbox"]:checked + .checkmark {
    background: #667eea;
    border-color: #667eea;
}

.checkbox-wrapper input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    color: white;
    font-weight: bold;
    font-size: 14px;
}

/* Reviews Section */
.gig-reviews {
    margin-bottom: 2rem;
}

.reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e9ecef;
}

.reviews-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
}

.reviews-summary {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.average-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rating-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
}

.rating-stars {
    display: flex;
    gap: 2px;
}

.rating-stars i {
    font-size: 1.2rem;
    color: #ffc107;
}

.rating-stars i.filled {
    color: #ffc107;
}

.reviews-count {
    color: #6c757d;
    font-size: 0.9rem;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.review-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.reviewer-avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.reviewer-details h4 {
    margin: 0 0 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
}

.review-rating {
    display: flex;
    gap: 2px;
}

.review-rating i {
    font-size: 0.9rem;
    color: #e0e0e0; /* Default gray for empty stars */
}

.review-rating i.filled {
    color: #ffc107; /* Yellow for filled stars */
}

.review-rating i.fa-star.filled {
    color: #ffc107; /* Yellow for filled stars */
}

.review-date {
    color: #6c757d;
    font-size: 0.9rem;
}

.review-content p {
    margin: 0;
    color: #2c3e50;
    line-height: 1.6;
}

/* Gig Sidebar */
.gig-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Order Card */
.order-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    overflow: hidden;
    position: relative;
    z-index: 10;
}

.order-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem;
    text-align: center;
}

.order-header h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.order-pricing {
    padding: 1.5rem;
}

.gig-pricing {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.base-price {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.base-price.fd-col {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    justify-content: flex-start;
}

.price-label {
    color: #2c3e50;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    display: inline-block;
}

.price-amount {
    display: inline-flex;
    align-items: baseline;
    white-space: nowrap;
    flex-wrap: nowrap;
}

.price-amount .price-value {
    font-size: 1.125rem;
    font-weight: 600;
    color: #28a745;
    white-space: nowrap;
    margin-right: 0.5rem;
}

.price-amount .price-suffix {
    font-size: 0.9rem;
    font-weight: 400;
    color: #6c757d;
    white-space: nowrap;
}

.price-breakdown {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
}

.price-item.total {
    border-top: 2px solid #e9ecef;
    padding-top: 1rem;
    margin-top: 0.5rem;
    font-weight: 600;
    font-size: 1.1rem;
}

.item-label {
    color: #6c757d;
}

.item-value {
    font-weight: 600;
    color: #2c3e50;
}

.order-details {
    padding: 0 1.5rem 1.5rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    color: #6c757d;
    border-bottom: 1px solid #f8f9fa;
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-item i {
    color: #667eea;
    width: 16px;
}

.order-actions {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.own-gig-notice {
    text-align: center;
    color: #6c757d;
    font-style: italic;
    margin: 0;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

/* Seller Card */
.seller-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    overflow: hidden;
    position: relative;
    z-index: 20;
}

.seller-header {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid #e9ecef;
}

.seller-avatar {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    position: relative;
}

.seller-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.seller-info {
    display: flex;
    flex-direction: column;
}

.seller-info h3 {
    margin: 0 0 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
}

.seller-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rating-text {
    color: #6c757d;
    font-size: 0.9rem;
}

.seller-stats {
    padding: 1.5rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.seller-stats .stat-item:last-child {
    grid-column: span 2;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.85rem;
    color: #6c757d;
}

.seller-actions {
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
}

/* Similar Gigs */
.similar-gigs {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    padding: 1.5rem;
    position: relative;
    z-index: 30;
}

.similar-gigs h3 {
    margin: 0 0 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
}

.similar-gig {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #f8f9fa;
}

.similar-gig:last-child {
    border-bottom: none;
}

.similar-gig-image {
    width: 80px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.similar-gig-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.similar-gig-content h4 {
    margin: 0 0 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.similar-gig-content h4 a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
}

.similar-gig-content h4 a:hover {
    color: #667eea;
    text-decoration: none;
}

.similar-gig-price {
    color: #28a745;
    font-weight: 600;
    font-size: 0.9rem;
}

.no-similar {
    text-align: center;
    color: #6c757d;
    font-style: italic;
    margin: 0;
}

/* Modals */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #e9ecef;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #6c757d;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #f8f9fa;
    color: #2c3e50;
}

.modal-body {
    padding: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.order-summary {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-item .item-name,
.summary-item .item-price {
    color: #2c3e50;
    font-weight: 500;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.75rem;
    margin-top: 0.75rem;
    border-top: 2px solid #e9ecef;
}

.summary-total .total-label,
.summary-total .total-amount {
    color: #2c3e50;
    font-weight: 600;
    font-size: 1.1rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .gig-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .gig-sidebar {
        order: -1;
    }
    
    .order-card {
        position: static;
    }
}

@media (max-width: 768px) {
    .gig-single {
        padding: 1rem 0;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .gig-title {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    .gig-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .gig-main-image {
        height: 250px;
        border-radius: 8px;
    }
    
    .gig-details {
        padding: 1.5rem;
    }
    
    .gig-description {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .gig-features h3,
    .gig-requirements h3,
    .gig-extras h3,
    .gig-reviews h3 {
        font-size: 1.25rem;
    }
    
    .features-list li {
        font-size: 0.9rem;
        padding: 0.5rem 0;
    }
    
    .order-card {
        margin-bottom: 2rem;
    }
    
    .order-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .btn-large {
        padding: 12px 20px;
        font-size: 16px;
    }
    
    .seller-card {
        margin-bottom: 2rem;
    }
    
    .seller-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .similar-gigs {
        margin-bottom: 2rem;
    }
    
    .modal-content {
        width: 95%;
        max-width: 500px;
        margin: 1rem auto;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .form-group textarea {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .order-summary {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .gig-single {
        padding: 0.5rem 0;
    }
    
    .container {
        padding: 0 0.75rem;
    }
    
    .breadcrumbs {
        padding: 0.75rem 1rem;
        font-size: 0.8rem;
        gap: 0.5rem;
    }
    
    .breadcrumbs a {
        padding: 0.2rem 0.4rem;
        gap: 0.3rem;
    }
    
    .breadcrumbs .current {
        max-width: 150px;
        padding: 0.2rem 0.4rem;
    }
    
    .breadcrumbs .separator {
        font-size: 0.7rem;
    }
    
    .gig-content {
        gap: 1.5rem;
    }
    
    .gig-details {
        padding: 1rem;
    }
    
    .gig-title {
        font-size: 1.25rem;
        line-height: 1.2;
    }
    
    .gig-main-image {
        height: 200px;
        border-radius: 6px;
    }
    
    .gig-thumbnails {
        gap: 0.25rem;
    }
    
    .gig-thumbnail {
        width: 60px;
        height: 45px;
    }
    
    .gig-description {
        font-size: 0.9rem;
    }
    
    .gig-features h3,
    .gig-requirements h3,
    .gig-extras h3,
    .gig-reviews h3 {
        font-size: 1.1rem;
    }
    
    .order-card {
        padding: 1rem;
    }
    
    .order-pricing .base-price.fd-col {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .price-amount {
        font-size: 1.5rem;
    }
    
    .btn-large {
        padding: 14px 20px;
        font-size: 16px;
        width: 100%;
    }
    
    .seller-card {
        padding: 1rem;
    }
    
    .seller-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .seller-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .modal-content {
        width: 98%;
        margin: 0.5rem auto;
    }
    
    .modal-body {
        padding: 1rem;
    }
    
    .form-group textarea {
        min-height: 120px;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .form-actions .btn {
        width: 100%;
    }
    
    .seller-stats {
        grid-template-columns: 1fr;
    }
    
    .similar-gig {
        flex-direction: column;
        text-align: center;
    }
    
    .similar-gig-image {
        width: 100%;
        height: 120px;
    }
}