* {
    padding: 0;
    margin: 0;
    font-family: 'Poppins', sans-serif;
}
body {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-display: swap;
}
h2,
h4,
h5,
h6 {
    color: #212529;
    font-weight: 600;
}

h2 {
    margin-bottom: 20px;
    color: #333;
}

        a {
            color: inherit;
            /* Warisi warna dari parent */
            text-decoration: none;
            /* Hilangkan underline */
            transition: color 0.2s;
            /* Animasi halus */
        }

        a:hover {
            color: var(--bs-primary);
            /* Warna biru Bootstrap saat hover */
        }


.pakage .card {
    background-color: #999;
    height: 150px;
    width: auto;
    border: none;
    border-radius: 10px;
    margin-top: 15px;
    object-fit: cover;
}

.pakage .card img {
    width: 50px;
    height: auto;
    margin: auto;
}

.box-login {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 300px;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.header .card {
    display: flex;
    flex-direction: column;
    padding: 20px;
    border-radius: 10px;
    background-image: radial-gradient(circle farthest-corner at 1.5% 1.4%, rgba(159, 227, 255, 1) 0%, rgba(255, 177, 219, 1) 100.2%);
}

.box {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    margin: 0 auto;
}

.input-control {
    width: calc(100% - 20px);
    margin-bottom: 15px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.btn:hover {
    background-color: #0056b3;
}

/*==== navbar ====*/

/*===== end navbar =====*/

/*====seksi harga====*/
/* Card body fleksibel penuh */
.card-body {
	display: flex;
	flex-direction: column;
	min-height: 100px;
	justify-content: space-between;
	padding: 14px;
	flex-grow: 1;
}

/* Batasi tinggi judul agar semua seragam */
.card-text {
	font-size: 14px;
	line-height: 1.4;
	margin-bottom: 8px;
	
	display: -webkit-box;
	-webkit-line-clamp: 2; /* Tampilkan hingga 4 baris */
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	min-height: 30px ; /* Sesuaikan agar semua card konsisten tingginya */
}

.price {
	display: flex;
	flex-direction: column;
	gap: 2px;
	font-size: 14px;
	line-height: 1.3;
}
/*===card body===*/

.card-container {
    display: grid;
    grid-gap: 10px 10px;
    grid-template-columns: 1fr 1fr;
    cursor: pointer;
}

.grid-pricing .card {
    border-radius: 10px;
    background-color: #ffffff;
    position: relative;
    padding: 0;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.card-container a {
    text-decoration: none !important;
    color: inherit;
}
.grid-pricing .card .card-body:after {
    content: "...";
    position: absolute;
    color: #0000ff;
    right: 10px;
    bottom: 10px;
    font-size: 20px;
    font-weight: 600;
}
.grid-pricing .card:hover {
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
}

@media (min-width: 768px) {
    .grid-pricing .container {
        padding: 0;
        margin: auto;
	}
    .card-container {
        grid-template-columns: 1fr 1fr 1fr;
        grid-gap: 8px 8px;
        padding: 0px 12px;
	}
}
@media (min-width: 992px) {
    .grid-pricing .container {
        padding: 0;
        margin: auto;
	}
    .card-container {
        grid-template-columns: 1fr 1fr 1fr 1fr;
        grid-gap: 10px 10px;
        padding: 0px 12px;
	}
}

@media (min-width: 1082px) {
    .grid-pricing .container {
        padding: 0;
        margin: auto;
	}
    .card-container {
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
        grid-gap: 12px 12px;
        padding: 0px 12px;
	}
}
.grid-pricing .card-img-top {
    background-color: #eaeaea;
    object-fit: contain;
    border-radius: 10px 10px 0 0;
}

.card-img {
    border-radius: 10px;
}
.card-img-overlay {
    background-color: transparent;
    position: absolute;
    padding-top: 60px;
    border-radius: 10px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
}
/*==== category =====*/
.category {
    margin-top: 10vh;
}

.category h3 {
    margin: 10px 0;
}
.category p {
    margin: 0;
}
.category .card-container {
    background-color: #fff;
    border-radius: 10px;
    box-sizing: border-box;
}

.category .card-container:after {
    content: "";
    display: block;
    clear: both;
}
.category .card-container {
    overflow-x: auto;
    /* Mengaktifkan scroll horizontal */
    white-space: nowrap;
    /* Mencegah pemotongan teks */
    /* Jarak bawah untuk memastikan semua kartu terlihat */
}
/* CSS untuk mengatur ukuran gambar dan kartu serta posisi */
.category .card {
    margin: 5px;
    width: 100px;
    /* Atur lebar kartu */
    height: 100px;
    /* Atur tinggi kartu */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.category .card-img-top {
    width: 50px;
    /* Atur lebar gambar */
    height: auto;
    /* Biarkan tinggi otomatis sesuai aspek gambar */
    margin-bottom: 10px;
    /* Jarak antara gambar dan teks */
}

/*--- footer ----*/
#footer .collapse a {
    color: #000;
}
#footer .brand a {
    font-size: 30px;
    color: #000;
    margin: auto;
}
footer a {
	text-decoration: none !important;
	color: #fff;
}

footer a:hover {
	color: #0dcaf0; /* contoh warna Bootstrap cyan */
}

#footer .btn i {
    position: relative;
    left: 2px;
    display: inline-block;
    padding: 6px 6px;
    border-radius: 3px 0 0 3px;
}
#footer .shfooter .collapse {
    display: inherit;
}
#footer .shfooter ul li {
    margin: 5px 0;
}
#footer .shfooter ul li a {
    color: #000 !important;
}
@media (max-width: 767px) {
    #footer .shfooter .title {
        border-bottom: 1px solid #ccc;
	}
    #footer .shfooter ul {
        margin-bottom: 0;
	}
    #footer .shfooter ul li a {
        color: #000 !important;
	}
    #footer .shfooter .collapse {
        display: none;
	}
	
    #footer .shfooter .collapse.show {
        display: block;
	}
	
    #footer .fa-chevron-up {
        transition: all 0.3s ease;
	}
    #footer .title[aria-expanded="true"] .fa-chevron-down {
        transform: rotate(180deg);
	}
    #footer .title .collapsed .fa-chevron-up {
        transform: rotate(180deg);
	}
    #footer .title i {
        float: right;
	}
    #footer .cta {
        margin: 20px 0;
	}
}

