:root {
  --bg-pink: #F5A8C4;
  --bg-pink-light: #FCE8EF;
  --sidebar-bg: #E2E2E2;
  --header-bg: #FFFFFF;
  --text-main: #333333;
  --text-light: #666666;
  --accent-pink: #D13F74;
  --accent-pink-hover: #AB2B57;
  --white: #FFFFFF;
  --input-bg: #E0E0E0;
  --border-color: #E2E8F0;
  
  /* Status Colors */
  --status-pending: #F5A623;
  --status-pending-bg: #FDF4E7;
  --status-processing: #4A90E2;
  --status-processing-bg: #EBF3FC;
  --status-shipping: #B854A6;
  --status-shipping-bg: #F8EBF6;
  --status-success: #7ED321;
  --status-success-bg: #F2FBF0;
  --status-cancelled: #D0021B;
  --status-cancelled-bg: #FDF0F2;

  --font-outfit: 'Outfit', sans-serif;
  --font-inter: 'Inter', sans-serif;

  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 10px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  height: auto;
  min-height: 100%;
  -webkit-overflow-scrolling: touch;
  touch-action: manipulation;
}

body {
  font-family: var(--font-inter);
  background-color: var(--bg-pink);
  color: var(--text-main);
  line-height: 1.5;
  min-height: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
}

#app {
  width: 100%;
  min-height: 100vh;
  height: auto;
  position: relative;
  overflow: visible;
}

button, input, select, textarea {
  font-family: inherit;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.15);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.3);
}

/* Core Layout */
.app-container {
  display: flex;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
}

/* Sidebar Styles */
.sidebar {
  width: 260px;
  background-color: var(--sidebar-bg);
  display: flex;
  flex-direction: column;
  padding: 30px 20px;
  flex-shrink: 0;
  border-right: 1px solid rgba(0, 0, 0, 0.05);
  justify-content: space-between;
}

.brand-section {
  margin-bottom: 40px;
}

.brand-title {
  font-family: var(--font-outfit);
  font-size: 22px;
  font-weight: 800;
  color: #1A1A1A;
  line-height: 1.1;
}

.brand-subtitle {
  font-size: 11px;
  color: var(--text-light);
  margin-top: 2px;
}

.menu-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
}

.menu-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  color: #333333;
  cursor: pointer;
  transition: var(--transition);
}

.menu-item i {
  font-size: 18px;
  width: 24px;
  text-align: center;
}

.menu-item:hover {
  background-color: rgba(255, 255, 255, 0.3);
  transform: translateX(4px);
}

.menu-item.active {
  color: var(--accent-pink);
}

.menu-item.active i {
  color: var(--accent-pink);
}

.sidebar-footer {
  margin-top: auto;
}

/* Main Area Layout */
.main-wrapper {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  overflow: hidden;
}

/* Header Styles */
.main-header {
  height: 70px;
  background-color: var(--header-bg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
  border-bottom: 1px solid var(--border-color);
  flex-shrink: 0;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.menu-toggle {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: var(--text-main);
}

.page-title {
  font-family: var(--font-outfit);
  font-size: 24px;
  font-weight: 700;
}

.header-center {
  flex-grow: 1;
  max-width: 450px;
  margin: 0 20px;
}

.search-wrapper {
  position: relative;
  width: 100%;
}

.search-input {
  width: 100%;
  padding: 10px 40px 10px 20px;
  border: 1px solid #D9D9D9;
  border-radius: 25px;
  background-color: #F8F9FA;
  font-size: 14px;
  outline: none;
  transition: var(--transition);
}

.search-input:focus {
  border-color: var(--accent-pink);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(209, 63, 116, 0.15);
}

.search-btn {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-light);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.icon-badge-btn {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: var(--text-main);
  position: relative;
  transition: var(--transition);
}

.icon-badge-btn:hover {
  color: var(--accent-pink);
  transform: scale(1.1);
}

.badge {
  position: absolute;
  top: -6px;
  right: -8px;
  background-color: var(--accent-pink);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--white);
}

.user-profile {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.avatar-circle {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background-color: var(--bg-pink);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.avatar-circle i {
  font-size: 18px;
  color: var(--white);
}

.username {
  font-family: var(--font-outfit);
  font-weight: 600;
  font-size: 15px;
}

/* Content Frame */
.content-body {
  flex-grow: 1;
  padding: 30px;
  overflow-y: auto;
  background-color: var(--bg-pink);
}

/* Cards & Components */
.card-section-title {
  font-family: var(--font-outfit);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 5px;
}

.card-section-subtitle {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 20px;
}

/* Login/Register Screen */
.auth-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: var(--bg-pink);
  padding: 20px;
}

.auth-header-nav {
  position: absolute;
  top: 30px;
  right: 50px;
  font-size: 14px;
}

.auth-header-nav a {
  font-weight: 700;
  color: var(--text-main);
  margin-left: 10px;
}

.auth-header-nav a:hover {
  color: var(--accent-pink);
}

.auth-card {
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.auth-logo {
  font-family: var(--font-outfit);
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #1A1A1A;
  margin-bottom: 40px;
  text-align: center;
}

.auth-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.input-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
}

.input-field-wrapper {
  position: relative;
  width: 100%;
}

.input-field-wrapper i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
}

.input-field {
  width: 100%;
  padding: 12px 15px;
  background-color: rgba(224, 224, 224, 0.9);
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 15px;
  outline: none;
  transition: var(--transition);
}

.input-field-wrapper i + .input-field {
  padding-left: 45px;
}

.input-field:focus {
  border-color: var(--accent-pink);
  background-color: var(--white);
}

.password-toggle {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-light);
}

.forgot-password-link {
  align-self: flex-end;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
  margin-top: 5px;
}

.forgot-password-link:hover {
  text-decoration: underline;
  color: var(--accent-pink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  gap: 8px;
}

.btn-primary {
  background-color: var(--sidebar-bg); /* matches grey buttons in screenshot */
  color: var(--text-main);
  width: 100%;
  font-size: 15px;
  margin-top: 15px;
}

.btn-primary:hover {
  background-color: #D2D2D2;
  transform: translateY(-1px);
}

.btn-accent {
  background-color: var(--accent-pink);
  color: var(--white);
}

.btn-accent:hover {
  background-color: var(--accent-pink-hover);
  box-shadow: 0 4px 12px rgba(209, 63, 116, 0.2);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--accent-pink);
  color: var(--accent-pink);
}

.btn-outline:hover {
  background-color: var(--accent-pink);
  color: var(--white);
}

/* User & Admin Dashboard Panels */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.stat-card {
  background-color: var(--white);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.stat-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-label {
  font-size: 12px;
  font-weight: 700;
  color: #1A1A1A;
}

.stat-value {
  font-family: var(--font-outfit);
  font-size: 28px;
  font-weight: 700;
  color: var(--text-main);
}

.stat-meta {
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.stat-meta.positive {
  color: #2ECC71;
}

.stat-meta.negative {
  color: #E74C3C;
}

.stat-icon {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  background-color: var(--bg-pink-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--accent-pink);
}

/* Section Containers */
.card-panel {
  background-color: var(--white);
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 30px;
}

/* Product Recommendation Carousel/Grid */
.section-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.section-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-pink);
}

.section-link:hover {
  text-decoration: underline;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.product-card {
  background-color: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.02);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.product-img-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 100%; /* square ratio */
  background-color: #FAF5F7;
  overflow: hidden;
}

.product-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.product-compatibility-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 4px 10px;
  border-radius: 15px;
  font-size: 10px;
  font-weight: 700;
  color: var(--accent-pink);
  box-shadow: var(--shadow-sm);
}

.product-info {
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex-grow: 1;
  justify-content: space-between;
}

.product-title {
  font-family: var(--font-outfit);
  font-size: 14px;
  font-weight: 700;
  color: #333333;
  line-height: 1.3;
  height: 36px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  color: #999999;
}

.product-rating i {
  color: #F5A623;
}

.product-price {
  font-family: var(--font-outfit);
  font-size: 15px;
  font-weight: 700;
  color: #D13F74;
}

.product-description {
  font-size: 11px;
  color: var(--text-light);
  line-height: 1.4;
  height: 44px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.product-tag {
  font-size: 10px;
  color: #999999;
  margin-top: 2px;
}

.product-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.btn-icon-cart {
  background-color: var(--white);
  border: 1px solid #CCCCCC;
  color: var(--text-main);
  padding: 8px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-icon-cart:hover {
  background-color: #F5F5F5;
  border-color: #888888;
}

.btn-checkout-small {
  flex-grow: 1;
  background-color: #F39C12;
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 6px;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-checkout-small:hover {
  background-color: #D68910;
}

/* Orders Page & Tabs */
.order-header-card {
  background-color: var(--white);
  border-radius: 12px 12px 0 0;
  padding: 24px;
  border-bottom: 1px solid #ECECEC;
}

.tabs-container {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  border-bottom: 2px solid #EBEBEB;
  padding-bottom: 10px;
  margin-top: 15px;
}

.tab-link {
  font-family: var(--font-inter);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-light);
  cursor: pointer;
  padding-bottom: 10px;
  position: relative;
  white-space: nowrap;
}

.tab-link:hover {
  color: var(--accent-pink);
}

.tab-link.active {
  color: var(--accent-pink);
}

.tab-link.active::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--accent-pink);
  border-radius: 3px;
}

.orders-list-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
}

.order-card-item {
  background-color: var(--white);
  border-radius: 8px;
  padding: 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 15px;
  border: 1px solid rgba(0,0,0,0.03);
}

.order-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px solid #F0F0F0;
  padding-bottom: 10px;
}

