:root {
    --pink: #e84393;
    --red: #e84343;
}

/* 🎨 Styling khusus swal */
.swal-custom-popup {
    border-color: var(--pink);
    box-shadow: 0 0 0 .2rem rgba(232, 67, 147, .25);
    font-size: 1.4rem;
    /* dasar lebih besar */
    border-radius: 1.2rem;
    padding: 3rem 2rem;
}

.swal-custom-title {
    font-size: 3rem !important;
    font-weight: bold;
    color: var(--pink);
    /* sesuai tema */
    margin-bottom: 1rem;
}

.swal-custom-text {
    font-size: 1.8rem;
    color: #555;
}

.swal-custom-btn {
    min-width: 12rem;
    font-size: 1.6rem !important;
    padding: 1rem 2.5rem;
    border-radius: 5rem;
    background-color: var(--pink) !important;
    color: #fff !important;
    transition: 0.3s;
}

.swal-custom-btn-cancel {
    min-width: 12rem;
    font-size: 1.6rem !important;
    padding: 1rem 2.5rem;
    border-radius: 5rem;
    background-color: var(--red) !important;
    color: #fff !important;
}

.swal-custom-btn:hover,
.swal-custom-btn-cancel:hover {
    background-color: #333 !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    outline: none;
    border: none;
    text-decoration: none;
    transition: .2s linear;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
    scroll-padding-top: 6rem;
    overflow-x: auto;
}

body {
    background-color: #ffffff;
}

section {
    padding: 2rem 9%;
}

.heading {
    text-align: center;
    font-size: 4rem;
    color: #333;
    padding: 1rem;
    margin: 2rem 0;
    background: rgba(225, 51, 153, 0.05);
}

.heading span {
    color: var(--pink);
}

.btn {
    display: inline-block;
    margin-top: 1rem;
    border-radius: 5rem;
    background: #333;
    color: #fff;
    padding: 0.9rem 3.5rem;
    cursor: pointer;
    font-size: 1.7rem;
}

.btn:hover {
    background: var(--pink);
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    padding: 2rem 9%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    box-shadow: 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

header .logo {
    font-size: 3rem;
    color: #333;
    font-weight: bolder;
}

header .logo span {
    color: var(--pink);
}

header .navbar {
    display: flex;
    gap: 1.5rem;
}

header .navbar a {
    font-size: 2rem;
    color: #666;
    padding: 0 1.5rem;
    transition: color .2s linear;
}

header .navbar a:hover {
    color: var(--pink);
}

header .icons {
    display: flex;
    align-items: center;
}

header .icons a {
    font-size: 2.5rem;
    color: #333;
    margin-left: 1.5rem;
    transition: color .2s linear;
}

header .icons a:hover {
    color: var(--pink);
}

header #toggler {
    display: none;
}

header .fa-bars {
    font-size: 3rem;
    color: #333;
    border-radius: .5rem;
    padding: .5rem 1.5rem;
    cursor: pointer;
    border: .1rem solid rgba(0, 0, 0, 0.3);
    display: none;
    transition: background .2s linear;
}

.home {
    display: flex;
    align-items: center;
    min-height: 100vh;
    background: url(../admin/photo/Background.png) no-repeat;
    background-size: cover;
    background-position: center;
}

.home .content {
    max-width: 50rem;
}

.home .content h3 {
    font-size: 6rem;
    color: #333;
}

.home .content span {
    font-size: 3.5rem;
    color: var(--pink);
    padding: 1rem 0;
    line-height: 1.5;
}

.home .content p {
    font-size: 1.5rem;
    color: #999;
    padding: 1rem 0;
    line-height: 1.5;
}

.about .row {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 2rem 0;
    padding-bottom: 3rem;
}

.about .row .video-container {
    flex: 1 1 40rem;
    position: relative;
}

.about .row .video-container video {
    width: 100%;
    border: 1.5rem solid #fff;
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    height: 100%;
    object-fit: cover;
}

.about .row .video-container h3 {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3rem;
    background: #fff;
    width: 100%;
    padding: 1rem 2rem;
    text-align: center;
    mix-blend-mode: screen;
}

.about .row .content {
    flex: 1 1 40rem;
}

.about .row .content h3 {
    font-size: 3rem;
    color: #333;
}

