/* Ink Spot Quote System Styles */

.inkspot-quote-form-wrapper {
    max-width: 800px;
    margin: 40px 0;
    background: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    border-left: 5px solid #2c3e50;
}

.inkspot-quote-form-wrapper fieldset {
    margin-bottom: 30px;
    border: none;
    padding: 0;
}

.inkspot-quote-form-wrapper legend {
    font-size: 18px;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 15px;
    margin-left: -5px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group input[type="file"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 14px;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2c3e50;
    box-shadow: 0 0 0 3px rgba(44, 62, 80, 0.1);
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 13px;
}

.form-actions {
    margin-top: 30px;
}

.form-actions button {
    background-color: #27ae60;
    border-color: #27ae60;
    padding: 12px 40px;
    font-size: 16px;
}

.form-actions button:hover {
    background-color: #229954;
    border-color: #229954;
}

/* Admin Dashboard Styles */

.wrap .quote-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.stat-box {
    background: white;
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.stat-box h3 {
    font-size: 32px;
    margin: 0;
    color: #2c3e50;
}

.stat-box p {
    margin: 5px 0 0 0;
    color: #666;
    font-size: 14px;
}

.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.status-submitted {
    background-color: #f39c12;
    color: white;
}

.status-priced {
    background-color: #3498db;
    color: white;
}

.status-approved {
    background-color: #27ae60;
    color: white;
}

.status-production {
    background-color: #9b59b6;
    color: white;
}

.status-completed {
    background-color: #95a5a6;
    color: white;
}

.quote-filters {
    margin: 20px 0;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.quote-filters .button {
    text-decoration: none;
    border: 1px solid #ccc;
}

.quote-filters .button.active {
    background-color: #2c3e50;
    color: white;
    border-color: #2c3e50;
}

.quote-detail-container {
    margin-top: 30px;
}

.detail-section {
    background: white;
    border: 1px solid #ddd;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 6px;
}

.detail-section h2 {
    margin-top: 0;
}

.detail-section pre {
    background: #f5f5f5;
    padding: 12px;
    border-radius: 4px;
    overflow-x: auto;
}

/* Form layout: two-column rows */
.inkspot-row {
    display: flex;
    gap: 20px;
}

.inkspot-row .form-group.half {
    flex: 1;
}

.product-fields {
    display: none;
    animation: inkspot-fade 0.3s ease;
}

@keyframes inkspot-fade {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.inkspot-form-intro {
    margin-bottom: 25px;
    color: #555;
    line-height: 1.6;
}

/* =============================================
   PRODUCT DIRECTORY GRID
   ============================================= */

.inkspot-directory {
    max-width: 1100px;
    margin: 0 auto;
}

.inkspot-directory-intro {
    margin-bottom: 30px;
    color: #555;
    line-height: 1.6;
    font-size: 16px;
}

.inkspot-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
}

.inkspot-product-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 24px 20px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}

.inkspot-product-card:hover {
    border-color: #2c3e50;
    box-shadow: 0 4px 16px rgba(44, 62, 80, 0.12);
    transform: translateY(-2px);
}

.product-card-icon {
    width: 40px;
    height: 40px;
    color: #2c3e50;
    margin-bottom: 14px;
}

.product-card-icon svg {
    width: 100%;
    height: 100%;
}

.inkspot-product-card h3 {
    margin: 0 0 8px;
    font-size: 17px;
    color: #2c3e50;
}

.inkspot-product-card p {
    margin: 0 0 auto;
    font-size: 13px;
    color: #777;
    line-height: 1.5;
    padding-bottom: 12px;
}

.product-card-cta {
    font-size: 14px;
    font-weight: 600;
    color: #27ae60;
}

.inkspot-product-card:hover .product-card-cta {
    color: #229954;
}

/* Custom quote section at bottom of directory */
.inkspot-custom-section {
    background: #f9f9f9;
    border-radius: 8px;
    border-left: 5px solid #2c3e50;
    padding: 30px;
    margin-top: 40px;
}

.inkspot-custom-section h3 {
    margin-top: 0;
    color: #2c3e50;
}

.inkspot-custom-form {
    max-width: 700px;
}

/* =============================================
   SINGLE PRODUCT PAGE — 2/3 + 1/3 LAYOUT
   ============================================= */

.inkspot-product-page {
    max-width: 1200px;
    margin: 0 auto;
}

.inkspot-product-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

/* LEFT COLUMN: SEO CONTENT */
.inkspot-product-content {
    min-width: 0;
}

.inkspot-product-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 2px solid #eee;
}

.product-header-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    color: #2c3e50;
}

.product-header-icon svg {
    width: 100%;
    height: 100%;
}

.product-header-text {
    flex: 1;
}

.product-description {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* Product Hero Image */
.inkspot-product-hero {
    margin-bottom: 28px;
    border-radius: 8px;
    overflow: hidden;
    max-height: 360px;
}

.inkspot-product-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* SEO Content Sections */
.seo-intro {
    font-size: 17px;
    color: #333;
    line-height: 1.8;
    margin: 0 0 28px;
}

.seo-section {
    margin-bottom: 32px;
}

.seo-section h2 {
    font-size: 22px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
}

.seo-section p {
    font-size: 15px;
    color: #444;
    line-height: 1.8;
    margin: 0;
}

.seo-specs-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.seo-specs-list li {
    position: relative;
    padding: 8px 0 8px 24px;
    font-size: 14px;
    color: #444;
    line-height: 1.6;
    border-bottom: 1px solid #f2f2f2;
}

.seo-specs-list li:last-child {
    border-bottom: none;
}

.seo-specs-list li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: 700;
}