.order-info-col p {
  font-size: 13px;
  color: var(--text-light);
}

.order-info-col p strong {
  color: var(--text-main);
  font-size: 14px;
}

.status-badge {
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 11px;
  font-weight: 700;
}

.status-badge.belum-bayar {
  background-color: var(--status-pending-bg);
  color: var(--status-pending);
}
.status-badge.diproses {
  background-color: var(--status-processing-bg);
  color: var(--status-processing);
}
.status-badge.dikirim {
  background-color: var(--status-shipping-bg);
  color: var(--status-shipping);
}
.status-badge.selesai {
  background-color: var(--status-success-bg);
  color: var(--status-success);
}
.status-badge.dibatalkan {
  background-color: var(--status-cancelled-bg);
  color: var(--status-cancelled);
}

.order-card-details {
  display: flex;
  gap: 20px;
}

.order-item-img {
  width: 60px;
  height: 60px;
  border-radius: 6px;
  object-fit: cover;
  background-color: #FAF5F7;
  border: 1px solid #EBEBEB;
}

.order-item-desc {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
}

.order-item-name {
  font-family: var(--font-outfit);
  font-weight: 700;
  font-size: 13px;
}

.order-item-qty {
  font-size: 12px;
  color: var(--text-light);
}

.order-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #F0F0F0;
  padding-top: 10px;
  margin-top: 5px;
}

.order-actions-row {
  display: flex;
  gap: 10px;
}

.order-total-price {
  font-size: 13px;
  color: var(--text-light);
}

.order-total-price strong {
  font-family: var(--font-outfit);
  font-size: 15px;
  color: var(--text-main);
  margin-left: 5px;
}

/* Recommendation Quiz Form */
.quiz-welcome {
  text-align: center;
  max-width: 600px;
  margin: 40px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.quiz-icon {
  font-size: 60px;
  color: var(--accent-pink);
}

.quiz-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 15px;
  margin-top: 15px;
}

.quiz-option-card {
  background-color: var(--white);
  border: 2px solid #E2E8F0;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.quiz-option-card:hover {
  border-color: var(--accent-pink);
  background-color: var(--bg-pink-light);
}

.quiz-option-card.selected {
  border-color: var(--accent-pink);
  background-color: var(--bg-pink-light);
  box-shadow: 0 0 0 1px var(--accent-pink);
}

.quiz-option-icon {
  font-size: 28px;
  color: var(--text-light);
}

.quiz-option-card.selected .quiz-option-icon {
  color: var(--accent-pink);
}

.quiz-option-title {
  font-weight: 700;
  font-size: 14px;
}

.quiz-option-desc {
  font-size: 11px;
  color: var(--text-light);
}

.quiz-progress-bar {
  width: 100%;
  height: 6px;
  background-color: #E2E8F0;
  border-radius: 3px;
  margin-bottom: 30px;
  overflow: hidden;
}

.quiz-progress-fill {
  height: 100%;
  background-color: var(--accent-pink);
  width: 33%;
  transition: var(--transition);
}

.quiz-nav-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
}

/* Cart & Checkout Panel */
.cart-checkout-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 30px;
  align-items: start;
}

@media (max-width: 900px) {
  .cart-checkout-layout {
    grid-template-columns: 1fr;
  }
}

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

.cart-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px;
  border: 1px solid #ECECEC;
  border-radius: 8px;
  background-color: var(--white);
}

.cart-item-details {
  display: flex;
  gap: 15px;
  align-items: center;
}

.cart-item-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.cart-qty-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #CCCCCC;
  border-radius: 4px;
  padding: 2px 5px;
}

.cart-qty-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 2px 6px;
  font-weight: 700;
}

.cart-qty-val {
  font-size: 13px;
  font-weight: 700;
  min-width: 20px;
  text-align: center;
}

.remove-cart-btn {
  background: none;
  border: none;
  color: var(--status-cancelled);
  cursor: pointer;
  padding: 5px;
  font-size: 16px;
  transition: var(--transition);
}

.remove-cart-btn:hover {
  transform: scale(1.1);
}

.empty-state {
  text-align: center;
  padding: 40px;
  color: var(--text-light);
}

.empty-state i {
  font-size: 50px;
  color: #CCCCCC;
  margin-bottom: 15px;
}

/* Tables (Admin dashboard etc.) */
.table-responsive {
  width: 100%;
  overflow-x: auto;
}

.custom-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.custom-table th {
  background-color: #FAF5F7;
  padding: 15px;
  font-weight: 700;
  font-size: 13px;
  border-bottom: 2px solid #EBEBEB;
}

.custom-table td {
  padding: 15px;
  font-size: 13px;
  border-bottom: 1px solid #F0F0F0;
  vertical-align: middle;
}

.custom-table tr:hover td {
  background-color: #FAF9FA;
}

/* Product list (Admin mode) image display */
.table-product-img {
  width: 40px;
  height: 40px;
  border-radius: 4px;
  object-fit: cover;
  background-color: #FAF5F7;
}

/* Modals */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 1;
  transition: var(--transition);
}

.modal-backdrop.hidden {
  display: none;
  opacity: 0;
  pointer-events: none;
}

.modal-card {
  background-color: var(--white);
  border-radius: 12px;
  width: 100%;
  max-width: 500px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  animation: modalEnter 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

@keyframes modalEnter {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-header {
  padding: 20px;
  border-bottom: 1px solid #ECECEC;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  font-family: var(--font-outfit);
  font-size: 18px;
  font-weight: 700;
}

.close-btn {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-light);
}

.close-btn:hover {
  color: var(--text-main);
}

.modal-body {
  padding: 20px;
  max-height: 70vh;
  overflow-y: auto;
}

.modal-footer {
  padding: 15px 20px;
  background-color: #F8F9FA;
  border-top: 1px solid #ECECEC;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.order-details-box {
  background-color: #F8F9FA;
  border: 1px solid #ECECEC;
  border-radius: 6px;
  padding: 15px;
  margin-top: 15px;
}

.order-details-box p {
  margin-bottom: 8px;
  font-size: 13px;
}

.order-details-box p:last-child {
  margin-bottom: 0;
}

/* Toast System */
.toast-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 2000;
}

.toast {
  background-color: #333333;
  color: var(--white);
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 250px;
  animation: toastEnter 0.3s ease, toastExit 0.3s ease 3.7s forwards;
}

.toast.success {
  border-left: 4px solid var(--status-success);
}

.toast.error {
  border-left: 4px solid var(--status-cancelled);
}

@keyframes toastEnter {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes toastExit {
  from {
    transform: translateY(0);
    opacity: 1;
  }
  to {
    transform: translateY(-20px);
    opacity: 0;
  }
}

.loading-screen {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  gap: 15px;
  color: var(--white);
  font-weight: 700;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 1s infinite linear;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.checkbox-label input {
  width: 16px;
  height: 16px;
}

/* Redesigned Cart Layout (image_2) */
.cart-header-title {
  font-family: var(--font-outfit);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 2px;
}

.cart-header-subtitle {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 20px;
}

.cart-card-item {
  background-color: var(--white);
  border-radius: 8px;
  padding: 15px 20px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.cart-card-item-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.cart-card-item-img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 6px;
  background-color: #FAF5F7;
  border: 1px solid #ECECEC;
}

.cart-card-item-details {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.cart-card-item-name {
  font-family: var(--font-outfit);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
}

.cart-card-item-cat {
  font-size: 11px;
  color: var(--text-light);
}

.cart-card-item-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: #999999;
}

.cart-card-item-rating i {
  color: #F5A623;
}

.cart-card-item-price {
  font-family: var(--font-outfit);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  margin-top: 2px;
}

.cart-card-item-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.cart-card-trash-btn {
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  font-size: 15px;
  transition: var(--transition);
  position: absolute;
  top: 15px;
  right: 15px;
}

.cart-card-trash-btn:hover {
  color: var(--status-cancelled);
  transform: scale(1.1);
}

.cart-qty-pill-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1.5px solid #D9D9D9;
  border-radius: 20px;
  padding: 4px 10px;
  background-color: var(--white);
  height: 30px;
}

.cart-qty-pill-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
}

.cart-qty-pill-val {
  font-size: 12px;
  font-weight: 700;
  min-width: 15px;
  text-align: center;
}

.cart-card-checkout-btn {
  background-color: #F3A63B;
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 15px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  align-self: flex-end;
  margin-top: 10px;
}

.cart-card-checkout-btn:hover {
  background-color: #D68910;
}

.summary-sidebar-card {
  background-color: var(--white);
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.summary-sidebar-title {
  font-family: var(--font-outfit);
  font-size: 16px;
  font-weight: 700;
  border-bottom: 2px solid #EBEBEB;
  padding-bottom: 8px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-main);
}

.summary-divider {
  border-top: 1px dashed #E2E8F0;
  margin: 5px 0;
}

.summary-row.total {
  font-weight: 700;
  font-size: 16px;
}

.btn-sidebar-checkout {
  background-color: #F3A63B;
  color: var(--white);
  font-family: var(--font-outfit);
  font-size: 20px;
  font-weight: 700;
  padding: 12px;
  border-radius: 10px;
  text-align: center;
  width: 100%;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 10px;
}

.btn-sidebar-checkout:hover {
  background-color: #D88F2C;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(243, 166, 59, 0.3);
}

/* Laporan Page Layout (image_3) */
.report-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.btn-export-report {
  background-color: #B81855;
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-export-report:hover {
  background-color: #921041;
  box-shadow: 0 4px 12px rgba(184, 24, 85, 0.2);
}

.filter-card-panel {
  background-color: var(--white);
  border-radius: 8px;
  padding: 15px 20px;
  margin-bottom: 20px;
  display: flex;
  gap: 30px;
  box-shadow: var(--shadow-sm);
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.filter-group label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-light);
}

