* {
 margin: 0;
 padding: 0;
 box-sizing: border-box;
 scroll-behavior: smooth;

}

:root {
 --primary: #2c3e50;
 --accent: #0000009f;
 --light: #f5f6fa;
 --dark: #2d3436;
 /* --text: #34495e; */
 --text: #d1d5db;
 --cream: #faf3e0;
 --bg-secondary: #500000;
}

html,
body {
 max-width: 100%;
 overflow-x: hidden;
 margin: 0;
 padding: 0;
}

body {
 font-family: 'Poppins', sans-serif;
 line-height: 2;
 color: var(--text);
}

/* Header */
.header {
 position: fixed;
 width: 100%;
 background: rgba(0, 0, 0, 0.83);
 backdrop-filter: blur(5px);
 padding: 1rem 0;
 box-shadow: 0 2px 10px rgba(0, 0, 0, 1);
 z-index: 3;
 color: antiquewhite;
 border-bottom: 2px solid rgb(133, 119, 119);
 animation: glow 1.5s ease-in-out infinite alternate;
}

@keyframes glow {
 from {
  border-bottom: 2px solid maroon;
  box-shadow: 0 0 10px maroon,
   0 0 50px maroon;
 }

 to {
  border-bottom: 2px solid maroon;
  box-shadow: 0 0 10px maroon,
   0 0 50px maroon;
 }
}

.container {
 max-width: 1200px;
 margin: 0 auto;
 padding: 0 2rem;
}

.nav {
 display: flex;
 justify-content: space-between;
 align-items: center;
}

.menu-toggle {
 display: none;
 color: white;
 position: absolute;
 top: 56px;
 right: 30px;
 z-index: 3;
 background: none;
 border: none;
 cursor: pointer;
 padding: 10px;
}

.logo-header {
 width: 100px;
 height: 70px;
 display: inline-block;
 position: relative;
 /* left: -55px; */
}

.logo {
 font-size: 2rem;
 font-weight: 700;
 font-style: italic;
 text-decoration: none;
 position: absolute;
 display: inline-block;
 color: white;
 /* margin-left: 30px; */
 margin-left: -15px;
 margin-top: 5px;
}

.logo span {
 color: maroon;
}

.nav-links {
 display: flex;
 gap: 2rem;
 list-style: none;
}

.section-highlight {
 animation: highlightSection 1.5s ease-out;
}

.nav-links a {
 text-decoration: none;
 color: white;
 font-weight: 500;
 padding: 8px 15px;
 position: relative;
 transition: all 0.3s ease;
}

.nav-links a::before,
.nav-links a::after {
 content: '';
 position: absolute;
 width: 10px;
 height: 10px;
 transition: all 0.3s ease;
 opacity: 0;
}

.nav-links a::before {
 top: -2px;
 left: -2px;
 border-top: 2px solid #ff0000;
 border-left: 2px solid #ff0000;
}

.nav-links a::after {
 bottom: -2px;
 right: -2px;
 border-bottom: 2px solid #ff0000;
 border-right: 2px solid #ff0000;
}

.nav-links a:hover::before,
.nav-links a:hover::after {
 width: 100%;
 height: 100%;
 opacity: 1;
}

/* Login Button */
.login-div button {
 padding: 10px 20px;
 background: #800000;
 border: none;
 border-radius: 6px;
 color: white;
 font-size: 0.95rem;
 cursor: pointer;
 transition: background 0.3s ease;
}

.login-div button:hover {
 background: #660000;
}

.navbar-account #username {
 color: rgba(255, 255, 255, 0.747);
}

/* Hero Section */
.hero {
 height: 100vh;
 background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
 background-image: url("img/hero.jpg");
 background-repeat: no-repeat;
 background-position: center;
 background-size: cover;
 display: flex;
 align-items: center;
 color: white;
 height: 900px;
 position: relative;
}

.hero:after {
 left: 0;
 content: "";
 display: block;
 position: absolute;
 width: 100%;
 height: 30%;
 bottom: 0;
 background: linear-gradient(0deg, rgba(1, 1, 3, 1) 3%, rgba(255, 255, 255, 0) 25%);
}

.hero-content {
 max-width: 60rem;
 padding: 1.4rem 7%;
}

.hero-content h1 {
 font-size: 5em;
 color: white;
 text-shadow: 1px 1px 3px rgba(1, 1, 3, 0.5);
 line-height: 1;
}

.hero-title {
 font-family: 'Playfair Display', serif;
 font-size: 3.5rem;
 margin-bottom: 1.5rem;
}

.hero-title span {
 color: maroon;
}

.hero-subtitle {
 font-size: 1.2rem;
 margin-bottom: 2rem;
}


.audio-controls {
 position: fixed;
 bottom: 20px;
 right: 20px;
 z-index: 2;
 transition: all 0.3s ease;
}

