.collapsible-box-container {
    position: relative;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
    background: rgba(242, 242, 242, 0.4);
    border-radius: 8px;
    padding: 10px 15px; /* thêm padding nếu cần */
}

.collapsible-box-header {
    display: inline-flex;
    align-items: center;
    /*font-family: 'FS Magistral', sans-serif;*/
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: black;
    cursor: pointer; /* nếu muốn hover hiệu ứng */
    user-select: none;
}

.collapsible-box-header .header-arrow {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    margin-left: 6px;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid black;
    transition: transform 0.3s ease;
    transform: rotate(180deg);
}

.collapsible-box-header.open .header-arrow {
    transform: rotate(360deg);
}

/*.collapsible-box-container .promo-content {*/
/*   display: none;*/
/*}*/
/*    */
/*.collapsible-box-container.open .promo-content {*/
/*    display: block;*/
/*}*/


.promo-list {
    font-size: 14px;
    font-family: 'Inter', 'SF Pro Display', sans-serif;
    color: black;
    list-style: none;
    padding: 0;
    margin: 0;
}

.promo-header, .product-insurance-header {
    background: white;
    border: 1px solid #B5B4B4;
    border-radius: 8px;
    padding: 5px 11px;
    font-weight: 600;
    font-family: 'SF Pro Display', sans-serif;
    line-height: 20px;
    position: relative;
    margin-top: 10px;
    cursor: pointer;
}

.promo-header:hover, .product-insurance-header:hover {
    border: 1px solid #EE0033;
}

.promo-header.selected, .product-insurance-header.selected {
    border: 1px solid #EE0033;
    background: #EE003308;
}

.promo-header .title, .promo-header .price {
    font-weight: 400 !important;
    margin-left: 8px;
}

.promo-content, .promo-content-ext {
    font-weight: 400;
    font-family: 'SF Pro Display', sans-serif;
    font-size: 14px;
    line-height: 24px;
    display: block;
    padding: 0;
    margin: 0;
    vertical-align: middle;
}

.promo-content p, .promo-content-ext p {
    font-weight: 400;
    font-family: 'SF Pro Display', sans-serif;
    font-size: 14px;
    line-height: 24px;
    padding: 0;
    margin: 0;
    vertical-align: middle;
}

.promo-content .title {
    font-weight: 400 !important;
    font-size: 14px !important;
}

.product-promotion-gift, .product-insurance {
}

.product-promotion-gift-header, .product-insurance-header {
    margin: 4px 0 0 0;
    padding: 0;
    text-decoration: underline;
    font-weight: 500;
}

.product-promotion-item, .product-promotion-gift-item, .product-promotion-gift-item-selected, .product-insurance-item {
    display: flex;
    align-items: flex-start;
    margin: 4px 0 0 0;
}

.product-promotion-dot, .product-promotion-gift-dot, .product-insurance-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid #EE0033 !important;
    flex-shrink: 0;
    margin: 4px 12px 0 0;
    background: transparent;
    cursor: pointer;
}

.product-promotion-item .product-promotion-dot, .product-promotion-gift-item-selected .product-promotion-gift-dot, .product-promotion-gift-item.selected .product-promotion-gift-dot, .product-insurance-item.selected .product-insurance-dot {
    border: 1px solid #B5B4B4 !important;
    background: #EE0033 !important;
}

.product-promotion-text, .product-promotion-gift-text, .product-insurance-text {
    font-size: 14px;
    line-height: 22px;
    color: black !important;
    margin: 0;
    word-wrap: break-word;
    cursor: pointer;
    font-weight: 400;
}

.product-promotion-gift-text:hover, .product-insurance-text:hover {
    color: #EE0033 !important;
}

.product-insurance .product-insurance-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-insurance .product-insurance-item .product-insurance-dot {
    flex-shrink: 0;
    margin: 0 8px 0 0;
}

.product-insurance .product-insurance-item .product-insurance-text {
    flex: 1;
}

.product-insurance .product-insurance-item .price {
    white-space: nowrap;
}

