/* .product-detail {
    padding-top: 5px !important;
    margin-left: -24px !important;
    margin-right: -24px !important;
} */

.product-detail__breadcrumbs a {
    color: #000;
    text-decoration: underline;
}

.product-detail__row {
    margin-top: 0;
}

.product-detail__gallery {
    width: 100%;
}

.product-detail__media {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    background: #f8fafc;
}

.product-detail__image,
.product-detail__video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border: 0;
}

.product-detail__thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    padding-bottom: 3px;
    overflow-x: auto;
}

.product-detail__thumbnail {
    flex: 0 0 70px;
    width: 70px;
    height: 70px;
    /* padding: 2px; */
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
    overflow: hidden;
}

.product-detail__thumbnail.is-active {
    border-color: #000;
}

.product-detail__thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-detail__video-thumbnail {
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    background: #0f172a;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
}

.product-detail__video-thumbnail i {
    font-size: 24px;
}

.product-detail__summary {
    padding: 5px 0;
}

.product-detail__eyebrow {
    margin: 0 0 20px;
    color: #3e3e3e;
    font-size: 14px;
    font-weight: 500;
}

.product-detail__eyebrow a {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 10px;
    background: #000;
    color: #fff;
    text-decoration: none;
}

.product-detail__summary h1 {
    margin-bottom: 5px;
    color: #0f172a;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.2;
}

.product-detail__price {
    margin-top: 20px;
    color: #000;
    font-size: 16px;
    font-weight: 500;
}

.product-detail__regular-price {
    margin-top: 4px;
    color: #c90e0e;
    text-decoration: line-through;
}

.product-detail__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin: 20px 0;
    color: #000;
    font-size: 15px;
}

.product-detail__facts i {
    color: #000;
}

/* Purchase */
.product-detail__purchase {
    width: 100%;
    padding: 6px 0;
}

.product-detail__purchase .product-card-cart-control {
    position: static;
    width: 100%;
}

.product-detail__purchase .product-card-cart-toggle {
    display: flex;
    width: 100%;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0 20px;
    border: 1px solid #000;
    border-radius: 10px;
    background: #000;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.product-detail__purchase .product-card-cart-toggle i {
    display: inline-flex;
    margin-bottom: 3px;
}

.product-detail__purchase .product-card-cart-toggle::after {
    content: 'Add to Cart';
}

.product-detail__purchase .product-card-cart-control.is-active .product-card-cart-toggle {
    display: none;
}

.product-detail__purchase .product-card-cart-stepper {
    display: none;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    overflow: hidden;
    border: 0;
    border-radius: 10px;
    background: #000;
    box-shadow: none;
}

.product-detail__purchase .product-card-cart-control.is-active .product-card-cart-stepper {
    display: inline-flex;
}

.product-detail__purchase .product-card-cart-button {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid #000;
    border-radius: 10px;
    background: #fff !important;
    color: #000;
    font-size: 22px;
}

.product-detail__purchase .product-card-cart-button:hover {
    background: #ebebeb !important;
}

.product-detail__purchase .product-card-cart-quantity {
    display: inline-flex;
    width: 80px;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: #fff;
    color: #000 !important;
}

/* Chat */
.product-detail__chat-link {
    display: inline-flex;
    width: 100%;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0;
    border: 1px solid #000;
    border-radius: 10px;
    background: #000;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.product-detail__chat-link:hover {
    background: #222;
    color: #fff;
}

.supplier-card {
    height: 100%;
    min-height: 533px;
    border-radius: 26px;
    background: #f7f5f5;
    overflow: hidden;
}

.supplier-card__header {
    padding: 10px 15px;
    background: #000;
    color: #fff;
    text-align: center;
}

.supplier-card__header h2 {
    margin: 0;
    font-size: 19px;
    font-weight: 600;
}

.supplier-card__body {
    padding: 20px;
}

.supplier-card__merchant {
    display: flex;
    align-items: center;
    gap: 14px;
    color: inherit;
    text-decoration: none;
}

.supplier-card__logo {
    display: flex;
    width: 65px;
    height: 65px;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid #ddd;
    border-radius: 14px;
    background: #fff;
}

.supplier-card__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.supplier-card__logo i {
    font-size: 28px;
}

.supplier-card__merchant-info {
    min-width: 0;
}

.supplier-card__merchant-info h3 {
    margin: 0 0 4px;
    color: #111;
    font-size: 17px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.supplier-card__merchant-info small {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 4px;
    color: #555;
}

.supplier-card__verified {
    display: block;
    color: #198754;
    font-size: 13px;
    font-weight: 600;
}

.supplier-card__verified i {
    margin-right: 4px;
}

.supplier-card__flag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    width: 18px;
    height: 14px;
    line-height: 1;
    overflow: hidden;
}

.supplier-card__store-btn {
    display: flex;
    width: 100%;
    min-height: 45px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 20px;
    border: 1px solid #000;
    border-radius: 10px;
    background: #fff;
    color: #000;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.supplier-card__store-btn:hover {
    background: #000;
    color: #fff;
}

.supplier-card hr {
    margin: 16px 0 12px 0;
    border-color: #a5a5a5;
}

.supplier-card__trust h3 {
    margin-bottom: 12px;
    font-size: 16px;
    font-weight: 700;
}

.supplier-card__trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0px 0px 5px 4px;
    color: #333;
    font-size: 14px;
}

.supplier-card__trust-item i {
    color: #198754;
    font-size: 17px;
}

.supplier-card__rfq {
    margin-top: 20px;
    padding: 15px;
    border-radius: 12px;
    background: #fff;
}

