/* HIKMAT Data Orders: global font, square borders, responsive layout. */
.hdo-menu,
.hdo-list,
.hdo-dialog {
    font-family: inherit;
    color: #000;
}
.hdo-menu {
    display: inline-flex;
    align-items: baseline;
    gap: 5px;
    text-decoration: none;
    white-space: nowrap;
}
.hdo-menu sup {
    position: relative;
    top: -.55em;
    font-size: .55em;
    line-height: 1;
}
.hdo-preview-menus {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin: 24px 0;
    font-size: 22px;
}
.hdo-list {
    width: 100%;
}
.hdo-cards {
    display: grid;
    gap: 16px;
}
.hdo-list .hdo-card,
.hdo-list .hdo-card:hover,
.hdo-list .hdo-card:focus {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 20px;
    border: 1px solid #000;
    border-radius: 0;
    background: #fff;
    color: #000;
    text-align: left;
    font: inherit;
    line-height: 1.6;
    cursor: pointer;
    box-shadow: none;
}
.hdo-card-top,
.hdo-card-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px 20px;
    width: 100%;
}
.hdo-detail-label {
    text-decoration: underline;
    text-underline-offset: 4px;
    font-size: .85em;
}
.hdo-list .hdo-more,
.hdo-dialog .hdo-buy {
    padding: 9px 14px;
    border: 1px solid #000;
    border-radius: 0;
    background: #000;
    color: #fff;
    font: inherit;
    font-size: 13px;
    cursor: pointer;
}
.hdo-list .hdo-more {
    margin: 24px 0;
}
.hdo-list [hidden] {
    display: none !important;
}
.hdo-dialog {
    width: 700px;
    max-width: calc(100vw - 24px);
    max-height: calc(100dvh - 32px);
    box-sizing: border-box;
    margin: auto;
    padding: 28px;
    border: 1px solid #000;
    border-radius: 0;
    background: #fff;
    overflow-y: auto;
    line-height: 1.6;
}
.hdo-dialog::backdrop {
    background: rgba(0, 0, 0, .5);
}
.hdo-dialog .hdo-close {
    display: block;
    margin: 0 0 8px auto;
    padding: 0 8px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #000;
    font-size: 28px;
    cursor: pointer;
}
.hdo-dialog h2 {
    margin: 0 0 8px;
    font-size: 22px;
    color: #000;
}
.hdo-dialog h3 {
    margin: 12px 0 6px;
    font-size: 16px;
    color: #000;
}
.hdo-dialog p {
    margin: 6px 0;
}
.hdo-product {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr);
    gap: 18px;
    padding: 18px 0;
    border-bottom: 1px solid #ddd;
}
.hdo-product:not(:has(img)) {
    grid-template-columns: minmax(0, 1fr);
}
.hdo-product img {
    width: 90px;
    height: 120px;
    object-fit: contain;
}
.hdo-dialog .hdo-buy:disabled {
    background: #fff;
    color: #777;
    border-color: #b0b0b0;
    cursor: not-allowed;
}
.hdo-totals {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 20px;
    padding-top: 20px;
}
.hdo-totals dt,
.hdo-totals dd {
    margin: 0;
}
.hdo-totals dd {
    text-align: right;
}
.hdo-preview-note {
    padding: 12px;
    border: 1px dashed #000;
}
.hdo-dialog-status {
    margin-top: 18px;
}
.hdo-dialog-status a {
    color: #000;
    text-decoration: underline;
}
.hdo-menu:focus-visible,
.hdo-list button:focus-visible,
.hdo-dialog button:focus-visible {
    outline: 2px solid #000;
    outline-offset: 4px;
}
html.hdo-dialog-open {
    overflow: hidden;
}
@media (max-width: 480px) {
    .hdo-dialog {
        padding: 18px;
    }
    .hdo-list .hdo-card {
        padding: 16px;
    }
    .hdo-product {
        grid-template-columns: 70px minmax(0, 1fr);
        gap: 12px;
    }
    .hdo-product img {
        width: 70px;
        height: 100px;
    }
}

.hdo-preview-banner {
    display: block;
    flex-basis: 100%;
    padding: 16px;
    margin: 0 0 20px;
    border: 1px solid #000;
    background: #fff5d6;
    color: #000;
    font: inherit;
}

.hdo-preview-banner a {
    color: #000;
    text-decoration: underline;
}

#hdo-site-open[hidden] {
    display: none;
}

.hdo-nav-count {
    color: inherit;
    font: inherit;
}

.hdo-nav-count sup {
    position: relative;
    top: -.55em;
    margin-inline-start: 5px;
    font-size: .55em;
    line-height: 1;
    color: inherit;
}
