.iote-exhibitor-widget,
.iote-exhibitor-widget * {
    box-sizing: border-box;
}

.iote-exhibitor-widget {
    width: 100%;
    padding: 30px 20px 45px;
    color: #111;
    background: #f4f4f4;
    font-family: Arial, "Microsoft YaHei", sans-serif;
    isolation: isolate;
}

.iote-exhibitor-widget button {
    font: inherit;
}

body.iote-modal-open {
    overflow: hidden;
}

.iote-exhibitor-widget [hidden] {
    display: none !important;
}

.iote-widget-container {
    width: 100%;
    max-width: 1046px;
    margin: 0 auto;
}

.iote-widget-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    margin: 0 0 30px;
}

.iote-widget-header .iote-page-title {
    margin: 0;
}

.iote-header-tools {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
}

.iote-search-input {
    width: 240px;
    max-width: 100%;
    min-height: 42px;
    padding: 10px 14px;
    color: #111;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 15px;
    line-height: 1.2;
}

.iote-search-input:focus-visible {
    outline: 3px solid rgba(181, 0, 90, .18);
    outline-offset: 0;
    border-color: #b5005a;
}

.iote-search-row {
    margin: 0 0 22px;
}

.iote-search-row .iote-search-input {
    width: 100%;
    max-width: 420px;
}

.iote-refresh {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 0 0 auto;
    min-height: 42px;
    padding: 10px 18px;
    color: #111;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 400;
    line-height: 1;
    cursor: pointer;
    transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}

.iote-refresh:hover,
.iote-refresh:focus-visible {
    color: #fff;
    background: #b5005a;
    border-color: #b5005a;
}

.iote-refresh:focus-visible {
    outline: 3px solid rgba(181, 0, 90, .18);
    outline-offset: 3px;
}

.iote-refresh:disabled {
    opacity: .6;
    cursor: wait;
}

.iote-page-title {
    margin: 0 0 30px;
    color: #111;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
}

.iote-filter {
    width: 100%;
    margin: 0 0 30px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.iote-filter-row {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    min-height: 62px;
    border-bottom: 1px solid #ddd;
}

.iote-filter-row:last-child {
    border-bottom: none;
}

.iote-filter-label {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    color: #111;
    background: #f7f7f7;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
}

.iote-filter-options {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 26px;
    min-width: 0;
    padding: 13px 22px;
}

.iote-filter-option {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    margin: 0;
    padding: 4px 0;
    color: #111;
    background: transparent;
    border: none;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
    text-align: left;
    cursor: pointer;
    transition: color .2s ease;
}

.iote-filter-option:hover,
.iote-filter-option:focus-visible,
.iote-filter-option.is-active {
    color: #b5005a;
}

.iote-filter-option.is-active {
    font-weight: 600;
}

.iote-filter-option:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 4px;
}

.iote-filter-result {
    margin: -13px 0 22px;
    color: #888;
    font-size: 14px;
    line-height: 1.6;
    text-align: right;
}

.iote-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
}

.iote-item {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr) 110px;
    align-items: center;
    gap: 40px;
    width: 100%;
    min-height: 225px;
    padding: 20px 0 20px 22px;
    background: #fff;
}

.iote-logo-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 250px;
    height: 180px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
}

.iote-logo-box:focus-visible,
.iote-item-content:focus-visible {
    outline: 3px solid rgba(181, 0, 90, .18);
    outline-offset: 3px;
}

.iote-logo {
    display: block;
    width: 100%;
    height: 100%;
    padding: 8px;
    object-fit: contain;
    object-position: center;
}

.iote-logo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #999;
    background: #f4f4f4;
    font-size: 28px;
    font-weight: 700;
}

.iote-item-content {
    align-self: start;
    min-width: 0;
    padding-top: 2px;
    cursor: pointer;
    outline: none;
}

.iote-item-title {
    margin: 0 0 18px;
    color: #111;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    word-break: break-word;
    transition: color .2s ease;
}

.iote-item-content:hover .iote-item-title,
.iote-item-content:focus-visible .iote-item-title {
    color: #b5005a;
}

.iote-meta {
    display: flex;
    flex-direction: column;
    gap: 9px;
    width: 100%;
}

.iote-meta-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    min-width: 0;
}

.iote-meta-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 38px;
}

