/* =========================================================
   NAVBAR
========================================================= */

.navbar-custom {
    background-color: #3399ff !important;
}

.navbar-custom .nav-link {
    color: #fff !important;
}

.navbar-custom .nav-link:hover {
    color: #ddd !important;
}


/* =========================================================
   CAROUSEL
========================================================= */

#topCarousel {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

#topCarousel .carousel-item img {
    display: block;
    width: 100%;
    height: auto;
}


/* =========================================================
   PROMOTION
========================================================= */

.promotion-box {
    max-width: 1200px;
    margin: 0 auto;
    padding: 45px 30px;
    border-radius: 20px;

     background: linear-gradient(135deg, #005bea, #00c6fb);

    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.promotion-content {
    color: #fff;
}

.promotion-badge {
    display: inline-block;

    margin-bottom: 15px;
    padding: 8px 22px;

    background: #ffc107;
    color: #000;

    border-radius: 50px;

    font-size: 20px;
    font-weight: 800;
}

.promotion-title {
    margin-bottom: 10px;

    font-size: clamp(32px, 5vw, 64px);
    font-weight: 900;
    line-height: 1.15;
}

.promotion-title span {
    color: #ff0000;
}

.promotion-price {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 700;
}

.promotion-price strong {
    color: #ff0000;

    font-size: clamp(60px, 8vw, 100px);
    font-weight: 900;
    line-height: 1;
}

.promotion-price small {
    font-size: 28px;
    font-weight: 800;
}

.promotion-text {
    margin: 15px 0 25px;

    font-size: 22px;
    font-weight: 600;
}


/* =========================================================
   PRODUCT CARD
========================================================= */

.product-card {
    height: 300px;
}

.product-image-box {
    width: 100%;
    aspect-ratio: 1 / 1;

    padding: 25px;

    background: #fff;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
}

.product-image-box img {
    display: block;

    width: auto;
    height: auto;

    max-width: 85%;
    max-height: 85%;

    object-fit: contain;
}


/* =========================================================
   PRODUCT DETAIL
========================================================= */

.product-detail {
    max-width: 1200px;
    margin: 0 auto;
}

.product-detail-image {
    width: 100%;
    min-height: 450px;

    padding: 30px;

    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.product-detail-image img {
    display: block;

    width: auto;
    height: auto;

    max-width: 100%;
    max-height: 500px;

    object-fit: contain;
}

.product-detail-info {
    height: 100%;
    padding: 10px 0;
}

.product-detail-title {
    margin-bottom: 10px;

    font-size: clamp(26px, 3vw, 38px);
    font-weight: 700;
    line-height: 1.3;
}

.product-price {
    margin-bottom: 20px;

    font-size: 30px;
    font-weight: 700;
}

.product-description {
    color: #444;

    font-size: 16px;
    line-height: 1.8;
}

.product-description img {
    max-width: 100%;
    height: auto;
}

.product-description table {
    max-width: 100%;
    overflow-x: auto;
}


/* =========================================================
   CONTACT
========================================================= */

.contact-box {
    margin-top: 30px;
    padding: 25px;

    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;

    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.contact-title {
    display: flex;
    align-items: center;
    gap: 10px;

    margin: 0 0 20px;

    font-size: 24px;
    font-weight: 700;
}

.contact-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.contact-item {
    min-width: 0;

    display: flex;
    align-items: center;

    padding: 14px;

    color: #333;
    text-decoration: none;

    background: #f8f9fa;
    border: 1px solid #eee;
    border-radius: 12px;

    transition: all 0.2s ease;
}

.contact-item:hover {
    transform: translateY(-2px);

    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.contact-icon {
    width: 45px;
    height: 45px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: #fff;
    font-size: 20px;
}

.contact-icon.facebook {
    background: #1877f2;
}

.contact-icon.email {
    background: #ea4335;
}

.contact-icon.line {
    background: #06c755;
}

.contact-icon.phone {
    background: #0d6efd;
}

.contact-content {
    min-width: 0;

    margin-left: 12px;

    display: flex;
    flex-direction: column;
}

.contact-label {
    margin-bottom: 2px;

    color: #777;
    font-size: 13px;
}

.contact-value {
    overflow: hidden;

    font-size: 15px;
    font-weight: 600;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.contact-arrow {
    margin-left: auto;
    padding-left: 10px;

    color: #999;
    font-size: 13px;
}


/* =========================================================
   GALLERY
========================================================= */

.gallery-main-title {
    margin-bottom: 40px;

    font-size: 32px;
    font-weight: bold;
}

.gallery-section {
    margin-bottom: 50px;
}

.gallery-title {
    padding-bottom: 10px;

    border-bottom: 3px solid #eee;

    font-size: 26px;
    font-weight: bold;
}

.gallery-card {
    width: 100%;
    height: 230px;

    padding: 8px;

    background: #fff;
    border-radius: 10px;

    overflow: hidden;

    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.gallery-image-button {
    width: 100%;
    height: 100%;

    padding: 0;

    border: 0;
    border-radius: 7px;

    background: transparent;

    cursor: pointer;
    overflow: hidden;
}

.gallery-image-button img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.3s ease;
}

.gallery-image-button:hover img {
    transform: scale(1.05);
}

.gallery-modal-image {
    width: auto;
    height: auto;

    max-width: 100%;
    max-height: 75vh;

    object-fit: contain;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991.98px) {

    .product-detail-image {
        min-height: 350px;
        padding: 20px;
    }

    .product-detail-image img {
        max-height: 400px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767.98px) {

    .contact-list {
        grid-template-columns: 1fr;
    }

    .promotion-box {
        padding: 20px;

        text-align: center;
    }

    .promotion-title {
        font-size: 26px;
    }

    .promotion-price strong {
        font-size: 32px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 575.98px) {

    /* Contact */
    .contact-box {
        padding: 18px;
        border-radius: 12px;
    }

    .contact-title {
        font-size: 21px;
    }

    .contact-item {
        padding: 12px;
    }

    .contact-icon {
        width: 42px;
        height: 42px;

        font-size: 18px;
    }

    .contact-value {
        font-size: 14px;
    }


    /* Product */
    .product-detail-image {
        min-height: 280px;
        padding: 15px;

        border-radius: 12px;
    }

    .product-detail-image img {
        max-height: 320px;
    }

    .product-detail-title {
        font-size: 25px;
    }

    .product-price {
        font-size: 26px;
    }

    .product-description {
        font-size: 15px;
    }

    .product-detail-info .btn {
        width: 100%;
    }

    .product-image-box {
        padding: 8px;
    }


    /* Gallery */
    .gallery-main-title {
        margin-bottom: 30px;

        font-size: 26px;
    }

    .gallery-title {
        font-size: 21px;
    }

    .gallery-card {
        height: 180px;
    }

}