.filter-input {
  padding: 8px 12px;
  border: 1.5px solid #E2E8F0;
  border-radius: 6px;
  font-size: 13px;
  outline: none;
  background-color: var(--white);
  min-width: 180px;
}

.filter-input:focus {
  border-color: var(--accent-pink);
}

.chart-card-panel {
  background-color: var(--white);
  border-radius: 8px;
  padding: 20px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 30px;
}

.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.chart-title {
  font-family: var(--font-outfit);
  font-size: 15px;
  font-weight: 700;
}

.chart-legend {
  display: flex;
  gap: 15px;
  font-size: 12px;
  font-weight: 600;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.legend-color {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.legend-color.sales {
  background-color: #E24373;
}

.legend-color.orders {
  background-color: #8C8C8C;
}

.chart-viewport {
  width: 100%;
  height: 250px;
  position: relative;
}

.chart-canvas {
  width: 100%;
  height: 100%;
}

/* Differentiated Login Tabs */
.auth-tabs {
  display: flex;
  width: 100%;
  margin-bottom: 25px;
  border-bottom: 1.5px solid #E2E2E2;
}

.auth-tab {
  flex: 1;
  text-align: center;
  padding: 10px;
  cursor: pointer;
  font-family: var(--font-outfit);
  font-weight: 700;
  font-size: 15px;
  color: var(--text-light);
  transition: var(--transition);
}

.auth-tab.active {
  color: var(--accent-pink);
  border-bottom: 3.5px solid var(--accent-pink);
  margin-bottom: -2.5px;
}

/* Profiles Layout (User & Admin) */
.profile-container {
  background-color: var(--white);
  border-radius: 12px;
  padding: 30px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 25px;
}

.profile-header-card {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 30px;
  border-bottom: 1px solid #ECECEC;
  padding-bottom: 30px;
}

.profile-avatar-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.profile-avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background-color: #F8C3D2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 50px;
  color: var(--white);
  overflow: hidden;
}

.btn-profile-pic {
  background: none;
  border: 1px solid var(--accent-pink);
  color: var(--accent-pink);
  font-weight: 700;
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 15px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-profile-pic:hover {
  background-color: var(--accent-pink);
  color: var(--white);
}

.profile-basic-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.profile-name-row {
  display: flex;
  align-items: center;
  gap: 15px;
}

.profile-name {
  font-family: var(--font-outfit);
  font-size: 24px;
  font-weight: 700;
  color: var(--text-main);
}

.profile-badge {
  background-color: var(--bg-pink-light);
  color: var(--accent-pink);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
}

.profile-detail-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-main);
}

.profile-detail-item i {
  color: var(--text-light);
  width: 20px;
  font-size: 15px;
  text-align: center;
}

.profile-grid-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

@media (max-width: 768px) {
  .profile-grid-panels {
    grid-template-columns: 1fr;
  }
}

.profile-info-card {
  background-color: var(--white);
  border: 1.5px solid #F0F0F0;
  border-radius: 8px;
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.profile-info-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1.5px solid #F0F0F0;
  padding-bottom: 8px;
  margin-bottom: 15px;
}

.profile-info-title {
  font-family: var(--font-outfit);
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-profile-edit {
  background: none;
  border: none;
  color: var(--accent-pink);
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-profile-edit:hover {
  text-decoration: underline;
}

.profile-table {
  width: 100%;
  border-collapse: collapse;
}

.profile-table td {
  padding: 10px 0;
  font-size: 13px;
  border-bottom: 1px dashed #F0F0F0;
}

.profile-table tr:last-child td {
  border-bottom: none;
}

.profile-table td:first-child {
  font-weight: 600;
  color: var(--text-light);
  width: 40%;
}

.profile-table td:last-child {
  color: var(--text-main);
}

.profile-address-box {
  background-color: #F6F7F9;
  border-radius: 6px;
  padding: 18px;
  font-size: 12px;
  line-height: 1.6;
  position: relative;
  border: 1px solid #ECECEC;
  color: var(--text-main);
}

.profile-address-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: var(--accent-pink);
  color: var(--white);
  font-size: 9px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
}

/* User Notifications Layout */
.notif-item {
  background-color: var(--white);
  border-radius: 6px;
  padding: 15px 20px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.02);
  transition: var(--transition);
}

.notif-item:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.notif-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.notif-icon-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.notif-icon-circle.success {
  background-color: #EEFCEF;
  color: #2ECC71;
}

.notif-icon-circle.shipping {
  background-color: #FEF8EE;
  color: #F3A63B;
}

.notif-icon-circle.confirmed {
  background-color: #EEF8FC;
  color: #4A90E2;
}

.notif-icon-circle.welcome {
  background-color: #FDF0F2;
  color: #B81855;
}

.notif-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.notif-title {
  font-family: var(--font-outfit);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
}

.notif-text {
  font-size: 11px;
  color: var(--text-light);
}

.notif-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.notif-date {
  font-size: 10px;
  color: var(--text-light);
}

.notif-dot {
  width: 8px;
  height: 8px;
  background-color: var(--status-cancelled);
  border-radius: 50%;
}

/* Category grid inside Recommendation */
.recom-category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-bottom: 25px;
}

.recom-category-card {
  background-color: var(--white);
  border-radius: 12px;
  padding: 22px 10px;
  text-align: center;
  font-family: var(--font-outfit);
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  border: none;
}

.recom-category-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.recom-category-card.active {
  background-color: #E27297;
  color: var(--white) !important;
  box-shadow: 0 4px 12px rgba(226, 114, 151, 0.35);
}

/* Payment Option Selection Styles */
.payment-option-label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1.5px solid var(--border-color);
  border-radius: 10px;
  cursor: pointer;
  background: white;
  transition: var(--transition);
}

.payment-option-label:hover {
  background-color: var(--bg-pink-light);
  border-color: var(--bg-pink);
}

.payment-option-label input[type="radio"] {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--accent-pink);
  cursor: pointer;
}

/* Chatbot & Split Recommendations Page Layout */
.recom-chat-layout {
  display: flex;
  gap: 30px;
  width: 100%;
  align-items: flex-start;
  flex-wrap: wrap;
}

.recom-chat-main {
  flex: 7;
  min-width: 320px;
  display: flex;
  flex-direction: column;
}

.recom-chat-sidebar {
  flex: 4;
  min-width: 300px;
  position: sticky;
  top: 0;
}

.chat-assistant-panel {
  background-color: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 520px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.chat-header {
  background: linear-gradient(135deg, #E27297, var(--accent-pink));
  color: var(--white);
  padding: 15px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.chat-header i {
  font-size: 20px;
}

.chat-header-title {
  font-family: var(--font-outfit);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
}

.chat-header-status {
  font-size: 10px;
  opacity: 0.9;
  display: flex;
  align-items: center;
  gap: 4px;
}

.chat-header-status::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: #2ECC71;
  border-radius: 50%;
}

.chat-body {
  flex-grow: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
  background-color: #FAF6F8;
}

.chat-msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 12.5px;
  line-height: 1.45;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}

.chat-msg p {
  margin-bottom: 6px;
}

.chat-msg p:last-child {
  margin-bottom: 0;
}

.chat-msg.msg-bot {
  background-color: var(--white);
  color: var(--text-main);
  align-self: flex-start;
  border-top-left-radius: 2px;
  border: 1px solid #ECECEC;
}

.chat-msg.msg-user {
  background-color: var(--bg-pink-light);
  color: var(--accent-pink-hover);
  font-weight: 500;
  align-self: flex-end;
  border-top-right-radius: 2px;
  border: 1px solid rgba(226, 114, 151, 0.15);
}

/* Chat suggestion chips */
.chat-suggest-box {
  display: flex;
  gap: 8px;
  padding: 10px 20px;
  background-color: #FAF6F8;
  overflow-x: auto;
  flex-shrink: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.02);
  white-space: nowrap;
}

.chat-suggest-chip {
  padding: 6px 12px;
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 15px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-light);
  cursor: pointer;
  transition: var(--transition);
}

.chat-suggest-chip:hover {
  background-color: var(--bg-pink-light);
  color: var(--accent-pink);
  border-color: var(--bg-pink);
  transform: translateY(-1px);
}

.chat-footer {
  padding: 12px 15px;
  background-color: var(--white);
  border-top: 1px solid #ECECEC;
  display: flex;
  gap: 10px;
  align-items: center;
  flex-shrink: 0;
}

.chat-input {
  flex-grow: 1;
  border: 1px solid #D9D9D9;
  border-radius: 20px;
  padding: 10px 16px;
  font-size: 13px;
  outline: none;
  background-color: #F8F9FA;
  transition: var(--transition);
}

.chat-input:focus {
  border-color: var(--accent-pink);
  background-color: var(--white);
}

.chat-send-btn {
  background-color: var(--accent-pink);
  color: var(--white);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.chat-send-btn:hover {
  background-color: var(--accent-pink-hover);
  transform: scale(1.05);
}

/* Action button inside bot message bubble */
.chat-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #F39C12;
  color: var(--white);
  border: none;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 700;
  margin-top: 8px;
  cursor: pointer;
  transition: var(--transition);
}

.chat-action-btn:hover {
  background-color: #D68910;
  transform: translateY(-1px);
}

/* Typing Indicator Animation */
.typing-indicator {
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 10px 14px;
  background-color: var(--white);
  border-radius: 12px;
  border-top-left-radius: 2px;
  border: 1px solid #ECECEC;
  align-self: flex-start;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}