#footer-logo {
    font-size: 30px;
    font-weight: 600;
}
#footer .title i {
    position: relative;
    top: 5px;
}
#footer .social {
    position: relative;
    top: 15px;
}
.category img {
    width: 100px;
    height: auto;
}

/*==== detail produk ====*/


.description {
	overflow: hidden;
	display: inline-block;
}
.description .full-text {
	display: none;
}
.description.expanded .full-text {
	display: inline;
}
.description.expanded .short-text {
	display: none;
}
.description .less-link {
	display: none;
}
.description.expanded .less-link {
	display: inline;
}
.description.expanded .more-link {
	display: none;
}
.product-description p {
    overflow-wrap: break-word;
}

.product-image img {
    background-color: #eaeaea;
    width: 100%;
    height: 380px;
    border-radius: 10px;
    object-fit: cover;
}


.related-products {
    padding: 20px 0;
}

.product-container a:hover {
    text-decoration: none;
}

.related-products h3 {
    margin-bottom: 20px;
}
.related-products .product-container {
    display: flex;
    overflow-x: auto;
}
.related-products .product {
    flex: 0 0 auto;
    width: 180px;
    margin-right: 10px;
    background: #fff;
    overflow: hidden;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-sizing: border-box;
}
.related-products .product img {
    width: 100%;
    height: 180px;
    object-fit: contain;
}
.related-products .product h4 {
    font-size: 15px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 18px;
    margin-bottom: 0;
    padding: 0;
}
.related-products .product p {
    margin: 0;
}
.content {
    padding: 10px;
    margin: 0;
    width: 100%;
    height: 90px;
    display: flex;
    flex-direction: column;
    justify-content: space-between !important;
}
.call {
    margin: 0;
    padding: 0;
    position: absolute;
    bottom: 0;
    left: 50%;
    border-radius: 30px;
    transform: translate(-50%, -50%);
    position: fixed;
    z-index: 99;
}
.call i {
    margin-right: 5px;
    font-size: 15px;
    position: relative;
    top: 0;
}
.call .btn {
    border-radius: 50px;
}

===== DETAIL PRODUK =====
.product-detail {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.slider-wrapper {
	display: inline-block;
}

@media (min-width: 768px) {
	.slider-wrapper {
		position: relative;
		left: -1rem;
		width: calc(100% + 2rem)
	}
	
	.slider-wrapper .splide-slide img{
		border-radius: 0;
	}
	
}
#main-slider .splide-slide {
	aspect-ratio: 1 / 1;
}

.splide__slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 10px;
}

.thumbnail-slider {
	margin-top: 10px;
}

.thumbnail-slider .splide__slide {
	opacity: 0.5;
	cursor: pointer;
	padding: 4px;
}

.thumbnail-slider .splide__slide.is-active {
	opacity: 1;
	border: 2px solid #007bff;
	border-radius: 6px;
}

.product-detail .product-description {
	max-width: 100%;
}



.slider-wrapper {
	flex: 1;
}

}

@media (max-width: 767px) {
	.thumbnail-slider {
		display: none;
	}
}

/* Panah kiri-kanan */
.splide__arrow {
	top: 50%;
	transform: translateY(-50%);
	z-index: 10;
	background-color: rgba(0, 0, 0, 0.5);
	width: 36px;
	height: 36px;
	border-radius: 50%;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
}

.splide__arrow--prev {
	left: 10px;
}

.splide__arrow--next {
	right: 10px;
}

.splide__arrow svg {
	width: 16px;
	height: 16px;
	fill: #fff;
}	


