.product-page-shell {
    /* background: #fff; */
}
.col-lg-5, .col-lg-7 {
    padding-right: 5px;
    padding-left: 5px;
}
.apt-product-summary{
    padding: 0px 10px 10px;
    background: #fff;
    border: 1px solid #e5ebf2;
}
.product-detail-card {
    background: #fff;
    border: 1px solid #e5ebf2;
    border-radius: 28px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
    overflow: hidden;
}

.apt-product-gallery {
    position: sticky;
    top: 20px;
}

.apt-product-gallery__frame {
    position: relative;
    border: 1px solid #e5ebf2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.apt-product-gallery__main-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.apt-product-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--apt-red);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.apt-product-badge--dark {
    background: #1f2937;
}

.apt-product-gallery__thumbs {
    margin-top: 16px;
    direction: ltr;
}

.apt-product-gallery__thumbs .owl-stage {
    display: flex;
}

.apt-product-gallery__thumbs.owl-carousel .owl-item {
    float: none;
    width: auto;
    flex: 0 0 auto;
    display: flex;
}

.apt-product-gallery__thumbs .owl-stage-outer {
    width: 100%;
}

.apt-product-thumb-slide {
    height: 100%;
    width: 100%;
    display: flex;
}

.apt-product-thumb {
    width: 100%;
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d7e0ea;
    background: #fff;
    transition: .2s ease;
    min-height: 76px;
}

.apt-product-thumb.is-active,
.apt-product-thumb:hover {
    border-color: #fcb415;
    box-shadow: 0 10px 20px rgba(252, 180, 21, 0.18);
}

.apt-product-thumb img {
    width: 100%;
    height: 58px;
    object-fit: contain;
}

.product__electronic-3.js-product-carousel .owl-stage {
    display: flex;
}

.product__electronic-3.js-product-carousel .owl-item {
    display: flex;
    height: auto;
}

.product__electronic-3.js-product-carousel .owl-item .product__electronic-item {
    width: 100%;
}

.product__electronic-3.js-product-carousel .owl-item .product-card {
    width: 100%;
}

.apt-product-title {
    font-size: 19px;
    font-weight: normal;
    line-height: 1.5;
    color: #0f172a;
    margin: 12px 0px;
}

.apt-product-features,
.apt-product-pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.apt-product-chip,
.apt-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid #e5ebf2;
    background: #f8fafc;
    color: #475569;
    font-size: 13px;
}

.apt-pill {
    background: #fff;
    border-radius: 16px;
    color: #334155;
    padding: 10px 14px;
}

.apt-pill--active {
    background: #fcb415;
    border-color: #fcb415;
    color: #111827;
    font-weight: 700;
}

.apt-product-express {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 18px 0 6px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.12);
    color: #047857;
    font-size: 13px;
    font-weight: 700;
}

.apt-product-meta-inline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
}

.apt-product-price {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    margin: 20px 0 0;
}

.apt-product-price__new {
    color: var(--apt-red);
    font-size: 34px;
    font-weight: 800;
    line-height: 1;
}

.apt-product-price__new small {
    color: #64748b;
    font-size: 14px;
    font-weight: 500;
}

.apt-product-price__old {
    color: #94a3b8;
    font-size: 20px;
    text-decoration: line-through;
}

.apt-product-brand {
    margin: 18px 0px;
}

.apt-product-brand img {
    height: 26px;
    object-fit: contain;
}

.apt-product-short,
.apt-product-richtext {
    color: #475569;
    font-size: 15px;
    line-height: 1.9;
}

.apt-product-section,
.apt-product-note,
.apt-product-actions,
.apt-product-meta,
.apt-product-categories {
    margin-top: 22px;
}

.apt-product-section__label {
    display: block;
    color: #0f172a;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 10px;
}

.apt-product-bullets ul {
    margin: 0;
    padding-inline-start: 20px;
}

.apt-product-bullets li {
    margin-bottom: 8px;
    color: #475569;
}

.apt-product-note,
.apt-installment-card {
    border: 1px solid rgba(252, 180, 21, 0.35);
    border-radius: 8px;
    padding: 14px 16px;
    color: #854d0e;
}

.apt-installment-card {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 12px;
    padding: 8px;
}

.apt-installment-card img {
    width: 72px;
    height: auto;
    flex: 0 0 auto;
}

.apt-installment-card span {
    color: #1f2937;
    line-height: 1.7;
}

.apt-installment-card strong {
    font-weight: 800;
}