.typing-indicator span {
  width: 6px;
  height: 6px;
  background-color: #999;
  border-radius: 50%;
  animation: typing 1.4s infinite ease-in-out both;
}

.typing-indicator span:nth-child(1) {
  animation-delay: -0.32s;
}

.typing-indicator span:nth-child(2) {
  animation-delay: -0.16s;
}

@keyframes typing {
  0%, 80%, 100% {
    transform: scale(0);
  }
  40% {
    transform: scale(1);
  }
}

/* Bottom Navigation Bar default hidden on desktop */
.bottom-nav {
  display: none;
}

/* Mobile responsive (Android App style) */
@media (max-width: 768px) {
  body {
    height: 100%;
    overflow-y: auto;
  }

  .app-container {
    flex-direction: column;
    height: auto;
    min-height: 100vh;
    overflow-y: auto;
  }

  .sidebar {
    display: none !important;
  }

  .main-header {
    height: 60px;
    padding: 0 15px;
    position: sticky;
    top: 0;
    z-index: 998;
    box-shadow: var(--shadow-sm);
  }

  .menu-toggle {
    display: none;
  }

  .header-center {
    display: none;
  }

  .main-header .username {
    display: none;
  }

  .header-right {
    gap: 12px;
  }

  .header-right .icon-badge-btn[onclick*="cart"] {
    display: none !important; /* hidden because cart is in bottom nav */
  }

  .content-body {
    padding: 15px 15px 85px 15px !important;
    overflow-y: visible;
  }

  /* Two columns product grid for premium app look */
  .products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }

  .product-card {
    border-radius: 8px;
  }

  .product-info {
    padding: 8px 10px;
    gap: 3px;
  }

  .product-title {
    font-size: 11px;
    height: 30px;
    -webkit-line-clamp: 2;
  }

  .product-rating {
    font-size: 10px;
  }

  .product-price {
    font-size: 12px;
  }

  .product-tag {
    font-size: 8px;
    height: 12px;
  }

  .product-actions {
    gap: 6px;
    margin-top: 5px;
  }

  .btn-icon-cart {
    padding: 6px 8px;
    font-size: 12px;
  }

  .btn-checkout-small {
    padding: 6px 10px;
    font-size: 9px;
  }

  /* Stat cards */
  .dashboard-grid {
    grid-template-columns: 1fr !important;
    gap: 12px;
  }

  .stat-card {
    padding: 15px;
  }

  /* Bottom Navigation Styles */
  .bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background-color: var(--white);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 -3px 10px rgba(0, 0, 0, 0.06);
  }

  .bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #888888;
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
    flex: 1;
    height: 100%;
    gap: 2px;
    transition: var(--transition);
    position: relative;
    text-align: center;
  }

  .bottom-nav-item i {
    font-size: 18px;
  }

  .bottom-nav-item.active {
    color: var(--accent-pink);
  }

  .bottom-nav-item .badge {
    top: 4px;
    right: calc(50% - 18px);
    width: 15px;
    height: 15px;
    font-size: 8px;
    border: 1px solid var(--white);
  }

  /* Auth screen adjustments */
  .auth-container {
    padding: 15px;
    justify-content: center;
  }

  .auth-header-nav {
    position: static;
    margin-bottom: 25px;
    text-align: center;
    font-size: 13px;
  }

  .auth-card {
    max-width: 100%;
  }

  .auth-logo {
    font-size: 26px;
    margin-bottom: 25px;
  }

  /* Chat & Layout */
  .recom-chat-layout {
    flex-direction: column;
    gap: 20px;
  }

  .recom-chat-main {
    width: 100%;
  }

  .recom-chat-sidebar {
    width: 100%;
    position: static !important;
    height: 480px !important;
  }

  /* Cart Layout */
  .cart-checkout-layout {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .cart-card-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
  }

  .cart-card-item-right {
    width: 100%;
    justify-content: space-between;
    align-items: center;
    flex-direction: row-reverse;
  }

  .cart-qty-pill-controls {
    margin: 0;
  }

  /* Profile page adjustments */
  .profile-container {
    padding: 0;
  }

  .profile-header-card {
    flex-direction: column;
    text-align: center;
    gap: 15px;
    padding: 15px;
  }

  .profile-grid-panels {
    grid-template-columns: 1fr !important;
    gap: 15px;
  }
}

.shade-option-label:hover {
  border-color: var(--accent-pink) !important;
  background-color: var(--bg-pink-light) !important;
}

/* ========================================================
   Admin Orders Page & Detail Modal Styles (Bugis Cosmetik)
   ======================================================== */
.admin-orders-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.admin-orders-header {
  margin-bottom: 5px;
}

.admin-orders-title {
  font-family: var(--font-outfit);
  font-size: 22px;
  font-weight: 800;
  color: #111827;
  margin: 0 0 4px 0;
}

.admin-orders-subtitle {
  font-size: 13px;
  color: #6B7280;
  margin: 0;
}

/* 5 Summary Stat Cards */
.admin-orders-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 8px;
}

.admin-orders-stats-row2 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

@media (max-width: 1024px) {
  .admin-orders-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .admin-orders-stats-row2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .admin-orders-stats-grid,
  .admin-orders-stats-row2 {
    grid-template-columns: 1fr;
  }
}

.admin-order-stat-card {
  background: #FFFFFF;
  border: 1px solid #F0F0F0;
  border-radius: 14px;
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
  transition: all 0.2s ease-in-out;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.admin-order-stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
}

.admin-order-stat-card.active {
  border-color: #EC4899;
  box-shadow: 0 0 0 2px rgba(236, 72, 153, 0.2);
}

.admin-order-stat-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.admin-order-stat-label {
  font-size: 12px;
  font-weight: 700;
  color: #1F2937;
}

.admin-order-stat-value {
  font-family: var(--font-outfit);
  font-size: 26px;
  font-weight: 800;
  color: #111827;
  line-height: 1.2;
}

.admin-order-stat-meta {
  font-size: 11px;
  color: #9CA3AF;
  font-weight: 500;
}

.admin-order-stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.icon-pink-receipt {
  background: #FDF2F8;
  color: #EC4899;
}

.icon-orange-clock {
  background: #FFFBEB;
  color: #F59E0B;
}

.icon-blue-sync {
  background: #EFF6FF;
  color: #3B82F6;
}

.icon-purple-truck {
  background: #FAF5FF;
  color: #A855F7;
}

.icon-green-check {
  background: #ECFDF5;
  color: #10B981;
}

/* Filter Bar */
.admin-orders-filter-bar {
  display: flex;
  gap: 12px;
  align-items: center;
  background: transparent;
  flex-wrap: wrap;
}

.admin-filter-date {
  width: 200px;
  height: 42px;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 0 14px;
  font-size: 13px;
  color: #374151;
  background: #FFFFFF;
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s;
}

.admin-filter-search {
  flex: 1;
  min-width: 240px;
  height: 42px;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 0 14px;
  font-size: 13px;
  color: #374151;
  background: #FFFFFF;
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s;
}

.admin-filter-status {
  width: 170px;
  height: 42px;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  background: #FFFFFF;
  outline: none;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.2s;
}

.admin-filter-date:focus,
.admin-filter-search:focus,
.admin-filter-status:focus {
  border-color: #EC4899;
}

/* Table Design */
.admin-orders-table-card {
  background: #FFFFFF;
  border-radius: 12px;
  border: 1px solid #F0F0F0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
  overflow: hidden;
}

.admin-orders-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.admin-orders-table th {
  background-color: #FAF5F7;
  padding: 14px 18px;
  font-size: 12px;
  font-weight: 700;
  color: #374151;
  border-bottom: 1px solid #ECECEC;
  white-space: nowrap;
}

.admin-orders-table td {
  padding: 16px 18px;
  font-size: 13px;
  border-bottom: 1px solid #F3F4F6;
  vertical-align: middle;
}

.admin-orders-table tbody tr:hover td {
  background-color: #FCF9FA;
}

.admin-orders-table tbody tr:last-child td {
  border-bottom: none;
}

/* Status Badges */
.status-pill {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
}

.status-pill-pending,
.status-pill-belum-bayar {
  background-color: #FFFBEB;
  color: #D97706;
}

.status-pill-diproses {
  background-color: #EFF6FF;
  color: #2563EB;
}

.status-pill-dikirim {
  background-color: #FAF5FF;
  color: #9333EA;
}

.status-pill-selesai {
  background-color: #ECFDF5;
  color: #059669;
}

.status-pill-dibatalkan,
.status-pill-batal {
  background-color: #FEF2F2;
  color: #DC2626;
}

/* Action Button */
.btn-lihat-detail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 6px 14px;
  border: 1.5px solid #EC4899;
  color: #EC4899;
  background: #FFFFFF;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  white-space: nowrap;
}

.btn-lihat-detail:hover {
  background: #EC4899;
  color: #FFFFFF;
  box-shadow: 0 4px 10px rgba(236, 72, 153, 0.25);
}

/* Detail Modal Status Action Buttons Grid */
.admin-modal-status-menu {
  margin-top: 18px;
  border-top: 1px solid #ECECEC;
  padding-top: 16px;
}

