.modern-product-breadcrumb {
    padding: 18px 0;
    background: #f7f9fc;
    border-bottom: 1px solid #edf1f5;
}

.product-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    color: #8995a3;
    font-size: 12px;
}

.product-breadcrumb a {
    color: #183f68;
    text-decoration: none;
    font-weight: 600;
}

.product-breadcrumb i {
    font-size: 8px;
    color: #adb7c2;
}

.modern-product-page {
    padding: 35px 0 55px;
}

.modern-product-main {
    display: grid;
    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(0, .95fr);
    gap: 55px;
    max-width: 1450px;
    margin: auto;
}

.product-gallery-card {
    position: relative;
    min-height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 24px;
    border: 1px solid #e8edf3;
    box-shadow:
        0 12px 35px rgba(24,63,104,.07);
}

.product-main-image {
    width: 100%;
    height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 35px;
}

.product-main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .35s ease;
}

.product-main-image:hover img {
    transform: scale(1.04);
}

.product-sale-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 2;
    padding: 8px 13px;
    border-radius: 30px;
    background: #e74c5b;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
}

.product-gallery-wishlist {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 3;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid #e6ebf0;
    background: #fff;
    color: #637383;
    cursor: pointer;
    transition: .25s;
}

.product-gallery-wishlist:hover,
.product-gallery-wishlist.active {
    color: #e74c5b;
    border-color: #f0cbd0;
    background: #fff5f6;
}

.product-thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.product-thumbnail {
    width: 75px;
    height: 75px;
    padding: 6px;
    border: 1px solid #e3e8ed;
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
}

.product-thumbnail.active {
    border-color: #183f68;
}

.product-thumbnail img {
    width: 100%;
    height: 100%;

    object-fit: contain;
}

.modern-product-info {
    padding-top: 10px;
}

.product-detail-brand {
    display: inline-block;
    margin-bottom: 10px;
    color: #183f68;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .8px;
}

.modern-product-title {
    margin: 0;
    color: #172b3f;
    font-size: 32px;
    line-height: 1.3;
    font-weight: 750;
}

.product-detail-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    font-size: 13px;
    color: #687789;
}

.rating-stars {
    color: #f5ad22;
}

.product-detail-rating a {
    color: #183f68;
    font-weight: 600;
}

.product-detail-divider {
    height: 1px;
    background: #edf1f5;
    margin: 22px 0;
}