#audioControl {
 background: transparent;
 border: 2px solid #8f3131;
 border-radius: 50%;
 width: 40px;
 height: 40px;
 cursor: pointer;
 display: flex;
 align-items: center;
 justify-content: center;
 font-size: 1.2em;
 z-index: 100;
}

#audioControl:hover {
 background: #1a1818;
}

#audioControl #playIcon,
#audioControl #pauseIcon {
 color: white;
}

#audioControl #pauseIcon {
 display: none;
 margin-top: -8px;
}

#audioControl #playIcon {
 margin-left: 3px;
 margin-top: -5px;
}

.btn {
 display: inline-block;
 padding: 1rem 3rem;
 background-color: maroon;
 color: white;
 border: none;
 border-radius: 0.5rem;
 font-size: 1.4rem;
 box-shadow: 1px 1px 3px rgba(1, 1, 3, 0.5);
}

@keyframes pulse {
 0% {
  transform: scale(1);
  box-shadow: 0 0 0 0 rgba(169, 169, 169, 0.7);
 }

 70% {
  transform: scale(1.05);
  box-shadow: 0 0 0 10px rgba(169, 169, 169, 0);
 }

 100% {
  transform: scale(1);
  box-shadow: 0 0 0 0 rgba(169, 169, 169, 0);
 }
}

.btn:hover {
 animation: pulse 1s infinite;
}

/* Menu Section */
.menu {
 padding: 5rem 0;
 background: black;
}

.section-title {
 text-align: center;
 font-family: 'Playfair Display', serif;
 font-size: 2.5rem;
 color: white;
 padding: 2.5rem 7% 1.4rem;
}

.section-title span {
 color: maroon;
}

.menu-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
 gap: 4rem;
}

