/* ==========================================================================
   ICM E-Commerce Design System
   Merged: v0 agricultural design + Frappe-specific overrides
   ========================================================================== */

/* ==========================================================================
   ROOT VARIABLES & COLOR TOKENS
   ========================================================================== */

:root {
  --icm-green: #2d6a4f;
  --icm-green-dark: #1b4332;
  --icm-green-light: #40916c;
  --icm-green-pale: #d8f3dc;
  --icm-accent: #bdd631;
  --icm-accent-hover: #a8bf2a;
  --icm-orange: #d97706;
  --icm-orange-hover: #b45309;
  --icm-bg: #fafaf7;
  --icm-bg-alt: #f2f0ea;
  --icm-white: #ffffff;
  --icm-text: #1a1a2e;
  --icm-text-secondary: #4a4a5e;
  --icm-text-muted: #7a7a8e;
  --icm-border: #e8e5de;
  --icm-border-light: #f0ede8;
  --icm-success: #059669;
  --icm-shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
  --icm-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --icm-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
  --icm-shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.1);
  --icm-shadow-xl: 0 20px 48px rgba(0, 0, 0, 0.15);
  --icm-radius: 0.5rem;
  --icm-radius-lg: 1rem;
  --icm-radius-xl: 1.5rem;
  --icm-radius-full: 9999px;
  --icm-font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* ==========================================================================
   BASE RESETS & TYPOGRAPHY
   ========================================================================== */

* { box-sizing: border-box; }

body {
  font-family: var(--icm-font);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--icm-text);
  background-color: var(--icm-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.page-content-wrapper { padding: 0 !important; }

html { scroll-behavior: smooth; }

/* Remove underline from every link in the ICM layout — homepage + navbar */
.icm-home a,
.icm-home a:hover,
.icm-home a:focus,
.icm-home a:active,
.icm-home a:visited,
.icm-nav a,
.icm-nav a:hover,
.icm-nav a:focus,
.icm-nav a:active,
.icm-nav a:visited {
  text-decoration: none !important;
}

/* ==========================================================================
   CONTAINER & LAYOUT
   ========================================================================== */

.icm-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.icm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border: 2px solid transparent;
  border-radius: var(--icm-radius-xl);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
  font-family: var(--icm-font);
  line-height: 1.4;
}

/* Global: links styled as buttons should never underline */
a.icm-btn,
a.icm-btn:hover,
a.icm-btn:focus,
a.icm-btn:active,
a.icm-btn:visited {
  text-decoration: none !important;
}

.icm-btn--primary {
  background: var(--icm-accent);
  color: var(--icm-text);
  border-color: var(--icm-accent);
  box-shadow: var(--icm-shadow-sm);
}

.icm-btn--primary:hover {
  background: var(--icm-accent-hover);
  border-color: var(--icm-accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--icm-shadow);
}

.icm-btn--secondary {
  background: var(--icm-green);
  color: #fff;
  border-color: var(--icm-green);
  box-shadow: var(--icm-shadow-sm);
}

.icm-btn--secondary:hover {
  background: var(--icm-green-light);
  border-color: var(--icm-green-light);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--icm-shadow);
}

.icm-btn--outline {
  background: transparent;
  color: var(--icm-green);
  border-color: var(--icm-green);
}

.icm-btn--outline:hover {
  background: var(--icm-green);
  color: #fff;
  transform: translateY(-2px);
}

.icm-btn--white {
  background: var(--icm-white);
  color: var(--icm-green-dark);
  border-color: var(--icm-white);
}

.icm-btn--white:hover {
  background: var(--icm-green-pale);
  border-color: var(--icm-green-pale);
  color: var(--icm-green-dark);
  transform: translateY(-2px);
}

.icm-btn--lg {
  padding: 0.75rem 1.5rem;
  font-size: 1.1rem;
}

.icm-btn--sm {
  padding: 0.5rem 1.5rem;
  font-size: 0.85rem;
}

.icm-link {
  color: var(--icm-green);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}

.icm-link:hover { color: var(--icm-green-light); }

/* ==========================================================================
   SECTION HEADERS
   ========================================================================== */

.icm-section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.icm-section-header h2 {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--icm-text);
  margin: 0 0 0.75rem;
  line-height: 1.25;
}

.icm-section-header p {
  font-size: 1.05rem;
  color: var(--icm-text-secondary);
  margin: 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.icm-section-header--left {
  text-align: left;
}

.icm-section-header--left p {
  margin-left: 0;
}

.icm-section-header--flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
}

.icm-section-header--flex p { display: none; }

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

.icm-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 1.5rem;
  transition: background 0.35s ease, box-shadow 0.35s ease;
  background: var(--icm-green-dark);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

body[data-path="home"] .icm-nav,
body[data-path="index"] .icm-nav {
  background: transparent;
  box-shadow: none;
}

.icm-nav--solid {
  background: var(--icm-green-dark) !important;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15) !important;
}

.icm-nav--video-overlay {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.62) 0%,
    rgba(0, 0, 0, 0.28) 65%,
    rgba(0, 0, 0, 0.00) 100%
  ) !important;
  box-shadow: none !important;
}

.icm-nav__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.icm-nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.5px;
}

.icm-nav__brand:hover { color: #fff; opacity: 0.9; }

.icm-nav__logo {
  height: 44px;
}

.icm-nav__links { display: flex; gap: 0.25rem; }

.icm-nav__link {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.4rem 0.85rem;
  border-radius: 6px;
  transition: all 0.2s;
}

.icm-nav__link:hover,
.icm-nav__link--active {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.icm-nav__actions { display: flex; align-items: center; gap: 0.5rem; }

.icm-nav__icon {
  position: relative;
  color: rgba(255, 255, 255, 0.85);
  padding: 0.45rem;
  border-radius: 8px;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icm-nav__icon:hover { color: #fff; background: rgba(255, 255, 255, 0.12); }

.icm-nav__badge {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--icm-accent);
  color: var(--icm-green-dark);
  font-size: 9px;
  font-weight: 700;
  min-width: 14px;
  height: 14px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  line-height: 1;
  box-sizing: border-box;
}

/* Override ERPNext's .shopping-badge positioning inside our nav */
.icm-nav__icon .icm-nav__badge,
.icm-nav__icon .shopping-badge {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  left: auto !important;
}

.icm-nav__badge:empty { display: none; }

.icm-nav__btn {
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  padding: 0.4rem 1.2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.2s;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.icm-nav__btn:hover { background: rgba(255, 255, 255, 0.25); color: #fff; }

.icm-nav__user { position: relative; }

.icm-nav__user-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--icm-accent);
  color: var(--icm-green-dark);
  font-weight: 700;
  font-size: 0.8rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  font-family: var(--icm-font);
}

.icm-nav__user-btn:hover { border-color: rgba(255, 255, 255, 0.6); }

.icm-nav__dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--icm-white);
  border-radius: var(--icm-radius);
  box-shadow: var(--icm-shadow-lg);
  min-width: 180px;
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s ease;
}

.icm-nav__dropdown--open {
  opacity: 1; visibility: visible; transform: translateY(0);
}

.icm-nav__dropdown a {
  display: block;
  padding: 0.6rem 1.25rem;
  color: var(--icm-text);
  text-decoration: none;
  font-size: 0.9rem;
  transition: background 0.15s;
}

.icm-nav__dropdown a:hover { background: var(--icm-bg); color: var(--icm-green); }

.icm-nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.icm-nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}

.icm-nav__toggle--active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.icm-nav__toggle--active span:nth-child(2) { opacity: 0; }
.icm-nav__toggle--active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ==========================================================================
   HERO
   ========================================================================== */

.icm-hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--icm-green-dark) 0%, var(--icm-green-light) 100%);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.icm-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 400"><path d="M0,200 Q300,100 600,200 T1200,200 L1200,400 L0,400 Z" fill="rgba(255,255,255,0.1)"/></svg>');
  background-size: 600px 400px;
  opacity: 0.22;
  animation: icm-wave 15s linear infinite;
  z-index: 0;
}

.icm-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.icm-hero__video,
.icm-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.02);
}

.icm-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(900px 500px at 18% 40%, rgba(0,0,0,0.10) 0%, rgba(0,0,0,0.40) 55%, rgba(0,0,0,0.62) 100%),
    linear-gradient(90deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.18) 55%, rgba(0,0,0,0.00) 100%);
}

@keyframes icm-wave {
  0% { background-position: 0 0; }
  100% { background-position: 600px 0; }
}

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

.icm-hero__content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 8rem 1.5rem 4rem;
  animation: icm-slideUp 0.8s ease-out;
}

/* Hero video: media-only, no overlay/content */
.icm-hero--video {
  min-height: 95vh;
  background: #1a9e3d;
}

.icm-hero--video::before { opacity: 0; }

/* ==========================================================================
   Wave section (after categories)
   ========================================================================== */

.wave-section {
    position: relative;
    background: linear-gradient(135deg, #1a9e3d 0%, #0d7a2b 100%);
    padding: 80px 20px;
    min-height: 95vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.wave-section-content {
    position: relative;
    z-index: 10;
    max-width: 600px;
    color: white;
}

.wave-section h2 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.2;
    letter-spacing: -0.5px;
    color: white;
}

.wave-section p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.95;
    line-height: 1.6;
    color: white;
}

.wave-section-btn {
    display: inline-block;
    padding: 12px 40px;
    border: 2px solid white;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    background: transparent;
}

.wave-section-btn:hover {
    background: white;
    color: #0d7a2b;
    transform: translateY(-2px);
    text-decoration: none;
}

.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    overflow: hidden;
    line-height: 0;
}

.wave-divider svg {
    display: block;
    width: 200%;
    height: 100%;
    position: relative;
}

.wave-svg-path {
    fill: white;
}

.wave-svg-path:nth-child(1) {
    opacity: 0.7;
    animation: icm-wave-scroll 8s linear infinite;
}

.wave-svg-path:nth-child(2) {
    opacity: 0.5;
    animation: icm-wave-scroll 8s linear infinite;
    animation-delay: -4s;
}

@keyframes icm-wave-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
    .wave-section {
        padding: 60px 20px;
        min-height: 400px;
    }
    .wave-section h2 { font-size: 2.5rem; }
    .wave-section p  { font-size: 1rem; }
    .wave-divider    { height: 80px; }
}

@media (max-width: 480px) {
    .wave-section {
        padding: 40px 15px;
        min-height: 300px;
    }
    .wave-section h2 { font-size: 1.8rem; }
    .wave-section p  { font-size: 0.95rem; margin-bottom: 20px; }
    .wave-section-btn { padding: 10px 30px; font-size: 0.9rem; }
    .wave-divider { height: 60px; }
}

@media (prefers-reduced-motion: reduce) {
    .wave-svg-path { animation: none !important; }
}

.icm-hero__label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--icm-accent);
  margin-bottom: 1rem;
}

.icm-hero__title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin: 0 0 1.25rem;
  max-width: 700px;
}

.icm-hero__desc {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255, 255, 255, 0.85);
  max-width: 550px;
  line-height: 1.7;
  margin: 0 0 2rem;
}

.icm-hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ==========================================================================
   AWARD / DELIVERY BANNERS
   ========================================================================== */

.icm-banners {
  padding: 3rem 0 0;
  background: var(--icm-bg);
}

.icm-banners__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.icm-banner-award {
  background: linear-gradient(135deg, var(--icm-orange) 0%, var(--icm-orange-hover) 100%);
  color: #fff;
  padding: 2rem 1.5rem;
  border-radius: var(--icm-radius-xl);
  text-align: center;
  box-shadow: var(--icm-shadow-lg);
  position: relative;
  overflow: hidden;
}

.icm-banner-award::before {
  content: '\2605';
  position: absolute;
  top: -30px;
  left: -30px;
  font-size: 100px;
  opacity: 0.1;
  transform: rotate(15deg);
}

.icm-banner-award h3 {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
}

.icm-banner-award p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  margin: 0;
  line-height: 1.6;
}

.icm-banner-delivery {
  background: linear-gradient(135deg, var(--icm-green) 0%, var(--icm-green-light) 100%);
  color: #fff;
  padding: 2rem 1.5rem;
  border-radius: var(--icm-radius-xl);
  text-align: center;
  box-shadow: var(--icm-shadow-lg);
}

.icm-banner-delivery h3 {
  color: var(--icm-accent);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
}

.icm-banner-delivery p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1rem;
  margin: 0;
  line-height: 1.6;
}

/* ==========================================================================
   PRODUCT CARDS
   ========================================================================== */

.icm-products {
  padding: 0;
  background: var(--icm-bg-alt);
}

.icm-products__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.icm-products__cta { text-align: center; padding: 0.5rem 0 1.25rem; }

/* Featured products — 4-column wrapping grid */
.icm-products-scroll {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  padding: 1.5rem 2rem;
  overflow: visible;
}

.icm-products-scroll .col-sm-4.item-card {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0;
  flex: none;
  float: none;
  padding: 0 !important;
}

/* ── Skeleton / loading placeholder cards ─────────────────────────────────── */
@keyframes icm-wave {
  0%   { transform: translateX(-160%); }
  100% { transform: translateX(160%); }
}

/* Gray base for every skeleton block */
.icm-skel {
  background: #dcdbd8;
  border-radius: var(--icm-radius);
}

/* Card shell: clips the wave */
.icm-skel-card {
  position: relative;
  border: 1px solid var(--icm-border-light) !important;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
  border-radius: var(--icm-radius-lg) !important;
}

