/* =============================================
   Kali's Kookies — site.css
   ============================================= */

:root {
  --kk-primary: #8B4513;
  --kk-primary-dark: #5C3317;
  --kk-primary-light: #A0522D;
  --kk-secondary: #D2691E;
  --kk-accent: #F4A261;
  --kk-accent-light: #FFDAB9;
  --kk-gold: #D4AF37;
  --kk-cream: #FFF8F0;
  --kk-warm-white: #FFFDF9;
  --kk-sand: #F5DEB3;
  --kk-border: #E8D5C4;
  --kk-text-dark: #3D2B1F;
  --kk-text-medium: #6B4226;
  --kk-text-light: #9C7A6A;
  --kk-success: #52B788;
  --kk-danger: #E76F51;
  --kk-shadow: 0 4px 20px rgba(91, 51, 23, 0.10);
  --kk-shadow-hover: 0 8px 32px rgba(91, 51, 23, 0.18);
  --kk-radius: 16px;
  --kk-radius-sm: 8px;
  --kk-radius-lg: 24px;
  --transition: all 0.3s ease;
}

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--kk-cream);
  color: var(--kk-text-dark);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, .font-brand { font-family: 'Pacifico', cursive; }

a { transition: var(--transition); }

img { max-width: 100%; }

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 7px; }
::-webkit-scrollbar-track { background: var(--kk-cream); }
::-webkit-scrollbar-thumb { background: var(--kk-secondary); border-radius: 4px; }

/* =============================================
   PAGE LOADER
   ============================================= */
#page-loader {
  position: fixed;
  inset: 0;
  background: var(--kk-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
#page-loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-cookie {
  animation: cookieSpin 0.9s ease-in-out infinite alternate;
  display: inline-block;
}
@keyframes cookieSpin {
  from { transform: rotate(-15deg) scale(0.9); }
  to   { transform: rotate(15deg) scale(1.1); }
}

/* =============================================
   NAVBAR
   ============================================= */

/* Responsive logo sizing */
.navbar-logo {
  height: 80px;
  max-width: 280px;
  object-fit: contain;
  transition: var(--transition);
}
.navbar-kk.scrolled .navbar-logo { height: 60px; }

@media (max-width: 991px) {
  .navbar-kk .navbar-collapse.show,
  .navbar-kk .navbar-collapse.collapsing {
    background: rgba(255, 248, 240, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: var(--kk-radius);
    padding: 1rem 1.25rem 1.25rem;
    margin-top: 0.5rem;
    box-shadow: 0 8px 32px rgba(91,51,23,0.14);
    border: 1px solid var(--kk-border);
  }
  .navbar-kk .navbar-collapse.show .nav-link {
    padding: 0.55rem 0.5rem !important;
    border-bottom: 1px solid var(--kk-border);
  }
  .navbar-kk .navbar-collapse.show .nav-item:last-child .nav-link,
  .navbar-kk .navbar-collapse.show .nav-item:last-child {
    border-bottom: none;
  }
  .navbar-kk .navbar-collapse.show .btn-order {
    margin-top: 0.75rem;
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .navbar-logo { height: 60px; max-width: 220px; }
}
@media (max-width: 400px) {
  .navbar-logo { height: 50px; max-width: 180px; }
}

.navbar-kk {
  background: transparent;
  transition: var(--transition);
  padding: 0.75rem 0;
}
.navbar-kk.scrolled {
  background: rgba(255, 248, 240, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--kk-shadow);
  padding: 0.6rem 0;
}

.navbar-brand { text-decoration: none; }

.navbar-toggler {
  color: var(--kk-primary) !important;
  padding: 0.4rem 0.5rem;
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%238B4513' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important;
}

.navbar-kk .nav-link {
  font-weight: 500;
  color: var(--kk-text-dark) !important;
  padding: 0.5rem 0.9rem !important;
  border-radius: var(--kk-radius-sm);
  transition: var(--transition);
  position: relative;
}
.navbar-kk .nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 0.9rem; right: 0.9rem;
  height: 2px;
  background: var(--kk-accent);
  transform: scaleX(0);
  transition: transform 0.28s ease;
  border-radius: 2px;
}
.navbar-kk .nav-link:hover::after,
.navbar-kk .nav-link.active::after { transform: scaleX(1); }
.navbar-kk .nav-link:hover,
.navbar-kk .nav-link.active { color: var(--kk-primary) !important; }

.btn-order {
  background: var(--kk-primary) !important;
  color: white !important;
  border-radius: 50px !important;
  padding: 0.5rem 1.4rem !important;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(139,69,19,0.28);
  transition: var(--transition) !important;
}
.btn-order:hover {
  background: var(--kk-primary-dark) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(139,69,19,0.38) !important;
  color: white !important;
}
.btn-order::after { display: none !important; }

/* =============================================
   HERO SECTION
   ============================================= */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--kk-cream) 0%, #FFF0DC 50%, var(--kk-sand) 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}
