:root {
	--primary: #b6895b;
	--primary-dark: #8c6946;
	--bg: #010101;
    --dark-bg: #111111;
	--card-bg: rgba(255, 255, 255, 0.03);
	--card-hover-bg: rgba(255, 255, 255, 0.08);
	--text-muted: #888888;
	--white: #ffffff;
	--transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
	--shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
	--shadow-hover: 0 20px 50px rgba(0, 0, 0, 0.6);
    --glass-border: rgba(182, 137, 91, 0.15);
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	outline: none;
	border: none;
	text-decoration: none;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: "Montserrat", sans-serif;
	background-color: var(--bg);
	color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, .playfair {
    font-family: "Playfair Display", serif;
}

/* --- Skeleton Loading --- */
.skeleton {
    background: #1a1a1a;
    background: linear-gradient(110deg, #1a1a1a 8%, #252525 18%, #1a1a1a 33%);
    border-radius: 8px;
    background-size: 200% 100%;
    animation: 1.5s shine linear infinite;
}

@keyframes shine {
    to { background-position-x: -200%; }
}


/* --- Touch & Performance Utils --- */
@media (hover: hover) {
    .btn:hover { transform: translateY(-2px); }
}

.touch-target {
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.img-container {
    background-color: #0a0a0a;
    overflow: hidden;
}

.img-container img {
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.img-container:hover img {
    transform: scale(1.05);
}

/* Back Icon Button (Checkout Pages) */
.btn-back-icon {
    position: absolute;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(182,137,91,0.1);
    border: 1px solid var(--primary);
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
    backdrop-filter: blur(5px);
}
.btn-back-icon:hover {
    background: var(--primary);
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(182,137,91,0.3);
}

/* HERO SECTION */
.hero .content .cta {
	margin-top: 1rem;
	display: inline-block;
	padding: 1rem 3rem;
	font-size: 1.4rem;
	color: #fff;
	background-color: var(--primary);
	border-radius: 0.5rem;
	box-shadow: 1px 1px 3px rgba(1, 1, 3, 0.5);
	transition: 0.3s; /* Tambahin transisi biar halus pas di-hover */
}

.hero .content .cta:hover {
	background-color: #8c6946; /* Efek gelap dikit pas di-hover */
}

/* NAVBAR & HEADER */
.navbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1.4rem 7%;
	background-color: #ffffff;
  	backdrop-filter: blur(10px);
	z-index: 9999;
	border-bottom: 1px solid #e2e8f0;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
}

.navbar .navbar-logo {
	font-size: 2rem;
	font-weight: 700;
	color: #1e293b;
}

.navbar .navbar-logo img {
	border-radius: 50%;
	object-fit: cover;
	aspect-ratio: 1/1;
}

.navbar .navbar-logo span {
	color: var(--primary);
	display: block;
}

.navbar .navbar-nav {
	display: flex;
	align-items: center;
	white-space: nowrap;
}

.navbar .navbar-nav a {
	color: #1e293b;
	display: inline-block;
	font-size: 1.3rem;
	margin: 0 1.2rem;
	white-space: nowrap;
    transition: 0.3s;
}

.navbar .navbar-nav a:hover {
	color: var(--primary);
}

.navbar .navbar-nav a::after {
	content: "";
	display: block;
	padding-bottom: 0.5rem;
	border-bottom: 0.1rem solid var(--primary);
	transform: scaleX(0);
	transition: 0.2s linear;
}

.navbar .navbar-nav a:hover::after {
	transform: scaleX(0.5);
}

.navbar .navbar-extra {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.navbar .navbar-extra a {
	color: #1e293b;
	margin: 0;
	position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.navbar .navbar-extra a:hover {
	color: var(--primary);
}

.auth-links {
    display: flex;
    align-items: center;
    white-space: nowrap;
    gap: 0.8rem;
}

#hamburger-menu {
	display: none;
}

.mobile-only {
    display: none !important;
}

@media (max-width: 768px) {
    .mobile-only {
        display: block !important;
    }
    .auth-links {
        display: none !important;
    }
    .navbar .navbar-extra {
        gap: 0.4rem;
    }
    .navbar .navbar-extra a {
        margin: 0;
        padding: 0.6rem;
    }
    #hamburger-menu {
        margin-left: 0.2rem;
    }
    .navbar .navbar-logo {
        font-size: 1.6rem;
    }
    .navbar {
        padding: 1rem 5%;
    }
}




.quantity-badge {
	display: inline-block;
	padding: 0.1rem 0.4rem; /* Smaller padding */
	background-color: #ff4d4d;
	color: white;
	border-radius: 50px;
	font-size: 0.9rem; /* Smaller font */
	position: absolute;
	top: -4px; /* Adjusted position */
	right: -8px;
	font-weight: bold;
	box-shadow: 0 2px 4px rgba(0,0,0,0.3);
    pointer-events: none; /* Make sure it doesn't block clicks */
}


/* ========================
   TOAST NOTIFICATION
======================== */
.toast-notification {
    position: fixed;
    bottom: -100px;
    right: 20px;
    background-color: rgba(30, 30, 30, 0.95);
    color: #fff;
    padding: 1.5rem 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    font-size: 1.4rem;
    z-index: 10000;
    transition: bottom 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-left: 4px solid #25D366;
}

.toast-notification.show {
    bottom: 30px;
}

/* ========================
   SEARCH FORM
======================== */
.navbar .search-form {
	position: absolute;
	top: 100%;
	right: 7%;
	background-color: #fff;
	width: 50rem;
	height: 5rem;
	display: flex;
	align-items: center;
	transform: scaleY(0);
	transform-origin: top;
	transition: 0.3s;
}

.navbar .search-form.active {
	transform: scaleY(1);
}

.navbar .search-form input {
	height: 100%;
	width: 100%;
	font-size: 1.6rem;
	color: var(--bg);
	padding: 1rem;
}

.navbar .search-form button {
	cursor: pointer;
	background: none;
	padding: 1rem;
	color: var(--bg);
}

.navbar .search-form button:hover {
	color: var(--primary);
}

.navbar .search-form #clear-button {
	cursor: pointer;
	color: var(--bg);
	padding: 1rem;
	display: flex;
	align-items: center;
}

.navbar .search-form #clear-button:hover {
	color: var(--primary);
}

/* ========================
   SHOPPING CART
======================== */
.shopping-cart {
	position: fixed;
	top: 0;
	right: -100%;
	width: 40rem;
	height: 100vh;
	background-color: #fff;
	padding: 2rem;
	padding-top: 10rem;
	color: var(--bg);
	transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
	overflow-y: auto;
	z-index: 9999;
}

.shopping-cart.active {
	right: 0;
}

.shopping-cart .close-icon {
	position: absolute;
	top: 10rem;
	right: 2rem;
	cursor: pointer;
	width: 3rem;
	height: 3rem;
	color: var(--bg);
	transition: 0.2s;
}

.shopping-cart .close-icon:hover {
	color: var(--primary);
	transform: scale(1.1);
}

.shopping-cart .cart-title {
	font-size: 2.2rem;
	color: var(--primary);
	text-align: center;
	margin-bottom: 2rem;
	padding-bottom: 1rem;
	border-bottom: 2px dashed #ccc;
}

.shopping-cart .cart-item {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	margin-bottom: 1.5rem;
	padding-bottom: 1.5rem;
	border-bottom: 1px solid #eee;
}

.shopping-cart .cart-item img {
	width: 7rem;
	height: 7rem;
	border-radius: 50%;
	object-fit: cover;
}

.shopping-cart .item-detail h3 {
	font-size: 1.6rem;
	margin-bottom: 0.5rem;
}

.shopping-cart .item-detail .item-price {
	font-size: 1.4rem;
	color: var(--primary);
	font-weight: 600;
}

.shopping-cart .remove-item {
	margin-left: auto;
	color: #ff0000;
	cursor: pointer;
}

.shopping-cart .cart-total {
	font-size: 2rem;
	text-align: right;
	margin-top: 2rem;
	margin-bottom: 2rem;
}

.shopping-cart .checkout-btn {
	display: block;
	text-align: center;
	background-color: var(--primary);
	color: #fff;
	font-size: 1.8rem;
	padding: 1rem;
	border-radius: 0.5rem;
	font-weight: bold;
	transition: 0.3s;
}

.shopping-cart .checkout-btn:hover {
	background-color: #8c6946;
}

/* Tombol Plus-Min di Keranjang */
.btn-qty {
	background-color: var(--primary);
	color: #fff;
	border-radius: 3px;
	width: 2rem;
	height: 2rem;
	font-weight: bold;
	cursor: pointer;
	margin: 0 0.5rem;
}
.btn-qty:hover {
	background-color: #8c6946;
}
.qty-angka {
	font-size: 1.4rem;
	font-weight: bold;
	color: var(--bg);
}

/* ========================
   GLOBAL BUTTON STYLE
======================== */
.btn {
	display: inline-block;
	padding: 1rem 3rem;
	font-size: 1.4rem;
	color: #fff;
	background-color: var(--primary);
	border-radius: 0.5rem;
	box-shadow: 1px 1px 3px rgba(1, 1, 3, 0.5);
	cursor: pointer;
	transition: 0.3s;
}

.btn:hover {
	background-color: #8c6946;
}

.btn.disabled {
	background-color: #666 !important;
	cursor: not-allowed;
	pointer-events: none;
	box-shadow: none;
}

/* ========================
   HERO SECTION
======================== */
.hero {
	min-height: 100vh;
	display: flex;
	align-items: center;
	background-image: url("../img/header-bg.jpg");
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	position: relative;
}

.hero::after {
	content: "";
	display: block;
	position: absolute;
	width: 100%;
	height: 10%;
	bottom: 0;
	background: linear-gradient(
		0deg,
		rgba(1, 1, 3, 1) 8%,
		rgba(255, 255, 255, 0) 50%
	);
}

.hero .content {
	padding: 1.4rem 7%;
	max-width: 60rem;
}

.hero .content h1 {
	font-size: 4.5em;
	color: #fff;
	text-shadow: 1px 1px 3px rgba(1, 1, 3, 0.5);
	line-height: 1.2;
}

.hero .content h1 span {
	color: var(--primary);
}

.hero .content p {
	font-size: 1.6rem;
	margin-top: 1rem;
	line-height: 1.4;
	font-weight: 200;
	text-shadow: 1px 1px 3px rgba(1, 1, 3, 0.5);
	mix-blend-mode: difference;
}

/* ========================
   ABOUT SECTION
======================== */
.about,
.paket,
.menu,
.lokasi {
	padding: 10rem 7% 1.4rem;
}

.about h2,
.paket h2,
.menu h2,
.lokasi h2 {
	text-align: center;
	font-size: 2.6rem;
	margin-bottom: 3rem;
}

.about h2 span,
.paket h2 span,
.menu h2 span,
.lokasi h2 span {
	color: var(--primary);
}


.about .row {
	display: flex;
}

.about .row .about-img {
	flex: 1 1 45rem;
}

.about .row .about-img img {
	width: 100%;
}

.about .row .content {
	flex: 1 1 35rem;
	padding: 0 1rem;
}

.about .row .content h3 {
	font-size: 1.8rem;
	margin-bottom: 1rem;
}

.about .row .content p {
	margin-bottom: 0.8rem;
	font-size: 1.5rem;
	font-weight: 400;
	line-height: 1.6;
}

/* ========================
   PAKET SECTION (Kotak Persegi Panjang)
======================== */
/* ========================
   CATALOG GRID SYSTEM
======================== */
.catalog-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
    padding: 1rem 0;
}

/* ANIMATIONS */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.animate-spin {
    animation: spin 1s linear infinite;
    display: inline-block;
}

/* CATALOG CARD */
.catalog-card {
    background: var(--card-bg);
    border: 1px solid rgba(182, 137, 91, 0.15);
    border-radius: 1.5rem;
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    backdrop-filter: blur(10px);
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* SKELETON LOADING */
.skeleton {
    background: linear-gradient(90deg, #222 25%, #333 50%, #222 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 8px;
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.skeleton-card {
    height: 350px;
    width: 100%;
    border-radius: 1.5rem;
}

/* CART ICON ANIMATION */
@keyframes cartWiggle {
    0% { transform: scale(1); }
    25% { transform: scale(1.2) rotate(-10deg); }
    50% { transform: scale(1.2) rotate(10deg); }
    75% { transform: scale(1.2) rotate(-10deg); }
    100% { transform: scale(1); }
}

.cart-animate {
    animation: cartWiggle 0.4s ease-in-out;
}

/* HIGHLIGHT SEARCH KEYWORD */
.highlight {
    background-color: var(--primary);
    color: white;
    padding: 0 2px;
    border-radius: 3px;
}

/* FORM VALIDATION */
.form-control {
    width: 100%;
    padding: 1.2rem;
    font-size: 1.4rem;
    border-radius: 8px;
    background: #333;
    color: #fff;
    border: 1px solid #444;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(182, 137, 91, 0.2);
}

.form-control.invalid {
    border-color: #ff4d4d !important;
    background-color: rgba(255, 77, 77, 0.05) !important;
}

.form-control.valid {
    border-color: #25D366 !important;
    background-color: rgba(37, 211, 102, 0.05) !important;
}

/* --- Mobile Optimization & Utils --- */
@media (max-width: 768px) {
    html {
        font-size: 50%; /* Smaller base for mobile */
    }
    
    .navbar {
        padding: 1.5rem 4%;
    }

    .hero {
        min-height: 70vh;
        padding-top: 12rem;
    }

    .catalog-container {
        grid-template-columns: 1fr; /* Single column on mobile for better focus */
        gap: 3rem;
        padding: 0 4%;
    }

    .modal-content {
        width: 95%;
        max-height: 90vh;
        overflow-y: auto;
        margin: 5% auto;
        padding: 2.5rem;
    }
    
    .btn {
        padding: 1.2rem 2.5rem; /* Larger touch target */
        font-size: 1.4rem;
    }
}

/* Modal Open State (No Scroll) */
body.modal-open {
    overflow: hidden;
}

/* Better Scrollbar for Modals */
.modal-content::-webkit-scrollbar {
    width: 5px;
}
.modal-content::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

.catalog-card:hover {
    transform: translateY(-10px);
    background: var(--card-hover-bg);
    border-color: var(--primary);
    box-shadow: var(--shadow-hover);
}

.catalog-card-img-wrapper {
    position: relative;
    width: 100%;
    padding-top: 75%; /* 4:3 Aspect Ratio */
    overflow: hidden;
    background: #111; /* Dark background for empty space */
}

.catalog-card-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain; /* Don't crop, show the whole image */
    transition: var(--transition);
}

.catalog-card:hover .catalog-card-img {
    transform: scale(1.1);
}

.catalog-card-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--primary);
    color: var(--white);
    padding: 0.5rem 1.2rem;
    border-radius: 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.catalog-card-badge.out-of-stock {
    background: #666;
}

.catalog-card-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.catalog-card-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    margin: 0;
    line-height: 1.2;
}