/* Single wave that sweeps the full card face in one pass */
.icm-skel-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    108deg,
    transparent 25%,
    rgba(255, 255, 255, 0.58) 50%,
    transparent 75%
  );
  animation: icm-wave 1.7s ease-in-out infinite;
  pointer-events: none;
}

/* Stagger wave per card */
.icm-skel-card-wrap:nth-child(2) .icm-skel-card::after { animation-delay: 0.15s; }
.icm-skel-card-wrap:nth-child(3) .icm-skel-card::after { animation-delay: 0.30s; }
.icm-skel-card-wrap:nth-child(4) .icm-skel-card::after { animation-delay: 0.45s; }
.icm-skel-card-wrap:nth-child(5) .icm-skel-card::after { animation-delay: 0.60s; }
.icm-skel-card-wrap:nth-child(6) .icm-skel-card::after { animation-delay: 0.75s; }
.icm-skel-card-wrap:nth-child(7) .icm-skel-card::after { animation-delay: 0.90s; }
.icm-skel-card-wrap:nth-child(8) .icm-skel-card::after { animation-delay: 1.05s; }

.icm-skel--img {
  aspect-ratio: 1 / 1;
  height: auto;
  width: 100%;
  border-radius: 0;
  background: #d5d4d1;
}

/* Tinted body so it doesn't read as plain white */
.icm-skel-body {
  padding: 0.75rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  background: #f5f4f1;
}

.icm-skel--title {
  height: 14px;
  width: 78%;
}

.icm-skel--category {
  height: 11px;
  width: 52%;
  background: #cac9c6;
}

.icm-skel--price {
  height: 15px;
  width: 42%;
}

/* Cart button — light green tint to signal "action button" */
.icm-skel--btn {
  height: 36px;
  width: 100%;
  margin-top: 0.35rem;
  border-radius: 6px;
  background: rgba(45, 106, 79, 0.14);
}

.icm-card {
  background: var(--icm-white);
  border-radius: var(--icm-radius-xl);
  overflow: hidden;
  box-shadow: var(--icm-shadow-sm);
  border: 1px solid var(--icm-border-light);
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
}

.icm-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--icm-shadow-xl);
}

.icm-card__img-wrap {
  position: relative;
  display: block;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: var(--icm-bg-alt);
}

.icm-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.icm-card:hover .icm-card__img-wrap img { transform: scale(1.08); }

.icm-card__badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: var(--icm-accent);
  color: var(--icm-text);
  padding: 0.2rem 0.75rem;
  border-radius: var(--icm-radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 1;
}

.icm-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--icm-text-muted);
  background: var(--icm-bg-alt);
}

.icm-card__body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.icm-card__category {
  font-size: 0.7rem;
  color: var(--icm-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.35rem;
}

.icm-card__name {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--icm-text);
  text-decoration: none;
  margin-bottom: 0.35rem;
  line-height: 1.3;
  transition: color 0.2s;
}

.icm-card__name:hover { color: var(--icm-green); }

.icm-card__desc {
  font-size: 0.85rem;
  color: var(--icm-text-secondary);
  margin-bottom: 0.75rem;
  flex: 1;
  line-height: 1.5;
}

.icm-card__price-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.icm-card__price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--icm-green);
  margin: 0;
}

.icm-card__price-original {
  font-size: 0.9rem;
  color: var(--icm-text-muted);
  text-decoration: line-through;
}

.icm-card__footer { margin-top: auto; }

.icm-card__footer .icm-btn { width: 100%; }

/* ==========================================================================
   LUCKI WINNER (slideshow)
   ========================================================================== */

.icm-lucki-winner {
  background: var(--icm-bg);
  overflow: hidden;
}

.icm-lw-carousel {
  margin-top: 0;
  width: 100%;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  border: 0;
  background: transparent;
}

/* Slide: full width, capped at 80vh, overflow hidden */
.icm-lw-slide {
  position: relative;
  width: 100%;
  height: 90vh;
  overflow: hidden;
  background: linear-gradient(135deg, var(--icm-green-dark) 0%, var(--icm-green-light) 100%);
}

/* Animated wave — same as hero section.
   Sits behind the image (z-index:0); visible only when no image is set. */
.icm-lw-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 400"><path d="M0,200 Q300,100 600,200 T1200,200 L1200,400 L0,400 Z" fill="rgba(255,255,255,0.1)"/></svg>');
  background-size: 600px 400px;
  opacity: 0.3;
  animation: icm-wave 15s linear infinite;
}

/* Image covers full width & full height; sits above the wave animation */
.icm-lw-img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.icm-lw-slide__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background: linear-gradient(90deg, rgba(0,0,0,0.58) 0%, rgba(0,0,0,0.20) 40%, rgba(0,0,0,0.0) 70%);
  z-index: 2;
  /* Don't intercept clicks — let carousel arrow/indicator clicks pass through */
  pointer-events: none;
}

/* Re-enable pointer events only on the actual text content */
.icm-lw-slide__content {
  pointer-events: auto;
  max-width: 26rem;
  color: #fff;
}

.icm-lw-slide__title {
  margin: 0 0 0.75rem;
  font-weight: 900;
  font-size: clamp(1.4rem, 3.4vw, 2.4rem);
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #fff;
}

.icm-lw-slide__desc {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.02rem;
  line-height: 1.7;
  max-width: 26rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  -webkit-line-clamp: 4;
  line-clamp: 4;
}

@media (max-width: 640px) {
  .icm-lw-slide__content { max-width: 16rem; }
  .icm-lw-slide__desc { -webkit-line-clamp: 3; line-clamp: 3; font-size: 0.98rem; }
  .icm-lw-slide__overlay { padding: 1rem 1rem; }
}

.icm-lw-indicators {
  margin-bottom: 0.85rem;
  z-index: 3;
}

.icm-lw-indicators li {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  opacity: 0.6;
}

.icm-lw-indicators .active { opacity: 1; }

.icm-lw-control {
  width: 12%;
  opacity: 0.95;
  z-index: 3;
}

/* ==========================================================================
   DELIVERY BANNER
   ========================================================================== */

.icm-delivery {
  background: #bdd630;
  overflow: hidden;
}

.icm-delivery__inner {
  display: flex;
  align-items: center;
  min-height: 90vh;
  max-width: 1280px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  gap: 2rem;
}

.icm-delivery__text {
  flex: 0 0 42%;
  max-width: 42%;
}

.icm-delivery__heading {
  font-size: clamp(1.3rem, 2.6vw, 2rem);
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color:  var(--icm-green);
  margin: 0 0 0.75rem;
}

.icm-delivery__sub {
  font-size: 1rem;
  color: #fff;
  margin: 0 0 0.65rem;
  line-height: 1.5;
}

.icm-delivery__phones {
  font-size: 0.95rem;
  color: #fff;
  margin: 0 0 1.25rem;
}

.icm-delivery__phones strong { font-weight: 800; }

.icm-delivery__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1.5rem;
  background: var(--icm-green);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.2s, transform 0.15s;
}

.icm-delivery__cta:hover {
  background: var(--icm-green-dark);
  color: #fff;
  text-decoration: none;
  transform: translateX(3px);
}

.icm-delivery__media {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.icm-delivery__media img {
  max-height: 340px;
  width: auto;
  object-fit: contain;
  display: block;
}

@media (max-width: 768px) {
  .icm-delivery__inner {
    flex-direction: column;
    text-align: center;
    padding: 2.5rem 1.25rem 0;
  }
  .icm-delivery__text {
    flex: unset;
    max-width: 100%;
  }
  .icm-delivery__media img { max-height: 220px; }
}

/* ==========================================================================
   CATEGORIES (image overlay style)
   ========================================================================== */

.icm-categories {
  background: var(--icm-white);
  padding: 4rem 0;
}

.icm-categories__inner {
  width: 100%;
  padding: 0 2rem;
}

.icm-categories__title {
  font-size: 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #1a1a1a;
  margin: 0 0 1.5rem;
}

.icm-categories__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.icm-cat {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  background: #f0f0f0;
  border-radius: 4px;
  overflow: hidden;
  text-decoration: none;
  transition: box-shadow 0.25s ease;
}

.icm-cat:hover {
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
}

/* Name label pinned to top-left, floats over the image */
.icm-cat__name {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #222;
  margin: 0;
  line-height: 1;
  z-index: 2;
  pointer-events: none;
  background: #fff;
  padding: 0.35rem 0.7rem;
  border-radius: 20px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

/* Image fills the entire card */
.icm-cat__img-wrap {
  position: absolute;
  inset: 0;
}

.icm-cat img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  display: block;
}

.icm-cat:hover img { transform: scale(1.04); }

.icm-cat__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--icm-green) 0%, var(--icm-green-light) 100%);
  color: #fff;
  font-size: 3rem;
  font-weight: 700;
  gap: 0.5rem;
}

.icm-cat__placeholder .icm-cat__name {
  position: static;
  font-size: 1.1rem;
  color: #fff;
  pointer-events: auto;
}

/* ==========================================================================
   TRUST / CERTIFICATIONS
   ========================================================================== */

.icm-trust {
  padding: 5rem 0;
  background: var(--icm-green-pale);
}

.icm-trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.icm-trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}

.icm-trust-icon {
  width: 64px;
  height: 64px;
  background: var(--icm-white);
  border-radius: var(--icm-radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: var(--icm-shadow-sm);
}

.icm-trust-label {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--icm-text);
  margin: 0;
}

.icm-trust-desc {
  font-size: 0.85rem;
  color: var(--icm-text-secondary);
  margin: 0;
  line-height: 1.5;
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */

.icm-testimonials {
  padding: 5rem 0;
  background: var(--icm-bg);
}

.icm-testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.icm-testimonial {
  background: var(--icm-white);
  padding: 1.5rem;
  border-radius: var(--icm-radius-xl);
  border-left: 4px solid var(--icm-accent);
  box-shadow: var(--icm-shadow-sm);
  transition: all 0.2s ease;
}

.icm-testimonial:hover {
  box-shadow: var(--icm-shadow);
  transform: translateY(-4px);
}

.icm-testimonial__stars {
  color: var(--icm-orange);
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.icm-testimonial__text {
  font-size: 0.95rem;
  color: var(--icm-text-secondary);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  font-style: italic;
}

.icm-testimonial__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.icm-testimonial__avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--icm-radius-full);
  background: var(--icm-green-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--icm-green);
  flex-shrink: 0;
}

.icm-testimonial__name {
  font-weight: 600;
  color: var(--icm-text);
  font-size: 0.9rem;
  margin: 0;
}

.icm-testimonial__role {
  font-size: 0.8rem;
  color: var(--icm-text-muted);
  margin: 0;
}

/* ==========================================================================
   NEWSLETTER
   ========================================================================== */

.icm-newsletter {
  padding: 5rem 0;
  background: var(--icm-bg-alt);
}

.icm-newsletter__inner {
  background: linear-gradient(135deg, var(--icm-green) 0%, var(--icm-green-light) 100%);
  color: #fff;
  padding: 3.5rem 2.5rem;
  border-radius: var(--icm-radius-xl);
}

.icm-newsletter__inner h2 {
  color: #fff;
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
}

.icm-newsletter__inner p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  margin: 0 0 1.5rem;
  max-width: 500px;
  line-height: 1.6;
}

.icm-newsletter__form {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  max-width: 500px;
}

.icm-newsletter__input {
  flex: 1;
  min-width: 200px;
  padding: 0.85rem 1.25rem;
  border: none;
  border-radius: var(--icm-radius-lg);
  background: rgba(255, 255, 255, 0.95);
  color: var(--icm-text);
  font-size: 1rem;
  font-family: var(--icm-font);
  transition: background 0.2s;
}

.icm-newsletter__input:focus {
  outline: none;
  background: #fff;
}

.icm-newsletter__input::placeholder { color: var(--icm-text-muted); }

.icm-newsletter__note {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0.75rem 0 0;
}

/* ==========================================================================
   CTA BANNER
   ========================================================================== */

.icm-cta {
  padding: 5rem 0;
  background: var(--icm-bg);
}

.icm-cta__inner {
  background: linear-gradient(135deg, var(--icm-green-dark) 0%, var(--icm-green) 100%);
  border-radius: var(--icm-radius-xl);
  padding: 4rem 3rem;
  text-align: center;
}

.icm-cta__inner h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 0.75rem;
}

.icm-cta__inner p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.icm-footer {
  background: var(--icm-green-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 4rem 0 0;
}

.icm-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.icm-footer__grid--no-social {
  grid-template-columns: 2fr 1fr 1fr;
}

.icm-footer__brand h3 {
  color: #fff;
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0 0 0.75rem;
}

.icm-footer__brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 300px;
  margin: 0;
}

.icm-footer__col h4 {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 1rem;
}

.icm-footer__col a {
  display: block;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 0.3rem 0;
  transition: color 0.2s;
}

.icm-footer__col a:hover { color: var(--icm-accent); }

.icm-footer__col--social h4 {
  margin-bottom: 0.85rem;
}

/* Shared social icon row (footer + contact) */
.icm-social-icons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.icm-social-icons__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 50%;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease, border-color 0.2s ease;
}

