.modal-content, .customization-modal__content {
    position: relative;
    padding-top: 70px;
    max-height: 100vh;
    overflow-y: auto;
}

.customization-drawer {
    display: none;
    position: absolute;
    top: 0;
    bottom: 70px;
    right: 0;
    width: 536px;
    max-height: calc(100% - 70px);
    background-color: #fff;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease-in-out, right 0.3s ease-in-out;
    z-index: 1050;
    overflow-y: auto;

    /* Hide by default using transform (mobile and desktop use different directions) */
    transform: translateX(100%);
}

.customization-drawer.open {
    transform: translateX(0);
}

.customization-drawer__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.3);
    display: none; /* Hidden by default */
    z-index: 1049;
}

.customization-drawer__overlay.show {
    display: block; /* Show when drawer is open */
}

.customization-drawer__close {
    background: none;
    border: none;
    font-size: 20px;
    line-height: 1;
    color: #999;
    cursor: pointer;
}

.customization-drawer__close:hover {
    color: #333;
}

.customization-drawer__header {
    display: flex;
    justify-content: space-between;
    padding: 16px;
    background-color: #f7f7f7;
    border-bottom: 1px solid #e5e5e5;
}

.customization-drawer__title {
    font-size: 16px;
    font-weight: 600;
}

.customization-drawer__body {
    padding: 16px;
}

/**
 * Accordion styles
**/
.identifier-summary-block {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 12px;
    border-bottom: 1px solid #ddd;
}

.customization-drawer__panel-heading {
    background-image: none !important;
}

.customization-drawer__section-title {
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 3rem;
    margin-bottom: 1rem;
}

.customization-drawer__panel {
    padding: 12px;
    border-radius: 6px;
    border: none;
    background-color: #f7f7f7;
}

.customization-drawer__panel-header {
    /* display: flex; */
    justify-content: space-between;
    font-size: 14px;
    font-weight: 600;
    background-image: none !important;
    /* background-color: #f7f7f7 !important; */
}

.customization-drawer__panel-summary {
    display:flex; 
    justify-content:space-between;
}

.customization-drawer__panel-title a {
    text-decoration: none;
    font-weight: 600;
}

.chevron {
    transition: transform 0.3s ease;
    color: #000;
}

.customization-drawer__panel-title a[aria-expanded="true"] .chevron {
    transform: rotate(180deg);
}

.customization-item-panel-body {
    padding: 0;   
}

.customization-drawer__item-list {
    color: #616161;
    padding-left: 30px;
    margin-top: 20px;
}

.customization-drawer__message {
    font-size: 16px;
    font-weight: 400;
    font-family: 'Roboto', sans-serif;
    line-height: 19.2px;
}


@media (max-width: 991px) {
    .customization-drawer {
        width: 100%;
        max-width: 100%;
        right: 0;
    }

    .customization-drawer__overlay {
        display: none; /* Hidden by default */
    }
}

@media (max-width: 767px) {

  .customization-drawer {
    left: 0;
    right: 0;
    top: auto;
    width: 100vw;
    height: 80vh;
    max-height: 80vh;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.2);
    bottom: -80vh; /* Start completely hidden */
    transition: bottom 3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .customization-drawer.open {
    bottom: 0;
  }
}