/* ==========================================================================
   KWIKPRINTS MODERN DESIGN SYSTEM & COMPONENT STYLES
   Brand: Kwikprints Private Limited (https://kwikprints.co.in)
   Preserving brand identity, colors, structure, and 100% of existing content
   ========================================================================== */

:root {
  --kp-red: #df1f26;
  --kp-red-hover: #b8151b;
  --kp-red-light: #fff1f2;
  --kp-red-glow: rgba(223, 31, 38, 0.25);
  --kp-black: #111827;
  --kp-dark: #1f2937;
  --kp-gray-50: #f8fafc;
  --kp-gray-100: #f1f5f9;
  --kp-gray-200: #e2e8f0;
  --kp-gray-300: #cbd5e1;
  --kp-gray-400: #94a3b8;
  --kp-gray-500: #64748b;
  --kp-gray-600: #475569;
  --kp-gray-700: #334155;
  --kp-gray-800: #1e293b;
  --kp-gray-900: #0f172a;
  --kp-white: #ffffff;
  --kp-green: #10b981;
  --kp-whatsapp: #25d366;
  
  --kp-radius-sm: 6px;
  --kp-radius-md: 10px;
  --kp-radius-lg: 16px;
  --kp-radius-full: 9999px;
  
  --kp-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --kp-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --kp-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --kp-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);

  --kp-font: 'Lato', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --kp-transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Setup */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--kp-font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--kp-gray-800);
  background-color: var(--kp-gray-50);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  max-width: 100%;
  overflow-x: clip;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  max-width: 100%;
  overflow-x: clip;
}

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

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

ul, ol {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: 1380px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ==========================================================================
   TOP BAR / BRAND HEADER - EXACT COLORS & ASPECT RATIO
   ========================================================================== */
.kp-topbar {
  background: #f7f7f7; /* Exact original header_top background */
  border-bottom: 1px solid var(--kp-gray-200);
  padding: 18px 0;
  position: relative;
  z-index: 40;
}

.kp-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Logo styling: High-Definition Vector Corporate Logo (KWIKPRINTS PRIVATE LIMITED) */
.kp-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.kp-logo img {
  height: 48px;
  width: auto;
  max-width: 220px;
  aspect-ratio: 720 / 181;
  object-fit: contain;
  display: block;
}

/* Fallback for legacy raster logo */
.kp-logo img[src*="logo.png"] {
  width: 209px;
  height: 28px;
  aspect-ratio: 209 / 28;
}

.kp-topbar-right {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.kp-contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: #eeeeee; /* Exact original shopping_grid li background */
  border-radius: var(--kp-radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  color: #000000;
  border: 1px solid var(--kp-gray-200);
  transition: var(--kp-transition);
}

.kp-contact-pill:hover {
  background: var(--kp-white);
  border-color: var(--kp-red);
  color: var(--kp-red);
  box-shadow: var(--kp-shadow-sm);
}

.kp-contact-pill img,
.kp-contact-pill svg {
  width: 18px;
  height: 18px;
  max-width: 18px;
  max-height: 18px;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.kp-address-sep {
  margin: 10px 0;
  border-top: 1px dashed rgba(255, 255, 255, 0.25);
  display: block;
}

.kp-address-sep-light {
  margin: 12px 0;
  border-top: 1px dashed var(--kp-gray-300);
  display: block;
}

.kp-address-block {
  line-height: 1.5;
}

.kp-contact-pill.whatsapp {
  background: #f0fdf4;
  border-color: #bbf7d0;
  color: #15803d;
}

.kp-contact-pill.whatsapp:hover {
  background: #dcfce7;
  border-color: var(--kp-whatsapp);
  color: #166534;
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.kp-nav-bar {
  background: var(--kp-black);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--kp-shadow-md);
  transition: var(--kp-transition);
}

.kp-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.kp-nav-links {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.kp-nav-item {
  position: relative;
  flex-shrink: 0;
}

.kp-nav-link {
  display: block;
  padding: 16px 14px;
  font-family: var(--kp-font) !important;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--kp-white);
  transition: var(--kp-transition);
  position: relative;
  white-space: nowrap;
}

.kp-nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 12px;
  right: 12px;
  height: 3px;
  background: var(--kp-red);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.kp-nav-link:hover,
.kp-nav-item.active .kp-nav-link {
  color: var(--kp-white);
  background: rgba(255, 255, 255, 0.08);
}

.kp-nav-link:hover::after,
.kp-nav-item.active .kp-nav-link::after {
  transform: scaleX(1);
}

.kp-nav-quote-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 18px;
  background: var(--kp-red);
  color: var(--kp-white) !important;
  font-family: var(--kp-font) !important;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(223, 31, 38, 0.4);
  transition: var(--kp-transition);
  white-space: nowrap;
  flex-shrink: 0;
  border: none;
  cursor: pointer;
  text-decoration: none;
  line-height: 1;
}

.kp-nav-quote-btn span {
  font-family: var(--kp-font) !important;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.kp-nav-quote-btn:hover {
  background: var(--kp-red-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(223, 31, 38, 0.6);
}

.kp-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--kp-white);
  padding: 12px;
  cursor: pointer;
}

.kp-nav-toggle svg {
  width: 26px;
  height: 26px;
}

/* ==========================================================================
   ROLLING PHOTOS SHOW (HERO SLIDER) - EXPANSIVE & REFINED FINISH
   ========================================================================== */
.kp-hero-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #0f172a;
}

.kp-slides-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1584 / 672; /* Exact 21:9 banner proportions (no horizontal edge crop) */
  max-height: 620px;
  min-height: 300px;
}

.kp-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.75s cubic-bezier(0.4, 0, 0.2, 1);
}

