/***Grading System New Start 27 Oct 2025***/

/* new banner section */
.home-main-banner {
    color: white;
    font-size: 16px;
    line-height: 23px;
    padding-block: 40px;

    h1 {
        font-size: 40px;
        font-weight: 600;
        line-height: 50px;
        margin-bottom: 14px;

        @media (max-width: 768px) {
            font-size: 24px;
            line-height: 32px;
        }
    }

    ul {
        list-style: none;
        margin-top: 20px;
        margin-bottom: 30px;

        li {
            margin-bottom: 5px;

            strong {
                font-weight: 600;
            }

            &::before {
                content: '✓';
                /* Common checkmark: \2713 */
                margin-right: 10px;
                color: #f9bc1a;
            }

        }
    }

    div {
        .btn {
            @media (max-width: 991px) {
                padding-inline: 20px;
            }

            @media (max-width: 768px) {
                font-size: 14px;
                padding-inline: 10px;
            }


            &:nth-of-type(2) {
                border: 1px solid #F9BC1A;
                background-color: transparent;
                color: #F9BC1A;
            }
        }
    }

    .pagebuilder-column-line {
        align-items: center !important;
        padding-inline: 30px;

        .pagebuilder-column {
            justify-content: center !important;
        }
    }

    figure {
        display: flex;
        justify-content: end;

        @media (max-width: 768px) {
            margin-top: 20px;
        }

        img {
            width: 70%;

            @media (max-width: 991px) {
                width: 90%;
            }

            @media (max-width: 768px) {
                width: 100%;
            }
        }
    }

    .banner-footer {
        display: flex;
        align-items: center;
        column-gap: 20px;
        row-gap: 10px;
        flex-wrap: wrap;
        font-size: 14px;

        @media (max-width: 990px) {
            justify-content: center;
        }

        div {
            color: white;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        img {
            width: 20px;
            height: 20px;
        }
    }
}

/* new banner section end */

/* Hero Section */
.cms-page-view .hero-section {
    /* background-image: url('../images/Banner.png'); */
    background-repeat: no-repeat;
    color: #ffffff;
}

.cms-page-view .hero-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-section .pagebuilder-button-primary {
    all: unset !important;
}

.cms-page-view .hero-text {
    flex: 0 0 calc(50% - 20px);
    justify-content: center !important;
}

.cms-page-view.hero-image {
    flex: 0 0 calc(50% - 20px);
    text-align: center;
}

.cms-page-view .hero-section h1 {
    font-size: 34px;
    font-weight: 600;
    line-height: 1.2;
    margin: 0 0 15px 0;
}

.cms-page-view .hero-section h2 {
    font-size: 34px;
    font-weight: 600;
    line-height: 1.2;
    margin: 0 0 15px 0;
}

.cms-page-view .hero-section p {
    font-weight: 400;
    font-size: 18px;
    line-height: 1.4;
    margin: 0 0 25px 0;
}

.cms-page-view.hero-image img {
    max-width: 100%;
    height: auto;
    transform: rotate(5deg);
}

.hero-content.center-section .pagebuilder-column-line {
    justify-content: center;
}

.section-btn {
    text-align: center;
}

.section-btn .btn {
    margin: 0;
}


.sistem-ul,
.sistem-ul li {
    list-style: disc;
}

.sistem-ul {
    font-weight: 400;
    font-size: 18px;
    line-height: 1.4;
    margin: 0 0 25px 0;
    padding-left: 20px;
}

.sistem-ul li strong {
    font-weight: 600;
}

.open-packaging-section .sistem-ul {
    margin-bottom: 0;
}

.refurbished-computer-section .description.oprema {
    margin-bottom: 20px;
}

.refurbished-computer-section .description strong {
    font-weight: 600;
}

/* Button */
.cms-page-view .btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.cms-page-view .btn-warning {
    background-color: #F9BC1A;
    color: #284460;
}

.cms-page-view .btn-warning:hover {
    background-color: #e0a800;
}

.btn-center {
    display: block;
    margin: 30px auto;
    max-width: 350px;
    text-align: center;
}

/* Rating Section */

.rating-system-section .section-title {
    margin-bottom: 24px;
}


.rating-section h2 {
    font-size: 32px;
    font-weight: 600;
    text-align: center;
    margin: 0 0 20px 0;
    color: #284460;
}

.rating-section p:last-child {
    margin-bottom: 0;
}

.rating-section p a {
    color: #284460;
    text-decoration: underline;
}



/* Rating Table */
.rating-table {
    width: 100%;
    border-collapse: collapse;
    margin: 40px 0;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    border: 1px solid transparent;
}

.rating-table thead {
    background-color: #F9BC1A;
}

table.rating-table th,
table.rating-table td {
    border-bottom: 1px solid #999999;
    border-right: 1px solid #999999;
}

.rating-table th {
    padding: 24px 20px;
    text-align: left;
    font-weight: 500;
    font-size: 20px;
    text-transform: uppercase;
    color: #284460;
}

.rating-table td {
    padding: 18px 20px;
    border-bottom: 1px solid #999999;
    vertical-align: middle;
    font-size: 18px;
    line-height: 1.4;
    color: #284460;
    font-weight: 400;
}

.rating-table tbody tr {
    background-color: #FAFAFA;
}

.rating-table tbody tr:hover {
    background-color: #FAFAFA;
}

.rating-table tbody tr td:first-child {
    font-weight: 600;
    color: #373737;
    background: #FAFAFA;
    min-width: 300px;
}

.rating-table tbody tr td p {
    margin: 0 0 10px 0;
}

.rating-table tbody tr td p:last-child {
    margin: 0;
}

/* Product Section */

.refurbished-computer-section {
    /* background: #FAFAFA; */
    border-radius: 10px;
}

.refurbished-computer-section .description {
    margin-bottom: 40px;
}

.product-section {
    margin: 60px 0 40px 0;
}

.product-section h2 {
    font-size: 32px;
    font-weight: 600;
    margin: 0 0 25px 0;
    color: #284460;
    text-align: center;
}

.product-section>p {
    font-size: 20px;
    line-height: 1.4;
    color: #284460;
    margin: 0 0 40px 0;
    text-align: center;
}

/* Quality Sections */

.row-full-width-inner .quality-item:nth-of-type(even) .product-circle-details .image-with-detail {
    z-index: 1;
    top: -10px;
}

.product-circle-details .image-with-detail:first-child {
    z-index: 1;
}

.quality-item {
    margin: 40px 0;
    border: 1px solid #dedede;
    border-radius: 16px;
    padding: 15px;
    position: relative;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    padding-top: 40px;

    &::before {
        content: "💎 PREMIMUM IZABIRA";
        display: flex;
        position: absolute;
        top: -20px;
        left: 40px;
        width: 200px;
        height: 40px;
        font-weight: 600;
        border-radius: 100px;
        background: linear-gradient(300deg, #5781b4, #2F4A6D);
        justify-content: center;
        align-items: center;
        color: white;
        z-index: 1;
    }
}

.quality-item .pagebuilder-column-line {
    justify-content: space-between !important;
}

.quality-text,
.quality-images {
    flex: 0 0 calc(50% - 20px)
}

.quality-item h3 {
    font-size: 20px;
    font-weight: 500;
    margin: 0 0 20px 0;
    color: #284460;
}

.quality-item .pagebuilder-column-line {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.quality-text p {
    font-size: 18px;
    line-height: 1.4;
    color: #284460;
    margin: 0 0 15px 0;
    padding: 0;
    text-align: left;
}

/* 2x2 Image Grid */
.image-grid-2x2 {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.image-grid-2x2 img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Reverse layout */
.quality-row.reverse {
    flex-direction: row-reverse;
}

.quality-note {
    font-size: 15px;
    line-height: 1.6;
    color: #666;
    margin: 0 0 30px 0;
}

/* Additional note */
.additional-note {
    margin: 30px 0;
    text-align: center;
}

.additional-note p {
    font-size: 20px;
    line-height: 1.4;
    color: #284460;
}

/* Items with Open Packaging Section */
.open-packaging-section {
    background-color: transparent;
}

.open-packaging-section .quality-item {
    margin-bottom: 0;
}

.open-packaging-section h3 {
    font-size: 20px;
    font-weight: 500;
    margin: 0 0 20px 0;
    color: #284460;
    line-height: 1.4;
}

.open-packaging-section p {
    font-size: 18px;
    line-height: 1.4;
    color: #284460;
    margin: 0 0 20px 0;
}


.open-packaging-section p strong {
    font-weight: 600;
}

.open-packaging-intro {
    text-align: center;
    margin-bottom: 30px;
}

.open-packaging-intro a {
    color: #284460;
    text-decoration: underline;
}

/* Outlet Grid Section */
.outlet-item {
    margin: 40px 0;
}

.outlet-row {
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

.outlet-text {
    flex: 0 0 calc(50% - 20px);
}

.outlet-images {
    flex: 0 0 calc(50% - 20px);
}

.outlet-text h4 {
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 15px 0;
    color: #284460;
}

.outlet-text p {
    font-size: 20px;
    line-height: 1.4;
    color: #284460;
    margin: 0;
}

/* 2x2 Image Grid for Outlet */
.image-grid-outlet {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.image-grid-outlet img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}



.conclusion-section a {
    color: #284460;
    text-decoration: underline;
    font-weight: 600;
}

.conclusion-section a strong {
    font-weight: 600;
}

/* Category Grid */
.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 20px 0 20px;
}

.category-item a {
    text-align: center;
    gap: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    background: #FAFAFA;
    padding: 20px 20px;
    border-radius: 10px;
    text-decoration: none;
}

.category-item h4 {
    font-size: 20px;
    line-height: 1.4;
    font-weight: 500;
    color: #284460;
    margin: 0;
    min-height: 56px;
}

/* Responsive */
@media (max-width:1200px) {
    .cms-page-view .hero-section h1 {
        font-size: 32px;
        line-height: 36px;
    }

    .cms-page-view .hero-section p {
        font-size: 18px;
        line-height: 24px;
    }
}


@media (max-width: 991px) {

    .cms-page-view .hero-content,
    .hero-section .pagebuilder-column-line,
    .quality-item .pagebuilder-column-line,
    .quality-item .pagebuilder-column-line.reverse,
    .outlet-row {
        flex-direction: column;
    }

    .quality-item:nth-of-type(even) .pagebuilder-column-line {
        flex-direction: column-reverse;
    }

    .quality-item .pagebuilder-column-line {
        gap: 10px;
    }

    .quality-item {
        margin: 40px 0;
    }

    .cms-page-view .hero-text,
    .cms-page-view .hero-image,
    .quality-text,
    .quality-images,
    .outlet-text,
    .image-grid-2x2,
    .outlet-images {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100% !important;
    }

    .cms-page-view .hero-section .pagebuilder-column {
        width: 100% !important;
    }

    .cms-page-view .hero-text {
        justify-content: unset !important;
        padding: 20px;
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .rating-table tbody tr td:first-child {
        min-width: auto;
    }

    .cms-page-view .hero-image figure {
        text-align: center;
    }

    .hero-section .btn-warning:active:hover {
        color: #284460;
        background-color: #d58512;
        border-color: #284460;
    }

    .cms-page-view .hero-image img {
        width: 100%;
        max-width: 360px !important;
    }
}

@media (max-width: 767px) {

    .cms-page-view .hero-text {
        padding: 0;
    }

    .cms-page-view .btn {
        padding: 10px 16px;
        height: 40px;
    }

    .cms-page-view .hero-section {
        padding: 24px 0;
    }

    .cms-page-view .hero-section h1 {
        font-size: 21px;
        line-height: 25px;
    }

    .cms-page-view .hero-section h2 {
        font-size: 22px;
    }

    .product-section h2 {
        font-size: 22px;
    }

    .rating-section h2 {
        font-size: 28px;
    }

    .open-packaging-section h2 {
        font-size: 22px;
    }

    .quality-item h3 {
        font-size: 20px;
    }

    .product-section>p {
        font-size: 18px;
    }

    .quality-text p {
        font-size: 16px;
    }

    .rating-table th {
        font-size: 18px;
    }

    .rating-table {
        font-size: 13px;
        overflow-x: auto;
        display: block;
    }

    .rating-table th,
    .rating-table td {
        padding: 24px 20px;
    }

    .rating-table td {
        font-size: 16px;
    }

    .category-grid {
        flex-wrap: wrap;
    }

    .category-item a {
        flex: 0 0 50%;
        margin-bottom: 20px;
    }

    .cms-page-view .hero-content {
        gap: 10px;
    }

    .cms-page-view .hero-section p {
        font-size: 16px;
        margin: 0 0 20px 0;
    }

    .additional-note p,
    .outlet-text p {
        font-size: 16px;
    }

    .refurbished-computer-section .description {
        margin-bottom: 10px;
    }

    .open-packaging-section p {
        font-size: 16px;
        margin-bottom: 0;
    }

    .open-packaging-section h3 {
        font-size: 20px;
    }

    .category-item h4 {
        font-size: 16px;
    }

    .category-item a {
        gap: 20px;
    }

}

@media (max-width:540px) {
    .category-item a {
        gap: 0;
        margin-bottom: 0;
    }

    .category-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 16px;
    }
}

/***Grading System New end***/

.rating-table tbody tr:first-child td:first-child span {
    color: #ffffff;
    background: #046cbc;
    padding: 9px 12px 8px;
    font-size: 18px;
    border-radius: 10px;
    vertical-align: middle;
    line-height: 24px;
}

.rating-table tbody tr:nth-child(2) td:first-child span {
    color: #284460;
    background: #D7EDFF;
    padding: 9px 12px 8px;
    font-size: 18px;
    border-radius: 10px;
    vertical-align: middle;
    line-height: 24px;
}

.rating-table tbody tr:nth-child(3) td:first-child span {
    color: #00BD23;
    background: #EAFFEA;
    padding: 9px 12px 8px;
    font-size: 18px;
    border-radius: 10px;
    vertical-align: middle;
    line-height: 24px;
}

.rating-table tbody tr:nth-child(4) td:first-child span {
    color: #284460;
    background: yellow;
    padding: 9px 12px 8px;
    font-size: 18px;
    border-radius: 10px;
    vertical-align: middle;
    line-height: 24px;
}

.rating-table tbody tr:last-child td:first-child span {
    color: #284460;
    background: #f9bc1a;
    padding: 9px 12px 8px;
    font-size: 18px;
    border-radius: 10px;
    vertical-align: middle;
    line-height: 24px;
}

@media (max-width:991px) {
    .rating-system-section {
        overflow-x: auto;
    }

    .rating-table tbody tr td:first-child {
        min-width: 270px;
    }

    .rating-table tbody tr td:last-child {
        min-width: 300px;
    }

    .rating-table tbody tr:first-child td:first-child span {
        font-size: 16px;
    }

    .rating-table tbody tr:nth-child(2) td:first-child span {
        font-size: 16px;
    }

    .rating-table tbody tr:nth-child(3) td:first-child span {
        font-size: 16px;
    }

    .rating-table tbody tr:nth-child(4) td:first-child span {
        font-size: 16px;
    }

    .rating-table tbody tr:last-child td:first-child span {
        font-size: 16px;
    }
}