/* tone warna
#4a2433
#643A6B
#957777
#B0A4A4
*/



a {
    text-decoration: none;
    color: #333;
}

a:hover{
    color: #643A6B;
}


.spinner-brown{
    color: #643A6B;
}

.navbar{
    background-color: #4a2433;
    color: white;
}

.navbar-nav .dropdown {
    display: none;
    position: absolute;
    background-color: #fff;
    z-index: 1000;
    padding: 10px;
    min-width: 200px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* Muncul saat hover */
.navbar-nav li:hover > .dropdown {
    display: block;
}

/* Untuk posisi submenu */
.navbar-nav .dropdown li {
    position: relative;
}

.nav-item :hover{
    background-color: #957777;
    color: #4a2433;
}

.bg-footer{
    background-color: #4a2433;
    color: white;
}

.nav-item {
    font-size: 14px;
}

.logo-main{
    display: block;
    margin: auto;
    text-align: center;
}

.navbar-nav .dropdown .dropdown {
    left: 100%;
    top: 0;
}

/* Styling link */
.navbar-nav a {
    padding: 10px 15px;
    display: block;
    text-decoration: none;
}

/* Optional: Warna saat hover */
.navbar-nav a:hover {
    /* background-color: #f0f0f0; */
    color: #000;
}

.carousel {
    position: relative;
}

.carousel-item {
    position: relative;
}


#header-carousel {
  position: relative;
}

.carousel-caption {
    color: #BCAA97;
    text-align: center;
    top: 50%;
    transform: translateY(-50%);
    bottom: initial;
}

.carousel-inner {
    position: relative;
}

.mainmenu__nav ul li ul.lavel-dropdown {
  background: #fff none repeat scroll 0 0;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.176);
  left: 100%;
  opacity: 0;
  position: absolute;
  text-align: left;
  top: 45%;
  transition: all 0.3s ease 0s;
  visibility: hidden;
  width: 195px;
  z-index: 999;
}

.main__menu li.drop ul.dropdown li:hover ul.lavel-dropdown {
  opacity: 1;
  visibility: visible;
    top: 0;
}

.main__menu li.drop ul.dropdown li a span{
    float: right;
}

.menu__style--7 .main__menu ul.dropdown li a {
  padding: 8px 10px;
}

.btn-lazio{
    background-color: #4a2433;
    color: white;
}

.btn-lazio:hover{
    background-color: #957777;

    color: white;
}

.btn-cream{
    background-color: #643A6B;
}

.btn-cream:hover{
    background-color: #B0A4A4;
}

.btn-shop-now{
    background-color: whitesmoke;
    color: #4a2433;
    position: absolute;
    bottom: 10%;
    left: 50%;
    z-index: 1000;
    font-size: 8pt;
    border-radius: 1rem;
    transform: translate(-50%, -50%);
}

.btn-shop-now:hover{
    background-color: #643A6B !important;
    color: #fff;
}

.mega-dropdown {
    position: static !important; /* dropdown bisa full width */
}

.mega-menu {
    width: 40%;
    font-size: 11px;
    left: 14%;
    right: 0;
    top: 100%;
    display: none;
    position: absolute;
    background: #fff;
    border: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);

}

.mega-dropdown:hover .mega-menu,
.mega-menu:hover {
    display: block;
    opacity: 1;
    visibility: visible;
}

    .button-warna {
    float: left;
    background-color: #F0F0F0;
    margin: 0 5px 0 0;
    width: 125px;
    height: 30px;
    position: relative;
    text-align: center;
    margin-bottom: 0.4rem;
}

.button-warna label,
    .button-warna input {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin-bottom: 0;
    padding-top: 2px;
    }

    .button-warna input[type="radio"] {
    opacity: 0.011;
    z-index: 100;
    }

    .button-warna input[type="radio"]:checked + label {
    background: #4a2433;
    border-radius: 4px;
    }

    .button-warna label {
    cursor: pointer;
    z-index: 90;
    line-height: 1.8em;
    }

.button-ukuran {
    float: left;
    background-color: #F0F0F0;
    margin: 0 5px 0 0;
    width: 50px;
    height: 30px;
    position: relative;
    text-align: center;
    margin-bottom: 0.4rem;
}

.button-ukuran label,
    .button-ukuran input {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin-bottom: 0;
    padding-top: 2px;
    }

    .button-ukuran input[type="radio"] {
    opacity: 0.011;
    z-index: 100;
    }

    .button-ukuran input[type="radio"]:checked + label {
    background: #4a2433;
    border-radius: 4px;
    }

    .button-ukuran label {
    cursor: pointer;
    z-index: 90;
    line-height: 1.8em;
    }

.d-grid-card {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
    padding-left: 0;
    width: 80%;
    margin: 0 ;
}

.d-grid-card-all {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
    padding-left: 0;
}

.frame-sub-banner {
    width: 100%;
    overflow: hidden;
}

.frame-sub-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* isi penuh tanpa whitespace */
}

.frame-cart {
    width: 90px;
    height: 90px;
    object-fit: cover;
}


.card {
    overflow: hidden;
    border-radius: 8px;
}