.loading-text {
 grid-column: 1 / -1;
 text-align: center;
 font-size: 1.2rem;
 color: var(--text-secondary, #A0A0A0);
 padding: 3rem 0;
}

/* Gaya untuk Stok di Kartu Menu */
.menu-stock {
 font-size: 0.9rem;
 font-weight: 500;
 color: #4caf50;
 /* margin-bottom: 1rem; */
}

.menu-stock.out-of-stock {
 color: #f44336;
}


.menu-labels {
 display: flex;
 flex-wrap: wrap;
 gap: 5px;
 margin-bottom: 0.75rem;
 justify-content: center;
}

.product-label {
 padding: 4px 10px;
 font-size: 0.7rem;
 font-weight: 700;
 color: white;
 border-radius: 5px;
 text-transform: uppercase;
 backdrop-filter: blur(4px);
 box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

/* Predefined label colors */
.label-color-1 {
 background-color: rgba(220, 20, 60, 0.8);
}

/* Merah */
.label-color-2 {
 background-color: rgba(33, 150, 243, 0.8);
}

/* Biru */
.label-color-3 {
 background-color: rgba(76, 175, 80, 0.8);
}

/* Hijau */
.label-color-4 {
 background-color: rgba(255, 152, 0, 0.8);
}

/* Oranye */

/* Gaya untuk Modal Detail Produk */
.modal-overlay {
 position: fixed;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 background-color: rgba(0, 0, 0, 0.8);
 backdrop-filter: blur(10px);
 display: flex;
 justify-content: center;
 align-items: center;
 z-index: 1000;
 padding: 1rem;
 opacity: 0;
 transition: opacity 0.3s ease;
}

.modal-overlay.show {
 opacity: 1;
}

.modal-content {
 background: #1E1E1E;
 border-radius: 1rem;
 width: 90%;
 max-width: 850px;
 max-height: 90vh;
 overflow-y: auto;
 padding: 2.2rem;
 position: relative;
 border: 1px solid #3A3A3A;
 transform: scale(0.95);
 transition: transform 0.3s ease;
 box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.modal-overlay.show .modal-content {
 transform: scale(1);
}

.modal-close-btn {
 position: absolute;
 top: 1rem;
 right: 1rem;
 background: rgba(255, 255, 255, 0.1);
 border: none;
 width: 40px;
 height: 40px;
 border-radius: 50%;
 font-size: 1.5rem;
 color: var(--text-secondary);
 cursor: pointer;
 line-height: 1;
 transition: all 0.2s;
}

.modal-close-btn:hover {
 background: var(--color-maroon-light, #8B0000);
 color: white;
 transform: rotate(90deg);
}

.product-detail-layout {
 display: grid;
 grid-template-columns: 1fr;
 gap: 2rem;
}

.product-image-container img {
 width: 100%;
 height: 100%;
 max-height: 450px;
 object-fit: cover;
 border-radius: 12px;
 border: 2px solid #3A3A3A;
}

.product-info-container {
 display: flex;
 flex-direction: column;
}

.product-info-container h2 {
 font-size: 2.2rem;
 font-weight: 700;
 color: var(--text-light);
 margin-bottom: 0.5rem;
 line-height: 1.2;
}

.detail-price {
 font-size: 1.8rem;
 font-weight: 600;
 color: var(--color-maroon-light, #8B0000);
 margin-bottom: 1rem;
}

.detail-stock {
 margin-bottom: 1.5rem;
 font-weight: 500;
 color: #4caf50;
 background-color: rgba(76, 175, 80, 0.1);
 padding: 0.5rem 1rem;
 border-radius: 20px;
 display: inline-block;
}

.detail-description {
 margin-bottom: 2rem;
 line-height: 1.7;
 color: var(--text-secondary);
 flex-grow: 1;
 /* Membuat deskripsi mengisi ruang kosong */
}

.detail-actions {
 display: flex;
 gap: 1rem;
 align-items: center;
 flex-wrap: wrap;
 /* Agar responsif di layar kecil */
 margin-top: auto;
 /* Mendorong ke bawah */
}

.detail-actions .buy-button {
 flex-grow: 1;
 display: flex;
 justify-content: center;
 align-items: center;
 gap: 0.75rem;
 padding: 0.8rem 1.5rem;
 font-size: 1rem;
 background: linear-gradient(90deg, var(--color-maroon-dark, #6D0000), var(--color-maroon-light, #8B0000));
}

.menu-item {
 background: white;
 border-radius: 15px;
 overflow: hidden;
 box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
 transition: transform 0.3s;
 width: 250px;
 padding: 10px;
 display: flex;
 flex-direction: column;
}

.menu-item:hover {
 transform: translateY(-10px);
}

.menu-img {
 border-radius: 15px;
 width: 100%;
 height: 200px;
 object-fit: cover;
}

.menu-content {
 padding: 1.5rem 1rem;
 display: flex;
 flex-direction: column;
 flex-grow: 1;
 text-align: center;
}

.menu-title {
 font-size: 1.5rem;
 color: black;
 /* margin-bottom: 1rem; */
 min-height: 3em;
 /* Ensure titles have same height */
}

.menu-price {
 background-color: white;
 z-index: 1;
 font-weight: bold;
 color: rgba(4, 147, 4, 0.922);
 font-size: 1.2rem;
 /* margin-bottom: 1rem; */
}

.buy-button {
 padding: 0.5rem 1rem;
 background: maroon;
 color: white;
 border: none;
 border-radius: 8px;
 font-weight: bold;
 cursor: pointer;
 transition: background 0.3s;
 margin-top: auto;
}

.buy-button:hover {
 background: #660000;
}

/* Quantity Selector Styles */
.quantity-selector {
 margin-top: -42px;
 display: none;
 align-items: center;
 justify-content: center;
 gap: 15px;
 /* margin-bottom: 1rem; */
 transition: all 0.3s ease;
}

.quantity-selector.visible {
 display: flex;
}

.quantity-selector.animation {
 margin-bottom: 1rem;
 margin-top: 0px;
}

.quantity-btn {
 border: 1px solid #ddd;
 color: #333;
 width: 30px;
 height: 30px;
 border-radius: 50%;
 font-size: 1.5rem;
 font-weight: bold;
 cursor: pointer;
 transition: background-color 0.2s, transform 0.1s;
 display: flex;
 align-items: center;
 justify-content: center;
 line-height: 1;
}

.quantity-btn:active {
 transform: scale(0.9);
}

.quantity-btn:hover {
 background-color: #e0e0e0;
}

.quantity-display {
 font-size: 1.3rem;
 font-weight: 700;
 color: #333;
 min-width: 20px;
 text-align: center;
}

/* CSS Dasar (Laptop) */
.tentang {
 padding: 5rem 7% 1.4rem;
 background: black;
}

.section-tentang {
 padding: 2.5rem 7% 1.4rem;
 text-align: center;
 font-family: 'Playfair Display', serif;
 font-size: 2.5rem;
 margin-bottom: 1rem;
 color: white;
 margin-top: 0;
}

.tentang h2 span {
 color: maroon;
}

.tentang .row {
 display: flex;
 gap: 2rem;
}

.tentang .row .tentang-image {
 flex: 1 1 45rem;
}

.tentang .row .tentang-image img {
 animation: glow 1.5s ease-in-out infinite alternate;
 /* border: 1px solid purple; */
 border-radius: 10px;
 width: 100%;
}

.tentang .row .content-tentang {
 flex: 1 1 35rem;
 padding: 0 1rem;
}

.tentang .row .content-tentang h3 {
 color: white;
 font-size: 1.7rem;
}

.tentang .row .content-tentang p {
 color: white;
 margin-bottom: 0.8rem;
 font-size: 1.4rem;
 font-weight: 100;
 line-height: 1.6;
 font-family: sentencase;
}

.video-section {
 display: flex;
 padding: 2rem 7%;
 gap: 2rem;
 align-items: flex-start;
}

.content-tentang-video {
 flex: 1;
 margin-left: -75px;
 /* margin-top: 40px; */
}

.content-tentang-video h3 {
 color: white;
 font-size: 1.7rem;
 margin-bottom: 1rem;
}

.content-tentang-video p {
 color: white;
 margin-bottom: 0.8rem;
 font-size: 1.4rem;
 font-weight: 100;
 line-height: 1.6;
 font-family: sentencase;
}

.video-container {
 flex: 1;
 margin-right: -50px;
}

.vidio-wakleman {
 width: 613px;
 height: 408px;
 animation: glow 1.5s ease-in-out infinite alternate;
 /* border: 1px solid magenta; */
 border-radius: 10px;
}

/*Kontak*/
.kontak {
 padding: 5rem 7% 1.4rem;
 background: black;
}

.contactForm {
 border-radius: 15px;
 /* margin-top: 110px; */
 padding: 40px;
 background: #1a1a1a;
 /* Dark background */
 box-shadow: 0 8px 25px rgba(255, 0, 0, 0.15);
 width: 100%;
 border: 1px solid #ff0000;
}

.maps-kontak {
 border-radius: 10px;
 margin-bottom: 320px;
}

.contactForm h3 {
 color: #ffffff;
 font-size: 1.4em;
 margin-bottom: 20px;
 font-weight: 600;
 text-transform: uppercase;
 letter-spacing: 1px;
 border-bottom: 2px solid #ff0000;
 padding-bottom: 10px;
}

.contactForm .inputBox {
 position: relative;
 width: 100%;
 /* margin-bottom: 20px; */
}

.contactForm .inputBox input,
.contactForm .inputBox textarea {
 width: 100%;
 padding: 12px;
 margin-bottom: 15px;
 background: #2a2a2a;
 border: 1px solid #333;
 border-radius: 8px;
 color: #ffffff;
 transition: all 0.3s ease;
}

.contactForm input:focus,
.contactForm textarea:focus {
 border-color: #ff0000;
 box-shadow: 0 0 8px rgba(255, 0, 0, 0.3);
 outline: none;
}

.contactForm .inputBox input[type=submit] {
 font-size: 1em;
 color: #ffffff;
 background: #1a1a1a;
 display: inline-block;
 text-transform: uppercase;
 text-decoration: none;
 letter-spacing: 2px;
 transition: 0.5s;
 max-width: 100px;
 font-weight: 500;
 border: 2px solid #ff0000;
 cursor: pointer;
 padding: 12px 20px;
 border-radius: 8px;
 position: relative;
 overflow: hidden;
}

.section-kontak {
 padding: 2.5rem 7% 1.4rem;
 text-align: center;
 font-family: 'Playfair Display', serif;
 font-size: 2.5rem;
 margin-bottom: 1rem;
 color: white;
 margin-top: 0;
}

.kontak .row {
 display: flex;

}

.kontak .row .tentang-image {
 flex: 1 1 45rem;
}

.kontak .row .tentang-image img {
 width: 100%;
}

.kontak .row .content-tentang {
 flex: 1 1 35rem;
 padding: 0 1rem;
}

.kontak .row .content-tentang h3 {
 color: white;
 font-size: 1.7rem;
 margin-bottom: 1rem;
}

.kontak .row .content-tentang p {
 color: white;
 display: flex;
 margin-bottom: 0.8rem;
 font-size: 1.4rem;
 font-weight: 100;
 line-height: 1.6;
}

.kontak h2 span {
 color: maroon;
}

/* Footer */
.footer {
 background: rgba(58, 1, 1, 0.89);
 color: white;
 padding: 4rem 0;
}

.footer .social {
 display: flex;
 align-items: center;
 justify-content: center;
 margin-bottom: 20px;
}

.fa-brands {
 margin-right: 15px;
 align-items: center;
}

.footer .social a {
 color: white;
 text-decoration: none;
}

.footer-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
 gap: 2rem;
}

.footer-content h3 {
 font-size: 1.5rem;
 margin-bottom: 1.5rem;
}

.footer-content img {
 border-radius: 50%;
}

.footer-content iframe {
 border-radius: 50%;
}

.footer p {
 color: white;
 text-align: center;
}

.footer-links {
 list-style: none;
}

.footer-links li {
 margin-bottom: 1rem;
}

.footer-links a {
 color: white;
 text-decoration: none;
}

/*! Shopping Cart */
#open-cart {
 cursor: pointer;
}

header .cart-container {
 position: fixed;
 top: 0;
 right: -150%;
 width: 350px;
 min-height: 101vh;
 padding: 20px;
 /* background: #FFFFFE; */
 transition: all 500ms ease;
 z-index: 102;

 backdrop-filter: blur(5px);
 background-color: rgba(0, 0, 0, 0.83);
 border-left: 3px solid maroon;
 border-top-left-radius: 15px;
 border-bottom-left-radius: 15px;
 animation: glow 1.5s ease-in-out infinite alternate;
}

header .cart-container.openCart {
 right: 0;
}

.nav-right {
 display: flex;
 align-items: center;
 gap: 10px;
}

.shopCart-Desktop {
 color: white;
 font-size: 1rem;
 cursor: pointer;
 margin-top: 3px;
}

.login-div button {
 background-color: #a00;
 color: #fff;
 border: none;
 padding: 6px 14px;
 border-radius: 5px;
 cursor: pointer;
 font-weight: bold;
 transition: background 0.3s;
}

.login-div button:hover {
 background-color: #c00;
}

.navbar-account {
 position: relative;
 cursor: pointer;
 color: #9baec8;
 font-size: 1.2rem;
}

.navbar-logo {
 top: 1px;
 position: relative;
 left: -20px;
 font-size: 1.5rem;
 color: var(--accent);
 transition: opacity 0.3s ease;
}

.sidebar.collapsed .navbar-logo {
 opacity: 0;
}

/* Dropdown */
.account-dropdown {
 position: absolute;
 top: 120%;
 right: 0;
 background-color: var(--bg-secondary);
 border: 1px solid #2c313c;
 border-radius: 6px;
 /* display: none; */
 flex-direction: column;
 padding: 0.5rem 0;
 min-width: 180px;
 box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
 opacity: 0;
 transition: opacity 0.3s ease;
 visibility: hidden;
 z-index: 999;
}

.account-dropdown button {
 background: none;
 border: none;
 color: var(--text);
 text-align: left;
 padding: 0.6rem 1rem;
 width: 100%;
 font-size: 0.95rem;
 cursor: pointer;
 transition: background 0.2s ease-in-out, color 0.2s ease-in-out;
}

.account-dropdown button:hover {
 background-color: var(--accent);
 color: #fff;
}

.account-dropdown button:disabled {
 color: #f7f7f7d9;
 background-color: #515151;
}

.account-dropdown.hover {
 opacity: 1;
}

/* Dropdown */
.account-dropdown {
 position: absolute;
 top: 120%;
 right: 0;
 background-color: var(--bg-secondary);
 border: 1px solid #2c313c;
 border-radius: 6px;
 /* display: none; */
 flex-direction: column;
 padding: 0.5rem 0;
 min-width: 180px;
 box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
 opacity: 0;
 transition: opacity 0.3s ease;
 visibility: hidden;
 z-index: 999;
}

.account-dropdown button {
 background: none;
 border: none;
 color: var(--text);
 text-align: left;
 padding: 0.6rem 1rem;
 width: 100%;
 font-size: 0.95rem;
 cursor: pointer;
 transition: background 0.2s ease-in-out, color 0.2s ease-in-out;
}

.account-dropdown button:hover {
 background-color: var(--accent);
 color: #fff;
}

.account-dropdown button:disabled {
 color: #f7f7f7d9;
 background-color: #515151;
}

.account-dropdown.hover {
 opacity: 1;
}

header .cart-container .cart-title {
 /* color: #1F1235; */
 text-align: left;
 font-weight: 800;
 text-transform: capitalize;
 color: white;
}

header .cart-container #close-cart {
 position: absolute;
 top: 20px;
 right: 20px;
 cursor: pointer;
 font-size: 30px;
 color: #67568C;
 opacity: 0.6;
 transition: all 300ms ease;
}

header .cart-container #close-cart:hover {
 opacity: 1;
 color: red;
}

header .cart-container .cart-content {
 height: 78vh;
 margin-top: 20px;
 display: flex;
 flex-direction: column;
 gap: 0px;
 overflow-y: auto;
 overflow-x: hidden;
 transition: all 0.5s ease;
}

header .cart-container .cart-content::-webkit-scrollbar {
 width: 8px;
}

header .cart-container .cart-content::-webkit-scrollbar-track {
 background: maroon;
 border-radius: 10px;
}

header .cart-container .cart-content::-webkit-scrollbar-thumb {
 background-color: purple;
 border-radius: 10px;
 transition: all 0.5s ease;
}

header .cart-container .cart-content::-webkit-scrollbar-thumb:hover {
 background-color: white;
}

header .cart-container .cart-content .cart-box {
 transition: right 0.5s ease, top 0.9s ease;
 right: -305px;
 top: 0%;
 position: relative;
 display: flex;
 flex-wrap: nowrap;
 align-items: center;
 gap: 10px;
 padding: 10px;
}

@keyframes moveRight {
 to {
  right: 0px;
 }
}

@keyframes moveRightWithPulse {
 0% {
  right: -305px;
  transform: scale(1);
  /* Ukuran normal */
 }

 50% {
  transform: scale(1.1);
  /* Membesar di tengah animasi */
 }

 100% {
  right: 0px;
  transform: scale(1);
  /* Ukuran kembali normal */
 }
}

header .cart-container .cart-content .cart-box.show {
 right: 0;
}

header .cart-container .cart-content .cart-box.delete {
 top: -100%;
}

header .cart-container .cart-content .cart-box .cart-img {
 width: 80px;
 height: 80px;
 -o-object-fit: cover;
 object-fit: cover;
 border-radius: 10px;
 box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.5);
}

header .cart-container .cart-content .cart-box .detail-box {
 display: grid;
 row-gap: 5px;
}

header .cart-container .cart-content .cart-box .detail-box .cart-product-title {
 font-size: 14px;
 /* color: #1F1235; */
 color: white;
 text-transform: capitalize;
 font-weight: 700;
}

header .cart-container .cart-content .cart-box .detail-box .cart-type {
 margin-top: -8px;
 font-size: 13px;
 font-weight: 700;
 color: rgb(255 177 138 / 61%);
}

header .cart-container .cart-content .cart-box .detail-box .cart-price {
 margin-top: -5px;
 font-size: 13px;
 font-weight: 700;
 color: #20a909;
}

header .cart-container .cart-content .cart-box .detail-box .product-quantity {
 position: relative;
 display: flex;
 align-items: center;
 width: 100%;
 width: fit-content;
 gap: 5px;
 border: 1px solid #67568C;
 border-radius: 10px;
 padding: 8px;
}

header .cart-container .cart-content .cart-box .detail-box .product-quantity button {
 position: relative;
 width: 22px;
 height: 22px;
 border-radius: 3px;
 font-size: 16px;
 font-weight: 700;
 color: #FF6E6C;
 background: rgba(200, 200, 200, 0.3);
 display: flex;
 align-items: center;
 justify-content: center;
 border: none;
 cursor: pointer;
 z-index: 2;
}

header .cart-container .cart-content .cart-box .detail-box .product-quantity .count-quantity {
 width: 50px;
 text-align: center;
 font-size: 16px;
 -webkit-user-select: none;
 -moz-user-select: none;
 user-select: none;
 cursor: default;
}

header .cart-container .cart-content .cart-box .cart-remove {
 position: absolute;
 top: calc(50% - 15px);
 right: 10px;
 height: 30px;
 font-size: 24px;
 line-height: 24px;
 color: #FF6E6C;
 transition: all 300ms ease;
 cursor: pointer;
}

header .cart-container .cart-content .cart-box .cart-remove:hover {
 color: #FF1919;
}

header .cart-container .total-harga {
 position: absolute;
 bottom: 100px;
 width: 92%;
 /* background: #FFFFFE; */
 display: flex;
 justify-content: space-between;
 margin-top: 10px;
 padding-top: 10px;
 border-top: 1px solid #1F1235;
 /* color: #67568C; */
 color: white;
 /* background: rgba(0, 0, 0, 0.83); */
}

header .cart-container .total-harga .total-title {
 font-size: 18px;
 font-weight: 600;
}

header .cart-container .total-harga .total-price {
 font-size: 20px;
 font-weight: 700;
}

header .cart-container .btn-buy {
 z-index: 3;
 position: absolute;
 bottom: 40px;
 width: 92%;
 display: flex;
 align-items: center;
 justify-content: center;
 padding: 12px 20px;
 border: none;
 border-radius: 10px;
 background: maroon;
 /* background: #67568C; */
 color: #FFFFFE;
 font-size: 18px;
 font-weight: 700;
 cursor: pointer;
 transition: all 300ms ease;
}

header .cart-container .btn-buy:hover {
 background: green;
}


.moving-item {
 position: fixed;
 z-index: 9999;
 pointer-events: none;
 width: 60px;
 height: 60px;
 object-fit: cover;
 border-radius: 50%;
 box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
 transform-origin: center;
 transition: all 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
 /* Efek bouncing */
}

@keyframes addToCartPop {
 0% {
  transform: scale(0);
  opacity: 0;
 }

 50% {
  transform: scale(1.2) rotate(10deg);
  opacity: 1;
 }

 100% {
  transform: scale(1) rotate(0);
  opacity: 1;
 }
}

@keyframes cartShake {

 0%,
 100% {
  transform: rotate(0);
 }

 25% {
  transform: rotate(-10deg);
 }

 75% {
  transform: rotate(10deg);
 }
}

.cart-shake {
 animation: cartShake 0.5s ease-in-out;
}

.menu-item .buy-button {
 position: relative;
 overflow: hidden;
}

.buy-button::after {
 content: '';
 position: absolute;
 top: 50%;
 left: 50%;
 width: 100px;
 height: 100px;
 background: rgba(255, 255, 255, 0.2);
 border-radius: 50%;
 transform: translate(-50%, -50%) scale(0);
 opacity: 0;
 transition: 0.5s;
}

.buy-button:active::after {
 transform: translate(-50%, -50%) scale(1);
 opacity: 1;
 transition: 0s;
}

.btn-loading {
 position: relative;
 color: transparent !important;
 /* Sembunyikan teks tombol */
 pointer-events: none;
 /* Nonaktifkan klik saat loading */
}

.btn-loading::after {
 content: '';
 position: absolute;
 top: 50%;
 left: 50%;
 width: 1.2rem;
 /* Ukuran spinner */
 height: 1.2rem;
 /* Ukuran spinner */
 margin-top: -0.6rem;
 margin-left: -0.6rem;
 border: 3px solid rgba(255, 255, 255, 0.3);
 border-top-color: #ffffff;
 border-radius: 50%;
 animation: btn-spin 0.8s linear infinite;
}

@keyframes btn-spin {
 to {
  transform: rotate(360deg);
 }
}

.notification {
 position: fixed;
 top: 20px;
 right: 20px;
 color: white;
 padding: 1rem 1.5rem;
 border-radius: 12px;
 box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
 z-index: 10001;
 font-weight: 600;
 /* Animasi masuk yang baru */
 animation: slideInBounce 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* Warna berdasarkan tipe notifikasi */
.notification.info {
 background: #3b82f6;
 /* Biru */
}

.notification.success {
 background: #10b981;
 /* Hijau */
}

.notification.error {
 background: #ef4444;
 /* Merah */
}

/* Keyframe untuk animasi masuk */
@keyframes slideInBounce {
 0% {
  transform: translateX(120%);
  opacity: 0;
 }

 60% {
  transform: translateX(-5%);
  opacity: 1;
 }

 80% {
  transform: translateX(2%);
 }

 100% {
  transform: translateX(0);
  opacity: 1;
 }
}

/* Keyframe untuk animasi keluar */
@keyframes fadeOutUp {
 from {
  opacity: 1;
  transform: translateY(0);
 }

 to {
  opacity: 0;
  transform: translateY(-20px);
 }
}

#accountDropdown button i {
 margin-left: 5px;
}

/*Laptop*/
@media (max-width: 1366px) {
 html {
  font-size: 75%;
 }

 .logo {
  margin-top: 10px;
 }
}

/* Tablet */
@media (max-width: 920px) {
 html {
  font-size: 14px;
 }

 .nav {
  flex-direction: column;
  gap: 1rem;
 }

 header .cart-container .cart-content .cart-box {
  margin-left: 146px;
 }

 .nav-links {
  flex-direction: column;
  text-align: center;
 }

 .hero-title {
  font-size: 2.5rem;
 }

 .menu-toggle {
  display: block !important;
 }

 .shopCart-Desktop {
  position: absolute;
  right: 60px;
  margin-top: 53px;
 }

 .container {
  padding: 0 1.5rem;
 }

 .nav {
  flex-direction: column;
  align-items: center;
 }

 nav.nav.show-menu ul.nav-links {
  display: block;
 }

 nav.nav ul.nav-links {
  display: none;
 }

 .nav img {
  margin-left: -150px;
 }

 .nav a {
  margin-top: 10px;
 }

 .logo-header {
  margin-bottom: 1rem;
 }

 .nav-links {
  display: none;
  width: 100%;
  text-align: center;
 }

 .nav-links.active {
  display: flex;
  flex-direction: column;
  gap: 1rem;
 }

 .hero-content {
  padding: 1rem 5%;
 }

 .hero-content h1 {
  font-size: 3.5em;
 }

 .menu-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  padding: 0 1rem;
 }

 .section-tentang {
  font-size: 2rem;
  /* Ukuran font lebih kecil */
 }

 .tentang .row .content-tentang h3 {
  font-size: 1.2rem;
  /* Sesuaikan ukuran teks */
 }

 .tentang .row .content-tentang p {
  font-size: 1rem;
  /* Sesuaikan ukuran teks */
 }

 .content-tentang-video {
  flex: 1;
  margin-left: -45px;
 }

 .content-tentang-video h3 {
  font-size: 1.2rem;
 }

 .content-tentang-video p {
  font-size: 1rem;
 }

 .vidio-wakleman {
  width: 110%;
  height: auto;
 }

 .kontak .row {
  flex-direction: column;
  gap: 2rem;
 }

 .kontak .row .tentang-image {
  flex: 1 1 35rem;
 }

 .maps-kontak {
  /* height: auto; */
  width: 100%;
  margin-bottom: unset;
  margin-left: unset;
 }

 .contactForm {
  /* margin-right: -34px; */
  margin-left: -10px;
  width: 106%;
  padding: 25px;
 }
}

@media (max-width: 768px) {
 .nav {
  flex-wrap: wrap;
  align-items: flex-start;
  padding-top: 0.5rem;
 }

 .logo-container {
  order: 1;
  flex-basis: 50%;
  margin-left: 135px;
 }

 .account-dropdown {
  right: unset;
  left: 0;
 }

 .nav-right {
  order: 2;
  flex-basis: 50%;
  /* Ambil setengah lebar kanan */
  justify-content: flex-end;
 }

 .menuToggle-div {
  right: 25px;
  position: absolute;
  bottom: 5px;
 }

 .menu-toggle {
  /* margin-top: 77px; */
  /* position: absolute; */
  /* bottom: -2.5rem; */
  /* right: 1rem; */
  order: 3;
  transition: margin-top 0.3s ease;

  position: unset;
 }

 .nav.show-menu .menu-toggle {
  margin-top: 202px;
 }

 .shopCart-Desktop {
  margin-top: 10px;
  right: 65px;
 }

 .hero-content {
  text-align: center;
 }

 .menu-grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
 }

 .cart-container {
  width: 90%;
 }
}

