.photobook-btn-dark {
    padding: 4px 24px;
    background-color: #000000 !important;
    color: #ffffff !important;
    cursor: pointer;
    text-transform: uppercase;
    border: none;
    border-radius: 20px;
    min-width: unset !important;
    text-decoration: none !important;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.5;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.4);
}

.photobook-btn-dark:hover {
    transform: translateY(-1px);
    box-shadow: 0 9px 30px rgba(0, 0, 0, 0.55);
}
.photobook-btn-outline-dark {
    padding: 4px 24px;
    color: #000000;
    background-color: #ffffff;
    border: 1px solid #000000;
    cursor: pointer;
    text-transform: uppercase;
    border-radius: 20px;
    min-width: unset !important;
    text-decoration: none !important;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.5;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.2);
}

.photobook-btn-outline-dark:hover {
    background-color: #000000;
    color: #ffffff;
}

.photobook-modal-preview .modal-content {
    background-color: #f9f9f9;
}

.photobook-modal-preview .modal-content.full-screen {
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    border-radius: 0;
}

.photobook-modal-preview .modal-content.full-screen .modal-body {
    max-height: calc(100% - 46px);
}
.modal.photobook-modal-config {
    background-color: rgb(159 151 151 / 30%);
}
.photobook-modal-config.show {
    display: block;
}

.photobook-modal-config .modal-content {
    height: 560px;
    overflow: unset !important;
    background-color: #fff;
}

.photobook-modal-preview .modal-header-extend,
.photobook-modal-config .modal-header-extend {
    top: -10px;
    transform: translate(-50%, -100%);
    left: 50%;
    background: #000000;
    padding: 4px 12px;
    min-width: 50%;
    text-align: center;
    border-radius: 30px;
    color: #ffffff;
}

.photobook-modal-preview .modal-content,
.photobook-modal-config .modal-content {
    border-radius: 30px;
}
.photobook-modal-config .modal-footer:before,
.photobook-modal-config .modal-footer:after,
.photobook-modal-preview .modal-footer:before,
.photobook-modal-preview .modal-footer:after {
    display: none !important;
}

.photobook-modal-preview .modal-footer {
    border-top: none;
    justify-content: space-between;
}

.modal-backdrop {
    opacity: 0 !important;
}

.photobook-modal-preview .carousel-inner {
    padding-left: 50px;
    padding-right: 50px;
}

.photobook-carousel-control {
    position: absolute;
    top: 50%;
    font-weight: 800;
    display: flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border: 2px solid #000;
    border-radius: 50%;
    padding: 0;
    color: #000 !important;
    background-color: #ffffff00 !important;
}

.photobook-carousel-control-prev {
    left: 0;
}

.photobook-carousel-control-next {
    right: 0;
}

.photobook-modal-preview .carousel-item {
    width: 100%;
    height: 0;
    padding-bottom: 50%;
    position: relative;
}

.photobook-modal-preview .carousel-item img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    object-fit: contain;
}