.kp-slide.active {
  opacity: 1;
  visibility: visible;
}

.kp-slide img.kp-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.kp-slide-video-frame {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #dcdedf 0%, #e5e7ea 24%, #eceeef 50%, #e5e7ea 76%, #dcdedf 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.kp-slide video.kp-slide-video {
  height: 100%;
  width: auto;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center center;
  display: block;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
}

/* Smooth Feather Transition for Slide 2 (Erases Hard Seam Into Solid Background) */
.kp-slide-smooth-labels {
  background: #10192b;
}

.kp-slide-smooth-labels img.kp-slide-img {
  object-position: right center;
}

.kp-slide-smooth-labels::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 26%, rgba(223, 31, 38, 0.14) 0%, transparent 44%),
    linear-gradient(90deg,
      #0c1424 0%,
      #10192b 26%,
      #111b2e 41.5%,
      rgba(17, 27, 46, 0.90) 47%,
      rgba(19, 30, 50, 0.56) 55%,
      rgba(22, 34, 54, 0.18) 64%,
      rgba(22, 34, 54, 0) 74%
    );
}

.kp-banner-desc.kp-banner-smooth {
  left: clamp(56px, 4.2vw, 76px);
  width: clamp(350px, 38vw, 600px);
  max-width: 42vw;
  background: rgba(15, 23, 42, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-left: 3px solid var(--kp-red);
  box-shadow: 0 20px 44px rgba(2, 6, 23, 0.45);
}

.kp-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 5px 12px;
  margin-bottom: 10px;
  border-radius: 9999px;
  background: rgba(223, 31, 38, 0.92);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(223, 31, 38, 0.35);
}

.kp-hero-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.kp-hero-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.kp-hero-chip.featured {
  background: rgba(255, 255, 255, 0.96);
  color: #0f172a;
  border-color: #ffffff;
}

/* Glassmorphic Caption Card: Bold Hero Scale Staying Clear of Right-Side Products (~3.8% to ~37%) */
.kp-banner-desc {
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 5;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: clamp(54px, 3.8vw, 72px);
  width: clamp(320px, 33.2vw, 560px);
  max-width: 33.2vw;
  padding: clamp(18px, 1.8vw, 28px) clamp(20px, 2.1vw, 32px);
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.36);
}

/* Consistent Typography Scaled Proportionally Across Screens */
.kp-banner-desc h1 {
  color: #ffffff;
  font-family: 'Lato', sans-serif;
  font-weight: 800;
  font-size: clamp(19px, 1.95vw, 32px);
  line-height: 1.2;
  margin: 0 0 10px 0;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.45);
}

.kp-banner-desc p,
.kp-banner-desc .kp-slide-p {
  color: rgba(255, 255, 255, 0.92);
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  font-size: clamp(12.5px, 1.0vw, 15px);
  line-height: 1.52;
  margin: 0;
}

.kp-banner-desc .kp-slide-features {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 6px;
}

.kp-banner-desc .kp-slide-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: rgba(255, 255, 255, 0.94);
  font-family: 'Lato', sans-serif;
  font-size: clamp(12.5px, 0.98vw, 14.5px);
  line-height: 1.42;
  font-weight: 500;
}

.kp-banner-desc .kp-slide-feature-item::before {
  content: '';
  width: 7px;
  height: 7px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--kp-red);
  flex-shrink: 0;
  box-shadow: 0 0 6px rgba(210, 35, 42, 0.8);
}

/* White-background slides (Cosmetics & Pharma): Clean Light Scrim Card */
.kp-banner-desc.dark-text {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.kp-banner-desc.dark-text h1 {
  color: #0f172a !important;
  text-shadow: none !important;
}

.kp-banner-desc.dark-text p,
.kp-banner-desc.dark-text .kp-slide-p,
.kp-banner-desc.dark-text .kp-slide-feature-item {
  color: #334155 !important;
}

/* Slider Controls: Compact Floating Arrows Clear of Caption Card */
.kp-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  background: rgba(15, 23, 42, 0.65);
  color: var(--kp-white);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 15;
  transition: all 0.25s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.kp-slider-arrow:hover {
  background: var(--kp-red);
  border-color: var(--kp-red);
  color: #ffffff;
  transform: translateY(-50%) scale(1.08);
}

.kp-slider-arrow.prev { left: 12px; }
.kp-slider-arrow.next { right: 12px; }

/* Refined Pointers: Luxury Frosted Pill Container */
.kp-slider-nav {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
  z-index: 15;
}

.kp-slider-dot {
  width: 9px;
  height: 9px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
}

.kp-slider-dot:hover {
  background: rgba(255, 255, 255, 0.85);
  transform: scale(1.15);
}

.kp-slider-dot.active {
  background: var(--kp-red);
  border-color: #ffffff;
  width: 26px;
  border-radius: 9999px;
  box-shadow: 0 0 10px rgba(210, 35, 42, 0.75);
}

/* ==========================================================================
   INTERACTIVE SEARCH BAR
   ========================================================================== */
.kp-search-section {
  background: var(--kp-white);
  padding: 18px 0;
  border-bottom: 1px solid var(--kp-gray-200);
  box-shadow: var(--kp-shadow-sm);
}

.kp-search-container {
  display: flex;
  align-items: center;
  gap: 14px;
}

.kp-search-label {
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--kp-gray-800);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
}

.kp-search-label svg {
  color: var(--kp-red);
  width: 18px;
  height: 18px;
}

.kp-search-box {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
}

.kp-search-input {
  width: 100%;
  padding: 10px 42px 10px 16px;
  background: var(--kp-gray-100);
  border: 1px solid var(--kp-gray-300);
  border-radius: var(--kp-radius-full);
  font-size: 0.95rem;
  color: var(--kp-gray-900);
  transition: var(--kp-transition);
  outline: none;
}