.about .row .content p {
    font-size: 1.5rem;
    color: #999;
    padding: 0.5rem 0;
    padding-top: 1rem;
    line-height: 1.5;
}

.icons-container {
    background: #eee;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.icons-container .icons {
    background: #fff;
    border: 1rem solid rgba(0, 0, 0, 0.1);
    padding: 2rem;
    display: flex;
    align-items: center;
    flex: 1 1 25rem;
}

.icons-container .icons img {
    height: 5rem;
    margin-right: 2rem;
}

.icons-container .icons h3 {
    color: #333;
    padding-bottom: 0.5rem;
    font-size: 1.5rem;
}

.icons-container .icons span {
    color: #555;
    font-size: 1.3rem;
}

/* 🔍 Form Search */
.products #searchForm {
    margin: 2rem auto;
    max-width: 100%;
    display: flex;
    align-items: center;
    /* ✅ bikin sejajar vertikal */
    gap: 1rem;
}

.products #searchForm h4 {
    font-size: 2rem;
    color: #333;
    margin: 0;
    white-space: nowrap;
    /* biar "Cari" nggak turun */
}

.products #searchForm .form-control {
    flex: 1;
    height: 4.5rem;
    /* samakan tinggi input */
    padding: 0 1.5rem;
    font-size: 1.5rem;
    border: 0.1rem solid rgba(0, 0, 0, 0.1);
    border-radius: 5rem;
    transition: border-color .2s;
}

.products #searchForm .form-control:focus {
    border-color: var(--pink);
    box-shadow: 0 0 0 0.2rem rgba(232, 67, 147, .25);
}

/* ⚠️ Alert Not Found */
.products .alert {
    font-size: 1.8rem;
    border-radius: 1rem;
    padding: 1.5rem 2rem;
    margin: 2rem auto;
    max-width: 100%;
    text-align: center;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .1);
}

.products .box-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.products .box-container .box {
    flex: 1 1 40rem;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
    border-radius: 1.5rem;
    border: 0.1rem solid rgba(0, 0, 0, 0.1);
    position: relative;
}

.products .box-container .box .discount {
    position: absolute;
    touch-action: 1rem;
    left: 1rem;
    padding: 2rem 1rem;
    font-size: 1.5rem;
    color: var(--pink);
    background-color: rgba(225, 51, 153, 0.05);
    z-index: 1;
    border-radius: 0.5rem;
}

.products .box-container .box .fa-eye {
    position: absolute;
    touch-action: 1rem;
    right: 1rem;
    padding: 2rem 1rem;
    font-size: 2rem;
    color: var(--pink);
    background-color: rgba(225, 51, 153, 0.05);
    z-index: 1;
    border-radius: 0.5rem;
}

.products .box-container .box .image {
    position: relative;
    text-align: center;
    padding-top: 2rem;
    overflow: hidden;
}

.products .box-container .box .image img {
    height: 25rem;
}

.products .box-container .box .image h3 {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    background: rgba(255, 155, 213, 0.5);
    color: #000000;
    width: 100%;
    padding: 1rem 2rem;
    text-align: center;
    mix-blend-mode: normal;
}

.products .box-container .box:hover .image img {
    transform: scale(1.1);
    will-change: transform;
    transition: transform 0.5s cubic-bezier(.59,.04,.18,.99);
}

.products .box-container .box .image .icons {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    transition: opacity .5s;
    opacity: 0;
    pointer-events: none;
}

.products .box-container .box:hover .image .icons {
    opacity: 1;
    pointer-events: auto;
}

.products .box-container .box .image .icons a {
    height: 5rem;
    line-height: 5rem;
    font-size: 2rem;
    width: 50%;
    background: var(--pink);
    color: #fff;
}

/* Dropdown menu gaya tombol icon */
.products .box-container .box .image .icons .dropdown-menu {
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    width: 25%;
    background: var(--pink);
    text-align: center;
}

/* Item di dalam dropdown */
.products .box-container .box .image .icons .dropdown-menu .dropdown-item {
    height: 3.5rem;
    line-height: 5rem;
    font-size: 1.1rem;
    color: #fff;
    display: flex;
    align-items: center;
    border-bottom: 0.1rem solid rgba(255, 255, 255, 0.3);
    width: 100%;
}