.admin-modal-status-title {
  font-size: 13px;
  font-weight: 700;
  color: #1F2937;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-status-buttons-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

@media (max-width: 540px) {
  .admin-status-buttons-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.admin-status-btn {
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  border: 1.5px solid transparent;
  background: #F9FAFB;
  color: #4B5563;
}

.admin-status-btn i {
  font-size: 16px;
}

/* Diproses Button */
.admin-status-btn-process {
  border-color: #BFDBFE;
  background: #EFF6FF;
  color: #1D4ED8;
}

.admin-status-btn-process:hover {
  background: #3B82F6;
  color: #FFFFFF;
  border-color: #3B82F6;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.admin-status-btn-process.current-active {
  background: #2563EB;
  color: #FFFFFF;
  border-color: #1D4ED8;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

/* Dikirim Button */
.admin-status-btn-ship {
  border-color: #E9D5FF;
  background: #FAF5FF;
  color: #7E22CE;
}

.admin-status-btn-ship:hover {
  background: #9333EA;
  color: #FFFFFF;
  border-color: #9333EA;
  box-shadow: 0 4px 12px rgba(147, 51, 234, 0.3);
}

.admin-status-btn-ship.current-active {
  background: #9333EA;
  color: #FFFFFF;
  border-color: #7E22CE;
  box-shadow: 0 4px 12px rgba(147, 51, 234, 0.35);
}

/* Selesai Button */
.admin-status-btn-done {
  border-color: #A7F3D0;
  background: #ECFDF5;
  color: #047857;
}

.admin-status-btn-done:hover {
  background: #10B981;
  color: #FFFFFF;
  border-color: #10B981;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.admin-status-btn-done.current-active {
  background: #059669;
  color: #FFFFFF;
  border-color: #047857;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.35);
}

/* Batal Button */
.admin-status-btn-cancel {
  border-color: #FECACA;
  background: #FEF2F2;
  color: #B91C1C;
}

.admin-status-btn-cancel:hover {
  background: #EF4444;
  color: #FFFFFF;
  border-color: #EF4444;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.admin-status-btn-cancel.current-active {
  background: #DC2626;
  color: #FFFFFF;
  border-color: #B91C1C;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.35);
}

/* ==========================================================================
   LANDING PAGE STYLES - PIXEL PERFECT TO USER REFERENCE (PINK THEME)
   ========================================================================== */

.ref-landing-wrapper {
  width: 100%;
  min-height: 100vh;
  height: auto;
  background-color: #FFFFFF;
  font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #1F2937;
  overflow-x: hidden;
  overflow-y: visible;
  position: relative;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
}

/* 1. Header / Navbar */
.ref-navbar {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #F3F4F6;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.ref-navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ref-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  text-decoration: none;
}

.ref-logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, #EC4899, #DB2777);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  box-shadow: 0 4px 10px rgba(236, 72, 153, 0.25);
}

.ref-logo-text {
  font-size: 20px;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.3px;
}

.ref-logo-text span {
  color: #EC4899;
}

.ref-nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ref-nav-item {
  color: #4B5563;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  padding: 4px 0;
}

.ref-nav-item:hover, .ref-nav-item.active {
  color: #EC4899;
  font-weight: 600;
}

.ref-nav-item.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #EC4899;
  border-radius: 2px;
}

.ref-nav-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.ref-icon-btn {
  background: none;
  border: none;
  color: #4B5563;
  font-size: 18px;
  cursor: pointer;
  position: relative;
  padding: 6px;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ref-icon-btn:hover {
  color: #EC4899;
}

.ref-cart-badge {
  position: absolute;
  top: -2px;
  right: -4px;
  background: #EC4899;
  color: white;
  font-size: 10px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #FFFFFF;
}

.ref-btn-login {
  padding: 8px 24px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  color: #EC4899;
  background: #FFFFFF;
  border: 1.5px solid #FBCFE8;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ref-btn-login:hover {
  background: #FDF2F8;
  border-color: #EC4899;
  transform: translateY(-1px);
}

/* 2. Hero Section */
.ref-hero-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 24px 60px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
  position: relative;
}

.ref-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: #FDF2F8;
  border: 1px solid #FBCFE8;
  border-radius: 50px;
  color: #DB2777;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}

.ref-hero-title {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.2;
  color: #111827;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

.ref-hero-title .highlight-pink {
  color: #EC4899;
  background: linear-gradient(135deg, #EC4899, #DB2777);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ref-hero-desc {
  font-size: 15px;
  line-height: 1.65;
  color: #6B7280;
  margin-bottom: 32px;
  max-width: 520px;
}

.ref-hero-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.ref-btn-primary {
  padding: 13px 28px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  color: #FFFFFF;
  background: linear-gradient(135deg, #EC4899, #DB2777);
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(236, 72, 153, 0.35);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ref-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(236, 72, 153, 0.45);
}

.ref-btn-secondary {
  padding: 13px 26px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  color: #EC4899;
  background: #FDF2F8;
  border: 1.5px solid #FBCFE8;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ref-btn-secondary:hover {
  background: #FCE7F3;
  border-color: #EC4899;
  transform: translateY(-2px);
}

.ref-hero-trust-list {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.ref-trust-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #4B5563;
}

.ref-trust-tag i {
  color: #EC4899;
  font-size: 14px;
}

.ref-hero-scroll-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding: 8px 18px;
  border-radius: 50px;
  background: #FDF2F8;
  border: 1px solid #FBCFE8;
  color: #EC4899;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  animation: bounceDown 2s infinite;
  box-shadow: 0 4px 12px rgba(236, 72, 153, 0.12);
  transition: all 0.2s ease;
}

.ref-hero-scroll-indicator:hover {
  background: #FCE7F3;
  transform: translateY(2px);
}

@keyframes bounceDown {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(6px);
  }
  60% {
    transform: translateY(3px);
  }
}

/* Hero Visual with Phone Mockup */
.ref-hero-mockup-area {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.ref-phone-frame {
  width: 250px;
  height: 480px;
  background: #FFFFFF;
  border: 10px solid #1F2937;
  border-radius: 42px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.ref-phone-notch {
  width: 100px;
  height: 18px;
  background: #1F2937;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.ref-phone-screen {
  flex: 1;
  background: #F9FAFB;
  padding: 12px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ref-phone-app-header {
  font-size: 11px;
  font-weight: 700;
  color: #111827;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 0;
}

.ref-phone-rec-card {
  background: #FFFFFF;
  border: 1px solid #F3F4F6;
  border-radius: 14px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.ref-phone-rec-card img {
  width: 100%;
  height: 75px;
  object-fit: contain;
}

.ref-phone-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.ref-phone-mini-item {
  background: #FFFFFF;
  border: 1px solid #F3F4F6;
  border-radius: 10px;
  padding: 6px;
  text-align: center;
}

.ref-phone-mini-item img {
  width: 100%;
  height: 45px;
  object-fit: contain;
}

/* Floating Card 1: Recommendation match */
.ref-floating-card-match {
  position: absolute;
  top: 40px;
  left: -40px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid #FCE7F3;
  border-radius: 16px;
  padding: 12px 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  max-width: 210px;
  z-index: 5;
  animation: refFloatA 4s ease-in-out infinite alternate;
}

.ref-floating-card-match h5 {
  font-size: 12px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 4px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.ref-floating-card-match h5 i {
  color: #EC4899;
}

.ref-floating-card-match p {
  font-size: 10px;
  color: #6B7280;
  margin: 0;
  line-height: 1.4;
}

/* Floating Card 2: Rating */
.ref-floating-card-rating {
  position: absolute;
  bottom: 50px;
  right: -25px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid #FCE7F3;
  border-radius: 16px;
  padding: 10px 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  z-index: 5;
  animation: refFloatB 4.5s ease-in-out infinite alternate;
  text-align: center;
}

.ref-floating-card-rating .rating-num {
  font-size: 16px;
  font-weight: 800;
  color: #111827;
}

.ref-floating-card-rating .stars {
  color: #F59E0B;
  font-size: 11px;
  display: flex;
  gap: 2px;
  justify-content: center;
  margin-top: 2px;
}

/* Floating Hero Image (Right Side) */
.ref-floating-hero-prod {
  position: absolute;
  top: 30px;
  right: -20px;
  width: 100px;
  height: 100px;
  background: #FDF2F8;
  border: 2px solid #FCE7F3;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  box-shadow: 0 12px 24px rgba(236, 72, 153, 0.15);
  animation: refFloatA 5s ease-in-out infinite alternate;
}

.ref-floating-hero-prod img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

@keyframes refFloatA {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-10px); }
}

@keyframes refFloatB {
  0% { transform: translateY(0px); }
  100% { transform: translateY(8px); }
}

/* 3. Search Bar Section */
.ref-search-section {
  max-width: 820px;
  margin: 0 auto 40px;
  padding: 0 24px;
}

.ref-search-card {
  background: #FFFFFF;
  border: 1.5px solid #E5E7EB;
  border-radius: 50px;
  padding: 8px 10px 8px 24px;
  display: flex;
  align-items: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
}

.ref-search-card:focus-within {
  border-color: #EC4899;
  box-shadow: 0 8px 24px rgba(236, 72, 153, 0.12);
}

.ref-search-card i.search-icon {
  color: #9CA3AF;
  font-size: 16px;
  margin-right: 12px;
}

.ref-search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 15px;
  font-family: inherit;
  color: #111827;
  background: transparent;
}

.ref-search-input::placeholder {
  color: #9CA3AF;
}

.ref-btn-search {
  padding: 10px 28px;
  border-radius: 50px;
  background: linear-gradient(135deg, #EC4899, #DB2777);
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(236, 72, 153, 0.3);
  transition: all 0.2s ease;
}

.ref-btn-search:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(236, 72, 153, 0.4);
}

/* 4. Category Circles Bar */
.ref-categories-section {
  max-width: 1200px;
  margin: 0 auto 60px;
  padding: 0 24px;
}

.ref-categories-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 10px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.ref-categories-grid::-webkit-scrollbar {
  display: none;
}

.ref-category-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  min-width: 80px;
  transition: transform 0.2s ease;
}

.ref-category-item:hover {
  transform: translateY(-4px);
}

.ref-category-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
}

.ref-category-item:hover .ref-category-circle {
  box-shadow: 0 8px 18px rgba(236, 72, 153, 0.2);
}

.ref-category-title {
  font-size: 13px;
  font-weight: 600;
  color: #4B5563;
  text-align: center;
  white-space: nowrap;
}

.ref-category-item:hover .ref-category-title {
  color: #EC4899;
}

/* 5. Product Recommendation Grid (5 Columns) */
.ref-products-section {
  max-width: 1200px;
  margin: 0 auto 70px;
  padding: 0 24px;
}

.ref-section-header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.ref-section-title-icon {
  font-size: 22px;
  font-weight: 800;
  color: #111827;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ref-section-title-icon i {
  color: #EC4899;
  font-size: 18px;
}

.ref-link-see-all {
  color: #EC4899;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease;
}

.ref-link-see-all:hover {
  gap: 10px;
}

.ref-products-5col {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.ref-product-card {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 18px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.ref-product-card:hover {
  transform: translateY(-6px);
  border-color: #FBCFE8;
  box-shadow: 0 12px 28px rgba(236, 72, 153, 0.12);
}

.ref-wishlist-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  color: #9CA3AF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 2;
}

.ref-wishlist-btn:hover {
  color: #EC4899;
  border-color: #FBCFE8;
  background: #FDF2F8;
}

.ref-product-img-box {
  width: 100%;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.ref-product-img-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.ref-product-card:hover .ref-product-img-box img {
  transform: scale(1.06);
}

.ref-product-title {
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 6px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 38px;
}

.ref-product-price {
  font-size: 15px;
  font-weight: 800;
  color: #111827;
  margin-bottom: 6px;
}

.ref-product-rating-row {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #6B7280;
  margin-bottom: 14px;
}

.ref-product-rating-row i {
  color: #F59E0B;
}

.ref-btn-order-now {
  width: 100%;
  padding: 9px 12px;
  border-radius: 10px;
  background: linear-gradient(135deg, #EC4899, #DB2777);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: auto;
  box-shadow: 0 4px 10px rgba(236, 72, 153, 0.25);
  transition: all 0.2s ease;
}

.ref-btn-order-now:hover {
  background: linear-gradient(135deg, #DB2777, #BE185D);
  box-shadow: 0 6px 14px rgba(236, 72, 153, 0.35);
}

/* 6. How It Works Section (Cara Kerja Rekomendasi) */
.ref-how-it-works-section {
  max-width: 1200px;
  margin: 0 auto 70px;
  padding: 0 24px;
}

.ref-how-it-works-title {
  text-align: center;
  font-size: 24px;
  font-weight: 800;
  color: #111827;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.ref-how-it-works-title i {
  color: #EC4899;
}

.ref-steps-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  gap: 12px;
}

.ref-step-card {
  flex: 1;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 18px;
  padding: 24px 20px;
  text-align: center;
  position: relative;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.25s ease;
}

.ref-step-card:hover {
  transform: translateY(-4px);
  border-color: #FBCFE8;
  box-shadow: 0 10px 25px rgba(236, 72, 153, 0.1);
}

.ref-step-num-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #EC4899;
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ref-step-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: #FDF2F8;
  color: #EC4899;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px 0 16px;
}

.ref-step-title {
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 8px;
}

.ref-step-desc {
  font-size: 13px;
  color: #6B7280;
  line-height: 1.5;
}

.ref-step-arrow {
  color: #D1D5DB;
  font-size: 18px;
  display: flex;
  align-items: center;
}

/* 7. Why Choose Us Section */
.ref-why-us-section {
  max-width: 1200px;
  margin: 0 auto 80px;
  padding: 0 24px;
}

.ref-why-us-box {
  background: #F9FAFB;
  border: 1px solid #F3F4F6;
  border-radius: 24px;
  padding: 40px 36px;
}

.ref-why-us-title {
  text-align: center;
  font-size: 22px;
  font-weight: 800;
  color: #111827;
  margin-bottom: 32px;
}

.ref-why-us-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.ref-why-us-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.ref-why-us-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  color: #EC4899;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.ref-why-us-item h5 {
  font-size: 15px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 4px 0;
}

.ref-why-us-item p {
  font-size: 13px;
  color: #6B7280;
  margin: 0;
  line-height: 1.45;
}

/* 8. Deep Navy/Dark Footer */
.ref-footer {
  background: #1E1B4B;
  color: #E0E7FF;
  padding: 60px 24px 30px;
  position: relative;
}

.ref-footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.ref-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 40px;
  margin-bottom: 48px;
}

.ref-footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.ref-footer-brand-logo .icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #EC4899;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.ref-footer-brand-logo span {
  font-size: 20px;
  font-weight: 800;
  color: #FFFFFF;
}

.ref-footer-brand-desc {
  font-size: 13px;
  color: #9CA3AF;
  line-height: 1.6;
  margin-bottom: 20px;
}

.ref-footer-socials {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ref-footer-social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.2s ease;
}

.ref-footer-social-btn:hover {
  background: #EC4899;
  transform: translateY(-2px);
}

.ref-footer-col h4 {
  font-size: 15px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 18px;
}

.ref-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ref-footer-links a {
  color: #9CA3AF;
  font-size: 13px;
  text-decoration: none;
  transition: color 0.2s ease;
  cursor: pointer;
}

.ref-footer-links a:hover {
  color: #EC4899;
}

.ref-footer-newsletter-desc {
  font-size: 13px;
  color: #9CA3AF;
  line-height: 1.5;
  margin-bottom: 14px;
}

.ref-footer-newsletter-form {
  display: flex;
  gap: 8px;
}

.ref-footer-newsletter-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13px;
  color: #FFFFFF;
  outline: none;
}

