/* Refund Policy CSS - COMPLETELY unique variable names to avoid conflicts */

/* Refund Policy-specific CSS Variables - UNIQUE NAMES that won't conflict */
:root {
    /* Refund Colors - using refund- prefix */
    --refund-color-primary-blue: #1a365d;
    --refund-color-accent-blue: #3182ce;
    --refund-color-border-lightblue: #bee3f8;
    --refund-color-text-black: #000000;
    --refund-color-bg-verylight: #f7fafc;
    --refund-color-contact-bg-light: #f0f9ff;
    
    /* Refund Font Family - using refund- prefix */
    --refund-font-manrope: 'Manrope', sans-serif;
    --refund-font-weight-regular: 400;
    --refund-font-weight-medium: 500;
    --refund-font-weight-semibold: 600;
    --refund-font-weight-bold: 700;
    
    /* Refund Font Sizes - using refund- prefix */
    --refund-fontsize-base: 1.375rem;
    --refund-fontsize-large: 1.5rem;
    --refund-fontsize-xlarge: 1.625rem;
    --refund-fontsize-xxlarge: 1.875rem;
    --refund-fontsize-xxxlarge: 2.25rem;
    
    /* Refund Spacing - using refund- prefix */
    --refund-space-small: 0.75rem;
    --refund-space-medium: 1rem;
    --refund-space-large: 1.5rem;
    --refund-space-xlarge: 2rem;
    --refund-space-xxlarge: 3rem;
    --refund-space-xxxlarge: 4rem;
    --refund-space-xxxxlarge: 5rem;
    
    /* Refund Layout */
    --refund-maxwidth-content: 1200px;
    --refund-border-radius: 8px;
}

/* Refund Policy Page Body */
body.refund-page {
    background-color: var(--refund-color-bg-verylight);
    min-height: 100vh;
}

/* Refund Policy Container */
.refund-container {
    max-width: var(--refund-maxwidth-content);
    margin: 0 auto;
    padding: var(--refund-space-xlarge) var(--refund-space-xxlarge);
    font-family: var(--refund-font-manrope);
    color: var(--refund-color-text-black);
    font-size: var(--refund-fontsize-base);
    line-height: 1.6;
    padding-bottom: 100px; /* Space between content and footer */
}

/* Refund Policy Header */
.refund-header {
    text-align: center;
    margin-bottom: var(--refund-space-xxxxlarge);
    padding-top: var(--refund-space-xlarge);
}

.refund-header h1 {
    font-size: var(--refund-fontsize-xxxlarge);
    font-weight: var(--refund-font-weight-bold);
    color: var(--refund-color-primary-blue);
    margin: var(--refund-space-xlarge) 0 var(--refund-space-large);
    line-height: 1.2;
}

.refund-subtitle {
    font-size: var(--refund-fontsize-large);
    color: var(--refund-color-text-black);
    max-width: 600px;
    margin: 0 auto;
}

/* Refund Policy Sections */
.refund-sections {
    display: grid;
    gap: var(--refund-space-xxlarge);
    margin-bottom: var(--refund-space-xxxlarge);
}

.refund-section {
    background: white;
    border: 1px solid var(--refund-color-border-lightblue);
    border-radius: var(--refund-border-radius);
    padding: var(--refund-space-xlarge);
}

.refund-section-title {
    font-size: var(--refund-fontsize-xxlarge);
    font-weight: var(--refund-font-weight-semibold);
    color: var(--refund-color-primary-blue);
    margin-bottom: var(--refund-space-xlarge);
    padding-bottom: var(--refund-space-medium);
    border-bottom: 1px solid var(--refund-color-border-lightblue);
}

/* Refund Subsections */
.refund-subsections {
    display: grid;
    gap: var(--refund-space-large);
}

.refund-subsection {
    border-left: 3px solid var(--refund-color-accent-blue);
    padding-left: var(--refund-space-large);
    margin-bottom: var(--refund-space-large);
}

.refund-subsection-title {
    font-size: var(--refund-fontsize-large);
    font-weight: var(--refund-font-weight-semibold);
    color: var(--refund-color-primary-blue);
    margin-bottom: var(--refund-space-medium);
    line-height: 1.4;
}

/* Refund Content */
.refund-content {
    color: var(--refund-color-text-black);
    font-size: var(--refund-fontsize-base);
    line-height: 1.7;
}

.refund-content p {
    margin-bottom: var(--refund-space-medium);
}

.refund-content p:last-child {
    margin-bottom: 0;
}

.refund-content strong {
    font-weight: var(--refund-font-weight-semibold);
}

.refund-content ul,
.refund-content ol {
    margin-left: var(--refund-space-large);
    margin-bottom: var(--refund-space-medium);
}

.refund-content li {
    margin-bottom: var(--refund-space-small);
    line-height: 1.6;
}

.refund-content li:last-child {
    margin-bottom: 0;
}

/* Refund Internal Links */
.refund-internal-link {
    color: var(--refund-color-accent-blue);
    font-weight: var(--refund-font-weight-medium);
}

.refund-internal-link:hover {
    color: var(--refund-color-primary-blue);
}