.icm-footer .icm-social-icons__link {
  /* redeclare display/padding/box-sizing to beat `.icm-footer__col a`
     (which is more specific than `.icm-social-icons__link` alone). */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 0;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.icm-footer .icm-social-icons__link:hover {
  color: var(--icm-green-dark);
  background: var(--icm-accent);
  border-color: transparent;
  transform: translateY(-2px);
}

.icm-footer__bottom {
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.icm-footer__bottom p {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
}

.icm-footer__bottom a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-size: 0.8rem;
  transition: color 0.2s;
}

.icm-footer__bottom a:hover { color: var(--icm-accent); }

/* ==========================================================================
   SCROLL ANIMATIONS
   ========================================================================== */

.icm-animate {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.icm-animate.icm-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 991px) {
  .icm-nav__toggle { display: flex; }

  .icm-nav__links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--icm-green-dark);
    flex-direction: column;
    padding: 1rem 1.5rem 1.5rem;
    gap: 0.25rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  }

  .icm-nav__links--open { display: flex; }

  .icm-nav__link { padding: 0.65rem 0.85rem; font-size: 1rem; }

  .icm-products__grid { grid-template-columns: repeat(2, 1fr); }
  .icm-products-scroll { grid-template-columns: repeat(2, 1fr); padding: 1.25rem; }
  .icm-categories__grid { grid-template-columns: repeat(2, 1fr); }
  .icm-testimonials__grid { grid-template-columns: repeat(2, 1fr); }
  .icm-trust__grid { grid-template-columns: repeat(2, 1fr); }
  .icm-banners__grid { grid-template-columns: 1fr; }
  .icm-categories__inner { padding: 0 1.25rem; }

  .icm-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 767px) {
  .icm-hero { min-height: 90vh; }

  .icm-hero__content { padding: 7rem 1.5rem 3rem; }

  .icm-categories,
  .icm-cta,
  .icm-trust,
  .icm-testimonials,
  .icm-newsletter { padding: 3rem 0; }

  .icm-card__footer .icm-btn { opacity: 1; }

  .icm-cta__inner { padding: 2.5rem 1.5rem; }
  .icm-cta__inner h2 { font-size: 1.5rem; }

  .icm-newsletter__inner { padding: 2.5rem 1.5rem; }

  .icm-section-header h2 { font-size: 1.4rem; }

  .icm-footer__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .icm-footer__bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}

/* ==========================================================================
   HOME MEDIA (after categories)
   ========================================================================== */

.icm-home-media {
  padding: 5rem 0;
  background: var(--icm-bg-alt);
}

.icm-home-media__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.25rem;
  align-items: center;
  background: var(--icm-white);
  border: 1px solid var(--icm-border-light);
  border-radius: var(--icm-radius-xl);
  overflow: hidden;
  box-shadow: var(--icm-shadow-sm);
}

.icm-home-media__text {
  padding: 2.75rem 2.5rem;
}

.icm-home-media__heading {
  margin: 0 0 0.85rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  color: var(--icm-text);
}

.icm-home-media__sub {
  margin: 0 0 1.25rem;
  color: var(--icm-text-secondary);
  line-height: 1.7;
  max-width: 34rem;
}

.icm-home-media__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--icm-green);
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.15s ease;
}

.icm-home-media__cta:hover {
  color: var(--icm-green-light);
  transform: translateX(2px);
}

.icm-home-media__media {
  height: 100%;
  min-height: 320px;
  background: var(--icm-bg-alt);
}

.icm-home-media__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 991px) {
  .icm-home-media__inner { grid-template-columns: 1fr; }
  .icm-home-media__media { min-height: 240px; }
  .icm-home-media__text { padding: 2.25rem 1.75rem; }
}

@media (max-width: 480px) {
  .icm-products__grid { grid-template-columns: 1fr; }
  .icm-testimonials__grid { grid-template-columns: 1fr; }
  .icm-trust__grid { grid-template-columns: repeat(2, 1fr); }
  .icm-categories__grid { grid-template-columns: repeat(2, 1fr); }
  .icm-categories__inner { padding: 0 1rem; }
  .icm-newsletter__form { flex-direction: column; }
  .icm-newsletter__input { min-width: auto; }
  .icm-hero__title { font-size: 1.75rem; }
}

/* ==========================================================================
   FEATURE HIGHLIGHT SECTION
   ========================================================================== */

.icm-feature {
  background: var(--icm-white);
  overflow: hidden;
}

.icm-feature__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: 460px;
  max-width: 1600px;
  margin: 0 auto;
}

.icm-feature__inner--text-only {
  grid-template-columns: 1fr;
}

/* ── Image panel ─────────────────────────────────────────────────────────── */

.icm-feature__media {
  position: relative;
  overflow: hidden;
  background: var(--icm-bg-alt);
}

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

.icm-feature:hover .icm-feature__media img {
  transform: scale(1.04);
}

/* Subtle diagonal shine on hover */
.icm-feature__media-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.00) 30%,
    rgba(255, 255, 255, 0.07) 50%,
    rgba(255, 255, 255, 0.00) 70%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.icm-feature:hover .icm-feature__media-shine { opacity: 1; }

/* ── Text panel ──────────────────────────────────────────────────────────── */

.icm-feature__body {
  display: flex;
  align-items: center;
  padding: 4.5rem 4rem 4.5rem 5rem;
  background: var(--icm-white);
  position: relative;
}

/* Vertical accent bar on the left edge */
.icm-feature__body::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 72px;
  background: linear-gradient(180deg, var(--icm-accent) 0%, var(--icm-green) 100%);
  border-radius: 0 2px 2px 0;
}

.icm-feature__inner--text-only .icm-feature__body {
  padding: 5rem 2rem;
  justify-content: center;
}

.icm-feature__inner--text-only .icm-feature__body::before { display: none; }

.icm-feature__text {
  max-width: 460px;
}

.icm-feature__inner--text-only .icm-feature__text {
  max-width: 640px;
  text-align: center;
}

.icm-feature__eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--icm-green);
  margin-bottom: 1rem;
}

.icm-feature__heading {
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  font-weight: 900;
  color: var(--icm-text);
  letter-spacing: -0.01em;
  text-transform: uppercase;
  line-height: 1.15;
  margin: 0 0 1.25rem;
}

.icm-feature__sub {
  font-size: 1rem;
  color: var(--icm-text-secondary);
  line-height: 1.75;
  margin: 0 0 0.65rem;
}

.icm-feature__desc {
  font-size: 0.93rem;
  color: var(--icm-text-muted);
  line-height: 1.75;
  margin: 0 0 2.25rem;
}

.icm-feature__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.78rem 1.8rem;
  background: var(--icm-green-dark);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid var(--icm-green-dark);
  border-radius: 3px;
  transition: background 0.22s ease, border-color 0.22s ease,
              transform 0.18s ease, box-shadow 0.22s ease;
}

.icm-feature__cta:hover {
  background: var(--icm-green);
  border-color: var(--icm-green);
  color: #fff;
  text-decoration: none;
  transform: translateX(4px);
  box-shadow: var(--icm-shadow);
}

@media (max-width: 991px) {
  .icm-feature__inner { grid-template-columns: 1fr; min-height: auto; }

  .icm-feature__media { min-height: 320px; }

  .icm-feature__body {
    padding: 3.5rem 2rem 3.5rem 2.5rem;
  }

  /* Flip accent bar to top on mobile */
  .icm-feature__body::before {
    top: 0;
    left: 2.5rem;
    transform: none;
    width: 56px;
    height: 4px;
    border-radius: 0 0 2px 2px;
  }

  .icm-feature__text { max-width: 100%; }
}

@media (max-width: 480px) {
  .icm-feature__media { min-height: 240px; }
  .icm-feature__body { padding: 2.75rem 1.25rem 2.75rem 1.5rem; }
  .icm-feature__heading { font-size: 1.35rem; }
  .icm-feature__body::before { left: 1.5rem; }
}

/* ==========================================================================
   PRODUCT LISTING — overrides ERPNext defaults
   ========================================================================== */

body.product-page,
body[data-path="all-products"] {
  background: var(--icm-bg) !important;
  overflow-x: clip;
}

body.product-page .page-breadcrumbs {
  display: none !important;
}

body.product-page main.container {
  max-width: 100%;
  width: 100%;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

body.product-page .page_content {
  padding-top: 0 !important;
}

.icm-plp-slideshow {
  width: 100%;
}

.icm-plp-slideshow .web-block {
  margin: 0;
}

/* ==========================================================================
   Product card — full-bleed, no-gap editorial style
   ========================================================================== */

/* Card shell — flat, no radius, no shadow lift */
body.product-page .item-card-group-section .card,
#featured-products .item-card-group-section .card {
  background: #f0eeea !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: hidden !important;
  transition: none;
  position: relative;
  height: 100%;
}

/* ── Image container: full cover, large, edge-to-edge ───────────────────── */

body.product-page .item-card-group-section .card-img-container,
#featured-products .item-card-group-section .card-img-container {
  background: #e8e6e2 !important;
  aspect-ratio: 1 / 1;
  width: 100%;
  height: auto !important;
  overflow: hidden;
  border-radius: 0 !important;
  position: relative;
  display: block;
}

body.product-page .item-card-group-section .card-img-container .card-img,
#featured-products .item-card-group-section .card-img-container .card-img {
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 0 !important;
  display: block;
  transition: opacity 0.22s ease !important;
}

body.product-page .item-card-group-section .card-img-container .no-image,
#featured-products .item-card-group-section .card-img-container .no-image {
  position: absolute;
  inset: 0;
  background: #e8e6e2 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--icm-text-muted);
  letter-spacing: 0.05em;
}

/* ── 3D flip: front = primary photo, back = slideshow hover (icm_product_cards.js) ─ */

body.product-page .item-card-group-section .card-img-container .icm-pcard-flip,
#featured-products .item-card-group-section .card-img-container .icm-pcard-flip,
body.product-page .icm-plp-listing .card-img-container .icm-pcard-flip {
  position: absolute;
  inset: 0;
  perspective: 960px;
  z-index: 1;
}

body.product-page .item-card-group-section .card-img-container .icm-pcard-flip-inner,
#featured-products .item-card-group-section .card-img-container .icm-pcard-flip-inner,
body.product-page .icm-plp-listing .card-img-container .icm-pcard-flip-inner {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.58s cubic-bezier(0.34, 0.72, 0.35, 1);
  will-change: transform;
}

body.product-page .item-card-group-section .card-img-container .icm-pcard-flip-inner--show-back,
#featured-products .item-card-group-section .card-img-container .icm-pcard-flip-inner--show-back,
body.product-page .icm-plp-listing .card-img-container .icm-pcard-flip-inner--show-back {
  transform: rotateY(180deg);
  -webkit-transform: rotateY(180deg);
}

body.product-page .item-card-group-section .card-img-container .icm-pcard-flip-face,
#featured-products .item-card-group-section .card-img-container .icm-pcard-flip-face,
body.product-page .icm-plp-listing .card-img-container .icm-pcard-flip-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  overflow: hidden;
  background: #e8e6e2;
}

body.product-page .item-card-group-section .card-img-container .icm-pcard-flip-back,
#featured-products .item-card-group-section .card-img-container .icm-pcard-flip-back,
body.product-page .icm-plp-listing .card-img-container .icm-pcard-flip-back {
  transform: rotateY(180deg);
  -webkit-transform: rotateY(180deg);
}

body.product-page .item-card-group-section .card-img-container .icm-pcard-flip-face a,
#featured-products .item-card-group-section .card-img-container .icm-pcard-flip-face a,
body.product-page .icm-plp-listing .card-img-container .icm-pcard-flip-face a {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

body.product-page .item-card-group-section .card-img-container .icm-pcard-flip-face .card-img,
#featured-products .item-card-group-section .card-img-container .icm-pcard-flip-face .card-img,
body.product-page .icm-plp-listing .card-img-container .icm-pcard-flip-face .card-img {
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center !important;
}

@media (prefers-reduced-motion: reduce) {
  body.product-page .item-card-group-section .card-img-container .icm-pcard-flip-inner,
  #featured-products .item-card-group-section .card-img-container .icm-pcard-flip-inner,
  body.product-page .icm-plp-listing .card-img-container .icm-pcard-flip-inner {
    transition-duration: 0.01ms !important;
  }
}

/* ── Floating action overlay (injected by icm_product_cards.js) ─────────── */

.icm-pcard-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 0.6rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
  z-index: 5;
}

/* Show overlay on hover/focus for any product-card that has it. */
.card:hover > .icm-pcard-overlay,
.card:hover .card-img-container .icm-pcard-overlay,
.card:focus-within .icm-pcard-overlay,
.card-img-container:hover .icm-pcard-overlay {
  opacity: 1;
  pointer-events: auto;
}

/* Always show overlay on touch devices (no hover) so the actions stay reachable. */
@media (hover: none) {
  .icm-pcard-overlay { opacity: 1; pointer-events: auto; }
}

.icm-pcard-actions {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  align-items: center;
}

.icm-pcard-action-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  color: #2c3e50;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.18);
  transition: background 0.18s ease, color 0.18s ease, transform 0.15s ease;
  padding: 0;
  line-height: 0;
}