.ref-footer-newsletter-input::placeholder {
  color: #6B7280;
}

.ref-footer-newsletter-btn {
  padding: 10px 18px;
  border-radius: 8px;
  background: #EC4899;
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

.ref-footer-newsletter-btn:hover {
  background: #DB2777;
}

.ref-footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #9CA3AF;
  flex-wrap: wrap;
  gap: 16px;
}

.ref-footer-payments {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ref-pay-badge {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.5px;
}

/* Floating Chat Button */
.ref-floating-chat {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #EC4899, #DB2777);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 8px 24px rgba(236, 72, 153, 0.4);
  cursor: pointer;
  z-index: 9999;
  transition: all 0.25s ease;
}

.ref-floating-chat:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 12px 28px rgba(236, 72, 153, 0.5);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .ref-hero-section {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .ref-hero-buttons {
    justify-content: center;
  }
  .ref-hero-trust-list {
    justify-content: center;
  }
  .ref-products-5col {
    grid-template-columns: repeat(3, 1fr);
  }
  .ref-steps-container {
    flex-direction: column;
    gap: 20px;
  }
  .ref-step-arrow {
    transform: rotate(90deg);
  }
  .ref-why-us-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ref-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .ref-nav-menu {
    display: none;
  }
  .ref-hero-title {
    font-size: 32px;
  }
  .ref-products-5col {
    grid-template-columns: repeat(2, 1fr);
  }
  .ref-why-us-grid {
    grid-template-columns: 1fr;
  }
  .ref-footer-grid {
    grid-template-columns: 1fr;
  }
  .ref-floating-card-match,
  .ref-floating-card-rating,
  .ref-floating-hero-prod {
    display: none;
  }
}

/* Return to Landing Page Button on Auth screens */
.auth-back-to-home {
  position: absolute;
  top: 25px;
  left: 30px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #EC4899;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  padding: 8px 20px;
  border-radius: 50px;
  background: #FFF0F5;
  border: 1.5px solid #FBCFE8;
  box-shadow: 0 2px 8px rgba(236, 72, 153, 0.1);
  transition: all 0.2s ease;
  z-index: 100;
}

.auth-back-to-home i {
  color: #EC4899;
  font-size: 14px;
  transition: transform 0.2s ease, color 0.2s ease;
}

.auth-back-to-home:hover {
  color: #FFFFFF;
  border-color: #EC4899;
  background: #EC4899;
  transform: translateX(-3px);
  box-shadow: 0 4px 14px rgba(236, 72, 153, 0.25);
}

.auth-back-to-home:hover i {
  color: #FFFFFF;
  transform: translateX(-2px);
}

@media (max-width: 768px) {
  .auth-back-to-home {
    top: 15px;
    left: 15px;
    font-size: 12px;
    padding: 6px 14px;
  }
}

/* ==========================================================================
   LUXURY LOGIN PAGE STYLES - WHITE BACKGROUND & PINK CONTAINER CARD
   ========================================================================== */

.auth-ref-wrapper {
  min-height: 100vh;
  width: 100%;
  background-color: #FFFFFF;
  background: radial-gradient(circle at 10% 20%, rgba(253, 242, 248, 0.5) 0%, rgba(255, 255, 255, 0.98) 60%, #FFFFFF 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  position: relative;
  font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  overflow-y: auto;
}

.auth-ref-card-container {
  width: 100%;
  max-width: 1100px;
  background: linear-gradient(135deg, #FFF0F5 0%, #FDF2F8 50%, #FCE7F3 100%);
  border: 1.5px solid #FBCFE8;
  border-radius: 32px;
  padding: 44px 48px;
  box-shadow: 0 25px 60px rgba(236, 72, 153, 0.14), 0 0 0 1px rgba(255, 255, 255, 0.8);
  margin-bottom: 28px;
}

.auth-ref-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 48px;
  align-items: center;
}

/* Left Column: Brand, Tagline, Headline, 3 Values, Product Photo */
.auth-ref-left {
  display: flex;
  flex-direction: column;
}

.auth-ref-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.auth-ref-brand-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, #EC4899, #DB2777);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 6px 14px rgba(236, 72, 153, 0.3);
}

.auth-ref-brand-text {
  font-size: 22px;
  font-weight: 800;
  color: #111827;
  letter-spacing: 0.5px;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.auth-ref-brand-text span {
  font-size: 14px;
  font-weight: 700;
  color: #EC4899;
  letter-spacing: 1.5px;
}

.auth-ref-tagline {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #DB2777;
  margin-bottom: 14px;
}

.auth-ref-tagline .bar {
  width: 3px;
  height: 14px;
  background: #EC4899;
  border-radius: 3px;
}

.auth-ref-title {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.2;
  color: #111827;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.auth-ref-title .pink-text {
  color: #EC4899;
  background: linear-gradient(135deg, #EC4899, #DB2777);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.auth-ref-title .heart-icon {
  color: #EC4899;
  font-size: 28px;
  vertical-align: middle;
}

.auth-ref-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #6B7280;
  margin-bottom: 24px;
  max-width: 460px;
}

.auth-ref-values {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.auth-ref-val-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.auth-ref-val-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid #FBCFE8;
  color: #EC4899;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
  margin-top: 2px;
  box-shadow: 0 2px 6px rgba(236, 72, 153, 0.12);
}

.auth-ref-val-item h6 {
  font-size: 13px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 2px 0;
}

.auth-ref-val-item p {
  font-size: 12px;
  color: #6B7280;
  margin: 0;
}

.auth-ref-showcase-box {
  width: 100%;
  max-width: 440px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(236, 72, 153, 0.14);
  border: 1.5px solid #FBCFE8;
  background: #FFF5F8;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.auth-ref-showcase-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(236, 72, 153, 0.2);
}

.auth-ref-showcase-box img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s ease;
}

.auth-ref-showcase-box:hover img {
  transform: scale(1.03);
}

/* Right Column: Floating Pure White Login Form */
.auth-ref-form-card {
  background: #FFFFFF;
  border: 1.5px solid #FCE7F3;
  border-radius: 26px;
  padding: 40px 36px;
  box-shadow: 0 20px 45px rgba(236, 72, 153, 0.08);
  display: flex;
  flex-direction: column;
  position: relative;
}

.auth-ref-lock-header {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  position: relative;
}

.auth-ref-lock-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: radial-gradient(circle, #FDF2F8 0%, #FCE7F3 100%);
  border: 1.5px solid #FBCFE8;
  color: #EC4899;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 6px 16px rgba(236, 72, 153, 0.2);
  position: relative;
}

.auth-ref-sparkle-1 {
  position: absolute;
  top: 0;
  right: -10px;
  font-size: 10px;
  color: #F472B6;
}

.auth-ref-sparkle-2 {
  position: absolute;
  bottom: 4px;
  left: -10px;
  font-size: 10px;
  color: #F472B6;
}

.auth-ref-form-title {
  text-align: center;
  font-size: 24px;
  font-weight: 800;
  color: #111827;
  margin-bottom: 6px;
  letter-spacing: -0.3px;
}

.auth-ref-form-subtitle {
  text-align: center;
  font-size: 13px;
  color: #6B7280;
  margin-bottom: 26px;
}

.auth-ref-group {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.auth-ref-label {
  font-size: 13px;
  font-weight: 600;
  color: #374151;
}

.auth-ref-input-box {
  position: relative;
  display: flex;
  align-items: center;
}

.auth-ref-input-box i.input-icon {
  position: absolute;
  left: 16px;
  color: #9CA3AF;
  font-size: 15px;
  pointer-events: none;
}

.auth-ref-input {
  width: 100%;
  padding: 12px 16px 12px 44px;
  border: 1.5px solid #E5E7EB;
  border-radius: 12px;
  font-size: 14px;
  color: #111827;
  font-family: inherit;
  background: #FFFFFF;
  transition: all 0.2s ease;
  outline: none;
}

.auth-ref-input:focus {
  border-color: #EC4899;
  box-shadow: 0 0 0 4px rgba(236, 72, 153, 0.12);
}

.auth-ref-input::placeholder {
  color: #9CA3AF;
}

.auth-ref-eye-btn {
  position: absolute;
  right: 14px;
  background: none;
  border: none;
  color: #9CA3AF;
  font-size: 15px;
  cursor: pointer;
  padding: 4px;
  transition: color 0.2s ease;
}

.auth-ref-eye-btn:hover {
  color: #EC4899;
}

.auth-ref-forgot-row {
  display: flex;
  justify-content: flex-end;
  margin-top: -6px;
  margin-bottom: 20px;
}

.auth-ref-forgot-link {
  font-size: 12px;
  font-weight: 600;
  color: #EC4899;
  text-decoration: none;
  transition: color 0.2s ease;
}

.auth-ref-forgot-link:hover {
  color: #BE185D;
  text-decoration: underline;
}

.auth-ref-btn-submit {
  width: 100%;
  padding: 13px 20px;
  border-radius: 12px;
  background: linear-gradient(135deg, #EC4899, #DB2777);
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 6px 18px rgba(236, 72, 153, 0.35);
  transition: all 0.25s ease;
}

.auth-ref-btn-submit:hover {
  background: linear-gradient(135deg, #DB2777, #BE185D);
  box-shadow: 0 8px 24px rgba(236, 72, 153, 0.45);
  transform: translateY(-1px);
}

.auth-ref-switch {
  text-align: center;
  font-size: 13px;
  color: #6B7280;
}

.auth-ref-switch a {
  color: #EC4899;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  margin-left: 4px;
}

.auth-ref-switch a:hover {
  text-decoration: underline;
  color: #BE185D;
}

/* Bottom Trust Bar (4 Pillars) */
.auth-ref-trust-bar {
  width: 100%;
  max-width: 1100px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.auth-ref-trust-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #FFF0F5;
  border: 1.5px solid #FBCFE8;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(236, 72, 153, 0.06);
}

.auth-ref-trust-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #FFFFFF;
  border: 1px solid #FBCFE8;
  color: #EC4899;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.auth-ref-trust-card h6 {
  font-size: 13px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 2px 0;
}

.auth-ref-trust-card p {
  font-size: 11px;
  color: #6B7280;
  margin: 0;
  line-height: 1.3;
}

.auth-ref-copyright {
  font-size: 12px;
  color: #9CA3AF;
  text-align: center;
}

/* Responsive Styles for Login */
@media (max-width: 1024px) {
  .auth-ref-card-container {
    padding: 32px 24px;
  }
  .auth-ref-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .auth-ref-left {
    text-align: center;
    align-items: center;
  }
  .auth-ref-brand {
    justify-content: center;
  }
  .auth-ref-values {
    align-items: flex-start;
    max-width: 400px;
  }
  .auth-ref-trust-bar {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .auth-ref-wrapper {
    padding: 20px 12px;
  }
  .auth-ref-card-container {
    padding: 24px 16px;
    border-radius: 24px;
  }
  .auth-ref-title {
    font-size: 28px;
  }
  .auth-ref-form-card {
    padding: 24px 18px;
  }
  .auth-ref-trust-bar {
    grid-template-columns: 1fr;
  }
  .auth-ref-social-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   AI SKINCARE ASSISTANT & SMART RECOMMENDATIONS PAGE STYLES
   ========================================================================== */

.recom-chat-layout {
  display: grid;
  grid-template-columns: 1.45fr 0.95fr;
  gap: 24px;
  align-items: start;
  margin-bottom: 40px;
}

.recom-chat-main {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* 1. Skin Profile Diagnosis Card */
.recom-profile-card {
  background: #FFFFFF;
  border: 1.5px solid #FCE7F3;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(236, 72, 153, 0.06);
  position: relative;
  overflow: hidden;
}

.recom-profile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #FDF2F8;
}

.recom-profile-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 800;
  color: #111827;
  font-family: 'Outfit', sans-serif;
}

.recom-profile-title i {
  color: #EC4899;
  font-size: 18px;
}

.recom-profile-badge {
  background: #FDF2F8;
  color: #EC4899;
  border: 1px solid #FBCFE8;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
}

.recom-section-label {
  font-size: 12px;
  font-weight: 700;
  color: #4B5563;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.recom-chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.recom-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  color: #4B5563;
  background: #F9FAFB;
  border: 1.5px solid #E5E7EB;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.recom-chip i {
  font-size: 13px;
  color: #9CA3AF;
  transition: color 0.2s ease;
}

.recom-chip:hover {
  border-color: #FBCFE8;
  background: #FDF2F8;
  color: #EC4899;
  transform: translateY(-1px);
}

.recom-chip:hover i {
  color: #EC4899;
}

.recom-chip.active {
  background: linear-gradient(135deg, #EC4899, #DB2777);
  color: #FFFFFF;
  border-color: #EC4899;
  box-shadow: 0 4px 12px rgba(236, 72, 153, 0.3);
  font-weight: 700;
}

.recom-chip.active i {
  color: #FFFFFF;
}

/* 2. Routine Bundle Section */
.recom-routine-wrapper {
  background: linear-gradient(135deg, #FFF5F8 0%, #FFFFFF 100%);
  border: 1.5px solid #FBCFE8;
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 6px 24px rgba(236, 72, 153, 0.08);
}

.recom-routine-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 12px;
}

.recom-routine-title {
  font-size: 16px;
  font-weight: 800;
  color: #111827;
  display: flex;
  align-items: center;
  gap: 8px;
}

.recom-routine-title span {
  color: #EC4899;
}

.recom-btn-bundle {
  background: linear-gradient(135deg, #EC4899, #DB2777);
  color: #FFFFFF;
  border: none;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(236, 72, 153, 0.25);
  transition: all 0.2s ease;
}

.recom-btn-bundle:hover {
  background: linear-gradient(135deg, #DB2777, #BE185D);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(236, 72, 153, 0.35);
}

.recom-routine-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}

.recom-routine-card {
  background: #FFFFFF;
  border: 1.5px solid #FCE7F3;
  border-radius: 16px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.recom-routine-card:hover {
  transform: translateY(-3px);
  border-color: #EC4899;
  box-shadow: 0 8px 20px rgba(236, 72, 153, 0.15);
}

.recom-step-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 800;
  color: #EC4899;
  background: #FDF2F8;
  border: 1px solid #FCE7F3;
  padding: 3px 8px;
  border-radius: 50px;
  margin-bottom: 10px;
  align-self: flex-start;
}

.recom-routine-img-box {
  width: 100%;
  height: 120px;
  background: #FDF2F8;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  margin-bottom: 10px;
  cursor: pointer;
  overflow: hidden;
}

.recom-routine-img-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.recom-routine-card:hover .recom-routine-img-box img {
  transform: scale(1.06);
}

.recom-routine-name {
  font-size: 12px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 4px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 32px;
  line-height: 1.3;
  cursor: pointer;
}

.recom-routine-match {
  font-size: 10px;
  font-weight: 700;
  color: #10B981;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 6px;
}

.recom-routine-price {
  font-size: 13px;
  font-weight: 800;
  color: #EC4899;
  margin-top: auto;
  margin-bottom: 8px;
}

.recom-routine-btn {
  width: 100%;
  padding: 6px 0;
  border-radius: 8px;
  background: #FDF2F8;
  color: #EC4899;
  border: 1px solid #FBCFE8;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: all 0.2s ease;
}

.recom-routine-btn:hover {
  background: #EC4899;
  color: #FFFFFF;
}

/* 3. Catalog Products Grid */
.recom-catalog-card {
  background: #FFFFFF;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1.5px solid #F3F4F6;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  position: relative;
  transition: all 0.25s ease;
}

.recom-catalog-card:hover {
  transform: translateY(-4px);
  border-color: #FBCFE8;
  box-shadow: 0 10px 24px rgba(236, 72, 153, 0.12);
}

.recom-catalog-img-box {
  background: #FFF5F8;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  position: relative;
  cursor: pointer;
}

.recom-catalog-img-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.recom-catalog-card:hover .recom-catalog-img-box img {
  transform: scale(1.05);
}

.recom-score-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  color: #DB2777;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 50px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  gap: 3px;
  border: 1px solid #FCE7F3;
}

.recom-catalog-info {
  padding: 14px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 6px;
}

.recom-catalog-tagline {
  font-size: 10px;
  color: #6B7280;
  background: #F9FAFB;
  padding: 2px 6px;
  border-radius: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  width: fit-content;
}

/* 1. Category Filter Cards (Image 2 Reference) */
.recom-category-card {
  background: #FFFFFF;
  border: 1.5px solid #F3F4F6;
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.recom-category-card i {
  color: #EC4899;
  font-size: 16px;
  transition: transform 0.2s ease;
}

.recom-category-card span {
  font-size: 13px;
  font-weight: 700;
  color: #1F2937;
}

.recom-category-card:hover {
  border-color: #FBCFE8;
  background: #FDF2F8;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(236, 72, 153, 0.1);
}

.recom-category-card.active {
  border-color: #EC4899;
  background: #FFFFFF;
  box-shadow: 0 0 0 1.5px #EC4899, 0 4px 12px rgba(236, 72, 153, 0.15);
}

.recom-category-card.active span {
  color: #EC4899;
}

/* 2. Pink Product Cards (Image 2 Reference) */
.recom-pink-card {
  background: #FFFFFF;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid #ECECEC;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.recom-pink-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(236, 72, 153, 0.12);
  border-color: #FBCFE8;
}

.recom-pink-wishlist {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid #F3F4F6;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #EC4899;
  cursor: pointer;
  z-index: 10;
  font-size: 13px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease;
}

.recom-pink-wishlist:hover {
  transform: scale(1.1);
}

.recom-pink-img-box {
  background: #EC4899;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  cursor: pointer;
  position: relative;
}

.recom-pink-img-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 10px;
  transition: transform 0.3s ease;
  background: transparent;
}

.recom-pink-card:hover .recom-pink-img-box img {
  transform: scale(1.06);
}

.recom-pink-info {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-grow: 1;
  background: #FFFFFF;
}

.recom-pink-name {
  font-size: 13px;
  font-weight: 700;
  color: #111827;
  margin: 0;
  cursor: pointer;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 36px;
  line-height: 1.4;
}

.recom-pink-btn {
  border: 1px solid #FBCFE8;
  border-radius: 6px;
  background-color: #FFFFFF;
  color: #EC4899;
  font-weight: 700;
  font-size: 11px;
  width: 100%;
  padding: 8px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  margin-top: auto;
  transition: all 0.2s ease;
}

.recom-pink-btn:hover {
  background-color: #EC4899;
  color: #FFFFFF;
  border-color: #EC4899;
}

/* 4. AI Skincare Assistant Chatbot Panel */
.recom-chat-sidebar {
  position: sticky;
  top: 75px;
  z-index: 20;
}

.chat-assistant-panel {
  height: calc(100vh - 100px);
  max-height: 550px;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  border: 1.5px solid #FCE7F3;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(236, 72, 153, 0.1);
  background: #FFFFFF;
}

.chat-header {
  background: linear-gradient(135deg, #EC4899, #DB2777);
  color: #FFFFFF;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(236, 72, 153, 0.2);
}

.chat-header-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-avatar-box {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.chat-header-title {
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
}

.chat-header-status {
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 5px;
  opacity: 0.95;
  margin-top: 2px;
}

.chat-status-dot {
  width: 7px;
  height: 7px;
  background-color: #10B981;
  border-radius: 50%;
  box-shadow: 0 0 6px #10B981;
}

.chat-body {
  flex-grow: 1;
  padding: 18px;
  overflow-y: auto;
  background-color: #FDF9FA;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Chat Bubbles */
.chat-msg {
  max-width: 90%;
  font-size: 13px;
  line-height: 1.5;
  word-break: break-word;
}

.msg-bot {
  align-self: flex-start;
  background: #FFFFFF;
  color: #1F2937;
  border-radius: 16px 16px 16px 4px;
  padding: 14px 16px;
  border: 1px solid #F3E8EE;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.msg-user {
  align-self: flex-end;
  background: linear-gradient(135deg, #EC4899, #DB2777);
  color: #FFFFFF;
  border-radius: 16px 16px 4px 16px;
  padding: 12px 16px;
  box-shadow: 0 4px 12px rgba(236, 72, 153, 0.25);
  font-weight: 500;
}

/* Visual Product Card Embedded Inside Chat Messages */
.chat-product-box {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.chat-product-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #FFF5F8;
  border: 1px solid #FCE7F3;
  border-radius: 12px;
  padding: 8px 10px;
  transition: all 0.2s ease;
}

.chat-product-card:hover {
  background: #FDF2F8;
  border-color: #EC4899;
  transform: translateX(2px);
}

.chat-prod-img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: #FFFFFF;
  object-fit: contain;
  padding: 2px;
  flex-shrink: 0;
  border: 1px solid #FCE7F3;
}

.chat-prod-details {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.chat-prod-name {
  font-size: 11px;
  font-weight: 700;
  color: #111827;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.chat-prod-price {
  font-size: 11px;
  font-weight: 800;
  color: #EC4899;
  margin-top: 2px;
}

.chat-prod-btn {
  background: linear-gradient(135deg, #EC4899, #DB2777);
  color: #FFFFFF;
  border: none;
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.chat-prod-btn:hover {
  background: #BE185D;
  transform: scale(1.04);
}

/* Chat Quick Topic Suggestions */
.chat-suggestions-card {
  background: #FFFFFF;
  border: 1px solid #FCE7F3;
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: 0 2px 8px rgba(236, 72, 153, 0.04);
}

.chat-suggestions-title {
  font-size: 11px;
  font-weight: 700;
  color: #6B7280;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.chat-suggestions-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chat-topic-chip {
  font-size: 10px;
  font-weight: 700;
  color: #EC4899;
  background: #FDF2F8;
  border: 1px solid #FBCFE8;
  padding: 5px 10px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.chat-topic-chip:hover {
  background: #EC4899;
  color: #FFFFFF;
  transform: translateY(-1px);
}

/* Chat Typing Dots */
.typing-indicator {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 14px;
  background: #FFFFFF;
  border: 1px solid #FCE7F3;
  border-radius: 16px;
  width: fit-content;
  align-self: flex-start;
}

.typing-indicator span {
  width: 6px;
  height: 6px;
  background: #EC4899;
  border-radius: 50%;
  animation: typingBounce 1.4s infinite ease-in-out both;
}

.typing-indicator span:nth-child(1) { animation-delay: -0.32s; }
.typing-indicator span:nth-child(2) { animation-delay: -0.16s; }

@keyframes typingBounce {
  0%, 80%, 100% { transform: scale(0); opacity: 0.3; }
  40% { transform: scale(1); opacity: 1; }
}

/* Responsive Styles for Recommendation */
@media (max-width: 1024px) {
  .recom-chat-layout {
    grid-template-columns: 1fr;
  }
  .chat-assistant-panel {
    height: 520px;
  }
}