.product-detail-price {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.detail-current-price {
    color: #183f68;
    font-size: 30px;
    font-weight: 800;
}

.detail-old-price {
    color: #9aa5b0;
    font-size: 16px;
    text-decoration: line-through;
}

.detail-discount {
    padding: 5px 9px;
    border-radius: 6px;
    background: #eaf8ef;
    color: #299650;
    font-size: 11px;
    font-weight: 700;
}

.product-short-description {
    margin-top: 18px;
    color: #697887;
    font-size: 14px;
    line-height: 1.8;
}

.product-variant-section {
    margin-top: 25px;
}

.product-variant-section h4 {
    margin-bottom: 12px;
    color: #26394c;
    font-size: 14px;
    font-weight: 700;
}

.product-variants {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.product-variant {
    padding: 9px 16px;
    border: 1px solid #dce3e9;
    border-radius: 8px;
    background: #fff;
    color: #4c5d6d;
    cursor: pointer;
    font-size: 13px;
}

.product-variant.active {
    border-color: #183f68;
    background: #183f68;
    color: #fff;
}

.product-stock-status {
    margin-top: 22px;
}

.stock-available {
    color: #299650;
    font-size: 13px;
    font-weight: 700;
}

.stock-unavailable {
    color: #e04f5f;
    font-size: 13px;
    font-weight: 700;
}

.product-purchase-area {
    display: flex;
    gap: 12px;
    margin-top: 18px;
}

.product-quantity {
    display: flex;
    height: 50px;
    border: 1px solid #dce3e9;
    border-radius: 10px;
    overflow: hidden;
}

.product-quantity button {
    width: 40px;
    border: 0;
    background: #f7f9fb;
    color: #4d6070;
    cursor: pointer;
}

.product-quantity input {
    width: 55px;
    border: 0;
    outline: 0;
    text-align: center;
    font-weight: 700;
}

.modern-add-cart {
    flex: 1;
    min-height: 50px;
    border: 0;
    border-radius: 10px;
    background: #183f68;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: .25s;
}

.modern-add-cart:hover {
    background: #102f50;
    transform: translateY(-1px);
}

.modern-add-cart i {
    margin-right: 8px;
}

.modern-buy-now {
    width: 100%;
    margin-top: 10px;
    height: 48px;
    border: 1px solid #183f68;
    border-radius: 10px;
    background: #fff;
    color: #183f68;
    font-weight: 700;
    cursor: pointer;
}

.modern-buy-now:hover {
    background: #f3f7fb;
}

.product-service-features {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 10px;
    margin-top: 25px;
    padding-top: 22px;
    border-top: 1px solid #edf1f5;
}

.service-feature {
    display: flex;
    align-items: center;
    gap: 9px;
}

.service-icon {
    width: 35px;
    height: 35px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: #f0f5fa;
    color: #183f68;
    font-size: 13px;
}

.service-feature strong {
    display: block;
    color: #34485b;
    font-size: 11px;
}

.service-feature span {
    display: block;
    margin-top: 3px;
    color: #8a96a2;
    font-size: 9px;
}

.modern-product-details {
    padding-bottom: 50px;
}

.product-details-card {
    max-width: 1450px;
    margin: auto;
    overflow: hidden;
    border: 1px solid #e7ecf1;
    border-radius: 18px;
    background: #fff;
}

.product-details-tabs {
    display: flex;
    gap: 5px;
    padding: 8px;
    overflow-x: auto;
    background: #f7f9fb;
    border-bottom: 1px solid #e7ecf1;
}

.product-detail-tab {
    padding: 13px 22px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #71808f;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
}

.product-detail-tab.active {
    background: #183f68;
    color: #fff;
}

.product-tab-content {
    padding: 30px;
}

.product-tab-pane {
    display: none;
    color: #667585;
    font-size: 14px;
    line-height: 1.8;
}

.product-tab-pane.active {
    display: block;
}

.product-specification-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 1px;
    background: #e8edf2;
}

.specification-item {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 15px;
    background: #fff;
}

.specification-item span {
    color: #87929d;
}

.specification-item strong {
    color: #34485b;
}

.modern-review {
    display: flex;
    gap: 15px;
    padding: 20px 0;
    border-bottom: 1px solid #edf1f5;
}

.review-avatar {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #edf3f8;
    color: #183f68;
}

.review-content strong {
    color: #34485b;
}

.review-stars {
    margin: 5px 0;
    color: #f5ad22;
    font-size: 11px;
}

.faq-item {
    border-bottom: 1px solid #edf1f5;
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 17px 0;
    color: #34485b;
    font-weight: 700;
    cursor: pointer;
}

.faq-question i {
    transition: transform .25s;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    padding: 0 0 18px;
    color: #748290;
}

.faq-item.active .faq-answer {
    display: block;
}

.modern-related-section {
    position: relative;
    padding: 55px 0 75px;
    background: #f8fafc;
    overflow: hidden;
}

.modern-related-section .container-fluid {
    position: relative;
    z-index: 1;
    padding-left: 35px;
    padding-right: 35px;
}

.modern-related-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 28px;
}

.modern-related-heading {
    min-width: 0;
}

.modern-related-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 7px;
    color: #183f68;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.modern-related-eyebrow::before {
    content: "";
    display: inline-block;
    width: 24px;
    height: 2px;
    background: #183f68;
    border-radius: 10px;
}

.modern-related-heading h2 {
    margin: 0;
    color: #183f68;
    font-size: 28px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.4px;
}

.modern-related-heading p {
    margin: 7px 0 0;
    color: #7b8794;
    font-size: 13px;
    line-height: 1.5;
}

