:root {
    --whatsapp-green: #25D366;
    --whatsapp-green-dark: #128C7E;
}

/* Product Descriptions */
.product-descriptions {
    font-size: 16px;
    color: #333;
    overflow-y: auto;
    padding: 0 16px;
    text-align: justify;
    line-height: 1.8;
}

.product-description {
    line-height: 1.7;
    font-size: 16px;
    color: #333;
    max-width: 680px;
    max-height: 260px;
    overflow-y: auto;
    padding: 0 16px;
    text-align: justify;
}

.product-description p {
    margin-bottom: 0.75rem;
}

.product-description img {
    max-width: 100%;
    height: auto !important;
    display: block;
    margin: 10px auto;
}

.product-description br {
    content: "";
    display: block;
    margin-bottom: 6px;
}

.product-description strong {
    font-weight: 600;
}

.product-description ul,
.product-description ol {
    padding-left: 1.2rem;
    margin-bottom: 0.75rem;
}

.product-description li {
    margin-bottom: 4px;
}

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

/* Hero Section */
.product-hero {
    background-color: #191c24 !important;
    position: relative;
    min-height: 600px;
    padding: 4rem 0;
}

.hero-title {
    font-size: 2.5rem;
    line-height: 1.15;
    color: #fff;
    font-weight: 700;
}

.hero-subtitle {
    color: #dbdbdb;
    font-size: 16px;
}

.hero-image {
    max-width: 100%;
    height: auto;
    transition: transform 0.3s;
    object-fit: contain;
}

@keyframes naikTurun {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.animasi-naik-turun {
    animation: naikTurun 2.6s ease-in-out infinite;
}

/* Gallery Hero Section */
.galery-hero-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #fff;
    overflow: hidden;
}