.hero-section::before {
  content: '';
  position: absolute;
  top: -40%; right: -15%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(212,140,60,0.13) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-section::after {
  content: '';
  position: absolute;
  bottom: -25%; left: -8%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(139,69,19,0.07) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-title {
  font-size: clamp(2.4rem, 6vw, 5rem);
  color: var(--kk-primary-dark);
  line-height: 1.1;
  margin-bottom: 1.4rem;
}
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--kk-text-medium);
  margin-bottom: 2rem;
  max-width: 480px;
  line-height: 1.8;
}

/* Hero cookie animation */
.hero-cookies {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 420px;
}
.cookie-float {
  font-size: clamp(5rem, 12vw, 9rem);
  animation: cookieFloat 4s ease-in-out infinite;
  display: inline-block;
  filter: drop-shadow(0 20px 40px rgba(139,69,19,0.25));
  position: relative; z-index: 1;
}
@keyframes cookieFloat {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50%       { transform: translateY(-22px) rotate(5deg); }
}

.cookie-circle {
  position: absolute;
  border-radius: 50%;
  border: 3px solid;
  opacity: 0.14;
  animation: cookiePulse 3s ease-in-out infinite;
}
.cookie-circle-1 { width: 200px; height: 200px; border-color: var(--kk-secondary); animation-delay: 0s; }
.cookie-circle-2 { width: 300px; height: 300px; border-color: var(--kk-accent);    animation-delay: 0.5s; }
.cookie-circle-3 { width: 400px; height: 400px; border-color: var(--kk-primary);   animation-delay: 1s; }
@keyframes cookiePulse {
  0%, 100% { transform: scale(1);    opacity: 0.14; }
  50%       { transform: scale(1.05); opacity: 0.24; }
}

/* Floating decorations */
.floating-chip {
  position: absolute;
  font-size: 1.5rem;
  animation: chipFloat 5s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}
.floating-chip:nth-child(1) { top: 18%; left: 8%;  animation-delay: 0s;   }
.floating-chip:nth-child(2) { top: 72%; left: 4%;  animation-delay: 1.2s; }
.floating-chip:nth-child(3) { top: 22%; right: 6%; animation-delay: 2.1s; }
.floating-chip:nth-child(4) { bottom: 18%; right: 8%; animation-delay: 0.7s; }
@keyframes chipFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33%       { transform: translateY(-14px) rotate(10deg); }
  66%       { transform: translateY(7px) rotate(-5deg); }
}

/* =============================================
   BUTTONS
   ============================================= */
.btn-kk-primary {
  background: var(--kk-primary);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 0.8rem 2rem;
  font-weight: 600;
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(139,69,19,0.28);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}
.btn-kk-primary:hover {
  background: var(--kk-primary-dark);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(139,69,19,0.38);
  text-decoration: none;
}

.btn-kk-outline {
  background: transparent;
  color: var(--kk-primary);
  border: 2px solid var(--kk-primary);
  border-radius: 50px;
  padding: 0.8rem 2rem;
  font-weight: 600;
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
  transition: var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}
