@charset "utf-8";
:root{
    --main-color: #bf1e2e;
    --text-secondary-color: #fff;
    --main-secondary-color: #fca00f;
}

.main .section .section-body img {
    max-height: none;
}

.product-lists .field-img {
    padding: 8px;
}

.product-banner-dynamic-text .prd-name {
    font-size: 1.825rem;
}

.h-title img {
    max-height: 100px;
}

.card-thumb .card-title a {
    color: #141416;
}


.icon-caret-up:after {
    display: inline-block;
    margin-left: .625rem;
    vertical-align: middle;
    content: "";
    border-top: 0;
    border-right: .485rem solid transparent;
    border-bottom: .485rem solid;
    border-left: .485rem solid transparent;
}

/* Responsive media fix - sử dụng chung cho tất cả trang */
.content-media-responsive iframe,
.content-media-responsive img {
    height: auto !important;
    max-width: 100% !important;
    width: auto !important;
}

.content-media-responsive iframe {
    aspect-ratio: 16/9;
    width: 100% !important;
}

.shortcode-hotface {
    list-style: none;
}
.shortcode-hotface li {
    float: left;
    width: 50%;
    text-align: center;
}
.shortcode-hotface li img{
    width: 80%
}

/* Table of contents */
.toctoc-head {
    font-weight: bold;
    padding: 15px 20px;
    margin-bottom: 7px;
    color: var(--text-secondary-color);
    background: var(--main-color);
}

.toctoc-head p {
    margin: 0px;
}

.toctoc-head .toctoc-toggle {
    font-weight: normal;
    display: inline-block;
    margin-left: 10px;
    cursor: pointer;
}

.toctoc-body {
    background: #f5f5f5;
    border: 1px solid #d2d2d2;
    padding: 10px 15px;
    display: none;
}

#go-to-detail {
    padding-left: 0;
}

#go-to-detail ul {
    padding-left: 0;
}

.toctoc-body ul {
    margin: 0px;
    padding: 0px;
    list-style: none;
}

.toctoc-body li.link-h2 {
    font-weight: 500;
}

.toctoc-body li.link-h3 {
    padding-left: 20px;
}

.toctoc-body li.link-h4 {
    padding-left: 40px;
}

.toctoc-body li a {
    display: block;
    padding: 5px 0px;
    margin-top: 5px;
    color: var(--main-color);
}

.toctoc-body img {
    width: 15px;
    display: inline-block;
    margin-right: 5px;
}

.article-content p {
    line-height: 1.2;
}

.article-content ul li {
    font-size: 17px;
    margin-top: 5px;
    line-height: 1.2;
}

.article-toctoc.open-list .toctoc-body {
    display: block;
}

.bg-badge-red {
    min-width: 1.25rem;
    height: 1.25rem;
    line-height: 1.25rem;
}

.header-right .number {
    display: block;
    width: 22px;
    height: 22px;
    color: #fff;
    background: #da291c;
    border-radius: 50%;
    text-align: center;
    font-size: .625rem;
    position: absolute;
    z-index: 1;
    top: -12px;
    right: -7px;
    padding-top: .25rem;
}

.icons-chat {
    position: fixed;
    z-index: 93;
    right: 10px;
    bottom: 10px;
    width: 60px;
}

.icons-chat .icon-chat {
    border-radius: 100%;
    text-align: center;
    display: block;
    position: relative;
    transition: all .3s ease-out;
}

.icons-chat .icon-chat:hover {
    transform: scale(1.1);
}

.icons-chat .icon-chat span {
    position: absolute;
    right: 0px;
    top: -10px;
    border-radius: 5px;
    padding: 2px;
    background: red;
    color: #fff;
    font-size: 11px;
    width: 21px;
    text-align: center;
}

.icons-chat .icon-chat+.icon-chat {
    margin-top: 10px;
}

.icons-chat .facebook-chat {
    background: #0084ff;
    padding: 12px;
}

#entry-content img, .card-content-body img, .content_news img, .entry-content img {
    width: auto;
    max-width: 100%;
    height: auto !important;
}

/* Support Request Modal Styles - từ customer-center.html */
.modal-support-request,
.modal-support-success {
    z-index: 1055;
}

.modal-support-request .modal-dialog,
.modal-support-success .modal-dialog {
    min-height: 29.875rem;
}

.modal-support-request .modal-content,
.modal-support-success .modal-content {
    height: 100%;
    border-radius: .75rem;
}

.modal-support-request .modal-header,
.modal-support-success .modal-header {
    border-bottom: 1px solid #dee2e6;
}

.modal-support-request .modal-body,
.modal-support-success .modal-body {
    overflow-y: auto;
    overflow-x: hidden;
}

