:root {
    --bs-primary: #50a41b;
    --bs-primary-rgb: 80, 164, 27;
}

.dp-pc {
    display: block;
}

.dp-mb {
    display: none;
}


/* ===== MOBILE CONTACT BUTTONS ===== */

.mobile-contact-buttons {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    z-index: 10000;
    background: white;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    border-top: 1px solid #e9ecef;
    /* Hidden by default, shown on mobile */
}

.contact-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 0.5rem;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    border: none;
    background: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.contact-btn:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

.contact-btn:active {
    transform: translateY(0);
}

.contact-icon {
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
    animation: pulse 2s infinite;
}

.contact-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.1rem;
}

.contact-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-number {
    font-size: 0.8rem;
    font-weight: 700;
    color: #333;
}


/* ===== FLOATING CTA STYLES ===== */

.floating-cta {
    position: fixed;
    bottom: 24px;
    right: 20px;
    background: linear-gradient(135deg, #ff1744, #ff5722);
    border-radius: 15px;
    padding: 1rem;
    box-shadow: 0 10px 30px rgba(255, 23, 68, 0.4);
    z-index: 9999;
    transform: translateX(100%);
    opacity: 1;
    transition: all 0.5s ease;
    max-width: 300px;
    animation: pulse 2s infinite;
    display: none;
}

.floating-cta.show {
    transform: translateX(0);
    opacity: 1;
    display: block;
}

.floating-cta-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
}

.floating-cta-text {
    text-align: center;
    color: white;
}

.floating-title {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.floating-subtitle {
    display: block;
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 600;
}

.floating-cta-buttons {
    display: flex;
    gap: 0.5rem;
}

.floating-btn-primary,
.floating-btn-secondary {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1rem;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.floating-btn-primary {
    background: linear-gradient(135deg, #ffffff, #f5f5f5);
    color: #ff1744;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.floating-btn-primary:hover {
    color: #ff1744;
}

.floating-btn-secondary {
    background: linear-gradient(135deg, #4caf50, #66bb6a);
    color: white;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.floating-btn-primary:hover,
.floating-btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.floating-close {
    position: absolute;
    top: -5px;
    right: -5px;
    background: rgba(0, 0, 0, 0.3);
    color: white;
    border: none;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    font-size: 0.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.floating-close:hover {
    background: rgba(0, 0, 0, 0.5);
    transform: scale(1.1);
}


/* --- STYLES CHO SWIPER VÀ BEM --- */

.swiper-button-next,
.swiper-button-prev {
    color: white;
    transition: color 0.3s;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    color: white;
}

.video-item {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    background-color: #2c2c2c;
}

.video-item__thumbnail {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.video-item__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-item__overlay img {
    height: 56px;
    transition: transform 0.3s ease;
}

.video-item__overlay:hover img {
    transform: scale(1.2);
}


/* --- STYLES FOR MODAL --- */

.modal-fullscreen .modal-content {
    background-color: transparent;
    border: none;
    position: relative;
}

.modal-fullscreen .modal-body {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}


/* Container cho Iframe (Video) */

.video-container {
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: black;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
}

.modal-header .btn-close {
    filter: invert(1);
    opacity: 1;
    box-shadow: none;
}

@media (min-width: 768px) {
    #videoModal .modal-dialog {
        max-width: 90%;
    }
}

@media (min-width: 992px) {
    #videoModal .modal-dialog {
        max-width: 900px;
    }
}

#videoModal .modal-content {
    background: transparent;
    box-shadow: none;
    max-width: unset;
    margin: 0 auto;
    width: 100%;
    overflow: hidden;
}

#videoModal .modal-header {
    background: transparent;
    border: none;
    padding: 1rem 0;
}

#videoModal .modal-body {
    background: transparent;
    border-radius: 0;
}


/* swiper-celebrities */

.swiper-celebrities .swiper-slide {
    background-color: #ccc;
    aspect-ratio: 10 / 6.6;
    user-select: none;
    overflow: hidden;
}

.swiper-celebrities .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.swiper-celebrities .swiper-slide:hover img {
    transform: scale(1.1);
}

.swiper-pagination-bullet-active {
    background-color: var(--bs-primary);
}


/* Product Gallery */

#product .main-image {
    padding: 0 !important;
}

@media (max-width: 768px) {
    .dp-pc {
        display: none;
    }
    .dp-mb {
        display: block;
    }
}

.newspaper__link {
    display: block;
    width: 100%;
    height: 100%;
    padding: 12px;
    text-decoration: none;
}

.newspaper__item {
    transition: transform 0.3s ease;
    box-shadow: var(--bs-box-shadow-sm);
}

.newspaper__item:hover {
    transform: translateY(-6px);
    box-shadow: var(--bs-box-shadow-lg);
}

.newspaper__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.newspaper__link:hover .newspaper__img {
    transform: scale(1.1);
}


/* awards and certifications */

.awards__container {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    justify-content: center;
}

.awards__item {
    aspect-ratio: 1 / 1;
    width: 100%;
    background: #fff;
    border-radius: var(--bs-border-radius-lg);
    overflow: hidden;
    transition: transform 0.3s ease;
    box-shadow: var(--bs-box-shadow-sm);
    max-width: 200px;
}

.awards__item:hover {
    transform: translateY(-6px);
    box-shadow: var(--bs-box-shadow-lg);
}

.awards__item a {
    display: block;
    width: 100%;
    height: 100%;
    padding: 12px;
    text-decoration: none;
}

.awards__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 10px;
    transition: transform 0.3s ease;
}