.btn-kk-outline:hover {
  background: var(--kk-primary);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(139,69,19,0.28);
  text-decoration: none;
}

/* =============================================
   SECTION ELEMENTS
   ============================================= */
.section-label {
  display: inline-block;
  background: var(--kk-accent-light);
  color: var(--kk-primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}
.section-header { text-align: center; margin-bottom: 3rem; }
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--kk-primary-dark);
  margin-bottom: 1rem;
}
.section-desc {
  color: var(--kk-text-medium);
  font-size: 1.05rem;
  max-width: 580px;
  margin: 0 auto;
}

/* =============================================
   PRODUCT CARDS
   ============================================= */
.product-card {
  background: white;
  border-radius: var(--kk-radius);
  overflow: hidden;
  box-shadow: var(--kk-shadow);
  transition: var(--transition);
  border: 1px solid var(--kk-border);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--kk-shadow-hover);
}

.product-card-img-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, var(--kk-cream), var(--kk-sand));
}
.product-card-img-wrapper img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-card-img-wrapper img { transform: scale(1.07); }

.product-card-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(3rem, 6vw, 5rem);
  transition: transform 0.5s ease;
}
.product-card:hover .product-card-placeholder { transform: scale(1.07); }

.product-badge {
  position: absolute;
  top: 10px; left: 10px;
  background: var(--kk-primary);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.22rem 0.7rem;
  border-radius: 50px;
  letter-spacing: 0.5px;
}
.product-badge-oos { background: var(--kk-text-light); }

.product-card-body { padding: 1.1rem 1.1rem 0.5rem; flex: 1; }
.product-card-category {
  font-size: 0.72rem;
  color: var(--kk-accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.35rem;
}
.product-card-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--kk-text-dark);
  margin-bottom: 0.4rem;
  line-height: 1.3;
}
.product-card-desc {
  font-size: 0.83rem;
  color: var(--kk-text-light);
  margin-bottom: 0.8rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.1rem 1.1rem;
}
.product-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--kk-primary);
}
.btn-view-product {
  background: var(--kk-cream);
  color: var(--kk-primary);
  border: 2px solid var(--kk-border);
  border-radius: 50px;
  padding: 0.35rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 600;
  transition: var(--transition);
  text-decoration: none;
}
.btn-view-product:hover {
  background: var(--kk-primary);
  color: white;
  border-color: var(--kk-primary);
}

/* =============================================
   CATEGORY FILTER
   ============================================= */
.filter-section {
  background: white;
  border-radius: var(--kk-radius);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--kk-shadow);
}
.filter-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--kk-text-light);
  margin-bottom: 0.75rem;
}
.category-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.category-pill {
  background: var(--kk-cream);
  color: var(--kk-text-medium);
  border: 2px solid var(--kk-border);
  border-radius: 50px;
  padding: 0.35rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
}
.category-pill:hover,
.category-pill.active {
  background: var(--kk-primary);
  color: white;
  border-color: var(--kk-primary);
}

/* =============================================
   PAGE SECTIONS
   ============================================= */
.section-featured   { padding: 5rem 0; background: white; }
.section-categories { padding: 5rem 0; background: var(--kk-cream); }
.section-cta {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--kk-primary-dark) 0%, var(--kk-secondary) 100%);
  color: white;
}

.category-card {
  background: white;
  border-radius: var(--kk-radius);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--kk-shadow);
  transition: var(--transition);
  text-decoration: none;
  color: var(--kk-text-dark);
  display: block;
  height: 100%;
  border: 2px solid transparent;
}
.category-card:hover {
  transform: translateY(-5px);
  border-color: var(--kk-accent);
  box-shadow: var(--kk-shadow-hover);
  color: var(--kk-text-dark);
}
.category-icon { font-size: 3rem; margin-bottom: 1rem; display: block; }
.category-card h3 { font-size: 1.25rem; color: var(--kk-primary); margin-bottom: 0.4rem; }
.category-card p  { font-size: 0.875rem; color: var(--kk-text-light); margin: 0; }

/* =============================================
   VALUE CARDS
   ============================================= */