.photobook-nav-tabs {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.photobook-nav-tabs .photobook-nav-item {
    margin: 0px 40px;
}

.photobook-nav-tabs .photobook-nav-item .photobook-nav-link {
    font-size: 20px;
    color: #919191;
    padding: 0;
    background-color: unset;
    border: none;
    font-weight: 500;
    background-color: #ffffff00 !important;
}

.photobook-nav-tabs .photobook-nav-item .photobook-nav-link.active {
    color: #000000;
}

.photobook-tab-content .photobook-tab-pane {
    display: none;
}

.photobook-tab-content .photobook-tab-pane.active {
    display: block;
}

.thumbnail-img {
    margin: 4px 10px;
    background-color: rgb(255, 255, 255);
    width: 160px;
    cursor: pointer;
    border-radius: 10px !important;
    overflow: hidden;
    flex-shrink: 0;
}

.thumbnail-img:hover,
.thumbnail-img.active {
    border-color: #007bff;
}

.thumbnail-img.active {
    border: 3px solid #49a84c !important;
}
.thumbnail-img img {
    width: 100%;
    height: 76px !important;
    object-fit: contain;
}

.my-plan-preview {
    height: 100%;
}

.nbd-nav {
    padding: 10px 0;
    border-top: 1px solid #dfe2e6;
    text-align: right;
}

.btn-config {
    border: none;
    background-color: #ffffff00 !important;
    padding: 0;
    text-transform: uppercase;
}

.photobook-loading {
    width: 100%;
    height: 100%;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nbd-radio-wrap {
    display: flex;
    position: relative;
}

.nbd-field-header label {
    font-size: unset !important;
    justify-content: unset !important;
}

.photobook-modal-config .btn-close {
    background-color: unset !important;
    border: unset !important;
}

.photobook-modal-config .nbo-group-timeline-container {
    max-height: 40px;
    margin-bottom: 20px;
}

.photobook-modal-config .nbo-group-timeline-wrap:before,
.photobook-modal-config .nbo-group-timeline-wrap:after {
    top: 50% !important;
}

.photobook-modal-config .nbo-group-timeline-line {
    top: 50% !important;
}

.photobook-modal-config .nbo-group-body {
    border: none !important;
    background-color: #ffff !important;
    padding: 10px !important;
}

.photobook-modal-config .nbd-option-field {
    border: none;
    padding-bottom: 8px;
    background-color: #ffff !important;
    margin-bottom: 4px;
}
.photobook-modal-config .nbo-group-wrap .nbo-group-body .nbd-option-field:not(:last-child) {
    border-bottom: 2px solid #d8d8d8;
}
.photobook-modal-config .nbd-field-header:after {
    display: none;
}
.photobook-modal-config .nbd-field-header {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #999;
    white-space: nowrap;
}
.photobook-modal-config .nbd-field-header .nb-price {
    font-weight: 400 !important;
    color: #999;
    display: flex;
    align-items: center;
    gap: 4px;
    line-height: 1;
    font-size: 11px;
    white-space: nowrap;
    text-transform: lowercase;
}
.photobook-modal-config .nbd-field-header .nb-discount-price {
    flex-direction: column;
    align-items: end;
}
.photobook-modal-config .nbd-field-header .nbd-field-title {
    display: block;
    line-height: 1;
}

.photobook-modal-config .modal-footer {
    border-top: none;
    justify-content: space-between;
}
.photobook-modal-config .modal-footer .nb-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.photobook-modal-config .modal-footer .nb-sub-total {
    font-weight: 700;
    text-transform: uppercase;
}

.photobook-modal-config .nbd-field-content {
    padding: 4px 0;
}

.photobook-modal-config .nbd-option-field select,
.photobook-modal-config .nbd-option-field input[type="text"],
.photobook-modal-config .nbd-option-field input[type="number"] {
    padding: 4px 10px;
    border-radius: 20px;
    background-color: #ffffff;
    box-shadow: 0px 0px 3px 1px rgba(81, 81, 81, 0.125);
}
.photobook-modal-config .nbd-option-field select,
.photobook-modal-config .nbd-option-field input[type="text"] {
    min-width: 300px;
}
.photobook-modal-config .nbd-option-field input[type="number"] {
    min-width: 64px;
}

/*.photobook-modal-config .nbd-field-content input:checked+label:before,
.photobook-modal-config .nbd-field-content input:checked+label:after {
    display: none;
}*/

.photobook-modal-config .nbd-field-content label:after,
.photobook-modal-config .nbd-field-content label:before {
    display: none;
}
.photobook-modal-config .nbd-field-content label {
    padding-left: 0 !important;
}
.photobook-modal-config .nbd-field-content input {
    border: none !important;
}
.photobook-modal-config .nbo-group-timeline-wrap:after,
.photobook-modal-config .nbo-group-timeline-wrap:before {
    display: none !important;
}

.nbd-advanced-label-field {
    height: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 0 !important;
}
.nbd-advanced-label-field .nbd-advanced-label-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
}
.nbd-advanced-label-field .nbd-advanced-label-content .nbd-advanced-label-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    width: 100%;
}
.nbd-advanced-label-field .nbd-advanced-label-content .nbd-advanced-label-wrapper .nbd-advanced-label-main {
    width: 100%;
    height: 100%;
}
.nbd-advanced-label-field .nbd-advanced-label-content .nbd-advanced-label-wrapper .nbd-advanced-label-main .nbd-advanced-label-main-inner {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}
.nbd-advanced-label-field .nbd-advanced-label-content .nbd-advanced-label-wrapper .nbd-advanced-label-main .nbd-advanced-label-main-inner img {
    width: auto;
    height: 100%;
    object-fit: cover;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 20px;
}
.nbd-advanced-label-nav-inner {
    margin-bottom: 10px;
}
.nbd-advanced-label-nav-item {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}
.nbd-advanced-label-nav-item.nbd-active {
    outline: 2px solid #000;
}
.nbd-advanced-label-action {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0 10px;
}
.nbd-advanced-label-action > span {
    font-weight: 500;
}
.nbd-advanced-label-action .photobook-btn-dark {
    padding-left: 36px;
    padding-right: 36px;
}
.nbd-field-header.nbd-field-header-al > label {
    display: flex;
    align-items: center;
}
.nbd-field-header.nbd-field-header-al .nbd-field-title {
    margin-right: 8px;
}
.nbd-field-header.nbd-field-header-al .nbd-advanced-label-prev {
    text-decoration: none;
    line-height: 1;
}

.nbd-label,
.nbo-sub-attr-l label {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 12px;
    line-height: 1;
    padding: 2px 0;
    transition: color 0.25s ease, transform 0.25s ease;
}
.nbd-label-item {
    position: relative;
}
.nbd-label-item::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -3px;
    height: 1px;
    background: transparent;
    transition: background 0.25s ease, transform 0.25s ease;
}
.nbd-label-item:hover {
    transform: translateY(-1px);
}
.nbd-label-item:has(input[type="radio"]:checked)::after {
    background: #000;
}
.nbd-label-wrap input[type="radio"]:checked + label,
.nbo-sub-attr-l input[type="radio"]:checked + label {
    font-weight: 700;
}
.nbd-label-wrap {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}