/* Added floating contact button styles */


/* Added floating contact button styles */

.contact-float {
    position: fixed;
    left: 20px;
    bottom: 20px;
    width: 56px;
    height: 56px;
    background: var(--bs-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(80, 164, 27, 0.4);
    transition: all 0.3s ease;
    z-index: 999;
    /* Add pulse animation to contact button */
    animation: contact-float-pulse 2s ease-in-out infinite;
}

.contact-float:hover {
    background: var(--bs-primary);
    box-shadow: 0 6px 16px rgba(80, 164, 27, 0.6);
    transform: scale(1.15);
}

.contact-float:active {
    transform: scale(0.95);
}

.contact-float svg {
    width: 24px;
    height: 24px;
}

@media (max-width: 768px) {
    .contact-float {
        width: 52px;
        height: 52px;
    }
    .contact-float svg {
        width: 24px;
        height: 24px;
    }
}

@keyframes contact-float-pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(80, 164, 27, 0.6);
    }
    50% {
        transform: scale(1.15);
        box-shadow: 0 4px 20px rgba(80, 164, 27, 0.8);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(80, 164, 27, 0.6);
    }
}


/* Product Gallery */

.product-gallery__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}


/*Product Detail Section */

.product-detail__card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 1rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
}

.product-gallery-container {
    position: relative;
}

.product-gallery-left {
    /*width: calc(100% - 560px);*/
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.product-gallery-right {
    flex-shrink: 0;
    position: sticky;
    top: 100px;
    margin-top: 24px;
}

.product-gallery-container .swiper-slide {
    text-align: center;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-size: cover;
    background-position: center;
}

.product-gallery-container .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-gallery .swiper {
    width: 100%;
    height: 300px;
    margin-left: auto;
    margin-right: auto;
}

.swiperMain {
    height: 80%;
    width: 100%;
}

.product-gallery .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiperThumbs {
    height: 20%;
    box-sizing: border-box;
    margin-top: 16px;
}

.swiperThumbs .swiper-slide {
    width: 100%;
    aspect-ratio: 1 / 1;
    opacity: 0.4;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    background: transparent;
}

.swiperMain .swiper-slide {
    border-radius: 15px;
    overflow: hidden;
    /*box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);*/
    border: 1px solid #e9ecef;
}

.swiperThumbs .swiper-slide-thumb-active {
    opacity: 1;
    border-color: #ff6b35;
}

.swiperThumbs .swiper-slide:hover {
    border-color: #ff6b35;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    opacity: 1;
}

.swiperThumbs .swiper-slide img {
    transition: inherit;
}

.swiperThumbs .swiper-slide:hover img {
    transform: scale(1.05);
}

@media (min-width: 992px) {
    .product-gallery-container {
        display: flex;
    }
    .product-gallery-left {
        width: calc(100% - 560px);
    }
    .product-gallery-right {
        width: 560px;
        padding-left: 32px;
        margin-top: 0;
    }
}