/* ============================================================
   LS Store — product group / plans page (orderforms/standard_cart)
   scope: body.ls-page-products
   ============================================================ */

body.ls-page-products {
  background-color: #f3f7f6;
  background-image:
    radial-gradient(900px 420px at 88% -60px, #cfeee4 0%, rgba(207, 238, 228, 0) 70%),
    radial-gradient(760px 420px at 4% 6%, #dfeaff 0%, rgba(223, 234, 255, 0) 70%);
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* ---- layout: sidebar (right) + body ---- */
body.ls-page-products #main-body > .container { max-width: 1280px; padding-inline: 24px; }
body.ls-page-products #order-standard_cart > .row {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  margin: 0;
}
/* the cart stylesheet sets id-scoped floats/widths, so match its weight */
body.ls-page-products #order-standard_cart > .row > .cart-sidebar {
  width: auto !important; max-width: none; float: none !important; padding: 0; margin: 0;
  grid-column: 1; align-self: start;
}
body.ls-page-products #order-standard_cart > .row > .cart-body {
  width: auto !important; max-width: none; float: none !important; padding: 0; margin: 0;
  grid-column: 2; min-width: 0;
}

/* ---- breadcrumb ---- */
body.ls-page-products .ls-crumb {
  display: flex; align-items: center; gap: 8px; font-size: 13px;
  margin: 4px 0 14px; color: #567069;
}
body.ls-page-products .ls-crumb a { color: #146157; font-weight: 700; text-decoration: none; }
body.ls-page-products .ls-crumb .sep { display: flex; color: #8aa49e; }
body.ls-page-products .ls-crumb .ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---- hero ---- */
body.ls-page-products .ls-store-head {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 34px 36px;
  border-radius: 28px;
  border: 1px solid #d3eae2;
  background: linear-gradient(135deg, #ffffff 0%, #eaf7f2 48%, #d9efe8 100%);
  box-shadow: 0 1px 2px rgba(14, 43, 39, .04), 0 18px 44px -18px rgba(20, 97, 87, .25);
  margin-bottom: 20px;
}
body.ls-page-products .ls-store-head-body { flex: 1; min-width: 0; }
body.ls-page-products .ls-store-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .9); border: 1px solid #cfe6df;
  font-size: 12px; font-weight: 700; color: #146157;
  box-shadow: 0 6px 16px -10px rgba(20, 97, 87, .4);
}
body.ls-page-products .ls-store-chip .dot {
  width: 8px; height: 8px; border-radius: 50%; background: #1fc08b;
  box-shadow: 0 0 0 3px rgba(31, 192, 139, .18);
}
body.ls-page-products .ls-store-head h1 {
  margin: 14px 0 0; font-size: 40px; line-height: 1.3; font-weight: 800;
  letter-spacing: -.5px; color: #0b3d37;
}
body.ls-page-products .ls-store-sub {
  margin: 10px 0 0; max-width: 560px; font-size: 15px; line-height: 1.9;
  color: #3d5a55; font-weight: 500;
}
body.ls-page-products .ls-store-perks {
  list-style: none; margin: 18px 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 10px 22px;
}
body.ls-page-products .ls-store-perks li {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 600; color: #0f4d45;
}
body.ls-page-products .ls-store-perks .ic {
  width: 16px; height: 16px; color: #12795f;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
body.ls-page-products .ls-store-head-art { flex: none; width: 200px; max-width: 26%; }

/* ---- notices ---- */
body.ls-page-products .ls-store-alert {
  display: flex; align-items: flex-start; gap: 10px;
  margin: 0 0 18px; padding: 14px 16px; border-radius: 16px;
  background: #ffeae7; border: 1px solid #ffc9c2; color: #a8312a;
  font-size: 13px; font-weight: 600; line-height: 1.9;
}
body.ls-page-products .ls-store-alert .ic {
  width: 18px; height: 18px; flex: none; margin-top: 2px;
  fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round;
}
body.ls-page-products .ls-store-alert .alert { background: none; border: 0; padding: 0; margin: 0; color: inherit; }

/* ---- plans grid ---- */
body.ls-page-products .ls-plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(268px, 1fr));
  gap: 20px;
  margin: 0;
}
body.ls-page-products .ls-plan-col {
  width: auto; max-width: none; flex: none; padding: 0; margin: 0;
}

/* ---- plan cards: light refined (v3) ---- */
body.ls-page-products #order-standard_cart .ls-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 26px 24px 22px;
  background: #fff !important;
  border: 1px solid #e8f0ed !important;
  border-radius: 24px !important;
  box-shadow: 0 1px 2px rgba(14, 43, 39, .03), 0 18px 38px -30px rgba(14, 43, 39, .28);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
