/* Phone image and key specifications layout */
.phone-overview {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch;
    direction: ltr !important;
    width: 100%;
    margin: 10px 0 20px;
}

/* Force the image to the left */
.phone-overview > .col-sm-5 {
    order: 1;
    float: none !important;
}

/* Force specifications to the right */
.phone-overview > .col-sm-7 {
    order: 2;
    float: none !important;
}

/* Phone image container */
.phone-main-image {
    width: 100%;
    height: 390px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 5px;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #eeeeee;
    border-radius: 10px;
}

/* Prevent older CSS from enlarging the image */
.phone-main-image img {
    display: block;
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 350px !important;
    object-fit: contain !important;
}

/* Specifications section */
.key-specs {
    height: 100%;
    padding: 10px 5px 10px 18px;
    direction: ltr;
    text-align: left;
	border : 1px solid #eeeeee;
	border-radius: 10px;
}

.key-specs h3 {
    margin: 0 0 15px;
    color: #555555;
    font-size: 19px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Individual specification */
.key-spec-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #eeeeee;
}

.key-spec-item:last-child {
    border-bottom: 0;
}

/* Specification icon */
.key-spec-item > i {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6f42ff;
    background: rgba(111, 66, 255, 0.09);
    border-radius: 10px;
    font-size: 18px;
}

/* Specification text */
.key-spec-item div {
    min-width: 0;
}

.key-spec-item span {
    display: block;
    margin-bottom: 2px;
    color: #888888;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.key-spec-item strong {
    display: block;
    color: #222222;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

/* Mobile layout */
@media (max-width: 767px) {
    .phone-overview {
        display: block !important;
    }

    .phone-main-image {
        height: 300px;
        margin-bottom: 15px;
    }

    .phone-main-image img {
        max-height: 260px !important;
    }

    .key-specs {
        padding: 5px 0;
    }
}
.phone-breadcrumb {
    margin: 0 0 15px;
	display : none
}

.phone-breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    margin: 0;
    padding: 11px 15px;
    list-style: none;
    background: #f7f9fb;
    border: 1px solid #e4e9ee;
    border-radius: 7px;
}

.phone-breadcrumb li {
    color: #747d88;
    font-size: 13px;
}

.phone-breadcrumb li:not(:last-child)::after {
    content: "/";
    margin: 0 9px;
    color: #aab1b8;
}

.phone-breadcrumb a {
    color: #5e8fbe;
    font-weight: 600;
    text-decoration: none;
}

.phone-breadcrumb a:hover,
.phone-breadcrumb a:focus {
    color: #356d9f;
    text-decoration: underline;
}

.phone-breadcrumb li[aria-current="page"] {
    color: #343c45;
    font-weight: 700;
}

@media (max-width: 767px) {
    .phone-breadcrumb ol {
        padding: 9px 11px;
    }

    .phone-breadcrumb li {
        font-size: 12px;
    }

    .phone-breadcrumb li:not(:last-child)::after {
        margin: 0 6px;
    }
}
/* Yes/No icons in specification table */
.spec-status {
    display: inline-flex;
    width: 20px;
    height: 20px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
}

.spec-status-yes {
    background-color: #2dbda8;
}

.spec-status-no {
    background-color: #e74c3c;
}

@media (max-width: 600px) {
    .spec-status {
        width: 24px;
        height: 24px;
        font-size: 13px;
    }
}
[ng-cloak],
.ng-cloak {
    display: none !important;
}
.phone-title-name .phone-brand-link {
    color: inherit;
    font: inherit;
    text-decoration: none;
}

.phone-title-name .phone-brand-link:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}
#device-spec-table .spec-section-icon {
    width: 20px;
    height: 20px;
    margin-right: 9px;
    vertical-align: middle;
    color: #2563eb;
}
#device-spec-table .device-spec-card {
    margin-bottom: 18px;
    padding: 10px;
    background: #fff;
    border: 1px solid #dfe3ec;
    border-radius: 8px;
    overflow: hidden;
}

#device-spec-table .device-spec-card > table {
    width: 100%;
    margin-bottom: 0;
}

#device-spec-table .device-spec-card > table > thead > tr > th.title {
    padding: 10px 10px 10px;
    background: #fff;
    color: #454e83;
    border: 0;
}

#device-spec-table .device-spec-card > table > tbody > tr > td {
    padding: 5px 10px;
    border-top: 0;
    vertical-align: top;
}

#device-spec-table .device-spec-card > table > tbody > tr:nth-child(odd) {
    background: #f7f8fa;
}

#device-spec-table .device-spec-card > table > tbody > tr:nth-child(even) {
    background: #fff;
}