.value-card {
  background: var(--kk-cream);
  border-radius: var(--kk-radius);
  padding: 2rem 1.5rem;
  text-align: center;
  border: 2px solid var(--kk-border);
  transition: var(--transition);
  height: 100%;
}
.value-card:hover { border-color: var(--kk-accent); transform: translateY(-4px); }
.value-icon { font-size: 2.5rem; margin-bottom: 1rem; display: block; }

.value-icon-wrap {
  width: 68px; height: 68px;
  background: linear-gradient(135deg, var(--kk-accent-light), #FFE8CC);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  font-size: 1.7rem;
  color: var(--kk-primary);
  transition: var(--transition);
}
.value-card:hover .value-icon-wrap {
  background: linear-gradient(135deg, var(--kk-primary), var(--kk-secondary));
  color: white;
}

/* =============================================
   PAGE HEADERS
   ============================================= */
.page-header {
  padding: 7rem 0 3rem;
  background: linear-gradient(135deg, var(--kk-cream) 0%, #FFF0DC 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--kk-primary-dark);
  margin-bottom: 0.8rem;
}
.about-hero {
  padding: 8rem 0 5.5rem;
  background: linear-gradient(135deg, var(--kk-cream) 0%, #FFF0DC 50%, var(--kk-sand) 100%);
  text-align: center;
}
.about-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 75% 30%, rgba(212,140,60,0.12) 0%, transparent 55%),
    radial-gradient(circle at 20% 75%, rgba(139,69,19,0.07) 0%, transparent 50%);
  pointer-events: none;
}
.about-hero-title {
  font-size: clamp(2.2rem, 5vw, 4rem);
  color: var(--kk-primary-dark);
  margin: 1rem 0 1.4rem;
  line-height: 1.15;
}
.about-hero-sub {
  color: var(--kk-text-medium);
  font-size: 1.05rem;
  max-width: 540px;
  margin: 0 auto 2rem;
  line-height: 1.8;
}
.about-hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
}
.about-chip {
  background: white;
  color: var(--kk-primary);
  border: 2px solid var(--kk-border);
  border-radius: 50px;
  padding: 0.4rem 1.1rem;
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(139,69,19,0.08);
}
.about-hero-wave {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  line-height: 0;
}
.about-hero-wave svg { height: 60px; width: 100%; display: block; }
.contact-hero { padding: 8rem 0 4rem; background: linear-gradient(135deg, var(--kk-cream) 0%, #FFF0DC 100%); }

.breadcrumb-kk {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--kk-text-light);
}
.breadcrumb-kk a { color: var(--kk-primary); text-decoration: none; }
.breadcrumb-kk a:hover { text-decoration: underline; }

/* =============================================
   CONTACT PAGE
   ============================================= */
.contact-card {
  background: white;
  border-radius: var(--kk-radius);
  padding: 2.5rem;
  box-shadow: var(--kk-shadow);
  height: 100%;
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact-info-icon {
  width: 46px; height: 46px;
  background: var(--kk-cream);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: var(--kk-primary);
  flex-shrink: 0;
}

.form-kk .form-control,
.form-kk .form-select {
  border: 2px solid var(--kk-border);
  border-radius: var(--kk-radius-sm);
  padding: 0.75rem 1rem;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  transition: var(--transition);
  background: var(--kk-warm-white);
  color: var(--kk-text-dark);
}
.form-kk .form-control:focus,
.form-kk .form-select:focus {
  border-color: var(--kk-accent);
  box-shadow: 0 0 0 4px rgba(244,162,97,0.14);
  background: white;
  outline: none;
}
.form-kk label {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--kk-text-medium);
  margin-bottom: 0.4rem;
  display: block;
}

/* =============================================
   ABOUT PAGE
   ============================================= */

/* Stats band */
.about-stats-band {
  background: white;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--kk-border);
}
.about-stat { text-align: center; padding: 1.2rem 0.5rem; }
.about-stat-num {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 900;
  color: var(--kk-primary);
  line-height: 1;
  margin-bottom: 0.35rem;
}
.about-stat-label {
  font-size: 0.78rem;
  color: var(--kk-text-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

/* Story section */
.about-story { padding: 5rem 0; background: white; }

.about-section-title {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  color: var(--kk-primary-dark);
  line-height: 1.2;
  margin-bottom: 1.2rem;
}
.about-body-text {
  color: var(--kk-text-medium);
  line-height: 1.9;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}
.about-highlight-list {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.about-highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--kk-text-medium);
}
.about-highlight-item i {
  color: var(--kk-success);
  font-size: 1rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

/* Illustration box */
.about-illus {
  position: relative;
  border-radius: var(--kk-radius-lg);
  aspect-ratio: 4 / 3;
  max-width: 440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: var(--kk-shadow-hover);
}
.about-illus--warm { background: linear-gradient(135deg, #FFF0DC, var(--kk-sand)); }
.about-illus--cool { background: linear-gradient(135deg, #EEF2FF, #DDE8FF); }
.about-illus-icon {
  font-size: clamp(4rem, 8vw, 6rem);
  color: var(--kk-primary);
  position: relative;
  z-index: 1;
  opacity: 0.75;
  animation: cookieFloat 4s ease-in-out infinite;
}
.about-illus--cool .about-illus-icon { color: #3B5DA7; }
.about-illus-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid;
  opacity: 0.15;
}
.about-illus--warm .about-illus-ring { border-color: var(--kk-secondary); }
.about-illus--cool .about-illus-ring { border-color: #3B5DA7; }
.about-illus-ring-1 { width: 52%; height: 52%; }
.about-illus-ring-2 { width: 80%; height: 80%; }
.about-illus-pills {
  position: absolute;
  bottom: 1.25rem;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding: 0 1rem;
  z-index: 1;
}
.about-illus-pills span {
  background: white;
  color: var(--kk-primary);
  border-radius: 50px;
  padding: 0.28rem 0.85rem;
  font-size: 0.73rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.about-illus--cool .about-illus-pills span { color: #3B5DA7; }

/* Values section */
.about-values-section { padding: 5rem 0; background: var(--kk-cream); }

/* =============================================
   PRODUCT DETAIL
   ============================================= */
.product-detail-section { padding: 4rem 0; }
.product-detail-img {
  border-radius: var(--kk-radius-lg);
  overflow: hidden;
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--kk-cream), var(--kk-sand));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--kk-shadow-hover);
}
.product-detail-img img { width: 100%; height: 100%; object-fit: cover; }
.product-detail-emoji {
  font-size: clamp(6rem, 12vw, 10rem);
  animation: cookieFloat 4s ease-in-out infinite;
}
.product-detail-category {
  display: inline-block;
  background: var(--kk-accent-light);
  color: var(--kk-primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  border-radius: 50px;
  margin-bottom: 1rem;
  text-decoration: none;
}
.product-detail-name {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--kk-primary-dark);
  margin-bottom: 1rem;
}
.product-detail-price {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--kk-primary);
  margin-bottom: 1.5rem;
}
.availability-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 50px;
}
.availability-in  { background: rgba(82,183,136,0.12); color: var(--kk-success); }
.availability-out { background: rgba(231,111,81,0.12);  color: var(--kk-danger); }

/* =============================================
   LOGIN PAGE
   ============================================= */
.login-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--kk-cream) 0%, #FFF0DC 100%);
  padding: 2rem 0;
}
.login-card {
  background: white;
  border-radius: var(--kk-radius-lg);
  padding: 3rem;
  box-shadow: var(--kk-shadow-hover);
  max-width: 440px;
  width: 100%;
  margin: 0 auto;
}
.login-logo   { font-size: 4rem; text-align: center; margin-bottom: 0.5rem; }
.login-title  { text-align: center; font-size: 2rem; color: var(--kk-primary); margin-bottom: 0.25rem; }
.login-subtitle { text-align: center; color: var(--kk-text-light); font-size: 0.875rem; margin-bottom: 2rem; }

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--kk-primary-dark);
  color: rgba(255,255,255,0.82);
  padding: 3.5rem 0 1.5rem;
}
.footer-brand { font-family: 'Pacifico', cursive; font-size: 1.8rem; color: white; margin-bottom: 0.8rem; }
.footer-desc  { color: rgba(255,255,255,0.55); font-size: 0.9rem; line-height: 1.7; margin-bottom: 1.5rem; }