.icm-pcard-action-btn:hover { transform: scale(1.08); }
.icm-pcard-action-btn:focus-visible {
  outline: 2px solid var(--icm-green-dark, #1a6e3a);
  outline-offset: 2px;
}

.icm-pcard-action-btn--cart {
  background: var(--icm-green-dark, #1a6e3a);
  color: #fff;
}
.icm-pcard-action-btn--cart:hover {
  background: var(--icm-green, #2a9b54);
  color: #fff;
}
.icm-pcard-action-btn--cart.is-in-cart {
  background: var(--icm-accent, #fbc531);
  color: var(--icm-green-dark, #1a6e3a);
}

.icm-pcard-action-btn--wish.is-wished {
  color: #e74c3c;
}
.icm-pcard-action-btn--wish.is-wished svg { fill: currentColor; }

/* Legacy single-button class kept for any downstream consumer. */
.icm-pcard-cart-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--icm-green-dark);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.28);
  transition: background 0.18s ease, transform 0.15s ease;
}
.icm-pcard-cart-btn:hover {
  background: var(--icm-green);
  transform: scale(1.1);
}

/* ── Always-visible cart / wishlist nav badges ──────────────────────────── */

.icm-nav__icon--always { display: flex !important; }

.icm-nav__icon--always .icm-nav__badge,
.icm-nav__icon--always .shopping-badge {
  display: inline-flex !important;
}

@keyframes icm-badge-pop {
  0%   { transform: scale(1); }
  35%  { transform: scale(1.6); }
  70%  { transform: scale(0.92); }
  100% { transform: scale(1); }
}
.icm-nav__badge--pop {
  animation: icm-badge-pop 0.5s cubic-bezier(0.2, 1.5, 0.3, 1);
}

@keyframes icm-icon-pulse {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.18); }
  100% { transform: scale(1); }
}
.icm-nav__icon--pulse { animation: icm-icon-pulse 0.45s ease-out; }

/* ── Fly-to-icon ghost ──────────────────────────────────────────────────── */

.icm-fly-ghost {
  position: fixed;
  pointer-events: none;
  z-index: 10000;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  transform-origin: center center;
  transition:
    transform 0.75s cubic-bezier(0.42, -0.05, 0.7, 0.6),
    opacity 0.75s ease,
    border-radius 0.75s ease;
  opacity: 0.95;
}

@media (prefers-reduced-motion: reduce) {
  .icm-fly-ghost { transition-duration: 0.01ms !important; }
  .icm-nav__badge--pop, .icm-nav__icon--pulse { animation: none !important; }
}

/* ── Quick-view modal ───────────────────────────────────────────────────── */

.icm-quickview {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 9998;
  backdrop-filter: blur(2px);
}
.icm-quickview.is-open { display: flex; animation: icm-qv-fade 0.18s ease; }

@keyframes icm-qv-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.icm-quickview__panel {
  position: relative;
  background: #fff;
  border-radius: 14px;
  width: min(960px, 100%);
  max-height: 92vh;
  overflow: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  padding: 1.5rem 1.75rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
  animation: icm-qv-pop 0.22s cubic-bezier(0.2, 1.4, 0.3, 1);
}

@keyframes icm-qv-pop {
  from { transform: scale(0.94); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

@media (max-width: 720px) {
  .icm-quickview__panel {
    grid-template-columns: 1fr;
    padding: 1rem;
  }
}

.icm-quickview__close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.06);
  color: #1f2937;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.icm-quickview__close:hover { background: rgba(15, 23, 42, 0.12); }

.icm-quickview__media {
  background: #f0eeea;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.icm-quickview__img {
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.icm-quickview__info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.icm-quickview__cat {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6b7280;
  margin-bottom: 0.25rem;
}

.icm-quickview__title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 0.5rem;
  line-height: 1.25;
}

.icm-quickview__price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--icm-green-dark, #1a6e3a);
  margin-bottom: 0.4rem;
}

.icm-quickview__stock {
  font-size: 0.85rem;
  color: #4b5563;
  margin-bottom: 0.75rem;
}

