/* ===== HOME SLIDER SWIPER ===== */
.home-slider-swiper {
    width: 100%;
}

.home-slider-swiper .swiper {
    width: 100%;
}

.home-slider-swiper .swiper-slide {
    width: 100%;
}

.home-slider-swiper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.home-slider-swiper .swiper-pagination-bullet {
    background: white;
    opacity: 1;
}

.home-slider-swiper .swiper-pagination-bullet-active {
    background: #333;
}

.slider-company-desc {
    margin: 30px 0;
}

.content-desc {
    max-width: 800px;
    text-align: center;
    color: var(--primary-color);
    margin: 0 auto;
    background: var(--secondary-color);
    padding: 20px;
    border-radius: 60px;
}


/* ===== HOME PRODUCTS ===== */
.home-products {
    padding: 80px 0;
    background: #fff;
}

.home-products-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--primary-color);
}

.home-products-tabs {
    display: flex;
    justify-content: center;
    gap: 36px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.product-tab {
    position: relative;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #64748b;
    transition: color .3s ease;
}

.product-tab::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width .35s ease;
}

.product-tab:hover,
.product-tab.active {
    color: var(--primary-color);
}

.product-tab.active::after {
    width: 100%;
}

.home-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
    opacity: 1;
    transform: translateX(0);
    transition: opacity .35s ease, transform .35s ease;
}

.home-products-grid.is-loading {
    opacity: 0;
    transform: translateX(40px);
}

.home-products-grid.slide-in {
    opacity: 1;
    transform: translateX(0);
}

.product-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    height: 100%;
    transition: transform .3s ease, box-shadow .3s ease;
}

.product-card:hover {
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15);
}

.product-image {
    display: block;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}

.product-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform .6s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.product-desc {
    font-size: 14px;
    line-height: 1.6;
    color: #475569;
    margin-bottom: 20px;
}

.product-actions {
    margin-top: auto;
    display: flex;
    gap: 12px;
}

.product-actions a {
    flex: 1;
    text-align: center;
    padding: 12px 14px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all .3s ease;
}

.btn-buy {
    background: #0f172a;
    color: #fff;
}

.btn-buy:hover {
    background: #020617;
}

.btn-view {
    border: 1px solid #cbd5f5;
    color: #0f172a;
    background: #fff;
}

.btn-view:hover {
    background: #f1f5f9;
}

@media (max-width: 1024px) {
    .home-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {

    .home-products {
        padding: 60px 0;
    }

    .home-products-title {
        font-size: 28px;
    }

    .home-products-tabs {
        gap: 20px;
        margin-bottom: 36px;
    }

    .home-products-grid {
        grid-template-columns: 1fr;
    }
}


/* === HOME DERMATOLOGY === */
.home-derma {
    padding: 80px 0;
    background: #fff;
}

.home-derma-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 50px;
}

.home-derma-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
}

.derma-card {
    background: #fff;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    transition: transform .3s ease, box-shadow .3s ease;
}

.derma-card:hover {
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15);
}

.derma-image img {
    width: 100%;
    height: 320px;
    object-fit: cover;
}

.derma-post-title {
    padding: 20px 20px 10px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
}

.derma-post-title a {
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 4px;
}

.derma-excerpt {
    padding: 0 20px 24px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--primary-color);
    background: var(--secondary-color);
    height: 100%;
}

.home-derma-action {
    margin-top: 50px;
    text-align: center;
}

.btn-derma {
    display: inline-block;
    padding: 14px 36px;
    background: var(--secondary-color);
    color: var(--primary-color);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all .3s ease;
}

.btn-derma:hover {
    background: #bae6fd;
}

@media (max-width: 1024px) {
    .home-derma-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .home-derma {
        padding: 60px 0;
    }

    .home-derma-title {
        font-size: 26px;
    }

    .home-derma-grid {
        grid-template-columns: 1fr;
    }

    .derma-image img {
        height: 260px;
    }
}


/* HOME HERO */
.shingo-hero {
    position: relative;
    min-height: 420px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.shingo-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
}

.shingo-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    color: #fff;
    padding: 40px 20px;
}

.shingo-hero-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 30px;
}

.shingo-hero-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.shingo-hero .btn {
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 15px;
    text-decoration: none;
}

.btn-light {
    background: var(--background-color);
    color: #333;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--background-color);
}


/* HOME ABOUT */
.shingo-about {
    padding: 80px 0;
    background: #fff;
}

.shingo-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.shingo-about-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.shingo-about-content h2 {
    font-size: 36px;
    line-height: 1.4;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.shingo-about-content p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--primary-color);
}

.shingo-about-btn {
    display: inline-block;
    margin-top: 25px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 4px;
}

.shingo-about-content {
    text-align: center;
}


/* SINGLE PRODUCT */
.product-hero-inner {
    display: grid;
    grid-template-columns: 45% 55%;
    gap: 40px;
    align-items: start;
}

.product-thumb-swiper {
    margin-top: 12px;
}

.product-thumb-swiper .swiper-slide {
    opacity: .5;
    cursor: pointer;
}

.product-thumb-swiper .swiper-slide-thumb-active {
    opacity: 1;
    border: 2px solid var(--primary-color);
}

.product-single-image img {
    width: 100%;
    border-radius: 12px;
}

.product-brand {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--primary-color);
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
    margin-bottom: 10px;
}

.single-product-custom .product-title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 10px;
}

.product-content {
    margin-top: 60px;
}

.maxWidth-1200 {
    max-width: 1200px;
    margin: 60px auto;
}

.product-content-detail h2.product-h2-highlight {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--secondary-color);
    padding: 15px 20px;
    margin: 50px 0 0;
    font-size: 20px;
    font-weight: 700;
    border-radius: 12px 12px 0 0;
}

.product-content-detail h2.product-h2-highlight i {
    color: var(--primary-color);
    font-size: 18px;
}

.product-h2-block {
    background: #f8fafc;
    padding: 18px 22px 24px;
    margin-bottom: 30px;
    border-radius: 0 0 12px 12px;
}

.product-h2-block ul {
    list-style: disc;
    margin-left: 20px;
}

.product-h2-block p:last-child {
    margin-bottom: 0;
}

.product-main-swiper,
.product-single-image {
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.product-content-detail h2.product-h2-highlight,
.product-h2-block {
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, .1), 0 1px 2px -1px rgba(0, 0, 0, .1);
}