.has-before-color>div {
    position: relative;
    z-index: 5;
}

.has-before-color::before {
    content: "";
    inset: 0px;
    z-index: 0;
    position: absolute;
    opacity: 0.6;
    background: var(--blue1) !important;
}

.fixed.has-before-color::before {
    opacity: 1
}

.dropdown-mega .dropdown-menu {
    width: 100%;
    border-radius: 0px;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--blue1);
    transform: scale(.75);
}

@media only screen and (min-width: 768px) {
    .navbar-expand-lg {
        position: unset !important;
    }
}

.navbar-brand {
    width: 160px;
}

.banner-container::before {
    content: "";
    position: absolute;
    inset: 0px;
    background: rgba(73, 73, 73, 0.54);
    z-index: 0;
}

.banner-container>* {
    position: relative;
    z-index: 1;
}

.bannercontent-container {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-size: cover;
}

.newItemCard {
    background-color: #fff;
    display: flex;
    flex-direction: column;
    padding: 10px;
    border-radius: 12px;
    height: 100%;
}

.newItemCard .nic-title {
    font-weight: 600;
    font-size: 95%;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.newItemCard .nic-price {
    color: var(--blue1);
    font-weight: 600;
    margin-block: 8px 6px;
}

.newItemCard .nic-vertified>span {
    color: var(--blue1);
    font-weight: 600;
}

.nic-vertified {
    margin-block: auto 0;
    font-size: 74%;
    margin: 0;
}

.newBgColor1 {
    background-color: var(--sea);
}

.newBgColor2 {
    background-color: var(--newGray);
}



.section-title .s-title>span {
    color: #444
}

.blue-title {
    color: #444
}

.blue-title>span {
    color: var(--blue1) !important
}

.view-all-container {
    margin-top: 35px;
}

.view-all-container>a {
    color: #bee0ff;
    font-size: 115%;
    font-weight: 600;
}

.newBgImage {
    background-image: var(--blue1);
    background-size: cover;
    background-position: 50%;
    position: relative;
    z-index: 0;
}

.newBgImage .blue-title {
    color: #fff
}

.newBgImage:before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgb(39 39 39 / 54%);
    z-index: -1;
}

.bgImg-1 {
    background-image: url(../imgsv02/a3.jpg);
}

.menu-row-1 {
    margin-block: 13px 22px;
}

.qqqq h5 {
    font-size: 110%;
    color: var(--blue1);
    margin-bottom: 15px
}

.qqqq {
    font-size: 90%
}

.blue-text {
    color: var(--blue1)
}

.object-fit {
    height: 60px;
    width: 60px;
    border-radius: 500px;
    overflow: hidden;
}

.object-fit img {
    object-fit: cover;
    inset: 0;
    height: 100%;
    width: 100%;
    object-position: 50%;
}

.newCard1 {
    background-color: #fff;
    border-radius: 15px;
    padding: 20px;
    min-width: 0;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    height: 100%;
}

/* PLA and Franchise list pages - consistent card sizing */
.pla-index .newCard1,
.franchise-index .newCard1 {
    min-height: 220px;
}

.pla-index .newCard1-row-1,
.franchise-index .newCard1-row-1 {
    gap: 10px;
}

.pla-index .newCard1 .object-fit,
.franchise-index .newCard1 .object-fit {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
}

.pla-index .newCard1 .text-muted,
.franchise-index .newCard1 .text-muted {
    font-size: 14px;
    font-weight: 600;
    color: #333 !important;
}

.pla-index .newCard1 .type,
.franchise-index .newCard1 .type {
    padding: 8px 18px;
    font-size: 13px;
    margin-inline-start: auto;
}

.pla-index .newCard1 .iconed,
.franchise-index .newCard1 .iconed {
    flex-wrap: wrap;
}

.pla-index .newCard1 .blue-text,
.franchise-index .newCard1 .blue-text {
    white-space: nowrap;
}

.newCard1:first-child {
    margin-bottom: 30px;
}

.newCard1 .newCard1-row-1 {
    min-width: 0;
    gap: 10px;
}

.newCard1 .card-title-wrapper {
    min-width: 0;
    overflow: hidden;
}