body.ls-page-products #order-standard_cart .ls-plan::before {
  content: '';
  position: absolute;
  inset-inline: 22px;
  top: 0;
  height: 2px;
  border-radius: 0 0 2px 2px;
  background: linear-gradient(90deg, #2fb59b, #146157);
  opacity: 0;
  transition: opacity .2s ease;
}
body.ls-page-products #order-standard_cart .ls-plan::after { content: none !important; }
body.ls-page-products #order-standard_cart .ls-plan:hover {
  transform: translateY(-2px);
  border-color: #cfe6df !important;
  box-shadow: 0 2px 6px rgba(14, 43, 39, .04), 0 26px 50px -32px rgba(20, 97, 87, .35);
}
body.ls-page-products #order-standard_cart .ls-plan:hover::before { opacity: 1; }

body.ls-page-products #order-standard_cart .ls-plan > header {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  text-align: right;
}
body.ls-page-products #order-standard_cart .ls-plan-name {
  margin: 0;
  color: #0b3d37 !important;
  background: none !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1.7;
  letter-spacing: -.2px;
}
body.ls-page-products #order-standard_cart .ls-plan > header .qty {
  display: inline-block;
  margin-top: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #fff0d2;
  color: #8a5200;
  font-size: 11px;
  font-weight: 700;
}

body.ls-page-products #order-standard_cart .ls-plan-pricebox {
  margin: 14px 0 0;
  padding: 0;
  border: 0;
  background: none !important;
  text-align: right;
  display: block !important;
}
body.ls-page-products #order-standard_cart .ls-plan-from {
  display: block;
  margin-bottom: 2px;
  font-size: 11px;
  font-weight: 700;
  color: #8aa49e;
}
body.ls-page-products #order-standard_cart .ls-plan-price {
  display: block;
  font-size: 30px;
  font-weight: 800;
  color: #0b3d37 !important;
  line-height: 1.25;
  letter-spacing: -.4px;
  text-align: right !important;
}
body.ls-page-products #order-standard_cart .ls-plan-cycle {
  display: inline-block;
  margin-top: 8px;
  padding: 3px 10px;
  border-radius: 999px;
  background: #eef7f4;
  font-size: 11px;
  font-weight: 700;
  color: #146157;
  width: auto;
  align-self: flex-start;
  display: inline-block !important;
  width: auto !important;
  text-align: center;
}
body.ls-page-products #order-standard_cart .ls-plan-setup {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  color: #8a5200;
}

body.ls-page-products #order-standard_cart .ls-plan-desc {
  flex: 1;
  margin-top: 16px;
  padding: 16px 0 0;
  border-top: 0;
}
body.ls-page-products #order-standard_cart .ls-plan-feats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px 10px;
  padding: 8px 12px;
  border: 1px solid #eef4f2;
  border-radius: 14px;
  background: #f8fbfa;
}
body.ls-page-products #order-standard_cart .ls-feat {
  min-width: 0;
  padding: 7px 0;
}
body.ls-page-products #order-standard_cart .ls-feat b {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #123c36;
  white-space: normal;
  overflow: visible;
  line-height: 1.6;
}
body.ls-page-products #order-standard_cart .ls-feat span {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 600;
  color: #8aa49e;
}
body.ls-page-products #order-standard_cart .ls-plan-note {
  margin: 12px 0 0;
  font-size: 12px;
  line-height: 1.9;
  color: #8aa49e;
  font-weight: 500;
}

