/* Mobi Extras Showcase Styles */
.mobi-extras-showcase {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Category Section */
.extras-category-section {
    margin-bottom: 60px;
}

.category-header {
    text-align: center;
    margin-bottom: 50px;
}

.category-title {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 10px 0;
}

.category-description {
    font-size: 18px;
    color: #666;
    margin: 0;
}

/* Extras Grid */
.extras-showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

[data-columns="2"] .extras-showcase-grid {
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
}

[data-columns="4"] .extras-showcase-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

/* Extra Card */
.extra-showcase-card {
    position: relative;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 3px solid transparent;
}

.extra-showcase-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.extra-checkbox-input:checked ~ .extra-showcase-image,
.extra-checkbox-input:checked ~ .extra-showcase-content {
    background: #f1f8f4;
}

.extra-showcase-card:has(.extra-checkbox-input:checked) {
    border-color: #4CAF50;
}

.extra-select-checkbox {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10;
}

.extra-checkbox-input {
    display: none;
}

.checkbox-label {
    cursor: pointer;
    display: block;
}

.checkbox-custom {
    display: block;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.95);
    border: 3px solid #e0e0e0;
    border-radius: 6px;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.checkbox-custom::after {
    content: '✓';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(0);
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    transition: transform 0.2s ease;
}

.extra-checkbox-input:checked + .checkbox-label .checkbox-custom {
    background: #4CAF50;
    border-color: #4CAF50;
}

.extra-checkbox-input:checked + .checkbox-label .checkbox-custom::after {
    transform: translate(-50%, -50%) scale(1);
}

/* Extra Image */
.extra-showcase-image {
    width: 100%;
    height: 220px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: background 0.3s ease;
}

.extra-showcase-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.extra-placeholder-icon {
    color: #999;
}

/* Extra Content */
.extra-showcase-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
    transition: background 0.3s ease;
}

.extra-showcase-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 8px 0;
}

.extra-showcase-description {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin: 0 0 16px 0;
    flex: 1;
}

.extra-showcase-price {
    margin-top: auto;
    padding-top: 16px;
    border-top: 2px solid #e0e0e0;
}

.price-amount {
    display: inline-block;
    background: #000;
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 700;
}

.extra-checkbox-input:checked ~ .extra-showcase-content .price-amount {
    background: #4CAF50;
}

.price-contact {
    font-size: 14px;
    color: #666;
    font-style: italic;
}

/* Selection Summary (Floating) */
.extras-selection-summary {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    padding: 30px;
    min-width: 350px;
    max-width: 400px;
    z-index: 1000;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.summary-content {
    display: flex;
    flex-direction: column;
}

.summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e0e0e0;
}

.summary-header h3 {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.clear-selection {
    background: #fff;
    border: 2px solid #e0e0e0;
    color: #666;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 6px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.clear-selection:hover {
    border-color: #f44336;
    color: #f44336;
}

.selected-extras-list {
    max-height: 250px;
    overflow-y: auto;
    margin-bottom: 20px;
}

.selected-extra-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
}

.selected-extra-item:last-child {
    border-bottom: none;
}

.extra-name {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    flex: 1;
}

.extra-price {
    font-weight: 700;
    color: #4CAF50;
    margin-left: 16px;
    font-size: 16px;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-top: 2px solid #e0e0e0;
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.summary-total span:last-child {
    font-size: 28px;
    color: #4CAF50;
}

.btn-inquiry {
    width: 100%;
    margin-bottom: 0;
}

/* Inquiry Modal */
.extras-inquiry-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
}

.modal-content {
    position: relative;
    background: #fff;
    border-radius: 16px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalFadeIn 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

@keyframes modalFadeIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
}

.modal-close:hover {
    background: #fff;
    border-color: #000;
}

.modal-header {
    padding: 40px 40px 30px;
    border-bottom: 2px solid #e0e0e0;
}

.modal-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 10px 0;
}

.modal-header p {
    color: #666;
    font-size: 18px;
    margin: 0;
}

.modal-body {
    padding: 40px;
}

/* Inquiry Selected Items */
.inquiry-selected-items {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 40px;
}

.inquiry-selected-items h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 20px 0;
}

.modal-extras-list {
    margin-bottom: 20px;
}

.modal-extra-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
}

.modal-extra-item:last-child {
    border-bottom: none;
}

.modal-extra-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.modal-extra-name {
    font-weight: 600;
    font-size: 16px;
    color: #333;
}

.modal-extra-category {
    font-size: 14px;
    color: #999;
}

.modal-extra-price {
    font-weight: 700;
    color: #4CAF50;
    margin-left: 20px;
    font-size: 16px;
}

.modal-total {
    display: flex;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 2px solid #e0e0e0;
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
}

.modal-total span:last-child {
    font-size: 28px;
    color: #4CAF50;
}

/* Inquiry Form */
.inquiry-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #000;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Buttons */
.btn-primary,
.btn-secondary {
    padding: 14px 32px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background: #000;
    color: #fff;
}

.btn-primary:hover:not(:disabled) {
    background: #333;
}

.btn-primary:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.btn-secondary {
    background: #fff;
    color: #000;
    border: 2px solid #e0e0e0;
}

.btn-secondary:hover {
    background: #f8f9fa;
    border-color: #000;
}

.btn-large {
    padding: 18px 32px;
    font-size: 18px;
    width: 100%;
}

/* No Extras Message */
.no-extras-message {
    text-align: center;
    padding: 80px 20px;
    background: #f8f9fa;
    border-radius: 12px;
}

.no-extras-message p {
    color: #666;
    font-size: 18px;
    margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .extras-showcase-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .category-title {
        font-size: 28px;
    }
    
    .category-description {
        font-size: 16px;
    }
    
    .extras-showcase-grid {
        grid-template-columns: 1fr;
    }
    
    .extras-selection-summary {
        bottom: 0;
        right: 0;
        left: 0;
        border-radius: 12px 12px 0 0;
        min-width: 100%;
        max-width: 100%;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        margin: 0;
        max-height: 100vh;
        border-radius: 0;
    }
    
    .modal-header,
    .modal-body {
        padding: 30px 20px;
    }
    
    .modal-header h2 {
        font-size: 28px;
    }
    
    .inquiry-selected-items {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .mobi-extras-showcase {
        padding: 20px 10px;
    }
    
    .extras-category-section {
        margin-bottom: 40px;
    }
    
    .category-header {
        margin-bottom: 30px;
    }
}