/* Privacy Policy Page Styles */
.policy-main {
    padding: 120px 20px 60px;
    min-height: calc(100vh - 200px);
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e9f0 100%);
}

.policy-container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 50px 60px;
}

.policy-title {
    font-size: 2.5rem;
    color: #1a1a2e;
    margin-bottom: 10px;
    text-align: center;
    background: linear-gradient(135deg, #dc2626 0%, #dc2626 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.policy-date {
    text-align: center;
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #f0f0f0;
}

.policy-translation-note {
    margin: -20px auto 25px;
    max-width: 760px;
    text-align: center;
    color: #6b7280;
    font-size: 0.95rem;
}

.policy-toc {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 18px 20px;
    margin: 0 0 35px;
}

.policy-toc-title {
    font-size: 1.1rem;
    color: #111827;
    margin-bottom: 10px;
}

.policy-toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 14px;
}

.policy-toc-list a {
    color: #dc2626;
    text-decoration: none;
}

.policy-toc-list a:hover {
    text-decoration: underline;
}

.policy-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 16px;
    margin-top: 10px;
}

.policy-links a {
    color: #dc2626;
    text-decoration: none;
}

.policy-links a:hover {
    text-decoration: underline;
}

.callout {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-left: 4px solid #dc2626;
    border-radius: 12px;
    padding: 16px 18px;
    margin: 14px 0;
}

.policy-section {
    margin-bottom: 35px;
}

.policy-section h2 {
    font-size: 1.5rem;
    color: #1a1a2e;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #dc2626;
    display: inline-block;
}

.policy-section h3 {
    font-size: 1.15rem;
    color: #333;
    margin: 20px 0 10px;
}

.policy-section p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
    text-align: justify;
}

.policy-section ul {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.policy-section ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    color: #555;
    line-height: 1.7;
}

.policy-section ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #dc2626;
    font-size: 1.5rem;
    line-height: 1.2;
}

.policy-section ul li strong {
    color: #333;
}

.contact-info {
    background: #f8f9fa;
    padding: 20px 25px;
    border-radius: 10px;
    margin-top: 15px;
    border-left: 4px solid #dc2626;
}

.contact-info p {
    margin-bottom: 8px;
    text-align: left;
}

.contact-info a {
    color: #dc2626;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #dc2626;
    text-decoration: underline;
}

.consent-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e8ebf0 100%);
    padding: 25px 30px;
    border-radius: 12px;
    margin-top: 40px;
    border: 1px solid #e0e0e0;
}

.consent-section h2 {
    border-bottom-color: #dc2626;
}

/* RTL Support */
[dir="rtl"] .policy-section ul li {
    padding-left: 0;
    padding-right: 25px;
}

[dir="rtl"] .policy-section ul li::before {
    left: auto;
    right: 0;
}

[dir="rtl"] .contact-info {
    border-left: none;
    border-right: 4px solid #dc2626;
}

[dir="rtl"] .policy-section p {
    text-align: right;
}

/* Responsive Design */
@media (max-width: 768px) {
    .policy-main {
        padding: 100px 15px 40px;
    }

    .policy-container {
        padding: 30px 25px;
        border-radius: 12px;
    }

    .policy-title {
        font-size: 1.8rem;
    }

    .policy-section h2 {
        font-size: 1.3rem;
    }

    .policy-section h3 {
        font-size: 1.1rem;
    }

    .policy-section p,
    .policy-section ul li {
        font-size: 0.95rem;
    }

    .contact-info {
        padding: 15px 20px;
    }

    .consent-section {
        padding: 20px;
    }

    .policy-toc-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .policy-container {
        padding: 25px 20px;
    }

    .policy-title {
        font-size: 1.5rem;
    }

    .policy-section h2 {
        font-size: 1.2rem;
    }
}

/* Print Styles */
@media print {
    .store-header,
    .store-footer,
    .language-selector {
        display: none !important;
    }

    .policy-main {
        padding: 20px;
        background: white;
    }

    .policy-container {
        box-shadow: none;
        padding: 0;
    }

    .policy-title {
        -webkit-text-fill-color: #1a1a2e;
        color: #1a1a2e;
    }
}
