/* ============================================
   LINNÉ LANDING PAGE SHORTCODES
   [lwa_lp_hero], [lwa_lp_usp_bar], [lwa_lp_brands],
   [lwa_lp_products], [lwa_lp_categories], [lwa_lp_trust]
   ============================================ */

/* ── Campaign Dashboard (admin only) ────── */
.lwa-cd {
  font-family: system-ui, -apple-system, sans-serif;
  background: #1d2327;
  color: #fff;
  font-size: 13px;
  line-height: 1.5;
  padding: 14px 20px 16px;
}
.lwa-cd__steps {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.lwa-cd__step {
  padding: 3px 10px;
  border-radius: 4px;
  background: #3a4a57;
  color: #8a9aa7;
}
.lwa-cd__step--done {
  background: #1a4d2e;
  color: #7dff7d;
}
.lwa-cd__step--partial {
  background: #4a3a1a;
  color: #e6af3c;
}
.lwa-cd__step-arrow {
  color: #555;
  font-size: 14px;
}
.lwa-cd__langs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}
.lwa-cd__lang {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 5px;
  background: #3a4a57;
  font-size: 12px;
}
.lwa-cd__lang--ok {
  background: #1a4d2e;
}
.lwa-cd__lang--active {
  outline: 2px solid #e6af3c;
  outline-offset: -1px;
}
.lwa-cd__flag { font-size: 15px; line-height: 1; }
.lwa-cd__check { color: #7dff7d; font-size: 11px; }
.lwa-cd__missing { color: #666; font-size: 11px; }
.lwa-cd__link {
  color: #9cc3ff;
  text-decoration: none;
  font-size: 11px;
  font-weight: 600;
}
.lwa-cd__link:hover { text-decoration: underline; }
.lwa-cd__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.lwa-cd__btn-primary {
  background: #e6af3c;
  color: #1d2327;
  border: 0;
  font-weight: 700;
  font-size: 13px;
  padding: 7px 18px;
  border-radius: 5px;
  cursor: pointer;
  font-family: inherit;
}
.lwa-cd__btn-primary:hover { background: #d4a030; }
.lwa-cd__btn-primary:disabled { opacity: 0.6; cursor: wait; }
.lwa-cd__btn-secondary {
  color: #9cc3ff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
}
.lwa-cd__btn-secondary:hover { text-decoration: underline; }
.lwa-cd__status { font-size: 12px; }
.lwa-cd__status--ok { color: #7dff7d; }
.lwa-cd__status--err { color: #ff7d7d; }

:root {
  --lp-primary: #446084;
  --lp-primary-dark: #1d2327;
  --lp-accent: #e6af3c;
  --lp-accent-bright: #f0c04a;
  --lp-text: #4a4a4a;
  --lp-text-light: #777;
  --lp-bg: #f9f9f9;
  --lp-white: #ffffff;
  --lp-border: #e8e8e8;
}

.lp-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* === HERO === */
.lp-hero {
  background: linear-gradient(135deg, #121620 0%, #2a3640 45%, #446084 100%) !important;
  padding: 60px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  color: #fff;
}
.lp-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--lp-accent);
}
.lp-hero h1 {
  font-size: 42px;
  font-weight: 900;
  color: var(--lp-white);
  letter-spacing: -0.5px;
  margin-bottom: 4px;
  line-height: 1.15;
}
.lp-hero h1 .lp-accent { color: var(--lp-accent); }
.lp-hero__sub {
  font-size: 18px;
  font-weight: 300;
  color: rgba(255,255,255,0.7);
  margin-bottom: 30px;
}
.lp-hero__brands {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 1px;
  margin-bottom: 28px;
}
.lp-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.08);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
}
.lp-badge__stars { color: #ffc107; }
.lp-cta {
  display: inline-block;
  background: var(--lp-accent);
  color: var(--lp-primary-dark);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 40px;
  border-radius: 4px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: background 0.3s, transform 0.2s;
}
.lp-cta:hover {
  background: var(--lp-accent-bright);
  transform: translateY(-2px);
  color: var(--lp-primary-dark);
}

/* === USP BAR === */
.lp-usp-bar {
  background: var(--lp-primary-dark) !important;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.lp-usp-bar .lp-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.lp-usp-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  font-weight: 400;
}
.lp-usp-item__icon {
  color: var(--lp-accent);
  font-weight: 700;
  font-size: 16px;
}

/* === BRANDS === */
.lp-brands {
  padding: 40px 0;
  background: var(--lp-white);
  border-bottom: 1px solid var(--lp-border);
}
.lp-brands__heading {
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--lp-text-light);
  margin-bottom: 24px;
}
.lp-brands__grid {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.lp-brand-pill {
  display: inline-block;
  padding: 10px 22px;
  background: var(--lp-bg);
  border: 1px solid var(--lp-border);
  border-radius: 6px;
  text-decoration: none;
  color: var(--lp-text);
  font-size: 14px;
  font-weight: 700;
  transition: all 0.2s;
}
.lp-brand-pill:hover {
  border-color: var(--lp-primary);
  color: var(--lp-primary);
  background: #f0f4f8;
  transform: translateY(-1px);
}

/* === SECTION HEADINGS === */
.lp-section {
  padding: 50px 0;
}
.lp-section--alt {
  background: var(--lp-bg);
}
.lp-section__header {
  text-align: center;
  margin-bottom: 36px;
}
.lp-section__header h2 {
  font-size: 28px;
  font-weight: 900;
  color: var(--lp-primary-dark);
  margin-bottom: 6px;
}
.lp-section__header h2 .lp-accent { color: var(--lp-accent); }
.lp-section__header p {
  font-size: 15px;
  color: var(--lp-text-light);
  font-weight: 300;
}
.lp-section__divider {
  width: 50px;
  height: 3px;
  background: var(--lp-accent);
  margin: 14px auto 0;
  border-radius: 2px;
}

/* === PRODUCT GRID === */
.lp-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}
.lp-product-card {
  background: var(--lp-white);
  border: 1px solid var(--lp-border);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}
.lp-product-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  transform: translateY(-4px);
  border-color: var(--lp-primary);
}
.lp-product-card__link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.lp-product-card__img {
  width: 100%;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fafafa;
  padding: 20px;
}
.lp-product-card__img img {
  max-width: 100%;
  max-height: 180px;
  object-fit: contain;
}
.lp-product-card__body {
  padding: 16px 18px 8px;
  flex: 1;
}
.lp-product-card__category {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--lp-primary);
  margin-bottom: 6px;
}
.lp-product-card__name {
  font-size: 14px;
  font-weight: 700;
  color: var(--lp-primary-dark);
  margin-bottom: 10px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.lp-product-card__price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.lp-product-card__price {
  font-size: 20px;
  font-weight: 900;
  color: var(--lp-primary-dark);
}
.lp-product-card__price small {
  font-size: 13px;
  font-weight: 400;
}
.lp-product-card__dots {
  padding: 4px 18px 8px;
}
.lp-product-card__btn {
  display: block;
  margin: 0 18px 18px;
  padding: 10px;
  background: var(--lp-primary);
  color: var(--lp-white);
  text-align: center;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  transition: background 0.2s;
}
.lp-product-card:hover .lp-product-card__btn {
  background: var(--lp-accent);
  color: var(--lp-primary-dark);
}

/* Fyndvara badge in product cards */
.lp-product-card__fynd {
  padding: 4px 18px 0;
}
.lp-product-card__fynd-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: #fef3c7;
  color: #92400e;
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1.4;
}
.lp-product-card__fynd-grade-1 {
  background: #fff8e5;
  color: #c17900;
}
.lp-product-card__fynd-grade-2 {
  background: #ffeaea;
  color: #c22626;
}
.lp-product-card__fynd-desc {
  display: block;
  font-size: 0.65rem;
  color: #6b7280;
  line-height: 1.3;
  margin-top: 2px;
}