body.ls-page-products #order-standard_cart .ls-plan > footer {
  padding: 16px 0 0;
  margin-top: 0;
}
body.ls-page-products #order-standard_cart .ls-plan-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 44px;
  border-radius: 12px;
  background: #146157 !important;
  border: 1px solid #146157 !important;
  color: #fff !important;
  font-size: 13.5px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 22px -14px rgba(20, 97, 87, .9);
  transition: background .15s ease;
}
body.ls-page-products #order-standard_cart .ls-plan-cta:hover {
  background: #0f4d45 !important;
  border-color: #0f4d45 !important;
  color: #fff !important;
}
body.ls-page-products #order-standard_cart .ls-plan-cta .ic {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* ---- sidebar ---- */
body.ls-page-products .cart-sidebar .panel {
  background: #fff; border: 1px solid #e2ebe8; border-radius: 20px;
  box-shadow: 0 1px 2px rgba(14, 43, 39, .04), 0 14px 34px -14px rgba(14, 43, 39, .12);
  overflow: hidden; margin-bottom: 18px;
}
body.ls-page-products .cart-sidebar .panel-heading {
  padding: 16px 18px; border-bottom: 1px solid #e2ebe8; background: transparent;
}
body.ls-page-products .cart-sidebar .panel-title {
  margin: 0; font-size: 14px; font-weight: 800; color: #0b3d37;
}
body.ls-page-products .cart-sidebar .panel-title .card-minimise { display: none; }
body.ls-page-products .cart-sidebar .list-group { padding: 8px; }
body.ls-page-products .cart-sidebar .list-group-item {
  display: block; padding: 9px 12px; border: 0; border-radius: 11px;
  font-size: 13px; font-weight: 600; color: #3d5a55; text-decoration: none;
  background: transparent;
}
body.ls-page-products .cart-sidebar .list-group-item:hover { background: #eef7f4; color: #146157; }
body.ls-page-products .cart-sidebar .list-group-item.active {
  background: #dcf0ea; color: #0f4d45; font-weight: 800;
}

/* ---- responsive ---- */
@media (max-width: 1040px) {
  body.ls-page-products #order-standard_cart > .row { grid-template-columns: minmax(0, 1fr); }
  body.ls-page-products .cart-sidebar { order: 2; }
}
@media (max-width: 760px) {
  body.ls-page-products .ls-store-head { padding: 24px 20px; }
  body.ls-page-products .ls-store-head h1 { font-size: 28px; }
  body.ls-page-products .ls-store-head-art { display: none; }
}
/* ============================================================
   Override the legacy cart styles (id-scoped rules there)
   ============================================================ */
body.ls-page-products .ls-store-head,
body.ls-page-products .ls-store-head-body { text-align: right; }
body.ls-page-products .ls-store-perks { justify-content: flex-start; }

body.ls-page-products #order-standard_cart .ls-plan-feats li::before,
body.ls-page-products #order-standard_cart .product-desc ul li::before,
body.ls-page-products #order-standard_cart .product-desc ul li::after {
  content: none !important;
  display: none !important;
}
body.ls-page-products #order-standard_cart .ls-plan-cta,
body.ls-page-products #order-standard_cart a.btn-order-now {
  background: #146157 !important;
  border-color: #146157 !important;
  color: #fff !important;
}
body.ls-page-products #order-standard_cart .ls-plan-cta::before,
body.ls-page-products #order-standard_cart .ls-plan-cta::after {
  content: none !important;
}
body.ls-page-products #order-standard_cart .ls-plan-cta i { display: none !important; }

/* sidebar */
body.ls-page-products #order-standard_cart .cart-sidebar .panel-heading {
  background: transparent !important;
  background-image: none !important;
  color: #0b3d37 !important;
  border-bottom: 1px solid #e2ebe8 !important;
  border-radius: 0 !important;
  padding: 16px 18px !important;
}
body.ls-page-products #order-standard_cart .cart-sidebar .panel-title {
  color: #0b3d37 !important;
  font-size: 14px !important;
  font-weight: 800 !important;
}
body.ls-page-products #order-standard_cart .cart-sidebar .card-minimise { display: none !important; }
body.ls-page-products #order-standard_cart .cart-sidebar .list-group { padding: 8px !important; }
body.ls-page-products #order-standard_cart .cart-sidebar .list-group-item {
  display: block !important;
  padding: 9px 12px !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 11px !important;
  background: transparent !important;
  color: #3d5a55 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}
body.ls-page-products #order-standard_cart .cart-sidebar .list-group-item:hover {
  background: #eef7f4 !important;
  color: #146157 !important;
}
body.ls-page-products #order-standard_cart .cart-sidebar .list-group-item.active {
  background: #dcf0ea !important;
  color: #0f4d45 !important;
  font-weight: 800 !important;
}
/* mobile collapsed panels + selects (also outside .cart-sidebar) */
body.ls-page-products #order-standard_cart .panel-heading {
  background: transparent !important;
  background-image: none !important;
  color: #0b3d37 !important;
  border-bottom: 1px solid #e2ebe8 !important;
  border-radius: 0 !important;
  padding: 16px 18px !important;
}
body.ls-page-products #order-standard_cart .panel-title {
  color: #0b3d37 !important;
  font-size: 14px !important;
  font-weight: 800 !important;
}
body.ls-page-products #order-standard_cart select.form-control,
body.ls-page-products #order-standard_cart select.custom-select {
  height: 46px !important;
  border-radius: 12px !important;
  border: 1px solid #cfe0db !important;
  background-color: #fff !important;
  color: #0e2b27 !important;
  font-family: inherit !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  padding: 0 12px !important;
}
