/* ==========================================================================
   KayuPinus - Modern Furniture & Interior Living
   Theme Stylesheet
   ========================================================================== */

/* 1. CSS VARIABLES & DESIGN TOKENS */
:root {
  --font-primary: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-heading: 'Outfit', 'Poppins', sans-serif;

  /* Colors */
  --kp-primary: #211c18;
  --kp-primary-hover: #38302b;
  --kp-secondary: #c27835;
  --kp-secondary-hover: #a96324;
  --kp-secondary-light: #fbf5ee;
  --kp-accent: #7d5a44;
  
  --kp-dark: #191614;
  --kp-dark-surface: #24201c;
  --kp-light: #f7f5f2;
  --kp-light-alt: #f0ebe4;
  --kp-white: #ffffff;

  --kp-text-main: #2d2824;
  --kp-text-muted: #736b63;
  --kp-text-light: #a89f96;
  --kp-border: #e6e0d8;
  --kp-border-light: #f0ece6;

  /* Shadows */
  --kp-shadow-sm: 0 2px 8px rgba(33, 28, 24, 0.04);
  --kp-shadow-md: 0 6px 20px rgba(33, 28, 24, 0.08);
  --kp-shadow-lg: 0 12px 36px rgba(33, 28, 24, 0.12);
  --kp-shadow-hover: 0 16px 40px rgba(194, 120, 53, 0.15);

  /* Transitions */
  --kp-transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --kp-radius-sm: 6px;
  --kp-radius-md: 12px;
  --kp-radius-lg: 18px;
  --kp-radius-pill: 50px;
}

/* 2. BASE STYLES */
html {
  font-size: 14.5px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  color: var(--kp-text-main);
  background-color: var(--kp-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
  font-family: var(--font-heading);
  color: var(--kp-primary);
  font-weight: 600;
  letter-spacing: -0.02em;
}

h1, .h1 { font-size: 1.75rem; }
h2, .h2 { font-size: 1.45rem; }
h3, .h3 { font-size: 1.2rem; }
h4, .h4 { font-size: 1.05rem; }
h5, .h5 { font-size: 0.925rem; }
h6, .h6 { font-size: 0.825rem; }

.display-1 { font-size: 2.5rem; }
.display-2 { font-size: 2.2rem; }
.display-3 { font-size: 1.95rem; }
.display-4 { font-size: 1.75rem; }
.display-5 { font-size: 1.55rem; }
.display-6 { font-size: 1.35rem; }

.lead {
  font-size: 1rem;
}

a {
  color: var(--kp-primary);
  text-decoration: none;
  transition: var(--kp-transition);
}

a:hover {
  color: var(--kp-secondary);
}

img {
  max-width: 100%;
  height: auto;
}

/* 3. UTILITIES & HELPERS */
.bg-cream {
  background-color: var(--kp-light) !important;
}

.bg-cream-alt {
  background-color: var(--kp-light-alt) !important;
}

.bg-wood-dark {
  background-color: var(--kp-dark) !important;
}

.text-wood {
  color: var(--kp-secondary) !important;
}

.text-wood-accent {
  color: var(--kp-accent) !important;
}

.border-wood-subtle {
  border-color: var(--kp-border) !important;
}

.badge-wood {
  background-color: var(--kp-secondary);
  color: var(--kp-white);
  font-weight: 500;
  padding: 0.35em 0.75em;
  border-radius: var(--kp-radius-pill);
}

.badge-wood-light {
  background-color: var(--kp-secondary-light);
  color: var(--kp-secondary);
  font-weight: 600;
  border: 1px solid rgba(194, 120, 53, 0.2);
}

.badge-discount {
  background-color: #d9483b;
  color: #fff;
  font-weight: 600;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--kp-secondary);
  margin-bottom: 0.75rem;
}

.section-tag::before {
  content: '';
  display: inline-block;
  width: 1.5rem;
  height: 2px;
  background-color: var(--kp-secondary);
}

/* 4. BUTTONS */
.btn {
  font-family: var(--font-primary);
  font-weight: 500;
  padding: 0.6rem 1.45rem;
  border-radius: var(--kp-radius-pill);
  transition: var(--kp-transition);
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}

.btn-primary {
  background-color: var(--kp-primary);
  border-color: var(--kp-primary);
  color: var(--kp-white);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: var(--kp-secondary) !important;
  border-color: var(--kp-secondary) !important;
  color: var(--kp-white) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(194, 120, 53, 0.25);
}

