/* ===== PREMIUM ACCORDION ===== */
.product.data.items {
    width: 100%;
}

/* ITEM */
.product.data.items > .data.item {
    margin-bottom: 12px;
}

/* HEADER */
.product.data.items > .data.item.title > .data.switch {
    display: flex;
    justify-content: space-between;
    align-items: center;       /* center verticaal */
    width: 100%;
    padding: 16px 20px;       /* fijne spacing */
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-weight: 600;
    color: #1a2740;
    cursor: pointer;
    transition: all 0.25s ease;
    line-height: 1.3;         /* text vertical spacing */
}

/* Hover = subtle premium feel */
.product.data.items > .data.item.title > .data.switch:hover {
    background: #eef2f7;
    transform: translateY(-1px);
}

/* ACTIVE */
.product.data.items > .data.item.title.active > .data.switch {
    background: #ffffff;
    border-color: #e8552a;
    color: #e8552a;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

/* ===== ICON (CHEVRON STYLE) ===== */
.product.data.items > .data.item.title > .data.switch::after {
    content: "";
    width: 10px;
    height: 10px;
    border-right: 2px solid #9aa5b4;
    border-bottom: 2px solid #9aa5b4;
    transform: rotate(45deg);
    transition: all 0.25s ease;
    margin-left: 10px;
    align-self: center; /* center chevron verticaal */
}

/* Rotate down when open */
.product.data.items > .data.item.title.active > .data.switch::after {
    transform: rotate(-135deg);
    border-color: #e8552a;
}

/* ===== CONTENT (REAL SLIDE EFFECT) ===== */
.product.data.items > .data.item.content {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    padding: 0 20px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-top: none;
    border-radius: 0 0 10px 10px;
    transition: 
        max-height 0.35s ease,
        opacity 0.25s ease,
        padding 0.25s ease;
}

/* OPEN STATE */
.product.data.items > .data.item.content.open {
    opacity: 1;
    padding: 20px;
}

/* ===== TABLE ===== */
.data.table.additional-attributes {
    width: 100%;
    border-collapse: collapse;
}

.data.table.additional-attributes tbody tr {
    border-bottom: 1px solid #e2e8f0;
    transition: background .15s;
}

.data.table.additional-attributes tbody tr:hover {
    background: #f4f6f8;
}

/* ===== MOBILE ===== */
@media (max-width: 767px) {
    .product.data.items > .data.item.title > .data.switch {
        padding: 16px;
    }

    .product.data.items > .data.item.content.open {
        padding: 18px;
    }
}