.icm-quickview__qty {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1rem;
}
.icm-quickview__step {
  width: 36px;
  height: 36px;
  border: 1px solid #e5e7eb;
  background: #fff;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 600;
  color: #374151;
  line-height: 1;
}
.icm-quickview__step:hover { background: #f3f4f6; }
.icm-quickview__qty-input {
  width: 64px;
  height: 36px;
  text-align: center;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 0.95rem;
  -moz-appearance: textfield;
  appearance: textfield;
}
.icm-quickview__qty-input::-webkit-outer-spin-button,
.icm-quickview__qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.icm-quickview__row {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.icm-quickview__add {
  background: var(--icm-green-dark, #1a6e3a);
  color: #fff;
  border: none;
  padding: 0.7rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}
.icm-quickview__add:hover { background: var(--icm-green, #2a9b54); transform: translateY(-1px); }

.icm-quickview__view-full {
  color: var(--icm-green-dark, #1a6e3a);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}
.icm-quickview__view-full:hover { text-decoration: underline; }

.icm-quickview__desc {
  color: #4b5563;
  line-height: 1.55;
  font-size: 0.92rem;
}
.icm-quickview__desc :where(p, ul, ol) { margin: 0 0 0.6rem; }
.icm-quickview__desc img { max-width: 100%; height: auto; }

/* ── Card body — one row: name left, price right ────────────────────────── */

body.product-page .item-card-group-section .card-body,
#featured-products .item-card-group-section .card-body {
  padding: 0.6rem 0.85rem 0.7rem !important;
  background: #f0eeea !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: baseline !important;
  justify-content: space-between !important;
  gap: 0.5rem;
}

body.product-page .item-card-group-section .product-title,
#featured-products .item-card-group-section .product-title {
  margin: 0 !important;
  flex: 1 1 0;
  min-width: 0;
}

body.product-page .item-card-group-section .product-title a,
#featured-products .item-card-group-section .product-title a {
  font-size: 0.68rem !important;
  font-weight: 700 !important;
  letter-spacing: 1.4px !important;
  text-transform: uppercase !important;
  color: var(--icm-text) !important;
  text-decoration: none !important;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

body.product-page .item-card-group-section .product-category,
#featured-products .item-card-group-section .product-category {
  display: none !important;
}

body.product-page .item-card-group-section .product-price,
#featured-products .item-card-group-section .product-price {
  font-size: 0.72rem !important;
  font-weight: 600 !important;
  color: var(--icm-text-secondary) !important;
  margin: 0 !important;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Hide original ERPNext buttons — cart action is on the floating icon */
body.product-page .item-card-group-section .btn-area,
body.product-page .item-card-group-section .btn-add-to-cart-list,
body.product-page .item-card-group-section .btn-explore-variants,
#featured-products .item-card-group-section .btn-area,
#featured-products .item-card-group-section .btn-add-to-cart-list,
#featured-products .item-card-group-section .btn-explore-variants {
  display: none !important;
}

/* Keep them reachable for JS click-forwarding */
body.product-page .item-card-group-section .btn-add-to-cart-list,
body.product-page .item-card-group-section .btn-explore-variants,
#featured-products .item-card-group-section .btn-add-to-cart-list,
#featured-products .item-card-group-section .btn-explore-variants {
  visibility: hidden !important;
  pointer-events: none !important;
  position: absolute !important;
}

/* ==========================================================================
   ALL PRODUCTS PAGE (PLP) — modern layout + responsive grid
   ========================================================================== */

/* Flush under fixed `.icm-nav` (64px): remove global body top padding on PLP + Find Store only */
body:has(#icm-plp),
body:has(#icm-stores-root),
body:has(#icm-recipes),
body:has(#icm-recipe),
body:has(#icm-careers),
body:has(#icm-career) {
  padding-top: 0 !important;
}

body:has(#icm-stores-root) .page-breadcrumbs {
  display: none !important;
}

/* Frappe `web.html` outer `<main>` — edge-to-edge page chrome */
main:has(#icm-plp),
main:has(#icm-stores-root),
main:has(#icm-recipes),
main:has(#icm-recipe),
main:has(#icm-careers),
main:has(#icm-career) {
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

main:has(#icm-plp) .page_content,
main:has(#icm-stores-root) .page_content,
main:has(#icm-recipes) .page_content,
main:has(#icm-recipe) .page_content,
main:has(#icm-careers) .page_content,
main:has(#icm-career) .page_content {
  padding: 0 !important;
}

main:has(#icm-plp) .page-header-wrapper,
main:has(#icm-stores-root) .page-header-wrapper,
main:has(#icm-recipes) .page-header-wrapper,
main:has(#icm-recipe) .page-header-wrapper,
main:has(#icm-careers) .page-header-wrapper,
main:has(#icm-career) .page-header-wrapper {
  display: none !important;
}

/* ==========================================================================
   CAREERS — data-driven from HRMS Job Opening
   ========================================================================== */

.icm-careers,
.icm-career {
  background: var(--icm-bg);
}

.icm-careers-apply {
  background: var(--icm-bg);
}

.icm-careers-hero,
.icm-career-hero {
  position: relative;
  background: linear-gradient(135deg, var(--icm-green-dark) 0%, var(--icm-green) 55%, var(--icm-green-light) 100%);
  color: #fff;
  padding-top: calc(64px + 2.25rem);
  padding-bottom: 2.5rem;
  overflow: hidden;
}

.icm-careers-hero::before,
.icm-career-hero::before {
  content: "";
  position: absolute;
  inset: -2px 0 auto 0;
  height: 100%;
  background-image:
    radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.14) 0, transparent 45%),
    radial-gradient(circle at 15% 85%, rgba(0, 0, 0, 0.18) 0, transparent 50%);
  pointer-events: none;
}

.icm-careers-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  opacity: 0.95;
}

.icm-careers-hero__title,
.icm-career-hero__title {
  margin: 0.6rem 0 0.65rem;
  font-size: clamp(2rem, 4.6vw, 3.1rem);
  font-weight: 950;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--icm-accent);
}

.icm-careers-hero__desc {
  margin: 0;
  max-width: 54rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.02rem;
  line-height: 1.65;
}

/* Careers breadcrumb: match PLP/Recipes (avoid default blue links) */
.icm-careers-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1rem;
}
.icm-careers-breadcrumb a { color: rgba(255, 255, 255, 0.9); text-decoration: none; }
.icm-careers-breadcrumb a:hover { color: #fff; }
.icm-careers-breadcrumb span[aria-current] { color: #fff; font-weight: 600; }

.icm-careers-main {
  padding: 1.25rem 0 2.75rem;
}

.icm-careers-toolbar {
  display: grid;
  grid-template-columns: 1.25fr 1fr auto;
  gap: 0.85rem;
  align-items: center;
  margin: -2.0rem 0 1.2rem;
  padding: 0.95rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 18px 42px rgba(2, 6, 23, 0.10);
  backdrop-filter: blur(8px);
  position: relative;
  z-index: 2;
}

.icm-careers-search { position: relative; }
.icm-careers-search__icon {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.6;
}
.icm-careers-search input[type="search"] {
  width: 100%;
  height: 44px;
  border-radius: 12px;
  padding: 0 0.9rem 0 2.5rem;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #fff;
  outline: none;
}
.icm-careers-search input[type="search"]:focus {
  border-color: rgba(141, 199, 62, 0.9);
  box-shadow: 0 0 0 4px rgba(141, 199, 62, 0.18);
}

.icm-careers-filters {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
  align-items: center;
}
.icm-careers-filters select {
  height: 44px;
  border-radius: 12px;
  padding: 0 0.9rem;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #fff;
  min-width: 220px;
}

.icm-careers-meta {
  font-weight: 700;
  color: rgba(15, 23, 42, 0.75);
  justify-self: end;
  white-space: nowrap;
}

.icm-careers-list {
  display: grid;
  gap: 0.85rem;
}

.icm-job-card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  padding: 1rem;
  box-shadow: 0 12px 28px rgba(2, 6, 23, 0.06);
}

.icm-job-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.9rem;
}

.icm-job-card__title {
  margin: 0;
  font-weight: 950;
  letter-spacing: -0.01em;
  line-height: 1.2;
  font-size: 1.15rem;
}
.icm-job-card__title a {
  color: rgba(15, 23, 42, 0.95);
  text-decoration: none;
}
.icm-job-card__title a:hover { text-decoration: underline; }

.icm-job-card__sub {
  margin-top: 0.55rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.icm-job-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  color: rgba(15, 23, 42, 0.78);
  background: rgba(141, 199, 62, 0.14);
  border: 1px solid rgba(141, 199, 62, 0.22);
}

/* In green hero headers, use high-contrast "glass" chips */
.icm-careers-hero .icm-job-pill,
.icm-career-hero .icm-job-pill,
.icm-career-hero__meta .icm-job-pill {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.28);
}

.icm-job-card__actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.icm-job-card__desc {
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  color: rgba(15, 23, 42, 0.78);
  line-height: 1.7;
}
.icm-job-card__desc :is(h2,h3) {
  margin-top: 0.8rem;
  font-weight: 900;
}
.icm-job-card__desc :is(ul,ol) {
  padding-left: 1.1rem;
}

.icm-careers-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1.2rem;
}
.icm-careers-pagination__status {
  font-weight: 800;
  color: rgba(15, 23, 42, 0.70);
}

.icm-careers-empty {
  padding: 2.25rem 0;
}
.icm-careers-empty__card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  padding: 1.25rem;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: 0 16px 40px rgba(2, 6, 23, 0.08);
  text-align: center;
}
.icm-careers-empty__actions {
  margin-top: 0.9rem;
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Detail */
.icm-career-hero__inner { position: relative; z-index: 2; }
.icm-career-hero__meta {
  margin-top: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.icm-career-hero__actions {
  margin-top: 1.15rem;
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.icm-career-body {
  padding: 1.25rem 0 2.25rem;
}
.icm-career-content {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  padding: 1.15rem;
  box-shadow: 0 16px 44px rgba(2, 6, 23, 0.08);
}
.icm-career-content :is(img, video, iframe) { max-width: 100%; border-radius: 14px; }
.icm-career-content p { line-height: 1.7; }

.icm-career-more {
  padding: 0 0 2.75rem;
}
.icm-career-more__title {
  margin: 0 0 0.9rem;
  font-weight: 950;
  letter-spacing: -0.01em;
}
.icm-career-more__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}
.icm-career-mini {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  padding: 0.9rem;
  box-shadow: 0 12px 28px rgba(2, 6, 23, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.icm-career-mini:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 42px rgba(2, 6, 23, 0.10);
}
.icm-career-mini__title {
  font-weight: 950;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.icm-career-mini__meta {
  margin-top: 0.35rem;
  color: rgba(15, 23, 42, 0.70);
  font-weight: 700;
  font-size: 0.92rem;
}

@media (max-width: 992px) {
  .icm-careers-toolbar {
    grid-template-columns: 1fr;
    margin-top: -1.65rem;
  }
  .icm-careers-filters { justify-content: flex-start; flex-wrap: wrap; }
  .icm-careers-meta { justify-self: start; }
  .icm-job-card__head { flex-direction: column; }
  .icm-job-card__actions { justify-content: flex-start; }
  .icm-career-more__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 576px) {
  .icm-career-more__grid { grid-template-columns: 1fr; }
}

/* Careers apply form */
.icm-careers-apply__main {
  padding: 1.25rem 0 2.75rem;
}
.icm-careers-apply__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 1rem;
  align-items: start;
}
.icm-careers-apply__formCard,
.icm-careers-apply__sideCard {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  padding: 1.15rem;
  box-shadow: 0 16px 44px rgba(2, 6, 23, 0.08);
}
.icm-careers-apply__h2 {
  margin: 0 0 0.4rem;
  font-weight: 950;
  letter-spacing: -0.01em;
}
.icm-careers-apply__p {
  margin: 0 0 1rem;
  color: rgba(15, 23, 42, 0.72);
}
.icm-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.icm-form__field {
  margin-bottom: 0.85rem;
}
.icm-form__field label {
  display: block;
  font-weight: 800;
  margin-bottom: 0.35rem;
  color: rgba(15, 23, 42, 0.88);
}
.icm-form__field input,
.icm-form__field textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  padding: 0.72rem 0.85rem;
  outline: none;
  background: #fff;
}
.icm-form__field textarea {
  resize: vertical;
  min-height: 140px;
}
.icm-form__field input:focus,
.icm-form__field textarea:focus {
  border-color: rgba(141, 199, 62, 0.9);
  box-shadow: 0 0 0 4px rgba(141, 199, 62, 0.18);
}
.icm-form__hint {
  margin: 0.35rem 0 0;
  font-size: 0.92rem;
  color: rgba(15, 23, 42, 0.62);
}
.icm-form__actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 0.3rem;
}
.icm-form__status {
  margin-top: 0.9rem;
  padding: 0.75rem 0.85rem;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: rgba(2, 6, 23, 0.03);
  color: rgba(15, 23, 42, 0.80);
}
.icm-form__status:empty {
  display: none;
}
.icm-form__status--success {
  border-color: rgba(141, 199, 62, 0.28);
  background: rgba(141, 199, 62, 0.12);
}
.icm-form__status--error {
  border-color: rgba(239, 68, 68, 0.25);
  background: rgba(239, 68, 68, 0.10);
}
.icm-careers-apply__about {
  color: rgba(15, 23, 42, 0.78);
  line-height: 1.7;
}
.icm-careers-apply__about :is(h2,h3) {
  margin-top: 0.8rem;
  font-weight: 900;
}
.icm-careers-apply__side {
  position: sticky;
  top: 84px;
}

@media (max-width: 992px) {
  .icm-careers-apply__grid {
    grid-template-columns: 1fr;
  }
  .icm-careers-apply__side {
    position: static;
  }
  .icm-form__row {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   RECIPES — listing + article page
   ========================================================================== */

.icm-recipes,
.icm-recipe {
  background: var(--icm-bg);
}

.icm-recipes-hero {
  position: relative;
  background: linear-gradient(135deg, #1f6b3b 0%, var(--icm-green) 55%, var(--icm-green-light) 100%);
  color: #fff;
  padding-top: calc(64px + 2.25rem);
  padding-bottom: 2.75rem;
  overflow: hidden;
}

.icm-recipes-hero::before {
  content: "";
  position: absolute;
  inset: -2px 0 auto 0;
  height: 100%;
  background-image:
    radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.14) 0, transparent 45%),
    radial-gradient(circle at 15% 85%, rgba(0, 0, 0, 0.18) 0, transparent 50%);
  pointer-events: none;
}

.icm-recipes-breadcrumb,
.icm-recipe-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1rem;
}
.icm-recipes-breadcrumb a,
.icm-recipe-breadcrumb a { color: rgba(255, 255, 255, 0.9); text-decoration: none; }
.icm-recipes-breadcrumb a:hover,
.icm-recipe-breadcrumb a:hover { color: #fff; }
.icm-recipes-breadcrumb span[aria-current],
.icm-recipe-breadcrumb span[aria-current] { color: #fff; font-weight: 600; }

.icm-recipes-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  opacity: 0.95;
}

.icm-recipes-hero__title {
  margin: 0.6rem 0 0.65rem;
  font-size: clamp(2rem, 4.6vw, 3.1rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--icm-accent);
}

.icm-recipes-hero__desc {
  margin: 0;
  max-width: 54rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.02rem;
  line-height: 1.65;
}

.icm-recipes-main {
  padding: 1.25rem 0 2.75rem;
}

.icm-recipes-toolbar {
  display: grid;
  grid-template-columns: 1.35fr 1fr auto;
  gap: 0.85rem;
  align-items: center;
  margin: -2.0rem 0 1.2rem;
  padding: 0.95rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 18px 42px rgba(2, 6, 23, 0.10);
  backdrop-filter: blur(8px);
  position: relative;
  z-index: 2;
}

.icm-recipes-search {
  position: relative;
}
.icm-recipes-search__icon {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.6;
}
.icm-recipes-search input[type="search"] {
  width: 100%;
  height: 44px;
  border-radius: 12px;
  padding: 0 0.9rem 0 2.5rem;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #fff;
  outline: none;
}
.icm-recipes-search input[type="search"]:focus {
  border-color: rgba(141, 199, 62, 0.9);
  box-shadow: 0 0 0 4px rgba(141, 199, 62, 0.18);
}

.icm-recipes-filters {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
  align-items: center;
}
.icm-recipes-filters select {
  height: 44px;
  border-radius: 12px;
  padding: 0 0.9rem;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #fff;
  min-width: 190px;
}

.icm-recipes-meta {
  font-weight: 600;
  color: rgba(15, 23, 42, 0.75);
  justify-self: end;
  white-space: nowrap;
}

.icm-recipes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.icm-recipe-card {
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 12px 26px rgba(2, 6, 23, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.icm-recipe-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(2, 6, 23, 0.10);
}

.icm-recipe-card__media {
  display: block;
  position: relative;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, rgba(141, 199, 62, 0.18), rgba(31, 107, 59, 0.18));
}
.icm-recipe-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.icm-recipe-card__placeholder {
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.5), transparent 40%),
    linear-gradient(135deg, rgba(141, 199, 62, 0.30), rgba(31, 107, 59, 0.22));
}
.icm-recipe-card__chip {
  position: absolute;
  left: 0.8rem;
  top: 0.8rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #0f172a;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.icm-recipe-card__body {
  padding: 0.95rem 0.95rem 1.05rem;
}
.icm-recipe-card__title {
  margin: 0.1rem 0 0.55rem;
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.icm-recipe-card__title a {
  color: rgba(15, 23, 42, 0.95);
  text-decoration: none;
}
.icm-recipe-card__title a:hover {
  text-decoration: underline;
}
.icm-recipe-card__excerpt {
  margin: 0 0 0.75rem;
  color: rgba(15, 23, 42, 0.72);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.icm-recipe-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.85rem;
}

.icm-recipe-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(15, 23, 42, 0.78);
  background: rgba(141, 199, 62, 0.14);
  border: 1px solid rgba(141, 199, 62, 0.22);
}

.icm-recipe-card__cta {
  display: flex;
  justify-content: flex-start;
}

.icm-recipes-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1.2rem;
}
.icm-recipes-pagination__status {
  font-weight: 700;
  color: rgba(15, 23, 42, 0.70);
}

.icm-recipes-empty {
  padding: 2.25rem 0;
}
.icm-recipes-empty__card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  padding: 1.25rem;
  max-width: 540px;
  margin: 0 auto;
  box-shadow: 0 16px 40px rgba(2, 6, 23, 0.08);
  text-align: center;
}

/* Recipe detail */
.icm-recipe-hero {
  position: relative;
  background: linear-gradient(135deg, #1f6b3b 0%, var(--icm-green) 55%, var(--icm-green-light) 100%);
  color: #fff;
  padding-top: calc(64px + 2.0rem);
  padding-bottom: 1.35rem;
  overflow: hidden;
}
.icm-recipe-hero__inner {
  position: relative;
  z-index: 2;
}
.icm-recipe-hero__chip {
  display: inline-flex;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.92);
  color: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(15, 23, 42, 0.10);
}
.icm-recipe-hero__title {
  margin: 0.75rem 0 0.6rem;
  font-size: clamp(2.0rem, 4.6vw, 3.0rem);
  font-weight: 950;
  letter-spacing: -0.02em;
  line-height: 1.06;
  color: var(--icm-accent);
}
.icm-recipe-hero__excerpt {
  margin: 0;
  max-width: 58rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.02rem;
  line-height: 1.65;
}
.icm-recipe-hero__meta {
  margin-top: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.icm-recipe-hero__image {
  margin-top: 1.15rem;
  padding: 0 0 1.35rem;
}
.icm-recipe-hero__image img {
  width: min(1040px, 100%);
  height: 420px;
  object-fit: cover;
  display: block;
  margin: 0 auto;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 26px 70px rgba(2, 6, 23, 0.22);
}

.icm-recipe-body {
  padding: 1.25rem 0 2.25rem;
}
.icm-recipe-content {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  padding: 1.15rem;
  box-shadow: 0 16px 44px rgba(2, 6, 23, 0.08);
}
.icm-recipe-content :is(img, video, iframe) {
  max-width: 100%;
  border-radius: 14px;
}
.icm-recipe-content img {
  height: auto;
}
.icm-recipe-content h2,
.icm-recipe-content h3 {
  margin-top: 1.1rem;
  margin-bottom: 0.5rem;
  font-weight: 900;
  letter-spacing: -0.01em;
}
.icm-recipe-content p {
  line-height: 1.7;
}
.icm-recipe-footer {
  margin-top: 1rem;
  display: flex;
  justify-content: flex-start;
}

.icm-recipe-more {
  padding: 0 0 2.75rem;
}
.icm-recipe-more__title {
  margin: 0 0 0.9rem;
  font-weight: 950;
  letter-spacing: -0.01em;
}
.icm-recipe-more__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}
.icm-recipe-mini {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(2, 6, 23, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.icm-recipe-mini:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 42px rgba(2, 6, 23, 0.10);
}
.icm-recipe-mini__media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, rgba(141, 199, 62, 0.18), rgba(31, 107, 59, 0.18));
}
.icm-recipe-mini__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.icm-recipe-mini__placeholder {
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.5), transparent 40%),
    linear-gradient(135deg, rgba(141, 199, 62, 0.30), rgba(31, 107, 59, 0.22));
}
.icm-recipe-mini__chip {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  color: #0f172a;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 23, 42, 0.08);
}
.icm-recipe-mini__title {
  padding: 0.75rem 0.85rem 0.9rem;
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

@media (max-width: 992px) {
  .icm-recipes-toolbar {
    grid-template-columns: 1fr;
    margin-top: -1.65rem;
  }
  .icm-recipes-filters {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .icm-recipes-meta {
    justify-self: start;
  }
  .icm-recipes-grid,
  .icm-recipe-more__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .icm-recipe-hero__image img {
    height: 320px;
  }
}

@media (max-width: 576px) {
  .icm-recipes-grid,
  .icm-recipe-more__grid {
    grid-template-columns: 1fr;
  }
  .icm-recipe-hero__image img {
    height: 260px;
  }
}

.icm-plp {
  background: var(--icm-bg);
}

.icm-plp-hero {
  position: relative;
  background: linear-gradient(135deg, var(--icm-green-dark) 0%, var(--icm-green) 55%, var(--icm-green-light) 100%);
  color: #fff;
  margin-top: 0;
  padding-top: calc(64px + 2.25rem);
  padding-bottom: 2.75rem;
  padding-left: 0;
  padding-right: 0;
  overflow: hidden;
}

.icm-plp-hero::before {
  content: "";
  position: absolute;
  inset: -2px 0 auto 0;
  height: 100%;
  background-image:
    radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.12) 0, transparent 45%),
    radial-gradient(circle at 15% 85%, rgba(0, 0, 0, 0.15) 0, transparent 50%);
  pointer-events: none;
}

.icm-plp-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1rem;
}

.icm-plp-breadcrumb a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.icm-plp-breadcrumb a:hover { color: #fff; }
.icm-plp-breadcrumb span[aria-current] { color: #fff; font-weight: 600; }

.icm-plp-hero__title {
  margin: 0 0 0.65rem;
  font-size: clamp(2rem, 4.6vw, 3.1rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--icm-accent);
}

.icm-plp-hero__desc {
  margin: 0;
  max-width: 52rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.02rem;
  line-height: 1.65;
}

.icm-plp__shell {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 1rem 0 2.5rem;
}

body.product-page .lucki-products-page {
  margin-left: 0 !important;
  margin-right: 0 !important;
  row-gap: 1.25rem;
  /* Keep consistent gutters like other pages (.icm-container) */
  max-width: 1280px;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  margin-left: auto !important;
  margin-right: auto !important;
}

@media (max-width: 576px) {
  body.product-page .lucki-products-page {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

body.product-page .icm-plp__filters-col,
body.product-page .icm-plp__listing-col {
  min-width: 0;
}

body.product-page .icm-plp-filters-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

@media (min-width: 992px) {
  body.product-page .icm-plp-filters-head { display: none; }
}

body.product-page .icm-plp-clear {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--icm-green);
  text-decoration: none;
}

body.product-page .icm-plp-clear:hover { color: var(--icm-green-light); }

body.product-page .filters-section {
  margin-right: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
}

body.product-page .icm-plp-filters-card {
  background: var(--icm-white);
  border: 1px solid var(--icm-border);
  border-radius: var(--icm-radius-lg);
  box-shadow: var(--icm-shadow-sm);
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

body.product-page .icm-plp-filters-card__head {
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1rem 0.85rem;
  margin: 0;
  border-bottom: 1px solid var(--icm-border-light);
}

body.product-page .icm-plp-filters-card__drawer-head {
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--icm-border-light);
  background: var(--icm-green-dark);
  color: #fff;
}

body.product-page .icm-plp-filters-card__drawer-title {
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

body.product-page .icm-plp-filters-close {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

body.product-page .icm-plp-filters-close:hover {
  background: rgba(255, 255, 255, 0.22);
}

body.product-page .icm-plp-filters-card__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 1rem 1rem 1.1rem;
  -webkit-overflow-scrolling: touch;
}

body.product-page .icm-plp-filters-card__title {
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--icm-text);
}

body.product-page .icm-plp-filters-card__clear {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--icm-green);
  text-decoration: none;
}

body.product-page .icm-plp-filters-card__clear:hover { color: var(--icm-green-light); }

/* ERPNext filter widgets */
body.product-page .filters-section .filter-label,
body.product-page .filters-section label {
  font-weight: 700 !important;
  font-size: 0.82rem !important;
  color: var(--icm-text) !important;
}

body.product-page .filters-section .form-control,
body.product-page .filters-section select,
body.product-page .filters-section input[type="text"],
body.product-page .filters-section input[type="search"] {
  border-radius: 12px !important;
  border: 1.5px solid var(--icm-border) !important;
  background: #fff !important;
  padding: 0.55rem 0.75rem !important;
}

body.product-page .filters-section .form-control:focus,
body.product-page .filters-section select:focus,
body.product-page .filters-section input:focus {
  border-color: var(--icm-green) !important;
  box-shadow: 0 0 0 3px rgba(26, 158, 61, 0.14) !important;
  outline: none !important;
}

/* Scroll lives on `.icm-plp-filters-card__body` (desktop sticky + mobile drawer). */
body.product-page .icm-plp-filters-card__body .filter-options,
body.product-page .icm-plp-filters-card__body .filter-list {
  max-height: none;
  overflow: visible;
}

body.product-page .filters-section .checkbox,
body.product-page .filters-section .form-check {
  padding: 0.35rem 0.25rem;
  border-radius: 10px;
}

body.product-page .filters-section .checkbox:hover,
body.product-page .filters-section .form-check:hover {
  background: var(--icm-bg-alt);
}

body.product-page .icm-plp-listing {
  padding: 0 !important;
  margin: 0 !important;
  min-width: 0;
}

body.product-page .icm-plp-listing .page_content {
  padding: 0 !important;
  margin: 0 !important;
}

/* Toolbar */
body.product-page .icm-plp-listing .toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  margin: 0 0 1rem;
  background: var(--icm-white);
  border: 1px solid var(--icm-border);
  border-radius: var(--icm-radius-lg);
  box-shadow: var(--icm-shadow-xs);
}

body.product-page .icm-plp-listing .toolbar > * {
  min-width: 0;
}

body.product-page .icm-plp-listing .toolbar .web-search,
body.product-page .icm-plp-listing .toolbar .search-box,
body.product-page .icm-plp-listing .toolbar input[type="search"] {
  max-width: 100%;
}

body.product-page .icm-plp-listing .toolbar .sort-by {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 !important;
}

body.product-page .icm-plp-listing .toolbar .sort-by select {
  border-radius: 12px !important;
  border: 1.5px solid var(--icm-border) !important;
  padding: 0.45rem 0.65rem !important;
  background: #fff !important;
}

/* Product grid: 1 col (small) → 2 (medium) → 3 (wide) */
body.product-page .icm-plp-listing > .row,
body.product-page .icm-plp-listing .page_content .row,
body.product-page #icm-skel-grid.row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 1rem !important;
  margin: 0 !important;
  width: 100%;
  max-width: 100%;
}

@media (min-width: 768px) and (max-width: 991.98px) {
  body.product-page .icm-plp-listing > .row,
  body.product-page .icm-plp-listing .page_content .row,
  body.product-page #icm-skel-grid.row {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 992px) {
  body.product-page .icm-plp-listing > .row,
  body.product-page .icm-plp-listing .page_content .row,
  body.product-page #icm-skel-grid.row {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

body.product-page .icm-plp-listing .col-sm-4.item-card {
  padding: 0 !important;
  width: auto !important;
  max-width: none !important;
  flex: unset !important;
  min-width: 0;
}

body.product-page .icm-plp-listing .card {
  border-radius: var(--icm-radius-lg) !important;
  border: 1px solid var(--icm-border-light) !important;
  box-shadow: var(--icm-shadow-xs) !important;
}

body.product-page .icm-plp-listing .card-img-container {
  border-radius: var(--icm-radius-lg) var(--icm-radius-lg) 0 0 !important;
}

/* Pagination */
body.product-page .icm-plp-listing .btn-prev,
body.product-page .icm-plp-listing .btn-next {
  border-radius: 12px !important;
}

@media (min-width: 992px) {
  body.product-page .icm-plp-filters-col {
    position: sticky;
    top: 84px;
    align-self: start;
    z-index: 5;
  }

  body.product-page .icm-plp-filters-panel {
    position: static;
    transform: none;
    width: auto;
    height: auto;
    max-height: none;
    box-shadow: none;
    visibility: visible;
  }

  body.product-page .icm-plp-filters-card {
    max-height: calc(100vh - 110px);
  }
}

/* Mobile / tablet: filters as left drawer */
body.product-page .icm-plp-filters-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1040;
  background: rgba(27, 67, 50, 0.5);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

@media (min-width: 992px) {
  body.product-page .icm-plp-filters-backdrop {
    display: none !important;
  }
}

body.icm-plp--filters-open .icm-plp-filters-backdrop {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.icm-plp--filters-open {
  overflow: hidden;
}

@media (max-width: 991.98px) {
  body.product-page .icm-plp__filters-col {
    position: static;
    z-index: auto;
  }

  body.product-page .icm-plp-filters-panel {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(92vw, 400px);
    max-width: 100%;
    z-index: 1050;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    transform: translateX(-105%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.32s;
    box-shadow: none;
  }

  body.icm-plp--filters-open .icm-plp-filters-panel {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }

  body.product-page .icm-plp-filters-card {
    height: 100%;
    max-height: none;
    border-radius: 0 var(--icm-radius-lg) var(--icm-radius-lg) 0;
    box-shadow: var(--icm-shadow-lg);
  }

  body.product-page .icm-plp-filters-card__body {
    flex: 1 1 auto;
  }
}

/* All-products: Grid-only UI (hide list view + view toggles) */
body.product-page #products-list-area { display: none !important; }
body.product-page .toolbar .toggle-container { display: none !important; }

/* Safety: if ERPNext uses .hidden, ensure it works */
.hidden { display: none !important; }

/* Homepage scroll — strip any container/page_content padding */
#featured-products .page_content,
#featured-products .item-card-group-section {
  padding: 0 !important;
  margin: 0 !important;
  width: 100%;
}

@media (max-width: 767.98px) {
  .icm-plp__shell { padding: 0.75rem 0 2rem; }

  body.product-page .icm-plp-listing > .row,
  body.product-page .icm-plp-listing .page_content .row,
  body.product-page #icm-skel-grid.row {
    gap: 0.75rem !important;
  }

  .icm-products-scroll {
    grid-template-columns: repeat(2, 1fr) !important;
    padding: 1rem !important;
  }
}

/* ── Cart page item image ─────────────────────────────────────────────────── */
/* .product-image inside .cart-item-image has no explicit height, so
   Bootstrap's h-100 on the <img> collapses to 0. Give it a fixed height. */
.cart-item-image .product-image {
  height: 100px !important;
  width: 100px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: var(--icm-bg-alt) !important;
  border-radius: var(--icm-radius) !important;
  overflow: hidden !important;
}

.cart-item-image .product-image .website-image {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
}

.cart-item-image .no-image-item,
.no-image-cart-item {
  background: var(--icm-bg-alt) !important;
  color: var(--icm-text-muted) !important;
  border-radius: var(--icm-radius) !important;
}

/* ── Wishlist card image ──────────────────────────────────────────────────── */
/* Wishlist uses same .card-img-container/.card-img structure as product grid */
.wishlist-card .card-img-container {
  background: var(--icm-bg-alt) !important;
  height: 220px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--icm-radius) var(--icm-radius) 0 0;
}

.wishlist-card .card-img-container .card-img {
  width: 100% !important;
  height: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  padding: 0.5rem;
  margin-top: 0 !important;
}

.wishlist-card .card-img-container .no-image {
  background: transparent !important;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--icm-text-muted);
}
/* Cart/variants buttons on non-product-grid pages (cart, wishlist, single product) */
.btn-add-to-cart-list:not(.item-card-group-section *),
.btn-explore-variants:not(.item-card-group-section *),
.product-container .btn-add-to-cart,
#page-wishlist .btn-add-to-cart-list,
#page-cart .btn-add-to-cart-list {
  background: var(--icm-green) !important;
  border-color: var(--icm-green) !important;
  color: #fff !important;
  border-radius: var(--icm-radius) !important;
}


/* Filters panel styling (non-PLP pages). PLP uses `.icm-plp-filters-card`. */
body:not(.product-page) .filters-section {
  background: var(--icm-white) !important;
  border: 1px solid var(--icm-border) !important;
  border-radius: var(--icm-radius-lg) !important;
  padding: 1.5rem !important;
}

.scroll-categories .category-pill { background: var(--icm-green-pale) !important; color: var(--icm-green) !important; }
#search-box:focus { border-color: var(--icm-green) !important; box-shadow: 0 0 0 2px var(--icm-green-pale) !important; }

/* ==========================================================================
   SINGLE PRODUCT PAGE
   ========================================================================== */

.product-container {
  background: var(--icm-white) !important;
  border: 1px solid var(--icm-border) !important;
  border-radius: var(--icm-radius-lg) !important;
}

.product-container .product-title { color: var(--icm-text) !important; font-weight: 700 !important; }

.product-container .product-price,
.product-container .item-cart .product-price { color: var(--icm-green) !important; }

.product-container .btn-add-to-cart {
  background: var(--icm-green) !important;
  border-color: var(--icm-green) !important;
  color: #fff !important;
  border-radius: var(--icm-radius) !important;
}

.product-container .btn-add-to-cart:hover { background: var(--icm-green-light) !important; }
.product-container .product-image { border-radius: var(--icm-radius-lg) !important; background: var(--icm-bg-alt) !important; }

/* ==========================================================================
   CART PAGE
   ========================================================================== */

#page-cart .shopping-cart-header { color: var(--icm-text) !important; }
/*
 * ERPNext: `#page-cart .cart-container .cart-table .column-sm-view { display:none !important }` below 992px.
 * The remove control uses `.column-sm-view` — we must beat that specificity (1 id + 3 classes) and avoid float
 * clipping from `.cart-container { overflow-x: hidden }`.
 */
#page-cart .cart-container .cart-table .remove-cart-item.column-sm-view,
body[data-path="cart"] .cart-container .cart-table .remove-cart-item.column-sm-view {
  display: flex !important;
  visibility: visible !important;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.5rem;
  position: relative;
  z-index: 1;
}

/* Float + overflow-x on `.cart-container` can clip the control on narrow widths */
@media (max-width: 992px) {
  #page-cart .cart-container .cart-table .remove-cart-item.column-sm-view,
  body[data-path="cart"] .cart-container .cart-table .remove-cart-item.column-sm-view {
    float: none !important;
    margin-left: 0;
    align-self: flex-start;
  }
}

/* Cart item titles / images are anchors so the row is fully clickable to
   the product page, but the default `<a>` blue + underline-on-hover is
   wrong against the cart's neutral surface. Force the brand text colour
   and remove the underline in every state. Applies to both ICM's guest
   cart rows and ERPNext's logged-in cart_items.html rows. */
#page-cart .cart-table .item-title a,
#page-cart .cart-table .item-title a:link,
#page-cart .cart-table .item-title a:visited,
#page-cart .cart-table .icm-gc-link,
#page-cart .cart-table .cart-item-image a {
  color: var(--icm-text, inherit) !important;
  text-decoration: none !important;
}
#page-cart .cart-table .item-title a:hover,
#page-cart .cart-table .item-title a:focus,
#page-cart .cart-table .icm-gc-link:hover,
#page-cart .cart-table .icm-gc-link:focus,
#page-cart .cart-table .cart-item-image a:hover {
  color: var(--icm-green, inherit) !important;
  text-decoration: none !important;
}

#page-cart .frappe-card { background: var(--icm-white) !important; border: 1px solid var(--icm-border) !important; border-radius: var(--icm-radius-lg) !important; }
#page-cart .btn-primary { background: var(--icm-green) !important; border-color: var(--icm-green) !important; }
#page-cart .btn-primary:hover { background: var(--icm-green-light) !important; }
#page-cart .btn-primary-light { color: var(--icm-green) !important; border-color: var(--icm-green) !important; }
#page-cart .btn-outline-primary { border-color: var(--icm-green) !important; color: var(--icm-green) !important; }

#page-cart .icm-minw-0 {
  min-width: 0;
}

#page-cart .icm-cart-page-row > .icm-cart-sidebar-col {
  margin-top: 0.25rem;
}

@media (min-width: 768px) {
  #page-cart .icm-cart-page-row > .icm-cart-sidebar-col {
    margin-top: 0;
  }
}

#page-cart .icm-cart-place-btns .btn + .btn {
  margin-left: 0;
}

@media (min-width: 576px) {
  #page-cart .icm-cart-place-btns .btn + .btn {
    margin-left: 0.5rem;
  }
}