.modal-support-request .form-floating-textarea-m textarea {
    min-height: 120px;
    resize: vertical;
}

.modal-support-request .custom-file-input input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.modal-support-request .custom-file-input label {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border: 1px dashed #d4d7de;
    border-radius: .25rem;
    margin: 0;
}

.modal-support-request .custom-file-input label:hover {
    border-color: #da291c;
    background-color: #f8f9fa;
}

/* Category Tabs without Swiper - matching original UI */
.category-tabs-wrapper {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.category-tabs-wrapper::-webkit-scrollbar {
    display: none;
}

.category-tab-item {
    flex: 0 0 auto;
}

.category-tab-item .btn {
    display: block;
    color: #141416;
    padding: 11px 20px;
    font-size: 1rem;
    border-radius: 4px;
    cursor: pointer;
    background-color: #f4f5f6;
    border: none;
}

.category-tab-item.active .btn {
    color: #fff;
    background-color: #4C4C4C;
    font-weight: 700;
}

.field-img {
    position: relative;
}

/* Product Tags Styling */
.product-tags .tags-wrapper {
    background-color: #f9f9f9;
}

.product-tags .tag-item {
    transition: all 0.25s ease;
    font-weight: 500;
    cursor: pointer;
    max-width: 100%;
    word-break: break-word;
    white-space: normal;
}

.product-tags .tag-item.badge {
    background-color: #fffaee !important;
    color: #333 !important;
    border: 1px solid #fca00f;
}

.product-tags a.tag-item.badge:hover {
    background-color: #fca00f !important;
    color: #fff !important;
    border-color: #fca00f;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(252, 160, 15, 0.25);
}

.product-tags .tag-item.badge.bg-secondary {
    background-color: #e9ecef !important;
    color: #6c757d !important;
    border: 1px solid #dee2e6;
    cursor: default;
}

.promo-button {
    background: linear-gradient(90deg, #FFA857 0%, #FF6B4A 20%, #E91E63 50%, #C2185B 70%, #8E24AA 90%, #6A1B9A 100%);
    border-radius: 60px;
    padding: 10px 20px 8px;
    border: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    display: inline-block;
    position: relative;
    overflow: visible;
}

.promo-button::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(90deg, #FFD4A8 0%, #FFB49A 20%, #FF8FB3 50%, #FF6B9B 70%, #D06FDB 90%, #B868CA 100%);
    border-radius: 60px;
    z-index: -1;
}

/* .promo-button::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(90deg, #C67A3A 0%, #C64A32 20%, #A01548 50%, #8B1345 70%, #5D1870 90%, #4A1458 100%);
    border-radius: 60px;
    z-index: -1;
} */

.promo-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
    border-radius: 60px 60px 0 0;
}

.promo-button h2 {
    color: white;
    font-weight: bold;
    font-size: 1.3rem;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.main .section .section-body .col img {
    object-fit: contain;
}

.field-info .name, .field-info .price {
    padding: 8px;
}

/* ========================================
   MEDIA QUERIES
   ======================================== */

/* Min-width: 992px (Desktop) */
@media (min-width: 992px) {
    .category-tabs-wrapper {
        gap: 12px;
    }
}

/* Max-width: 991px (Tablet) */
@media (max-width: 991px) {
    .icons-chat {
        left: 5px;
        bottom: 68px;
    }
}

/* Max-width: 768px (Mobile) */
@media (max-width: 768px) {
    .content-media-responsive iframe,
    .content-media-responsive img {
        height: auto !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .top-nav .nav-content>li {
        padding-left: 9px;
    }
}

/* Max-width: 767.98px (Mobile) */
@media (max-width: 767.98px) {
    /* Support Modal */
    .modal-support-request,
    .modal-support-success {
        --bs-modal-margin: 0;
    }

    .modal-support-request .modal-dialog,
    .modal-support-success .modal-dialog {
        margin: 0;
        position: absolute;
        bottom: 0;
        right: 0;
        left: 0;
        --bs-modal-width: 100%;
        width: 100%;
        max-width: 100%;
        align-items: end;
    }

    .modal-support-request .modal-content,
    .modal-support-success .modal-content {
        border-radius: .75rem .75rem 0 0;
    }

    /* Product Tags */
    .product-tags .tag-item {
        font-size: 13px !important;
        padding: 0.4rem 0.75rem !important;
        line-height: 1.4;
    }

    .product-tags .tag-item svg {
        width: 12px;
        height: 12px;
    }

    .product-tags h3 {
        font-size: 18px !important;
    }
}

@media (max-width: 480px) {
    .promo-button h2 {
        font-size: 1rem;
    }
}