/* Refund Contact Section */
.refund-contact-section {
    background: var(--refund-color-contact-bg-light);
    border: 1px solid var(--refund-color-border-lightblue);
    border-radius: var(--refund-border-radius);
    padding: var(--refund-space-xxlarge);
    text-align: center;
    margin-top: var(--refund-space-xxxlarge);
}

.refund-contact-content {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.refund-contact-section h2 {
    font-size: var(--refund-fontsize-xxlarge);
    font-weight: var(--refund-font-weight-semibold);
    color: var(--refund-color-primary-blue);
    margin-bottom: var(--refund-space-medium);
}

.refund-contact-content > p {
    color: var(--refund-color-text-black);
    margin-bottom: var(--refund-space-xlarge);
    font-size: var(--refund-fontsize-large);
    text-align: center;
}

.refund-contact-email {
    display: inline-flex;
    align-items: center;
    gap: var(--refund-space-small);
    background: white;
    border: 1px solid var(--refund-color-border-lightblue);
    border-radius: var(--refund-border-radius);
    padding: var(--refund-space-medium) var(--refund-space-large);
    margin-bottom: var(--refund-space-medium);
    justify-content: center;
}

.refund-contact-email svg {
    color: var(--refund-color-accent-blue);
}

.refund-email-link {
    font-size: var(--refund-fontsize-large);
    font-weight: var(--refund-font-weight-medium);
    color: var(--refund-color-primary-blue);
    text-decoration: none;
}

.refund-email-link:hover {
    color: var(--refund-color-accent-blue);
}

/* Refund Back to Top */
.refund-back-to-top {
    position: fixed;
    bottom: var(--refund-space-large);
    right: var(--refund-space-large);
    width: 48px;
    height: 48px;
    background: white;
    border: 1px solid var(--refund-color-border-lightblue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 250ms ease;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    z-index: 1000;
}

.refund-back-to-top.refund-visible {
    opacity: 1;
    visibility: visible;
}

.refund-back-to-top:hover {
    border-color: var(--refund-color-accent-blue);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

/* Responsive Styles */
@media (max-width: 1023px) {
    /* Mobile top margin for header space */
    .refund-container {
        margin-top: 70px;
        padding: var(--refund-space-large) calc(var(--refund-space-large) * 0.75);
        padding-bottom: 100px; /* Mobile bottom spacing */
    }
    
    .refund-header h1 {
        font-size: 1.875rem;
    }
    
    .refund-section-title {
        font-size: 1.625rem;
    }
    
    .refund-subsection-title {
        font-size: 1.125rem;
    }
    
    /* Reduced font sizes by 4px (0.25rem) on mobile */
    .refund-subtitle {
        font-size: 1.25rem;
    }
    
    .refund-content {
        font-size: 1.125rem;
    }
    
    .refund-contact-content > p {
        font-size: 1.25rem;
    }
    
    .refund-email-link {
        font-size: 1.25rem;
    }
}

@media (max-width: 767px) {
    .refund-container {
        margin-top: 70px;
        padding: calc(var(--refund-space-medium) * 0.75) calc(var(--refund-space-medium) * 0.75);
        padding-bottom: 100px; /* Mobile bottom spacing */
    }
    
    .refund-header h1 {
        font-size: 1.625rem;
    }
    
    .refund-section {
        padding: calc(var(--refund-space-medium) * 0.75);
    }
    
    .refund-section-title {
        text-align: center;
        padding-bottom: var(--refund-space-small);
        margin-bottom: calc(var(--refund-space-large) * 0.75);
        font-size: 1.375rem;
    }
    
    .refund-contact-section {
        padding: calc(var(--refund-space-large) * 0.75);
        display: flex;
        justify-content: center;
    }
    
    .refund-contact-content {
        width: 100%;
        align-items: center;
    }
    
    .refund-contact-email {
        flex-direction: row;
        text-align: center;
        width: 100%;
        max-width: 100%;
        padding: var(--refund-space-small) calc(var(--refund-space-medium) * 0.75);
        margin-bottom: var(--refund-space-small);
    }
    
    .refund-email-link {
        font-size: 1.125rem;
        word-break: break-word;
        text-align: center;
    }
    
    .refund-back-to-top {
        bottom: var(--refund-space-small);
        right: var(--refund-space-small);
        width: 40px;
        height: 40px;
    }
    
    /* Reduce gaps between sections */
    .refund-sections {
        gap: calc(var(--refund-space-xlarge) * 0.75);
        margin-bottom: var(--refund-space-xxlarge);
    }
    
    .refund-subsections {
        gap: calc(var(--refund-space-large) * 0.75);
    }
    
    .refund-subsection-title {
        font-size: 1.125rem;
    }
    
    .refund-subtitle {
        font-size: 1.25rem;
    }
    
    .refund-content {
        font-size: 1.125rem;
    }
}

@media (max-width: 480px) {
    .refund-contact-email {
        flex-direction: column;
        gap: var(--refund-space-small);
    }
    
    .refund-contact-email svg {
        margin-bottom: 4px;
    }
    
    .refund-email-link {
        text-align: center;
        width: 100%;
    }
}

/* Reduced Motion Preference */
@media (prefers-reduced-motion: reduce) {
    .refund-page * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .refund-back-to-top {
        transition: none;
    }
}

/* ===== BROWSER RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}