/* ========================================
   RETURN AND REFUND POLICY - Specifieke styling
   Gebruikt de basis variabelen uit theme.css
   ======================================== */

/* Base wrapper - uniek voor return-refund-policy */
.tty-refund-wrapper {
    position: relative;
    overflow: hidden;
    font-family: inherit;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Decoratief patroon achtergrond */
.tty-refund-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 9%;
    width: 40%;
    height: 100%;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 5v10m0 30v10m-20-25h10m30 0h10' stroke='%23005F5F' stroke-width='1'/%3E%3Ccircle cx='30' cy='30' r='5' fill='%23005F5F'/%3E%3Ccircle cx='30' cy='15' r='2' fill='%23005F5F'/%3E%3Ccircle cx='30' cy='45' r='2' fill='%23005F5F'/%3E%3Ccircle cx='20' cy='30' r='2' fill='%23005F5F'/%3E%3Ccircle cx='40' cy='30' r='2' fill='%23005F5F'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

/* Direct children boven patroon */
.tty-refund-wrapper > * {
    position: relative;
    z-index: 1;
}

/* Banner sectie */
.tty-refund-banner {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 60px;
    margin-top: 40px;
}

/* Header met download button */
.tty-refund-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 15px;
}

.tty-refund-header-content {
    flex: 1;
}

.tty-refund-banner .tty-hero-title {
    margin: 0px 0px 10px 0px;
}

.tty-refund-date {
    font-size: 18px;
    color: var(--tty-text-secondary);
    margin: 0 0 20px 0;
}

.tty-refund-download-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--tty-primary) 0%, var(--tty-primary-light) 100%);
    color: var(--tty-text-light);
    text-decoration: none;
    border-radius: var(--tty-radius-lg);
    font-weight: 400;
    font-size: 16px;
    box-shadow: 0 8px 30px rgba(0, 95, 95, 0.3);
    transition: var(--tty-transition-normal);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    min-width: fit-content;
}

.tty-refund-download-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.tty-refund-download-button:hover::before {
    left: 100%;
}

.tty-refund-download-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--tty-shadow-lg);
    color: var(--tty-text-light);
}

/* Container layout */
.tty-refund-container {
    display: flex;
    gap: 40px;
}

/* Sidebar navigatie */
.tty-refund-sidebar {
    flex: 0 0 300px;
    position: sticky;
    top: 150px;
    height: fit-content;
}

.tty-refund-nav-block {
    background-color: var(--tty-bg-secondary);
    border-radius: 30px;
    padding: 20px;
    margin-bottom: 20px;
}

.tty-refund-nav-block h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 700;
}

.tty-refund-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tty-refund-nav-list li {
    margin-bottom: 10px;
}

.tty-refund-nav-list a {
    text-decoration: none;
    font-size: 16px;
    display: block;
    padding: 10px 12px;
    border-radius: 10px;
    transition: var(--tty-transition-normal);
}

.tty-refund-nav-list a:hover,
.tty-refund-nav-list a.active {
    background: var(--tty-bg-linear-graniet);
    color: var(--tty-text-light);
}

/* Main content area */
.tty-refund-content-main {
    flex: 1;
}

.tty-refund-section {
    margin-bottom: 40px;
    padding-bottom: 40px;
}

.tty-refund-section:last-of-type {
    border-bottom: none;
    margin-bottom: 100px;
}

.tty-refund-section h2 {
    color: var(--tty-primary);
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 34px;
    line-height: 1.2;
}

.tty-refund-block {
    background-color: var(--tty-bg-secondary);
    padding: 30px;
    border-radius: 30px;
}

.tty-refund-block h3 {
    color: var(--tty-primary);
    margin-top: 24px;
    margin-bottom: 16px;
    font-size: 24px;
    font-weight: 600;
}

.tty-refund-block p {
    line-height: 1.6;
    margin-bottom: 16px;
}

/* Lists styling */
.tty-refund-content-main ul {
    list-style: none;
    padding-left: 0;
}

.tty-refund-content-main ul li {
    margin-bottom: 12px;
    padding-left: 24px;
    position: relative;
    line-height: 1.6;
}

.tty-refund-content-main ul li:before {
    content: "•";
    color: var(--tty-primary);
    position: absolute;
    left: 8px;
    font-weight: bold;
}

/* Nested lists styling */
.tty-refund-content-main ul li ul {
    margin-top: 12px;
    margin-bottom: 0;
}

.tty-refund-content-main ul li ul li {
    margin-bottom: 8px;
    padding-left: 35px;
}