.kp-search-input:focus {
  background: var(--kp-white);
  border-color: var(--kp-red);
  box-shadow: 0 0 0 3px var(--kp-red-glow);
}

.kp-search-clear {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--kp-gray-400);
  cursor: pointer;
  display: none;
  padding: 4px;
}

.kp-search-clear:hover {
  color: var(--kp-red);
}

.kp-search-status {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--kp-red);
  white-space: nowrap;
  display: none;
}

/* ==========================================================================
   MAIN CONTENT GRID & SIDEBAR
   ========================================================================== */
.kp-main-layout {
  padding: 36px 0 60px;
}

.kp-grid-2col {
  display: grid;
  grid-template-columns: 265px 1fr;
  gap: 32px;
  align-items: start;
}

/* Sidebar Styles */
.kp-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.kp-sidebar-card {
  background: var(--kp-white);
  border-radius: var(--kp-radius-md);
  border: 1px solid var(--kp-gray-200);
  overflow: hidden;
  box-shadow: var(--kp-shadow-sm);
}

.kp-sidebar-header {
  background: var(--kp-black);
  color: var(--kp-white);
  padding: 14px 18px;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.kp-sidebar-header svg {
  color: var(--kp-red);
  width: 18px;
  height: 18px;
}

/* Accordion Menu */
.kp-accordion-menu {
  list-style: none;
}

.kp-accordion-item {
  border-bottom: 1px solid var(--kp-gray-200);
}

.kp-accordion-item:last-child {
  border-bottom: none;
}

.kp-accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: transparent;
  border: none;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--kp-gray-800);
  cursor: pointer;
  text-align: left;
  transition: var(--kp-transition);
}

.kp-accordion-trigger:hover,
.kp-accordion-item.active .kp-accordion-trigger {
  color: var(--kp-red);
  background: var(--kp-gray-50);
}

.kp-accordion-chevron {
  width: 14px;
  height: 14px;
  transition: transform 0.25s ease;
  color: var(--kp-gray-400);
}

.kp-accordion-item.active .kp-accordion-chevron {
  transform: rotate(180deg);
  color: var(--kp-red);
}

.kp-accordion-panel {
  display: none;
  background: var(--kp-gray-50);
  padding: 6px 0;
  border-top: 1px solid var(--kp-gray-200);
}

.kp-accordion-item.active .kp-accordion-panel {
  display: block;
}

.kp-accordion-subitem a {
  display: block;
  padding: 7px 16px 7px 28px;
  font-size: 0.82rem;
  color: var(--kp-gray-600);
  position: relative;
  transition: var(--kp-transition);
}

.kp-accordion-subitem a::before {
  content: '•';
  position: absolute;
  left: 18px;
  color: var(--kp-gray-400);
}

.kp-accordion-subitem a:hover {
  color: var(--kp-red);
  padding-left: 32px;
}

.kp-accordion-subitem a:hover::before {
  color: var(--kp-red);
}

/* Delivery Card */
.kp-delivery-card {
  padding: 18px;
  text-align: center;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.kp-delivery-card img {
  border-radius: var(--kp-radius-sm);
  margin-bottom: 12px;
  box-shadow: var(--kp-shadow-sm);
}

.kp-delivery-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--kp-red);
  text-transform: uppercase;
  margin-bottom: 2px;
}

.kp-delivery-card h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--kp-gray-600);
}

/* Reviews / Testimonials */
.kp-testimonial-box {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.kp-testimonial-item {
  background: var(--kp-gray-50);
  border: 1px solid var(--kp-gray-200);
  border-left: 3px solid var(--kp-red);
  padding: 12px 14px;
  border-radius: var(--kp-radius-sm);
}

.kp-testimonial-author {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--kp-red);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.kp-testimonial-text {
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--kp-gray-700);
}

/* Clients Box */
.kp-clients-sidebar-box {
  padding: 16px;
}

.kp-clients-sidebar-box h4 {
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--kp-gray-600);
  font-weight: 500;
}

/* ==========================================================================
   PRODUCTS CATALOG & GRID - SPACIOUS, SMOOTH & EASY ON THE EYES
   ========================================================================== */
.kp-catalog-section {
  display: flex;
  flex-direction: column;
  gap: 38px;
}

.kp-section-heading {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--kp-gray-900);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--kp-gray-200);
  position: relative;
}

.kp-section-heading::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--kp-red);
}

.kp-section-heading span.highlight {
  color: var(--kp-red);
}

/* Grid Top Featured & Homepage 2-Column Spacious Tiles */
.kp-featured-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.kp-products-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

/* On Homepage next to sidebar, render larger 2-column breathable cards */
.kp-catalog-section .kp-products-grid-3 {
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

/* Modern Smooth Product Card */
.kp-product-card {
  background: var(--kp-white);
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.045);
  display: flex;
  flex-direction: column;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  position: relative;
}

.kp-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.09);
  border-color: rgba(223, 31, 38, 0.28);
}

.kp-product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--kp-red);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  z-index: 5;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.2;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  pointer-events: none;
}

.kp-product-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--kp-gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.kp-product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: block;
}

.kp-product-card:hover .kp-product-thumb img {
  transform: scale(1.04);
}

/* 2-Column Wide Panoramic Cards (Organizer & Diary, Industrial Labels) */
.kp-product-card.span-2 {
  grid-column: span 2;
}

.kp-product-card.span-2 .kp-product-thumb {
  aspect-ratio: 1584 / 672;
  max-height: 400px;
  padding: 0;
  background: #0f172a;
}