/* Hover efek */
.products .box-container .box .image .icons .dropdown-menu .dropdown-item:hover {
    background: #333;
    color: #fff;
    width: 100%;
}

/* Ikon dalam item */
.products .box-container .box .image .icons .dropdown-menu .dropdown-item i {
    margin-right: 0.5rem;
    font-size: 1.8rem;
    text-align: center;
}

.products .box-container .box .image .icons .cart-btn {
    border-left: 0.1rem solid #fff7;
    border-right: 0.1rem solid #fff7;
    width: 100%;
}

.products .box-container .box .image .icons a:hover {
    background: #333;
}

.products .box-container .box .content {
    padding: 2rem;
    text-align: center;
}

.products .box-container .box .content h3 {
    font-size: 2.5rem;
    color: #333;
}

.products .box-container .box .content .price {
    font-size: 2.5rem;
    color: var(--pink);
    font-weight: bolder;
    padding-top: 1rem;
}

.products .box-container .box .content span {
    font-size: 1.5rem;
    color: #999;
    font-weight: lighter;
    text-decoration: line-through;
}

.products .box-container .alert {
    font-size: 2rem;
    border-radius: 1rem;
    padding: 1.5rem 2rem;
    margin: 2rem auto;
    width: 100%;
    background-color: #ffd6ea52;
    color: #333;
    text-align: center;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .1);
}

.modal-dialog {
    padding: 2rem;
    max-width: 110rem;
}

.modal-content {
    border-radius: 18px;
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    overflow: hidden;
    animation: fadeInScale .35s ease;
    padding: 2rem;
    background: #fff;
}

.modal-content .modal-header {
    padding-bottom: 1rem;
}

.modal-content .modal-header h5 {
    font-size: 2rem;
    font-weight: 700;
    color: #444;
}

.modal-content .modal-header button {
    font-size: 2rem;
}

.modal-content .modal-body {
    padding: 1rem 0;
}

.modal-content .modal-body img {
    width: 100%;
    max-width: 40rem;
    height: auto;
    margin: 1rem auto;
    display: block;
    border-radius: 12px;
    background: transparent;
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.modal-content .modal-body label {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
}

.modal-content .modal-body input {
    font-size: 1.5rem;
    padding: .7rem 1rem;
    border-radius: 8px;
}

.modal-content .modal-body input:focus {
    border-color: var(--pink);
    box-shadow: 0 0 0 .2rem rgba(232, 67, 147, .25);
}

/* Footer */
.modal-content .modal-footer {
    padding-top: 0.2rem;
}
.modal-content .modal-footer .btn {
    border-radius: 15px;
    font-size: 1.4rem;
    font-weight: 600;
    transition: all .3s ease;
}

/* Primary button */
.modal-content .modal-footer .btn-primary {
    border-color: rgb(66, 120, 255);
    background: rgb(66, 120, 255);
}
.modal-content .modal-footer .btn-primary:hover {
    border-color: rgb(0, 72, 255);
    background: rgb(0, 72, 255);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(66,120,255,0.4);
}

@keyframes fadeInScale {
    from {opacity: 0; transform: scale(0.9);}
    to {opacity: 1; transform: scale(1);}
}

.review .box-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.review .box-container .alert {
    font-size: 2rem;
    border-radius: 1rem;
    padding: 1.5rem 2rem;
    margin: 2rem auto;
    width: 100%;
    background-color: #ffd6ea52;
    color: #333;
    text-align: center;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .1);
}

.review .box-container .box {
    flex: 1 1 30rem;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
    border-radius: 0, 5rem;
    padding: 3rem 2rem;
    position: relative;
    border: 1rem solid rgba(0, 0, 0, 0.1);
}

.review .box-container .box .fa-quote-right {
    position: absolute;
    bottom: 3rem;
    right: 3rem;
    font-size: 2.5rem;
    color: #eee;
}

.review .box-container .box .stars i {
    color: var(--pink);
    font-size: 2rem;

}

.review .box-container .box p {
    color: #999;
    font-size: 1.5rem;
    line-height: 1.5;
    padding-top: 2rem;
}

.review .box-container .box .user {
    display: flex;
    align-items: center;
    padding-top: 2rem;

}