.catalog-card-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
}

.catalog-card-desc {
    font-size: 1.3rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.catalog-card-footer {
    padding: 0 2rem 2rem;
}

.catalog-card-btn {
    width: 100%;
    padding: 1.2rem;
    border-radius: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    transition: var(--transition);
    cursor: pointer;
    color: var(--white);
    background: var(--primary);
}

.catalog-card-btn:hover:not(:disabled) {
    background: var(--primary-dark);
    transform: scale(1.02);
}

.catalog-card-btn:disabled, 
.catalog-card-btn.btn-disabled {
    background: #444;
    color: #888;
    cursor: not-allowed;
    border-color: transparent;
}

.catalog-card-btn i {
    width: 1.8rem;
    height: 1.8rem;
}

.catalog-card-btn.wa-btn {
    background-color: #25D366;
}

.catalog-card-btn.wa-btn:hover:not(:disabled) {
    background-color: #128C7E;
}

/* REVEAL ANIMATION */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delay for cards */
.catalog-container .reveal:nth-child(2) { transition-delay: 0.1s; }
.catalog-container .reveal:nth-child(3) { transition-delay: 0.2s; }
.catalog-container .reveal:nth-child(4) { transition-delay: 0.3s; }
.catalog-container .reveal:nth-child(5) { transition-delay: 0.4s; }
.catalog-container .reveal:nth-child(6) { transition-delay: 0.5s; }

@media (max-width: 768px) {
    .catalog-container {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 1.5rem;
    }
    
    .catalog-card-content {
        padding: 1.5rem;
    }
    
    .catalog-card-footer {
        padding: 0 1.5rem 1.5rem;
    }
}

/* ========================
   PROFILE DROPDOWN
======================== */
.profile-dropdown {
    position: relative;
    display: inline-block;
}

.profile-trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: rgba(182, 137, 91, 0.1);
    color: var(--white);
    transition: var(--transition);
}

.profile-trigger:hover {
    background: var(--primary);
    color: var(--white);
}

.dropdown-content {
    position: absolute;
    top: 120%;
    right: 0;
    width: 22rem;
    background: #222;
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    box-shadow: var(--shadow-hover);
    padding: 1.5rem;
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 1000;
    transform: translateY(10px);
    transition: var(--transition);
    animation: slideDown 0.3s ease-out;
    text-align: left;
}

.dropdown-content.active {
    display: flex;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.dropdown-header {
    padding-bottom: 1rem;
}

.dropdown-header .user-name {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.2rem;
}

.dropdown-header .user-role {
    font-size: 1.1rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.dropdown-content hr {
    border: none;
    border-top: 1px solid #444;
    margin: 0.5rem 0;
}

.navbar .navbar-extra .dropdown-content a {
    display: flex;
    align-items: center;
    justify-content: flex-start !important;
    gap: 1rem;
    padding: 1rem;
    font-size: 1.3rem;
    color: #ccc;
    border-radius: 0.5rem;
    transition: var(--transition);
    width: 100%;
    box-sizing: border-box;
}

.dropdown-content a:hover {
    background: rgba(182, 137, 91, 0.1);
    color: var(--primary);
}

.dropdown-content a.active {
    background: rgba(182, 137, 91, 0.15);
    color: var(--primary);
    font-weight: 600;
}

.dropdown-content a.text-danger {
    color: #ff4d4d;
}

.dropdown-content a.text-danger:hover {
    background: rgba(255, 77, 77, 0.1);
    color: #ff4d4d;
}

.dropdown-content a i {
    width: 1.8rem;
    height: 1.8rem;
    margin-right: 0.5rem;
    flex-shrink: 0;
}


/* ========================
   MODAL MODERN (Soft Login)
======================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10001;
    padding: 2rem;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: #1a1a1a;
    border: 1px solid var(--border-color);
    border-radius: 2rem;
    width: 100%;
    max-width: 45rem;
    padding: 3.5rem;
    text-align: center;
    animation: modalScale 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalScale {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

.modal-icon {
    width: 6rem;
    height: 6rem;
    color: var(--primary);
    margin-bottom: 2rem;
}

.modal-header h2 {
    font-size: 2.4rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.modal-body p {
    font-size: 1.5rem;
    line-height: 1.6;
    color: #aaa;
    margin-bottom: 3rem;
}

.modal-footer {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.btn-modal {
    width: 100%;
    padding: 1.4rem;
    font-size: 1.5rem;
    font-weight: 600;
    border-radius: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-login {
    background: var(--primary);
    color: var(--white);
}

.btn-login:hover {
    background: var(--primary-dark);
}

.btn-register {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
}

.btn-register:hover {
    background: rgba(182, 137, 91, 0.1);
}

.btn-close-modal {
    background: transparent;
    color: #666;
    font-size: 1.3rem;
    margin-top: 0.5rem;
}

.btn-close-modal:hover {
    color: #aaa;
}

/* Blur Background when modal active */
body.modal-open {
    overflow: hidden;
}

/* ========================
   GUEST CHECKOUT STATE
======================== */
.checkout-btn.disabled {
    background: #333 !important;
    color: #666 !important;
    cursor: not-allowed !important;
    opacity: 0.7;
}

@media (max-width: 480px) {
    .modal-content {
        padding: 2.5rem;
    }
}


/* ========================
   CONTACT SECTION
======================== */
.lokasi .row {
    display: flex;
    margin-top: 2rem;
    background-color: #222;
    gap: 2rem;
    padding: 2rem;
    border-radius: 1rem;
}


.lokasi .row .map {
    flex: 1 1 45rem;
    width: 100%;
    min-height: 40rem;
    object-fit: cover;
    border-radius: 0.5rem;
}

.review-content {
    flex: 1 1 45rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-height: 50rem;
    overflow-y: auto;
    padding-right: 1rem;
}

.review-content::-webkit-scrollbar {
    width: 6px;
}

.review-content::-webkit-scrollbar-thumb {
    background-color: var(--primary);
    border-radius: 10px;
}


.review-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid rgba(182, 137, 91, 0.2);
    transition: 0.3s;
}

.review-card:hover {
    background-color: rgba(255, 255, 255, 0.08);
    transform: translateX(5px);
}

.review-card .user-meta {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
}

.review-card .user-avatar {
    width: 4.5rem;
    height: 4.5rem;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.6rem;
    color: #fff;
}

.review-card h3 {
    font-size: 1.8rem;
    margin-bottom: 0.2rem;
}

.review-card .stars {
    color: #ffc107;
}

.review-card .stars svg {
    width: 1.6rem;
    height: 1.6rem;
    fill: #ffc107;
}

.google-review-card {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(182, 137, 91, 0.2);
    padding: 3rem;
    border-radius: 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.google-review-card .google-logo {
    margin-bottom: 0.5rem;
}

.google-review-card h3 {
    font-size: 2.2rem;
    color: #fff;
}

.google-review-card .rating-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.google-review-card .score {
    font-size: 4rem;
    font-weight: 800;
    color: var(--primary);
}

.google-review-card .stars {
    color: #ffc107;
}

.google-review-card .stars svg {
    width: 2.5rem;
    height: 2.5rem;
    fill: #ffc107;
}

.google-review-card p {
    font-size: 1.5rem;
    color: #ccc;
    line-height: 1.6;
    max-width: 40rem;
}

.cta-group {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.google-btn {
    background-color: #4285F4 !important;
    color: #fff !important;
    border: none !important;
}

.google-btn:hover {
    background-color: #357ae8 !important;
}





/* ========================
   FOOTER REDESIGN
======================== */
footer {
    background-color: #0d0d0d;
    border-top: 1px solid rgba(182, 137, 91, 0.2);
    padding: 5rem 7% 2rem;
    margin-top: 5rem;
    color: #bbb;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h3 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-col h3 span {
    color: var(--primary);
}

.footer-col p {
    font-size: 1.3rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    color: #bbb;
    font-size: 1.3rem;
    transition: 0.3s;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.footer-socials {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.footer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.05);
    color: #fff;
    border-radius: 50%;
    transition: 0.3s;
    border: 1px solid rgba(255,255,255,0.1);
}

.footer-socials a:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 1.2rem;
}

.footer-bottom a {
    color: var(--primary);
    font-weight: 600;
}

/* ========================
   MEDIA QUERIES
======================== */
/* Laptop */
@media (max-width: 1366px) {
	html {
		font-size: 75%;
	}
}

/* Tablet */
@media (max-width: 768px) {
	html {
		font-size: 62.5%;
	}

	#hamburger-menu {
		display: inline-block;
	}

	.navbar .navbar-nav {
		position: absolute;
		top: 100%;
		right: -100%;
		background-color: #fff;
		width: 30rem;
		height: 100vh;
		transition: 0.3s;
	}

	.navbar .navbar-nav.active {
		right: 0;
	}

	.navbar .navbar-nav a {
		color: var(--bg);
		display: block;
		margin: 1.5rem;
		padding: 0.5rem;
		font-size: 2rem;
        width: fit-content;
        transition: 0.3s ease;
        cursor: pointer;
	}


    .navbar .navbar-nav a:hover {
        color: var(--primary) !important;
    }


	.navbar .navbar-nav a::after {
		transform-origin: left;
		transition: 0.3s ease;
	}

	.navbar .navbar-nav a:hover::after {
		transform: scaleX(0.8); /* Perlebar sedikit biar lebih kelihatan */
	}






	.navbar .search-form {
		width: 90%;
		right: 5%;
	}

	.about .row {
		flex-wrap: wrap;
	}

	.about .row .about-img img {
		height: 24rem;
		object-fit: cover;
		object-position: center;
	}

	.about .row .content {
		padding: 0;
	}

	.about .row .content h3 {
		margin-top: 1rem;
		font-size: 2rem;
	}

	.about .row .content p {
		font-size: 1.6rem;
	}

	.paket p,
	.menu p {
		font-size: 1.4rem;
	}

	.contact .row {
		flex-wrap: wrap;
	}

	.contact .row .map {
		height: 30rem;
	}

	.contact .row form {
		padding-top: 0;
	}
}

/* Mobile Phone */
@media (max-width: 450px) {
	html {
		font-size: 55%;
	}

	.navbar .search-form {
		width: 90%;
		right: 5%;
	}

	.shopping-cart {
		width: 100%;
	}
    
    .toast-notification {
        right: 10px;
        left: 10px;
        justify-content: center;
        font-size: 1.2rem;
        padding: 1.2rem;
    }

    .paket-item {
        width: 26rem;
    }

    .menu-item {
        width: 22rem;
    }
}

/* ========================
   CAROUSEL
======================== */
.carousel-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

.carousel-slide::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(0deg, rgba(1, 1, 3, 1) 8%, rgba(255, 255, 255, 0) 100%);
    z-index: 2;
}

.carousel-slide::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* overlay gelap */
    z-index: 2;
}

.carousel-content {
    position: relative;
    z-index: 3;
    padding: 1.4rem 7%;
    max-width: 80rem;
    text-align: left;
}

.carousel-title, .carousel-subtitle, .carousel-desc, .carousel-btn {
    opacity: 0;
}