#judul-produk {
	font-size: 21px;
}
.product-detail table {
	margin: 15px 0;
	width: 100%;
}
.product-detail th {
	width: 50%;
}
.product-detail td {
	font-size: 12px;
	margin: 0 10px;
	padding: 10px 0;
	text-align: right;
}
.product-detail tr {
	border-bottom: 1px solid #ccc;
}

.product-detail-description {
	position: relative;
}
.product-detail-description ul,
.product-detail-description ol {
	list-style: none;
	padding-left: 0;
	margin: 0;
}

.description-short {
	white-space: pre-line;
	margin-bottom: 5px;
	line-height: 1.5;
	display: block;
}

.description-full {
	line-height: 1.5;
	display: none;
}

.description-toggle {
	color: #007bff;
	cursor: pointer;
	display: inline-block;
	margin-top: 5px;
	text-decoration: none;
}

.description-less {
	display: none;
}

.product-detail-description--short .description-toggle {
	display: none;
}
.description-short.hidden {
	visibility: hidden;
	position: absolute;
	height: 0;
	overflow: hidden;
}


.harddisk-container {
	display: flex;
	gap: 10px;
	overflow-x: auto;
	white-space: nowrap;
	padding: 10px;
	border-radius: 8px;
	scroll-behavior: smooth;
	max-width: 100%;
}

.harddisk-option {
	flex: 0 0 auto;
	padding: 10px 15px;
	border: none;
	background: #f0f0f0; /* Warna latar belakang tombol */
	border-radius: 10px;
	cursor: pointer;
	transition: 0.3s;
	font-size: 14px;
	min-width: 100px;
	text-align: center;
}

.harddisk-option:hover {
	background: #ddd; /* Warna saat hover */
}

.harddisk-option.active {
	background-color: rgba(0, 123, 255, 0.2); /* Warna latar belakang tombol aktif */
	color: blue; /* Warna teks tombol aktif */
	font-weight: bold; /* Opsional: Menebalkan teks untuk tombol aktif */
	border: 1px solid #0056b3; /* Border yang lebih tegas untuk tombol aktif */
}

.harddisk-option.active:hover {
	background-color: rgba(0, 123, 255, 0.3); /* Warna saat hover pada tombol aktif */
}
@media (max-width: 768px) {
	.harddisk-container {
		display: flex;
		gap: 10px;
		overflow-x: auto;
		white-space: nowrap;
		border-radius: 8px;
		scroll-behavior: smooth;
		max-width: 100%;
	}
}

@media (min-width: 769px) {
	.harddisk-container {
		display: flex;
		flex-wrap: wrap; /* pada layar besar, tombol-tombol akan melipat ke bawah */
		overflow-x: unset; /* hilangkan scroll */
		white-space: normal;
	}
}

@media (min-width: 992px) {
	.share-buttons-fixed {
		position: fixed;
		top: 40%;
		left: 0;
		transform: translateY(-50%);
		background: #fff;
		padding: 10px;
		border-radius: 0 8px 8px 0;
		box-shadow: 0 0 8px rgba(0,0,0,0.1);
	}
}
.product-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
}

#shareBtn {
	background-color: #007bff;
	color: white;
	border: none;
	padding: 8px 14px;
	border-radius: 8px;
	font-size: 14px;
	cursor: pointer;
	transition: background-color 0.3s;
}

#shareBtn:hover {
	background-color: #0056b3;
}

#shareBtn i {
	margin-right: 5px;
}


.share-wrapper {
	position: relative;
}

#shareToggle {
	background-color: #007bff;
	color: white;
	border: none;
	padding: 8px 14px;
	border-radius: 8px;
	font-size: 14px;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 5px;
}

#shareToggle:hover {
	background-color: #0056b3;
}

.share-menu {
	display: none;
	position: absolute;
	top: 110%;
	left: 0;
	background: white;
	border: 1px solid #ccc;
	border-radius: 8px;
	padding: 8px;
	box-shadow: 0 2px 6px rgba(0,0,0,0.1);
	z-index: 10;
	white-space: nowrap;
}

.share-menu a,
.share-menu button.copy-link {
	display: inline-block;
	padding: 6px;
	color: #333;
	text-decoration: none;
	background: transparent;
	border: none;
	font-size: 16px;
	cursor: pointer;
	transition: color 0.3s;
}

.share-menu a:hover,
.share-menu button.copy-link:hover {
	color: #007bff;
}

/* Responsive */
@media (max-width: 768px) {
	.product-header {
		flex-direction: column;
		align-items: flex-start;
	}
}

.cart-sticky {
	position: fixed;
	bottom: 20px;
	left: 20px;
	background-color: #0d6efd;
	color: white;
	padding: 12px 20px;
	border-radius: 30px;
	text-decoration: none;
	font-weight: bold;
	box-shadow: 0 4px 8px rgba(0,0,0,0.3);
	z-index: 9999;
	transition: background 0.3s ease;
}

.cart-sticky:hover {
	background-color: #084298;
}

===== END DETAIL PRODUK =====