.product-image {
    background: radial-gradient(circle at top left, #2c2c2c, #000);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0px;
    cursor: zoom-in;
    min-height: 400px;
}

.product-image img {
    max-width: 100%;
    height: auto;
    transition: transform 0.6s ease;
    object-fit: contain;
}

.product-image.zoomed img {
    transform: scale(1.6);
}

.product-info {
    padding: 40px;
    background: #fff;
}

.product-info h1 {
    font-size: 28px;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.variant-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.variant {
    border: 1px solid #ddd;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 13px;
    white-space: nowrap;
}

.info-list {
    font-size: 14px;
    color: #555;
    margin-bottom: 20px;
}

.info-list a {
    color: #007bff;
    text-decoration: none;
}

.info-list a:hover {
    text-decoration: underline;
}

.price {
    margin: 25px 0;
}

.price small {
    color: #ff6a00;
    font-size: 13px;
    display: block;
    margin-bottom: 5px;
}

.price h2 {
    color: #ff6a00;
    font-size: 26px;
    margin: 0;
}

.price del {
    font-size: 14px;
    color: #aaa;
    margin-left: 10px;
}

.actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.actions button {
    border: none;
    padding: 12px 20px;
    border-radius: 24px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.cart-btn:hover {
    background: #e0e0e0;
}

/* Features Grid */
.features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 30px;
}

.feature-card {
    background: #000;
    color: #fff;
    border-radius: 14px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card img {
    max-width: 100%;
    height: auto;
    margin-bottom: 12px;
    border-radius: 8px;
}

.feature-card p {
    font-size: 14px;
    opacity: 0.9;
    margin: 0;
}

/* Product Details Card */
.product-details-card {
    min-height: auto;
}

/* Sticky Sidebar */
.sticky-sidebar {
    position: sticky;
    top: 100px;
}

/* Floating WhatsApp Button Mobile */
.order-mobile-bottom {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: 20px;
    width: calc(100% - 2rem);
    max-width: 500px;
    z-index: 1030;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    overflow: hidden;
}

/* Responsive Breakpoints */
/* Extra Large Devices (1400px and up) */
@media (min-width: 1400px) {
    .product-hero {
        min-height: 700px;
    }

    .hero-title {
        font-size: 3rem;
    }
}

/* Large Devices (992px to 1399px) */
@media (min-width: 992px) and (max-width: 1399.98px) {
    .product-hero {
        min-height: 600px;
    }

    .hero-title {
        font-size: 2.5rem;
    }
}

/* Medium Devices (768px to 991px) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .product-hero {
        min-height: 500px;
        padding: 3rem 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .galery-hero-section {
        grid-template-columns: 1fr;
    }

    .product-image {
        min-height: 300px;
        padding: 30px;
    }

    .product-info {
        padding: 30px;
    }

    .features {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-details-card {
        height: auto !important;
        min-height: 400px;
    }

    .sticky-sidebar {
        position: relative;
        top: 0;
    }
}

/* Small Devices (576px to 767px) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .product-hero {
        min-height: auto;
        padding: 2rem 0;
    }

    .hero-title {
        font-size: 1.75rem;
        text-align: center;
    }

    .hero-subtitle {
        text-align: center;
        font-size: 14px;
    }

    .galery-hero-section {
        grid-template-columns: 1fr;
    }

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

    .product-info {
        padding: 20px;
    }

    .product-info h1 {
        font-size: 22px;
    }

    .price h2 {
        font-size: 22px;
    }

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

    .feature-card {
        padding: 15px;
    }

    .product-details-card {
        height: auto !important;
        margin-bottom: 1rem;
    }

    .sticky-sidebar {
        position: relative;
        top: 0;
    }

    .order-mobile-bottom {
        width: calc(100% - 1rem);
        bottom: 15px;
    }
}

/* Extra Small Devices (up to 575px) */
@media (max-width: 575.98px) {
    .product-hero {
        min-height: auto;
        padding: 1.5rem 0;
    }

    .hero-title {
        font-size: 1.5rem;
        text-align: center;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        text-align: center;
        font-size: 14px;
        margin-bottom: 1.5rem;
    }

    .hero-image {
        max-width: 90vw;
        margin: 0 auto;
    }

    .galery-hero-section {
        grid-template-columns: 1fr;
    }

    .product-image {
        min-height: 200px;
        padding: 15px;
    }

    .product-info {
        padding: 20px 15px;
    }

    .product-info h1 {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .variant-list {
        gap: 6px;
        margin-bottom: 15px;
    }

    .variant {
        font-size: 11px;
        padding: 3px 8px;
    }

    .info-list {
        font-size: 13px;
        margin-bottom: 15px;
    }

    .price {
        margin: 20px 0;
    }

    .price small {
        font-size: 12px;
    }

    .price h2 {
        font-size: 20px;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
    }

    .price del {
        font-size: 12px;
        margin-left: 8px;
    }

    .actions {
        flex-direction: column;
        gap: 10px;
    }

    .buy-btn {
        width: 100%;
        min-width: auto;
    }

    .cart-btn {
        width: 100%;
    }

    .features {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 20px;
    }

    .feature-card {
        padding: 15px;
    }

    .product-description {
        padding: 0 12px;
        font-size: 14px;
        max-width: 100%;
        max-height: none;
    }

    .product-descriptions {
        padding: 0 12px;
        font-size: 14px;
    }

    .product-details-card {
        height: auto !important;
        margin-bottom: 1rem;
    }

    .card.p-3 {
        padding: 1rem !important;
    }

    .sticky-sidebar {
        position: relative;
        top: 0;
    }

    .order-mobile-bottom {
        width: calc(100% - 1rem);
        bottom: 15px;
        left: 50%;
        transform: translateX(-50%);
    }

    .order-mobile-bottom .btn {
        font-size: 14px;
        padding: 0.75rem 1rem;
    }

    /* Breadcrumb Mobile */
    .breadcrumb {
        font-size: 12px;
        padding: 0.5rem 0;
    }

    .breadcrumb-item {
        max-width: 150px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    /* Gallery Thumbs Mobile */
    .gallery-thumb {
        max-width: 60px !important;
        max-height: 45px !important;
    }

    /* Nav Tabs Mobile */
    .nav-tabs {
        flex-wrap: wrap;
    }

    .nav-tabs .nav-link {
        font-size: 13px;
        padding: 0.5rem 0.75rem;
    }

    /* Specs Mobile */
    .d-flex.justify-content-between {
        flex-direction: column;
        gap: 0.5rem;
    }

    .d-flex.justify-content-between .fw-semibold {
        font-size: 13px;
    }

    /* Container Padding Mobile */
    .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .pro_contain {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
}

/* Tablet Portrait (768px to 991px) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .product-hero .row {
        margin-top: 60px !important;
    }

    .hero-title {
        font-size: 2rem;
    }

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

    .product-info {
        padding: 30px;
    }
}

/* Landscape Mobile (576px to 767px) */
@media (min-width: 576px) and (max-width: 767.98px) and (orientation: landscape) {
    .product-hero {
        min-height: 400px;
    }

    .hero-title {
        font-size: 1.75rem;
    }
}

/* Print Styles */
@media print {

    .product-hero,
    .order-mobile-bottom,
    .sticky-sidebar,
    .breadcrumb {
        display: none !important;
    }
}