/* Animations */
@keyframes slideDown {
    0% { transform: translateY(-50px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

@keyframes slideUp {
    0% { transform: translateY(50px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

.carousel-slide.active .carousel-subtitle {
    animation: slideDown 0.8s ease-out forwards 0.3s;
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.carousel-slide.active .carousel-title {
    animation: slideDown 0.8s ease-out forwards 0.6s;
    font-size: 4.5rem;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 3px rgba(1, 1, 3, 0.5);
}

.carousel-slide.active .carousel-desc {
    animation: slideUp 0.8s ease-out forwards 0.9s;
    font-size: 1.6rem;
    color: #eee;
    margin-bottom: 2.5rem;
    line-height: 1.5;
}

.carousel-slide.active .carousel-btn {
    animation: slideUp 0.8s ease-out forwards 1.2s;
    display: inline-block;
}

/* Carousel Controls */
.carousel-controls {
    position: absolute;
    bottom: 5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 4;
}

.carousel-dot {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: 0.3s;
}

.carousel-dot.active {
    background-color: var(--primary);
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    z-index: 4;
    transition: 0.3s;
}
.carousel-arrow:hover {
    color: var(--primary);
}
.carousel-prev { left: 3rem; }
.carousel-next { right: 3rem; }
/* ========================
   REVEAL ANIMATIONS (Scroll)
 ======================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delay for child elements if needed */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

@keyframes revealUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- FINAL MOBILE UX POLISH --- */
@media (max-width: 768px) {
    html {
        font-size: 50% !important;
    }
    
    .navbar {
        padding: 1.5rem 4% !important;
    }

    .hero {
        min-height: 60vh !important;
        padding-top: 10rem !important;
    }

    .catalog-container {
        grid-template-columns: 1fr !important;
        gap: 2.5rem !important;
        padding: 0 4% !important;
    }

    .modal-content {
        width: 95% !important;
        max-height: 85vh !important;
        overflow-y: auto !important;
        margin: 5% auto !important;
        padding: 2.2rem !important;
        border-radius: 15px !important;
    }
    
    .btn {
        padding: 1.2rem 2rem !important;
        font-size: 1.4rem !important;
        display: inline-flex !important;
        justify-content: center;
        align-items: center;
    }

    input, select, textarea {
        font-size: 1.6rem !important; 
    }

    /* Low-end device optimizations */
    .glass-card, .navbar, .modal-content {
        backdrop-filter: none !important; /* Remove heavy blur on small mobile */
        background: rgba(20, 20, 20, 0.95) !important;
    }
}

/* Performance Optimizations */
.reveal {
    will-change: transform, opacity;
}

@media (prefers-reduced-motion: reduce) {
    .reveal, .hero-content, .catalog-card {
        transition: none !important;
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Modal Lock Body Scroll */
body.modal-open {
    overflow: hidden !important;
    height: 100vh !important;
}

/* Better Scrollbar for Dark Theme */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #010101;
}
::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

/* GLOBAL PRODUCT MODAL STYLES */
.modal-slider-container {
    position: relative;
    width: 100%;
    height: 250px;
    background: #000;
}
.modal-slider-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}
.modal-slider-img.active {
    display: block;
}
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}
.slider-btn:hover {
    background: var(--primary);
}
.slider-btn.prev { left: 10px; }
.slider-btn.next { right: 10px; }
.slider-dots {
    position: absolute;
    bottom: 15px;
    width: 100%;
    text-align: center;
    z-index: 10;
}
.slider-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    margin: 0 4px;
    cursor: pointer;
}
.slider-dot.active {
    background: var(--primary);
}

.modal-tabs {
    display: flex;
    border-bottom: 2px solid #333;
    background: #111;
}
.modal-tab {
    flex: 1;
    text-align: center;
    padding: 1.2rem;
    color: #888;
    cursor: pointer;
    font-size: 1.4rem;
    font-weight: 600;
    transition: 0.3s;
}
.modal-tab:hover {
    color: #fff;
}
.modal-tab.active {
    color: var(--primary);
    border-bottom: 3px solid var(--primary);
}
.modal-tab-content {
    display: none;
    padding: 2rem;
}
.modal-tab-content.active {
    display: block;
}
.modal-scrollable-area {
    overflow-y: auto;
    flex-grow: 1;
    max-height: calc(90vh - 250px - 50px - 80px);
}

.modal-sticky-footer {
    background: #1a1a1a;
    padding: 1.5rem 2rem;
    border-top: 1px solid #333;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.modal-price-display {
    font-size: 2rem;
    font-weight: bold;
    color: #fff;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}
.review-avg {
    font-size: 2.5rem;
    color: #ffd700;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
}
.review-list {
    margin-bottom: 2rem;
}
.review-item {
    background: rgba(255,255,255,0.05);
    padding: 1.2rem;
    border-radius: 8px;
    margin-bottom: 10px;
}
.review-item h4 {
    color: var(--primary);
    margin-bottom: 0.2rem;
    font-size: 1.4rem;
}
.review-item .stars {
    color: #ffd700;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}
.review-item p {
    color: #ccc;
    font-size: 1.3rem;
    line-height: 1.4;
}
.review-form textarea {
    width: 100%;
    background: rgba(255,255,255,0.1);
    border: 1px solid #444;
    color: #fff;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-family: inherit;
    resize: vertical;
}
.star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    margin-bottom: 1rem;
}
.star-rating input {
    display: none;
}
.star-rating label {
    font-size: 2rem;
}

@media (prefers-reduced-motion: reduce) {
    .reveal, .hero-content, .catalog-card {
        transition: none !important;
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Modal Lock Body Scroll */
body.modal-open {
    overflow: hidden !important;
    height: 100vh !important;
}

/* Better Scrollbar for Dark Theme */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #010101;
}
::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

/* GLOBAL PRODUCT MODAL STYLES */
.modal-slider-container {
    position: relative;
    width: 100%;
    height: 250px;
    background: #000;
}
.modal-slider-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}
.modal-slider-img.active {
    display: block;
}
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}
.slider-btn:hover {
    background: var(--primary);
}
.slider-btn.prev { left: 10px; }
.slider-btn.next { right: 10px; }
.slider-dots {
    position: absolute;
    bottom: 15px;
    width: 100%;
    text-align: center;
    z-index: 10;
}
.slider-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    margin: 0 4px;
    cursor: pointer;
}
.slider-dot.active {
    background: var(--primary);
}

.modal-tabs {
    display: flex;
    border-bottom: 2px solid #333;
    background: #111;
}
.modal-tab {
    flex: 1;
    text-align: center;
    padding: 1.2rem;
    color: #888;
    cursor: pointer;
    font-size: 1.4rem;
    font-weight: 600;
    transition: 0.3s;
}
.modal-tab:hover {
    color: #fff;
}
.modal-tab.active {
    color: var(--primary);
    border-bottom: 3px solid var(--primary);
}
.modal-tab-content {
    display: none;
    padding: 2rem;
}
.modal-tab-content.active {
    display: block;
}
.modal-scrollable-area {
    overflow-y: auto;
    flex-grow: 1;
    max-height: calc(90vh - 250px - 50px - 80px);
}

.modal-sticky-footer {
    background: #1a1a1a;
    padding: 1.5rem 2rem;
    border-top: 1px solid #333;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    width: 100%;
}
.modal-price-display {
    font-size: 2rem;
    font-weight: bold;
    color: #fff;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}
.review-avg {
    font-size: 2.5rem;
    color: #ffd700;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
}
.review-list {
    margin-bottom: 2rem;
}
.review-item {
    background: rgba(255,255,255,0.05);
    padding: 1.2rem;
    border-radius: 8px;
    margin-bottom: 10px;
}
.review-item h4 {
    color: var(--primary);
    margin-bottom: 0.2rem;
    font-size: 1.4rem;
}
.review-item .stars {
    color: #ffd700;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}
.review-item p {
    color: #ccc;
    font-size: 1.3rem;
    line-height: 1.4;
}
.review-form textarea {
    width: 100%;
    background: rgba(255,255,255,0.1);
    border: 1px solid #444;
    color: #fff;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-family: inherit;
    resize: vertical;
}
.star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    margin-bottom: 1rem;
}
.star-rating input {
    display: none;
}
.star-rating label {
    font-size: 2rem;
    color: #444;
    cursor: pointer;
    transition: 0.2s;
    padding: 0 2px;
}
.star-rating input:checked ~ label,
.star-rating label:hover,
.star-rating label:hover ~ label {
    color: #ffd700;
}

/* ========================
   SHOPEE-STYLE VARIANT SELECTION
======================== */
.variant-section {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
    max-height: 180px;
    overflow-y: auto;
}

.variant-group {
    margin-bottom: 1.8rem;
}

.variant-group-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.variant-options-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.variant-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.8rem 1.4rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: #ddd;
    font-size: 1.25rem;
    font-weight: 500;
    cursor: pointer;
    user-select: none;
    transition: all 0.25s ease;
}

.variant-chip:hover {
    border-color: var(--primary);
    background: rgba(182, 137, 91, 0.1);
    color: #fff;
}

.variant-chip input[type="radio"] {
    display: none;
}

.variant-chip.active,
.variant-chip:has(input[type="radio"]:checked) {
    background: rgba(182, 137, 91, 0.18);
    border-color: var(--primary);
    color: var(--primary);
    font-weight: 600;
    box-shadow: 0 0 10px rgba(182, 137, 91, 0.2);
}

.variant-chip-icon {
    font-size: 1.1rem;
    display: inline-block;
}

/* Image-Based Variant Chips */
.variant-img-chip {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 0.8rem 1.4rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    cursor: pointer;
    transition: all 0.25s ease;
    flex: 1 1 calc(50% - 1rem);
    min-width: 180px;
}

.variant-img-chip:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    background: rgba(182, 137, 91, 0.1);
    box-shadow: 0 4px 15px rgba(182, 137, 91, 0.2);
}

.variant-thumb-img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

.variant-info {
    display: flex;
    flex-direction: column;
}

.variant-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.3;
}

.variant-price-tag {
    font-size: 1.1rem;
    color: var(--primary);
    font-weight: 500;
    margin-top: 2px;
}

/* ========================
   SECONDARY VARIANT MODAL OVERLAY
======================== */
.variant-modal-content {
    background: #111;
    border: 1px solid var(--primary);
    border-radius: 12px;
    width: 90%;
    max-width: 520px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.7);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: 85vh;
    animation: modalPopIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalPopIn {
    0% { opacity: 0; transform: scale(0.85) translateY(20px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}

.variant-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #333;
    background: #1a1a1a;
}

.variant-modal-header h3 {
    color: #fff;
    font-size: 1.6rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.variant-modal-close {
    color: #aaa;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s ease;
}

.variant-modal-close:hover {
    color: var(--primary);
}

.variant-modal-body {
    padding: 2rem;
    overflow-y: auto;
    max-height: 50vh;
}

.variant-modal-footer {
    background: #1a1a1a;
    padding: 1.5rem 2rem;
    border-top: 1px solid #333;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

/* ========================
   CATALOG FILTER & SORT TOOLBAR
======================== */
.catalog-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3.5rem;
}

.catalog-header-text {
    flex: 1 1 320px;
}

.catalog-header-text h2 {
    margin-bottom: 0.8rem;
    text-align: left;
}

.catalog-header-text p {
    color: #ccc;
    font-size: 1.4rem;
    line-height: 1.6;
    margin: 0;
}

.catalog-filter-bar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 0;
    padding: 1rem 1.5rem;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 10px;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-group label {
    font-size: 1.3rem;
    color: var(--primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.sort-katalog-select {
    background: #111;
    color: #fff;
    border: 1px solid #444;
    padding: 0.8rem 1.2rem;
    border-radius: 6px;
    font-size: 1.3rem;
    cursor: pointer;
    outline: none;
    transition: border-color 0.2s ease;
}

.sort-katalog-select:hover,
.sort-katalog-select:focus {
    border-color: var(--primary);
}

/* ========================
   ABOUT US & LOKASI MODERN LAYOUT
======================== */
.about-modern {
    padding: 8rem 7% 5rem;
    position: relative;
    overflow: hidden;
}

.about-modern .catalog-header-bar {
    margin-bottom: 1.5rem;
}
.about-subtitle-badge {
    display: inline-block;
    color: var(--primary);
    font-size: 1.1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.about-split-container {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    align-items: flex-start;
    position: relative;
    z-index: 2;
    max-width: 1400px;
}

.about-text-content {
    flex: 1 1 500px;
}

.about-text-content h3 {
    font-size: 2.2rem;
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.about-narrative {
    font-size: 1.3rem;
    line-height: 1.8;
    color: #bbb;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.about-pillars-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.about-pillar-card {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.03);
    padding: 1.6rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.about-pillar-card:hover {
    background: rgba(182, 137, 91, 0.08);
    border-color: rgba(182, 137, 91, 0.3);
    transform: translateY(-3px);
}

.pillar-icon {
    background: linear-gradient(135deg, var(--primary), #8c6946);
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 8px 16px rgba(182, 137, 91, 0.3);
}

.pillar-text h4 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 0.4rem;
}

.pillar-text p {
    color: #aaa;
    font-size: 1.2rem;
    line-height: 1.5;
    margin: 0;
}

.about-quote-box {
    background: rgba(182, 137, 91, 0.1);
    border-left: 4px solid var(--primary);
    padding: 1.5rem 2rem;
    border-radius: 0 12px 12px 0;
    margin-bottom: 2.5rem;
}

.about-quote-box p {
    font-size: 1.3rem;
    line-height: 1.7;
    color: #fff;
    font-style: italic;
    margin: 0 0 0.8rem 0;
}

.quote-author {
    color: var(--primary);
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-image-wrapper {
    flex: 1 1 400px;
    position: relative;
    margin-top: 1rem;
}

.image-accent-border {
    position: absolute;
    inset: 15px -15px -15px 15px;
    border: 2px solid var(--primary);
    border-radius: 16px;
    z-index: 1;
    opacity: 0.4;
}

.about-featured-img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    position: relative;
    z-index: 2;
    transition: transform 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.about-featured-img:hover {
    transform: scale(1.02);
}

.about-floating-badge {
    position: absolute;
    bottom: 30px;
    right: -10px;
    background: rgba(182, 137, 91, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.2rem 1.8rem;
    border-radius: 12px;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
    z-index: 3;
    text-align: center;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.about-floating-badge h4 {
    font-size: 2.2rem;
    margin: 0;
    font-weight: 700;
}

.about-floating-badge p {
    margin: 0;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* LOKASI PAGE STYLING */
.lokasi {
    padding: 8rem 7% 5rem;
}

.lokasi-content-container {
    max-width: 1100px;
    margin: 2rem 0 0;
}

.lokasi-map-iframe {
    width: 100%;
    height: 480px;
    border: 2px solid var(--primary);
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.lokasi-action-wrapper {
    text-align: left;
    margin-top: 2rem;
}

/* ========================
   DYNAMIC 3-BADGE ECOSYSTEM
======================== */
.product-badge-stack {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    pointer-events: none;
}

.catalog-badge-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 1.05rem;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.badge-bestseller {
    background: linear-gradient(135deg, #ff416c, #ff4b2b);
}

.badge-recommended {
    background: linear-gradient(135deg, #11998e, #38ef7d);
    color: #000;
}

.badge-favorite {
    background: linear-gradient(135deg, #ec008c, #fc6767);
}

/* ========================
   RESPONSIVE MEDIA QUERY SUITE
======================== */
@media (max-width: 768px) {
    /* Mobile Navigation Drawer Overlay */
    .navbar {
        background-color: #ffffff !important;
        border-bottom: 1px solid #e2e8f0;
    }

    .navbar .navbar-nav {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 75%;
        max-width: 320px;
        background-color: #ffffff;
        border-left: 1px solid #e2e8f0;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 5.5rem 1.2rem 2rem;
        gap: 0.5rem;
        transition: right 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        z-index: 9998;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    }

    .navbar .navbar-nav.active {
        right: 0;
    }

    .navbar .navbar-nav a {
        display: block;
        width: 100%;
        padding: 0.9rem 1.2rem;
        font-size: 1.15rem;
        font-weight: 500;
        color: #1e293b;
        border-bottom: 1px solid #f1f5f9;
        border-left: 4px solid transparent; /* Prevents layout shift / flicker on hover */
        border-radius: 8px;
        box-sizing: border-box;
        transition: all 0.25s ease;
    }

    .navbar .navbar-nav a:hover,
    .navbar .navbar-nav a:focus {
        background-color: rgba(45, 106, 79, 0.06);
        color: var(--primary, #2d6a4f);
        border-left-color: var(--primary, #2d6a4f);
        transform: translateX(6px);
    }

    .navbar .navbar-nav a.mobile-logout-link {
        color: #ef4444;
        border-top: 1px dashed #e2e8f0;
        margin-top: 0.5rem;
    }

    .navbar .navbar-nav a.mobile-logout-link:hover {
        background-color: rgba(239, 68, 68, 0.06);
        color: #dc2626;
        border-left-color: #dc2626;
    }

    .navbar .navbar-nav a::after {
        display: none;
    }

    /* Mobile Section Padding & Header Spacing Fix */
    section,
    section#paket, 
    section#menu, 
    section#lokasi, 
    section#about,
    .about-modern,
    .lokasi,
    .paket,
    .menu,
    .riwayat-section,
    .checkout-page,
    .auth-section,
    .profil-section,
    .page-header,
    #search-result,
    .order-success {
        padding-top: 10rem !important;
        padding-bottom: 3rem !important;
        padding-left: 5% !important;
        padding-right: 5% !important;
    }

    /* Catalog Header & Toolbar */
    .catalog-header-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 1.2rem;
        margin-bottom: 1.8rem;
    }

    .catalog-header-text {
        text-align: left;
        flex: 1 1 auto;
    }

    .catalog-filter-bar {
        width: 100%;
        justify-content: space-between;
    }

    .sort-katalog-select {
        width: 100%;
        min-height: 44px;
        font-size: 1.2rem;
    }

    /* About Us Split Layout */
    .about-split-container {
        flex-direction: column;
        gap: 2rem;
        width: 100%;
    }

    .about-text-content,
    .about-image-wrapper {
        flex: 1 1 100%;
        width: 100%;
        max-width: 100%;
        margin-top: 0;
    }

    .image-accent-border {
        inset: 10px 0px 0px 0px;
        opacity: 0.3;
    }

    .about-floating-badge {
        right: 10px;
        bottom: 15px;
        padding: 0.8rem 1.2rem;
    }

    .about-floating-badge h4 {
        font-size: 1.6rem;
    }

    .about-floating-badge p {
        font-size: 0.8rem;
    }

    /* Secondary Variant Modal */
    .variant-modal-content {
        width: 92vw;
        max-height: 90vh;
        margin: 2rem auto;
    }

    .variant-modal-footer {
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 1rem;
    }

    /* Touch Accessibility Targets */
    .btn, 
    .btn-save, 
    .sort-katalog-select, 
    .variant-img-chip {
        min-height: 44px;
    }
}

@media (max-width: 480px) {
    .product-badge-stack {
        top: 8px;
        left: 8px;
        gap: 4px;
    }

    .catalog-badge-item {
        font-size: 0.9rem;
        padding: 3px 8px;
    }

    .catalog-header-text h2 {
        font-size: 2.4rem;
    }

    .about-text-content h3 {
        font-size: 1.9rem;
    }
}

/* ========================
   SCOPED HOME-PAGE LIGHT THEME (STEP 1)
======================== */
.light-theme-scope {
    --bg: #f8f9fa;
    --dark-bg: #ffffff;
    --bg-card: #ffffff;
    --card-bg: #ffffff;
    --card-hover-bg: #f1f5f9;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --primary: #2d6a4f;
    --primary-dark: #1b4332;
    --border-color: #e2e8f0;
    --glass-border: rgba(0, 0, 0, 0.08);
    --shadow: 0 8px 25px rgba(0, 0, 0, 0.06);

    background-color: var(--bg);
    color: var(--text-main);
}

/* Scoped Header & Navigation */
.light-theme-scope .navbar {
    background-color: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.light-theme-scope .navbar .navbar-logo {
    color: #1e293b;
}

.light-theme-scope .navbar .navbar-logo img {
    border-color: #2d6a4f;
    box-shadow: 0 0 10px rgba(45, 106, 79, 0.2);
}

.light-theme-scope .navbar .navbar-nav a {
    color: #1e293b;
}

.light-theme-scope .navbar .navbar-nav a:hover {
    color: #2d6a4f;
}

.light-theme-scope .navbar .navbar-extra a {
    color: #1e293b;
    transition: color 0.2s ease, transform 0.2s ease;
}

.light-theme-scope .navbar .navbar-extra a:hover,
.light-theme-scope .navbar .navbar-extra a:focus {
    color: var(--primary);
    transform: translateY(-2px);
}

/* Mobile Nav Drawer Light Mode */
@media (max-width: 768px) {
    .light-theme-scope .navbar .navbar-nav {
        background-color: #ffffff;
        border-left: 1px solid #e2e8f0;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    }
}

/* Scoped Carousel & Hero Section */
.light-theme-scope .carousel-container {
    background-color: #f8f9fa;
}

.light-theme-scope .carousel-title {
    color: #ffffff;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.light-theme-scope .carousel-subtitle,
.light-theme-scope .carousel-desc {
    color: #f8f9fa;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.7);
}

.light-theme-scope .carousel-btn {
    background-color: #2d6a4f;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(45, 106, 79, 0.3);
}

.light-theme-scope .carousel-btn:hover {
    background-color: #1b4332;
}

/* Scoped Footer */
.light-theme-scope footer {
    background-color: #ffffff;
    border-top: 1px solid #e2e8f0;
    color: #1e293b;
}

.light-theme-scope footer h3 {
    color: #1e293b;
}

.light-theme-scope footer h3 span {
    color: var(--primary);
}

.light-theme-scope footer p,
.light-theme-scope .footer-col p {
    color: #475569 !important;
}

.light-theme-scope footer p strong {
    color: #1e293b !important;
}

.light-theme-scope .footer-col div p {
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.light-theme-scope .footer-col div p br {
    display: none;
}

.light-theme-scope .footer-links a {
    color: #475569;
}

.light-theme-scope .footer-links a:hover {
    color: var(--primary);
}

.light-theme-scope .footer-bottom {
    background-color: #f8f9fa;
    border-top: 1px solid #e2e8f0;
    color: #64748b;
}

.light-theme-scope .footer-bottom a {
    color: var(--primary);
}

/* Floating Chat Widget Sage Green Overrides */
.light-theme-scope #floating-chat-btn {
    background: var(--primary);
    box-shadow: 0 8px 25px rgba(45, 106, 79, 0.35);
}

.light-theme-scope #floating-chat-btn:hover {
    background: var(--primary-dark) !important;
    box-shadow: 0 12px 30px rgba(27, 67, 50, 0.45);
    transform: scale(1.1);
}

.light-theme-scope #floating-chat-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.light-theme-scope .f-chat-header {
    background: var(--primary);
    color: #ffffff;
}

.light-theme-scope .f-chat-body {
    background: #f8f9fa;
}

.light-theme-scope .f-chat-bubble.admin {
    background: #ffffff;
    color: #1e293b;
    border: 1px solid #e2e8f0;
}

.light-theme-scope .f-chat-bubble.pelanggan {
    background: var(--primary);
    color: #ffffff;
}

.light-theme-scope .f-chat-footer {
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
}

.light-theme-scope .f-chat-footer input {
    background: #f8f9fa;
    color: #1e293b;
    border: 1px solid #cbd5e1;
}

.light-theme-scope .f-chat-footer button {
    background: var(--primary);
    color: #ffffff;
}

.light-theme-scope .f-chat-footer button:hover {
    background: var(--primary-dark);
}

/* Scoped Light Theme Auth Dropdown Styling */
.light-theme-scope .profile-dropdown {
    position: relative;
}

.light-theme-scope .profile-trigger {
    color: #1e293b;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    transition: var(--transition);
}

.light-theme-scope .profile-trigger:hover {
    background: #e2e8f0;
    color: var(--primary);
}

.light-theme-scope .dropdown-content,
.light-theme-scope #chefKurirUserDropdownMenu {
    background-color: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
    padding: 0.8rem 0;
}

.light-theme-scope .dropdown-header {
    padding: 0.8rem 1.2rem;
}

.light-theme-scope .user-name {
    color: #1e293b !important;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 2px;
}

.light-theme-scope .user-role {
    color: var(--primary) !important;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.light-theme-scope .dropdown-content hr {
    border: 0;
    border-top: 1px solid #e2e8f0;
    margin: 0.5rem 0;
}

.light-theme-scope .dropdown-content a,
.light-theme-scope .dropdown-item {
    color: #475569 !important;
    padding: 0.7rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.15rem;
    font-weight: 500;
    transition: background-color 0.2s ease, color 0.2s ease;
    text-decoration: none;
}

.light-theme-scope .dropdown-content a:hover,
.light-theme-scope .dropdown-item:hover {
    background-color: #f1f5f9 !important;
    color: var(--primary) !important;
}

.light-theme-scope .dropdown-item.text-danger:hover {
    background-color: #fef2f2 !important;
    color: #ef4444 !important;
}

/* Chef/Kurir Trigger Button Light Theme Override */
.light-theme-scope #chefKurirUserDropdownBtn {
    background: #f1f5f9 !important;
    border: 1px solid #e2e8f0 !important;
}

.light-theme-scope #chefKurirUserDropdownBtn span {
    color: #1e293b !important;
}

/* ========================
   SCOPED LIGHT THEME: TENTANG KAMI PAGE
======================== */
.light-theme-scope .about-modern {
    background-color: #f8f9fa;
    color: #1e293b;
}

.light-theme-scope .about-subtitle-badge {
    color: var(--primary);
}

.light-theme-scope .about-text-content h3 {
    color: #1e293b;
}

.light-theme-scope .about-narrative {
    color: #64748b;
}

.light-theme-scope .about-narrative strong {
    color: #1e293b;
}

/* Pillar Highlight Cards */
.light-theme-scope .about-pillar-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.light-theme-scope .about-pillar-card:hover {
    background: #f1f5f9;
    border-color: var(--primary);
    transform: translateY(-3px);
}

.light-theme-scope .pillar-icon {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #ffffff;
    box-shadow: 0 6px 15px rgba(45, 106, 79, 0.3);
}

.light-theme-scope .pillar-text h4 {
    color: #1e293b;
}

.light-theme-scope .pillar-text p {
    color: #64748b;
}

/* Philosophy Quote Box */
.light-theme-scope .about-quote-box {
    background: rgba(45, 106, 79, 0.06);
    border-left: 4px solid var(--primary);
}

.light-theme-scope .about-quote-box p {
    color: #1e293b;
}

.light-theme-scope .quote-author {
    color: var(--primary);
}

/* Photo & Accent Frame */
.light-theme-scope .image-accent-border {
    border-color: var(--primary);
    opacity: 0.35;
}

.light-theme-scope .about-featured-img {
    border: 1px solid #e2e8f0;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.light-theme-scope .about-floating-badge {
    background: rgba(45, 106, 79, 0.95);
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(45, 106, 79, 0.3);
}

/* About Page Action Button Fix */
.light-theme-scope .about-action-row .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #ffffff;
    border: 1px solid #cbd5e1;
    color: #1e293b;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.light-theme-scope .about-action-row .btn:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 106, 79, 0.25);
}

/* ========================
   SCOPED LIGHT THEME: SEJARAH LENGKAP PAGE
======================== */
.light-theme-scope .history-content {
    background-color: #f8f9fa !important;
    color: #1e293b;
}

.light-theme-scope .history-block h2 {
    color: var(--primary) !important;
}

.light-theme-scope .history-block div {
    color: #64748b !important;
}

.light-theme-scope .history-block div p strong {
    color: #1e293b !important;
}

/* Vision & Mission Cards */
.light-theme-scope .vision-mission-block > div {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-top: 4px solid var(--primary) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.light-theme-scope .vision-mission-block h3 {
    color: #1e293b !important;
}

.light-theme-scope .vision-mission-block p,
.light-theme-scope .vision-mission-block ul li {
    color: #64748b !important;
}

.light-theme-scope .vision-mission-block div > div {
    background: rgba(45, 106, 79, 0.1) !important;
    color: var(--primary) !important;
}

/* Kembali ke Tentang Kami Button */
.light-theme-scope .history-content a.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #1e293b !important;
    transition: all 0.3s ease;
}

.light-theme-scope .history-content a.btn:hover {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(45, 106, 79, 0.25);
    transform: translateY(-2px);
}

/* ========================
   SCOPED LIGHT THEME: PILIHAN PAKET PAGE
======================== */
.light-theme-scope .paket,
.light-theme-scope section#paket {
    background-color: #f8f9fa;
    color: #1e293b;
}

.light-theme-scope .catalog-header-text h2 {
    color: #1e293b;
}

.light-theme-scope .catalog-header-text p {
    color: #64748b;
}

/* Filter & Sort Bar */
.light-theme-scope .catalog-filter-bar {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.light-theme-scope .filter-group label {
    color: var(--primary);
}

.light-theme-scope .sort-katalog-select {
    background-color: #ffffff;
    color: #1e293b;
    border: 1px solid #cbd5e1;
}

.light-theme-scope .sort-katalog-select:hover,
.light-theme-scope .sort-katalog-select:focus {
    border-color: var(--primary);
}

/* Catalog Package Cards */
.light-theme-scope .catalog-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.light-theme-scope .catalog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.09);
    border-color: #cbd5e1;
}

.light-theme-scope .catalog-card-title {
    color: #1e293b;
}

.light-theme-scope .catalog-card-price {
    color: var(--primary);
}

.light-theme-scope .catalog-card-content p,
.light-theme-scope .catalog-card-content span {
    color: #64748b;
}

.light-theme-scope .catalog-card-content div span[style*="color:#fff"] {
    color: #1e293b !important;
}

/* Badges on Light Card Surface */
.light-theme-scope .catalog-badge-item {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ========================
   SCOPED LIGHT THEME: MODALS
======================== */

/* 1. Main Package/Menu Detail Pop-Up Modal */
.light-theme-scope #paket-modal > div,
.light-theme-scope #menu-modal > div,
.light-theme-scope .modal-modern-content {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    color: #1e293b !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
}

.light-theme-scope #pm-title,
.light-theme-scope #mm-title,
.light-theme-scope .modal-tab-content h2,
.light-theme-scope .review-header h3,
.light-theme-scope .review-form h4 {
    color: #1e293b !important;
}

.light-theme-scope #pm-desc,
.light-theme-scope #mm-desc,
.light-theme-scope .modal-tab-content p,
.light-theme-scope .review-list p {
    color: #64748b !important;
}

.light-theme-scope #pm-price,
.light-theme-scope #mm-price,
.light-theme-scope .modal-price-display {
    color: var(--primary) !important;
    font-weight: 700;
}

.light-theme-scope .modal-tabs {
    background: #f8f9fa;
    border-bottom: 1px solid #e2e8f0;
}

.light-theme-scope .modal-tab {
    color: #64748b;
}

.light-theme-scope .modal-tab.active {
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
    font-weight: 600;
}

.light-theme-scope .modal-sticky-footer {
    background: #f8f9fa;
    border-top: 1px solid #e2e8f0;
}

/* Modal Close Button Visibility */
.light-theme-scope #paket-modal div[onclick="closePaketModal()"],
.light-theme-scope #menu-modal div[onclick="closeMenuModal()"] {
    background: #f1f5f9 !important;
    color: #1e293b !important;
    border: 1px solid #cbd5e1 !important;
}

.light-theme-scope #paket-modal div[onclick="closePaketModal()"]:hover,
.light-theme-scope #menu-modal div[onclick="closeMenuModal()"]:hover {
    background: var(--primary) !important;
    color: #ffffff !important;
}

/* 2. Secondary Dish Variant Selection Overlay */
.light-theme-scope .variant-modal-content {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    color: #1e293b !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
}

.light-theme-scope .variant-modal-header {
    background: #f8f9fa;
    border-bottom: 1px solid #e2e8f0;
    color: #1e293b;
}

.light-theme-scope .variant-modal-header h3 {
    color: #1e293b;
}

.light-theme-scope .variant-modal-close {
    color: #64748b;
}

.light-theme-scope .variant-modal-close:hover {
    color: var(--primary);
}

.light-theme-scope .variant-modal-footer {
    background: #f8f9fa;
    border-top: 1px solid #e2e8f0;
}

.light-theme-scope #vm-price-display {
    color: var(--primary) !important;
    font-weight: 700;
}

/* Variant Card Active & Hover Sage Green Glow */
.light-theme-scope .variant-card.selected,
.light-theme-scope .variant-card:hover,
.light-theme-scope .variant-chip.active,
.light-theme-scope .variant-img-chip.active,
.light-theme-scope .variant-chip:hover,
.light-theme-scope .variant-img-chip:hover {
    border-color: var(--primary) !important;
    box-shadow: 0 0 12px rgba(45, 106, 79, 0.25) !important;
    background: rgba(45, 106, 79, 0.05) !important;
}

/* Add to Cart Buttons Hover State */
.light-theme-scope #btn-konfirmasi-varian:hover,
.light-theme-scope #btn-trigger-variant-flow:hover,
.light-theme-scope .variant-modal-footer .btn:hover {
    background-color: var(--primary-dark) !important;
    border-color: var(--primary-dark) !important;
    color: #ffffff !important;
}

/* Scoped Light Theme Variant Card Text Contrast Fix */
.light-theme-scope .variant-card,
.light-theme-scope .variant-card.selected,
.light-theme-scope .variant-chip,
.light-theme-scope .variant-chip.active,
.light-theme-scope .variant-img-chip,
.light-theme-scope .variant-img-chip.active {
    color: #1e293b !important;
}

.light-theme-scope .variant-card p,
.light-theme-scope .variant-card span,
.light-theme-scope .variant-card h4,
.light-theme-scope .variant-chip label,
.light-theme-scope .variant-chip span,
.light-theme-scope .variant-chip div,
.light-theme-scope .variant-img-chip label,
.light-theme-scope .variant-img-chip span,
.light-theme-scope .variant-img-chip div,
.light-theme-scope .variant-title,
.light-theme-scope .variant-name {
    color: #1e293b !important;
    font-weight: 600;
}

.light-theme-scope .variant-card .delta,
.light-theme-scope .variant-chip .delta,
.light-theme-scope .variant-img-chip .delta,
.light-theme-scope .variant-delta,
.light-theme-scope .variant-price-delta {
    color: var(--primary) !important;
    font-weight: 600;
}

/* ========================
   SCOPED LIGHT THEME: MENU MAKANAN PAGE
======================== */
.light-theme-scope .menu,
.light-theme-scope section#menu {
    background-color: #f8f9fa;
    color: #1e293b;
}

/* Header & Intro Typography */
.light-theme-scope .menu h2,
.light-theme-scope section#menu .catalog-header-text h2 {
    color: #1e293b;
}

.light-theme-scope .menu p,
.light-theme-scope section#menu .catalog-header-text p {
    color: #64748b;
}

/* Dish Item Cards */
.light-theme-scope section#menu .catalog-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.light-theme-scope section#menu .catalog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.09);
    border-color: #cbd5e1;
}

.light-theme-scope section#menu .catalog-card-title {
    color: #1e293b;
}

.light-theme-scope section#menu .catalog-card-price {
    color: var(--primary);
}

.light-theme-scope section#menu .catalog-card-content p,
.light-theme-scope section#menu .catalog-card-content span {
    color: #64748b;
}

.light-theme-scope section#menu .catalog-card-content div span[style*="color:#fff"] {
    color: #1e293b !important;
}

/* Out of Stock & Badges Pop */
.light-theme-scope section#menu .out-of-stock {
    background-color: #ef4444;
    color: #ffffff;
}

/* ========================
   SCOPED LIGHT THEME: LOKASI KAMI PAGE
======================== */
.light-theme-scope .lokasi,
.light-theme-scope section#lokasi {
    background-color: #f8f9fa;
    color: #1e293b;
}

.light-theme-scope .lokasi-content-container {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    padding: 1.5rem;
}

.light-theme-scope .lokasi-map-iframe {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
}

.light-theme-scope .lokasi-action-wrapper a.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #ffffff;
    border: 1px solid #cbd5e1;
    color: #1e293b;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.light-theme-scope .lokasi-action-wrapper a.btn:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 106, 79, 0.25);
}

/* ========================
   SCOPED LIGHT THEME: SHOPPING CART DRAWER
======================== */
.light-theme-scope .shopping-cart {
    background-color: #ffffff !important;
    color: #1e293b !important;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1) !important;
    border-left: 1px solid #e2e8f0;
}

.light-theme-scope .shopping-cart .close-icon {
    color: #1e293b !important;
}

.light-theme-scope .shopping-cart .close-icon:hover {
    color: var(--primary) !important;
}

.light-theme-scope .shopping-cart .cart-title {
    color: #1e293b !important;
    border-bottom: 2px dashed #e2e8f0 !important;
}

.light-theme-scope .shopping-cart .cart-title span {
    color: var(--primary) !important;
}

.light-theme-scope .shopping-cart .cart-item {
    border-bottom: 1px solid #e2e8f0 !important;
}

/* Item Titles & Subtotals High Contrast */
.light-theme-scope .shopping-cart .item-detail h3,
.light-theme-scope .shopping-cart .cart-item-title,
.light-theme-scope .shopping-cart .item-detail h4,
.light-theme-scope .shopping-cart .item-detail h5,
.light-theme-scope .shopping-cart .item-detail p {
    color: #1e293b !important;
    font-weight: 600;
}

.light-theme-scope .shopping-cart .item-detail .item-price {
    color: var(--primary) !important;
    font-weight: 700;
}

/* Quantity Control Buttons & Counter */
.light-theme-scope .shopping-cart .qty-angka {
    color: #1e293b !important;
    font-weight: 700;
}

.light-theme-scope .shopping-cart .btn-qty {
    background-color: #f1f5f9 !important;
    color: #1e293b !important;
    border: 1px solid #cbd5e1 !important;
    transition: all 0.2s ease;
}

.light-theme-scope .shopping-cart .btn-qty:hover {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #ffffff !important;
}

.light-theme-scope .shopping-cart .remove-item {
    color: #ef4444 !important;
}

/* Total Price & Checkout CTA */
.light-theme-scope .shopping-cart .cart-total {
    color: #1e293b !important;
    font-weight: 700;
    border-top: 1px solid #e2e8f0;
    padding-top: 1rem;
}

.light-theme-scope .shopping-cart #cart-total-price {
    color: var(--primary) !important;
    font-weight: 700;
}