.kp-product-card.span-2 .kp-product-thumb img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.kp-product-body {
  padding: 18px 22px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
  gap: 12px;
  text-align: center;
}

/* Homepage Clean 1-Row Footer (Title Left + Sleek Action Pill Right) */
.kp-catalog-section .kp-product-body {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  padding: 16px 22px;
  gap: 16px;
}

.kp-product-title {
  font-size: 1.06rem;
  font-weight: 700;
  color: var(--kp-gray-900);
  transition: var(--kp-transition);
  margin: 0;
}

.kp-catalog-section .kp-product-body .kp-btn {
  padding: 9px 18px;
  min-height: 36px;
  flex-shrink: 0;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  border-radius: 8px;
}

.kp-product-card:hover .kp-product-title {
  color: var(--kp-red);
}

/* Buttons */
.kp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--kp-transition);
}

.kp-btn-primary {
  background: linear-gradient(135deg, #e6242b 0%, #c8181f 100%);
  color: var(--kp-white);
  border-color: rgba(165, 17, 23, 0.25);
  box-shadow: 0 2px 6px rgba(223, 31, 38, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.kp-btn-primary:hover {
  background: linear-gradient(135deg, #cb1920 0%, #a91218 100%);
  box-shadow: 0 5px 14px rgba(223, 31, 38, 0.36);
  transform: translateY(-1px);
}

.kp-btn-outline {
  background: transparent;
  border: 1px solid var(--kp-gray-300);
  color: var(--kp-gray-700);
}

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

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

.kp-btn-whatsapp:hover {
  background: #20ba59;
}

/* ==========================================================================
   FOOTER - EXACT LOGO PRESERVATION
   ========================================================================== */
.kp-footer {
  background: #18181b;
  color: var(--kp-gray-300);
  margin-top: auto;
  border-top: 4px solid var(--kp-red);
}

.kp-footer-main {
  padding: 50px 0 35px;
}

.kp-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 40px;
}

.kp-footer-col h3 {
  color: var(--kp-white);
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 8px;
}

.kp-footer-col h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--kp-red);
}

/* Footer logo wrapper: Seamless presentation for high-definition vector logo */
.kp-footer-logo-wrapper {
  display: inline-block;
  margin-bottom: 16px;
}

.kp-footer-logo-wrapper img {
  height: 46px;
  width: auto;
  max-width: 210px;
  aspect-ratio: 720 / 181;
  display: block;
  object-fit: contain;
}

/* Legacy fallback if raster logo.png is used in footer */
.kp-footer-logo-wrapper:has(img[src*="logo.png"]) {
  background: #ffffff;
  padding: 8px 18px;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.kp-footer-logo-wrapper img[src*="logo.png"] {
  width: 209px;
  height: 28px;
  aspect-ratio: 209 / 28;
}

.kp-footer-about p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--kp-gray-400);
  margin-top: 14px;
}

.kp-footer-social {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.kp-social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--kp-gray-400);
  transition: var(--kp-transition);
}

.kp-social-link:hover {
  color: var(--kp-white);
  transform: translateX(4px);
}

.kp-social-icon {
  width: 28px;
  height: 28px;
  border-radius: var(--kp-radius-sm);
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--kp-white);
}

.kp-social-link:hover .kp-social-icon {
  background: var(--kp-red);
}

.kp-footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.88rem;
}

.kp-footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--kp-gray-300);
}

.kp-footer-contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--kp-red);
  flex-shrink: 0;
  margin-top: 2px;
}

.kp-footer-contact-item a:hover {
  color: var(--kp-red);
}

.kp-footer-bottom {
  background: #09090b;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.kp-footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.82rem;
  color: var(--kp-gray-500);
}

.kp-footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.kp-footer-bottom-links a:hover {
  color: var(--kp-red);
}

/* ==========================================================================
   MODAL & QUOTE POPUP
   ========================================================================== */
.kp-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.kp-modal-backdrop.open {
  display: flex;
  animation: kpFadeIn 0.25s ease-out;
}

.kp-modal-card {
  background: var(--kp-white);
  border-radius: var(--kp-radius-lg);
  max-width: 520px;
  width: 100%;
  max-height: 92vh;
  overflow-x: hidden;
  overflow-y: auto;
  box-shadow: var(--kp-shadow-xl);
  position: relative;
  animation: kpScaleUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.kp-modal-header {
  background: var(--kp-black);
  color: var(--kp-white);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 2;
}

.kp-modal-header h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--kp-white);
}

.kp-modal-close {
  background: transparent;
  border: none;
  color: var(--kp-gray-400);
  cursor: pointer;
  padding: 4px;
  transition: var(--kp-transition);
}

.kp-modal-close:hover {
  color: var(--kp-white);
}

.kp-modal-body {
  padding: 24px;
}

.kp-form-group {
  margin-bottom: 16px;
}

.kp-form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--kp-gray-700);
  margin-bottom: 6px;
}

.kp-form-input, .kp-form-textarea, .kp-form-select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--kp-gray-300);
  border-radius: var(--kp-radius-sm);
  font-size: 0.95rem;
  outline: none;
  transition: var(--kp-transition);
  background: var(--kp-gray-50);
  color: var(--kp-gray-900);
}

.kp-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.kp-form-input:focus, .kp-form-textarea:focus, .kp-form-select:focus {
  background: var(--kp-white);
  border-color: var(--kp-red);
  box-shadow: 0 0 0 3px var(--kp-red-glow);
}

.kp-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

/* Toast Notifications */
.kp-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--kp-dark);
  color: var(--kp-white);
  padding: 14px 20px;
  border-radius: var(--kp-radius-md);
  box-shadow: var(--kp-shadow-xl);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 110;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  font-size: 0.9rem;
}

