/**
 * Equipment Single Page Styles
 * Based on medeq.ru structure
 * 
 * @package MedEquip_Aggregator
 * @version 1.4.2
 */

/* ============================================
   EQUIPMENT PAGE HEADER STYLES
   ============================================ */

.page-header--equipment {
    margin-bottom: 0;
}

.page-header__breadcrumb-prev {
    margin-bottom: 16px;
}

.breadcrumb-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #000;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.breadcrumb-back:hover {
    color: #12356a;
}

.breadcrumb-back svg {
    width: 20px;
    height: 20px;
}

.header-bottom__info {
    margin-top: 24px;
}

.page-header__price-descr {
    color: #777;
    font-size: 14px;
    line-height: 16px;
    margin-bottom: 24px;
}

.page-header__controls {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.page-header__icons {
    display: flex;
    gap: 16px;
}

.page-header__icon {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: color 0.2s ease;
}

.page-header__icon:hover {
    color: #12356a;
}

.page-header__icon svg {
    width: 24px;
    height: 24px;
}

/* ============================================
   ABOUT CARD SECTION
   ============================================ */

.about-card {
    padding-top: 0;
}

@media (min-width: 768px) {
    .about-card {
        display: flex;
    }
}

@media (min-width: 1280px) {
    .about-card {
        padding-top: 0;
    }
}

.about-card__wrap {
    display: flex;
    gap: 0;
}

.about-card__left {
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .about-card__left {
        margin-right: 32px;
        width: calc(50% - 24px);
    }
}

@media (min-width: 1280px) {
    .about-card__left {
        margin-right: 50px;
        width: calc(50% - 40px);
    }
}

/* Mobile Slider */
.about-card__slider-mobile {
    overflow: hidden;
    margin-bottom: 16px;
}

@media (min-width: 1280px) {
    .about-card__slider-mobile {
        display: none;
    }
}

.about-card__slider-mobile-wrap {
    display: flex;
    transition: transform 0.3s ease;
}

.about-card__slide-mobile {
    background-color: #fff;
    display: flex;
    flex: 1 0 100%;
    justify-content: center;
    position: relative;
    min-height: 300px;
    align-items: center;
}

.about-card__slide-mobile:before {
    background-color: rgba(0, 0, 0, 0.03);
    content: "";
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

.about-card__slide-mobile img {
    width: 70%;
    height: auto;
    object-fit: contain;
    position: relative;
    z-index: 1;
}

/* Desktop Image */
.about-card__img-wrap {
    overflow: hidden;
    width: 100%;
}

.about-card__img-wrap .desktop {
    display: none;
    left: 0;
    position: absolute;
    width: calc(50% - 40px);
}

@media (min-width: 1280px) {
    .about-card__img-wrap .desktop {
        display: flex;
    }
}

.about-card__img {
    align-items: center;
    cursor: pointer;
    display: flex;
    height: 275px;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

@media (min-width: 768px) {
    .about-card__img {
        height: 410px;
    }
}

@media (min-width: 1280px) {
    .about-card__img {
        height: 539px;
    }
}

.about-card__img img {
    margin: auto;
    width: 65%;
    height: auto;
    object-fit: cover;
    position: relative;
}

@media (min-width: 768px) {
    .about-card__img img {
        width: 50%;
    }
}

.about-card__img:after {
    background-color: rgba(0, 0, 0, 0.03);
    content: "";
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

.about-card__img--unavailable {
    color: #cbcbcb;
    font-size: 32px;
    line-height: 32px;
    text-align: center;
    width: 100%;
}

/* Thumbnail Swiper */
.about-card-gallery-swiper {
    display: none;
    margin: 8px 0 20px;
}

@media (min-width: 1280px) {
    .about-card-gallery-swiper {
        display: flex;
        margin-top: 547px;
    }
}

.about-card-gallery-swiper__controls {
    align-items: center;
    display: flex;
    flex: 0 0 auto;
    margin-right: 20px;
}

.about-card-gallery-swiper__controls button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    transition: opacity 0.2s ease;
}

.about-card-gallery-swiper__controls button:hover {
    opacity: 0.7;
}

.about-card-gallery-swiper__controls button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.about-card-gallery-swiper__controls span {
    font-size: 16px;
    line-height: 20px;
    margin: 0 20px;
}

.about-card-gallery-swiper__content {
    flex: 1;
    overflow: hidden;
}

.about-card-gallery-swiper__content-wrap {
    display: flex;
    gap: 8px;
    transition: transform 0.3s ease;
}

.about-card-gallery-swiper__img {
    cursor: pointer;
    height: 145px;
    width: 145px;
    flex-shrink: 0;
    position: relative;
    transition: opacity 0.2s ease;
}

.about-card-gallery-swiper__img:hover {
    opacity: 0.8;
}

.about-card-gallery-swiper__img.active {
    border: 2px solid #12356a;
}

.about-card-gallery-swiper__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-card-gallery-swiper__img:after {
    background-color: rgba(0, 0, 0, 0.03);
    content: "";
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

/* Right Column */
.about-card__right {
    padding-top: 24px;
}

@media (min-width: 768px) {
    .about-card__right {
        width: 50%;
    }
}

@media (min-width: 1280px) {
    .about-card__right {
        padding-right: 60px;
        padding-top: 48px;
    }
}

.about-card__short-wrap {
    margin-bottom: 48px;
}

@media (min-width: 768px) {
    .about-card__short-wrap {
        margin-bottom: 30px;
    }
}

@media (min-width: 1280px) {
    .about-card__short-wrap {
        margin-bottom: 46px;
    }
}

.about-card__short-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 20px;
    margin-bottom: 16px;
}

.about-card__descr-item {
    font-size: 16px;
    line-height: 20px;
    margin-bottom: 8px;
}

.about-card__descr-item strong {
    font-weight: 700;
}

/* Manufacturer Brand */
.about-card-brand {
    margin-bottom: 38px;
}

@media (min-width: 768px) {
    .about-card-brand {
        margin-bottom: 34px;
    }
}

@media (min-width: 1280px) {
    .about-card-brand {
        margin-bottom: 46px;
    }
}

.about-card-brand__mark {
    font-size: 16px;
    line-height: 20px;
}

.about-card-brand__mark span {
    font-weight: 800;
}

.about-card-brand__logo {
    margin-bottom: 7px;
    margin-top: 16px;
    max-width: 144px;
}

.about-card-brand__logo img {
    filter: grayscale(100%);
    height: auto;
    width: 100%;
}

.about-card-brand__more {
    font-size: 16px;
    line-height: 20px;
    color: #12356a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.about-card-brand__more:hover {
    color: #12356a;
}

/* Advantages */
.about-card__advantages {
    margin-bottom: 48px;
}

.about-card__advantage {
    align-items: center;
    border-bottom: 1px solid #ddd;
    display: flex;
    font-size: 16px;
    line-height: 20px;
    padding: 16px 0;
    text-decoration: none;
    color: #000;
    transition: color 0.2s ease;
}

.about-card__advantage:first-child {
    padding-top: 0;
}

.about-card__advantage:hover {
    color: #12356a;
}

.about-card__advantage svg {
    min-width: 16px;
    width: 16px;
    margin-right: 12px;
}

.about-card__advantage span {
    flex: 1;
}

/* ============================================
   PRODUCT OPTIONS SECTION (TABS + SIDEBAR)
   ============================================ */

.product-options {
    padding: 56px 0;
}

@media (min-width: 1280px) {
    .product-options {
        padding-bottom: 96px;
    }
}

.product-options__wrap {
    display: flex;
    gap: 40px;
}

.product-options__left {
    width: 100%;
}

@media (min-width: 1280px) {
    .product-options__left {
        width: 60%;
    }
}

.product-options__right {
    display: none;
}

@media (min-width: 1280px) {
    .product-options__right {
        display: block;
        flex: 1;
    }
}

/* Tabs Navigation */
.product-options-tabs {
    display: flex;
    font-size: 16px;
    font-weight: 700;
    line-height: 20px;
    overflow-x: auto;
    position: relative;
    border-bottom: 1px solid #ddd;
}

.product-options-tab__item {
    border-bottom: 2px solid transparent;
    padding: 24px 0;
    position: relative;
    transition: all 0.2s ease;
    white-space: nowrap;
    cursor: pointer;
}

.product-options-tab__item:not(:last-child) {
    margin-right: 24px;
}

@media (min-width: 1280px) {
    .product-options-tab__item:not(:last-child) {
        margin-right: 40px;
    }
}

.product-options-tab__item:hover {
    color: #12356a;
}

.product-options-tab__item--active {
    border-bottom-color: #12356a;
    color: #12356a;
}

.product-options-tab__name {
    cursor: pointer;
}

/* Tab Content */
.product-options__content {
    padding-top: 40px;
}

.product-options__tab-pane {
    display: none;
}

.product-options__tab-pane.active {
    display: block;
}

.product-options__title {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 32px;
}

.product-options__title span {
    font-size: 32px;
    line-height: 32px;
    font-weight: 700;
}

/* Description List */
.product-options__description-list {
    font-size: 16px;
    line-height: 24px;
}

.product-options__description-list ul {
    list-style: disc;
    padding-left: 20px;
}

.product-options__description-list li {
    margin-bottom: 12px;
}

/* Characteristics Table */
.product-options__characteristics-list {
    padding-bottom: 56px;
}

@media (min-width: 1280px) {
    .product-options__characteristics-list {
        padding-bottom: 0;
    }
}

.product-options__item {
    border-bottom: 1px solid #ddd;
    margin-bottom: 24px;
}

@media (min-width: 768px) {
    .product-options__item {
        display: flex;
        margin-bottom: 0;
    }
}

.product-options__characteristics-name,
.product-options__characteristics-val {
    font-size: 16px;
    line-height: 20px;
    padding-bottom: 24px;
}

@media (min-width: 768px) {
    .product-options__characteristics-name,
    .product-options__characteristics-val {
        width: 50%;
    }
}

.product-options__characteristics-name {
    margin-bottom: 8px;
}

@media (min-width: 768px) {
    .product-options__characteristics-name {
        margin-bottom: 0;
    }
}

.product-options__characteristics-val {
    font-weight: 700;
}

@media (min-width: 768px) {
    .product-options__characteristics-val {
        text-align: center;
    }
}

/* Documents List */
.product-options__docs-item {
    border-bottom: 1px solid #ddd;
    padding-bottom: 24px;
    position: relative;
    margin-bottom: 24px;
}

@media (min-width: 768px) {
    .product-options__docs-item {
        display: flex;
        align-items: center;
    }
}

.product-options__docs-name,
.product-options__docs-val {
    font-size: 16px;
    line-height: 20px;
}

@media (min-width: 768px) {
    .product-options__docs-name,
    .product-options__docs-val {
        width: 50%;
    }
}

.product-options__docs-name {
    font-weight: 700;
    margin-bottom: 8px;
}

@media (min-width: 768px) {
    .product-options__docs-name {
        margin-bottom: 0;
    }
}

.product-options__docs-val {
    color: #777;
}

.product-options__docs-icon {
    position: absolute;
    right: 0;
    bottom: 24px;
    transition: opacity 0.2s ease;
}

.product-options__docs-icon:hover {
    opacity: 0.7;
}

@media (min-width: 768px) {
    .product-options__docs-icon {
        position: static;
        margin-left: auto;
    }
}

.features-list {
    list-style: disc;
    padding-left: 20px;
}

.features-list li {
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 24px;
}

/* ============================================
   ORDER CARD (SIDEBAR)
   ============================================ */

.product-supplies {
    position: sticky;
    top: 100px;
}

.order-card {
    background-color: #f7f7f7;
    border-radius: 8px;
    overflow: hidden;
}

.order-card__top {
    padding: 16px;
}

.order-card__img {
    height: 96px;
    width: 96px;
    margin: 0 auto 16px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.order-card__img:before {
    background-color: rgba(0, 0, 0, 0.03);
    content: "";
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

.order-card__img img {
    width: 96px;
    height: 96px;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

.order-card__name {
    margin-bottom: 8px;
    text-align: center;
}

.order-card__title {
    font-size: 16px;
    line-height: 20px;
    font-weight: 700;
    margin-bottom: 4px;
}

.order-card__subtitle {
    font-size: 14px;
    line-height: 16px;
    color: #777;
}

.order-card__descr {
    color: #777;
    font-size: 14px;
    line-height: 16px;
    text-align: center;
    margin-bottom: 16px;
}

.order-card__actions {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.order-card__actions .btn {
    width: 100%;
}