.light-theme-scope .shopping-cart .checkout-btn {
    background-color: var(--primary) !important;
    color: #ffffff !important;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(45, 106, 79, 0.3);
}

.light-theme-scope .shopping-cart .checkout-btn:hover {
    background-color: var(--primary-dark) !important;
    box-shadow: 0 8px 25px rgba(27, 67, 50, 0.4);
}

/* ========================
   SCOPED LIGHT THEME: CHECKOUT PAGE
======================== */
.light-theme-scope .checkout-page {
    background-color: #f8f9fa;
    color: #1e293b;
}

.light-theme-scope .checkout-page h2,
.light-theme-scope .checkout-page h3,
.light-theme-scope .checkout-page h4,
.light-theme-scope .checkout-page h5,
.light-theme-scope .checkout-page h6 {
    color: #1e293b !important;
}

.light-theme-scope .checkout-page p,
.light-theme-scope .checkout-page label,
.light-theme-scope .checkout-page small {
    color: #475569 !important;
}

/* Form Container Cards */
.light-theme-scope .checkout-page .row > div {
    background-color: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04) !important;
    color: #1e293b !important;
}

.light-theme-scope .checkout-page div[style*="background: #1a1a1a"],
.light-theme-scope .checkout-page div[style*="background:#1a1a1a"] {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
}