.kp-toast.show {
  transform: translateY(0);
  opacity: 1;
}

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

/* Mobile Quick Action Pills */
.kp-mobile-floating-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--kp-white);
  border-top: 1px solid var(--kp-gray-200);
  padding: 8px 16px;
  z-index: 45;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
  justify-content: space-around;
  gap: 12px;
}

.kp-mobile-pill {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px;
  border-radius: var(--kp-radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
}

/* Page Hero & Inner Pages Layouts */
.kp-page-hero {
  background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
  color: var(--kp-white);
  padding: 50px 0;
  border-bottom: 3px solid var(--kp-red);
  position: relative;
}

.kp-page-hero-title {
  font-size: 2.2rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 8px;
}

.kp-page-hero-subtitle {
  font-size: 1.05rem;
  color: var(--kp-gray-300);
}

.kp-about-section {
  padding: 50px 0;
}

.kp-about-cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.kp-about-card {
  background: var(--kp-white);
  border: 1px solid var(--kp-gray-200);
  border-radius: var(--kp-radius-md);
  padding: 24px;
  box-shadow: var(--kp-shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--kp-transition);
}

.kp-about-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--kp-shadow-lg);
  border-color: var(--kp-red);
}

.kp-about-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--kp-red);
  text-transform: uppercase;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--kp-red-light);
}

.kp-about-card p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--kp-gray-700);
}

.kp-about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 40px;
}

.kp-about-feature-box {
  background: var(--kp-white);
  border: 1px solid var(--kp-gray-200);
  border-left: 4px solid var(--kp-red);
  border-radius: var(--kp-radius-md);
  padding: 24px;
  box-shadow: var(--kp-shadow-sm);
}

.kp-about-feature-box h3, .kp-about-feature-box h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--kp-gray-900);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.kp-about-feature-box p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--kp-gray-700);
}

.kp-facility-pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.kp-facility-pill {
  padding: 6px 14px;
  background: var(--kp-gray-100);
  border: 1px solid var(--kp-gray-200);
  border-radius: var(--kp-radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--kp-gray-800);
}

/* Contact Page Styles */
.kp-contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  padding: 50px 0;
}

.kp-contact-form-card, .kp-contact-info-card {
  background: var(--kp-white);
  border: 1px solid var(--kp-gray-200);
  border-radius: var(--kp-radius-lg);
  padding: 32px;
  box-shadow: var(--kp-shadow-md);
}

.kp-contact-form-card h2, .kp-contact-info-card h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--kp-gray-900);
  margin-bottom: 12px;
}

.kp-contact-detail-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}

.kp-contact-icon-bubble {
  width: 44px;
  height: 44px;
  border-radius: var(--kp-radius-md);
  background: var(--kp-red-light);
  color: var(--kp-red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.kp-map-embed {
  border-radius: var(--kp-radius-md);
  overflow: hidden;
  height: 220px;
  border: 1px solid var(--kp-gray-200);
  margin-top: 10px;
}

/* Dual Location Map Widget & Tabs */
.kp-map-tabs {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  margin-bottom: 10px;
}
.kp-map-tab-btn {
  flex: 1;
  padding: 8px 10px;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: var(--kp-radius-sm);
  border: 1px solid var(--kp-gray-300);
  background: var(--kp-gray-100);
  color: var(--kp-gray-700);
  cursor: pointer;
  transition: var(--kp-transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.kp-map-tab-btn:hover {
  background: var(--kp-white);
  border-color: var(--kp-gray-400);
}
.kp-map-tab-btn.active {
  background: var(--kp-red);
  color: var(--kp-white);
  border-color: var(--kp-red);
  box-shadow: 0 2px 6px rgba(210, 35, 42, 0.25);
}
.kp-map-panel {
  display: none;
}
.kp-map-panel.active {
  display: block;
}
.kp-map-caption {
  font-size: 0.78rem;
  color: var(--kp-gray-600);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
}
.kp-map-caption a {
  color: var(--kp-red);
  font-weight: 700;
  text-decoration: underline;
}

/* Dedicated Dual Facility Maps Section */
.kp-dual-maps-section {
  margin-top: 48px;
  margin-bottom: 60px;
}
.kp-dual-maps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 20px;
}
.kp-facility-card {
  background: var(--kp-white);
  border: 1px solid var(--kp-gray-200);
  border-radius: var(--kp-radius-md);
  overflow: hidden;
  box-shadow: var(--kp-shadow-sm);
  display: flex;
  flex-direction: column;
}
.kp-facility-header {
  padding: 18px 20px;
  background: var(--kp-gray-50);
  border-bottom: 1px solid var(--kp-gray-200);
}
.kp-facility-header h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--kp-gray-900);
  margin: 0 0 4px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.kp-facility-header p {
  font-size: 0.85rem;
  color: var(--kp-gray-600);
  margin: 0;
}
.kp-facility-map {
  height: 280px;
  width: 100%;
}
.kp-facility-footer {
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--kp-white);
  border-top: 1px solid var(--kp-gray-100);
  font-size: 0.85rem;
}
@media (max-width: 768px) {
  .kp-dual-maps-grid {
    grid-template-columns: 1fr;
  }
}

/* Payment Page Styles */
.kp-payment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding: 50px 0;
}