.btn-wood {
  background-color: var(--kp-secondary);
  border-color: var(--kp-secondary);
  color: var(--kp-white);
}

.btn-wood:hover,
.btn-wood:focus {
  background-color: var(--kp-secondary-hover);
  border-color: var(--kp-secondary-hover);
  color: var(--kp-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(194, 120, 53, 0.3);
}

.btn-outline-dark {
  border-color: var(--kp-primary);
  color: var(--kp-primary);
  background-color: transparent;
}

.btn-outline-dark:hover {
  background-color: var(--kp-primary);
  border-color: var(--kp-primary);
  color: var(--kp-white);
  transform: translateY(-2px);
}

.btn-outline-wood {
  border-color: var(--kp-secondary);
  color: var(--kp-secondary);
  background-color: transparent;
}

.btn-outline-wood:hover {
  background-color: var(--kp-secondary);
  border-color: var(--kp-secondary);
  color: var(--kp-white);
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

.btn-outline-light:hover {
  background-color: #ffffff;
  color: var(--kp-primary);
  border-color: #ffffff;
}

.btn-sm {
  padding: 0.35rem 0.95rem;
  font-size: 0.775rem;
}

.btn-icon {
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1rem;
}

/* 5. TOPBAR & NAVBAR */
.topbar {
  background-color: var(--kp-light);
  border-bottom: 1px solid var(--kp-border-light);
  font-size: 0.775rem;
  color: var(--kp-text-muted);
  padding: 0.35rem 0;
}

.navbar-custom {
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(230, 224, 216, 0.6);
  transition: var(--kp-transition);
  position: sticky;
  top: 0;
  z-index: 1030;
  padding: 0.75rem 0;
}

.navbar-custom.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  padding: 0.5rem 0;
}

.navbar-brand-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.brand-icon-box {
  width: 36px;
  height: 36px;
  background-color: var(--kp-primary);
  color: var(--kp-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 1.15rem;
  transition: var(--kp-transition);
}

.navbar-brand:hover .brand-icon-box {
  background-color: var(--kp-secondary);
  color: var(--kp-white);
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--kp-primary);
  line-height: 1.1;
  text-transform: uppercase;
}

.brand-sub {
  font-size: 0.625rem;
  letter-spacing: 0.16em;
  color: var(--kp-secondary);
  font-weight: 500;
  text-transform: uppercase;
}

.navbar-nav .nav-link {
  font-family: var(--font-primary);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--kp-text-main);
  padding: 0.5rem 0.85rem !important;
  position: relative;
  transition: var(--kp-transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--kp-secondary) !important;
}

.navbar-nav .nav-link.active::after,
.navbar-nav .nav-link:hover::after {
  content: '';
  position: absolute;
  bottom: 0px;
  left: 0.85rem;
  right: 0.85rem;
  height: 2px;
  background-color: var(--kp-secondary);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.nav-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--kp-primary);
  background-color: var(--kp-light);
  border: 1px solid var(--kp-border-light);
  position: relative;
  transition: var(--kp-transition);
}

.nav-icon-btn:hover {
  background-color: var(--kp-secondary);
  color: var(--kp-white);
  border-color: var(--kp-secondary);
  transform: translateY(-2px);
}

.cart-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  background-color: var(--kp-secondary);
  color: #fff;
  font-size: 0.625rem;
  font-weight: 700;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
}

/* 6. HERO SECTION & SWIPER CAROUSEL */
.hero-wrapper {
  background: linear-gradient(180deg, #f7f5f2 0%, #ffffff 100%);
  padding: 3rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero-slider-container {
  position: relative;
  border-radius: var(--kp-radius-lg);
  overflow: hidden;
}

.hero-slide-item {
  padding: 2rem 1.25rem;
  position: relative;
}

.hero-img-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 340px;
}

.hero-img-wrap img {
  max-height: 320px;
  object-fit: contain;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.12));
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.swiper-slide-active .hero-img-wrap img {
  transform: scale(1.03);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background-color: var(--kp-secondary-light);
  color: var(--kp-secondary);
  font-weight: 600;
  font-size: 0.775rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--kp-radius-pill);
  border: 1px solid rgba(194, 120, 53, 0.25);
  margin-bottom: 0.85rem;
}

.hero-title {
  font-size: clamp(1.6rem, 3.2vw, 2.35rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--kp-primary);
}

.hero-desc {
  font-size: 0.925rem;
  color: var(--kp-text-muted);
  max-width: 460px;
  margin-bottom: 1.5rem;
}

.hero-price-tag {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--kp-primary);
  font-family: var(--font-heading);
}

