.iphones-page-shell {
    max-width: 1540px;
    margin: 0 auto;
    padding: 108px 32px 0;
}

.iphones-page-hero {
    margin: 0 auto;
    text-align: center;
}

.iphones-page-title {
    margin: 0;
    color: #0b0b0f;
    font-family: "SF Pro Display", "SF Pro Icons", "AOS Icons", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
    font-size: 30px;
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: 0.1px;
    text-align: center;
}

.iphones-mobile-break-552 {
    display: none;
}

.iphones-page-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 22px 55px;
    width: min(100%, 1240px);
    margin: 72px auto 56px;
    padding-bottom: 56px;
    border-bottom: 1px solid #e4e4e7;
}

.iphones-page-grid-shell {
    position: relative;
}

.iphones-page-grid-controls,
.iphones-page-grid-control {
    display: none;
}

.iphones-page-card {
    width: 128px;
    min-height: 136px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    padding: 0;
    border: 0;
    background: transparent;
    appearance: none;
    text-decoration: none;
    color: #111111;
    transition: transform 0.2s ease, color 0.2s ease;
}

.iphones-page-card:hover,
.iphones-page-card:focus-visible {
    color: #0171e3;
    transform: translateY(-2px);
    outline: none;
}

.iphones-page-card-image-wrap {
    width: 60px;
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 3px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.iphones-page-card.is-active .iphones-page-card-title {
    color: #0171e3;
}

.iphones-page-card-image {
    width: 44px;
    height: 80px;
    display: block;
    object-fit: contain;
}

.iphones-page-card-title {
    color: inherit;
    font-family: "SF Pro Display", "SF Pro Icons", "AOS Icons", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.03em;
    text-align: center;
}

.iphones-page-divider {
    display: none;
}

.iphones-partners-section {
    margin: 72px auto 0;
    padding-top: 56px;
}

.iphones-partners-title {
    margin: 0 0 40px;
    color: #0b0b0f;
    font-family: "SF Pro Display", "SF Pro Icons", "AOS Icons", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
    font-size: 30px;
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.03em;
    text-align: center;
}

.iphones-partners-section .ibp-map-directory {
    max-width: 1240px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
    align-items: start;
}

.iphones-partners-section .ibp-world-map {
    margin: 0;
    min-height: clamp(260px, 30vw, 420px);
    display: flex;
    align-items: center;
}

.iphones-partners-section .ibp-world-map-image {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.iphones-partners-section .ibp-world-map.map-image {
    position: relative;
    display: grid;
    align-items: center;
}

.iphones-partners-section .ibp-world-map.map-image > img {
    grid-area: 1 / 1;
    width: 100%;
}

.iphones-partners-section .ibp-world-map.map-image > img:last-child {
    opacity: 0;
    animation: iphonesMapBlink 1.5s both infinite;
}

.iphones-partners-section .ibp-map-marker {
    display: none;
}

.iphones-partners-section .ibp-directory-list {
    width: 100%;
    max-width: none;
    align-content: center;
}

.iphones-partners-section .ibp-directory-card-main {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 12px;
}

.iphones-partners-section .ibp-directory-card-flags {
    justify-content: flex-start;
    gap: 8px;
    flex-wrap: nowrap;
}

.iphones-partners-section .ibp-directory-card {
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.iphones-partners-section .ibp-directory-card:hover,
.iphones-partners-section .ibp-directory-card:focus-within {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.1);
}

.iphones-partners-section .ibp-directory-card:hover::after,
.iphones-partners-section .ibp-directory-card:focus-within::after {
    border-color: transparent;
}

@media (min-width: 992px) {
    .iphones-partners-section .ibp-map-directory {
        grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
        gap: 28px;
        align-items: start;
    }

    .iphones-partners-section .ibp-world-map {
        width: 100%;
        max-width: none;
        margin: 0;
        min-height: clamp(260px, 28vw, 420px);
    }

    .iphones-partners-section .ibp-directory-list {
        align-content: start;
        margin: 0;
    }
}

.iphones-grading-showcase {
    width: min(100%, 1240px);
    margin: 56px auto 0;
}

.iphones-grading-shell {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(300px, 0.96fr);
    gap: 44px;
    align-items: center;
    padding: clamp(34px, 4vw, 54px);
    border-radius: 40px;
    overflow: hidden;
    background:
        radial-gradient(circle at 78% 18%, rgba(50, 119, 255, 0.16), transparent 26%),
        radial-gradient(circle at 88% 78%, rgba(255, 200, 87, 0.08), transparent 24%),
        #040404;
}

.iphones-grading-copy {
    position: relative;
    z-index: 1;
}

.iphones-grading-title {
    margin: 0;
    color: #ffffff;
    font-family: "SF Pro Display", "SF Pro Icons", "AOS Icons", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
    font-size: 30px;
    font-weight: 500;
    line-height: 1.05;
}

.iphones-grading-description {
    max-width: 650px;
    margin: 22px 0 0;
    color: white;
    font-size: 15px;
    line-height: 1.6;
}

.iphones-grading-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.iphones-grading-tab {
    min-width: 138px;
    padding: 13px 22px;
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: #1a1a1a;
    color: #ffffff;
    font-family: "SF Pro Display", "SF Pro Icons", "AOS Icons", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.iphones-grading-tab:hover,
.iphones-grading-tab:focus-visible {
    border-color: rgba(50, 119, 255, 0.72);
    transform: translateY(-1px);
    outline: none;
}

.iphones-grading-tab.is-active {
    border-color: #3277ff;
    background: linear-gradient(180deg, rgba(44, 44, 44, 0.96), rgba(24, 24, 24, 0.96));
    box-shadow: inset 0 0 0 1px rgba(50, 119, 255, 0.35);
}

.iphones-grading-panels {
    margin-top: 34px;
}

.iphones-grading-panel[hidden] {
    display: none !important;
}

.iphones-grading-stars {
    display: flex;
    gap: 8px;
    align-items: center;
}

.iphones-grading-star {
    font-size: 30px;
    color: #FFC400;
    line-height: 1;
}

.iphones-grading-star.is-filled {
    color: #FFC400;
}

.iphones-grading-star.is-empty {
    color: rgba(255, 196, 0, 0.24);
}

.iphones-grading-list {
    list-style: none;
    margin: 24px 0 0;
    padding: 0;
    display: grid;
    gap: 18px;
}

.iphones-grading-list li {
    position: relative;
    padding-left: 24px;
    color: white;
    font-size: 15px;
    line-height: 1.5;
}

.iphones-grading-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.78em;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #3277ff;
    transform: translateY(-50%);
}

.iphones-grading-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 520px;
}

.iphones-grading-device-stack {
    width: min(100%, 545px);
    display: flex;
    justify-content: center;
    align-items: center;
}

.iphones-grading-device-single {
    display: block;
    width: min(100%, 545px);
    max-width: 100%;
    height: auto;
    max-height: 651px;
    aspect-ratio: 545 / 651;
    object-fit: contain;
    filter: drop-shadow(0 24px 38px rgba(0, 0, 0, 0.42));
}

@keyframes iphonesMapBlink {
    0%,
    100% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
}

.iphones-builder-section {
    position: relative;
    z-index: 12;
    isolation: isolate;
    max-width: 900px;
    margin: 0 auto 48px;
}

.iphones-builder-picker {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 28px;
}

.iphones-builder-card {
    min-height: 172px;
    padding: 14px 12px 10px;
    border: 1.5px solid transparent;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.iphones-builder-card:hover,
.iphones-builder-card:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(1, 113, 227, 0.45);
    box-shadow: 0 14px 32px rgba(1, 113, 227, 0.12);
    outline: none;
}

.iphones-builder-card.is-selected {
    border-color: #66a3ff;
    box-shadow: 0 -10px 17px rgba(1, 113, 227, 0.16);
}

.iphones-builder-card-media {
    min-height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.iphones-builder-card-image {
    width: 99px;
    height: 204px;
    display: block;
    object-fit: contain;
}

.iphones-builder-card-title {
    color: #111111;
    font-family: "SF Pro Display", "SF Pro Icons", "AOS Icons", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.03em;
    text-align: center;
}

.iphones-builder-controls {
    position: relative;
    z-index: 2;
    overflow: visible;
    padding: 22px 34px 28px;
    margin-bottom: 40px;
    border-radius: 20px;
    background: #F9F9F9 0% 0% no-repeat padding-box;
    /* box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06); */
}

.iphones-builder-controls-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    align-items: start;
}

.iphones-builder-field {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.iphones-builder-label {
    margin-bottom: 8px;
    color: #1f1f23;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
}

.iphones-builder-select,
.iphones-quote-currency-select {
    width: 100%;
    min-height: 54px;
    padding: 0 48px 0 18px;
    border: 1px solid #d9dce3;
    border-radius: 10px;
    background-color: #ffffff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='12' viewBox='0 0 18 12'%3E%3Cpath d='M2 2.25L9 9.25L16 2.25' fill='none' stroke='%23252525' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-position: right 12px center;
    background-repeat: no-repeat;
    appearance: none;
    color: #111111;
    font-weight: 600;
    line-height: 1;
}

.iphones-builder-select,
.iphones-builder-select option {
    font-size: 16px;
}

.iphones-builder-select:focus,
.iphones-quote-currency-select:focus {
    border-color: #66a3ff;
    box-shadow: 0 0 0 4px rgba(1, 113, 227, 0.12);
    outline: none;
}

.iphones-builder-native-select {
    display: none;
}

.iphones-builder-dropdown {
    position: relative;
    z-index: 1;
    width: 100%;
}

.iphones-builder-dropdown.is-open {
    z-index: 40;
}

.iphones-builder-dropdown-trigger {
    width: 100%;
    min-height: 54px;
    padding: 0 48px 0 18px;
    border: 1px solid #d9dce3;
    border-radius: 10px;
    background-color: #ffffff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='12' viewBox='0 0 18 12'%3E%3Cpath d='M2 2.25L9 9.25L16 2.25' fill='none' stroke='%23252525' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-position: right 12px center;
    background-repeat: no-repeat;
    color: #111111;
    font-family: "SF Pro Display", "SF Pro Icons", "AOS Icons", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.iphones-builder-dropdown-trigger:hover,
.iphones-builder-dropdown.is-open .iphones-builder-dropdown-trigger,
.iphones-builder-dropdown-trigger:focus-visible {
    border-color: #66a3ff;
    box-shadow: 0 0 0 4px rgba(1, 113, 227, 0.12);
    outline: none;
}

.iphones-builder-dropdown.is-disabled .iphones-builder-dropdown-trigger,
.iphones-builder-dropdown-trigger:disabled {
    color: #8c8c93;
    background-color: #f4f5f7;
    border-color: #dfe3e8;
    box-shadow: none;
    cursor: not-allowed;
}

.iphones-builder-dropdown.is-disabled .iphones-builder-dropdown-trigger:hover,
.iphones-builder-dropdown.is-disabled .iphones-builder-dropdown-trigger:focus-visible {
    border-color: #dfe3e8;
    box-shadow: none;
    transform: none;
}

.iphones-builder-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    z-index: 30;
    padding: 8px;
    border: 1px solid rgba(217, 220, 227, 0.92);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 22px 44px rgba(15, 23, 42, 0.16);
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
    transform-origin: top center;
    pointer-events: none;
    max-height: 240px;
    overflow-y: auto;
    transition: opacity 0.18s ease, transform 0.18s ease;
    backdrop-filter: blur(10px);
}

.iphones-builder-dropdown.is-open .iphones-builder-dropdown-menu {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.iphones-builder-dropdown--quantity .iphones-builder-dropdown-menu {
    max-height: none;
}

.iphones-builder-dropdown-option {
    width: 100%;
    min-height: 44px;
    padding: 10px 14px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #111111;
    font-family: "SF Pro Display", "SF Pro Icons", "AOS Icons", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.2;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.18s ease, color 0.18s ease;
}

.iphones-builder-dropdown-option:hover,
.iphones-builder-dropdown-option:focus-visible,
.iphones-builder-dropdown-option.is-selected {
    background: rgba(1, 113, 227, 0.08);
    color: #0071e3;
    outline: none;
}

.iphones-builder-dropdown-rates {
    margin-top: 8px;
    padding-top: 10px;
    border-top: 1px solid rgba(217, 220, 227, 0.92);
}

.iphones-builder-dropdown-rates-label {
    margin: 0 0 8px;
    color: #6f7482;
    font-family: "SF Pro Display", "SF Pro Icons", "AOS Icons", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.iphones-builder-dropdown-rates-list {
    display: grid;
    gap: 6px;
}

.iphones-builder-dropdown-rates-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 10px;
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.03);
}

.iphones-builder-dropdown-rates-item.is-active {
    background: rgba(1, 113, 227, 0.08);
}

.iphones-builder-dropdown-rates-code,
.iphones-builder-dropdown-rates-value {
    color: #111111;
    font-family: "SF Pro Display", "SF Pro Icons", "AOS Icons", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
    font-size: 12px;
    line-height: 1.2;
    white-space: nowrap;
}

.iphones-builder-dropdown-rates-code {
    font-weight: 700;
    letter-spacing: 0.04em;
}

.iphones-builder-dropdown-rates-value {
    font-weight: 600;
}

.iphones-builder-dropdown-custom {
    margin-top: 8px;
    padding-top: 10px;
    border-top: 1px solid rgba(217, 220, 227, 0.92);
}

.iphones-builder-dropdown-custom-label {
    margin: 0 0 8px;
    color: #6f7482;
    font-family: "SF Pro Display", "SF Pro Icons", "AOS Icons", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.iphones-builder-dropdown-custom-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
}

.iphones-builder-dropdown-custom-input {
    width: 100%;
    min-height: 42px;
    padding: 0 12px;
    border: 1px solid #d9dce3;
    border-radius: 10px;
    background: #ffffff;
    color: #111111;
    font-family: "SF Pro Display", "SF Pro Icons", "AOS Icons", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
}

.iphones-builder-dropdown-custom-input:focus {
    border-color: #66a3ff;
    box-shadow: 0 0 0 4px rgba(1, 113, 227, 0.12);
    outline: none;
}

.iphones-builder-dropdown-custom-button {
    min-width: 72px;
    min-height: 42px;
    padding: 0 14px;
    border: 0;
    border-radius: 10px;
    background: #0071e3;
    color: #ffffff;
    font-family: "SF Pro Display", "SF Pro Icons", "AOS Icons", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.18s ease, transform 0.18s ease;
}

.iphones-builder-dropdown-custom-button:hover,
.iphones-builder-dropdown-custom-button:focus-visible {
    background: #005fbe;
    transform: translateY(-1px);
    outline: none;
}

.iphones-quote-currency-cell .iphones-builder-dropdown {
    width: 96px;
}

.iphones-quote-currency-cell .iphones-builder-dropdown-trigger {
    min-height: 36px;
    width: 96px;
    padding: 0 34px 0 12px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
}

.iphones-quote-currency-cell .iphones-builder-dropdown-menu {
    top: auto;
    bottom: calc(100% + 10px);
    left: auto;
    right: 0;
    min-width: 188px;
    max-height: none;
    transform-origin: bottom right;
}

.iphones-builder-note {
    margin: 10px 0 0;
    color: #97979d;
    font-size: 16px;
    font-style: italic;
    line-height: 1.4;
}

.iphones-builder-divider {
    height: 1px;
    margin: 16px 0 20px;
    background: #dedee2;
}

.iphones-builder-selected {
    max-width: 520px;
}

.iphones-builder-selected.is-hidden {
    display: none;
}

.iphones-builder-selected-label {
    margin: 0 0 6px;
    color: #121214;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.3;
}

.iphones-builder-selected-title {
    margin: 0;
    color: #101011;
    font-family: "SF Pro Display", "SF Pro Icons", "AOS Icons", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.iphones-builder-selected-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0 20px;
}

.iphones-builder-meta-chip {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 6px 14px;
    border-radius: 8px;
    background: #ededf0;
    color: #252528;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
}

.iphones-builder-selected-price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 18px;
}

.iphones-builder-selected-total {
    color: #0071e3;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
}

.iphones-builder-selected-unit {
    color: #0071e3;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
}

.iphones-builder-selected-note {
    margin: 0 0 22px;
    color: #18181b;
    font-size: 16px;
    font-style: italic;
    line-height: 1.45;
}

.iphones-builder-action {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

.iphones-builder-add-button {
    width: 160px;
    min-height: 45px;
    border: 0;
    border-radius: 12px;
    background: #1173e6;
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: -0.03em;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.iphones-builder-add-button:hover,
.iphones-builder-add-button:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(46, 111, 219, 0.24);
    outline: none;
}

.iphones-builder-add-button:disabled {
    background: #9ebfe8;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.iphones-quote-panel {
    padding: 20px 20px 12px;
    border: 1.5px solid #8cb6ff;
    border-radius: 16px;
    background: #ffffff;
}

.iphones-quote-panel.is-hidden {
    display: none;
}

.iphones-quote-table {
    overflow: visible;
}

.iphones-quote-head,
.iphones-quote-row {
    min-width: 680px;
    display: grid;
    grid-template-columns: minmax(280px, 1.8fr) 96px 128px 128px 28px;
    align-items: center;
    gap: 18px;
}

.iphones-quote-head {
    position: relative;
    z-index: 5;
    padding: 0 14px 12px;
    color: #141414;
    font-size: 16px;
    font-weight: 700;
}

.iphones-quote-currency-cell {
    display: flex;
    justify-content: flex-start;
}

.iphones-quote-currency-select {
    min-height: 36px;
    max-width: 96px;
    padding: 0 34px 0 12px;
    font-size: 16px;
    font-weight: 600;
}

.iphones-quote-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.iphones-quote-row {
    padding: 14px;
    border-radius: 10px;
    background: #f7f7f8;
}

.iphones-quote-cell {
    color: #3a3a3f;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.35;
    justify-self: start;
    text-align: left;
}

.iphones-quote-cell-model {
    color: #202024;
}

.iphones-quote-cell-qty {
    display: flex;
    justify-content: flex-start;
}

.iphones-quote-qty-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 54px;
    min-height: 32px;
    padding: 4px 12px;
    border-radius: 6px;
    background: #ececef;
    color: #232326;
    font-size: 15px;
    font-weight: 600;
}

.iphones-quote-cell-price,
.iphones-quote-cell-total {
    color: #2a2a2f;
}

.iphones-quote-remove {
    border: 0;
    background: transparent;
    color: #d94747;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    transition: transform 0.2s ease, color 0.2s ease;
}

.iphones-quote-remove:hover,
.iphones-quote-remove:focus-visible {
    color: #bf2f2f;
    transform: scale(1.06);
    outline: none;
}

.iphones-quote-summary {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 12px 4px;
}

.iphones-quote-summary-item {
    color: #151517;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
}

#iphones-total-qty,
#iphones-total-price {
    font-weight: 700;
}

