/* ============================================ */
/* EMBROIDERY CONTRACT CALCULATOR SPECIFIC STYLES */
/* ============================================ */

/* Product Showcase Section */
.product-showcase {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
}

.product-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
}

.product-showcase-inner {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    align-items: center;
}

.product-showcase-image {
    text-align: center;
}

.product-showcase-image img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.product-showcase-image img:hover {
    transform: scale(1.02) rotate(1deg);
    box-shadow: 0 12px 32px rgba(76, 179, 84, 0.3);
}

.product-showcase-content h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-top: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.feature-item i {
    color: var(--primary-color);
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .product-showcase-inner {
        grid-template-columns: 1fr;
    }
    
    .product-features {
        grid-template-columns: 1fr;
    }
}

/* Embroidery-specific elements */
.stitch-input-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stitch-input {
    width: 120px;
}

.addon-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: var(--hover-bg);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.addon-label:hover {
    background: #e5e7eb;
}

.addon-label input[type="checkbox"] {
    margin: 0;
}

.addon-info {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Location icons and cards */
.location-icon {
    width: 80px;
    height: 80px;
    background: var(--hover-bg);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin: 0 auto 0.5rem;
}

.location-card.selected .location-icon {
    background: var(--primary-color);
    color: white;
}

/* Embroidery-specific color grid */
.color-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
}

/* Guide Button */
.guide-button {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--hover-bg);
    color: var(--text-primary);
}

.guide-button:hover {
    background: #e5e7eb;
}

/* Buyer's Guide Modal */
.guide-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    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;
}

.guide-modal.active {
    opacity: 1;
    visibility: visible;
}

.guide-content {
    background: var(--card-bg);
    border-radius: 12px;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    transform: translateY(20px);
    transition: transform 0.3s;
}

.guide-modal.active .guide-content {
    transform: translateY(0);
}

.guide-header {
    padding: 2rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.guide-header h2 {
    color: var(--primary-color);
    font-size: 1.75rem;
    margin: 0;
}

.guide-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s;
}

.guide-close:hover {
    background: var(--hover-bg);
    color: var(--text-primary);
}

.guide-tabs {
    display: flex;
    background: var(--hover-bg);
    padding: 0.5rem;
    gap: 0.5rem;
}

.guide-tab {
    flex: 1;
    padding: 1rem;
    background: transparent;
    border: none;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s;
}

.guide-tab:hover {
    color: var(--primary-color);
}

.guide-tab.active {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.guide-body {
    flex: 1;
    overflow-y: auto;
    padding: 2rem;
}

.guide-section {
    display: none;
}

.guide-section.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* FAQ Styles */
.faq-category {
    margin-bottom: 2rem;
}

.faq-category h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.faq-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.faq-question {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.faq-answer {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Order Steps */
.order-step {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: start;
}

.step-number {
    background: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h4 {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.step-content ul {
    list-style: none;
    padding-left: 0;
}

.step-content li {
    padding: 0.25rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.step-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

/* Embroidery-specific contact card */
.contact-card {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
}

.contact-card h4 {
    margin-bottom: 1rem;
}

.contact-card p {
    margin: 0.25rem 0;
    opacity: 0.9;
}

.contact-card a {
    color: white;
    text-decoration: none;
    font-weight: 600;
}

/* Guide note */
.guide-note {
    background: var(--warning-bg);
    color: var(--warning-text);
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
    display: flex;
    align-items: start;
    gap: 0.5rem;
}

.guide-note i {
    flex-shrink: 0;
}

/* Print Styles */
@media print {
    body * {
        visibility: hidden;
    }
    
    #printContent, #printContent * {
        visibility: visible;
    }
    
    #printContent {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
    }
}