.footer-social { display: flex; gap: 0.65rem; }
.social-btn {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: var(--transition);
  font-size: 0.95rem;
}
.social-btn:hover { background: var(--kk-accent); color: white; transform: translateY(-3px); }

.footer-heading { color: white; font-size: 0.95rem; font-weight: 700; margin-bottom: 1.1rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.55rem; }
.footer-links a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 0.875rem;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--kk-accent); padding-left: 4px; }
.footer-divider { border-color: rgba(255,255,255,0.1); margin: 2rem 0 1.5rem; }
.footer-copyright { font-size: 0.82rem; color: rgba(255,255,255,0.38); text-align: center; }

/* =============================================
   MENU PAGE
   ============================================= */
.menu-hero {
  padding: 7rem 0 5rem;
  background: linear-gradient(135deg, var(--kk-cream) 0%, #FFF0DC 50%, var(--kk-sand) 100%);
  text-align: center;
}
.menu-hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 60% 40%, rgba(212,140,60,0.1) 0%, transparent 55%);
  pointer-events: none;
}
.menu-hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--kk-primary-dark);
  margin: 0.75rem 0 0.75rem;
  line-height: 1.15;
}
.menu-hero-sub {
  color: var(--kk-text-medium);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}
.menu-hero-wave {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  line-height: 0;
}
.menu-hero-wave svg { height: 55px; width: 100%; display: block; }