.hero-price-old {
  font-size: 0.95rem;
  color: var(--kp-text-light);
  text-decoration: line-through;
  margin-left: 0.5rem;
  font-weight: 400;
}

/* Swiper Controls Custom Styling */
.swiper-button-prev,
.swiper-button-next {
  width: 46px;
  height: 46px;
  background-color: var(--kp-white);
  color: var(--kp-primary);
  border-radius: 50%;
  box-shadow: var(--kp-shadow-md);
  border: 1px solid var(--kp-border-light);
  transition: var(--kp-transition);
}

.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 1rem;
  font-weight: bold;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  background-color: var(--kp-secondary);
  color: var(--kp-white);
  border-color: var(--kp-secondary);
  box-shadow: var(--kp-shadow-hover);
}

.swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: var(--kp-primary);
  opacity: 0.25;
  transition: var(--kp-transition);
}

.swiper-pagination-bullet-active {
  width: 26px;
  border-radius: 10px;
  background-color: var(--kp-secondary);
  opacity: 1;
}

/* 7. FEATURES / VALUE PROPOSITION */
.feature-box {
  background-color: var(--kp-white);
  padding: 1.5rem 1.25rem;
  border-radius: var(--kp-radius-md);
  border: 1px solid var(--kp-border-light);
  display: flex;
  align-items: center;
  gap: 1.15rem;
  transition: var(--kp-transition);
  height: 100%;
}

.feature-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--kp-shadow-md);
  border-color: var(--kp-secondary-light);
}

.feature-icon-box {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background-color: var(--kp-secondary-light);
  color: var(--kp-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 1.4rem;
  transition: var(--kp-transition);
  flex-shrink: 0;
}

.feature-box:hover .feature-icon-box {
  background-color: var(--kp-secondary);
  color: var(--kp-white);
}

.feature-text h6,
.feature-box h6 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--kp-primary);
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

.feature-text small,
.feature-box small {
  font-size: 0.8rem;
  color: var(--kp-text-muted);
  line-height: 1.4;
  display: block;
}

/* 8. PRODUCT CARDS & GRID */
.product-card {
  background-color: var(--kp-white);
  border-radius: var(--kp-radius-md);
  border: 1px solid var(--kp-border-light);
  overflow: hidden;
  transition: var(--kp-transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--kp-shadow-lg);
  border-color: rgba(194, 120, 53, 0.3);
}

.product-thumb-wrap {
  position: relative;
  background-color: #faf8f5;
  padding: 1.5rem;
  text-align: center;
  overflow: hidden;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-thumb-wrap img {
  max-height: 200px;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.product-card:hover .product-thumb-wrap img {
  transform: scale(1.08);
}

.product-badge-group {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2;
}

.product-action-btns {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2;
  opacity: 0;
  transform: translateX(10px);
  transition: var(--kp-transition);
}

.product-card:hover .product-action-btns {
  opacity: 1;
  transform: translateX(0);
}

.action-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--kp-white);
  color: var(--kp-primary);
  border: none;
  box-shadow: var(--kp-shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--kp-transition);
}

.action-btn:hover {
  background-color: var(--kp-secondary);
  color: var(--kp-white);
  transform: scale(1.1);
}

.product-body {
  padding: 1.25rem 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-category {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--kp-secondary);
  margin-bottom: 0.35rem;
}

.product-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--kp-primary);
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.product-title a:hover {
  color: var(--kp-secondary);
}

.product-rating {
  color: #f5a623;
  font-size: 0.8125rem;
  display: flex;
  align-items: center;
  gap: 3px;
  margin-bottom: 0.75rem;
}

.product-rating span {
  color: var(--kp-text-muted);
  font-size: 0.75rem;
  margin-left: 4px;
}

.product-price-row {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  border-top: 1px solid var(--kp-border-light);
}

.product-price {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--kp-primary);
}

.product-old-price {
  font-size: 0.85rem;
  color: var(--kp-text-light);
  text-decoration: line-through;
  margin-left: 0.35rem;
  font-weight: 400;
}

.btn-cart-icon {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 50%;
  background-color: var(--kp-light);
  border: 1px solid var(--kp-border);
  color: var(--kp-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--kp-transition);
  padding: 0;
  flex-shrink: 0;
}

.btn-cart-icon:hover {
  background-color: var(--kp-secondary);
  border-color: var(--kp-secondary);
  color: #ffffff;
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(194, 120, 53, 0.25);
}

.btn-cart-icon:active {
  transform: scale(0.95);
}