.newCard1 .card-title-text {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 14px;
    color: #666;
}

.newCard1 .card-info-section {
    padding-top: 12px;
}

.newCard1 .card-info-row {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    margin-bottom: 10px;
    font-size: 13px;
    line-height: 1.5;
    gap: 5px;
}

.newCard1 .card-info-label {
    color: var(--blue1);
    white-space: nowrap;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.newCard1 .card-info-label i {
    font-size: 16px;
}

.newCard1 .card-info-value {
    color: #333;
    word-break: break-word;
    overflow-wrap: anywhere;
    min-width: 0;
    flex: 1;
}

.borderSep1 {
    border-bottom: 1px solid #e6e6e6;
}

.newCard1-row-1 {}

.iconed {
    font-size: 95%
}

.swiper.cards1 {
    width: 100%;
    height: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* PLA and Franchise cards in swiper - larger size */
.swiper.cards1 .swiper-slide {
    width: 380px !important;
    max-width: 420px !important;
    flex-shrink: 0 !important;
}

.swiper.cards1 .swiper-slide .newCard1 {
    width: 100% !important;
    min-width: 350px !important;
    display: flex !important;
    flex-direction: column !important;
}

.swiper.cards1 .newCard1 .newCard1-row-1 {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px !important;
}

.swiper.cards1 .newCard1 .object-fit {
    width: 50px !important;
    height: 50px !important;
    flex-shrink: 0 !important;
}

.swiper.cards1 .newCard1 .card-title-text {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #333 !important;
}

.swiper.cards1 .newCard1 .type {
    padding: 8px 20px !important;
    font-size: 14px !important;
}

.swiper.cards1 .newCard1 .card-info-section {
    padding-top: 15px !important;
}

.swiper.cards1 .newCard1 .card-info-row {
    margin-bottom: 12px !important;
    font-size: 13px !important;
}

.swiper.cards1 .newCard1 .card-info-label {
    color: var(--blue1) !important;
    font-weight: 500 !important;
}

.swiper.cards1 .newCard1 .card-info-label i {
    font-size: 16px !important;
    color: var(--blue1) !important;
}

.swiper.cards1 .newCard1 .card-info-value {
    color: #555 !important;
}

@media (max-width: 768px) {
    .swiper.cards1 .swiper-slide {
        width: 300px !important;
        max-width: 320px !important;
    }
    
    .swiper.cards1 .swiper-slide .newCard1 {
        min-width: 280px !important;
    }
}

.type {
    border-radius: 22px;
    background-color: var(--blue1);
    color: #fff;
    padding: 10px 25px;
    margin-inline: auto 0;
}

.smallText {
    font-size: 90%;
}

.catLink {
    display: flex;
    overflow: hidden;
    flex-direction: column;
    position: relative;
    height: 300px;
}

.catLink img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    color: #701c85
}

.catLink:before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(#ffffff1c, #ffffff3d);
}

.catLink>span {
    position: absolute;
    z-index: 1;
    top: 10px;
    inset-inline: 15px
}

.half-gray {
    position: relative;
}

.half-gray:before {
    content: "";
    position: absolute;
    height: 35%;
    inset-inline: 0;
    bottom: 0;
    background: #f3f3f3;
}

.sub-page-padd-top {
    padding-top: 128px;
}

.sub-page header {
    height: unset;
}

.details-col h1 {
    font-size: 150%
}

.company-owner button {
    border-radius: 500px;
    background-color: var(--sea);
    border: 1px solid var(--blue1);
    font-size: 90%;
    padding: 5px 13px;
    line-height: unset;
}

.lineared {
    background: linear-gradient(360deg, transparent 60%, var(--sea));
    padding: 10px;
    border-radius: 12px;
    border: 1px solid #1111111c;
    font-size: 88%;
}

.outlined-btn {
    border: 1px solid var(--blue1);
    display: inline-flex;
    border-radius: 100px;
    padding: 4px 12px;
    background-color: var(--sea);
}

.outlined-btn:hover,
.outlined-btn:focus {
    border: 1px solid var(--sea);
    background-color: var(--blue1);
    color: #fff;
}

.btn-filled-new {
    border: 1px solid var(--blue1);
    display: inline-flex;
    border-radius: 100px;
    padding: 5px 12px;
    color: #fff;
    background-color: var(--blue1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-filled-new:hover,
.btn-filled-new:focus {
    border: 1px solid var(--sea);
    background-color: var(--sea);
}

.btn-filled-new i {
    margin-inline-end: 5px
}

.small-font-1 {
    font-size: 70%;
}

.small-font-2 {
    font-size: 80%;
}

.small-font-3 {
    font-size: 90%;
}

/*********** navCont *******/

.navCont {
    position: absolute;
    top: calc(50% - 20px);
    inset-inline: -30px;
    z-index: 0;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 2;
}

.navCont>* {
    width: 40px;
    height: 40px;
    border-radius: 500px;
    border: 2px solid var(--blue1);
    position: relative;
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--blue1);
}

.two-levels .swiper-slide a:first-child {
    margin-bottom: 24px
}

/* tabs-new-style */

.tabs-new-style .nav-link {
    border: 0;
    box-shadow: none;
    border-bottom: 4px solid #e2e2e2;
    flex: 1;
    padding-inline: 0 !important;
    margin-inline: 0;
    color: #333;
    font-size: 120% !important;
}

.tabs-new-style .nav-link.active {
    border-color: var(--blue1);
    color: var(--blue1);
}

.tabs-new-style>* {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.tabs-new-style.tab-content {
    padding-top: 10px !important
}

.miniLinks {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.miniLinks>* {
    border: 1px solid #cacaca;
    padding: 10px 20px;
    flex: 1;
    min-width: 22%;
    display: flex;
    justify-content: center;
}

.miniLinks>*:hover {
    border-color: var(--blue1);
    color: var(--blue1);
    background: #daf3fd45;
}

.expandable-container {
    max-width: 490px;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
}

.expandable-content-container {
    overflow: hidden;
    transition: max-height 0.3s ease;
    border-radius: 15px;
    border: 1px solid #dadada;
}

.expandable-container button {
    display: inline-flex;
    width: 120px;
    margin-inline: auto 20px;
    justify-content: center;
    margin-top: -16px;
    font-size: 90%;
}

.collapsed {
    max-height: 277px;
}

.expanded {
    max-height: 1000px;
}

.ecc {
    display: flex;
}

.ecc>* {
    padding: 10px 20px;
    min-width: 154px;
    border: 1px solid #ececec;
}

.ecc>*:first-child {
    background-color: var(--blue3);
    color: #fff;
    transform: translate(-1px, 0px);
}

.ecc>*:last-child {
    flex: 2
}

.btn.more,
.btn.more:hover,
.btn.more:focus {
    border: 1px solid #cacaca;
    background-color: #fff;
    color: var(--blue1);
}

/* ========== Product/Service Cards Styles ========== */
.nic-img {
    overflow: hidden;
    background: #f6f6f6;
    border-radius: 8px;
    padding: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nic-img img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.newItemCard:hover .nic-img img {
    transform: scale(1.05);
}

/* Card sizing for ALL swipers - fixed size like homepage cards */
.swiper .swiper-slide .newItemCard,
.swiper .newItemCard,
.productSwiper .swiper-slide .newItemCard,
.productSwiper .newItemCard,
.servicesSwiper .swiper-slide .newItemCard,
.servicesSwiper .newItemCard,
.offersSwiper .swiper-slide .newItemCard,
.offersSwiper .newItemCard,
section .swiper .newItemCard,
section .swiper-slide .newItemCard,
a.newItemCard {
    width: 180px !important;
    max-width: 180px !important;
    min-width: 180px !important;
    flex-shrink: 0 !important;
}

.swiper .swiper-slide .nic-img,
.swiper .nic-img,
.productSwiper .swiper-slide .nic-img,
.productSwiper .nic-img,
.servicesSwiper .swiper-slide .nic-img,
.servicesSwiper .nic-img,
.offersSwiper .swiper-slide .nic-img,
.offersSwiper .nic-img,
section .swiper .nic-img,
section .swiper-slide .nic-img,
a.newItemCard .nic-img {
    aspect-ratio: 1 / 1;
    height: 140px !important;
    max-height: 140px !important;
    min-height: 140px !important;
    width: 100% !important;
}

.swiper .swiper-slide,
.productSwiper .swiper-slide,
.servicesSwiper .swiper-slide,
.offersSwiper .swiper-slide,
section .swiper .swiper-slide {
    width: auto !important;
    max-width: 200px !important;
    flex-shrink: 0 !important;
}

/* Card info section */
.nic-cnt {
    padding: 8px 4px;
}

.nic-info-list {
    border-top: 1px solid #f0f0f0;
    margin-top: auto;
}

/* Responsive cards in swipers */
@media (max-width: 768px) {
    .swiper .swiper-slide .newItemCard,
    .swiper .newItemCard,
    .productSwiper .swiper-slide .newItemCard,
    .productSwiper .newItemCard,
    .servicesSwiper .swiper-slide .newItemCard,
    .servicesSwiper .newItemCard,
    .offersSwiper .swiper-slide .newItemCard,
    .offersSwiper .newItemCard,
    section .swiper .newItemCard,
    section .swiper-slide .newItemCard,
    a.newItemCard {
        width: 150px !important;
        max-width: 150px !important;
        min-width: 150px !important;
    }
    
    .swiper .swiper-slide .nic-img,
    .swiper .nic-img,
    .productSwiper .swiper-slide .nic-img,
    .productSwiper .nic-img,
    .servicesSwiper .swiper-slide .nic-img,
    .servicesSwiper .nic-img,
    .offersSwiper .swiper-slide .nic-img,
    .offersSwiper .nic-img,
    section .swiper .nic-img,
    section .swiper-slide .nic-img,
    a.newItemCard .nic-img {
        height: 120px !important;
        max-height: 120px !important;
        min-height: 120px !important;
    }
}

/* ========== PLA Details Page Fixes ========== */
.pla-details .section-title.sub-page {
    margin-bottom: 20px;
}

.pla-details .c-description {
    line-height: 1.8;
    color: #444;
}

.pla-details .more-info-values {
    width: 100%;
}

.pla-details .single-miv {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.pla-details .single-miv:last-child {
    border-bottom: none;
}

.pla-details .single-miv .label {
    font-weight: 600;
    color: #333;
}

.pla-details .single-miv .value {
    color: #666;
}

/* Gallery section in PLA */
.pla-details .main-swiper {
    border-radius: 12px;
    overflow: hidden;
}

.pla-details .thumb-swiper {
    border-radius: 8px;
}

.pla-details .thumb-swiper .swiper-slide {
    border-radius: 8px;
    overflow: hidden;
}

/* Contact details section */
.pla-details .infos2-container .infos2 {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-bottom: 15px;
}

.pla-details .infos2 h2 {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.pla-details .infos2 span {
    font-size: 16px;
    color: #333;
    font-weight: 500;
}

/* Fix for broken/missing images - background fallback */
.nic-img {
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
}

.nic-img img {
    background: #f6f6f6;
}

/* Attributes section */
.pla-details .more-info-values.lineared {
    margin: 0;
    width: 100%;
}

/* ========== General Layout Fixes ========== */
.section-sub {
    padding-top: 40px;
    padding-bottom: 40px;
}

.section-sub.pt-0 {
    padding-top: 0 !important;
}

.section-sub.pt-4 {
    padding-top: 1.5rem !important;
}

/* Fix for swiper navigation */
.navCont {
    pointer-events: none;
}

.navCont > * {
    pointer-events: auto;
    cursor: pointer;
    background: #fff;
    transition: all 0.3s ease;
}

.navCont > *:hover {
    background: var(--blue1);
    color: #fff;
}

/* Fix section titles */
.section-title.sub-page .s-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    display: inline-flex;
    flex-direction: column;
}

.section-title .under-title {
    width: 60px;
    margin-top: 8px;
}

/* ========== Expandable Container Improvements ========== */
.expandable-container .ecc {
    display: flex;
    flex-wrap: wrap;
}

.expandable-container .ecc > *:first-child {
    min-width: 140px;
    flex: 0 0 40%;
}

.expandable-container .ecc > *:last-child {
    flex: 1;
    min-width: 60%;
}

/* Empty value handling */
.ecc > *:last-child:empty::before {
    content: "-";
    color: #999;
}

/* ========== RTL Fixes ========== */
[dir="rtl"] .navCont > .custom1 i,
[dir="rtl"] .navCont > .custom2 i {
    transform: rotate(180deg);
}

[dir="rtl"] .nic-info-item i {
    margin-inline-end: 6px;
    margin-inline-start: 0;
}

/* ========== Card Shadow and Hover ========== */
.newItemCard {
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.newItemCard:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    transform: translateY(-4px);
}

/* ========== Image Gallery Fixes ========== */
.main-swiper .swiper-slide img {
    object-fit: contain;
    background: #f9f9f9;
}

.thumb-swiper .swiper-slide img {
    object-fit: cover;
}

/* ========== Section Spacing ========== */
.section {
    padding: 40px 0;
}

.section-sub {
    padding: 30px 0;
}

/* ========== Fix for empty certificates section ========== */
.more-info-values.lineared:empty {
    display: none;
}

.single-miv:empty {
    display: none;
}

/* ========== Details Page Cards - Match Homepage Size ========== */
/* Fix for Our Products/Services from Suppliers and Similar Products/Services sections */
.details-col ~ .section .productSwiper .swiper-slide,
.section.newBgColor1 .productSwiper .swiper-slide,
.section .productSwiper .swiper-slide,
.section .servicesSwiper .swiper-slide,
.details-page .productSwiper .swiper-slide,
.details-page .servicesSwiper .swiper-slide {
    width: 200px !important;
    max-width: 200px !important;
    flex-shrink: 0 !important;
}

.details-col ~ .section .productSwiper .swiper-slide .newItemCard,
.section.newBgColor1 .productSwiper .swiper-slide .newItemCard,
.section .productSwiper .swiper-slide .newItemCard,
.section .servicesSwiper .swiper-slide .newItemCard,
.details-page .productSwiper .swiper-slide .newItemCard,
.details-page .servicesSwiper .swiper-slide .newItemCard {
    width: 180px !important;
    max-width: 180px !important;
    min-width: 180px !important;
}

.details-col ~ .section .productSwiper .nic-img,
.section.newBgColor1 .productSwiper .nic-img,
.section .productSwiper .nic-img,
.section .servicesSwiper .nic-img,
.details-page .productSwiper .nic-img,
.details-page .servicesSwiper .nic-img {
    height: 140px !important;
    max-height: 140px !important;
    min-height: 140px !important;
    aspect-ratio: 1 / 1;
}

/* Responsive for details page cards */
@media (max-width: 768px) {
    .details-col ~ .section .productSwiper .swiper-slide,
    .section.newBgColor1 .productSwiper .swiper-slide,
    .section .productSwiper .swiper-slide,
    .section .servicesSwiper .swiper-slide,
    .details-page .productSwiper .swiper-slide,
    .details-page .servicesSwiper .swiper-slide {
        width: 170px !important;
        max-width: 170px !important;
    }

    .details-col ~ .section .productSwiper .swiper-slide .newItemCard,
    .section.newBgColor1 .productSwiper .swiper-slide .newItemCard,
    .section .productSwiper .swiper-slide .newItemCard,
    .section .servicesSwiper .swiper-slide .newItemCard,
    .details-page .productSwiper .swiper-slide .newItemCard,
    .details-page .servicesSwiper .swiper-slide .newItemCard {
        width: 150px !important;
        max-width: 150px !important;
        min-width: 150px !important;
    }

    .details-col ~ .section .productSwiper .nic-img,
    .section.newBgColor1 .productSwiper .nic-img,
    .section .productSwiper .nic-img,
    .section .servicesSwiper .nic-img,
    .details-page .productSwiper .nic-img,
    .details-page .servicesSwiper .nic-img {
        height: 120px !important;
        max-height: 120px !important;
        min-height: 120px !important;
    }
}