/* Responsive shell: avoid horizontal scroll + comfortable padding on small screens */
#page-cart .cart-container {
  max-width: 100%;
  overflow-x: hidden;
}

#page-cart .icm-cart-card {
  padding: 1rem 1rem 1.25rem;
}

@media (min-width: 768px) {
  #page-cart .icm-cart-card {
    padding: 2rem 2.25rem;
  }
}

#page-cart .icm-cart-table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

#page-cart .cart-table {
  width: 100%;
  table-layout: auto;
  margin-bottom: 0;
}

#page-cart .icm-cart-coupon-row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.65rem;
}

#page-cart .icm-cart-coupon-row .txtcoupon {
  flex: 1 1 12rem;
  min-width: 0;
  margin-right: 0 !important;
  width: auto !important;
}

#page-cart .icm-cart-coupon-row .bt-coupon {
  flex: 0 0 auto;
  white-space: normal;
  text-align: center;
}

@media (max-width: 767.98px) {
  #page-cart .icm-cart-actions-row .btn {
    width: 100%;
  }

  #page-cart .place-order-container {
    float: none !important;
    width: 100%;
  }

  #page-cart .text-md-right {
    text-align: left !important;
  }

  #page-cart .cart-table thead {
    display: none;
  }

  #page-cart .cart-table tbody tr {
    display: block;
    border: 1px solid var(--icm-border, #e8e8e8) !important;
    border-radius: var(--icm-radius-lg);
    padding: 0.85rem 0.75rem;
    margin-bottom: 0.85rem;
    background: var(--icm-bg-alt, #f7f7f5);
  }

  #page-cart .cart-table tbody td {
    display: block;
    width: 100% !important;
    border: none !important;
    padding: 0.35rem 0 !important;
  }

  #page-cart .cart-table tbody td:first-child {
    padding-top: 0 !important;
  }

  #page-cart .cart-table tbody td:first-child > .d-flex {
    flex-direction: column;
    align-items: flex-start !important;
  }

  #page-cart .cart-item-image {
    margin-right: 0 !important;
    margin-bottom: 0.65rem;
  }

  #page-cart .cart-table .cart-items textarea {
    width: 100% !important;
    max-width: 100%;
  }

  #page-cart .cart-table tbody td:nth-child(2) .d-flex {
    flex-direction: column;
    align-items: flex-start !important;
  }

  #page-cart .cart-table tbody td.text-right {
    text-align: left !important;
  }

  #page-cart .cart-table .number-spinner {
    width: 100% !important;
    max-width: 16rem;
  }

  /* Hide desktop-only subtotal *cell*; do not use `.column-sm-view` alone — remove control uses that class too */
  #page-cart .cart-table tbody td.column-sm-view.item-subtotal {
    display: none !important;
  }

  #page-cart .cart-table .sm-item-subtotal {
    display: block !important;
    margin-top: 0.35rem;
  }

  #page-cart .cart-table tfoot.cart-tax-items tr {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    border: 1px solid var(--icm-border, #e8e8e8) !important;
    border-radius: var(--icm-radius-lg);
    padding: 0.85rem 1rem;
    margin-top: 0.5rem;
    background: var(--icm-white, #fff);
  }

  #page-cart .cart-table tfoot.cart-tax-items th {
    display: block;
    width: auto !important;
    border: none !important;
    padding: 0 !important;
    font-weight: 700;
  }

  #page-cart .cart-table tfoot.cart-tax-items th.totals {
    margin-left: auto;
    text-align: right;
  }

  #page-cart .payment-summary .btn-place-order,
  #page-cart .payment-summary .btn-request-for-quotation {
    margin-top: 0.75rem;
  }
}