.kp-payment-card {
  background: var(--kp-white);
  border: 1px solid var(--kp-gray-200);
  border-radius: var(--kp-radius-lg);
  padding: 32px;
  box-shadow: var(--kp-shadow-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.kp-bank-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
  font-size: 0.9rem;
}

.kp-bank-table tr {
  border-bottom: 1px solid var(--kp-gray-200);
}

.kp-bank-table td {
  padding: 10px 6px;
}

.kp-bank-table td:first-child {
  font-weight: 700;
  color: var(--kp-gray-600);
  width: 35%;
}

/* Animations */
@keyframes kpFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes kpScaleUp {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .kp-grid-2col,
  .kp-footer-grid,
  .kp-about-cards-3,
  .kp-about-split,
  .kp-contact-grid,
  .kp-payment-grid {
    grid-template-columns: 1fr;
  }

  /* On mobile/tablet put product catalog above sidebar testimonials */
  .kp-catalog-section {
    order: 1;
    gap: 24px;
  }

  .kp-sidebar {
    order: 2;
  }

  .kp-featured-grid,
  .kp-products-grid-3 {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .kp-product-card.span-2 {
    grid-column: span 2;
  }
}

/* Tablet & Mobile Hero: Stack Caption Cleanly Below Unobstructed 21:9 Image */
@media (max-width: 960px) {
  .kp-slides-wrapper {
    aspect-ratio: auto;
    min-height: 0;
    max-height: none;
  }

  .kp-slide {
    display: flex;
    flex-direction: column;
    height: auto;
    pointer-events: none;
  }

  .kp-slide.active {
    position: relative;
    pointer-events: auto;
  }

  .kp-slide img.kp-slide-img {
    height: auto;
    aspect-ratio: 1584 / 672;
    object-position: center center;
  }

  .kp-slide-video-frame {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .kp-slide video.kp-slide-video {
    width: 100%;
    height: 100%;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .kp-slide-smooth-labels::before {
    display: none;
  }

  .kp-banner-desc.kp-banner-smooth {
    left: auto;
    width: 100%;
    max-width: 100%;
    border-left: none;
    border-radius: 0;
    background: #0f172a;
    box-shadow: none;
  }

  .kp-banner-desc {
    position: static;
    top: auto;
    left: auto;
    transform: none;
    width: 100%;
    max-width: 100%;
    border-radius: 0;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: none;
    padding: 16px 18px 48px;
    background: #0f172a;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .kp-banner-desc.dark-text {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
  }

  .kp-banner-desc h1 {
    font-size: 1.25rem;
    margin-bottom: 6px;
  }

  .kp-banner-desc p,
  .kp-banner-desc .kp-slide-p,
  .kp-banner-desc .kp-slide-feature-item {
    font-size: 0.85rem;
  }

  .kp-slider-arrow {
    top: calc(21.2vw);
    width: 34px;
    height: 34px;
  }

  .kp-slider-nav {
    bottom: 12px;
    padding: 6px 12px;
  }
}

@media (max-width: 1100px) and (min-width: 901px) {
  .kp-nav-link {
    padding: 16px 8px;
    font-size: 0.76rem;
    letter-spacing: 0.02em;
  }
  .kp-nav-quote-btn {
    padding: 7px 12px;
    font-size: 0.78rem;
  }
}

@media (max-width: 900px) {
  .kp-nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--kp-black);
    flex-direction: column;
    padding: 12px 0;
    box-shadow: var(--kp-shadow-lg);
    z-index: 100;
  }
  
  .kp-nav-links.mobile-open {
    display: flex;
  }
  
  .kp-nav-link {
    width: 100%;
    padding: 14px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  
  .kp-nav-toggle {
    display: block;
  }
}

@media (max-width: 768px) {
  body {
    padding-bottom: 64px;
  }

  .container {
    padding-left: 14px;
    padding-right: 14px;
  }

  .kp-topbar {
    padding: 12px 0;
  }

  .kp-topbar-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
  }

  .kp-logo img {
    height: 38px;
    max-width: 180px;
  }

  .kp-topbar-right {
    width: 100%;
    justify-content: center;
    gap: 8px 10px;
  }

  .kp-contact-pill {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    padding: 8px 12px;
    gap: 4px 8px;
    border-radius: 12px;
    font-size: 0.78rem;
    line-height: 1.45;
    white-space: normal;
  }

  .kp-contact-pill.whatsapp {
    width: auto;
    flex: 0 1 auto;
    padding: 8px 16px;
    border-radius: 9999px;
  }

  .kp-search-section {
    padding: 12px 0;
  }

  .kp-search-container {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .kp-search-label {
    font-size: 0.84rem;
  }

  .kp-search-input {
    font-size: 0.9rem;
    padding: 10px 38px 10px 14px;
  }

  .kp-main-layout {
    padding: 20px 0 36px;
  }

  .kp-featured-grid,
  .kp-catalog-section .kp-products-grid-3,
  .kp-products-grid-3,
  .kp-boxes-grid,
  .kp-specs-strip {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .kp-product-card.span-2 {
    grid-column: span 1;
  }
  
  .kp-product-card.span-2 .kp-product-thumb {
    aspect-ratio: 1584 / 672;
  }

  .kp-catalog-section .kp-product-body {
    flex-wrap: wrap;
    padding: 14px 16px;
    gap: 10px;
  }

  .kp-feature-section h2 {
    font-size: 1.32rem !important;
    line-height: 1.28;
  }

  .kp-page-hero {
    padding: 30px 0;
  }

  .kp-page-hero-title {
    font-size: 1.45rem;
    line-height: 1.25;
  }

  .kp-page-hero-subtitle {
    font-size: 0.9rem;
  }

  .kp-about-section,
  .kp-contact-grid,
  .kp-payment-grid {
    padding: 28px 0;
    gap: 20px;
  }

  .kp-contact-form-card,
  .kp-contact-info-card,
  .kp-payment-card {
    padding: 20px 16px;
  }

  .kp-footer-main {
    padding: 34px 0 24px;
  }

  .kp-footer-grid {
    gap: 24px;
  }

  .kp-modal-backdrop {
    padding: 12px;
  }

  .kp-modal-card {
    max-height: 92vh;
    overflow-y: auto;
    border-radius: 12px;
  }

  .kp-modal-header {
    padding: 14px 18px;
  }

  .kp-modal-body {
    padding: 18px;
  }

  .kp-mobile-floating-bar {
    display: flex;
  }
}

@media (max-width: 560px) {
  .kp-contact-pill > span:nth-of-type(2),
  .kp-contact-pill img[alt="Email"] {
    display: none;
  }

  .kp-contact-pill a[href^="mailto"] {
    flex-basis: 100%;
    text-align: center;
  }

  .kp-slider-arrow {
    top: calc(21.2vw);
    width: 30px;
    height: 30px;
  }

  .kp-slider-arrow.prev { left: 8px; }
  .kp-slider-arrow.next { right: 8px; }

  .kp-tech-grid {
    grid-template-columns: 1fr !important;
  }

  .kp-card-action {
    flex-wrap: wrap;
  }

  .kp-facility-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  div[style*="grid-template-columns:1fr 1fr"],
  div[style*="grid-template-columns: 1fr 1fr"],
  div[style*="minmax(300px"],
  div[style*="minmax(200px"] {
    grid-template-columns: 1fr !important;
  }

  .kp-bank-table {
    display: block;
    overflow-x: auto;
  }
}

/* ==========================================================================
   RIGID KAPPA BOXES & BULK PACKAGING KITTING SECTIONS
   ========================================================================== */
.kp-feature-section {
  margin: 40px 0;
  padding: 36px;
  background: var(--kp-white);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.045);
}

.kp-feature-section.dark-theme {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  border-color: #334155;
}

.kp-feature-section.dark-theme h2,
.kp-feature-section.dark-theme h3 {
  color: #ffffff;
}

.kp-feature-section.dark-theme p {
  color: #cbd5e1;
}

.kp-feature-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--kp-radius-full);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.kp-badge-red {
  background: var(--kp-red);
  color: #ffffff;
}

.kp-badge-gold {
  background: linear-gradient(135deg, #d97706, #b45309);
  color: #ffffff;
}

.kp-badge-dark {
  background: rgba(255, 255, 255, 0.12);
  color: #f1f5f9;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.kp-badge-light {
  background: var(--kp-gray-100);
  color: var(--kp-gray-800);
  border: 1px solid var(--kp-gray-300);
}

.kp-boxes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 28px 0;
}

.kp-box-card {
  background: var(--kp-white);
  border: 1px solid var(--kp-gray-200);
  border-radius: var(--kp-radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--kp-transition);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.kp-feature-section.dark-theme .kp-box-card {
  background: #1e293b;
  border-color: #334155;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}

.kp-box-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--kp-shadow-lg);
  border-color: var(--kp-red);
}

.kp-box-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.kp-box-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.kp-box-card:hover .kp-box-thumb img {
  transform: scale(1.05);
}

.kp-product-card[data-category="boxes"] .kp-product-thumb,
.kp-product-card[data-category="kits"] .kp-product-thumb {
  padding: 0;
}

.kp-product-card[data-category="boxes"] .kp-product-thumb img,
.kp-product-card[data-category="kits"] .kp-product-thumb img {
  object-fit: cover;
}

.kp-box-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.kp-box-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--kp-gray-900);
}

