/**
 * Product Page (Cart) Styles
 * Стили для страницы товара
 */

/* ============================================
   TABS SECTION
   ============================================ */
.section_tabs {
    padding: 40px 0;
}

/* Tabs Container */
.tabs.tabs_blog {
    width: 100%;
}

.tabs.tabs_blue {
    width: 100%;
}
#spin {
      display: none !important;
}

/* Tabs Caption (Navigation) */
.tabs__caption {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    border-bottom: 2px solid #e5e5e5;
    gap: 0;
}

/* Tab Item */
.tabs__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    cursor: pointer;
    border: 2px solid transparent;
    border-bottom: none;
    background: #f5f5f5;
    color: #333;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    margin-bottom: -2px;
    border-radius: 5px 5px 0 0;
}

.tabs__item:hover {
    background: #fff;
    color: #0066cc;
}

.tabs__item:hover .tabs__item_icon svg {
    fill: #0066cc;
}

/* Active Tab */
.tabs__item.tabs__item_active {
    background: #fff;
    color: #0066cc;
    border-color: #e5e5e5;
    border-bottom-color: #fff;
}

.tabs__item.tabs__item_active .tabs__item_icon svg {
    fill: #0066cc;
}

/* Tab Icon */
.tabs__item_icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.tabs__item_icon svg {
    width: 100%;
    height: 100%;
    fill: #666;
    transition: fill 0.3s ease;
}

/* Tabs Content */
.tabs__content {
    display: none;
    padding: 30px 0;
    background: #fff;
    animation: fadeIn 0.3s ease;
}

.tabs__content.tabs__content_active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   TAB 1: ALL ABOUT PRODUCT
   ============================================ */