/* Mobile */
@media (max-width: 480px) {
 html {
  font-size: 12px;
 }

 .shopCart-Desktop {
  position: absolute;
  /* right: 60px; */
  margin-top: 1px;
 }

 .nav-right:has(:not(.navbar-account.hidden)) .shopCart-Desktop {
  margin-top: 7px !important;
 }

 header .cart-container .cart-content {
  height: 65vh;
 }

 .container {
  padding: 0 1rem;
 }

 .logo {
  margin-top: 4px !important;
  margin-left: -8px !important;
 }

 .logo-header {
  width: 80px;
  height: 55px;
 }

 .hero-content h1 {
  font-size: 2.8em;
 }

 .menu-grid {
  grid-template-columns: 1fr;
  gap: 1.5rem;
 }

 .menu-item {
  width: 100%;
  position: relative;
 }

 .contactForm .inputBox input[type=submit] {
  width: 100%;
  max-width: none;
 }

 .tentang {
  padding: 3rem 5% 1rem;
 }

 .section-tentang {
  font-size: 1.8rem;
 }

 .tentang .row {
  flex-direction: column;
  gap: 0.5rem;
 }

 .tentang .row .tentang-image {
  order: 1;
  flex: 1 1 22rem;
  text-align: center;
 }

 .tentang .row .content-tentang {
  order: 2;
  text-align: center;
  flex: 1 1 20rem;
  padding: 0 1rem;
 }

 .video-section {
  flex-direction: column;
  text-align: center;
  gap: 1.5rem;
 }

 .video-container {
  order: 3;
  margin-right: unset;
 }

 .content-tentang-video {
  order: 4;
  margin-left: unset;
 }

 .tentang .row .content-tentang h3,
 .content-tentang-video h3 {
  font-size: 1.5rem;
 }

 .tentang .row .content-tentang p,
 .content-tentang-video p {
  font-size: 1.2rem;
 }

 .vidio-wakleman {
  margin-left: -20px;
  width: 115%;
  height: auto;
 }

 .maps-kontak {
  width: 100%;
 }
}


