/* Open Button */
.offcanvas-sidebar--trigger {
    position: fixed;
    top: 50%;
    right: 0;
    z-index: 9998;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 12px 20px;
    color: var(--calming-white);
    background: var(--warm-leather);
    border: none;
    border-radius: 8px 8px 0 0;
    font-family: var(--tenor);
    font-size: var(--text);
    cursor: pointer;
    white-space: nowrap;
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: bottom right;
    transition: all 0.3s ease;
}

.offcanvas-sidebar--trigger:hover {
    color: var(--calming-white);
    background: var(--honest-blue);
}

.offcanvas-sidebar--trigger .material-symbols-outlined {
    font-size: 20px;
}

.offcanvas-sidebar--trigger.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Sidebar container */
.offcanvas-sidebar--container {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 9999;
    height: 100dvh;
    background: var(--honest-blue);
    padding: var(--spacing-m);
    border: var(--border-ob35);
    border-radius: 12px 0 0 12px;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    box-sizing: border-box;
}

.offcanvas-sidebar--container.is-active {
    transform: translateX(0);
}

.offcanvas-sidebar--panel {
    position: relative;
    width: 360px;
    height: 100%;
    color: var(--calming-white);
    overflow-y: auto;
}

.offcanvas-sidebar--content {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: var(--spacing-m);
    background: rgba(var(--calming-white-rgb), 0.06);
    border-radius: 12px 0 0 12px;
}

.offcanvas-sidebar--close {
    position: absolute;
    top: var(--spacing-m);
    right: var(--spacing-m);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: var(--oxford-blue);
    background: none;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.offcanvas-sidebar--close:hover {
    color: var(--calming-white);
}

.offcanvas-sidebar--close .material-symbols-outlined {
    font-size: 28px;
}

.offcanvas-sidebar--eyebrow {
    display: block;
    font-family: var(--tenor);
    font-size: var(--text-lg);
    color: var(--oxford-blue);
}

.offcanvas-sidebar--phone {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.offcanvas-sidebar--phone-label {
    font-size: var(--text);
    color: var(--oxford-blue);
}

.offcanvas-sidebar--divider {
    width: 100%;
    height: 1px;
    background: rgba(var(--calming-white-rgb), 0.2);
}

.offcanvas-sidebar--list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-s);
    padding: 0;
    margin: var(--spacing-m) 0 0;
    list-style: none;
}

.offcanvas-sidebar--list li {
    position: relative;
    padding-left: 20px;
    color: var(--white);
}

.offcanvas-sidebar--list li::before {
    content: "circle";
    position: absolute;
    top: 8px;
    left: 0;
    font-family: "Material Symbols Outlined";
    font-size: 8px;
    line-height: 1;
    color: var(--warm-leather);
    font-variation-settings:
        'FILL' 1,
        'wght' 400,
        'GRAD' 0,
        'opsz' 24;
}

.offcanvas-sidebar--cta {
    width: 100%;
    justify-content: center;
    margin-top: auto;
}

/**********************************************/
/******************* Mobile *******************/
/**********************************************/
@media (max-width: 767px) {
    .offcanvas-sidebar--trigger,
    .offcanvas-sidebar--container {
        display: none;
    }
}