/* CTA card ("Se alla") */
.lp-product-card--cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--lp-bg);
  min-height: 360px;
  text-decoration: none;
  border: 1px solid var(--lp-border);
  border-radius: 8px;
  transition: all 0.3s;
}
.lp-product-card--cta:hover {
  background: #f0f4f8;
  border-color: var(--lp-primary);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}
.lp-product-card--cta .lp-cta-icon {
  font-size: 40px;
  margin-bottom: 12px;
  color: var(--lp-primary);
}
.lp-product-card--cta .lp-cta-label {
  font-size: 16px;
  font-weight: 700;
  color: var(--lp-primary-dark);
  margin-bottom: 4px;
}
.lp-product-card--cta .lp-cta-count {
  font-size: 13px;
  color: var(--lp-text-light);
}

/* === CATEGORIES === */
.lp-categories {
  background: var(--lp-bg);
  padding: 50px 0;
}
.lp-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 16px;
}
.lp-cat-card {
  background: var(--lp-white);
  border: 1px solid var(--lp-border);
  border-radius: 8px;
  padding: 28px 16px;
  text-align: center;
  text-decoration: none;
  color: var(--lp-text);
  transition: all 0.2s;
}
.lp-cat-card:hover {
  border-color: var(--lp-accent);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  color: var(--lp-text);
}
.lp-cat-card__icon {
  font-size: 32px;
  margin-bottom: 10px;
  color: var(--lp-primary);
}
.lp-cat-card__icon svg {
  display: inline-block;
}
.lp-cat-card h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--lp-primary-dark);
  margin-bottom: 4px;
}
.lp-cat-card p {
  font-size: 11px;
  color: var(--lp-text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
}

/* === CATEGORY CAROUSEL === */
.lp-cat-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}
.lp-cat-carousel__track {
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-snap-type: x mandatory;
}
.lp-cat-carousel__track::-webkit-scrollbar { display: none; }
.lp-cat-grid--carousel {
  display: flex;
  gap: 12px;
  flex-wrap: nowrap;
}
.lp-cat-grid--carousel .lp-cat-card {
  flex: 0 0 160px;
  scroll-snap-align: start;
}
.lp-cat-carousel__btn {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--lp-border);
  background: var(--lp-white);
  color: var(--lp-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  z-index: 2;
}
.lp-cat-carousel__btn:hover {
  border-color: var(--lp-accent);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* === TRUST === */
.lp-trust {
  background: linear-gradient(135deg, #121620 0%, #2a3640 45%, #446084 100%) !important;
  padding: 50px 20px;
  text-align: center;
  position: relative;
  color: #fff;
}
.lp-trust::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--lp-accent);
}
.lp-trust h2 {
  font-size: 30px;
  font-weight: 900;
  color: var(--lp-white);
  margin-bottom: 8px;
}
.lp-trust__text {
  font-size: 16px;
  color: rgba(255,255,255,0.65);
  font-weight: 300;
  margin-bottom: 28px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.lp-trust__usps {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.lp-trust__usp {
  color: rgba(255,255,255,0.8);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.lp-trust__check {
  color: var(--lp-accent);
  font-weight: 700;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .lp-hero { padding: 40px 16px; }
  .lp-hero h1 { font-size: 26px; }
  .lp-hero__sub { font-size: 14px; margin-bottom: 16px; }
  .lp-hero__brands { font-size: 11px; margin-bottom: 20px; }
  .lp-usp-bar { padding: 12px 0; }
  .lp-usp-bar .lp-container { gap: 8px 20px; justify-content: center; }
  .lp-usp-item { font-size: 11px; }
  .lp-section { padding: 32px 0; }
  .lp-section__header { margin-bottom: 20px; }
  .lp-section__header h2 { font-size: 22px; }
  .lp-section__header p { font-size: 13px; }
  /* 2 columns on tablet/mobile */
  .lp-products-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 10px; }
  .lp-product-card__img { height: 160px; padding: 12px; }
  .lp-product-card__img img { max-height: 130px; }
  .lp-product-card__body { padding: 10px 12px 6px; }
  .lp-product-card__category { font-size: 8px; letter-spacing: 1px; margin-bottom: 3px; }
  .lp-product-card__name { font-size: 12px; margin-bottom: 6px; -webkit-line-clamp: 2; }
  .lp-product-card__price { font-size: 16px; }
  .lp-product-card__price small { font-size: 11px; }
  .lp-product-card__btn { margin: 0 10px 10px; padding: 8px; font-size: 10px; }
  .lp-product-card__dots { padding: 2px 10px 6px; }
  .lp-product-card--cta { min-height: 240px; }
  .lp-product-card--cta .lp-cta-icon { font-size: 28px; margin-bottom: 8px; }
  .lp-product-card--cta .lp-cta-label { font-size: 13px; }
  .lp-product-card--cta .lp-cta-count { font-size: 11px; }
  .lp-cat-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .lp-cat-card { padding: 16px 8px; }
  .lp-cat-card h3 { font-size: 12px; }
  .lp-cat-card p { font-size: 9px; }
  .lp-cat-card__icon svg { width: 24px; height: 24px; }
  .lp-cat-grid--carousel .lp-cat-card { flex: 0 0 130px; padding: 16px 8px; }
  .lp-cat-grid--carousel .lp-cat-card h3 { font-size: 12px; }
  .lp-cat-grid--carousel .lp-cat-card p { font-size: 9px; }
  .lp-cat-grid--carousel .lp-cat-card__icon svg { width: 24px; height: 24px; }
  .lp-cat-carousel__btn { width: 28px; height: 28px; }
  .lp-cat-carousel__btn svg { width: 14px; height: 14px; }
  .lp-trust { padding: 32px 16px; }
  .lp-trust h2 { font-size: 22px; }
  .lp-trust__text { font-size: 13px; }
  .lp-trust__usps { gap: 8px 20px; }
  .lp-trust__usp { font-size: 12px; }
  .lp-cta { padding: 12px 28px; font-size: 13px; }
  .lp-brands { padding: 24px 0; }
  .lp-brands__heading { font-size: 11px; margin-bottom: 16px; }
  .lp-brands__grid { gap: 6px; }
  .lp-brand-pill { padding: 8px 14px; font-size: 12px; }
}
@media (max-width: 380px) {
  .lp-hero h1 { font-size: 22px; }
  .lp-products-grid { gap: 8px; }
  .lp-product-card__img { height: 120px; padding: 8px; }
  .lp-product-card__img img { max-height: 100px; }
  .lp-product-card__name { font-size: 11px; }
  .lp-product-card__price { font-size: 14px; }
  .lp-cat-grid { grid-template-columns: repeat(2, 1fr); }
  .lp-cat-grid--carousel .lp-cat-card { flex: 0 0 120px; }
}
