/* Product detail — premium Myntra-style page */

.imbms-pdp-page {
    background: var(--imbms-page-bg, #f5f5f6);
    padding-bottom: 0 !important;
    padding-top: 20px !important;
}

.imbms-pdp-row {
    align-content: flex-start !important;
    align-items: flex-start !important;
    display: flex !important;
    flex-wrap: wrap !important;
}

.imbms-pdp-gallery-col,
.imbms-pdp-info-col {
    align-self: flex-start !important;
    height: auto !important;
    min-height: 0 !important;
}

.imbms-pdp-gallery-sticky {
    width: 100%;
}

@media (min-width: 992px) {
    .imbms-pdp-gallery-sticky {
        position: sticky;
        top: 96px;
    }
}

.imbms-pdp-page .product-details-img.imbms-pdp-gallery {
    background: #fff;
    border: 1px solid #eaeaec;
    border-radius: 4px;
    height: auto !important;
    min-height: 0 !important;
    overflow: hidden;
    padding: 0;
}

.imbms-pdp-gallery-viewport {
    background: #f5f5f6;
    line-height: 0;
    position: relative;
}

.imbms-pdp-slides {
    min-height: 0;
    position: relative;
}

.imbms-pdp-slide {
    display: none;
    padding: 14px;
    text-align: center;
}

.imbms-pdp-slide.is-active {
    display: block;
}

.imbms-pdp-slide img {
    display: inline-block;
    height: auto;
    margin: 0 auto;
    max-height: 520px;
    max-width: 100%;
    object-fit: contain;
    vertical-align: top;
    width: auto;
}

.imbms-pdp-nav {
    align-items: center;
    background: #fff;
    border: 1px solid #eaeaec;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(40, 44, 63, 0.12);
    color: #282c3f;
    cursor: pointer;
    display: flex;
    font-size: 22px;
    height: 36px;
    justify-content: center;
    line-height: 1;
    padding: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    z-index: 2;
}

.imbms-pdp-nav:hover {
    border-color: #ff3f6c;
    color: #ff3f6c;
}

.imbms-pdp-nav.imbms-pdp-prev {
    left: 10px;
}

.imbms-pdp-nav.imbms-pdp-next {
    right: 10px;
}

.imbms-pdp-nav[hidden] {
    display: none !important;
}

.imbms-pdp-thumbs {
    border-top: 1px solid #f0f0f5;
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    padding: 12px;
    scrollbar-width: thin;
}

.imbms-pdp-thumbs[hidden] {
    display: none !important;
}

.imbms-pdp-thumb {
    background: #f5f5f6;
    border: 2px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    flex: 0 0 56px;
    height: 70px;
    overflow: hidden;
    padding: 0;
    width: 56px;
}

.imbms-pdp-thumb.is-active {
    border-color: #ff3f6c;
}

.imbms-pdp-thumb img {
    display: block;
    height: 100%;
    object-fit: contain;
    width: 100%;
}

.imbms-pdp-highlights {
    border-top: 1px solid #f0f0f5;
    margin-top: 18px;
    padding-top: 16px;
}

.imbms-pdp-highlights-title {
    color: #282c3f;
    font-family: 'Assistant', sans-serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin: 0 0 10px;
    text-transform: uppercase;
}

.imbms-pdp-highlights-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.imbms-pdp-highlights-list li {
    color: #535766;
    font-size: 13px;
    line-height: 1.45;
    padding: 5px 0 5px 18px;
    position: relative;
}

.imbms-pdp-highlights-list li::before {
    color: #03a685;
    content: '\f00c';
    font-family: FontAwesome;
    font-size: 11px;
    left: 0;
    position: absolute;
    top: 7px;
}

.imbms-pdp-page .product-details-img:not(.imbms-pdp-gallery) {
    background: #fff;
    border: 1px solid #eaeaec;
    border-radius: 4px;
    overflow: hidden;
    padding: 12px;
}

.imbms-pdp-page .product-details-img:not(.imbms-pdp-gallery) img {
    border-radius: 2px;
    object-fit: contain;
    width: 100%;
}

.imbms-pdp-page .imbms-pdp-gallery-col {
    height: auto !important;
    min-height: 0 !important;
}

.imbms-pdp-page .imbms-pdp-gallery-col .product-details-img,
.imbms-pdp-page .imbms-pdp-gallery-col .imbms-pdp-gallery-viewport,
.imbms-pdp-page .imbms-pdp-gallery-col .imbms-pdp-slides {
    min-height: 0 !important;
}

@media (min-width: 768px) {
    .imbms-pdp-page .imbms-pdp-info-col .product-details-content {
        margin-top: 0;
    }
}

.imbms-pdp-page .product-details-content {
    background: #fff;
    border: 1px solid #eaeaec;
    border-radius: 4px;
    padding: 24px 22px;
}

.product-details-content .imbms-pdp-title {
    color: #282c3f;
    font-family: 'Assistant', sans-serif;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.3px;
    line-height: 1.35;
    margin: 0 0 14px;
    text-transform: uppercase;
}

.product-details-content .imbms-pdp-note {
    background: linear-gradient(90deg, #fff5f7 0%, #fff 100%);
    border: 1px solid #ffe0e9;
    border-left: 3px solid #ff3f6c;
    border-radius: 4px;
    color: #696b79;
    font-size: 13px;
    line-height: 1.55;
    margin: 0 0 18px;
    padding: 12px 14px;
}

.imbms-pdp-price {
    background: #fafafa;
    border: 1px solid #f0f0f5;
    border-radius: 4px;
    margin-bottom: 8px;
    padding: 16px;
}

.imbms-pdp-price-label {
    color: #696b79;
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.imbms-pdp-price-row {
    align-items: baseline;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
}

.imbms-pdp-price-now {
    color: #282c3f;
    font-family: 'Assistant', sans-serif;
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
}

.imbms-pdp-price-was {
    color: #94969f;
    font-size: 17px;
    text-decoration: line-through;
}

.imbms-pdp-price-off {
    background: #fff0f3;
    border-radius: 3px;
    color: #ff3f6c;
    font-size: 13px;
    font-weight: 700;
    padding: 4px 8px;
}

.imbms-pdp-purchase {
    border-top: none !important;
    margin-top: 8px !important;
    padding-top: 8px !important;
}

.imbms-pdp-delivery-note {
    align-items: center;
    color: #03a685 !important;
    display: flex;
    font-size: 14px !important;
    font-weight: 600;
    gap: 8px;
    margin-bottom: 16px !important;
}

.imbms-pdp-delivery-note::before {
    content: '\f0d1';
    font-family: FontAwesome;
    font-size: 16px;
}

/* ── Trust strip with Font Awesome icons ── */
.imbms-pdp-trust {
    background: #fff;
    border-bottom: 1px solid #eaeaec;
    border-top: 1px solid #eaeaec;
    margin-top: 28px;
    padding: 20px 0;
}

.imbms-pdp-trust-scroll {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(6, 1fr);
}

.imbms-pdp-trust-item {
    align-items: center;
    background: #fafafa;
    border: 1px solid #f0f0f5;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px 10px;
    text-align: center;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.imbms-pdp-trust-item:hover {
    border-color: #eaeaec;
    box-shadow: 0 2px 8px rgba(40, 44, 63, 0.06);
}

.imbms-trust-icon {
    align-items: center;
    border-radius: 50%;
    color: #fff;
    display: flex;
    flex-shrink: 0;
    font-size: 22px;
    height: 52px;
    justify-content: center;
    line-height: 1;
    width: 52px;
}

.imbms-trust-icon i {
    display: block;
    font-size: 22px;
    line-height: 1;
}

.imbms-trust-teal { background: linear-gradient(135deg, #20bd99, #03a685); }
.imbms-trust-pink { background: linear-gradient(135deg, #ff3f6c, #e5385f); }
.imbms-trust-blue { background: linear-gradient(135deg, #0478c5, #0369a1); }
.imbms-trust-green { background: linear-gradient(135deg, #03a685, #028a6d); }
.imbms-trust-orange { background: linear-gradient(135deg, #ff905a, #ff6b35); }
.imbms-trust-purple { background: linear-gradient(135deg, #7c4dff, #651fff); }

.imbms-trust-text {
    color: #282c3f;
    font-family: 'Assistant', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2px;
    line-height: 1.35;
}

/* Hide broken legacy img icons if any remain */
.imbms-pdp-trust-item img {
    display: none !important;
}

/* Description tabs */
.imbms-pdp-tabs.description-review-area {
    background: var(--imbms-page-bg, #f5f5f6);
    padding-bottom: 48px !important;
    padding-top: 28px !important;
}

.imbms-pdp-tabs .container {
    background: #fff;
    border: 1px solid #eaeaec;
    border-radius: 4px;
    max-width: 920px;
    padding: 24px 28px 32px;
}

.imbms-pdp-tabs .description-review-topbar.nav {
    border-bottom: 1px solid #eaeaec;
    display: flex;
    gap: 0;
    margin-bottom: 24px;
}

.imbms-pdp-tabs .description-review-topbar.nav a {
    border-bottom: 2px solid transparent;
    color: #696b79 !important;
    font-family: 'Assistant', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin: 0 !important;
    padding: 12px 0;
    margin-right: 28px !important;
    text-decoration: none !important;
    text-transform: uppercase;
}

.imbms-pdp-tabs .description-review-topbar.nav a.active,
.imbms-pdp-tabs .description-review-topbar.nav a:hover {
    border-bottom-color: #ff3f6c !important;
    color: #ff3f6c !important;
}

.imbms-pdp-tabs .product-description-wrapper {
    color: #535766;
    font-family: 'Assistant', sans-serif;
    font-size: 14px;
    line-height: 1.7;
}

.imbms-pdp-tabs .product-description-wrapper h1,
.imbms-pdp-tabs .product-description-wrapper h2,
.imbms-pdp-tabs .product-description-wrapper h3 {
    color: #282c3f;
    font-family: 'Assistant', sans-serif;
    font-weight: 700;
    margin-top: 1.2em;
}

.imbms-pdp-tabs .product-description-wrapper ul {
    padding-left: 20px;
}

.imbms-pdp-tabs .product-description-wrapper li {
    margin-bottom: 6px;
}

@media (max-width: 991px) {
    .imbms-pdp-trust-scroll {
        display: flex;
        flex-wrap: nowrap;
        gap: 10px;
        overflow-x: auto;
        padding-bottom: 6px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .imbms-pdp-trust-scroll::-webkit-scrollbar {
        display: none;
    }

    .imbms-pdp-trust-item {
        flex: 0 0 130px;
        scroll-snap-align: start;
    }

    .imbms-pdp-page .product-details-content {
        margin-top: 16px;
        padding: 18px 16px;
    }
}

@media (max-width: 767px) {
    .imbms-pdp-slide img {
        max-height: 360px;
    }

    .imbms-pdp-thumb {
        flex: 0 0 48px;
        height: 60px;
        width: 48px;
    }

    .product-details-content .imbms-pdp-title {
        font-size: 17px;
    }

    .imbms-pdp-price-now {
        font-size: 24px;
    }

    .imbms-trust-icon {
        font-size: 18px;
        height: 44px;
        width: 44px;
    }

    .imbms-trust-icon i {
        font-size: 18px;
    }

    .imbms-pdp-tabs .container {
        padding: 18px 16px 24px;
    }
}