/* 9. CATEGORY CARDS */
.category-card {
  position: relative;
  border-radius: var(--kp-radius-md);
  overflow: hidden;
  background-color: var(--kp-light);
  height: 220px;
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  transition: var(--kp-transition);
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--kp-shadow-lg);
}

.category-card img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  z-index: 1;
}

.category-card:hover img {
  transform: scale(1.08);
}

.category-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(25, 22, 20, 0.8) 0%, rgba(25, 22, 20, 0.1) 60%, rgba(25, 22, 20, 0) 100%);
  z-index: 2;
}

.category-content {
  position: relative;
  z-index: 3;
  color: #fff;
}

.category-content h4 {
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.category-content span {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.8);
}

/* 10. PROMO BANNER */
.promo-banner {
  border-radius: var(--kp-radius-lg);
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  padding: 4.5rem 2.5rem;
}

.promo-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(25, 22, 20, 0.85) 0%, rgba(25, 22, 20, 0.5) 100%);
  z-index: 1;
}

.promo-banner-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
  max-width: 580px;
}

.promo-banner-content h2 {
  color: #ffffff;
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  line-height: 1.2;
}

/* 11. TESTIMONIALS & REVIEWS */
.testimonial-card {
  background-color: var(--kp-white);
  border-radius: var(--kp-radius-md);
  padding: 2rem;
  border: 1px solid var(--kp-border-light);
  box-shadow: var(--kp-shadow-sm);
  transition: var(--kp-transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--kp-shadow-md);
  border-color: var(--kp-secondary-light);
}

.testimonial-quote {
  font-size: 1.85rem;
  color: var(--kp-secondary);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.testimonial-text {
  font-size: 0.9375rem;
  color: var(--kp-text-muted);
  font-style: italic;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--kp-secondary);
}

.testimonial-info h5 {
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.testimonial-info small {
  color: var(--kp-text-muted);
  font-size: 0.75rem;
}

/* 12. FILTER PILLS & SHOP SIDEBAR */
.filter-nav-wrapper {
  position: relative;
  width: 100%;
}

.filter-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
}

.filter-btn {
  padding: 0.5rem 1.25rem;
  font-size: 0.825rem;
  font-weight: 500;
  border-radius: var(--kp-radius-pill);
  border: 1px solid var(--kp-border);
  background-color: var(--kp-white);
  color: var(--kp-text-main);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: var(--kp-transition);
  user-select: none;
}

.filter-btn i {
  font-size: 0.875rem;
  color: var(--kp-secondary);
  transition: var(--kp-transition);
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--kp-primary);
  border-color: var(--kp-primary);
  color: var(--kp-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(33, 28, 24, 0.15);
}

.filter-btn:hover i,
.filter-btn.active i {
  color: var(--kp-white);
}

/* Mobile Slider for Category Filters */
@media (max-width: 991.98px) {
  .filter-nav-wrapper {
    margin-left: -0.75rem;
    margin-right: -0.75rem;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    position: relative;
  }

  .filter-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scroll-behavior: smooth;
    justify-content: flex-start;
    padding: 0.4rem 0.5rem 0.85rem;
    margin-bottom: 1.25rem;
    gap: 0.5rem;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
  }

  .filter-nav::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
  }

  .filter-btn {
    flex-shrink: 0;
    scroll-snap-align: start;
    white-space: nowrap;
    padding: 0.45rem 1rem;
    font-size: 0.8rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  }

  .filter-btn:active {
    transform: scale(0.96);
  }
}

.shop-sidebar-box {
  background-color: var(--kp-light);
  border-radius: var(--kp-radius-md);
  border: 1px solid var(--kp-border-light);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.sidebar-heading {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--kp-secondary);
  display: inline-block;
}

/* 13. CART OFFCANVAS & TOAST NOTIFICATIONS */
.cart-drawer-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--kp-border-light);
}

.cart-drawer-img {
  width: 70px;
  height: 70px;
  border-radius: var(--kp-radius-sm);
  background-color: var(--kp-light);
  object-fit: contain;
  padding: 0.25rem;
}

.cart-drawer-details {
  flex-grow: 1;
}

.cart-drawer-details h6 {
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.cart-drawer-price {
  font-weight: 600;
  color: var(--kp-secondary);
  font-size: 0.875rem;
}

.cart-qty-btn {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  border: 1px solid var(--kp-border);
  background-color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  cursor: pointer;
}

/* 14. FOOTER */
.footer {
  background-color: var(--kp-dark);
  color: #a89f96;
  padding-top: 4.5rem;
  font-size: 0.9375rem;
}

.footer h5 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  font-weight: 600;
}