.kp-feature-section.dark-theme .kp-box-title {
  color: #ffffff;
}

.kp-box-desc {
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--kp-gray-600);
  margin-bottom: 14px;
  flex-grow: 1;
}

.kp-feature-section.dark-theme .kp-box-desc {
  color: #94a3b8;
}

.kp-box-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.kp-spec-pill {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--kp-gray-100);
  color: var(--kp-gray-700);
}

.kp-feature-section.dark-theme .kp-spec-pill {
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
}

.kp-specs-strip {
  background: var(--kp-gray-50);
  border: 1px solid var(--kp-gray-200);
  border-radius: 8px;
  padding: 16px 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.kp-specs-item strong {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--kp-gray-500);
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.kp-specs-item span {
  font-size: 0.9rem;
  color: var(--kp-gray-900);
  font-weight: 600;
}

.kp-feature-section.dark-theme .kp-specs-strip {
  background: rgba(15, 23, 42, 0.55);
  border-color: #334155;
}

.kp-feature-section.dark-theme .kp-specs-item strong {
  color: #94a3b8;
}

.kp-feature-section.dark-theme .kp-specs-item span {
  color: #f8fafc;
}

.kp-signage-split {
  display: grid;
  grid-template-columns: minmax(280px, 1.15fr) 1fr;
  gap: 24px;
  margin: 28px 0;
  align-items: stretch;
}

.kp-signage-options {
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: space-between;
}

.kp-signage-option-card {
  background: var(--kp-gray-50);
  border: 1px solid var(--kp-gray-200);
  border-radius: var(--kp-radius-md);
  padding: 18px 20px;
  transition: var(--kp-transition);
}

.kp-feature-section.dark-theme .kp-signage-option-card {
  background: #1e293b;
  border-color: #334155;
}

.kp-signage-option-card:hover {
  border-color: var(--kp-red);
  transform: translateY(-2px);
  background: var(--kp-white);
  box-shadow: var(--kp-shadow-sm);
}

.kp-feature-section.dark-theme .kp-signage-option-card:hover {
  background: #1e293b;
}

.kp-signage-option-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 6px 0;
  color: var(--kp-gray-900);
}

.kp-feature-section.dark-theme .kp-signage-option-card h3 {
  color: #ffffff;
}

.kp-signage-option-card p {
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--kp-gray-600);
  margin: 0 0 10px 0;
}