.section_list__item {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.section_list__item_content {
    flex: 1;
    min-width: 300px;
}

.section_list__item_content .section__titles {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.section_list__item_content .text {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
}

.section_list__item_content .text p {
    margin-bottom: 15px;
}

.section_list__item_content .text b,
.section_list__item_content .text strong {
    color: #333;
}

.section_list__item_image_col {
    flex: 1;
    min-width: 300px;
}

.section_list__item_image_inner {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.section_list__item_image_inner img {
    width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   TAB 2: SPECIFICATIONS
   ============================================ */
.cart_specifications {
    width: 100%;
}

.cart_specifications .table {
    width: 100%;
    overflow-x: auto;
}

.cart_specifications table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.cart_specifications table tr {
    border-bottom: 1px solid #e5e5e5;
}

.cart_specifications table tr:nth-child(even) {
    background: #f9f9f9;
}

.cart_specifications table tr:hover {
    background: #f0f7ff;
}

.cart_specifications table td {
    padding: 15px 20px;
    font-size: 15px;
    color: #333;
    vertical-align: top;
}

.cart_specifications table td:first-child {
    font-weight: 500;
    color: #555;
    width: 40%;
}

.cart_specifications table td:last-child {
    color: #333;
}

/* ============================================
   TAB 3: DOCUMENTS
   ============================================ */
.cart_docs {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.cart_docs__item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.cart_docs__item:hover {
    background: #f0f7ff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.cart_docs__item-icon-inner {
    flex-shrink: 0;
}

.cart_docs__item-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.cart_docs__item-content {
    flex: 1;
}

.cart_docs__item-title {
    display: block;
    font-size: 16px;
    font-weight: 500;
    color: #0066cc;
    text-decoration: none;
    margin-bottom: 5px;
    transition: color 0.3s ease;
}

.cart_docs__item-title:hover {
    color: #004499;
    text-decoration: underline;
}

.cart_docs__item-lang {
    font-size: 13px;
    color: #888;
    margin-bottom: 3px;
}

.cart_docs__item-size {
    font-size: 13px;
    color: #888;
}

/* ============================================
   TAB 4: UPGRADE PACKAGES
   ============================================ */
.cart_pack {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.cart_pack__item {
    padding: 25px;
    background: #f9f9f9;
    border-radius: 8px;
    border-left: 4px solid #0066cc;
    transition: all 0.3s ease;
}

.cart_pack__item:hover {
    background: #f0f7ff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.cart_pack__item_title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 10px 0;
}

.cart_pack__item_text {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
}

/* ============================================
   CART SLIDER
   ============================================ */
.cart__slider-wrap {
    position: relative;
    margin-bottom: 20px;
}

.cart__slider {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: #f5f5f5;
}

.cart__slider_item {
    width: 100%;
}

.cart__slider_item a {
    display: block;
}

.cart__slider_item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    max-height: 500px;
}

/* Slider Arrows */
.cart__slider .slick-prev,
.cart__slider .slick-next,
.slider-actions_action {
    position: absolute;
    top: 50%;
   

    background: #0c67ad;
    border: none;
 
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.cart__slider .slick-prev:hover,
.cart__slider .slick-next:hover,
.slider-actions_action:hover {
    background: #0a5a94;
}

.cart__slider .slick-prev,
.slider-actions_action.slick-prev {
    left: 15px;
}

.cart__slider .slick-next,
.slider-actions_action.slick-next {
    right: 15px;
}

.cart__slider .slick-prev svg,
.cart__slider .slick-next svg,
.slider-actions_action svg {
    width: 20px;
    height: 20px;
    fill: #fff;
}

/* Thumbnails */
.cart__thumbnails {
    position: relative;
    margin-top: 15px;
    padding: 0 35px;
}

.cart__thumbnails_item {
    padding: 5px;
    cursor: pointer;
}

.cart__thumbnails_item img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.cart__thumbnails_item:hover img,
.cart__thumbnails_item.slick-current img {
    border-color: #0066cc;
}

/* Thumbnails Arrows */
.cart__thumbnails_prev,
.cart__thumbnails_next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 25px;
    height: 25px;
    cursor: pointer;
    z-index: 10;
    fill: #333;
    transition: fill 0.3s ease;
}

.cart__thumbnails_prev:hover,
.cart__thumbnails_next:hover {
    fill: #0066cc;
}

.cart__thumbnails_prev {
    left: 0;
}

.cart__thumbnails_next {
    right: 0;
}

/* ============================================
   CART WRAP (MAIN LAYOUT)
   ============================================ */
.cart__wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

.cart__left {
    flex: 1;
    min-width: 300px;
    max-width: 60%;
}

.cart__right {
    flex: 1;
    min-width: 300px;
}

.cart__right4 {
    max-width: 40%;
}

/* Cart Head */
.cart__head {
    margin-bottom: 30px;
}

.cart__title {
    font-size: 32px;
    font-weight: 700;
    color: #0c67ad;
    margin: 0 0 10px 0;
    line-height: 1.2;
}

.cart__subtitle {
    font-size: 2.25rem;
    font-weight: 400;
    color: black;
    margin: 0;
}

/* Cart Options */
.cart__options {
    margin-bottom: 25px;
}
#spin {
    display: none;
}
.main-wrap {
    margin-top: 80px;
}
.cart__options-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    justify-content: space-between;
}

.cart__options-item_text {
    font-size: 14px;
    color: #666;
}

.cart__options-item_name {
    text-transform: uppercase !important;
    color: #0c67ad !important;
    text-decoration: underline !important;
}

.cart__options-item_name:hover {
    text-decoration: underline;
}

.cart__options-item_link {
    font-size: 13px;
    color: #0c67ad !important;
    text-decoration: underline;
}

/* Cart Configuration */
.cart__configuration {
    background: none;
  
    border-radius: 0px;
}
    header.desktop-header {

        position: fixed !important;
    }
@media screen and (min-width: 768px) {
    header.desktop-header {
        display: -webkit-box;
        display: -ms-flexbox;
        position: fixed !important;
        display: flex;
    }
}
.cart__configuration .title {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #0c67ad;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

/* Cart Left Icons */
.cart__left-icons {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

/* Link With */
.link-with {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    cursor: pointer;
}

.link-with__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    flex-shrink: 0;
}

.link-with__icon--big {
    width: 50px;
    height: 50px;
}

.link-with__icon--bg-white {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.link-with__icon--bg-blue {
    background: #0066cc;
}

.link-with__icon--blue {
    background: transparent;
}

.link-with__icon svg {
    width: 32px;
    height: 32px;
    fill: #005299;
}

.link-with__icon--bg-blue svg {
    fill: #fff;
}

.link-with__text {
    font-size: 14px;
    color: #333;
}

.link-with__text--color-blue {
    color: #0066cc;
}

.link-with__text--underline {
    text-decoration: underline;
}

.link-with__text--underline:hover {
    text-decoration: none;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-align: center;
}

.btn--orange {
    background: #0c67ad;
    color: #fff;
    border-color: #0c67ad;
}

.btn--orange:hover {
    background: #0a5a94;
    border-color: #0a5a94;
}

.btn--white-orange {
    background: #fff;
    color: #0c67ad;
    border-color: #0c67ad;
}

.btn--white-orange:hover {
    background: #0c67ad;
    color: #fff;
}

.btn--big {
    padding: 15px 30px;
    font-size: 15px;
}

.btn--small {
    padding: 10px 20px;
    font-size: 13px;
}

.btn--box-shadow {
    box-shadow: none;
}

.btn--mgt {
    margin-top: 15px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
    .cart__left,
    .cart__right,
    .cart__right4 {
        max-width: 100%;
    }
    
    .tabs__item {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .tabs__item_icon {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 768px) {
    .tabs__caption {
        flex-direction: column;
    }
    
    .tabs__item {
        border-radius: 0;
        border: 1px solid #e5e5e5;
        margin-bottom: -1px;
    }
    
    .tabs__item.tabs__item_active {
        background: #0066cc;
        color: #fff;
        border-color: #0066cc;
    }
    
    .tabs__item.tabs__item_active .tabs__item_icon svg {
        fill: #fff;
    }
    
    .cart__title {
        font-size: 24px;
    }
    
    .cart__slider .slick-prev,
    .cart__slider .slick-next,
    .slider-actions_action {
        width: 40px;
        height: 40px;
    }
    
    .cart__slider .slick-prev svg,
    .cart__slider .slick-next svg,
    .slider-actions_action svg {
        width: 16px;
        height: 16px;
    }
    
    .section_list__item_content,
    .section_list__item_image_col {
        min-width: 100%;
    }
}

@media (max-width: 576px) {
    .tabs__item {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .tabs__item span:last-child {
        display: none;
    }
    
    .tabs__item_icon {
        width: 24px;
        height: 24px;
    }
    
    .cart__left-icons {
        flex-direction: column;
        gap: 10px;
    }
    
    .cart_docs__item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* ============================================
   CART MODAL STYLES
   ============================================ */

.cart-modal {
    max-width: 900px;
    width: 100% !important;
    margin: 0 auto;
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

#modal-basket {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 900px;
    width: 90%;
    margin: 0 auto;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    display: none;
}

.cart-modal__header {
    background: #fff;
    color: #000;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e5e5e5;
}

.cart-modal__title {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    color: #000;
}

.cart-modal__close {
    background: none;
    border: none;
    color: #000;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s;
    font-weight: 300;
}

.cart-modal__close:hover {
    opacity: 0.7;
}

.cart-modal__body {
    padding: 30px;
    max-height: 60vh;
    overflow-y: auto;
}

.modal__header {
    background: #fff;
    color: #000;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e5e5e5;
}

.modal-close,
.cart-modal__close {
    background: none;
    border: none;
    color: #000;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s;
    font-weight: 300;
}

.modal-close:hover,
.cart-modal__close:hover {
    opacity: 0.7;
}

.modal__body {
    padding: 30px;
    max-height: 60vh;
    overflow-y: auto;
}

.cart-modal-content {
    width: 100%;
}

.cart-empty {
    text-align: center;
    padding: 60px 20px;
    color: #666;
    font-size: 18px;
}

.cart-items {
    margin-bottom: 30px;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #e5e5e5;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item__image {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    overflow: hidden;
    border-radius: 4px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-item__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item__info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.cart-item__name {
    font-size: 16px;
    font-weight: 400;
    color: #333;
    line-height: 1.4;
}

.cart-item__name a {
    color: #333;
    text-decoration: none;
}

.cart-item__name a:hover {
    color: #0c67ad;
    text-decoration: underline;
}

.cart-item__code {
    font-size: 14px;
    color: #999;
    margin-top: 5px;
}

.cart-item__quantity {
    display: flex;
    align-items: center;
    gap: 0;
    flex-shrink: 0;
}

.cart-quantity-btn {
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 300;
    transition: all 0.3s;
    border-radius: 0;
    color: #0c67ad;
    padding: 0;
}

.cart-quantity-btn:first-child {
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.cart-quantity-btn:last-child {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.cart-quantity-btn:hover {
    background: #0c67ad;
    color: #fff;
    border-color: #0c67ad;
}

.cart-item-quantity {
    width: 60px;
    height: 40px;
    padding: 0;
    text-align: center;
    border: 1px solid #ddd;
    border-left: none;
    border-right: none;
    border-radius: 0;
    font-size: 16px;
    font-weight: 400;
}

.cart-item__price {
    font-size: 16px;
    font-weight: 400;
    color: #333;
    flex-shrink: 0;
    min-width: 120px;
    text-align: right;
}

.cart-item__remove {
    flex-shrink: 0;
    margin-left: 10px;
}

.cart-item-remove {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: 4px;
    font-size: 28px;
    line-height: 1;
    color: #000;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 300;
}

.cart-item-remove:hover {
    color: #0c67ad;
    background: #f5f5f5;
}

.cart-modal__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 30px;
    border-top: 1px solid #e5e5e5;
    gap: 20px;
    flex-wrap: wrap;
}

.cart-modal__continue {
    padding: 12px 24px;
    background: #f5f5f5;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 400;
    transition: all 0.3s;
    border: 1px solid #ddd;
}

.cart-modal__continue:hover {
    background: #e5e5e5;
    color: #000;
}

.cart-modal__total {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    font-size: 16px;
}

.cart-modal__total-label {
    color: #333;
    font-weight: 400;
}

.cart-modal__total-amount {
    color: #333;
    font-weight: 600;
    font-size: 18px;
}

.cart-modal__checkout {
    padding: 12px 24px;
    background: #0c67ad;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    display: inline-block;
}

.cart-modal__checkout:hover {
    background: #005299;
    color: #fff;
}

.cart-loading {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

@media (max-width: 768px) {
    .cart-modal,
    #modal-basket {
        width: 95%;
        margin: 20px auto;
    }

    .cart-modal__header,
    .modal__header {
        padding: 15px 20px;
    }

    .cart-modal__title {
        font-size: 20px;
    }

    .cart-modal__body,
    .modal__body {
        padding: 20px;
        max-height: 70vh;
    }

    .cart-item {
        flex-wrap: wrap;
        gap: 15px;
    }

    .cart-item__image {
        width: 80px;
        height: 80px;
    }

    .cart-item__info {
        flex: 1;
        min-width: 150px;
    }

    .cart-item__quantity {
        order: 3;
        width: 100%;
        justify-content: center;
    }

    .cart-item__price {
        order: 2;
        text-align: left;
        min-width: auto;
    }

    .cart-item__remove {
        order: 4;
        margin-left: auto;
    }

    .cart-modal__footer {
        flex-direction: column;
        align-items: stretch;
    }

    .cart-modal__continue,
    .cart-modal__checkout {
        width: 100%;
        text-align: center;
    }

    .cart-modal__total {
        margin-left: 0;
        justify-content: space-between;
        width: 100%;
    }
}