.footer a {
  color: #a89f96;
  text-decoration: none;
  transition: var(--kp-transition);
}

.footer a:hover {
  color: var(--kp-secondary);
  padding-left: 4px;
}

.footer-brand {
  color: #ffffff;
}

.footer-social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--kp-dark-surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--kp-transition);
}

.footer-social-btn:hover {
  background-color: var(--kp-secondary);
  border-color: var(--kp-secondary);
  color: #ffffff;
  transform: translateY(-3px);
  padding-left: 0;
}

.footer-newsletter-input {
  background-color: var(--kp-dark-surface);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border-radius: var(--kp-radius-pill) 0 0 var(--kp-radius-pill);
  padding: 0.75rem 1.25rem;
}

.footer-newsletter-input:focus {
  background-color: var(--kp-dark-surface);
  border-color: var(--kp-secondary);
  color: #ffffff;
  box-shadow: none;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem 0;
  margin-top: 3.5rem;
  font-size: 0.85rem;
}

/* 15. FLOATING WHATSAPP & BACK TO TOP BUTTON */
.floating-actions {
  position: fixed;
  bottom: 25px;
  right: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 1040;
}

.btn-whatsapp-float {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background-color: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  transition: var(--kp-transition);
  text-decoration: none;
}

.btn-whatsapp-float:hover {
  background-color: #1eb857;
  color: #ffffff;
  transform: scale(1.1) translateY(-3px);
}

.btn-back-to-top {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--kp-primary);
  color: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--kp-shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: var(--kp-transition);
}

.btn-back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.btn-back-to-top:hover {
  background-color: var(--kp-secondary);
  color: #ffffff;
  transform: translateY(-3px);
}

/* 16. RESPONSIVE ADJUSTMENTS */
@media (max-width: 991.98px) {
  .hero-img-wrap {
    min-height: 260px;
  }
  .hero-img-wrap img {
    max-height: 240px;
  }
  .hero-title {
    font-size: 2.25rem;
  }
  .navbar-nav .nav-link.active::after,
  .navbar-nav .nav-link:hover::after {
    display: none;
  }
  .feature-box {
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: flex-start;
    padding: 1.25rem 0.75rem;
    gap: 0.65rem;
  }
  .feature-icon-box {
    width: 44px;
    height: 44px;
    min-width: 44px;
    font-size: 1.25rem;
    border-radius: 10px;
    margin: 0 auto;
  }
  .feature-text h6,
  .feature-box h6 {
    font-size: 0.85rem;
    margin-bottom: 0.2rem;
  }
  .feature-text small,
  .feature-box small {
    font-size: 0.72rem;
    line-height: 1.35;
  }
}

@media (max-width: 575.98px) {
  .hero-wrapper {
    padding: 2rem 0 3rem;
  }
  .btn {
    padding: 0.65rem 1.35rem;
  }
  .product-thumb-wrap {
    height: 140px;
    padding: 0.65rem;
  }
  .product-thumb-wrap img {
    max-height: 110px;
  }
  .product-body {
    padding: 0.7rem 0.6rem 0.85rem;
  }
  .product-category {
    font-size: 0.65rem;
    margin-bottom: 0.2rem;
  }
  .product-title {
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
    min-height: 2.3em;
    line-height: 1.25;
  }
  .product-rating {
    font-size: 0.65rem;
    gap: 1.5px;
    margin-bottom: 0.4rem;
  }
  .product-rating span {
    font-size: 0.65rem;
    margin-left: 2px;
  }
  .product-price-row {
    padding-top: 0.45rem;
    gap: 4px;
  }
  .product-price {
    font-size: 0.88rem;
  }
  .product-old-price {
    font-size: 0.7rem;
    display: block;
    margin-left: 0;
  }
  .btn-cart-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    font-size: 0.95rem;
  }
  .product-action-btns {
    top: 6px;
    right: 6px;
    gap: 4px;
    opacity: 1;
    transform: translateX(0);
  }
  .action-btn {
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
  }
  .product-badge-group {
    top: 6px;
    left: 6px;
  }
  .product-badge-group .badge {
    font-size: 0.65rem;
    padding: 0.2rem 0.4rem;
  }
  .promo-banner {
    padding: 2.5rem 1.25rem;
  }
}

/* Newsletter Form Utility */
.newsletter-form .btn {
  white-space: nowrap !important;
  flex-shrink: 0;
}