html {
 --scrollbar-thumb-bg: linear-gradient(145deg, #800000, #797979);
 --scrollbar-thumb-box-shadow: 0 0 10px #800000;
 --scrollbar-hover-bg: linear-gradient(45deg, #ff0040, #ff77ff);
 --scrollbar-hover-box-shadow: 0 0 15px #ff0040;
}

html::-webkit-scrollbar {
 width: 12px;
 border-left: 15px solid #540c0c;
 /* Border kiri scrollbar */
 box-shadow:
  -5px 0 15px #800000,
  /* Shadow di kiri scrollbar */
  0 0 10px #540c0c;
}

html::-webkit-scrollbar-track {
 background: linear-gradient(180deg, #000000, #540c0c);
 border-radius: 10px;
}

html::-webkit-scrollbar-thumb {
 background: var(--scrollbar-thumb-bg);
 border-radius: 10px;
 box-shadow: var(--scrollbar-thumb-box-shadow);
 transition: background 0.3s ease, box-shadow 0.3s ease;
}

html::-webkit-scrollbar-thumb:hover {
 background: linear-gradient(45deg, #ff0040, #000000);
 box-shadow: 0 0 15px #ff0040;
}

.auth-container {
 max-width: 400px;
 margin: 100px auto;
 background-color: #1a1a1a;
 padding: 30px;
 border-radius: 10px;
 box-shadow: 0 5px 15px rgba(255, 0, 0, 0.2);
 color: white;
 border: 1px solid maroon;
}

.auth-container h2 {
 text-align: center;
 margin-bottom: 20px;
 font-size: 2rem;
 color: maroon;
}

.auth-container form {
 display: flex;
 flex-direction: column;
}

.auth-container input[type="text"],
.auth-container input[type="password"] {
 padding: 12px;
 margin-bottom: 15px;
 border-radius: 6px;
 border: 1px solid #333;
 background-color: #2a2a2a;
 color: white;
}

.auth-container button {
 padding: 12px;
 background-color: maroon;
 color: white;
 border: none;
 border-radius: 6px;
 font-weight: bold;
 cursor: pointer;
 transition: background 0.3s;
}

.auth-container button:hover {
 background-color: #660000;
}

.auth-container p {
 margin-top: 15px;
 text-align: center;
 font-size: 0.9rem;
}

.auth-container a {
 color: #ff7777;
 text-decoration: none;
}

.auth-container a:hover {
 text-decoration: underline;
}

.hidden {
 display: none !important;
}