/* Marketing / legal pages — theme tokens, no inline style="" */

.mp-shell {
    min-height: 100vh;
    background-color: var(--theme-background);
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.mp-shell--portal {
    padding-top: 12rem;
    padding-bottom: 20rem;
}

.mp-bg-main {
    background-color: var(--theme-background);
}

.mp-hero-pattern {
    /* Avoid hard dependency on a static image for deploys. */
    background-image: repeating-linear-gradient(
        45deg,
        rgba(0, 0, 0, 0.06) 0,
        rgba(0, 0, 0, 0.06) 1px,
        transparent 1px,
        transparent 14px
    );
}

/* --- Shared hero / page header (about, contact) --- */
.page-header {
    background: linear-gradient(
        135deg,
        var(--theme-hero-gradient-start, #8b4513) 0%,
        var(--theme-hero-gradient-end, #2f4f4f) 100%
    );
    color: var(--theme-text-secondary, white);
}

/* --- Shipping --- */
.shipping-page .info-card {
    background: var(--theme-bg-subtle, #f8f9fa);
    border: 1px solid var(--theme-border, #dee2e6);
    border-radius: 1rem;
    padding: 1.5rem;
    height: 100%;
    transition: all 0.3s ease;
}

@media (min-width: 768px) {
    .shipping-page .info-card {
        padding: 3rem;
    }
}

.shipping-page .info-card:hover {
    border-color: var(--theme-primary, #0d6efd);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.shipping-method-card {
    background: var(--theme-bg-surface, white);
    border-left: 8px solid var(--theme-accent, #ffc107);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

@media (min-width: 768px) {
    .shipping-method-card {
        padding: 3rem;
    }
}

.shipping-method-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.shipping-method-card--primary {
    border-left-color: var(--theme-primary);
}

.mp-header-seal {
    border: 2px solid var(--theme-accent, #ffc107);
    background: var(--theme-bg-surface, white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.mp-support-callout {
    background-color: var(--theme-bg-subtle);
    border-color: var(--theme-border);
}

/* --- FAQ --- */
.header-seal {
    border: 2px solid var(--theme-accent, #ffc107);
    background: var(--theme-bg-surface, white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.faq-page details {
    background: var(--theme-bg-subtle, #f8f9fa);
    border: 1px solid var(--theme-border, #dee2e6);
    border-radius: 1rem;
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-page details[open] {
    background: var(--theme-bg-surface, white);
    border-color: var(--theme-primary, #0d6efd);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.faq-page summary {
    padding: 1.5rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.125rem;
    list-style: none;
    position: relative;
    padding-right: 4rem;
    color: var(--theme-text-primary);
    display: flex;
    align-items: center;
    transition: background-color 0.2s ease;
}

.faq-page summary:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.faq-page summary::-webkit-details-marker {
    display: none;
}

.faq-page summary::after {
    content: '';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.5rem;
    height: 1.5rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.3s ease;
    opacity: 0.5;
}

.faq-page details[open] summary::after {
    transform: translateY(-50%) rotate(180deg);
    opacity: 1;
}

.faq-answer {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: var(--theme-text-secondary);
    line-height: 1.8;
    font-size: 1.05rem;
}

.category-title {
    color: var(--theme-text-primary);
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    margin-top: 4rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--theme-border);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.category-icon {
    color: var(--theme-primary);
    opacity: 0.8;
}

.mp-cta-panel {
    background-color: var(--theme-bg-surface);
    border-color: var(--theme-border);
}

/* --- Returns --- */
.returns-page .info-card,
.process-card {
    background: var(--theme-bg-subtle, #f8f9fa);
    border: 2px solid var(--theme-border, #dee2e6);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

@media (min-width: 768px) {
    .returns-page .info-card,
    .process-card {
        padding: 2rem;
    }
}

.returns-page .info-card:hover,
.process-card:hover {
    border-color: var(--theme-primary, #0d6efd);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

@media (prefers-color-scheme: dark) {
    .returns-page .info-card,
    .process-card {
        border-color: rgba(255, 255, 255, 0.2);
    }
}

.warranty-seal {
    border: 2px solid var(--theme-accent, #ffc107);
    background: var(--theme-bg-surface, white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.step-number {
    background-color: var(--theme-primary);
    color: var(--theme-button-text, #ffffff);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-weight: 800;
    font-size: 1.125rem;
}

.indicator-card {
    background: var(--theme-bg-surface, white);
    border-left: 8px solid var(--theme-accent, #ffc107);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.indicator-card--primary {
    border-left-color: var(--theme-primary);
}

/* --- About --- */
.value-card {
    background: var(--theme-bg-surface, white);
    border: 1px solid var(--theme-border, #dee2e6);
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    border-color: var(--theme-primary, #0d6efd);
}

.role-card {
    background: var(--theme-bg-subtle, #f8f9fa);
    border-left: 8px solid var(--theme-primary, #0d6efd);
    border-radius: 1rem;
    padding: 1.5rem;
}

@media (min-width: 768px) {
    .role-card {
        padding: 3rem;
    }
}

.role-card--accent {
    border-left-color: var(--theme-accent, #ffc107);
}

.about-quote-panel {
    background-color: var(--theme-bg-surface);
    border-left: 8px solid var(--theme-accent, #ffc107);
}

/* --- Contact --- */
.contact-card {
    background: var(--theme-bg-subtle, #f8f9fa);
    border: 1px solid var(--theme-border, #dee2e6);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

@media (min-width: 768px) {
    .contact-card {
        padding: 3rem;
    }
}

.contact-card:hover {
    border-color: var(--theme-primary, #0d6efd);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.faq-callout {
    background: var(--theme-bg-surface, white);
    border-left: 8px solid var(--theme-accent, #ffc107);
    border-radius: 1rem;
    padding: 2rem;
}

@media (min-width: 768px) {
    .faq-callout {
        padding: 3rem;
    }
}

.contact-icon-circle {
    background-color: var(--theme-bg-surface);
    color: var(--theme-primary);
}

.contact-response-panel {
    background-color: var(--theme-bg-surface);
    border-color: var(--theme-border);
}

/* --- Privacy policy --- */
.privacy-policy-page .indicator-card {
    background: var(--theme-bg-surface, white);
    border-left-width: 8px;
    border-left-style: solid;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: transform 0.3s ease;
}

.privacy-policy-page .indicator-card:hover {
    transform: translateY(-5px);
}

.indicator-card.collected {
    border-left-color: #198754;
}

.indicator-card.not-collected {
    border-left-color: #dc3545;
}

.text-body-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
}

@media (prefers-color-scheme: dark) {
    .privacy-policy-page .indicator-card {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        border-right: 1px solid rgba(255, 255, 255, 0.1);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
}

.privacy-data-retention-box {
    background-color: var(--theme-bg-secondary);
}

.privacy-manage-panel {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--theme-border);
    border-radius: 0.75rem;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.privacy-portal-cta {
    background-color: #15803d;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}

.privacy-portal-cta:hover {
    background-color: #166534;
    color: white;
}

.privacy-code-sample {
    color: var(--theme-text-primary);
    background-color: rgba(125, 125, 125, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em;
    word-break: break-all;
}

.text-anonymize-accent {
    color: #22c55e;
    font-weight: 800;
}

/* --- Category detail (shared) --- */
.category-detail-prose p {
    margin-bottom: 1rem;
    line-height: 1.625;
}

.category-page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* --- Privacy portal modal --- */
.privacy-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.privacy-modal.is-open {
    display: flex;
}

.privacy-modal-dialog {
    background-color: white;
    padding: 2.5rem;
    border-radius: 1rem;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border: 1px solid #e5e7eb;
}

.privacy-modal-icon-wrap {
    background-color: #fee2e2;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
}

.privacy-modal-icon {
    color: #dc2626;
    font-size: 1.5rem;
}

.privacy-forgotten-title {
    color: #7f1d1d;
}

.privacy-forgotten-text {
    color: #991b1b;
    font-weight: 500;
}

.privacy-table-header {
    color: #000000;
    font-weight: 700;
}

.privacy-table-cell {
    color: #000000;
}

.privacy-order-link {
    color: #2563eb;
    text-decoration: underline;
}

.privacy-order-link:hover {
    color: #1e40af;
}

.privacy-verify-form-wrap {
    margin-top: 2rem;
}