i[class^="icon-dot"] {
    display: inline-block;
    width: 8px;
    height: 8px;
    line-height: 22px;
    border-radius: 50%;
    background-color: #B5B4B4 !important;
    color: white;
    font-weight: bold;
    text-align: center;
    font-style: normal;
    user-select: none;
    position: relative;
}

i[class^="icon-num-"] {
    display: inline-block;
    width: 16px;
    height: 16px;
    line-height: 22px;
    border-radius: 50%;
    background-color: #EE0033 !important;
    color: white;
    font-weight: bold;
    text-align: center;
    font-style: normal;
    user-select: none;
    position: relative;
    vertical-align: middle;
}

i[class^="icon-num-"]::after {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 11px;
    line-height: 22px;
}

.icon-num-0::after {
    content: "0";
}

.icon-num-1::after {
    content: "1";
}

.icon-num-2::after {
    content: "2";
}

.icon-num-3::after {
    content: "3";
}

.icon-num-4::after {
    content: "4";
}

.icon-num-5::after {
    content: "5";
}

.icon-num-6::after {
    content: "6";
}

.icon-num-7::after {
    content: "7";
}

.icon-num-8::after {
    content: "8";
}

.icon-num-9::after {
    content: "9";
}

.icon-num-10::after {
    content: "10";
}

.icon-num-11::after {
    content: "11";
}
.icon-num-12::after {
    content: "12";
}

.icon-num-13::after {
    content: "13";
}

.icon-num-14::after {
    content: "14";
}

.icon-num-15::after {
    content: "15";
}

.icon-num-16::after {
    content: "16";
}

.icon-num-17::after {
    content: "17";
}

.icon-num-18::after {
    content: "18";
}

.icon-num-19::after {
    content: "19";
}

.icon-num-20::after {
    content: "20";
}

ol.numbered-list {
    counter-reset: item;
    list-style: none;
    margin: 0;
    padding: 0;
}

ol.numbered-list li {
    counter-increment: item;
    margin-bottom: 4px;
    position: relative;
    padding-left: 22px;
    font-weight: 400;
    font-family: 'SF Pro Display', sans-serif;
    font-size: 14px;
    line-height: 24px;
}