.card-img-top {
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.card-img-top:hover {
    transform: scale(1.2);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.center-cart {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.alamat-card {
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: 0.2s;
    display: block;
    position: relative;
}

.alamat-card input[type="radio"] {
    display: none !important; /* radio disembunyikan */
}

.alamat-card .card-content {
    font-size: 14px;
    color: #333;
}

/* Saat card dipilih */
.alamat-card input[type="radio"]:checked + .card-content {
    border: 2px solid #007bff;
    border-radius: 6px;
    background: #f0f8ff;
    padding: 10px;
}

.voucher-card {
    border: 1px solid #ddd;
    border-radius: 10px;
    transition: 0.2s;
}
.voucher-card:hover {
    border-color: #4a2433;
    box-shadow: 0 0 5px rgba(249, 115, 22, 0.5);
}
.voucher-card.selected {
    border: 2px solid #4a2433;
}

.potongan_voucher,
.potongan_ongkir {
    display: none;
    justify-content: space-between;
}


 /* Full-screen overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 1055;
    transition: opacity 0.3s ease-in-out;
}

.search-overlay.show {
    display: flex;
    opacity: 1;
}

/* Close button */
.close-search {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2rem;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s;
}

.close-search:hover {
    transform: rotate(90deg);
}

/* Title */
.search-title {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: bold;
}

.card-img-top{
    border-radius: 1rem;
}

/* Search Form */
.search-form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Input Container */
.input-container {
    display: flex;
    max-width: 600px; /* Maksimal lebar */
    position: relative;
    background: white;
    border-radius: 3rem;
    overflow: hidden;
}

/* Search Input */
.search-input {
    width: 70vw;
    font-size: 24pt;
    margin: 10px;
    border: none;
    outline: none;
    border-radius: 1rem;

    /* Hapus box-shadow default tanpa membuatnya terlihat */
    box-shadow: none;
    background: white;
}

/* Box-shadow hanya muncul saat input dalam keadaan fokus */
.search-input:focus {
    outline: none;
    box-shadow: none;
}

/* Search Button */
.search-button {
    background: #643A6B;
    color: white;
    border: none;
    padding: 20px 26px; /* Sesuaikan padding */
    font-size: 1.8rem; /* Perbesar ikon */
    cursor: pointer;
    border-radius: 0 50px 50px 0;
}

.search-button:hover {
    background: #643A6B;
}

.search-hint {
    color: white;
    margin-top: 15px;
    font-size: 1rem;
}

.logo-strip {
  background-color: #4a2433;
  display: flex;
  align-items: center;
  gap: 100px; /* jarak antar logo */
  height: 1.5rem;
  overflow: hidden;
}

.logo-strip img {
  width: 12px;
  height: auto;
}

.embed-responsive{
    width: 1100px;
    height: 300px;
}

.product-thumb-vertical {
    width: 80px;
}

.product__small__images {
    list-style: none;
    padding: 0;
    margin: 0;
}

.thumb-item img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border: 1px solid #ddd;
    cursor: pointer;
    border-radius: 4px;
}

.thumb-item img:hover {
    border-color: #000;
}

.main-product-image {
    max-height: 550px;
    object-fit: contain;
}

.wishlist-btn {
    border-radius: 50%;
    background-color: white;
    background: white;
    color: gray;
    border: 1px solid #ccc;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.wishlist-btn i {
    font-size: 18px;
    transition: color 0.3s;
}

.wishlist-btn:focus {
    outline: none;
    box-shadow: none;
}

.tagline-story{
    width: 50%;
}

.fade-section {
    overflow: hidden;
}

/* posisi awal (belum terlihat) */
.fade-left, .fade-right {
    opacity: 0;
    transition: all 0.8s ease-out;
}

.fade-left {
    transform: translateX(-80px);
}

.fade-right {
    transform: translateX(80px);
}

/* posisi akhir (setelah terlihat) */
.fade-left.show, .fade-right.show {
    opacity: 1;
    transform: translateX(0);
}

.mySwiper {
    width: 100%;
    padding: 20px 0;
}

.mySwiper .swiper-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.story-wrapper {
    position: relative; /* WAJIB */
    width: 100%;
    margin-bottom: 80px;
}

.story-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
}

/* Card */
.story-card {
    position: absolute;
    left: 50%;
    bottom: -40px; /* bikin nempel & sedikit keluar */
    transform: translateX(-50%);

    background: #fff;
    padding: 20px 28px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);

    max-width: 900px;
    width: calc(100% - 32px); /* aman di HP */
    text-align: center;
    z-index: 2;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    background-color: #4b2a35; /* warna pill */
    border-radius: 30px;
    padding: 6px 20px 6px 6px;
    width: fit-content;
}

.feature-icon {
    width: 42px;
    height: 42px;
    background-color: #4b2a35;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
}

.feature-icon img {
    width: 24px;
    height: 24px;
}

.feature-text {
    color: #fff;
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 14px;
}



@media only screen and (max-width: 600px) {
    .d-grid-card-all {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
        padding-left: 0;
    }

    .tagline-story{
        width: 100%;
    }

    .embed-responsive{
        width: 365px;
        height: 200px;
    }

    /* .search-input {
        width: 48vw;
        font-size: 18pt;
        margin: 10px;
        border: none;
        outline: none;
        border-radius: 1rem;
        box-shadow: none;
        background: white;
    }

    .input-container {
        display: flex;
        width: 60vw;
        position: relative;
        background: white;
        border-radius: 3rem;
        overflow: hidden;
    } */
}
