/** Original Market **/
.original-market,
.business-market {
    padding: 60px 0px;
}

.original-market-grid,
.business-market-grid {
    position: relative;
}

.original-market,
.business-market {
    position: relative;
}

.original-market-title,
.business-market-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    position: relative;
}

.original-market-title::after,
.business-market-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: -20px;
    right: -20px;
    height: 1px;
    background-color: var(--color-primary);
}

.original-market-title h2,
.business-market-title h2 {
    font-size: 25px;
    font-weight: 700;
    color: var(--color-orange);
    text-transform: uppercase;
    margin: 0;
}

.view-more {
    position: relative;
    display: inline-block;
    color: var(--color-orange);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.view-more::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 1px;
    background-color: var(--color-orange-opacity);
    transition: width 0.3s ease;
}

.view-more:hover {
    color: var(--color-orange-opacity);
}

.view-more:hover::after {
    width: 100%;
}

.original-market-grid,
.business-market-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
    cursor: pointer;
}

.original-market-item,
.business-market-item {
    border: 1px solid var(--bg-body);
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.25);
}

.original-market-item:hover,
.business-market-item:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.product-heart {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 2;
    width: 32px;
    height: 32px;
}

.product-heart img {
    width: 32px;
    height: 32px;
    cursor: pointer;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.3s ease;
}

.product-heart img.hover-img {
    opacity: 0;
}

.product-heart:hover img.default-img {
    opacity: 0;
}

.product-heart:hover img.hover-img {
    opacity: 1;
}

.product-image img {
    width: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px 14px;
}

.product-name a {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-black);
    line-height: 1.4;
    text-decoration: none;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: calc(2 * 1.4em);
    max-height: calc(2 * 1.4em);
}

.product-badge {
    color: var(--color-orange);
    padding: 4px 8px;
    border-radius: 5px;
    border: 1px solid var(--color-orange);
    font-size: 12px;
    font-weight: 400;
    text-align: center;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(255, 107, 53, 0.3);
    align-self: flex-start;
}

.product-badge:hover {
    color: var(--color-white);
    background-color: var(--color-orange);
}

.product-price {
    padding: 9px 0 18px 0;
}

.price-current {
    font-size: 24px;
    font-weight: 600;
    color: var(--color-red-price);
}

.price-old {
    font-size: 14px;
    font-weight: 400;
    color: var(--color-primary);
    text-decoration: line-through;
    margin-left: 15px;
}

.view-detail {
    padding: 6px 34px;
    color: var(--color-orange);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    font-style: medium;
    transition: color 0.3s ease;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.25);
}

.view-detail:hover {
    color: var(--color-white);
    background-color: var(--color-orange);
}

/* Combo Market */
.combo-market {
    padding: 30px 0;
    background-color: var(--bg-white);
}

.combo-market-title {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 50px;
    padding-bottom: 15px;
    position: relative;
}

.combo-market-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: -9%;
    right: -9%;
    height: 5px;
    background-color: var(--color-orange);
}

.combo-market-title h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-orange);
    text-transform: uppercase;
    margin: 0;
}

.combo-market-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 41px;
    padding: 0 20px;
}

.combo-item {
    border-radius: 8px;
    padding: 15px;
    transition: all 0.3s ease;
}

.combo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.combo-image {
    margin-bottom: 5px;
}

.combo-image img {
    width: 100%;
    object-fit: cover;
}

.combo-info {
    text-align: center;
}

.combo-info h3 {
    font-family: "Josefin Sans", sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--color-black);
    margin: 0 0 10px 0;
}

.combo-price {
    font-family: "Josefin Sans", sans-serif;
    font-size: 25px;
    font-weight: 600;
    color: var(--color-orange);
    margin-bottom: 20px;
}

/* Market Session */
.market-session {
    padding: 60px 0;
    background-color: var(--bg-body);
    margin: 0 auto;
    max-width: 1024px;
}

.market-session-grid {
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 120px;
}

.market-session-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.session-image {
    margin-bottom: 20px;
    transition: transform 0.3s ease;
    position: relative;
}

.session-status {
    position: absolute;
    right: 10px;
    top: 10px;
    z-index: 9;
    font-size: 12px;
    background: rgba(0, 0, 0, 0.1);
    padding: 2px;
}

.session-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.session-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: 100%;
}

.session-time {
    font-size: 24px;
    font-weight: 500;
    color: var(--color-black);
}

.session-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-orange);
    margin: 0;
    text-transform: uppercase;
}

.session-button {
    display: inline-block;
    padding: 6px 0px;
    background-color: var(--color-orange);
    color: var(--color-white);
    text-decoration: none;
    font-size: 20px;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
    width: 100%;
    border-radius: 3px;
}

.session-button:disabled {
    opacity: 0.8;
    border: 1px solid var(--color-orange);
}

.session-button:hover {
    background-color: var(--color-orange-opacity);
    transform: translateY(-2px);
}

/* Gift Box */
.gift-box {
    padding: 60px 0;
}