.kp-feature-section.dark-theme .kp-signage-option-card p {
  color: #cbd5e1;
}

@media (max-width: 900px) {
  .kp-signage-split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .kp-feature-section {
    padding: 20px;
    margin: 28px 0;
  }
}

/* ==========================================================================
   P&C PRODUCT OPTIONS SYSTEM & QUICK-VIEW MODAL
   ========================================================================== */
.kp-trigger-pc {
  cursor: pointer;
}

.kp-pc-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.kp-pc-hint {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--kp-gray-500);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s ease;
  cursor: pointer;
}

.kp-product-card:hover .kp-pc-hint,
.kp-pc-hint:hover {
  color: var(--kp-red);
}

.kp-pc-list {
  background: var(--kp-gray-50);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 10px;
  padding: 10px 12px;
  margin: 10px 0 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.kp-pc-row {
  font-size: 0.78rem;
  line-height: 1.42;
  color: var(--kp-gray-600);
}

.kp-pc-row strong {
  color: var(--kp-gray-900);
  font-weight: 700;
  margin-right: 4px;
}

.kp-pc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

/* Quick-View P&C Modal */
.kp-pc-modal-card {
  max-width: 760px;
}

.kp-pc-modal-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  align-items: start;
}

.kp-pc-modal-img-wrap {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--kp-gray-200);
  background: var(--kp-gray-100);
  aspect-ratio: 4 / 3;
}

.kp-pc-modal-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.kp-pc-modal-summary {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--kp-gray-600);
  margin: 0 0 12px 0;
}

.kp-pc-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

/* Catalog Grid Card Body P&C Styling (Marketing & Office Pages Only) */
#marketing-grid .kp-product-body,
#corporate-grid .kp-product-body {
  text-align: left;
  padding: 20px 22px 22px;
  gap: 14px;
}

#marketing-grid .kp-product-card .kp-btn,
#corporate-grid .kp-product-card .kp-btn {
  width: 100%;
  justify-content: center;
}

/* Protect Homepage Popular Grid Row Buttons from 100% Width */
.kp-catalog-section .kp-product-body .kp-pc-title-wrap {
  flex: 1;
  min-width: 0;
}

.kp-catalog-section .kp-product-card .kp-btn {
  width: auto;
  flex-shrink: 0;
  white-space: nowrap;
}

/* Search Quick-Links Bar */
.kp-search-quicklinks {
  display: none;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--kp-gray-200);
}

.kp-search-quicklinks.show {
  display: flex;
}

.kp-search-ql-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--kp-gray-500);
  margin-right: 4px;
}

.kp-search-quicklink {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  background: var(--kp-gray-50);
  border: 1px solid var(--kp-gray-200);
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--kp-gray-800);
  text-decoration: none;
  transition: var(--kp-transition);
}

.kp-search-quicklink:hover {
  background: var(--kp-red);
  color: #ffffff;
  border-color: var(--kp-red);
}

.kp-search-results-wrap {
  display: none;
  margin-bottom: 24px;
}

.kp-search-results-wrap.active {
  display: block;
}

.kp-search-results-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 16px 0;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--kp-gray-200);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--kp-gray-900);
}

.kp-search-sub-hint {
  font-size: 0.78rem;
  color: var(--kp-gray-500);
  margin-top: 4px;
  display: block;
  line-height: 1.4;
}

.kp-search-empty {
  background: var(--kp-white);
  border: 1px dashed var(--kp-gray-300);
  border-radius: 14px;
  padding: 40px 24px;
  text-align: center;
  color: var(--kp-gray-600);
}

.kp-search-empty h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--kp-gray-900);
  margin: 0 0 8px 0;
}

.kp-search-empty p {
  font-size: 0.9rem;
  margin: 0 0 18px 0;
}

.kp-search-empty-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.kp-pc-summary {
  font-size: 0.85rem;
  color: var(--kp-gray-600);
  line-height: 1.5;
  margin: 6px 0 0 0;
}

@media (max-width: 720px) {
  .kp-pc-modal-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .kp-form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .kp-product-filter-bar {
    gap: 8px;
    margin-bottom: 24px;
  }

  .kp-filter-btn {
    padding: 7px 14px;
    font-size: 0.82rem;
  }
}

.kp-legal-content h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--kp-gray-900);
  margin: 14px 0 6px;
}

.kp-legal-content p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--kp-gray-600);
  margin: 0 0 10px;
}

.kp-legal-content a {
  color: var(--kp-red);
  font-weight: 700;
}

/* RFQ / Contact Human Verification CAPTCHA */
.kp-hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
  overflow: hidden !important;
}

.kp-captcha-box {
  background: var(--kp-gray-50);
  border: 1px solid var(--kp-gray-200);
  border-radius: var(--kp-radius-sm);
  padding: 12px 14px;
  margin-bottom: 16px;
}

.kp-captcha-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--kp-gray-700);
  margin-bottom: 8px;
}

.kp-captcha-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.kp-captcha-img-wrap {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--kp-gray-300);
  border-radius: 6px;
  padding: 4px 6px;
  height: 44px;
  flex-shrink: 0;
}

.kp-captcha-img-wrap img {
  height: 34px;
  width: auto;
  display: block;
}

.kp-captcha-refresh {
  background: #ffffff;
  border: 1px solid var(--kp-gray-300);
  color: var(--kp-gray-700);
  border-radius: 6px;
  padding: 0 10px;
  height: 44px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: var(--kp-transition);
  flex-shrink: 0;
}

.kp-captcha-refresh:hover {
  border-color: var(--kp-red);
  color: var(--kp-red);
  background: var(--kp-red-light);
}

.kp-captcha-input {
  flex: 1 1 130px;
  min-width: 110px;
  height: 44px;
}