.seo-why-us {
    background: #f0f7f4;
    border: 1px solid #d4edda;
    border-radius: 8px;
    padding: 24px 28px;
}

.seo-why-us h2 {
    border-bottom: none;
    padding-bottom: 0;
}

.seo-why-us p {
    color: #333;
}

.seo-faq h2 {
    margin-bottom: 16px;
}

.faq-item {
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid #f0f0f0;
}

.faq-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.faq-item h3 {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 6px;
}

.faq-item p {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
    margin: 0;
}

/* RIGHT COLUMN: STICKY QUOTE SIDEBAR */
.inkspot-product-sidebar {
    position: sticky;
    top: 32px;
    background: #f8f9fb;
    border: 1px solid #e0e3e8;
    border-radius: 10px;
    padding: 0;
    box-shadow: 0 2px 12px rgba(44, 62, 80, 0.08);
}

.sidebar-form-header {
    background: #2c3e50;
    color: #fff;
    padding: 20px 24px 16px;
    border-radius: 10px 10px 0 0;
}

.sidebar-form-header h2 {
    margin: 0 0 6px;
    font-size: 20px;
    color: #fff;
}

.sidebar-form-header .inkspot-note {
    margin: 0;
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    font-style: italic;
}

.inkspot-product-sidebar .inkspot-product-form {
    padding: 20px 24px 24px;
}

.inkspot-product-sidebar .inkspot-product-form fieldset {
    margin-bottom: 20px;
    border: none;
    padding: 0;
}

.inkspot-product-sidebar .inkspot-product-form legend {
    font-size: 15px;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 12px;
    padding-bottom: 6px;
    border-bottom: 1px solid #e8eaed;
    width: 100%;
}

.inkspot-product-sidebar .inkspot-options-matrix {
    background: transparent;
    padding: 0 !important;
    border: none;
}

.inkspot-product-sidebar .form-group {
    margin-bottom: 14px;
}

.inkspot-product-sidebar .form-group label {
    font-size: 13px;
    margin-bottom: 5px;
}

.inkspot-product-sidebar .form-group select,
.inkspot-product-sidebar .form-group input[type="text"],
.inkspot-product-sidebar .form-group input[type="email"],
.inkspot-product-sidebar .form-group input[type="tel"],
.inkspot-product-sidebar .form-group textarea {
    padding: 10px;
    font-size: 13px;
}

.inkspot-product-sidebar .form-group textarea {
    min-height: 70px;
}

.inkspot-product-sidebar .inkspot-disclaimer {
    font-size: 12px;
    padding: 10px 14px;
}

.inkspot-product-sidebar .inkspot-submit-btn {
    width: 100%;
    padding: 14px 20px;
    font-size: 15px;
}

.inkspot-product-sidebar .inkspot-privacy {
    text-align: center;
}

.inkspot-product-form fieldset {
    margin-bottom: 28px;
    border: none;
    padding: 0;
}

.inkspot-product-form legend {
    font-size: 18px;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 18px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
    width: 100%;
}

.inkspot-options-matrix {
    background: #f8f9fb;
    padding: 24px !important;
    border-radius: 8px;
    border: 1px solid #e8eaed;
}

.inkspot-options-matrix legend {
    border-bottom: none;
}

.form-group.full {
    width: 100%;
}

.inkspot-msg {
    padding: 18px 22px;
    border-radius: 6px;
    margin-bottom: 25px;
}

.inkspot-error {
    background: #fce4e4;
    border-left: 4px solid #e74c3c;
    color: #c0392b;
}

.inkspot-success {
    background: #e8f8f0;
    border-left: 4px solid #27ae60;
    color: #1e7e34;
}

.inkspot-success h3 {
    margin-top: 0;
}

.inkspot-submit-btn {
    background-color: #27ae60;
    color: white;
    border: none;
    padding: 14px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.inkspot-submit-btn:hover {
    background-color: #229954;
}

.inkspot-disclaimer {
    background: #fff8e1;
    border: 1px solid #ffe082;
    border-radius: 4px;
    padding: 14px 18px;
    margin-bottom: 20px;
    font-size: 13px;
    color: #6d4c00;
    line-height: 1.5;
}

.inkspot-disclaimer p {
    margin: 0;
}

.inkspot-note {
    font-size: 14px;
    color: #777;
    font-style: italic;
}

.inkspot-privacy {
    color: #888;
    font-size: 13px;
    margin-top: 10px;
}

.req {
    color: #e74c3c;
}

/* Responsive */
@media (max-width: 960px) {
    .inkspot-product-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .inkspot-product-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .inkspot-quote-form-wrapper {
        padding: 20px;
    }

    .inkspot-row {
        flex-direction: column;
        gap: 0;
    }

    .wrap .quote-stats {
        grid-template-columns: 1fr;
    }

    .inkspot-product-grid {
        grid-template-columns: 1fr;
    }

    .inkspot-product-header {
        flex-direction: column;
    }

    .inkspot-options-matrix {
        padding: 16px !important;
    }

    .inkspot-custom-section {
        padding: 20px;
    }

    .seo-why-us {
        padding: 18px 20px;
    }
}