.review .box-container .box .user img {
    height: 6rem;
    width: 6rem;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
}

.review .box-container .box .user h3 {
    font-size: 2rem;
    color: #333;
}

.review .box-container .box .user span {
    font-size: 1.5rem;
    color: #999;
}

.contact .row {
    display: flex;
    flex-wrap: wrap-reverse;
    gap: 1.5rem;
}

.contact .row form {
    flex: 1 1 40rem;
    padding: 2rem 2.5rem;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
    border: 1rem solid rgba(0, 0, 0, 0.1);
    background: #fff;
    border-radius: 0.5rem;
}

.contact .row .image {
    flex: 1 1 40rem;
}

.contact .row .image img {
    width: 100%;
}

.contact .row form .box {
    padding: 1rem;
    font-size: 1.7rem;
    color: #333;
    text-transform: none;
    border: 0.1rem solid rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
    margin: 0.7rem 0;
    width: 100%;
}

.contact .row form .box:focus {
    border-color: var(--pink);
}

.contact .row form textarea {
    height: 15rem;
    resize: none;
}

.footer .box-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;

}

.footer .box-container .box {
    flex: 1 1 25rem;
}

.footer .box-container .box h3 {
    color: #333;
    font-size: 2.5rem;
    padding: 1rem 0;
}

.footer .box-container .box a {
    display: block;
    color: #666;
    font-size: 1.5rem;
    padding: 1rem 0;
}

.footer .box-container .box a:hover {
    color: var(--pink);
    text-decoration: underline;
}

.footer .box-container .box img {
    margin-top: 1rem;
    width: 20rem;
    height: 5rem;
}

.footer .credit {
    text-align: center;
    padding: 1.5rem;
    margin-top: 1.5rem;
    padding-top: 2.5rem;
    font-size: 2rem;
    color: #333;
    border-top: 0.1rem solid rgba(0, 0, 0, 0.1);
}

.footer .credit span {
    color: var(--pink);
}

@media (max-width: 911px) {
    html {
        font-size: 55%;
    }

    header {
        padding: 2rem;
    }

    section {
        padding: 2rem;
    }

    .home {
        background-position: left;
    }

    .modal-content {
        padding: 2rem;
    }
    .modal-content .modal-header h5 {
        font-size: 1.8rem;
    }
    .modal-content .modal-body img {
        max-width: 40rem;
    }
    .modal-content .modal-body label,
    .modal-content .modal-body input {
        font-size: 1.3rem;
    }
    .modal-content .modal-footer .btn {
        font-size: 1.3rem;
        padding: .7rem 1.6rem;
    }
}

@media (max-width: 768px) {
    header .fa-bars {
        display: block;
    }

    header .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #eee;
        border-top: .1rem solid rgba(0, 0, 0, 0.1);
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path .3s ease;
    }

    header #toggler:checked~.navbar {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
    }

    header .navbar a {
        margin: 1.5rem 0;
        padding: 1.5rem;
        background: #fff;
        border: 1rem solid rgba(0, 0, 0, 0.1);
        display: block;
        width: 100%;
    }

    .home .content h3 {
        font-size: 5rem;
    }

    .home .content span {
        font-size: 2.5rem;
    }

    .icons-container .icons h3 {
        font-size: 2rem;
    }

    .icons-container .icons span {
        font-size: 1.7rem;
    }

    .modal-dialog {
        margin: 1rem;
    }
    .modal-content {
        padding: 2rem;
    }
    .modal-content .modal-body {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .modal-content .modal-body img {
        max-width: 25rem;
        margin-bottom: 1.5rem;
    }
    .modal-content .modal-body label,
    .modal-content .modal-body input {
        font-size: 1.2rem;
    }
}

@media (max-width: 450px) {
    html {
        font-size: 50%;
    }

    .heading {
        font-size: 3rem;
    }

    .modal-content {
        padding: 2rem;
        border-radius: 12px;
    }
    .modal-content .modal-header h5 {
        font-size: 1.6rem;
    }
    .modal-content .modal-body img {
        max-width: 20rem;
    }
    .modal-content .modal-body label,
    .modal-content .modal-body input {
        font-size: 1.1rem;
    }
    .modal-content .modal-footer .btn {
        font-size: 1.2rem;
        padding: .6rem 1.2rem;
    }
}