.modern-related-navigation {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.modern-related-navigation button {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dce4ec;
    border-radius: 50%;
    background: #ffffff;
    color: #183f68;
    font-size: 13px;
    cursor: pointer;
    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.modern-related-navigation button:hover {
    background: #183f68;
    border-color: #183f68;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(24, 63, 104, 0.18);
}

.modern-related-navigation button:active {
    transform: translateY(0);
}

.modern-related-navigation button.swiper-button-disabled {
    opacity: 0.4;
    cursor: default;
    pointer-events: none;
}

.modernRelatedSwiper {
    width: 100%;
    padding: 5px 3px 18px !important;
}

.modernRelatedSwiper .swiper-wrapper {
    align-items: stretch;
}

.modernRelatedSwiper .swiper-slide {
    height: auto;
    display: flex;
}

.modern-related-card {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e8edf2;
    border-radius: 18px;
    box-shadow: 0 5px 20px rgba(24, 63, 104, 0.055);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.modern-related-card:hover {
    transform: translateY(-6px);
    border-color: #d8e1ea;
    box-shadow:
        0 15px 35px rgba(24, 63, 104, 0.12);
}

.modern-related-image {
    position: relative;
    height: 245px;
    min-height: 245px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background:
        linear-gradient(
            145deg,
            #f8fafc 0%,
            #f1f5f9 100%
        );
}

.modern-related-image-link {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    text-decoration: none;
}

.modern-related-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition:
        transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.modern-related-card:hover .modern-related-image img {
    transform: scale(1.055);
}

.modern-related-sale,
.modern-related-discount {
    position: absolute;
    top: 14px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 27px;
    padding: 0 10px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.3px;
    line-height: 1;
}

.modern-related-sale {
    left: 14px;
    background: #21834b;
    color: #eaf7ef;
}

.modern-related-wishlist {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 5;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(24, 63, 104, 0.08);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    color: #7d8995;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.07);
    transition:
        color 0.25s ease,
        background-color 0.25s ease,
        transform 0.25s ease;
}

.modern-related-discount + .modern-related-wishlist {
    top: 50px;
}

.modern-related-wishlist:hover {
    background: #ffffff;
    color: #dc3545;
    transform: scale(1.08);
}

.modern-related-actions {
    position: absolute;
    left: 50%;
    bottom: 14px;
    z-index: 4;
    display: flex;
    gap: 7px;
    transform: translate(-50%, 12px);
    opacity: 0;
    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}

.modern-related-card:hover .modern-related-actions {
    opacity: 1;
    transform: translate(-50%, 0);
}

.modern-related-action {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    background: rgba(24, 63, 104, 0.94);
    color: #ffffff;
    font-size: 12px;
    cursor: pointer;
    backdrop-filter: blur(5px);
    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

.modern-related-action:hover {
    background: #102f50;
    color: #ffffff;
    transform: translateY(-2px);
}

.modern-related-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 18px 18px 17px;
}

.modern-related-brand {
    margin-bottom: 5px;
    color: #8a96a3;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.modern-related-title {
    height: 42px;
    margin: 0 0 9px;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 700;
    overflow: hidden;
}

.modern-related-title a {
    color: #263746;
    text-decoration: none;
    transition: color 0.2s ease;
}

.modern-related-title a:hover {
    color: #183f68;
}

.modern-related-rating {
    display: flex;
    align-items: center;
    gap: 7px;
    min-height: 19px;
    margin-bottom: 10px;
}

.modern-rating-stars {
    display: inline-flex;
    gap: 2px;
    color: #f5b301;
    font-size: 10px;
}

.modern-rating-value {
    color: #8995a2;
    font-size: 10px;
    font-weight: 600;
}

.modern-related-price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.modern-current-price {
    color: #183f68;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -0.2px;
}

.modern-old-price {
    color: #a3adb7;
    font-size: 11px;
    font-weight: 500;
    text-decoration: line-through;
}

.modern-related-cart {
    width: 100%;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: auto;
    padding: 9px 13px;
    border: 1px solid #183f68;
    border-radius: 9px;
    background: #183f68;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15px;
    cursor: pointer;
    transition:
        background-color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.modern-related-cart i {
    font-size: 11px;
    transition: transform 0.25s ease;
}

.modern-related-cart:hover {
    background: #102f50;
    border-color: #102f50;
    transform: translateY(-1px);
    box-shadow: 0 7px 16px rgba(24, 63, 104, 0.2);
}

.modern-related-cart:hover i {
    transform: translateX(2px);
}

.modern-related-cart:active {
    transform: translateY(0);
}

@media (min-width: 1400px) {

    .modern-related-section .container-fluid {
        padding-left: 50px;
        padding-right: 50px;
    }

    .modern-related-image {
        height: 265px;
        min-height: 265px;
    }

    .modern-related-heading h2 {
        font-size: 30px;
    }
}

@media (max-width: 991px) {

    .modern-related-section {
        padding: 45px 0 60px;
    }

    .modern-related-section .container-fluid {
        padding-left: 25px;
        padding-right: 25px;
    }

    .modern-related-header {
        margin-bottom: 22px;
    }

    .modern-related-heading h2 {
        font-size: 25px;
    }

    .modern-related-image {
        height: 220px;
        min-height: 220px;
    }

    .modern-related-content {
        padding: 16px;
    }
}

@media (max-width: 767px) {

    .modern-related-section {
        padding: 38px 0 50px;
    }

    .modern-related-section .container-fluid {
        padding-left: 16px;
        padding-right: 16px;
    }

    .modern-related-header {
        align-items: flex-end;
        margin-bottom: 20px;
    }

    .modern-related-heading h2 {
        font-size: 22px;
    }

    .modern-related-heading p {
        font-size: 12px;
    }

    .modern-related-navigation button {
        width: 38px;
        height: 38px;
    }

    .modern-related-image {
        height: 205px;
        min-height: 205px;
    }

    .modern-related-actions {
        opacity: 1;
        transform: translate(-50%, 0);
    }

    .modern-related-title {
        font-size: 13px;
    }

    .modern-current-price {
        font-size: 16px;
    }
}

@media (max-width: 575px) {
    .modern-related-section {
        padding: 32px 0 42px;
    }

    .modern-related-header {
        align-items: center;
    }

    .modern-related-heading h2 {
        font-size: 20px;
    }

    .modern-related-heading p {
        display: none;
    }

    .modern-related-eyebrow {
        font-size: 9px;
        letter-spacing: 1.4px;
    }

    .modern-related-eyebrow::before {
        width: 18px;
    }

    .modern-related-navigation {
        gap: 5px;
    }

    .modern-related-navigation button {
        width: 35px;
        height: 35px;
        font-size: 11px;
    }

    .modern-related-image {
        height: 190px;
        min-height: 190px;
    }

    .modern-related-content {
        padding: 14px;
    }

    .modern-related-brand {
        font-size: 9px;
    }

    .modern-related-title {
        height: 40px;
        margin-bottom: 7px;
        font-size: 12px;
    }

    .modern-related-rating {
        margin-bottom: 7px;
    }

    .modern-related-price {
        margin-bottom: 12px;
    }

    .modern-current-price {
        font-size: 15px;
    }

    .modern-old-price {
        font-size: 10px;
    }

    .modern-related-cart {
        min-height: 38px;
        font-size: 10px;
    }
}

@media (max-width: 380px) {
    .modern-related-section .container-fluid {
        padding-left: 12px;
        padding-right: 12px;
    }

    .modern-related-image {
        height: 170px;
        min-height: 170px;
    }

    .modern-related-content {
        padding: 12px;
    }

    .modern-related-cart span {
        font-size: 10px;
    }
}

@media (max-width: 991px) {
    .modern-product-main {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .product-gallery-card {
        min-height: 450px;
    }

    .product-main-image {
        height: 430px;
    }
}

@media (max-width: 767px) {
    .modern-product-page {
        padding-top: 20px;
    }

    .modern-product-title {
        font-size: 25px;
    }

    .detail-current-price {
        font-size: 26px;
    }

    .product-service-features {
        grid-template-columns: 1fr;
    }

    .product-tab-content {
        padding: 20px;
    }

    .product-specification-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {
    .modern-product-main {
        gap: 20px;
    }

    .product-gallery-card {
        min-height: 350px;
        border-radius: 18px;
    }

    .product-main-image {
        height: 340px;
        padding: 20px;
    }

    .product-purchase-area {
        flex-direction: column;
    }

    .product-quantity {
        width: 100%;
    }

    .product-quantity input {
        flex: 1;
    }

    .modern-add-cart {
        flex: none;
        width: 100%;
    }

    .modern-section-heading h2 {
        font-size: 21px;
    }
}