/* ==========================================================================
   JodoLocal Design System
   Color Palette:
   - Primary Light Blue: #8CCFE8
   - Secondary Blue:     #5BB9D9
   - Warm White:         #FAF8F3
   - Pure White:          #FFFFFF
   - Dark/Black:         #111111
   - Dark Gray:          #333333
   - Medium Gray:        #777777
   - Light Border:       #E7E7E7
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --primary-blue: #8CCFE8;
  --secondary-blue: #5BB9D9;
  --dark-blue: #2A7B9B;
  --warm-white: #FAF8F3;
  --pure-white: #FFFFFF;
  --black: #111111;
  --dark-gray: #333333;
  --medium-gray: #777777;
  --light-gray: #F4F4F5;
  --light-border: #E7E7E7;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 16px 32px rgba(0, 0, 0, 0.1);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--warm-white);
  color: var(--dark-gray);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Typography Extensions */
h1, h2, h3, h4, h5, h6 {
  color: var(--black);
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Buttons */
.btn-lk-primary {
  background-color: var(--black);
  color: var(--pure-white);
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  border: 1px solid var(--black);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition);
  cursor: pointer;
}

.btn-lk-primary:hover {
  background-color: #222;
  color: var(--pure-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.btn-lk-secondary {
  background-color: var(--primary-blue);
  color: var(--black);
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  border: 1px solid var(--primary-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition);
  cursor: pointer;
}

.btn-lk-secondary:hover {
  background-color: var(--secondary-blue);
  color: var(--black);
  transform: translateY(-2px);
}

.btn-lk-outline {
  background-color: transparent;
  color: var(--black);
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  border: 1px solid var(--light-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition);
  cursor: pointer;
}

.btn-lk-outline:hover {
  border-color: var(--black);
  background-color: var(--pure-white);
}

/* Header & Navigation */
.announcement-bar {
  background-color: var(--black);
  color: var(--pure-white);
  font-size: 0.825rem;
  padding: 8px 0;
  text-align: center;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.sticky-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background-color: var(--pure-white);
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--light-border);
}

.brand-logo {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--black);
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-logo span {
  color: var(--secondary-blue);
}

.search-box-wrap {
  position: relative;
  width: 100%;
  max-width: 580px;
}

.search-box-wrap input {
  width: 100%;
  padding: 11px 48px 11px 20px;
  border-radius: 30px;
  border: 1px solid var(--light-border);
  background-color: var(--warm-white);
  font-size: 0.9rem;
  transition: var(--transition);
}

.search-box-wrap input:focus {
  outline: none;
  border-color: var(--secondary-blue);
  background-color: var(--pure-white);
  box-shadow: 0 0 0 4px rgba(140, 207, 232, 0.25);
}

.search-box-wrap button {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  color: var(--medium-gray);
  cursor: pointer;
}

.header-action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.75rem;
  color: var(--dark-gray);
  position: relative;
  font-weight: 500;
}

.header-action-btn i {
  font-size: 1.25rem;
  margin-bottom: 2px;
}

.badge-count {
  position: absolute;
  top: -6px;
  right: 2px;
  background-color: var(--black);
  color: var(--pure-white);
  font-size: 0.65rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-nav-bar {
  border-top: 1px solid var(--light-border);
  background-color: var(--pure-white);
}

.nav-link-custom {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark-gray);
  padding: 12px 16px !important;
  transition: var(--transition);
}

.nav-link-custom:hover, .nav-link-custom.active {
  color: var(--dark-blue);
  background-color: rgba(140, 207, 232, 0.15);
  border-radius: var(--radius-sm);
}

/* Product Card Component */
.lk-product-card {
  background: var(--pure-white);
  border: 1px solid var(--light-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.lk-product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-blue);
}

.lk-card-img-wrap {
  position: relative;
  background-color: var(--warm-white);
  padding-top: 80%;
  overflow: hidden;
}

.lk-card-img-wrap img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.lk-product-card:hover .lk-card-img-wrap img {
  transform: scale(1.06);
}

.badge-discount {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: var(--black);
  color: var(--pure-white);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  z-index: 2;
}

.badge-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background-color: var(--primary-blue);
  color: var(--black);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  z-index: 2;
}

.btn-wishlist-toggle {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--pure-white);
  border: 1px solid var(--light-border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.btn-wishlist-toggle:hover, .btn-wishlist-toggle.active {
  background: #FFEBEB;
  color: #E53935;
  border-color: #E53935;
}

.lk-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.lk-product-brand {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--medium-gray);
  letter-spacing: 0.05em;
  font-weight: 600;
  margin-bottom: 4px;
}

.lk-product-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--black);
  line-height: 1.3;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rating-stars {
  color: #FFB800;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 10px;
}

.rating-count {
  color: var(--medium-gray);
  font-size: 0.75rem;
}

.price-block {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: auto;
  margin-bottom: 12px;
}

.curr-price {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--black);
}

.orig-price {
  font-size: 0.85rem;
  color: var(--medium-gray);
  text-decoration: line-through;
}

.lk-card-footer {
  display: flex;
  gap: 8px;
}

.lk-card-footer .btn-lk-primary {
  width: 100%;
  padding: 8px 12px;
  font-size: 0.85rem;
}

/* Toast Notifications */
#toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lk-toast {
  background-color: var(--black);
  color: var(--pure-white);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  animation: slideInRight 0.3s ease forwards;
  border-left: 4px solid var(--primary-blue);
}

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Feature Benefits Box */
.feature-box {
  background: var(--pure-white);
  border: 1px solid var(--light-border);
  padding: 24px;
  border-radius: var(--radius-md);
  text-align: center;
  transition: var(--transition);
}

.feature-box:hover {
  border-color: var(--primary-blue);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(140, 207, 232, 0.25);
  color: var(--dark-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 16px auto;
}