.gift-box-title {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.gift-box-title h2 {
    font-size: 25px;
    font-weight: 700;
    color: var(--color-orange);
    text-transform: uppercase;
    margin: 0;
    padding-bottom: 15px;
    display: inline-block;
}

.gift-box-title h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background-color: var(--color-orange);
}

.gift-box-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 0 20px;
}

.gift-item {
    background: var(--bg-footer);
    border: #0000001a 1px solid;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.gift-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.gift-image {
    margin-bottom: 20px;
}

.gift-image img {
    width: 100%;
}

.gift-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.gift-price {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.price-current-cb {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-red-primary);
}

.price-old-cb {
    font-size: 20px;
    font-weight: 600;
    color: #c1121fab;
    text-decoration: line-through;
}

/* Prodcut Detail */

.product-detail {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.product-detail-main .container {
    background: var(--bg-body);
}

.product-detail-left {
    width: 55%;
    display: flex;
    flex-direction: row-reverse;
}

.product-detail-gallery {
    position: relative;
    max-width: 110px;
    flex-shrink: 0;
}

.product-detail-gallery .slick-slide {
    margin: 6px 0;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.product-detail-gallery .slick-current {
    opacity: 1;
}

.product-detail-gallery .slick-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 0 !important;
    margin: 0;
}
.product-detail-gallery .slick-slide {
    margin: 0;
}
.product-detail-gallery .thumb-prev,
.product-detail-gallery .thumb-next {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    color: var(--color-black);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    outline: none;
    background: transparent;
    opacity: 0.5;
}

.product-detail-gallery .thumb-prev {
    top: -6px;
}

.product-detail-gallery .thumb-next {
    bottom: 14px;
}
.product-detail-gallery .thumb-prev i,
.product-detail-gallery .thumb-next i {
    font-size: 32px;
}

.product-detail-gallery .thumbnail-grid a {
    display: block;
    transition: border-color 0.3s ease;
    margin-bottom: 16px;
}

.thumbnail-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-detail-right {
    width: 45%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.product-detail-right {
    width: 45%;
}

.product-detail-right h3 {
    font-size: 32px;
    margin-bottom: 15px;
    color: var(--color-black);
}

.product-information {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.product-items {
    margin-bottom: 15px;
}

.price-new-detail {
    font-size: 36px;
    color: var(--color-orange-opacity);
    font-weight: medium;
}

.price-old-detail {
    text-decoration: line-through;
    color: #999;
    margin-left: 10px;
}

.desc-information-product {
    font-size: 18px;
    color: var(--color-black);
    line-height: 1.8;
    margin-bottom: 20px;
}

.add-cart-product-detail {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.add-cart-product-detail-btn {
    background: var(--bg-white);
    color: var(--color-orange);
    padding: 12px 20px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s ease;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.25);
    border: none;
    outline: none;
}

.add-cart-product-detail-btn:hover {
    background: var(--color-orange);
    color: var(--bg-white);
}

.buy-product-detail-btn {
    background: var(--color-orange);
    color: var(--bg-white);
    padding: 12px 30px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(255, 87, 34, 0.4);
}

.buy-product-detail-btn:hover {
    background: var(--color-orange-opacity);
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(255, 87, 34, 0.5);
}

.buy-product-detail-btn span {
    font-size: 15px;
    letter-spacing: 0.5px;
}

.add-cart-product-detail-btn i {
    margin-right: 8px;
}

.social-share {
    display: flex;
    align-items: center;
}

.social-share-text {
    margin-right: 15px;
    font-size: 24px;
    font-weight: 500;
    color: #333;
}

.social-share-icons {
    display: flex;
    gap: 10px;
}

.social-share-likes {
    display: flex;
    align-items: center;
    margin-left: 20px;
    padding-left: 20px;
    border-left: 1px solid #0000004d;
}

.social-share-likes .heart-icon {
    font-size: 30px;
    margin-right: 10px;
    color: #ff5722;
}

.social-share-likes .like-count {
    font-size: 24px;
    color: var(--color-black);
    font-weight: 400;
}

.desc-product-detail {
    background: var(--bg-white);
    padding: 30px 30px;
    margin-top: 20px;
}

.title-product-detail {
    display: flex;
    padding: 0;
    margin: 0 0 20px 0;
    list-style-type: none;
    border-bottom: 1px solid #f0f0f0;
}

.info-product-detail {
    position: relative;
    padding: 12px 0;
    font-size: 25px;
    font-weight: 600;
    color: var(--color-orange);
    text-transform: uppercase;
}

.product-desc-information {
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-black);
}

.product-desc-information img {
    max-width: 100%;
    height: auto;
    display: block;
}

.product-desc-information iframe {
    max-width: 100%;
}

.product-desc-information table {
    width: 100% !important;
    display: block;
    overflow-x: auto;
}

@media (max-width: 960px) {
    /* ===== ORIGINAL MARKET ===== */
    .original-market,
    .business-market {
        padding: 30px 0;
    }

    .original-market-title,
    .business-market-title {
        margin-bottom: 20px;
        padding-bottom: 10px;
    }

    .original-market-title::after,
    .business-market-title::after {
        left: -15px;
        right: -15px;
    }

    .original-market-title h2,
    .business-market-title h2 {
        font-size: 20px;
    }

    .view-more {
        font-size: 14px;
    }

    .original-market-grid,
    .business-market-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .original-market-item,
    .business-market-item {
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    .product-info {
        padding: 8px 10px;
        gap: 8px;
    }

    .product-heart {
        top: 10px;
        right: 10px;
        width: 28px;
        height: 28px;
    }

    .product-heart img {
        width: 28px;
        height: 28px;
    }

    .product-name a {
        font-size: 14px;
    }

    .product-badge {
        padding: 3px 6px;
        font-size: 10px;
    }

    .product-price {
        padding: 6px 0 12px 0;
    }

    .price-current {
        font-size: 18px;
    }

    .price-old {
        font-size: 12px;
        margin-left: 5px;
    }

    .empty-state {
        padding: 30px 15px;
    }

    .view-detail {
        padding: 5px 20px;
        font-size: 14px;
    }

    .empty-content {
        max-width: 300px;
    }

    .empty-content i {
        font-size: 40px;
        margin-bottom: 15px;
    }

    .empty-content h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .empty-content p {
        font-size: 14px;
        margin-bottom: 20px;
    }

    /* ===== COMBO MARKET ===== */
    .combo-market {
        padding: 20px 0 30px;
    }

    .combo-market-title {
        margin-bottom: 30px;
    }

    .combo-market-title h2 {
        font-size: 20px;
    }

    .combo-market-title::after {
        left: -5%;
        right: -5%;
        height: 3px;
    }

    .combo-market-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 0 10px;
    }

    .combo-item {
        box-shadow: 0 0 4px rgba(0, 0, 0, 0.25);
    }

    .combo-info h3 {
        font-size: 18px;
        margin: 0 0 8px 0;
    }

    .combo-price {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .combo-info .view-detail {
        width: 100%;
        padding: 6px 15px;
        font-size: 14px;
    }

    .combo-info .view-detail:focus {
        outline: none;
    }

    /* ===== MARKET SESSION ===== */
    .market-session {
        padding: 30px 0;
        max-width: 100%;
    }

    .market-session-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        margin: 0 auto;
    }

    .market-session-item {
        border-bottom: 1px solid var(--color-red-primary);
        padding-bottom: 30px;
    }

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

    .session-info {
        gap: 10px;
    }

    .session-time {
        font-size: 20px;
    }

    .session-title {
        font-size: 20px;
    }

    .session-button {
        font-size: 16px;
    }

    /* ===== GIFT BOX ===== */
    .gift-box {
        padding: 30px 0;
    }

    .gift-box-title {
        margin-bottom: 25px;
    }

    .gift-box-title h2 {
        font-size: 20px;
        padding-bottom: 10px;
    }

    .gift-box-title h2::after {
        width: 80px;
        height: 2px;
    }

    .gift-box-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 0 10px;
    }

    .gift-item {
        padding: 15px;
    }

    .gift-info {
        gap: 10px;
    }

    .gift-price {
        gap: 15px;
    }

    .price-current-cb {
        font-size: 18px;
    }

    .price-old-cb {
        font-size: 18px;
    }

    .hot-selling-badge {
        transform: scale(0.85);
        transform-origin: center;
    }

    /* ===== PRODUCT DETAIL MAIN ===== */
    .product-detail {
        flex-direction: column;
        gap: 30px;
    }

    .product-detail-left {
        width: 100%;
        justify-content: center;
        gap: 7px;
    }

    .product-detail-right {
        width: 100%;
    }

    .product-detail-gallery {
        max-width: 80px;
    }

    .thumbnail-grid {
        gap: 12px;
    }

    .product-detail-right h3 {
        font-size: 24px;
        margin-bottom: 12px;
    }

    .product-information {
        margin: 15px 0;
    }

    .product-items {
        margin-bottom: 12px;
    }

    .price-new-detail {
        font-size: 28px;
    }

    .price-old-detail {
        font-size: 18px;
    }

    .desc-information-product {
        font-size: 16px;
        line-height: 1.6;
        margin-bottom: 15px;
    }

    .social-share {
        flex-wrap: wrap;
        gap: 15px;
        margin-bottom: 15px;
    }

    .social-share-likes {
        margin-left: 0;
        padding-left: 0;
        border-left: none;
        width: 100%;
        justify-content: center;
        margin-top: 10px;
    }

    .social-share-text {
        font-size: 20px;
        margin-right: 10px;
    }

    .social-share-likes .heart-icon {
        font-size: 24px;
    }

    .social-share-likes .like-count {
        font-size: 20px;
    }

    .desc-product-detail {
        padding: 20px 15px;
    }

    .title-product-detail {
        margin-bottom: 15px;
    }

    .info-product-detail {
        padding: 10px 0;
        font-size: 20px;
    }

    .product-desc-information img {
        max-width: 100%;
        height: auto !important;
    }
}