#page-cart .cart-empty.frappe-card {
  min-height: auto;
  padding: 2.5rem 1.25rem 3rem;
}

@media (min-width: 768px) {
  #page-cart .cart-empty.frappe-card {
    min-height: 60vh;
    padding: 2rem;
  }
}

/* Guest cart visibility is driven by classes on #icm-guest-cart so a
   stale stylesheet, ad-blocker, or other script cannot end up showing
   both the items table AND the "Cart is Empty" card at the same time.
   Default (no class yet) shows the items+sidebar with a "Loading…" row
   inside, which is the right initial UI for any guest who has items.
   icm_cart_ux.js then promotes the wrapper to either
   `.icm-guest-cart--has-items` or `.icm-guest-cart--empty`. */
#page-cart .icm-guest-cart .icm-guest-cart__empty {
  display: none !important;
}
#page-cart .icm-guest-cart.icm-guest-cart--empty .icm-guest-cart__filled {
  display: none !important;
}
#page-cart .icm-guest-cart.icm-guest-cart--empty .icm-guest-cart__empty {
  display: block !important;
}

/* ==========================================================================
   WISHLIST PAGE
   ========================================================================== */

#page-wishlist .shopping-cart-header { color: var(--icm-text) !important; }
#page-wishlist .wishlist-card .card { border: 1px solid var(--icm-border) !important; border-radius: var(--icm-radius-lg) !important; }
.not-wished { --icon-stroke: var(--icm-green) !important; }
.wished { fill: var(--icm-green) !important; }

/* ==========================================================================
   PAGINATION
   ========================================================================== */

.btn-prev, .btn-next { border-color: var(--icm-border) !important; color: var(--icm-green) !important; border-radius: var(--icm-radius) !important; }
.btn-prev:hover:not(:disabled), .btn-next:hover:not(:disabled) { background: var(--icm-green-pale) !important; border-color: var(--icm-green) !important; }

/* ==========================================================================
   HIDE DEFAULT FRAPPE/ERPNEXT NAVBAR & FOOTER
   ========================================================================== */

.web-footer, .footer:not(.icm-footer) { display: none !important; }
body > .container:first-of-type > .navbar, .navbar.navbar-expand-lg { display: none !important; }

body { padding-top: 64px; }
body[data-path="home"], body[data-path="index"] { padding-top: 0; }

/* ==========================================================================
   CONTACT PAGE
   ========================================================================== */

.icm-contact {
  background: var(--icm-white);
  color: var(--icm-text);
}

.icm-contact-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.25rem;
}

.icm-contact-breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.icm-contact-breadcrumb a:hover { color: #fff; }

.icm-contact-breadcrumb span[aria-current] {
  color: #fff;
  font-weight: 600;
}

/* --- Hero ---------------------------------------------------------------- */
.icm-contact-hero {
  position: relative;
  background: linear-gradient(135deg, var(--icm-green-dark) 0%, var(--icm-green) 55%, var(--icm-green-light) 100%);
  color: #fff;
  padding: 5rem 2rem 7rem;
  overflow: hidden;
}

.icm-contact-hero::before {
  content: "";
  position: absolute;
  inset: -2px 0 auto 0;
  height: 100%;
  background-image:
    radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.12) 0, transparent 45%),
    radial-gradient(circle at 15% 85%, rgba(0, 0, 0, 0.15) 0, transparent 50%);
  pointer-events: none;
}

.icm-contact-hero__inner {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.icm-contact-hero__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  margin-bottom: 1rem;
}

.icm-contact-hero__title {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--icm-accent);
  line-height: 1.1;
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
}

.icm-contact-hero__desc {
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 640px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.9);
}

/* --- Info cards ---------------------------------------------------------- */
.icm-contact-info {
  padding: 0 2rem;
  margin-top: -4.5rem;
  position: relative;
  z-index: 2;
}

.icm-contact-info__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: 1280px;
  margin: 0 auto;
}

.icm-contact-card {
  background: #fff;
  border: 1px solid var(--icm-border-light, #eee);
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.icm-contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.icm-contact-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--icm-green-pale, #e8f5ed);
  color: var(--icm-green, #1a9e3d);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.icm-contact-card__label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--icm-text-muted, #666);
  margin: 0;
}

.icm-contact-card__value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--icm-text, #1a1a1a);
  margin: 0;
  line-height: 1.45;
}

.icm-contact-card__value--muted {
  font-weight: 500;
  color: var(--icm-text-muted, #666);
}

.icm-contact-card__value a {
  color: inherit;
  text-decoration: none;
}

.icm-contact-card__value a:hover { color: var(--icm-green); }

.icm-contact-card__link {
  margin-top: auto;
  padding-top: 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--icm-green);
  text-decoration: none;
}

.icm-contact-card__link:hover { color: var(--icm-green-dark); }

.icm-contact-card__link--static {
  color: var(--icm-text-muted, #666);
  font-weight: 500;
  cursor: default;
}

/* --- Main: form + map ---------------------------------------------------- */
.icm-contact-main {
  padding: 5rem 2rem;
}

.icm-contact-main__grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.icm-contact-form-wrap {
  background: #fff;
  border: 1px solid var(--icm-border-light, #eee);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.icm-contact-form__header { margin-bottom: 1.75rem; }

.icm-contact-form__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--icm-green);
  margin-bottom: 0.5rem;
}

.icm-contact-form__title {
  font-size: 1.75rem;
  font-weight: 800;
  margin: 0 0 0.5rem;
  letter-spacing: -0.01em;
  color: var(--icm-text);
}

.icm-contact-form__sub {
  margin: 0;
  color: var(--icm-text-muted, #666);
  font-size: 0.95rem;
  line-height: 1.55;
}

.icm-contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.icm-contact-field { display: flex; flex-direction: column; }
.icm-contact-field--full { margin-bottom: 1rem; }

.icm-contact-field label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--icm-text);
  margin-bottom: 0.4rem;
}

.icm-contact-field label span { color: #e53e3e; margin-left: 2px; }

.icm-contact-field input,
.icm-contact-field select,
.icm-contact-field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--icm-text);
  background: #f8f9fa;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.icm-contact-field input:hover,
.icm-contact-field select:hover,
.icm-contact-field textarea:hover {
  border-color: #d1d5db;
}

.icm-contact-field input:focus,
.icm-contact-field select:focus,
.icm-contact-field textarea:focus {
  background: #fff;
  border-color: var(--icm-green);
  box-shadow: 0 0 0 3px rgba(26, 158, 61, 0.14);
}

.icm-contact-field textarea { resize: vertical; min-height: 130px; }

.icm-contact-field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.95rem center;
  padding-right: 2.2rem;
}

.icm-contact-consent {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.85rem;
  color: var(--icm-text-muted, #666);
  line-height: 1.55;
  margin: 0.5rem 0 1.5rem;
  cursor: pointer;
}

.icm-contact-consent input {
  margin-top: 0.18rem;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  accent-color: var(--icm-green);
}

.icm-contact-consent strong { color: var(--icm-text); font-weight: 600; }

.icm-contact-submit {
  position: relative;
  width: 100%;
  padding: 0.95rem 1.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  background: var(--icm-green);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  box-shadow: 0 6px 16px rgba(26, 158, 61, 0.28);
}

.icm-contact-submit:hover:not(:disabled) {
  background: var(--icm-green-dark);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(26, 158, 61, 0.32);
}

.icm-contact-submit:disabled { opacity: 0.7; cursor: not-allowed; }

.icm-contact-submit__spinner {
  display: none;
  position: absolute;
  top: 50%;
  right: 1.25rem;
  width: 18px;
  height: 18px;
  margin-top: -9px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: icm-contact-spin 0.8s linear infinite;
}

.icm-contact-submit.is-loading .icm-contact-submit__spinner { display: block; }
.icm-contact-submit.is-loading .icm-contact-submit__label { opacity: 0.7; }

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

.icm-contact-feedback {
  margin-top: 1rem;
  padding: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  border-radius: 10px;
}

.icm-contact-feedback:not(:empty) { padding: 0.85rem 1rem; }

.icm-contact-feedback--success {
  background: #e8f7ed;
  color: #0d6b2b;
  border: 1px solid #c6e8d1;
}

.icm-contact-feedback--error {
  background: #fdecec;
  color: #9b1c1c;
  border: 1px solid #f5c5c5;
}

/* --- Showroom block (under form; was beside map) ------------------------ */
.icm-contact-showroom {
  margin-top: 2.25rem;
  padding: 1.75rem 1.5rem;
  border-radius: 20px;
  background: var(--icm-green-pale, #e8f5ed);
  border: 1px solid rgba(26, 158, 61, 0.18);
}

.icm-contact-showroom__title {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--icm-green-dark);
}

.icm-contact-showroom__addr {
  margin: 0 0 0.75rem;
  color: var(--icm-text);
  font-size: 0.95rem;
  font-weight: 500;
}

.icm-contact-showroom__intro {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--icm-text-muted, #555);
  line-height: 1.55;
}

.icm-contact-showroom__list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.icm-contact-showroom__list li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--icm-text);
  line-height: 1.5;
}