.iote-meta-group {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.iote-meta-label {
    flex: 0 0 auto;
    color: #111;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
}

.iote-meta-value {
    min-width: 0;
    color: #888;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
    word-break: break-word;
}

.iote-products-value {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.iote-button-box {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    align-self: stretch;
}

.iote-enquiry {
    width: 110px;
    min-width: 110px;
    padding: 15px 12px;
    color: #111;
    background: #ddd;
    border: none;
    border-radius: 18px 0 0 18px;
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
    cursor: pointer;
    transition: color .2s ease, background-color .2s ease;
}

.iote-enquiry:hover,
.iote-enquiry:focus-visible {
    color: #fff;
    background: #b5005a;
}

.iote-reserved-hidden {
    visibility: hidden !important;
    pointer-events: none !important;
}

.iote-message,
.iote-filter-empty {
    padding: 60px 20px;
    color: #777;
    font-size: 16px;
    line-height: 1.8;
    text-align: center;
}

.iote-filter-empty {
    background: #fff;
}

.iote-load-more {
    display: none;
    min-width: 150px;
    margin: 35px auto 0;
    padding: 15px 28px;
    color: #fff;
    background: #222;
    border: none;
    border-radius: 3px;
    font-size: 15px;
    cursor: pointer;
    transition: background-color .2s ease, transform .2s ease;
}

.iote-load-more:hover {
    background: #b5005a;
    transform: translateY(-1px);
}

.iote-modal {
    position: fixed;
    z-index: 999999;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 30px;
}

.iote-modal.is-open {
    display: flex;
}

.iote-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .65);
    backdrop-filter: blur(3px);
}

.iote-modal-box {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 900px;
    max-height: 88vh;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 45px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, .3);
}

.iote-modal-close {
    position: absolute;
    z-index: 5;
    top: 12px;
    right: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin: 0;
    padding: 0;
    color: #555;
    background: transparent;
    border: none;
    border-radius: 50%;
    font-size: 34px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
}

.iote-modal-close:hover,
.iote-modal-close:focus-visible {
    color: #b5005a;
    background: #f5f5f5;
}

.iote-detail-header {
    display: flex;
    align-items: center;
    gap: 25px;
    padding-right: 45px;
    margin-bottom: 30px;
}

.iote-detail-logo,
.iote-detail-logo-placeholder {
    flex: 0 0 auto;
    width: 160px;
    height: 100px;
    border: 1px solid #eee;
    border-radius: 4px;
}

.iote-detail-logo {
    display: block;
    padding: 10px;
    object-fit: contain;
    object-position: center;
    background: #fff;
}

.iote-detail-logo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    background: #f4f4f4;
    font-size: 25px;
    font-weight: 700;
}

.iote-detail-heading {
    flex: 1;
    min-width: 0;
}

.iote-detail-title {
    margin: 0 0 8px;
    color: #111;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.4;
    word-break: break-word;
}

.iote-detail-subtitle {
    margin: 0;
    color: #777;
    font-size: 15px;
    line-height: 1.6;
    word-break: break-word;
}

.iote-detail-list {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 35px;
    width: 100%;
}

.iote-detail-row {
    min-width: 0;
    padding: 17px 0;
    border-bottom: 1px solid #eee;
}

.iote-detail-row.is-full {
    grid-column: 1 / -1;
}

.iote-detail-label {
    margin-bottom: 7px;
    color: #111;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
}

.iote-detail-value {
    color: #666;
    font-size: 15px;
    line-height: 1.8;
    word-break: break-word;
    overflow-wrap: anywhere;
}

@media (max-width: 1024px) {
    .iote-item {
        grid-template-columns: 220px minmax(0, 1fr) 110px;
        gap: 25px;
    }

    .iote-logo-box {
        width: 220px;
        height: 160px;
    }
}

@media (max-width: 767px) {
    .iote-exhibitor-widget {
        padding: 15px 14px 30px;
    }

    .iote-page-title {
        margin-bottom: 22px;
        font-size: 28px;
    }

    .iote-widget-header {
        flex-direction: column;
        align-items: stretch;
    }

    .iote-header-tools {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .iote-search-input {
        width: 100%;
    }

    .iote-search-row .iote-search-input {
        max-width: none;
    }

    .iote-refresh {
        width: 100%;
    }

    .iote-filter-row {
        display: block;
        min-height: 0;
    }

    .iote-filter-label {
        padding: 12px 16px 8px;
        font-size: 15px;
    }

    .iote-filter-options {
        gap: 6px 18px;
        padding: 6px 16px 14px;
    }

    .iote-filter-option {
        min-height: 30px;
        font-size: 14px;
    }

    .iote-filter-result {
        margin-top: -10px;
        text-align: left;
    }

    .iote-list {
        gap: 16px;
    }

    .iote-item {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
        min-height: auto;
        padding: 18px;
    }

    .iote-logo-box {
        width: 100%;
        height: 180px;
    }

    .iote-meta-row {
        flex-direction: column;
        gap: 4px;
    }

    .iote-meta-group {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .iote-button-box,
    .iote-enquiry {
        width: 100%;
        min-width: 100%;
    }

    .iote-enquiry {
        border-radius: 5px;
    }

    .iote-reserved-hidden {
        display: none !important;
    }

    .iote-modal {
        padding: 14px;
    }

    .iote-modal-box {
        max-height: 92vh;
        padding: 45px 22px 28px;
    }

    .iote-detail-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
        padding-right: 30px;
    }

    .iote-detail-list {
        display: block;
    }
}