/* Form Inputs, Selects & Options */
.light-theme-scope .checkout-page .form-control,
.light-theme-scope .checkout-page input[type="text"],
.light-theme-scope .checkout-page input[type="tel"],
.light-theme-scope .checkout-page input[type="date"],
.light-theme-scope .checkout-page textarea,
.light-theme-scope .checkout-page select {
    background-color: #ffffff !important;
    color: #1e293b !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
}

.light-theme-scope .checkout-page select option {
    background-color: #ffffff !important;
    color: #1e293b !important;
}

.light-theme-scope .checkout-page .form-control:focus,
.light-theme-scope .checkout-page input:focus,
.light-theme-scope .checkout-page textarea:focus,
.light-theme-scope .checkout-page select:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.15) !important;
}

/* Delivery Method Radio Cards */
.light-theme-scope .checkout-page label[id*="lbl_"] {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #1e293b !important;
}

.light-theme-scope .checkout-page label[id*="lbl_"] span {
    color: #1e293b !important;
}

.light-theme-scope .checkout-page input[type="radio"]:checked + span,
.light-theme-scope .checkout-page label[id*="lbl_"]:has(input:checked) {
    border-color: var(--primary) !important;
    background: rgba(45, 106, 79, 0.05) !important;
}

/* Order Summary & Pricing Displays */
.light-theme-scope .checkout-page div[id*="total"],
.light-theme-scope .checkout-page .summary-total {
    color: var(--primary) !important;
    font-weight: 700;
}

/* Submit CTA Button */
.light-theme-scope .checkout-page button[type="submit"],
.light-theme-scope .checkout-page .btn-checkout-submit {
    background-color: var(--primary) !important;
    color: #ffffff !important;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(45, 106, 79, 0.3);
}

.light-theme-scope .checkout-page button[type="submit"]:hover,
.light-theme-scope .checkout-page .btn-checkout-submit:hover {
    background-color: var(--primary-dark) !important;
    box-shadow: 0 8px 25px rgba(27, 67, 50, 0.4);
}

/* ========================
   ADD TO CART TOAST NOTIFICATION
======================== */
.light-theme-scope .swal2-popup,
.light-theme-scope .toast,
.light-theme-scope #cart-toast {
    background: #ffffff !important;
    color: #1e293b !important;
    border-left: 4px solid var(--primary) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

.light-theme-scope .swal2-title,
.light-theme-scope .swal2-html-container {
    color: #1e293b !important;
}

/* ========================
   CHECKOUT PAGE EXTRA UI REFINEMENTS
======================== */

/* 1. Nasi Kotak & Nasi Putih Input Group Badge */
.light-theme-scope .checkout-page .input-group-text,
.light-theme-scope .checkout-page .input-group-append span {
    background-color: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
    border-left: 0 !important;
    color: #1e293b !important;
    font-weight: 600;
}

/* 2. Order Summary Sidebar & Quantity Controls */
.light-theme-scope .checkout-page .checkout-summary {
    background-color: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04) !important;
    color: #1e293b !important;
}

.light-theme-scope .checkout-page .qty-angka,
.light-theme-scope .checkout-page .btn-qty,
.light-theme-scope .checkout-page .item-qty,
.light-theme-scope .checkout-page div[style*="background: #111"],
.light-theme-scope .checkout-page div[style*="background:#111"],
.light-theme-scope .checkout-page span[style*="background: #111"] {
    background-color: #f1f5f9 !important;
    color: #1e293b !important;
    border: 1px solid #cbd5e1 !important;
}

