/* Trang "Thiết bị theo ngành" (shops op=nganh) theo mẫu html/demo/thiet_bi_theo_nganh. Phạm vi .industry-page, nạp sau catalog.css. */

.industry-page .industry-hero {
    min-height: 0;
    padding: 18px 0 44px;
    background-position: right center;
    background-size: cover;
    background-repeat: no-repeat
}

.industry-page .industry-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12px;
    color: #60778b
}

.industry-page .industry-breadcrumb a {
    color: inherit
}

.industry-page .industry-breadcrumb a:hover {
    color: var(--brand)
}

.industry-page .industry-breadcrumb b {
    color: var(--brand);
    font-weight: 400
}

.industry-page .industry-hero h1 {
    margin: 30px 0 14px;
    color: var(--navy);
    font-size: 44px;
    line-height: 1.15
}

.industry-page .industry-hero p {
    max-width: 520px;
    color: #476077;
}

/* Bố cục 2 cột */
.industry-page .industry-layout {
    display: grid;
    grid-template-columns: 235px minmax(0, 1fr);
    gap: 26px;
    padding: 12px 0 46px
}

.industry-page .industry-side {
    display: grid;
    gap: 14px;
    height: max-content
}

.industry-page .industry-side h2 {
    margin: 0;
    font-size: 18px
}

/* Menu ngành */
.industry-page .industry-menu {
    padding: 18px 8px 10px;
    background: #eef6fc;
    border-radius: 4px
}

.industry-page .industry-menu h2 {
    margin: 0 14px 12px;
    color: var(--navy)
}

.industry-page .industry-menu a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 14px;
    border-left: 4px solid transparent;
    color: #51697b;
    font-size: 15px
}

.industry-page .industry-menu a span {
    color: #9aaab8
}

.industry-page .industry-menu a:hover,
.industry-page .industry-menu a.is-active {
    color: var(--brand)
}

.industry-page .industry-menu a.is-active {
    border-left-color: var(--brand);
    background: #fff9;
    font-weight: 800
}

/* Đang xem ngành con: ngành cha tô cam, các ngành con thụt vào bên dưới */
.industry-page .industry-menu a.is-parent {
    color: var(--brand);
    font-weight: 700
}

.industry-page .industry-menu a.is-sub {
    padding: 7px 14px 7px 28px;
    font-size: 14px
}

/* Form tư vấn */
.industry-page .industry-consult {
    padding: 18px 15px;
    background: #0a2f57;
    border-radius: 4px;
    color: #fff
}

.industry-page .industry-consult h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    line-height: 1.3
}

.industry-page .industry-consult > p {
    margin: 10px 0 14px;
    font-size: 13px;
    line-height: 1.5
}

.industry-page .industry-consult form {
    display: grid;
    gap: 9px
}

.industry-page .industry-consult input,
.industry-page .industry-consult textarea {
    width: 100%;
    box-sizing: border-box;
    border: 0;
    border-radius: 4px;
    padding: 10px 12px;
    font: inherit;
    font-size: 13px;
    color: var(--navy)
}

.industry-page .industry-consult textarea {
    height: 70px;
    resize: vertical
}

.industry-page .industry-captcha {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 8px;
    align-items: center
}

.industry-page .industry-captcha img {
    border-radius: 3px;
    background: #fff
}

.industry-page .industry-consult button,
.industry-page .industry-zalo {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 11px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer
}

.industry-page .industry-consult button {
    border: 0;
    background: var(--brand);
    color: #fff
}

.industry-page .industry-consult button:disabled {
    opacity: .6
}

.industry-page .industry-zalo {
    margin-top: 10px;
    border: 1px solid #fff;
    color: #fff
}

.industry-page .industry-zalo span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #fff;
    color: #0068ff;
    font-size: 9px
}

.industry-page .industry-consult .contact-result {
    display: none;
    margin: 0;
    font-size: 13px
}

/* Liên hệ kinh doanh / kỹ thuật */
.industry-page .industry-contact {
    overflow: hidden;
    background: #eef6fc;
    border-radius: 4px
}

.industry-page .industry-contact h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background: #0a2f57;
    color: #fff;
    font-size: 14px
}

.industry-page .industry-contact > a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 15px;
    color: #60778b;
    font-size: 13px
}

.industry-page .industry-contact > a + a {
    border-top: 1px solid #dbe8f2
}

.industry-page .industry-contact svg {
    flex: 0 0 auto;
    fill: none;
    stroke: var(--brand);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round
}

.industry-page .industry-contact b {
    display: block;
    margin-top: 2px;
    color: var(--navy);
    font-size: 15px
}

.industry-page .industry-hotline b {
    margin: 0 0 2px;
    font-size: 19px
}

/* Nhóm thiết bị */
.industry-page .industry-group + .industry-group {
    margin-top: 30px
}

.industry-page .industry-group > h2 {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 8px 0 16px;
    color: var(--navy);
    font-size: 21px
}

.industry-page .industry-group > h2::before {
    content: "";
    flex: 0 0 22px;
    height: 4px;
    border-radius: 2px;
    background: var(--brand)
}

.industry-page .industry-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px
}

.industry-page .industry-card {
    display: flex;
    flex-direction: column;
    border: 1px solid #e2ebf1;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
}

.industry-page .industry-card__img {
    display: block;
    background: #f3f6f8;
    overflow: hidden;
}

.industry-page .industry-card__img img {
    display: block;
    width: 100%;
    height: 185px;
    object-fit: cover;
    transition: transform .2s, box-shadow .2s;
}

.industry-page .industry-card:hover .industry-card__img img {
    transform: scale(1.1);
}

.industry-page .industry-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 12px 15px 16px
}

.industry-page .industry-card__brand {
    color: #1458b8;
    font-size: 15px;
    font-weight: 700
}

.industry-page .industry-card h3 {
    margin: 2px 0 8px;
    font-size: 17px;
    line-height: 1.3
}

.industry-page .industry-card h3 a {
    color: var(--navy)
}

.industry-page .industry-card h3 a:hover {
    color: var(--brand)
}

.industry-page .industry-card p {
    flex: 1;
    margin: 0 0 12px;
    color: #617488;
    font-size: 13px;
    line-height: 1.5
}

.industry-page .industry-card__more {
    color: var(--brand);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px
}

.industry-page .industry-empty {
    padding: 24px;
    background: #f6fafd;
    border: 1px dashed #d4e2ec;
    color: #60778b;
    margin-top: 0;
}

@media (max-width: 991px) {
    .industry-page .industry-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }
}

@media (max-width: 767px) {
    .industry-page .industry-hero h1 {
        font-size: 32px
    }

    .industry-page .industry-layout {
        grid-template-columns: 1fr
    }

    /* Mobile: thiết bị lên trước, sidebar (menu/form/liên hệ) xuống dưới */
    .industry-page .industry-content {
        order: -1
    }

    .industry-page .industry-card__img img {
        height: 150px
    }
}

@media (max-width: 479px) {
    .industry-page .industry-grid {
        grid-template-columns: 1fr
    }
}