.menu-section { padding: 3rem 0 5rem; background: var(--kk-cream); }

/* Filter card */
.menu-filter-card {
  background: white;
  border-radius: var(--kk-radius);
  padding: 1.5rem;
  box-shadow: var(--kk-shadow);
  margin-bottom: 1.5rem;
  border: 1px solid var(--kk-border);
  overflow: hidden;
}

/* Search bar */
.menu-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.menu-search-icon {
  position: absolute;
  left: 14px;
  color: var(--kk-text-light);
  font-size: 0.85rem;
  pointer-events: none;
}
.menu-search-input {
  flex: 1;
  border: 2px solid var(--kk-border);
  border-radius: var(--kk-radius-sm) 0 0 var(--kk-radius-sm);
  padding: 0.65rem 1rem 0.65rem 2.4rem;
  font-family: 'Poppins', sans-serif;
  font-size: 0.875rem;
  color: var(--kk-text-dark);
  background: var(--kk-cream);
  outline: none;
  transition: var(--transition);
}
.menu-search-input:focus {
  border-color: var(--kk-accent);
  background: white;
}
.menu-search-btn {
  background: var(--kk-primary);
  color: white;
  border: none;
  border-radius: 0 var(--kk-radius-sm) var(--kk-radius-sm) 0;
  padding: 0.65rem 1.1rem;
  font-family: 'Poppins', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.menu-search-btn:hover { background: var(--kk-primary-dark); }

/* Results bar */
.menu-results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.menu-results-count {
  color: var(--kk-text-light);
  margin: 0;
  font-size: 0.875rem;
}
.menu-clear-link {
  font-size: 0.875rem;
  color: var(--kk-primary);
  text-decoration: none;
  font-weight: 500;
}
.menu-clear-link:hover { text-decoration: underline; }

/* Empty state */
.menu-empty {
  text-align: center;
  padding: 4rem 1rem;
}
.menu-empty-icon {
  width: 90px; height: 90px;
  background: var(--kk-accent-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2.2rem;
  color: var(--kk-primary);
}
.menu-empty h4 { color: var(--kk-primary); margin-bottom: 0.5rem; }
.menu-empty p { color: var(--kk-text-light); margin-bottom: 1.5rem; }

/* =============================================
   PRODUCT DETAIL PAGE
   ============================================= */
.detail-breadcrumb-bar {
  background: linear-gradient(135deg, var(--kk-cream) 0%, #FFF0DC 100%);
  padding: 5.5rem 0 1.5rem;
  border-bottom: 1px solid var(--kk-border);
}
.product-detail-price-unit {
  font-size: 1rem;
  color: var(--kk-text-light);
  font-weight: 400;
}
.product-detail-desc {
  color: var(--kk-text-medium);
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 1.75rem;
}
.detail-feature-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  padding-top: 1.25rem;
  border-top: 2px solid var(--kk-border);
}
.detail-feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  min-width: 60px;
}
.detail-feature-item i { font-size: 1.4rem; }
.detail-feature-item span {
  font-size: 0.72rem;
  color: var(--kk-text-light);
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
}
.related-section {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 2px solid var(--kk-border);
}
.related-title {
  font-family: 'Pacifico', cursive;
  color: var(--kk-primary);
  margin-bottom: 1.75rem;
  font-size: clamp(1.4rem, 3vw, 2rem);
}

/* =============================================
   UTILITIES
   ============================================= */
.text-brand { color: var(--kk-primary) !important; }
.bg-brand   { background: var(--kk-primary) !important; }
.bg-kk-cream { background: var(--kk-cream) !important; }
.rounded-kk  { border-radius: var(--kk-radius); }
.shadow-kk   { box-shadow: var(--kk-shadow); }
.z-1 { z-index: 1; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 991px) {
  .hero-cookies { display: none; }
  .hero-section { text-align: center; padding-top: 90px; }
  .hero-subtitle { margin: 0 auto 2rem; }
  .hero-section .d-flex { justify-content: center; }
  .about-illus { max-width: 360px; }
}

@media (max-width: 576px) {
  .login-card { padding: 2rem 1.25rem; }
  .contact-card { padding: 1.5rem; }
  .product-detail-price { font-size: 1.8rem; }
  .section-featured, .section-categories, .section-cta { padding: 3rem 0; }

  /* Product cards — tighter on phones */
  .product-card-body { padding: 0.85rem 0.9rem 0.4rem; }
  .product-card-name { font-size: 0.92rem; }
  .product-card-desc { font-size: 0.78rem; }
  .product-card-footer { padding: 0 0.9rem 0.9rem; }
  .product-price { font-size: 1.1rem; }
  .btn-view-product { padding: 0.28rem 0.7rem; font-size: 0.78rem; }

  /* Category cards */
  .category-card { padding: 1.4rem 1rem; }
  .category-icon { font-size: 2.2rem; margin-bottom: 0.6rem; }
  .category-card h3 { font-size: 1.05rem; margin-bottom: 0.25rem; }
  .category-card p { font-size: 0.8rem; }

  /* Value cards */
  .value-card { padding: 1.5rem 1.2rem; }
  .value-icon-wrap { width: 56px; height: 56px; font-size: 1.4rem; border-radius: 14px; }

  /* Menu page */
  .menu-hero { padding: 5.5rem 0 4rem; }
  .menu-hero-wave svg { height: 35px; }
  .menu-section { padding: 2rem 0 3.5rem; }
  .menu-filter-card { padding: 1.1rem; }
  .menu-search-btn { padding: 0.65rem 0.9rem; }
  .detail-breadcrumb-bar { padding: 5rem 0 1.25rem; }
  .detail-feature-strip { gap: 0.75rem 1.25rem; }
  .related-section { margin-top: 2.5rem; padding-top: 2rem; }

  /* About page */
  .about-hero { padding: 6rem 0 4.5rem; }
  .about-hero-wave svg { height: 40px; }
  .about-stats-band { padding: 1.5rem 0; }
  .about-stat { padding: 0.75rem 0.25rem; }
  .about-story { padding: 3rem 0; }
  .about-illus { aspect-ratio: 3 / 2; }
  .about-illus-icon { font-size: 3.5rem; }
  .about-values-section { padding: 3rem 0; }
}