.light-theme-scope .checkout-page .btn-qty:hover {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #ffffff !important;
}

.light-theme-scope .checkout-page #checkout-items strong,
.light-theme-scope .checkout-page #checkout-items h4,
.light-theme-scope .checkout-page #checkout-items h5,
.light-theme-scope .checkout-page #checkout-items p,
.light-theme-scope .checkout-page #checkout-items span {
    color: #1e293b !important;
}

.light-theme-scope .checkout-page #checkout-total-price,
.light-theme-scope .checkout-page .checkout-price-display {
    color: var(--primary) !important;
    font-weight: 700;
}

/* ========================
   CHECKOUT INPUT GROUP & QUANTITY BUTTON FIXES
======================== */

/* 1. Input Group Seamless Tiling (No Double Borders) */
.light-theme-scope .checkout-page .input-group {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.light-theme-scope .checkout-page .input-group .form-control {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    border-right: 0 !important;
}

.light-theme-scope .checkout-page .input-group-text,
.light-theme-scope .checkout-page .input-group-append span {
    background-color: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    border-left: 1px solid #cbd5e1 !important;
    color: #1e293b !important;
    font-weight: 600;
}

/* 2. Order Summary Quantity Buttons (- / +) High-Contrast Readability */
.light-theme-scope .checkout-page .btn-qty,
.light-theme-scope .checkout-page button[onclick*="updateQty"],
.light-theme-scope .checkout-page button[onclick*="updateQuantity"],
.light-theme-scope .checkout-page .checkout-summary button:not(#btn-proses-pesanan) {
    background-color: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
    color: #1e293b !important;
    font-weight: 700 !important;
    min-width: 28px;
    min-height: 28px;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 6px !important;
    transition: all 0.2s ease !important;
}

.light-theme-scope .checkout-page .btn-qty:hover,
.light-theme-scope .checkout-page button[onclick*="updateQty"]:hover,
.light-theme-scope .checkout-page button[onclick*="updateQuantity"]:hover,
.light-theme-scope .checkout-page .checkout-summary button:not(#btn-proses-pesanan):hover {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #ffffff !important;
}

/* ========================
   CHECKOUT WRAPPER BORDER REMOVAL (STRICT SoC)
======================== */
.light-theme-scope .checkout-page #paket-form-container,
.light-theme-scope .checkout-page #menu-form-container {
    background: transparent !important;
    border: none !important;
    border-top: 1px dashed #cbd5e1 !important;
    box-shadow: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.light-theme-scope .checkout-page .input-group {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.light-theme-scope .checkout-page .input-group .form-control {
    border: 1px solid #cbd5e1 !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    border-right: 0 !important;
}

.light-theme-scope .checkout-page .input-group-text,
.light-theme-scope .checkout-page .input-group-append span {
    background-color: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    color: #1e293b !important;
    font-weight: 600;
}

/* ========================
   INNER GRID COLUMN OVERRIDE (FIX DOUBLE BORDERS)
======================== */
.light-theme-scope .checkout-page .row .col-md-6,
.light-theme-scope .checkout-page .row.g-3 > div {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
}

/* ========================
   SCOPED LIGHT THEME: CHECKOUT SUMMARY ITEMS & QTY WIDGET
======================== */

/* Strip outer background box on quantity control wrapper inside #checkout-items */
.light-theme-scope .checkout-page #checkout-items div[style*="background: #111"],
.light-theme-scope .checkout-page #checkout-items div[style*="background:#111"] {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    gap: 4px;
}

/* Style individual quantity buttons inside #checkout-items */
.light-theme-scope .checkout-page #checkout-items button[onclick*="ubahQty"] {
    background-color: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
    color: #1e293b !important;
    border-radius: 6px !important;
    padding: 4px 10px !important;
    font-weight: 700 !important;
    transition: all 0.2s ease !important;
}

.light-theme-scope .checkout-page #checkout-items button[onclick*="ubahQty"]:hover {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #ffffff !important;
}

/* Style quantity counter text inside #checkout-items */
.light-theme-scope .checkout-page #checkout-items button[onclick*="ubahQty"] + span {
    color: #1e293b !important;
    font-weight: 700 !important;
    font-size: 1.3rem !important;
    padding: 0 8px !important;
}

/* Variant Badge Contrast inside #checkout-items */
.light-theme-scope .checkout-page #checkout-items div[style*="background: rgba(182, 137, 91"] {
    background: rgba(45, 106, 79, 0.08) !important;
    border: 1px solid rgba(45, 106, 79, 0.25) !important;
}

.light-theme-scope .checkout-page #checkout-items div[style*="background: rgba(182, 137, 91"] span {
    color: #1e293b !important;
}

/* ========================
   MODAL CTA BUTTON SAGE GREEN HOVER FIX
======================== */
.light-theme-scope #paket-modal .btn,
.light-theme-scope #menu-modal .btn,
.light-theme-scope .modal-sticky-footer .btn,
.light-theme-scope .modal-content .btn,
.light-theme-scope #pm-footer-btn-container .btn,
.light-theme-scope #mm-footer-btn-container .btn,
.light-theme-scope #btn-konfirmasi-varian,
.light-theme-scope #btn-trigger-variant-flow {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #ffffff !important;
    transition: all 0.2s ease !important;
}

.light-theme-scope #paket-modal .btn:hover,
.light-theme-scope #menu-modal .btn:hover,
.light-theme-scope .modal-sticky-footer .btn:hover,
.light-theme-scope .modal-content .btn:hover,
.light-theme-scope #pm-footer-btn-container .btn:hover,
.light-theme-scope #mm-footer-btn-container .btn:hover,
.light-theme-scope #btn-konfirmasi-varian:hover,
.light-theme-scope #btn-trigger-variant-flow:hover,
.light-theme-scope #paket-modal .btn:focus,
.light-theme-scope #menu-modal .btn:focus {
    background-color: var(--primary-dark) !important;
    border-color: var(--primary-dark) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(45, 106, 79, 0.3) !important;
}

/* ========================
   SCOPED LIGHT THEME: TOAST & ALERT NOTIFICATIONS
======================== */
.light-theme-scope .swal2-popup,
.light-theme-scope .toast,
.light-theme-scope .cart-toast,
.light-theme-scope .toastify,
.light-theme-scope div[class*="toast"],
.light-theme-scope div[id*="toast"],
.light-theme-scope div[class*="alert"] {
    background-color: #ffffff !important;
    color: #1e293b !important;
    border: 1px solid #e2e8f0 !important;
    border-left: 4px solid var(--primary) !important;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1) !important;
    border-radius: 12px !important;
}

.light-theme-scope .swal2-title,
.light-theme-scope .swal2-html-container,
.light-theme-scope .toastify-text,
.light-theme-scope div[class*="toast"] *,
.light-theme-scope div[id*="toast"] * {
    color: #1e293b !important;
}

.light-theme-scope .swal2-icon.swal2-success .swal2-success-ring {
    border-color: rgba(45, 106, 79, 0.3) !important;
}

.light-theme-scope .swal2-icon.swal2-success [class^='swal2-success-line'] {
    background-color: var(--primary) !important;
}

/* ========================
   SCOPED LIGHT THEME: RIWAYAT PESANAN PAGE
======================== */

.light-theme-scope .riwayat-section,
.light-theme-scope .riwayat-page {
    background-color: #f8f9fa !important;
    color: #1e293b;
}

.light-theme-scope .riwayat-section h2,
.light-theme-scope .riwayat-section h2 span,
.light-theme-scope .riwayat-page h1,
.light-theme-scope .riwayat-page .page-title {
    color: #1e293b !important;
    text-shadow: none !important;
}

/* 1. Tabs Navigation */
.light-theme-scope .gf-tabs-container,
.light-theme-scope .riwayat-page .nav-pills,
.light-theme-scope .riwayat-page .tab-container {
    background-color: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 6px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.light-theme-scope .gf-tab,
.light-theme-scope .riwayat-page .nav-link,
.light-theme-scope .riwayat-page .tab-btn {
    color: #64748b !important;
    background: transparent !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    border: none !important;
}

.light-theme-scope .gf-tab.active,
.light-theme-scope .riwayat-page .nav-link.active,
.light-theme-scope .riwayat-page .tab-btn.active {
    background-color: var(--primary) !important; /* Sage Green */
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(45, 106, 79, 0.2) !important;
}

/* 2. Order Card Containers */
.light-theme-scope .gf-card,
.light-theme-scope .riwayat-page .order-card,
.light-theme-scope .riwayat-page .card-pesanan {
    background-color: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;
    color: #1e293b !important;
}

/* 3. Order Card Header & Details */
.light-theme-scope .gf-card-header,
.light-theme-scope .gf-card-body,
.light-theme-scope .gf-card-footer,
.light-theme-scope .riwayat-page .order-header,
.light-theme-scope .riwayat-page .order-body {
    border-color: #f1f5f9 !important;
    color: #1e293b !important;
}

.light-theme-scope .gf-header-text h4,
.light-theme-scope .riwayat-page .order-id,
.light-theme-scope .riwayat-page .text-white,
.light-theme-scope .riwayat-page .order-info label,
.light-theme-scope .riwayat-page .order-info span {
    color: #1e293b !important;
}

.light-theme-scope .gf-header-text p {
    color: #64748b !important;
}

.light-theme-scope .gf-icon-box {
    background: #f1f5f9 !important;
    color: var(--primary) !important;
    border: 1px solid #e2e8f0 !important;
}

/* 4. Badges (Status & Method) */
.light-theme-scope .riwayat-page .badge-status-selesai,
.light-theme-scope .riwayat-page .badge-success {
    background-color: rgba(45, 106, 79, 0.1) !important;
    color: var(--primary) !important;
    border: 1px solid rgba(45, 106, 79, 0.25) !important;
    font-weight: 600 !important;
}

.light-theme-scope .gf-btn.secondary,
.light-theme-scope .riwayat-page .badge-metode,
.light-theme-scope .riwayat-page .badge-secondary {
    background-color: #f1f5f9 !important;
    color: #475569 !important;
    border: 1px solid #cbd5e1 !important;
}

/* 5. Buttons (Ulasan & Pesan Lagi) */
.light-theme-scope .gf-btn.outline,
.light-theme-scope .riwayat-page .btn-outline-primary,
.light-theme-scope .riwayat-page .btn-ulasan {
    border: 1px solid var(--primary) !important;
    color: var(--primary) !important;
    background: transparent !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
}

.light-theme-scope .gf-btn.outline:hover,
.light-theme-scope .riwayat-page .btn-outline-primary:hover,
.light-theme-scope .riwayat-page .btn-ulasan:hover {
    background-color: var(--primary) !important;
    color: #ffffff !important;
}

.light-theme-scope .gf-btn.primary,
.light-theme-scope .riwayat-page .btn-pesan-lagi,
.light-theme-scope .riwayat-page .btn-primary {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
}

.light-theme-scope .gf-btn.primary:hover,
.light-theme-scope .riwayat-page .btn-primary:hover {
    background-color: var(--primary-dark) !important;
    border-color: var(--primary-dark) !important;
}

/* ========================
   SCOPED LIGHT THEME: RIWAYAT CARD FOOTER & TEXT VISIBILITY FIX
======================== */

/* 1. Fix Card Footer Background in Light Theme */
.light-theme-scope .riwayat-section .gf-card-footer,
.light-theme-scope .riwayat-page .card-footer,
.light-theme-scope .gf-card .gf-card-footer,
.light-theme-scope .gf-card div[style*="background: #111"],
.light-theme-scope .gf-card div[style*="background:#111"] {
    background-color: #f8fafc !important;
    border-top: 1px solid #e2e8f0 !important;
}

/* 2. Fix Text Visibility for Recipient Name and Info Labels */
.light-theme-scope .riwayat-section .gf-card-body *,
.light-theme-scope .riwayat-section .gf-val,
.light-theme-scope .riwayat-section .gf-label,
.light-theme-scope .riwayat-section div[style*="color: #eee"],
.light-theme-scope .riwayat-section div[style*="color:#eee"],
.light-theme-scope .riwayat-section span[style*="color: #eee"],
.light-theme-scope .riwayat-section p[style*="color: #eee"],
.light-theme-scope .riwayat-section p[style*="color: #ccc"],
.light-theme-scope .riwayat-section .gf-details-toggle span {
    color: #1e293b !important;
}

/* Ensure secondary info text is dark slate */
.light-theme-scope .riwayat-section .text-muted,
.light-theme-scope .riwayat-section div[style*="color: #888"],
.light-theme-scope .riwayat-section p[style*="color: #888"],
.light-theme-scope .riwayat-section div[style*="color: #aaa"] {
    color: #64748b !important;
}

.light-theme-scope .riwayat-section .gf-price {
    color: var(--primary) !important;
    font-weight: 700;
}

/* ========================
   SCOPED LIGHT THEME: RIWAYAT DETAIL PANEL DROPDOWN FIX
======================== */

/* Fix "Lihat Detail Pesanan" Container Background */
.light-theme-scope .riwayat-section .gf-detail-panel,
.light-theme-scope .riwayat-section .order-detail-container,
.light-theme-scope .riwayat-section .gf-card-detail,
.light-theme-scope .riwayat-section div[style*="background: #111"],
.light-theme-scope .riwayat-section div[style*="background:#111"],
.light-theme-scope .riwayat-section div[style*="background: #181818"],
.light-theme-scope .riwayat-section div[style*="background:#181818"] {
    background-color: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
    padding: 1.2rem !important;
    margin-top: 1rem !important;
}

/* Fix Text Colors Inside Detail Box (Item Names, Qty, Prices, & Address) */
.light-theme-scope .riwayat-section .gf-detail-panel *,
.light-theme-scope .riwayat-section .gf-detail-item *,
.light-theme-scope .riwayat-section div[style*="background: #111"] *,
.light-theme-scope .riwayat-section div[style*="background:#111"] *,
.light-theme-scope .riwayat-section div[style*="background: #181818"] *,
.light-theme-scope .riwayat-section div[style*="background:#181818"] *,
.light-theme-scope .riwayat-section .order-detail-container *,
.light-theme-scope .riwayat-section .gf-card-detail * {
    color: #1e293b !important;
}

.light-theme-scope .riwayat-section .gf-detail-item span[style*="color:#ccc"],
.light-theme-scope .riwayat-section .gf-detail-item span[style*="color: #ccc"],
.light-theme-scope .riwayat-section .gf-detail-item span[style*="color:#fff"],
.light-theme-scope .riwayat-section .gf-detail-item span[style*="color: #fff"] {
    color: #1e293b !important;
    font-weight: 600;
}

.light-theme-scope .riwayat-section .gf-detail-item div[style*="color:var(--primary)"] {
    color: var(--primary) !important;
    font-weight: 700;
}

/* Muted Info Text & Borders */
.light-theme-scope .riwayat-section .gf-detail-panel div[style*="border-top"],
.light-theme-scope .riwayat-section div[style*="border-top: 1px dashed"] {
    border-top-color: #e2e8f0 !important;
}

.light-theme-scope .riwayat-section .gf-detail-panel p[style*="color: #888"] {
    color: #64748b !important;
}

/* ========================
   SCOPED LIGHT THEME: USER PROFILE PAGE
======================== */

/* Main Section & Typography */
.light-theme-scope .profil-section,
.light-theme-scope .profile-section,
.light-theme-scope .profile-page {
    background-color: #f8f9fa !important;
    color: #1e293b !important;
}

.light-theme-scope .profil-section h2,
.light-theme-scope .profil-section h2 span,
.light-theme-scope .profile-section h1,
.light-theme-scope .profile-section h2,
.light-theme-scope .profile-page h1,
.light-theme-scope .profile-page .page-title {
    color: #1e293b !important;
    text-shadow: none !important;
}

/* Sidebar Container & Content Area Cards */
.light-theme-scope .profil-section div[style*="background-color: #222"],
.light-theme-scope .profil-section div[style*="background-color:#222"],
.light-theme-scope .profile-sidebar,
.light-theme-scope .user-card,
.light-theme-scope .profile-card,
.light-theme-scope div[style*="background: #181818"],
.light-theme-scope div[style*="background:#181818"] {
    background-color: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;
    color: #1e293b !important;
}

.light-theme-scope .profil-section strong,
.light-theme-scope .profil-section h3,
.light-theme-scope .profil-section h4,
.light-theme-scope .profil-section label,
.light-theme-scope .profile-sidebar *,
.light-theme-scope .user-card *,
.light-theme-scope .profile-card * {
    color: #1e293b !important;
}

.light-theme-scope .profil-section div[style*="border-bottom: 1px solid"],
.light-theme-scope .profil-section li[style*="border-top: 1px solid"] {
    border-color: #f1f5f9 !important;
}

/* Sidebar Navigation Items */
.light-theme-scope .profil-section .tab-btn,
.light-theme-scope .profile-nav .nav-item,
.light-theme-scope .profile-menu a {
    color: #64748b !important;
    background: transparent !important;
    font-weight: 600 !important;
}

.light-theme-scope .profil-section .tab-btn.active,
.light-theme-scope .profil-section .tab-btn:hover,
.light-theme-scope .profile-nav .nav-item.active,
.light-theme-scope .profile-menu a.active {
    background-color: var(--primary) !important;
    color: #ffffff !important;
    border-color: var(--primary) !important;
    box-shadow: 0 2px 8px rgba(45, 106, 79, 0.2) !important;
}

.light-theme-scope .profil-section .tab-btn.active *,
.light-theme-scope .profile-nav .nav-item.active *,
.light-theme-scope .profile-menu a.active * {
    color: #ffffff !important;
}

/* Form Controls & Action Buttons */
.light-theme-scope .profil-section .form-control,
.light-theme-scope .profile-content .form-control,
.light-theme-scope .profile-section input.form-control {
    background-color: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #1e293b !important;
    border-radius: 8px !important;
}

.light-theme-scope .profil-section .form-control[readonly],
.light-theme-scope .profil-section input[readonly] {
    background-color: #f1f5f9 !important;
    color: #64748b !important;
    border-color: #e2e8f0 !important;
}

.light-theme-scope .profil-section button[type="submit"],
.light-theme-scope .profile-content .btn-primary,
.light-theme-scope .profile-section .btn-primary {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
}

.light-theme-scope .profil-section button[type="submit"]:hover,
.light-theme-scope .profile-content .btn-primary:hover,
.light-theme-scope .profile-section .btn-primary:hover {
    background-color: var(--primary-dark) !important;
    border-color: var(--primary-dark) !important;
}

/* ========================
   SCOPED LIGHT THEME: BUKU ALAMAT CARDS & FORM FIX
======================== */

/* Address Cards & Form Containers */
.light-theme-scope .profil-section #tab-alamat div[style*="background: #1a1a1a"],
.light-theme-scope .profil-section #tab-alamat div[style*="background:#1a1a1a"],
.light-theme-scope .profil-section #form-alamat-container,
.light-theme-scope .profil-section .alamat-card,
.light-theme-scope .profil-section .address-card {
    background-color: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;
    color: #1e293b !important;
}

/* Inner Form Section Boxes (Map & Details) */
.light-theme-scope .profil-section #form-alamat-container div[style*="background: rgba(0,0,0"],
.light-theme-scope .profil-section #form-alamat-container div[style*="background:rgba(0,0,0"] {
    background-color: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
}