.icm-contact-showroom__bullet {
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--icm-green);
  margin-top: 0.45rem;
}

.icm-contact-showroom__socials {
  padding-top: 1rem;
  border-top: 1px solid rgba(26, 158, 61, 0.18);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.icm-contact-showroom__socials-label {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--icm-green-dark);
}

.icm-contact-showroom__socials-icons {
  display: flex;
  gap: 0.5rem;
}

.icm-contact-showroom__socials-icons a {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  color: var(--icm-green-dark);
  border: 1px solid rgba(26, 158, 61, 0.2);
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.icm-contact-showroom__socials-icons a:hover {
  background: var(--icm-green);
  color: #fff;
  transform: translateY(-2px);
}

/* --- Side panel (map + info) -------------------------------------------- */
.icm-contact-side {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: sticky;
  top: 90px;
}

.icm-contact-side__photo {
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--icm-border-light, #eee);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  aspect-ratio: 16 / 10;
  background: #f3f4f6;
}

.icm-contact-side__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.icm-contact-map {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--icm-border-light, #eee);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  background: #f3f4f6;
  aspect-ratio: 4 / 3;
}

.icm-contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: grayscale(0);
}

.icm-contact-map__overlay {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--icm-green-dark);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  text-decoration: none;
  transition: background 0.2s ease, transform 0.15s ease, color 0.2s ease;
}

.icm-contact-map__overlay:hover {
  background: var(--icm-green);
  color: #fff;
  transform: translateY(-1px);
}

.icm-contact-side__panel {
  background: var(--icm-green-pale, #e8f5ed);
  border-radius: 20px;
  padding: 1.75rem;
  border: 1px solid rgba(26, 158, 61, 0.18);
}

.icm-contact-side__panel h3 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--icm-green-dark);
}

.icm-contact-side__panel > p {
  margin: 0 0 1.1rem;
  color: var(--icm-text);
  font-size: 0.95rem;
  font-weight: 500;
}

.icm-contact-side__list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.icm-contact-side__list li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--icm-text);
  line-height: 1.5;
}

.icm-contact-side__bullet {
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--icm-green);
  margin-top: 0.5rem;
}

.icm-contact-socials {
  padding-top: 1rem;
  border-top: 1px solid rgba(26, 158, 61, 0.18);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.icm-contact-socials > span {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--icm-green-dark);
}

.icm-contact-socials__icons {
  display: flex;
  gap: 0.5rem;
}

.icm-contact-socials__icons a {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  color: var(--icm-green-dark);
  border: 1px solid rgba(26, 158, 61, 0.2);
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.icm-contact-socials__icons a:hover {
  background: var(--icm-green);
  color: #fff;
  transform: translateY(-2px);
}

/* --- FAQ ---------------------------------------------------------------- */
.icm-contact-faq {
  background: #f9fafb;
  padding: 5rem 2rem;
}

.icm-contact-faq__inner {
  max-width: 820px;
  margin: 0 auto;
}

.icm-contact-faq__head { text-align: center; margin-bottom: 2.5rem; }

.icm-contact-faq__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--icm-green);
  margin-bottom: 0.6rem;
}

.icm-contact-faq__head h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  font-weight: 800;
  margin: 0 0 0.6rem;
  letter-spacing: -0.01em;
  color: var(--icm-green);
}

.icm-contact-faq__head p {
  margin: 0;
  color: var(--icm-text-muted, #666);
  font-size: 1rem;
}

.icm-contact-faq__list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.icm-contact-faq__item {
  background: #fff;
  border: 1px solid var(--icm-border-light, #eee);
  border-radius: 14px;
  padding: 1.1rem 1.35rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.icm-contact-faq__item[open] {
  border-color: rgba(26, 158, 61, 0.3);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

.icm-contact-faq__item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  color: var(--icm-text);
  list-style: none;
}

.icm-contact-faq__item summary::-webkit-details-marker { display: none; }

.icm-contact-faq__icon {
  position: relative;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border-radius: 50%;
  background: var(--icm-green-pale, #e8f5ed);
  transition: background 0.2s ease, transform 0.25s ease;
}

.icm-contact-faq__icon::before,
.icm-contact-faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--icm-green-dark);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.icm-contact-faq__icon::before {
  width: 10px;
  height: 2px;
  transform: translate(-50%, -50%);
}

.icm-contact-faq__icon::after {
  width: 2px;
  height: 10px;
  transform: translate(-50%, -50%);
}

.icm-contact-faq__item[open] .icm-contact-faq__icon { background: var(--icm-green); }
.icm-contact-faq__item[open] .icm-contact-faq__icon::before,
.icm-contact-faq__item[open] .icm-contact-faq__icon::after { background: #fff; }
.icm-contact-faq__item[open] .icm-contact-faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }

.icm-contact-faq__item p,
.icm-contact-faq__body {
  margin: 0.85rem 0 0;
  color: var(--icm-text-muted, #555);
  font-size: 0.95rem;
  line-height: 1.65;
}

.icm-contact-faq__body p:first-child {
  margin-top: 0;
}

.icm-contact-faq__body p:last-child {
  margin-bottom: 0;
}

.icm-contact-faq__body ul,
.icm-contact-faq__body ol {
  margin: 0.5rem 0 0;
  padding-left: 1.25rem;
}

/* --- CTA banner --------------------------------------------------------- */
.icm-contact-cta {
  padding: 0 2rem 5rem;
  background: var(--icm-white);
}

.icm-contact-cta__inner {
  max-width: 1280px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--icm-green) 0%, var(--icm-green-dark) 100%);
  color: #fff;
  border-radius: 24px;
  padding: 3rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}

.icm-contact-cta__inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.15) 0, transparent 40%),
    radial-gradient(circle at 0% 100%, rgba(0, 0, 0, 0.18) 0, transparent 55%);
  pointer-events: none;
}

.icm-contact-cta__text,
.icm-contact-cta__actions { position: relative; z-index: 1; }

.icm-contact-cta__text h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 0.5rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--icm-accent);
}

.icm-contact-cta__text p {
  margin: 0;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 520px;
}

.icm-contact-cta__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.icm-contact-cta__btn {
  display: inline-flex;
  align-items: center;
  padding: 0.85rem 1.65rem;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease;
}

.icm-contact-cta__btn--primary {
  background: #fff;
  color: var(--icm-green-dark);
}

.icm-contact-cta__btn--primary:hover {
  transform: translateY(-2px);
  background: #f5f5f5;
  color: var(--icm-green-dark);
}

.icm-contact-cta__btn--outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
}

.icm-contact-cta__btn--outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
  color: #fff;
  transform: translateY(-2px);
}

/* --- Responsive --------------------------------------------------------- */
@media (max-width: 1024px) {
  .icm-contact-info__grid { grid-template-columns: repeat(2, 1fr); }
  .icm-contact-main__grid { grid-template-columns: 1fr; }
  .icm-contact-side { position: static; }
}

@media (max-width: 640px) {
  .icm-contact-hero { padding: 3.5rem 1.25rem 5rem; }
  .icm-contact-info { padding: 0 1.25rem; margin-top: -3rem; }
  .icm-contact-info__grid { grid-template-columns: 1fr; }
  .icm-contact-main { padding: 3rem 1.25rem; }
  .icm-contact-form-wrap { padding: 1.75rem 1.25rem; border-radius: 16px; }
  .icm-contact-form__row { grid-template-columns: 1fr; gap: 0; }
  .icm-contact-form__row .icm-contact-field { margin-bottom: 1rem; }
  .icm-contact-faq { padding: 3rem 1.25rem; }
  .icm-contact-cta { padding: 0 1.25rem 3rem; }
  .icm-contact-cta__inner {
    padding: 2rem 1.5rem;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
  .icm-contact-cta__actions { width: 100%; }
  .icm-contact-cta__btn { flex: 1; justify-content: center; }
}

/* ==========================================================================
   FIND STORE / POS PROFILES PAGE
   ========================================================================== */

.icm-stores {
  background: var(--icm-white);
  color: var(--icm-text);
}

.icm-stores-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.25rem;
}

.icm-stores-breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.icm-stores-breadcrumb a:hover { color: #fff; }

.icm-stores-breadcrumb span[aria-current] {
  color: #fff;
  font-weight: 600;
}

.icm-stores-hero {
  position: relative;
  background: linear-gradient(135deg, var(--icm-green-dark) 0%, var(--icm-green) 55%, var(--icm-green-light) 100%);
  color: #fff;
  margin-top: 0;
  padding-top: calc(64px + 2.25rem);
  padding-bottom: 6rem;
  padding-left: 0;
  padding-right: 0;
  overflow: hidden;
}

.icm-stores-hero::before {
  content: "";
  position: absolute;
  inset: -2px 0 auto 0;
  height: 100%;
  background-image:
    radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.12) 0, transparent 45%),
    radial-gradient(circle at 15% 85%, rgba(0, 0, 0, 0.15) 0, transparent 50%);
  pointer-events: none;
}

.icm-stores-hero__inner {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: left;
}

.icm-stores-hero__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  margin-bottom: 1rem;
}

.icm-stores-hero__title {
  font-size: clamp(2.25rem, 5vw, 3.4rem);
  font-weight: 800;
  color: var(--icm-accent);
  line-height: 1.1;
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
}

.icm-stores-hero__desc {
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}

.icm-stores-main {
  padding: 0 0 5rem;
  margin-top: -2.75rem;
  position: relative;
  z-index: 2;
}

.icm-stores-main__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (max-width: 576px) {
  .icm-stores-hero__inner,
  .icm-stores-main__inner {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

.icm-stores-toolbar {
  background: #fff;
  border: 1px solid var(--icm-border-light, #eee);
  border-radius: 18px;
  padding: 1rem 1rem;
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.icm-stores-search {
  position: relative;
  flex: 1;
  min-width: 240px;
}

.icm-stores-search__icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--icm-text-muted);
}

.icm-stores-search input {
  width: 100%;
  padding: 0.9rem 1rem 0.9rem 2.6rem;
  font-size: 0.98rem;
  font-family: var(--icm-font);
  color: var(--icm-text);
  background: #f8f9fa;
  border: 1.5px solid #e5e7eb;
  border-radius: 14px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.icm-stores-search input:focus {
  background: #fff;
  border-color: var(--icm-green);
  box-shadow: 0 0 0 3px rgba(26, 158, 61, 0.14);
}

.icm-stores-toolbar__meta {
  flex: 0 0 auto;
  font-size: 0.9rem;
  color: var(--icm-text-muted);
  font-weight: 600;
  white-space: nowrap;
}

.icm-stores-grid {
  margin-top: 1.25rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.icm-store-card {
  background: #fff;
  border: 1px solid var(--icm-border-light, #eee);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.icm-store-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 46px rgba(0, 0, 0, 0.09);
}

.icm-store-card__media {
  position: relative;
  height: 180px;
  background: var(--icm-bg-alt);
  overflow: hidden;
}

.icm-store-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.icm-store-card:hover .icm-store-card__media img { transform: scale(1.06); }

.icm-store-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--icm-green) 0%, var(--icm-green-light) 100%);
  color: #fff;
  font-weight: 900;
  font-size: 2.2rem;
  letter-spacing: 0.05em;
}

.icm-store-card__chip {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.8rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--icm-green-dark);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.icm-store-card__body {
  padding: 1.25rem 1.25rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.icm-store-card__name {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--icm-text);
  line-height: 1.25;
}

.icm-store-card__address,
.icm-store-card__hours {
  margin: 0;
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  color: var(--icm-text-secondary);
  font-size: 0.93rem;
  line-height: 1.55;
}

.icm-store-card__icon {
  flex: 0 0 16px;
  color: var(--icm-green);
  margin-top: 0.2rem;
}

.icm-store-card__contacts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 0.4rem;
}

.icm-store-card__contact {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.75rem 0.85rem;
  border-radius: 14px;
  background: #f8f9fa;
  border: 1px solid #e5e7eb;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.icm-store-card__contact:hover {
  background: #fff;
  border-color: rgba(26, 158, 61, 0.28);
  transform: translateY(-2px);
}

.icm-store-card__contact-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--icm-text-muted);
}

.icm-store-card__contact-value {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--icm-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.icm-store-card__actions {
  margin-top: 0.65rem;
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.icm-store-card__actions .icm-btn {
  flex: 1 1 0;
  justify-content: center;
}

.icm-stores-empty {
  margin-top: 1rem;
}

.icm-stores-empty__card {
  background: var(--icm-green-pale);
  border: 1px solid rgba(26, 158, 61, 0.18);
  border-radius: 18px;
  padding: 1.75rem 1.5rem;
  text-align: center;
}

.icm-stores-empty__card h3 {
  margin: 0 0 0.35rem;
  font-weight: 900;
  color: var(--icm-green-dark);
  letter-spacing: -0.01em;
}

.icm-stores-empty__card p {
  margin: 0 0 1.1rem;
  color: var(--icm-text);
}

@media (max-width: 1024px) {
  .icm-stores-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .icm-stores-hero {
    padding-top: calc(64px + 1.5rem);
    padding-bottom: 5rem;
    padding-left: 0;
    padding-right: 0;
  }
  .icm-stores-hero__inner { padding: 0 1rem; }
  .icm-stores-main { padding: 0 0 3rem; margin-top: -2.25rem; }
  .icm-stores-toolbar { flex-direction: column; align-items: stretch; }
  .icm-stores-toolbar__meta { text-align: left; }
  .icm-stores-grid { grid-template-columns: 1fr; }
  .icm-store-card__contacts { grid-template-columns: 1fr; }
}