.tty-refund-content-main ul li ul li:before {
    content: "•";
    color: var(--tty-primary);
    position: absolute;
    left: 8px;
    font-weight: bold;
}

/* Links in content */
.tty-refund-block a {
    color: var(--tty-primary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--tty-transition-normal);
}

.tty-refund-block a:hover {
    color: var(--tty-primary-dark);
    text-decoration: underline;
}

/* FAQ Section */
.tty-refund-faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.tty-refund-faq-item {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: var(--tty-transition-normal);
}

.tty-refund-faq-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.tty-refund-faq-question {
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--tty-transition-normal);
}

.tty-refund-faq-question:hover {
    background: rgba(0, 95, 95, 0.02);
}

.tty-refund-faq-question h4 {
    margin: 0;
    font-weight: 600;
    color: var(--tty-text-primary);
}

.tty-refund-toggle-icon {
    color: var(--tty-primary);
    transition: var(--tty-transition-normal);
}

.tty-refund-faq-item.active .tty-refund-toggle-icon {
    transform: rotate(180deg);
}

.tty-refund-faq-answer {
    background: linear-gradient(135deg, rgba(0, 95, 95, 0.02) 0%, rgba(0, 168, 150, 0.02) 100%);
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.tty-refund-faq-item.active .tty-refund-faq-answer {
    padding: 15px 20px 20px;
    max-height: 300px;
}

.tty-refund-faq-answer p {
    margin: 0;
    line-height: 1.6;
    color: var(--tty-text-secondary);
}

/* More Questions Section */
.tty-refund-more-questions {
    text-align: center;
    margin-top: 40px;
    padding: 30px;
    background-color: var(--tty-text-light);
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.tty-refund-more-questions h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--tty-primary);
}

.tty-refund-more-questions p {
    margin-bottom: 25px;
    color: var(--tty-text-secondary);
}

.tty-refund-question-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.tty-refund-question-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: linear-gradient(135deg, var(--tty-primary) 0%, #00a896 100%);
  color: var(--tty-text-light) !important;
  text-decoration: none !important;
  border-radius: 6px;
  font-weight: 600 !important;
  transition: var(--tty-transition-normal);
  box-shadow: 0 4px 10px rgba(0, 95, 95, 0.2);
}

.tty-refund-question-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 95, 95, 0.3);
    color: var(--tty-text-light);
}

/* Dark theme aanpassingen */
[data-theme="dark"] .tty-refund-wrapper::before {
    opacity: 0.03;
}

[data-theme="dark"] .tty-refund-section {
    border-bottom-color: var(--tty-border-light);
}

/* Dark theme aanpassingen */
[data-theme="dark"] .tty-refund-wrapper::before {
    opacity: 0.03;
}

[data-theme="dark"] .tty-refund-section {
    border-bottom-color: var(--tty-border-light);
}

[data-theme="dark"] .tty-refund-faq-item,
[data-theme="dark"] .tty-refund-more-questions {
    background-color: var(--tty-bg-tertiary);
}

/* Responsive Design */
@media (max-width: 992px) {
    .tty-refund-container {
        flex-direction: column;
    }
    
    .tty-refund-sidebar {
        position: relative;
        top: 0;
    }
    
    .tty-refund-banner {
        flex-direction: column;
    }
    
    .tty-refund-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .tty-refund-wrapper::before {
        display: none;
    }
    
    /* Banner sectie */
    .tty-refund-banner {
        margin-top: 20px;
    }
    
    .tty-refund-section h2 {
        font-size: 28px;
        line-height: 32px;
    }
    
    .tty-refund-block {
        padding: 20px 15px;
    }
    
    .tty-refund-question-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .tty-refund-question-button {
        width: 100%;
        justify-content: center;
    }
    
    .tty-refund-faq-question {
        padding: 15px;
    }
    
    .tty-refund-faq-item.active .tty-refund-faq-answer {
        padding: 0 15px 15px 15px;
    }
}

@media (max-width: 576px) {
    .tty-refund-section h2 {
        font-size: 26px;
    }
    
    .tty-refund-content-main ul li {
        padding-left: 20px;
    }
}

/* Print styles */
@media print {
    .tty-refund-sidebar {
        display: none;
    }
    
    .tty-refund-content-main {
        width: 100%;
    }
    
    .tty-refund-banner {
        background-color: transparent;
    }
    
    .tty-refund-question-buttons {
        display: none;
    }
    
    .tty-refund-faq-answer {
        max-height: none !important;
        padding: 15px 20px !important;
    }
}