/**
 * Footer Mobile Styles - UPDATED
 * Gebaseerd op Figma design - Mobile versie
 * Breakpoint: < 1024px
 * 
 * SECTION 1: Product Categories (Accordion WITH toggle)
 * SECTION 2: Main Footer (Accordion)
 */

/* ============================================
   BASE FOOTER STYLES (Mobile First)
   ============================================ */

.site-footer {
    background: #ffffff;
    padding: 0;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.site-footer *,
.site-footer *::before,
.site-footer *::after {
    box-sizing: border-box;
}

.site-footer .inner {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* ============================================
   SECTION 1: PRODUCT CATEGORIES (Mobile)
   ============================================ */

.site-footer__categories {
    background: #f6f6f6;
    padding: 24px 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    display: none;
}

.site-footer__categories-column {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.site-footer__category-group {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid rgba(196, 196, 196, 0.5);
}

.site-footer__category-group:last-child {
    border-bottom: none;
}

/* Category Title - Accordion Header (Mobile only) */
.site-footer__category-title {
    color: #131313;
    font-size: 16px;
    line-height: 150%;
    font-weight: 400;
    margin: 0;
    padding: 14px 0 12px 0;
    cursor: pointer;
    user-select: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    background: transparent;
    border: none;
    text-align: left;
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-footer__category-title--link {
    color: #131313;
}

.site-footer__category-title--link:hover {
    color: #7a68ae;
}

/* Add arrow icon via CSS */
.site-footer__category-title::after {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    border-right: 2px solid #000000;
    border-bottom: 2px solid #000000;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
    margin-left: auto;
    flex-shrink: 0;
}

.site-footer__category-title.is-active::after {
    transform: rotate(-135deg);
}

/* Category List - Collapsible */
.site-footer__category-list {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.site-footer__category-group.is-active .site-footer__category-list {
    max-height: 500px;
    padding: 16px 0;
}

.site-footer__category-item {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    margin-bottom: 8px;
}

.site-footer__category-item:last-child {
    margin-bottom: 0;
}

.site-footer__category-item a {
    color: #131313;
    text-decoration: none;
    font-size: 14px;
    line-height: 150%;
    font-weight: 400;
    transition: color 0.3s ease;
}

.site-footer__category-item a:hover {
    color: #7a68ae;
}

/* Section divider */
.site-footer__section-divider {
    display: block;
    border: none;
    border-top: 1px solid #e0e0e0;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* ============================================
   SECTION 2: MAIN FOOTER (Mobile)
   ============================================ */

.site-footer__top-row {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 24px 0;
}

/* ============================================
   BRANDING / LOGO
   ============================================ */

.site-footer__branding {
    display: flex;
    flex-direction: row;
    gap: 0;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 0 0 24px 0;
    border-bottom: 1px solid rgba(196, 196, 196, 0.5);
}

.site-footer__logo {
    width: 226px;
    flex-shrink: 0;
}

/* ============================================
   GRID / COLUMNS (Accordion op Mobile)
   ============================================ */

.site-footer__grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: flex-start;
    justify-content: flex-start;
}

.site-footer__col {
    width: 100%;
    border-bottom: 1px solid rgba(196, 196, 196, 0.5);
}

.site-footer__col:last-child {
    border-bottom: none;
}

/* ============================================
   TOGGLE BUTTONS (Accordion Headers)
   ============================================ */

.site-footer__toggle {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 0 12px 0;
    background: transparent;
    border: none;
    border-bottom: none;
    cursor: pointer;
    text-align: left;
}

.site-footer__toggle .sample {
    color: #000000;
    font-size: 16px;
    line-height: 150%;
    font-weight: 400;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

/* Arrow Icon */
.site-footer__icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    position: relative;
    transition: transform 0.3s ease;
    display: block;
}

.site-footer__icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid #000000;
    border-bottom: 2px solid #000000;
    transform: translate(-50%, -70%) rotate(45deg);
    transition: transform 0.3s ease;
}

/* Active state - pijl naar boven */
.site-footer__toggle.is-active .site-footer__icon::before {
    transform: translate(-50%, -30%) rotate(-135deg);
}

/* ============================================
   COLLAPSIBLE CONTENT
   ============================================ */

.site-footer__content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0;
}

.site-footer__toggle.is-active ~ .site-footer__content {
    max-height: 500px;
}

.site-footer__content .text-content,
.site-footer__content .site-footer__nav {
    padding: 16px 0;
}

.site-footer__content .text-content {
    color: #131313;
    font-size: 16px;
    line-height: 150%;
    font-weight: 400;
}

.site-footer__content .text-content a {
    color: #131313;
    text-decoration: none;
}

.site-footer__content .text-content a:hover {
    text-decoration: underline;
}

.site-footer__content .text-content p {
    margin: 0 0 8px 0;
}

.site-footer__content .text-content p:last-child {
    margin-bottom: 0;
}


/* ============================================
   NAVIGATION LIST
   ============================================ */

.site-footer__nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.site-footer__nav li {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
}

.site-footer__nav a {
    color: #131313;
    font-size: 16px;
    line-height: 150%;
    font-weight: 400;
    text-decoration: none;
    opacity: 1;
    transition: opacity 0.2s ease;
}

.site-footer__nav a:hover {
    opacity: 0.7;
}

/* ============================================
   DIVIDER
   ============================================ */

.site-footer__divider {
    display: none; /* Hidden on mobile - accordion borders are enough */
}

/* ============================================
   BOTTOM SECTION
   ============================================ */

.site-footer__bottom {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 24px 0;
}

.site-footer__meta {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
}

/* Copyright */
.site-footer__copyright {
    color: #1f1f1f;
    font-size: 14px;
    line-height: 150%;
    font-weight: 400;
}

/* Legal Links - verticaal op mobile */
.site-footer__legal {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
}

.site-footer__legal a {
    color: #1f1f1f;
    font-size: 14px;
    line-height: 150%;
    font-weight: 400;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.site-footer__legal a:hover {
    opacity: 0.7;
}

/* Credits */
.site-footer__credits {
    color: #1f1f1f;
    font-size: 14px;
    line-height: 150%;
    font-weight: 400;
}

.site-footer__credits a {
    color: #1f1f1f;
    text-decoration: none;
}

.site-footer__credits a:hover {
    text-decoration: underline;
}

/* Social Links */
.site-footer__social {
    display: flex;
    flex-direction: row;
    gap: 28px;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.site-footer__social a {
    display: flex;
    flex-shrink: 0;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.site-footer__social a:hover {
    opacity: 0.7;
}

.site-footer__social svg,
.site-footer__social img {
    width: 24px;
    height: 24px;
    fill: #1f1f1f;
}

/* ============================================
   DISCLAIMER
   ============================================ */

.site-footer__disclaimer {
    color: #1f1f1f;
    font-size: 12px;
    line-height: 150%;
    font-weight: 400;
    text-align: left;
    width: 100%;
}