.apt-installment-card--tabby {
    border-color: rgba(58, 163, 131, 0.28);
    background: linear-gradient(135deg, rgba(232, 255, 248, 0.96), rgba(245, 255, 252, 0.9));
}

.apt-installment-card--tabby strong,
.apt-installment-card--tabby .apt-installment-link {
    color: #3aa383;
}

.apt-installment-card--tamara {
    border: 1px solid rgba(252, 180, 21, 0.35);
    background: linear-gradient(135deg, rgba(252, 180, 21, 0.14), rgba(252, 180, 21, 0.04));
}

.apt-installment-card--tamara strong,
.apt-installment-card--tamara .apt-installment-link {
    color: #007065;
}

.apt-installment-link {
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.apt-installment-link:hover {
    opacity: 0.82;
}

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

.apt-payment-modal[hidden] {
    display: none !important;
}

.apt-payment-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
}

.apt-payment-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.52);
}

.apt-payment-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(960px, calc(100vw - 32px));
    margin: 40px auto;
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.28);
}

.apt-payment-modal__header {
    padding: 18px 24px 0;
}

.apt-payment-modal__header h3 {
    margin: 0;
    font-size: 18px;
    color: #0f172a;
}

.apt-payment-modal__close {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 1px solid #dbe3ec;
    background: #fff;
    color: #334155;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.apt-payment-modal__body {
    padding: 16px;
}

.apt-payment-modal__body iframe {
    width: 100%;
    height: min(78vh, 680px);
    border: 0;
    border-radius: 18px;
}

.apt-gift-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.apt-gift-card {
    min-width: 180px;
    border: 1px solid #d7e0ea;
    border-radius: 18px;
    background: #fff;
    padding: 16px;
}

.apt-gift-card img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    margin-bottom: 10px;
}

.apt-gift-card h3 {
    font-size: 14px;
    margin-bottom: 6px;
}

.apt-gift-card p {
    font-size: 13px;
    color: #64748b;
    margin: 0;
}

.apt-product-actions__row {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 12px;
}

.apt-product-qty-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 0 0 auto;
}

.apt-product-qty-group .apt-product-section__label {
    margin-bottom: 0;
}

.apt-qty-input {
    width: 110px;
    height: 54px;
    border: 1px solid #d7e0ea;
    text-align: center;
    padding: 0 12px;
}

.apt-qty-control {
    display: inline-flex;
    align-items: center;
    border: 1px solid #d7e0ea;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    width: fit-content;
}

.apt-qty-control .apt-qty-input {
    width: 78px;
    height: 50px;
    border: 0;
    border-left: 1px solid #d7e0ea;
    border-right: 1px solid #d7e0ea;
    border-radius: 0;
}

.apt-qty-btn {
    width: 46px;
    height: 50px;
    border: 0;
    background: #f8fafc;
    color: #0f172a;
    font-size: 24px;
    line-height: 1;
    font-weight: 500;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.apt-qty-btn:hover {
    background: #e2e8f0;
}

.apt-qty-btn:focus-visible {
    outline: 2px solid rgba(195, 127, 45, 0.35);
    outline-offset: -2px;
}

.apt-product-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    flex: 1 1 320px;
}

.apt-product-buttons .btn {
    min-height: 50px;
}

.apt-product-secondary-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 14px;
}

.apt-product-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 0;
    padding: 0;
    background: transparent;
    color: #475569;
    font-size: 14px;
    font-weight: 600;
}

.apt-product-link i {
    color: var(--apt-primary);
}

.apt-product-link.is-active,
.apt-product-link:hover {
    color: var(--apt-primary);
}

.apt-golden-warranty {
    display: flex;
    gap: 14px;
    margin-top: 18px;
    padding: 16px;
    border: 1px solid #e5ebf2;
    background: #fffdf5;
}

.apt-golden-warranty__icon {
    flex: 0 0 auto;
}

.apt-golden-warranty__icon img {
    width: 64px;
    height: auto;
    display: block;
}

.apt-golden-warranty__content {
    flex: 1 1 auto;
}

.apt-golden-warranty__heading {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: #0f172a;
}

.apt-golden-warranty__terms {
    color: var(--apt-primary);
    text-decoration: underline;
}

.apt-golden-warranty__options {
    display: grid;
    gap: 10px;
}

.apt-golden-warranty__option {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    color: #475569;
}

.apt-golden-warranty__option input {
    margin-top: 3px;
}

.apt-product-catalog {
    margin-top: 18px;
}