.supplier-card__rfq strong {
    display: block;
    margin-bottom: 5px;
    font-size: 15px;
}

.supplier-card__rfq p {
    margin-bottom: 12px;
    color: #464646;
    font-size: 14px;
}

.supplier-card__rfq a {
    display: flex;
    width: 100%;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 8px;
    background: #dc2626;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.supplier-card__rfq a:hover {
    background: #b91c1c;
    color: #fff;
}

.product-information-section {
    margin-top: 25px;
}

.product-information-content {
    padding: 20px;
    background: #f7f5f5;
}

.product-information-block + .product-information-block {
    margin-top: 15px;
}

.product-information-block h2 {
    margin-bottom: 10px;
    color: #111827;
    font-size: 19px;
    font-weight: 700;
}

.product-description-text {
    color: #333;
    line-height: 1.5;
    word-break: break-word;
}

/* .product-specifications {
    max-width: 1200px;
} */

.product-detail__spec-table {
    width: 100%;
    margin: 0;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 12px;
    overflow: hidden;
    table-layout: fixed;
}

.product-detail__spec-table td {
    padding: 10px 15px;
    border-color: #e5e7eb;
    background: #fff;
    vertical-align: top;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.product-detail__spec-table td:first-child {
    width: 20%;
    background: #f1f1f1;
    font-weight: 600;
}

.product-detail__spec-table a {
    color: #000;
    font-weight: 600;
}

.spec-country-row {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    vertical-align: middle;
    line-height: 1.4;
}

.spec-country-flag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 15px;
    flex-shrink: 0;
    vertical-align: middle;
    overflow: hidden;
    line-height: 1;
}

.product-detail__related {
    margin-top: 0px;
}

.product-detail__related-grid {
    margin-left: 0;
    margin-right: 0;
}

.product-detail__related-col {
    display: flex;
    max-width: none;
    align-items: stretch;
}

.product-detail__related-item {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    width: 100%;
    height: 100%;
    background: aliceblue;
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
    color: inherit;
    text-decoration: none;
}

.product-detail__related-item .product-image-wrapper {
    position: relative;
    background: #f8fafc;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    flex-shrink: 0;
}

.product-detail__related-item .product-content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 6px 12px 12px 12px;
    background: aliceblue;
}

.product-detail__related-item .store-name {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 2px;
    font-size: 13px;
    color: #2a2a2a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-detail__related-item .product-name {
    margin-bottom: 2px;
    padding-top: 3px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.product-detail__related-item .product-unit {
    margin-top: 2px;
    margin-bottom: 2px;
    font-size: 14px;
    font-weight: 500;
    color: #3f3f3f;
}

.product-detail__related-item .product-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 14px;
    font-weight: 600;
    margin-top: auto;
}

.product-price-current {
    font-size: 15px;
}

.product-price-old {
    font-size: 15px;
}

.product-detail__seo-content {
    color: #1f2937;
}

.product-detail__seo-box {
    padding: 10px 10px;
    background: #f7f5f5;
}

.product-detail__seo-content p {
    color: #1f2937;
    margin-bottom: 2px;
}

.merchant-title
{
    font-size: 17px !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    background: black;
    padding: 10px 12px;
    border-radius: 15px 15px 0 0;
}

.merchant-section1 {
    margin-bottom: 0px;
}

/* .container-custom {
    padding: 1px 24px 0px 24px;
    min-height: auto;
} */

.store-name-flag, .merchant-profile-flag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 17px;
    height: 14px;
    flex-shrink: 0;
    vertical-align: middle;
    line-height: 1;
    overflow: hidden;
}

/* Mobile */
@media (max-width: 1200px) {
    .supplier-card {
        min-height: auto;
    }
}

@media (min-width: 993px) and (max-width: 1199px) {
    .product-detail__related-grid .col-lg-2 {
        flex: 0 0 25%;
        max-width: 25%;
    }
}

@media (max-width: 991px) {
    .product-detail__seo {
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .product-detail {
        margin-left: -12px;
        margin-right: -12px;
        padding: 15px;
    }

    .product-detail__row {
        --bs-gutter-y: 24px;
    }

    .product-detail__summary {
        padding-top: 0;
    }

    .product-detail__summary h1 {
        font-size: 20px;
    }

    .product-detail__price {
        margin-top: 15px;
        font-size: 20px;
    }

    .product-information-content {
        padding: 15px;
    }

    .product-detail__spec-table,
    .product-detail__spec-table tbody,
    .product-detail__spec-table tr,
    .product-detail__spec-table td {
        display: block;
        width: 100%;
    }

    .product-detail__spec-table thead {
        display: none;
    }

    .product-detail__spec-table tr {
        border-bottom: 1px solid #e5e7eb;
    }

    .product-detail__spec-table td {
        padding: 10px 12px;
        border: 0;
    }

    .product-detail__spec-table td:first-child {
        width: 100%;
        background: #f1f1f1;
        font-weight: 700;
    }

    .product-detail__spec-table td:last-child {
        border-top: 0;
    }

    .product-detail__seo {
        margin-top: 30px;
    }

    .product-detail__related-item .store-name {
        font-size: 12px;
    }

    .product-price-current {
        font-size: 15px;
    }

    .product-price-old {
        font-size: 15px;
    }

    .product-detail__seo-content p {
        font-size: 14px;
    }
    .container-custom {
        padding: 1px 10px 10px 10px;
    }
}

@media (max-width: 480px) {
    .product-price-current {
        font-size: 13px;
    }

    .product-price-old {
        font-size: 13px;
    }
}