/** Shopify CDN: Minification failed

Line 74:10 Unexpected "{"
Line 74:19 Expected ":"
Line 75:14 Expected identifier but found whitespace
Line 75:16 Unexpected "{"
Line 75:25 Expected ":"
Line 75:65 Expected ":"
Line 76:17 Expected identifier but found whitespace
Line 76:19 Unexpected "{"
Line 76:28 Expected ":"
Line 76:71 Expected ":"

**/
/* ═══════════════════════════════════════════
   BASE.CSS — Foundation Styles for Eiferer Theme
   ═══════════════════════════════════════════ */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  height: 100%;
}

body {
  min-height: 100%;
  font-family: var(--eif-font, 'Outfit', sans-serif);
  background-color: var(--eif-bg-primary, #0a0e17);
  color: var(--eif-text, #f1f5f9);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  flex-direction: column;
}

.content-for-layout {
  flex-grow: 1;
}

/* ─── Typography ─── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--eif-font, 'Outfit', sans-serif);
  line-height: 1.2;
  color: var(--eif-text, #f1f5f9);
  font-weight: 700;
}
h1 { font-size: clamp(28px, 5vw, 48px); }
h2 { font-size: clamp(24px, 4vw, 36px); }
h3 { font-size: clamp(18px, 3vw, 24px); }
h4 { font-size: 18px; }
h5 { font-size: 16px; }
h6 { font-size: 14px; }

p { margin-bottom: 1em; }
a { color: var(--eif-accent, #00d4ff); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--eif-accent-green, #00e88f); }
img { max-width: 100%; height: auto; display: block; }

/* ─── Layout ─── */
.page-width {
  max-width: var(--page-width, 1280px);
  margin: 0 auto;
  padding: 0 24px;
}

.section-{{ section.id }}-padding {
  padding-top: {{ section.settings.padding_top | default: 36 }}px;
  padding-bottom: {{ section.settings.padding_bottom | default: 36 }}px;
}

/* ─── Buttons ─── */
.button, button, [type="button"], [type="submit"] {
  cursor: pointer;
  font-family: var(--eif-font, 'Outfit', sans-serif);
  font-size: 15px;
  font-weight: 600;
  border: none;
  padding: 12px 24px;
  border-radius: var(--eif-radius-md, 12px);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  line-height: 1.4;
}

.button--primary, .shopify-challenge__button {
  background: linear-gradient(135deg, var(--eif-accent, #00d4ff), #00b8d4);
  color: var(--eif-bg-primary, #0a0e17);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.15);
}
.button--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
}

.button--secondary {
  background: transparent;
  color: var(--eif-text, #f1f5f9);
  border: 1px solid var(--eif-border, rgba(255,255,255,0.06));
}
.button--secondary:hover {
  border-color: var(--eif-accent, #00d4ff);
  color: var(--eif-accent, #00d4ff);
}

/* ─── Forms ─── */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="tel"],
input[type="search"],
input[type="url"],
textarea,
select {
  width: 100%;
  padding: 12px 16px;
  background: var(--eif-bg-secondary, #101828);
  border: 1px solid var(--eif-border, rgba(255,255,255,0.06));
  border-radius: var(--eif-radius-md, 12px);
  color: var(--eif-text, #f1f5f9);
  font-family: var(--eif-font, 'Outfit', sans-serif);
  font-size: 14px;
  transition: border-color 0.2s;
  outline: none;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--eif-accent, #00d4ff);
  box-shadow: 0 0 0 2px rgba(0, 212, 255, 0.15);
}
input::placeholder, textarea::placeholder {
  color: var(--eif-text-muted, #64748b);
}
label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--eif-text-secondary, #94a3b8);
  margin-bottom: 6px;
}

/* ─── Grid ─── */
.grid {
  display: grid;
  gap: 20px;
}
.grid--2-col { grid-template-columns: repeat(2, 1fr); }
.grid--3-col { grid-template-columns: repeat(3, 1fr); }
.grid--4-col { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 989px) {
  .grid--3-col, .grid--4-col { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
  .grid--2-col, .grid--3-col, .grid--4-col { grid-template-columns: 1fr; }
}

/* ─── Product Cards ─── */
.card {
  background: var(--eif-bg-card, #151d2e);
  border: 1px solid var(--eif-border, rgba(255,255,255,0.06));
  border-radius: var(--eif-radius-lg, 16px);
  overflow: hidden;
  transition: all 0.3s ease;
}
.card:hover {
  border-color: var(--eif-border-accent, rgba(0,212,255,0.2));
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}
.card__media {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--eif-bg-secondary, #101828);
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.card:hover .card__media img {
  transform: scale(1.05);
}
.card__content {
  padding: 16px 20px 20px;
}
.card__heading {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
}
.card__heading a { color: var(--eif-text, #f1f5f9); }
.card__heading a:hover { color: var(--eif-accent, #00d4ff); }

/* Vendor label */
.card__vendor {
  font-size: 11px;
  color: var(--eif-accent, #00d4ff);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

/* Price */
.price {
  font-size: 18px;
  font-weight: 700;
  color: var(--eif-text, #f1f5f9);
}
.price--on-sale .price__regular {
  color: var(--eif-text-muted, #64748b);
  text-decoration: line-through;
  font-size: 14px;
  font-weight: 400;
}
.price--on-sale .price__sale {
  color: var(--eif-accent, #00d4ff);
}

/* Badges */
.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.badge--sale {
  background: var(--eif-accent-orange, #ff6b35);
  color: white;
}
.badge--sold-out {
  background: var(--eif-text-muted, #64748b);
  color: white;
}

/* ─── Accessibility ─── */
.visually-hidden {
  position: absolute !important;
  overflow: hidden;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  word-wrap: normal !important;
}
.skip-to-content-link:focus {
  z-index: 10000;
  position: fixed;
  top: 10px;
  left: 10px;
  padding: 12px 20px;
  background: var(--eif-accent, #00d4ff);
  color: var(--eif-bg-primary, #0a0e17);
  border-radius: var(--eif-radius-md, 12px);
  clip: auto;
  width: auto;
  height: auto;
}
.focus-none:focus { outline: none; }

/* ─── Cart ─── */
.cart-notification {
  background: var(--eif-bg-secondary, #101828);
  border: 1px solid var(--eif-border, rgba(255,255,255,0.06));
  color: var(--eif-text, #f1f5f9);
}

/* ─── Scrollbar ─── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--eif-bg-primary, #0a0e17); }
::-webkit-scrollbar-thumb { background: var(--eif-bg-elevated, #1c2640); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--eif-text-muted, #64748b); }
::selection { background: var(--eif-accent, #00d4ff); color: var(--eif-bg-primary, #0a0e17); }

/* ─── Shopify Section Spacing ─── */
.shopify-section { position: relative; }
.shopify-section + .shopify-section { margin-top: 0; }

/* ─── Loading ─── */
.loading-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 14, 23, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

/* ─── Pagination ─── */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}
.pagination__item {
  min-width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--eif-border);
  border-radius: var(--eif-radius-sm, 8px);
  color: var(--eif-text-secondary);
  font-size: 14px;
  transition: all 0.2s;
}
.pagination__item:hover {
  border-color: var(--eif-accent);
  color: var(--eif-accent);
}
.pagination__item--current {
  background: var(--eif-accent);
  color: var(--eif-bg-primary);
  border-color: var(--eif-accent);
}

/* ─── Quantity Selector ─── */
.quantity {
  display: flex;
  align-items: center;
  border: 1px solid var(--eif-border);
  border-radius: var(--eif-radius-md);
  overflow: hidden;
}
.quantity__button {
  width: 40px;
  height: 40px;
  background: var(--eif-bg-card);
  border: none;
  color: var(--eif-text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.quantity__button:hover { color: var(--eif-accent); }
.quantity__input {
  width: 50px;
  text-align: center;
  border: none;
  background: var(--eif-bg-card);
  color: var(--eif-text);
  font-family: var(--eif-font);
  padding: 8px 0;
}
/* ============================================
   MOBILE PRODUCT CARD FIX — added 2026-05-04
   Fixes: badge overlap, text truncation, price clipping
   ============================================ */
@media screen and (max-width: 749px) {

  /* 1. Force product cards to use the full grid cell width */
  .card-wrapper,
  .product-card-wrapper,
  .grid__item .card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0;
  }

  /* 2. Allow card content to wrap properly instead of clipping */
  .card__content,
  .card__information,
  .card-information {
    overflow: visible !important;
    min-width: 0;
    padding: 0.75rem !important;
  }

  /* 3. Fix badge container — stack vertically with spacing,
        prevent overlap of MATTER + SALE + WiFi etc. */
  .card__badge,
  .badge-container,
  .product-card__badges {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: wrap !important;
    gap: 4px !important;
    align-items: flex-start !important;
    max-width: calc(100% - 12px) !important;
    z-index: 2;
  }

  /* 4. Individual badges — keep them readable, prevent stretching */
  .card__badge .badge,
  .badge {
    font-size: 0.65rem !important;
    padding: 2px 6px !important;
    line-height: 1.2 !important;
    white-space: nowrap;
    display: inline-block !important;
    width: auto !important;
  }

  /* 5. Product title — allow 2 lines instead of brutal truncation */
  .card__heading,
  .card__information .card__heading a,
  .product-card__title {
    font-size: 0.85rem !important;
    line-height: 1.25 !important;
    white-space: normal !important;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
  }

  /* 6. Price — must never be clipped */
  .price,
  .price__container,
  .price-item,
  .price__regular,
  .price__sale {
    white-space: nowrap !important;
    overflow: visible !important;
    font-size: 0.95rem !important;
  }

  /* 7. Vendor (SONOFF/EIFERER label) — keep readable */
  .caption-with-letter-spacing,
  .card__vendor,
  .product-card__vendor {
    font-size: 0.7rem !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}