.iphones-quote-summary-price {
    text-align: right;
}

.iphones-builder-signoff {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 900px;
    margin: 7% auto;
    text-align: center;
}

.iphones-builder-signoff-text {
    margin: 0;
    color: #111111;
    max-width: 590px;
    font-family: "SF Pro Display", "SF Pro Icons", "AOS Icons", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
    font-size: 48px;
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: 0;
    text-align: center;
}

.iphones-builder-signoff-image {
    width: 703px;
    max-width: 100%;
    height: 50px;
    margin-top: 50px;
    display: block;
    object-fit: contain;
}

@media (max-width: 991px) {
    .iphones-page-shell {
        padding: 88px 24px 48px;
    }

    .iphones-page-grid {
        gap: 34px 24px;
        margin: 84px auto 68px;
    }

    .iphones-page-card {
        width: 120px;
        min-height: 128px;
        gap: 10px;
    }

    .iphones-page-card-title {
        font-size: 13px;
    }

    .iphones-partners-section {
        margin-top: 64px;
        padding-top: 48px;
    }

    .iphones-partners-title {
        margin-bottom: 32px;
        font-size: 28px;
    }

    .iphones-partners-section .ibp-map-directory {
        gap: 28px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .iphones-builder-controls {
        padding: 30px 22px 30px;
    }

    .iphones-builder-controls-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .iphones-builder-selected-title {
        font-size: 20px;
    }

    .iphones-quote-head,
    .iphones-quote-row {
        min-width: 620px;
        gap: 14px;
    }

    .iphones-builder-signoff {
        margin-bottom: 40px;
    }

    .iphones-builder-signoff-text {
        font-size: 40px;
    }

    .iphones-grading-shell {
        gap: 32px;
        grid-template-columns: minmax(0, 1fr) minmax(260px, 0.85fr);
    }

    .iphones-grading-visual,
    .iphones-grading-device-stack {
        min-height: 420px;
    }

    .iphones-grading-device-stack {
        width: min(100%, 360px);
    }

    .iphones-grading-device-single {
        width: min(100%, 360px);
        max-height: 430px;
    }

    .iphones-grading-device-stack.is-mobile-grade-large {
        width: min(100%, 410px);
    }

    .iphones-grading-device-single.is-mobile-grade-large {
        width: min(100%, 410px);
        max-height: 500px;
    }
}

@media (max-width: 640px) {
    .iphones-page-shell {
        padding: 72px 20px 40px;
    }

    .iphones-page-title {
        font-size: 18px;
    }

    .iphones-partners-section {
        margin-top: 52px;
        padding-top: 36px;
    }

    .iphones-partners-title {
        margin-bottom: 24px;
        font-size: 24px;
    }

    .iphones-partners-section .ibp-map-directory {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .iphones-partners-section .ibp-world-map {
        min-height: auto;
    }

    .iphones-page-grid {
        gap: 18px 12px;
        margin: 48px auto 36px;
    }

    .iphones-page-card {
        width: calc(50% - 8px);
        min-width: 110px;
        min-height: 120px;
    }

    .iphones-page-card-title {
        font-size: 13px;
    }

    .iphones-builder-section {
        margin-bottom: 56px;
    }

    .iphones-builder-picker {
        grid-template-columns: 1fr;
    }

    .iphones-builder-card {
        min-height: 156px;
        padding: 14px 12px 10px;
    }

    .iphones-builder-card-media {
        min-height: 92px;
    }

    .iphones-builder-card-image {
        max-height: 88px;
    }

    .iphones-builder-controls {
        padding: 18px 16px 20px;
    }

    .iphones-builder-controls-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .iphones-builder-label {
        font-size: 18px;
    }

    .iphones-builder-select,
    .iphones-builder-dropdown-trigger,
    .iphones-quote-currency-select {
        min-height: 48px;
    }

    .iphones-builder-select,
    .iphones-builder-dropdown-trigger,
    .iphones-builder-select option {
        font-size: 15px;
    }

    .iphones-builder-selected-title {
        font-size: 18px;
    }

    .iphones-builder-selected-meta {
        gap: 6px;
        margin-bottom: 30px 0;
    }

    .iphones-builder-meta-chip {
        font-size: 16px;
    }

    .iphones-builder-selected-price {
        /* flex-direction: column; */
        gap: 4px;
    }

    .iphones-builder-selected-note {
        font-size: 16px;
    }

    .iphones-builder-add-button {
        width: 100%;
        font-size: 18px;
    }

    .iphones-quote-panel {
        padding: 10px;
    }

    .iphones-quote-summary {
        /* flex-direction: column; */
        padding: 14px 8px 4px;
    }

    .iphones-quote-summary-price {
        text-align: left;
    }

    .iphones-builder-signoff {
        margin: 20% auto;
        margin-bottom: 32px;
    }

    .iphones-builder-signoff-text {
        max-width: 100%;
        font-size: 28px;
    }

    .iphones-builder-signoff-image {
        width: 100%;
        height: auto;
    }

    .iphones-grading-showcase {
        margin-top: 40px;
    }

    .iphones-grading-shell {
        display: flex;
        flex-direction: column;
        gap: 18px;
        padding: 50px 20px;
        border-radius: 28px;
    }

    .iphones-grading-copy {
        display: contents;
    }

    .iphones-grading-title {
        font-size: 30px;
        order: 1;
    }

    .iphones-grading-description {
        margin-top: 16px;
        font-size: 18px;
        order: 2;
    }

    .iphones-grading-tabs {
        gap: 10px;
        margin-top: 24px;
        order: 3;
    }

    .iphones-grading-tab {
        min-width: 0;
        padding: 12px 18px;
        font-size: 18px;
    }

    .iphones-grading-panels {
        margin-top: 24px;
        order: 5;
        width: 100%;
        align-self: stretch;
        text-align: left;
    }

    .iphones-grading-panel {
        width: 100%;
        text-align: left;
    }

    .iphones-grading-stars {
        justify-content: flex-start;
    }

    .iphones-grading-star {
        font-size: 24px;
    }

    .iphones-grading-list {
        margin-top: 18px;
        gap: 14px;
        justify-items: start;
    }

    .iphones-grading-list li {
        width: 100%;
        font-size: 18px;
        text-align: left;
    }

    .iphones-grading-visual,
    .iphones-grading-device-stack {
        min-height: 320px;
    }

    .iphones-grading-visual {
        order: 4;
        margin-top: -6px;
    }

    .iphones-grading-device-stack {
        width: min(100%, 240px);
        margin: 0 auto;
    }

    .iphones-grading-device-single {
        width: min(100%, 240px);
        max-height: 286px;
    }

    .iphones-grading-device-stack.is-mobile-grade-large {
        width: min(100%, 290px);
    }

    .iphones-grading-device-single.is-mobile-grade-large {
        width: min(100%, 290px);
        max-height: 348px;
    }
}

@media (max-width: 552px) {
    .iphones-mobile-break-552 {
        display: inline;
    }

    .iphones-page-shell {
        padding: 130px 20px 0px;
    }

    .iphones-page-hero {
        max-width: 340px;
    }

    .iphones-page-title {
        font-size: 30px;
        line-height: 1.18;
    }

    .iphones-page-grid-shell {
        width: 100%;
        margin: 40px 0 32px;
    }

    .iphones-page-grid[data-ibp-reveal],
    .iphones-page-grid[data-ibp-reveal].is-visible {
        opacity: 1;
        transform: none;
        filter: none;
        transition: none;
    }

    .iphones-page-grid {
        width: 100%;
        margin: 0;
        padding: 0 18px 26px;
        gap: 23px;
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: 18px;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
        scrollbar-width: none;
        touch-action: auto;
    }

    .iphones-page-grid::-webkit-scrollbar {
        display: none;
    }

    .iphones-page-grid-controls {
        width: max-content;
        margin: -22px auto 0;
        padding: 0 10px;
        background: #ffffff;
        border-radius: 50%;
        justify-content: center;
        gap: 12px;
        position: relative;
        z-index: 2;
    }

    .iphones-page-grid-controls.is-visible {
        display: flex;
    }

    .iphones-page-grid-control {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        min-width: 42px;
        height: 42px;
        padding: 0;
        border: 1.5px solid #dbe4eb;
        border-radius: 50%;
        background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
        box-shadow: 0 10px 24px rgba(23, 24, 26, 0.12);
        color: #17181a;
        font-family: "SF Pro Display", "SF Pro Icons", "AOS Icons", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
        font-size: 20px;
        font-weight: 600;
        line-height: 1;
        letter-spacing: 0.1px;
        cursor: pointer;
        transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
    }

    .iphones-page-grid-control svg {
        width: 10px;
        height: 16px;
        display: block;
    }

    .iphones-page-grid-control path {
        fill: none;
        stroke: #17181a;
        stroke-width: 2.1;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .iphones-page-grid-control:hover,
    .iphones-page-grid-control:focus-visible {
        transform: translateY(-1px) scale(1.01);
        box-shadow: 0 14px 28px rgba(23, 24, 26, 0.16);
        outline: none;
    }

    .iphones-page-grid-control.is-disabled {
        opacity: 0.38;
        cursor: default;
        transform: none;
        box-shadow: 0 6px 14px rgba(23, 24, 26, 0.08);
    }

    .iphones-page-grid-control--prev,
    .iphones-page-grid-control--next {
        padding: 0;
    }

    .iphones-page-card {
        flex: 0 0 112px;
        width: 112px;
        min-width: 112px;
        min-height: 132px;
        gap: 8px;
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }

    .iphones-page-card-image-wrap {
        width: 72px;
        height: 92px;
    }

    .iphones-page-card-image {
        width: 52px;
        height: 90px;
    }

    .iphones-page-card-title {
        font-size: 14px;
        line-height: 1.2;
    }

    .iphones-builder-section {
        max-width: none;
        width: 100%;
        margin-bottom: 48px;
    }

    .iphones-builder-picker {
        background: transparent;
        display: flex;
        flex-wrap: nowrap;
        gap: 16px;
        margin: 0 0 37px;
        padding: 0 4px 10px;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        touch-action: auto;
        padding: 40px;
    }

    .iphones-builder-picker::-webkit-scrollbar {
        display: none;
    }

    .iphones-builder-card {
        flex: 0 0 182px;
        width: 182px;
        min-width: 182px;
        min-height: 218px;
        padding: 16px 14px 14px;
        scroll-snap-align: start;
    }

    .iphones-builder-card-media {
        min-height: 138px;
    }

    .iphones-builder-card-image {
        width: 116px;
        height: 154px;
        max-height: 154px;
    }

    .iphones-builder-card-title {
        font-size: 16px;
        line-height: 1.25;
    }

    .iphones-builder-controls {
        width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        padding: 18px 30px 20px;
        border-radius: 0;
    }

    .iphones-builder-controls-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .iphones-builder-field {
        display: grid;
        grid-template-columns: 88px minmax(0, 1fr);
        align-items: center;
        gap: 12px;
    }

    .iphones-builder-label {
        margin-bottom: 0;
        font-size: 18px;
    }

    .iphones-builder-select,
    .iphones-builder-dropdown-trigger {
        min-height: 46px;
        padding: 0 42px 0 14px;
        font-size: 15px;
    }

    .iphones-builder-select,
    .iphones-builder-dropdown-trigger,
    .iphones-builder-select option {
        font-size: 18px;
    }

    .iphones-quote-panel {
        padding: 18px 14px 16px;
        border-radius: 20px;
    }

    .iphones-quote-table {
        overflow: visible;
    }

    .iphones-quote-table::-webkit-scrollbar {
        display: none;
    }

    .iphones-quote-head,
    .iphones-quote-row {
        min-width: 0;
    }

    .iphones-quote-head {
        grid-template-columns: minmax(0, 1fr) auto;
        padding: 0 6px 14px;
        align-items: center;
        gap: 12px;
        font-size: 18px;
    }

    .iphones-quote-head > span {
        text-align: left;
    }

    .iphones-quote-head > span:nth-child(2),
    .iphones-quote-head > span:nth-child(4),
    .iphones-quote-head > span:nth-child(5) {
        display: none;
    }

    .iphones-quote-currency-cell {
        width: auto;
        justify-content: flex-end;
    }

    .iphones-quote-currency-select,
    .iphones-quote-currency-cell .iphones-builder-dropdown-trigger {
        min-height: 50px;
        width: 108px;
        max-width: 108px;
        padding: 0 34px 0 14px;
        border-radius: 12px;
        font-size: 18px;
        font-weight: 500;
    }

    .iphones-quote-currency-cell .iphones-builder-dropdown {
        width: 108px;
    }

    .iphones-quote-currency-cell .iphones-builder-dropdown-menu {
        top: calc(100% + 10px);
        bottom: auto;
        min-width: 188px;
        transform-origin: top right;
    }

    .iphones-quote-body {
        gap: 12px;
    }

    .iphones-quote-row {
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "model remove"
            "qty price"
            "total total";
        gap: 14px 18px;
        padding: 18px 16px 16px;
        border-radius: 18px;
        background: #f7f7f8;
    }

    .iphones-quote-cell {
        text-align: left;
        justify-self: start;
        align-self: center;
        min-width: 0;
    }

    .iphones-quote-cell-model {
        grid-area: model;
        padding-right: 8px;
        color: #202024;
        font-size: 16px;
        font-weight: 500;
        line-height: 1.32;
    }

    .iphones-quote-cell-qty {
        grid-area: qty;
        display: inline-flex;
        align-items: center;
        justify-content: flex-start;
        gap: 10px;
        flex-wrap: wrap;
    }

    .iphones-quote-cell-qty::before {
        content: "QTY";
        color: #232326;
        font-size: 16px;
        font-weight: 500;
        line-height: 1;
    }

    .iphones-quote-qty-pill {
        min-width: 62px;
        min-height: 40px;
        padding: 4px 12px;
        border-radius: 10px;
        font-size: 16px;
        font-weight: 700;
    }

    .iphones-quote-cell-price {
        grid-area: price;
        justify-self: end;
        font-size: 16px;
        line-height: 1.25;
        white-space: nowrap;
    }

    .iphones-quote-cell-price::before {
        content: none;
    }

    .iphones-quote-cell-total {
        grid-area: total;
        display: flex;
        align-items: baseline;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 6px 12px;
        color: #111111;
        font-size: 18px;
        font-weight: 700;
        line-height: 1.25;
        text-align: left;
        justify-self: start;
    }

    .iphones-quote-cell-total::before {
        content: "Total";
        color: #232326;
        font-size: 16px;
        font-weight: 500;
    }

    .iphones-quote-remove {
        grid-area: remove;
        justify-self: end;
        align-self: start;
        font-size: 24px;
        line-height: 1;
    }

    .iphones-quote-summary {
        display: flex;
        justify-content: space-between;
        flex-wrap: nowrap;
        align-items: start;
        gap: 12px 18px;
        padding: 18px 6px 0;
    }

    .iphones-quote-summary-item {
        display: inline-flex;
        align-items: baseline;
        gap: 6px;
        flex: 0 1 auto;
        font-size: 16px;
        font-weight: 600;
        line-height: 1.28;
        text-align: left;
        white-space: nowrap;
    }

    .iphones-quote-summary-item strong {
        display: inline;
        margin-top: 0;
    }

    .iphones-quote-summary-price {
        justify-content: flex-end;
        text-align: right;
        margin-left: auto;
    }

    .iphones-partners-section .ibp-directory-card-content {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
    }

    .iphones-partners-section .ibp-directory-card-main {
        flex: 1 1 auto;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 12px;
        min-width: 0;
    }

    .iphones-partners-section .ibp-directory-card-flags {
        justify-content: flex-start;
        gap: 8px;
        flex-wrap: nowrap;
    }

    .iphones-partners-section .ibp-directory-whatsapp {
        min-width: 110px;
        align-self: center;
        flex-shrink: 0;
    }

    .iphones-builder-signoff-text {
        max-width: 100%;
        font-size: 30px;
    }

    .iphones-partners-title,
    .iphones-partners-title.is-visible {
        font-size: 30px;
    }

    .iphones-grading-showcase {
        width: 100vw;
        max-width: none;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
    }

    .iphones-grading-shell {
        border-radius: 0;
    }

    .iphones-page-shell + footer,
    .iphones-page-shell + footer .footer-container,
    .iphones-page-shell + footer .footer-bottom-container {
        margin-top: 0;
    }
}

@media (max-width: 420px) {
    .iphones-quote-row {
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "model remove"
            "qty price"
            "total total";
        gap: 10px 12px;
    }

    .iphones-quote-cell-qty {
        gap: 8px;
    }

    .iphones-quote-qty-pill {
        min-width: 54px;
        min-height: 38px;
        padding: 4px 10px;
        font-size: 15px;
    }

    .iphones-quote-cell-price {
        justify-self: end;
        font-size: 15px;
    }

    .iphones-quote-summary {
        display: flex;
        justify-content: space-between;
        flex-wrap: nowrap;
        gap: 10px;
    }

    .iphones-quote-summary-price {
        text-align: left;
        margin-left: auto;
    }
}