ol.numbered-list li::before {
    content: counter(item);
    position: absolute;
    margin-top: 4px;
    left: 0;
    top: 0;
    width: 16px;
    height: 16px;
    background-color: #EE0033;
    color: white;
    font-weight: bold;
    font-size: 11px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-shop-container {
    display: flex;
    align-items: stretch;
    gap: 12px;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.btn-buy-now-container {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    cursor: pointer;
    user-select: none;
}

.btn-trade-in-and-upgrade {
    height: 68px;
    background-color: #EE5F00 !important;
    justify-content: center;
    align-items: center;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.btn-trade-in-and-upgrade span {
    display: block;
}

.btn-add-to-cart {
    flex: 0 0 auto;
    width: 68px;
    height: auto;
    background-color: #FFFFFF !important;
    border: 1px solid #EE0033 !important;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    box-sizing: border-box;
}

.btn-add-to-cart img {
    width: 50%;
    height: 50%;
    object-fit: contain;
}

.payment-promo-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding: 0;
    background: #fff !important;
    box-sizing: border-box;
    font-family: 'SF Pro Display', sans-serif;
}

.payment-promo {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    border: 1px solid rgba(181, 180, 180, 0.6) !important;
    border-radius: 8px;
    padding: 0;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
    overflow: hidden;
}

.payment-promo:hover, .payment-promo.selected {
    border: 1px solid #EE0033 !important;
}

.payment-promo-description {
    font-family: 'SF Pro Display', sans-serif;
    font-size: 14px;
    word-wrap: break-word;
    color: black;
    text-align: left;
    line-height: 24px;
    margin-top: 10px;
    margin-bottom: 0;
    padding: 0;
    display: block;
    vertical-align: middle;
    white-space: normal;
}

.payment-promo-description p {
    font-family: 'SF Pro Display', sans-serif;
    font-size: 14px;
    word-wrap: break-word;
    color: black;
    text-align: left;
    line-height: 24px;
    display: block;
    padding: 0;
    margin: 0;
    vertical-align: middle;
    overflow-wrap: break-word;
}

.payment-promo .image-box {
    width: 92px;
    height: 39px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.payment-promo .image-box img {
    object-fit: contain;
    max-width: 100%;
    max-height: 100%;
    border-radius: 4px;
    position: static;
}

/*Fix rating style*/

.product-item-full .rating2 {
    text-align: left;
    border: 0;
    padding-top: 0;
    float: left;
    margin-left: 0;
    padding-left: 0;
    margin-top: -5px;
}

.product-item-full .rating2:not(:checked) > input {
    position: absolute;
    top: -9999px;
    clip: rect(0, 0, 0, 0);
}

.product-item-full .rating2:not(:checked) > label {
    float: right;
    width: 1em;
    padding: 0 0.1em;
    overflow: hidden;
    white-space: nowrap;
    cursor: pointer;
    font-size: 20px;
    line-height: 1.2;
    color: #ddd;
}

.product-item-full .rating2:not(:checked) > label::before {
    content: "★ ";
}

.product-item-full .rating2 > input:checked ~ label {
    color: #FFC803;
}


.detail-product-1 .container .evaluate-product .rating {
    float: left;
}

.detail-product-1 .container .evaluate-product .rating:not(:checked) > input {
    position: absolute;
    top: -9999px;
    clip: rect(0, 0, 0, 0);
}

.detail-product-1 .container .evaluate-product .rating:not(:checked) > label {
    float: right;
    width: 1em;
    padding: 0 .1em;
    overflow: hidden;
    white-space: nowrap;
    cursor: pointer;
    font-size: 200%;
    line-height: 1.2;
    color: #9C9C9C;
}

.detail-product-1 .container .evaluate-product .rating:not(:checked) > label:before {
    content: '★ ';
}

.detail-product-1 .container .evaluate-product .rating:not(:checked) > label:hover {
    color: #FFC803;
}

.detail-product-1 .container .evaluate-product .rating:not(:checked) > label:hover ~ label {
    color: #FFC803;
}

.detail-product-1 .container .evaluate-product .rating > input:checked ~ label {
    color: #FFC803;
}

.detail-product-1 .container .evaluate-product .rating > input:checked ~ label:hover {
    color: #FFC803;
}

.detail-product-1 .container .evaluate-product .rating > input:checked ~ label:hover ~ label {
    color: #FFC803;
}

.detail-product-1 .container .evaluate-product .rating > input:checked + label:hover {
    color: #FFC803;
}

.detail-product-1 .container .evaluate-product .rating > input:checked + label:hover ~ label {
    color: #FFC803;
}

.detail-product-1 .container .evaluate-product .rating > label:hover ~ input:checked ~ label {
    color: #FFC803;
}

.detail-product-1 .container .evaluate-product .rating > label:active {
    position: relative;
    top: 2px;
    left: 2px;
}

@keyframes shake {
    0%, 100%   { transform: rotate(0deg); }
    25%        { transform: rotate(5deg); }
    75%        { transform: rotate(-5deg); }
}
.shake {
    animation: shake 0.6s ease-in-out infinite;
    transform-origin: center center;
}

/*Overide CSS from Detail.css*/

.product-item-full .price-product .new-price {
    font-size: 28px !important;
}

.product-item-full .price-product .old-price {
    font-size: 16px !important;
}

.frame-pack-data {
    border: 2px solid #e0e0e0;
    background: #FFF;
    overflow: hidden;
}

.frame-promotion {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 0;
    background: #FFFFFF;
    overflow: hidden;
}

.frame-promotion.white{
    background: #FFFFFF !important;
}

.frame-promotion-header {
    background: #f2f2f2;
}

.box-promotion {
    background: #ffffff !important;
}

.color-black {
    color: #000000 !important;
}
.color-red {
    color: #E90628 !important;
}

.name-product .icons {
    margin-left: 8px;
}