/* ============================================
   Price table page
   ============================================ */

.price-page {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 70px 90px 80px;
    box-sizing: border-box;
    color: #2f2f2f;
}

.price-title {
    text-align: center;
    font-size: 53px;
    font-weight: 500;
    color: #6c6c6c;
    margin-bottom: 28px;
}

.price-page--list {
    display: flex;
    flex-direction: column;
    align-items: center;
}


.price-list-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 36px;
    width: 100%;
    flex: 1;
    flex-wrap: wrap;
}

.price-list-card {
    width: 370px;
    height: 370px;
    border-radius: 50%;
    background: #1a2c55;
    color: #ffffff;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.18);
    transition: transform 0.3s ease;
}

.price-list-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.55);
    transition: transform 0.4s ease;
}

.price-list-label {
    position: relative;
    z-index: 1;
    font-size: 34px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.price-list-card:hover {
    transform: translateY(-6px);
}

.price-list-card:hover .price-list-image {
    transform: scale(1.04);
}

.price-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.price-submenu {
    display: flex;
    justify-content: center;
    gap: 26px;
    flex-wrap: wrap;
    font-size: 16px;
    color: #5c5c5c;
}

.price-submenu-item {
    color: inherit;
    text-decoration: none;
    font-weight: 500;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
}

.price-submenu-item.is-active {
    color: #2f2f2f;
    border-color: #2f2f2f;
}

.price-detail {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 40px;
    align-items: start;
}

.price-media {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

.price-slider {
    width: 340px;
    position: relative;
}

.price-slider-viewport {
    width: 340px;
    height: 580px;
    overflow: hidden;
    border-radius: 0;
    background: #f2f2f2;
    touch-action: pan-y;
}

.price-slider-track {
    display: flex;
    height: 100%;
    transition: transform 0.4s ease;
}

.price-slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f2f2f2;
}

.price-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.price-slide--empty {
    color: #7a7a7a;
    font-size: 14px;
    letter-spacing: 0.4px;
}

.price-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.45);
    color: #ffffff;
    cursor: pointer;
}

.price-slider-arrow.is-left {
    left: -14px;
}

.price-slider-arrow.is-right {
    right: -14px;
}

.price-slider-dots {
    position: absolute;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    gap: 6px;
    z-index: 2;
}

.price-slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
}

.price-slider-dot.is-active {
    background: #ffffff;
}

.price-data {
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-self: start;
    margin-top: -40px;
}

.price-table-title {
    background: #1a3d62;
    color: #ffffff;
    font-weight: 600;
    padding: 12px 16px;
    text-align: center;
    border-radius: 6px 6px 0 0;
}

.price-table--compact {
    box-shadow: none;
    border: 1px solid #8d8d8d;
}

.price-table--compact thead th {
    position: static;
}

.price-table--compact thead th {
    background: #727171;
    border-right: 1px solid rgba(255, 255, 255, 0.3);
}

.price-table--compact thead th:first-child {
    background: #727171;
}

.price-table--frame thead th {
    background: #727171;
}

.price-table--frame .price-color {
    background: #1a3d62;
    color: #ffffff;
    font-weight: 600;
}

.price-table--compact thead tr {
    border-bottom: 4px solid #898989;
}

.price-table--compact {
    border-bottom: 4px solid #898989;
}

.price-table--compact tbody td,
.price-table--compact tbody th {
    font-size: 14px;
    padding: 10px 8px;
}

.price-table-wrapper {
    height: 720px;
    overflow-y: auto;
    border: 1px solid #dadada;
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.08);
    background: #ffffff;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

.price-table thead th {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #173c63;
    color: #ffffff;
    font-weight: 600;
    padding: 14px 10px;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.price-table thead th:last-child {
    border-right: none;
}

.price-table.price-table--compact thead th {
    background: #727171;
}

.price-table tbody td,
.price-table tbody th {
    border: 1px solid #8d8d8d;
    padding: 12px 10px;
    text-align: center;
    background: #ffffff;
}

.price-table tbody th.price-product {
    background: #e6e6e6;
    font-weight: 400;
    min-width: 140px;
}

.price-table td.is-selected {
    background: #f9e6d2;
}

.price-table tbody tr + tr {
    border-top: 1px solid #b2b2b2;
}

.price-table tbody tr:first-child {
    border-top: none;
}

.price-table td.price-add {
    width: 80px;
}

.price-add-btn {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: none;
    background: #173c63;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
}


.price-back {
    position: absolute;
    left: 90px;
    bottom: 40px;
}

.price-cart {
    position: absolute;
    right: 90px;
    bottom: 40px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #173c63;
    color: #ffffff;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.price-page .right-nav {
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
}

.price-cart-icon {
    font-size: 22px;
}

.price-cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #f2c94c;
    color: #1c2e57;
    font-size: 12px;
    font-weight: 700;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.price-modal-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.35);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 50;
}

.price-modal-overlay.is-active {
    opacity: 1;
    pointer-events: auto;
}

.price-modal {
    width: 720px;
    max-width: calc(100% - 120px);
    background: #ffffff;
    border-radius: 16px;
    padding: 24px 30px 26px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    transform: translateY(10px);
    transition: transform 0.25s ease;
}

.price-modal-overlay.is-active .price-modal {
    transform: translateY(0);
}

.price-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.price-modal-title {
    font-size: 22px;
    font-weight: 700;
    color: #1c2e57;
}

.price-modal-close {
    border: none;
    background: none;
    font-size: 26px;
    cursor: pointer;
}

.price-modal-meta {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    margin-bottom: 18px;
    color: #3c3c3c;
}

.price-modal-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 18px;
    max-height: 340px;
    overflow-y: auto;
    padding-right: 8px;
}

.price-option {
    border: 1px solid #d3d3d3;
    border-radius: 12px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.price-option input {
    accent-color: #173c63;
}

.price-option.is-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.price-option-label {
    font-weight: 600;
    color: #2f2f2f;
}

.price-option-value {
    margin-left: auto;
    color: #6b6b6b;
}

.price-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

.price-modal-cancel,
.price-modal-submit {
    min-width: 120px;
    height: 42px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-weight: 600;
}

.price-modal-cancel {
    background: #e5e5e5;
    color: #3c3c3c;
}

.price-modal-submit {
    background: #173c63;
    color: #ffffff;
}