/* Text Visibility (Headings, Recipient Name, Phone Number, Details & Labels) */
.light-theme-scope .profil-section #tab-alamat h3,
.light-theme-scope .profil-section #tab-alamat h4,
.light-theme-scope .profil-section #tab-alamat h5,
.light-theme-scope .profil-section #tab-alamat label,
.light-theme-scope .profil-section #tab-alamat span,
.light-theme-scope .profil-section #tab-alamat p,
.light-theme-scope .profil-section #tab-alamat div {
    color: #1e293b;
}

.light-theme-scope .profil-section #tab-alamat h3[style*="color: #fff"],
.light-theme-scope .profil-section #tab-alamat h4[style*="color: #fff"],
.light-theme-scope .profil-section #tab-alamat h5[style*="color: #fff"],
.light-theme-scope .profil-section #tab-alamat label[style*="color: #fff"],
.light-theme-scope .profil-section #tab-alamat span[style*="color: #ccc"],
.light-theme-scope .profil-section #tab-alamat p[style*="color: #ccc"] {
    color: #1e293b !important;
}

.light-theme-scope .profil-section #tab-alamat p[style*="color: #aaa"],
.light-theme-scope .profil-section #tab-alamat span[style*="color: #aaa"],
.light-theme-scope .profil-section #tab-alamat label[style*="color: #888"] {
    color: #64748b !important;
}

/* Action Links (Ubah / Hapus) and Utama Badge */
.light-theme-scope .profil-section #tab-alamat a[onclick*="editAlamat"] {
    color: var(--primary) !important;
    font-weight: 600 !important;
}

.light-theme-scope .profil-section #tab-alamat a[href*="hapus_alamat"] {
    color: #ef4444 !important;
    font-weight: 600 !important;
}

.light-theme-scope .profil-section #tab-alamat span[style*="border: 1px solid var(--primary)"] {
    background-color: rgba(45, 106, 79, 0.1) !important;
    color: var(--primary) !important;
    border: 1px solid rgba(45, 106, 79, 0.3) !important;
    font-weight: 600 !important;
}

.light-theme-scope .profil-section #tab-alamat .btn-outline {
    border: 1px solid #cbd5e1 !important;
    color: #475569 !important;
    background-color: #f1f5f9 !important;
    border-radius: 6px !important;
}

/* ========================
   SCOPED LIGHT THEME: DETAIL MODAL REFINEMENTS
======================== */

/* 1. Fix Hover Visibility on Modal Description / Review Tabs */
.light-theme-scope .modal .nav-pills .nav-link:hover,
.light-theme-scope .modal .tab-btn:hover,
.light-theme-scope div[class*="modal"] .nav-link:hover {
    background-color: #f1f5f9 !important;
    color: var(--primary) !important;
}

.light-theme-scope .modal .nav-pills .nav-link.active,
.light-theme-scope .modal .tab-btn.active {
    background-color: var(--primary) !important;
    color: #ffffff !important;
}

/* 2. Fix Inner Detail Container Contrast */
.light-theme-scope .modal .modal-body,
.light-theme-scope .modal .modal-content,
.light-theme-scope .modal-detail-container,
.light-theme-scope div[class*="modal"] div[style*="background: #ffffff"],
.light-theme-scope div[class*="modal"] div[style*="background:#ffffff"] {
    background-color: #f8fafc !important;
    color: #1e293b !important;
}

.light-theme-scope .modal .modal-content {
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08) !important;
}

.light-theme-scope .modal label,
.light-theme-scope .modal h3,
.light-theme-scope .modal h4,
.light-theme-scope .modal h5,
.light-theme-scope .modal p,
.light-theme-scope .modal span {
    color: #1e293b !important;
}

/* ========================
   HIGH-SPECIFICITY DETAIL MODAL OVERRIDES (#detailModal / #paket-modal / #menu-modal)
======================== */

/* High-Specificity Overrides for Detail Modal Container & Body */
.light-theme-scope #detailModal .modal-content,
.light-theme-scope #detailModal .modal-body,
.light-theme-scope #paket-modal .modal-content,
.light-theme-scope #paket-modal .modal-body,
.light-theme-scope #menu-modal .modal-content,
.light-theme-scope #menu-modal .modal-body,
.light-theme-scope .modal .modal-content,
.light-theme-scope .modal .modal-body {
    background-color: #f8fafc !important;
    color: #1e293b !important;
}

/* High-Specificity Hover State for Description & Review Nav Tabs */
.light-theme-scope #detailModal .nav-tabs .nav-link:hover,
.light-theme-scope #detailModal .nav-pills .nav-link:hover,
.light-theme-scope #detailModal .tab-btn:hover,
.light-theme-scope #paket-modal .nav-link:hover,
.light-theme-scope #menu-modal .nav-link:hover,
.light-theme-scope .modal .nav-link:hover {
    background-color: #e2e8f0 !important;
    color: var(--primary) !important;
}

.light-theme-scope #detailModal .nav-tabs .nav-link.active,
.light-theme-scope #detailModal .nav-pills .nav-link.active,
.light-theme-scope #detailModal .tab-btn.active,
.light-theme-scope #paket-modal .nav-link.active,
.light-theme-scope #menu-modal .nav-link.active,
.light-theme-scope .modal .nav-link.active {
    background-color: var(--primary) !important;
    color: #ffffff !important;
}

/* Text Areas, Inputs, & Form Controls Inside Detail Modal */
.light-theme-scope #detailModal textarea,
.light-theme-scope #detailModal input,
.light-theme-scope #detailModal .form-control,
.light-theme-scope #paket-modal textarea,
.light-theme-scope #paket-modal input,
.light-theme-scope #paket-modal .form-control,
.light-theme-scope #menu-modal textarea,
.light-theme-scope #menu-modal input,
.light-theme-scope #menu-modal .form-control {
    background-color: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #1e293b !important;
    border-radius: 8px !important;
}

/* ========================
   FORCE SAGE GREEN HOVER VISIBILITY ON MODAL TABS
======================== */

/* Force Tab Hover Text Visibility inside Modals */
.light-theme-scope .modal .nav-tabs .nav-link:hover,
.light-theme-scope .modal .nav-pills .nav-link:hover,
.light-theme-scope .modal .nav-link:hover,
.light-theme-scope .modal .tab-btn:hover,
.light-theme-scope div[class*="modal"] button:hover,
.light-theme-scope div[class*="modal"] a:hover {
    background-color: #e2e8f0 !important;
    color: var(--primary) !important;
    opacity: 1 !important;
}

/* Force Active Tab Style */
.light-theme-scope .modal .nav-tabs .nav-link.active,
.light-theme-scope .modal .nav-pills .nav-link.active,
.light-theme-scope .modal .nav-link.active,
.light-theme-scope .modal .tab-btn.active {
    background-color: var(--primary) !important;
    color: #ffffff !important;
    opacity: 1 !important;
}

/* Fix Inactive Tab Default State */
.light-theme-scope .modal .nav-tabs .nav-link:not(.active),
.light-theme-scope .modal .nav-pills .nav-link:not(.active),
.light-theme-scope .modal .nav-link:not(.active) {
    color: #475569 !important;
}

/* ========================
   SCOPED LIGHT THEME: EXACT MODAL TAB HOVER & ACTIVE STYLES (.modal-tab)
======================== */
.light-theme-scope .modal-tabs {
    background-color: #f1f5f9 !important;
    border-bottom: 1px solid #e2e8f0 !important;
    display: flex;
}

.light-theme-scope .modal-tab {
    color: #64748b !important;
    background: transparent !important;
    padding: 1.2rem 2rem !important;
    font-weight: 600 !important;
    font-size: 1.4rem !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    border-bottom: 2px solid transparent !important;
}

.light-theme-scope .modal-tab:hover {
    background-color: #e2e8f0 !important;
    color: var(--primary) !important;
}

.light-theme-scope .modal-tab.active {
    background-color: var(--primary) !important;
    color: #ffffff !important;
    border-bottom-color: var(--primary) !important;
}

/* ========================
   SCOPED LIGHT THEME: AUTH PAGES (LOGIN & REGISTER)
======================== */

/* Main Container & Canvas */
.light-theme-scope .auth-section,
.light-theme-scope .login-section,
.light-theme-scope .register-section,
.light-theme-scope div[class*="auth-container"],
.light-theme-scope div[class*="login-container"] {
    background-image: none !important;
    background-color: #f8f9fa !important;
    color: #1e293b !important;
}