@media (max-width: 767.98px) {
    .apt-product-actions__row {
        align-items: stretch;
    }

    .apt-product-qty-group,
    .apt-product-buttons {
        flex: 1 1 100%;
    }

    .apt-golden-warranty {
        flex-direction: column;
    }
}


.apt-product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.apt-product-meta__row {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: #fff;
    color: #475569;
    white-space: nowrap;
}

.apt-product-meta__label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    color: var(--apt-primary);
    font-size: 16px;
}

.apt-product-meta__row strong {
    color: #0f172a;
}

.apt-product-meta .is-success {
    color: #15803d;
    font-weight: 700;
}

.apt-product-meta .is-danger {
    color: #dc2626;
    font-weight: 700;
}

.apt-product-tabs {
    padding: 0 32px 32px;
    margin-top: 10px;
}

.apt-product-tabs__nav {
    display: flex;
    gap: 18px;
    border-bottom: 1px solid #e5ebf2;
}

.apt-tab-btn {
    border: 0;
    background: transparent;
    color: #64748b;
    font-weight: 700;
    padding: 14px 4px;
    border-bottom: 2px solid transparent;
}

.apt-tab-btn.is-active {
    color: #0f172a;
    border-color: #fcb415;
}

.apt-tab-pane {
    display: none;
    padding-top: 18px;
}

.apt-tab-pane.is-active {
    display: block;
}

.apt-tab-pane[data-apt-tab-pane="description"] .apt-product-richtext a {
    color: var(--apt-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.apt-tab-pane[data-apt-tab-pane="description"] .apt-product-richtext a:hover {
    color: var(--apt-primary);
    text-decoration: none;
}

.apt-product-tab-content {
    position: relative;
}

.apt-product-tab-content.is-collapsed {
    max-height: calc(1.9em * 6);
    overflow: hidden;
}

.apt-product-tab-content.is-collapsed.has-overflow::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    height: 56px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 90%);
    pointer-events: none;
}

.apt-product-tab-content.is-expanded {
    max-height: none;
}

.apt-product-tab-content.is-expanded::after {
    content: none;
}

.apt-product-tab-more {
    margin-top: 12px;
    border: 0;
    background: transparent;
    color: var(--apt-primary);
    font-size: 14px;
    font-weight: 700;
    padding: 0;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.product-spec-table,
.apt-extra-specs {
    width: 100%;
    border: 1px solid #e5ebf2;
    border-radius: 18px;
    overflow: hidden;
}

.product-spec-table {
    margin-bottom: 18px;
    background: #fff;
}

.product-spec-table tbody tr:not(:last-child) th,
.product-spec-table tbody tr:not(:last-child) td {
    border-bottom: 1px solid #e5ebf2;
}

.product-spec-table th,
.product-spec-table td {
    padding: 10px 0px;
    border-color: #e5ebf2;
    vertical-align: top;
}

.product-spec-table th {
    width: 40%;
    color: #64748b;
    font-weight: 700;
    background: transparent;
    border-top: 0;
}

.product-spec-table td {
    color: #475569;
    border-top: 0;
}

.apt-extra-specs {
    margin-top: 18px;
}

.apt-extra-specs__row {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 18px;
    padding: 14px 16px;
    border-bottom: 1px solid #e5ebf2;
}

.apt-extra-specs__row:last-child {
    border-bottom: 0;
}

.apt-extra-specs__name {
    color: #64748b;
    font-weight: 700;
}

.apt-product-video {
    aspect-ratio: 16 / 9;
    width: 100%;
    max-width: 900px;
    margin-bottom: 24px;
}

.apt-product-video iframe {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 20px;
}

@media (max-width: 991px) {
    .breadcrumb__area.product-page-shell {
        display: none;
    }

    .product-detail-main,
    .apt-product-tabs {
        padding: 22px;
    }

    .apt-product-gallery {
        position: static;
    }

    .apt-product-title {
        font-size: 20px;
    }

    .apt-product-price__new {
        font-size: 28px;
    }

    .apt-extra-specs__row {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .apt-product-meta__row {
        white-space: normal;
    }

    .apt-installment-card {
        align-items: flex-start;
    }

    .apt-product-meta__row {
        white-space: normal;
    }

    .apt-payment-modal__dialog {
        width: calc(100vw - 18px);
        margin: 12px auto;
    }

    .apt-payment-modal__body iframe {
        height: 72vh;
    }
}

@media (max-width: 767.98px) {
    .apt-product-meta-inline {
        gap: 8px;
    }

    .apt-product-gallery__thumbs {
        margin-top: 12px;
    }
}