/* Auth Card Box */
.light-theme-scope .auth-card,
.light-theme-scope .login-card,
.light-theme-scope .register-card,
.light-theme-scope div[style*="background: #181818"],
.light-theme-scope div[style*="background:#181818"],
.light-theme-scope div[style*="background-color: #222"],
.light-theme-scope div[style*="background-color:#222"] {
    background-color: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 2rem !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
}

/* Typography & Headings */
.light-theme-scope .auth-header h2,
.light-theme-scope .auth-card h1,
.light-theme-scope .auth-card h2,
.light-theme-scope .auth-card h3,
.light-theme-scope .auth-card h4,
.light-theme-scope .form-group label,
.light-theme-scope .remember-me,
.light-theme-scope .auth-card span {
    color: #1e293b !important;
}

.light-theme-scope .auth-header p,
.light-theme-scope .auth-footer,
.light-theme-scope .auth-card .text-muted,
.light-theme-scope .auth-card p {
    color: #64748b !important;
}

/* Form Control Inputs & Captcha Box */
.light-theme-scope .input-wrapper input,
.light-theme-scope .input-wrapper textarea,
.light-theme-scope .auth-card .form-control,
.light-theme-scope .auth-section input[type="text"],
.light-theme-scope .auth-section input[type="password"],
.light-theme-scope .auth-section input[type="email"] {
    background-color: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #1e293b !important;
    border-radius: 1rem !important;
}

.light-theme-scope .input-wrapper input:focus,
.light-theme-scope .input-wrapper textarea:focus,
.light-theme-scope .auth-card .form-control:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.15) !important;
    background-color: #ffffff !important;
}

.light-theme-scope .auth-card div[style*="background: rgba(182, 137, 91"],
.light-theme-scope .auth-card .captcha-box {
    background-color: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-left: 4px solid var(--primary) !important;
    border-radius: 1rem !important;
}

/* Primary Action Buttons & Links */
.light-theme-scope .auth-btn,
.light-theme-scope .auth-card .btn-primary,
.light-theme-scope .auth-card button[type="submit"] {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #ffffff !important;
    border-radius: 1rem !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 12px rgba(45, 106, 79, 0.2) !important;
}

.light-theme-scope .auth-btn:hover,
.light-theme-scope .auth-card .btn-primary:hover,
.light-theme-scope .auth-card button[type="submit"]:hover {
    background-color: var(--primary-dark) !important;
    border-color: var(--primary-dark) !important;
    color: #ffffff !important;
}

.light-theme-scope .forgot-pass,
.light-theme-scope .auth-footer a,
.light-theme-scope .auth-card a,
.light-theme-scope .auth-section a {
    color: var(--primary) !important;
    font-weight: 600 !important;
}

.light-theme-scope .forgot-pass:hover,
.light-theme-scope .auth-footer a:hover,
.light-theme-scope .auth-card a:hover {
    text-decoration: underline !important;
}

/* ==========================================
   GLOBAL LIGHT THEME: SWEETALERT2 & POP-UP MODALS
========================================== */

/* 1. SweetAlert Container Canvas & Border */
.light-theme-scope .swal2-popup,
.light-theme-scope .swal2-modal,
.swal2-popup,
.swal2-modal,
div[class*="swal2-popup"] {
    background-color: #ffffff !important;
    color: #1e293b !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12) !important;
}

/* 2. SweetAlert Icons & Circular Frames */
.swal2-icon {
    border-color: #cbd5e1 !important;
}

.swal2-icon.swal2-question,
.swal2-icon.swal2-warning,
.swal2-icon.swal2-info {
    border-color: var(--primary, #2d6a4f) !important;
    color: var(--primary, #2d6a4f) !important;
}

/* 3. Headings & Message Text */
.swal2-title,
.swal2-html-container,
.swal2-content,
div[class*="swal2-title"],
div[class*="swal2-html-container"] {
    color: #1e293b !important;
}

/* 4. Confirm Button ("Ya, Lanjutkan") */
.swal2-confirm,
button.swal2-confirm,
.swal2-styled.swal2-confirm {
    background-color: var(--primary, #2d6a4f) !important;
    border-color: var(--primary, #2d6a4f) !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 12px rgba(45, 106, 79, 0.2) !important;
}

.swal2-confirm:hover,
button.swal2-confirm:hover {
    background-color: #1b4332 !important;
    border-color: #1b4332 !important;
}

/* 5. Cancel / Abort Button ("Batal") */
.swal2-cancel,
button.swal2-cancel,
.swal2-styled.swal2-cancel {
    background-color: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
    color: #475569 !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
}

.swal2-cancel:hover,
button.swal2-cancel:hover {
    background-color: #e2e8f0 !important;
    color: #1e293b !important;
}

/* ==========================================
   LIGHT THEME: USER PROFILE DROPDOWN MENU
========================================== */

/* 1. Dropdown Container Canvas & Elevation */
.dropdown-menu,
.user-dropdown,
.profile-dropdown,
div[class*="dropdown-menu"],
div[style*="background: #181818"],
div[style*="background:#181818"] {
    background-color: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08) !important;
    padding: 8px !important;
}

/* 2. Dropdown Header / User Info Box */
.dropdown-header,
.dropdown-user-info,
.user-dropdown .user-name {
    color: #1e293b !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

/* 3. Dropdown Menu Items & Links */
.dropdown-item,
.dropdown-menu a,
.user-dropdown a {
    color: #334155 !important;
    border-radius: 8px !important;
    padding: 8px 12px !important;
    font-weight: 500 !important;
    transition: all 0.2s ease !important;
}

.dropdown-item:hover,
.dropdown-menu a:hover,
.user-dropdown a:hover {
    background-color: #f1f5f9 !important;
    color: var(--primary, #2d6a4f) !important;
}

/* 4. Specific Styling for Logout Button inside Dropdown */
.dropdown-item.text-danger,
.dropdown-item.logout-btn,
.dropdown-menu a[href*="logout"],
.user-dropdown a[href*="logout"] {
    color: #dc2626 !important;
}

.dropdown-item.text-danger:hover,
.dropdown-item.logout-btn:hover,
.dropdown-menu a[href*="logout"]:hover,
.user-dropdown a[href*="logout"]:hover {
    background-color: #fef2f2 !important;
    color: #b91c1c !important;
}

/* ==========================================
   SCOPED LIGHT THEME: CUSTOMER HEADER PROFILE DROPDOWN (.dropdown-content)
========================================== */
.light-theme-scope .profile-dropdown .dropdown-content,
.light-theme-scope .dropdown-content {
    background-color: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08) !important;
    padding: 8px !important;
}

.light-theme-scope .profile-dropdown .user-name,
.light-theme-scope .profile-dropdown .user-role {
    color: #1e293b !important;
}

.light-theme-scope .profile-dropdown hr {
    border-color: #f1f5f9 !important;
}

.light-theme-scope .profile-dropdown .dropdown-item {
    color: #334155 !important;
}

.light-theme-scope .profile-dropdown .dropdown-item:hover {
    background-color: #f1f5f9 !important;
    color: var(--primary) !important;
}

.light-theme-scope .profile-dropdown .logout-btn {
    color: #dc2626 !important;
}

.light-theme-scope .profile-dropdown .logout-btn:hover {
    background-color: #fef2f2 !important;
    color: #b91c1c !important;
}

/* ==========================================
   CLEAN TRANSPARENT USER PROFILE ICON TRIGGER
========================================== */

/* Ensure Profile Dropdown Outer Wrapper is Completely Transparent */
.auth-links,
.profile-dropdown,
.light-theme-scope .auth-links,
.light-theme-scope .profile-dropdown {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    position: relative !important;
}

/* Match Search & Cart Header Icons Exactly */
.profile-dropdown .profile-trigger,
.profile-trigger,
.light-theme-scope .profile-dropdown .profile-trigger,
.light-theme-scope .profile-trigger {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: #1e293b !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: color 0.2s ease, transform 0.2s ease !important;
}

.profile-dropdown .profile-trigger:hover,
.profile-trigger:hover,
.light-theme-scope .profile-dropdown .profile-trigger:hover,
.light-theme-scope .profile-trigger:hover {
    color: var(--primary) !important;
    background: transparent !important;
    transform: translateY(-2px) !important;
}

/* ==========================================
   FORCE SWEETALERT2 POPUP ABOVE MODALS
========================================== */
.swal2-container {
    z-index: 99999 !important;
}

/* ==========================================
   LIGHT THEME STANDARDIZATION FOR SEARCH RESULTS PAGE (#search-result)
========================================== */
#search-result {
    background-color: #f8fafc !important;
}

#search-result .catalog-card {
    background-color: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease !important;
}

#search-result .catalog-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08) !important;
    border-color: #cbd5e1 !important;
}

#search-result .catalog-card-title {
    color: #0f172a !important;
}

#search-result .catalog-card-price {
    color: var(--primary, #2d6a4f) !important;
}

/* ==========================================
   HIGH-CONTRAST SEARCH INPUT TYPOGRAPHY
========================================== */
#live-search-container input,
#search-box,
#search-input,
.search-input,
.search-box input,
.search-form input {
    color: #0f172a !important;
    background-color: #ffffff !important;
    caret-color: #2d6a4f !important;
    font-weight: 600 !important;
}

/* Fix placeholder text color */
#search-box::placeholder,
#search-input::placeholder,
.search-input::placeholder,
.search-form input::placeholder {
    color: #94a3b8 !important;
    opacity: 1 !important;
}

/* ==========================================
   UNIFORM NAVBAR ACTION ICONS SPACING
========================================== */
.navbar-extra,
.nav-action-icons {
    display: flex !important;
    align-items: center !important;
    gap: 18px !important;
}

.navbar-extra > a,
.navbar-extra .auth-links,
.navbar-extra .profile-dropdown,
.navbar-extra .profile-trigger,
.navbar-extra .login-btn-nav {
    margin: 0 !important;
    padding: 0 !important;
}

/* ==========================================
   HIGH CONTRAST ADDRESS MAIN TOGGLE SWITCH & LABEL
========================================== */
.main-address-toggle-container,
.address-form .toggle-box,
#tab-alamat .toggle-box {
    background-color: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 12px 16px !important;
}

.main-address-toggle-container span,
.main-address-toggle-container label,
.address-form .form-check-label,
label[for="is_utama"] {
    color: #0f172a !important;
    font-weight: 600 !important;
    font-size: 1.4rem !important;
}

/* ==========================================
   HIGH CONTRAST PROFILE PAGE TYPOGRAPHY & FORMS
========================================== */
.profil-section label,
.profil-section .form-check-label,
#tab-profil label,
#tab-alamat label,
#tab-password label {
    color: #0f172a !important;
    font-weight: 600 !important;
}

.profil-section .form-control,
#tab-profil input.form-control,
#tab-alamat input.form-control,
#tab-alamat textarea.form-control,
#tab-password input.form-control,
#tab-password select.form-control {
    color: #0f172a !important;
    background-color: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
}

.profil-section .form-control[readonly],
#tab-profil input[readonly],
#tab-password input[readonly] {
    background-color: #f1f5f9 !important;
    color: #475569 !important;
    cursor: not-allowed !important;
}

#tab-profil h3,
#tab-alamat h3,
#tab-password h3,
#tab-password h4 {
    color: #0f172a !important;
}

/* ==========================================
   LIGHT THEME CHECKOUT FORM INPUTS & CERTIFICATE
========================================== */
.checkout-page input.form-control,
.checkout-page select.form-control,
.checkout-page textarea.form-control,
.checkout-section input.form-control,
.checkout-section select.form-control,
.checkout-section textarea.form-control,
#form-aqiqah input,
#form-aqiqah select,
#form-nazar input,
input[name="anak_ke"],
input[type="number"].form-control {
    background-color: #ffffff !important;
    color: #0f172a !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
}

#form-aqiqah label,
#form-nazar label {
    color: #0f172a !important;
    font-weight: 600 !important;
}

.checkout-page input:disabled,
.checkout-page select:disabled,
#form-aqiqah input:disabled,
#form-aqiqah select:disabled,
#form-nazar input:disabled {
    background-color: #f1f5f9 !important;
    color: #0f172a !important;
    opacity: 0.95 !important;
    cursor: default !important;
}

.checkout-page input::placeholder,
.checkout-page textarea::placeholder,
.checkout-section input::placeholder,
#form-aqiqah input::placeholder,
#form-nazar input::placeholder {
    color: #94a3b8 !important;
    opacity: 1 !important;
}

/* ==========================================
   FORCE CLEAN LIGHT THEME ON ADMIN PAGINATION LINKS
========================================== */
.pagination-wrapper,
.pagination {
    display: flex !important;
    gap: 6px !important;
    justify-content: center !important;
    margin-top: 2rem !important;
    flex-wrap: wrap !important;
}

/* Outer wrapper reset (eliminates double border) */
.pagination .page-item,
.pagination-wrapper .page-item {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 2px !important;
    box-shadow: none !important;
}

/* Inner interactive page-link single-border button */
.pagination .page-link,
.pagination a,
.pagination-wrapper a,
.pagination span.current,
.pagination-wrapper span.current {
    background-color: #ffffff !important;
    color: #0f172a !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    padding: 8px 14px !important;
    font-weight: 600 !important;
    font-size: 0.92rem !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease-in-out !important;
}

/* Active Page Button Styling */
.pagination .page-item.active .page-link,
.pagination .active a,
.pagination span.current,
.pagination-wrapper span.current {
    background-color: #2d6a4f !important; /* Emerald Green */
    color: #ffffff !important;
    border-color: #2d6a4f !important;
}

/* Hover State */
.pagination a:hover,
.pagination-wrapper a:hover,
.pagination .page-link:hover {
    background-color: #f1f5f9 !important;
    color: #2d6a4f !important;
    border-color: #2d6a4f !important;
}
