/* SHYNEX UK checkout — authored first-party for the Subscribe Funnels import */

:root {
  --ink: #111214;
  --muted: #6b7280;
  --line: #e5e7eb;
  --blue: #2450f4;
  --blue-dark: #1d3fd4;
  --red: #e02b20;
  --purple: #6d28d9;
  --amber: #f5b70a;
  --rail-bg: #fafafa;
  --radius: 8px;
  --font: "Roboto", "Helvetica Neue", Arial, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: #fff;
  font-size: 15px;
  line-height: 1.45;
}

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

button {
  font-family: inherit;
  cursor: pointer;
}

input,
select {
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
}

/* ---------- top banner + header ---------- */

.promo-banner {
  background: #000;
  color: #fff;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
  padding: 8px 12px;
  text-transform: uppercase;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 20px;
}

.site-header .logo img {
  height: 26px;
  width: auto;
}

.site-header .cart {
  opacity: .8;
}

.site-header .cart img {
  height: 22px;
}

/* ---------- layout ---------- */

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 460px;
  border-top: 1px solid var(--line);
}

.checkout-main {
  padding: 28px 40px 48px;
  max-width: 640px;
  justify-self: end;
  width: 100%;
}

.checkout-rail {
  background: var(--rail-bg);
  border-left: 1px solid var(--line);
  padding: 28px 32px 48px;
}

.rail-inner {
  max-width: 430px;
}

@media (max-width: 980px) {
  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .checkout-main {
    justify-self: stretch;
    max-width: none;
    padding: 20px 16px 32px;
  }

  .checkout-rail {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 24px 16px 40px;
  }

  .rail-inner {
    max-width: none;
  }
}

/* ---------- stock bar ---------- */

.stock-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #f3d3d0;
  background: #fdf7f6;
  border-radius: var(--radius);
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 700;
}

.stock-bar .count {
  color: var(--red);
}

.stock-meter {
  flex: 1;
  height: 8px;
  border-radius: 99px;
  background: linear-gradient(90deg, #d9e021, #f5b70a 45%, #e02b20 75%);
  position: relative;
  overflow: hidden;
}

.stock-meter::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 18%;
  background: #f1e9e8;
}

.discount-note {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #eef1fe;
  border: 1px solid #d8ddfb;
  border-radius: var(--radius);
  padding: 11px 14px;
  font-size: 14px;
  font-weight: 500;
  margin-top: 12px;
}

.discount-note img {
  height: 18px;
}

/* ---------- sections ---------- */

.section-title {
  font-size: 22px;
  font-weight: 700;
  margin: 28px 0 6px;
}

.section-sub {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 12px;
}

/* ---------- package picker ---------- */

.packages {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

.package {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px 16px;
  cursor: pointer;
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
}

.package:hover {
  border-color: #b9c4f7;
}

.package.selected {
  border-color: var(--blue);
  box-shadow: 0 0 0 1px var(--blue);
  background: #fcfdff;
}

.package input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.package .radio {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #c9ced8;
  flex-shrink: 0;
  position: relative;
}

.package.selected .radio {
  border-color: var(--blue);
}

.package.selected .radio::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--blue);
}

.package .thumb {
  width: 64px;
  height: 78px;
  object-fit: contain;
  flex-shrink: 0;
}

.package .pkg-info {
  flex: 1;
  min-width: 0;
  display: block;
}

.pkg-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  color: #fff;
  background: var(--purple);
  border-radius: 4px;
  padding: 3px 8px;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.pkg-badge.value {
  background: var(--amber);
  color: #111;
}

.pkg-badge {
  display: inline-block;
}

.pkg-name {
  display: block;
  font-size: 18px;
  font-weight: 700;
}

.pkg-deal {
  display: block;
  font-size: 14px;
  color: #374151;
  margin-top: 2px;
}

.pkg-pricing {
  display: block;
  text-align: right;
  flex-shrink: 0;
}

.pkg-was {
  display: block;
  color: var(--red);
  text-decoration: line-through;
  font-size: 13px;
}

.pkg-now {
  display: block;
  font-size: 20px;
  font-weight: 700;
}

.pkg-now .per {
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
}

.pkg-off {
  display: block;
  color: var(--red);
  font-weight: 700;
  font-size: 14px;
  margin-top: 2px;
}

/* ---------- forms ---------- */

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

.field {
  margin-top: 12px;
  position: relative;
}

.field input,
.field select {
  width: 100%;
  border: 1px solid #cfd4dd;
  border-radius: var(--radius);
  padding: 14px 14px;
  background: #fff;
  outline: none;
  transition: border-color .15s;
  appearance: none;
}

.field select {
  background: #fff url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7280' stroke-width='2' fill='none'/%3E%3C/svg%3E") no-repeat right 14px center;
}

.field input:focus,
.field select:focus {
  border-color: var(--blue);
}

.field input::placeholder {
  color: #9aa1ad;
}

.field.has-label {
  padding-top: 0;
}

.field .floating-label {
  position: absolute;
  top: 7px;
  left: 15px;
  font-size: 11px;
  color: var(--muted);
  pointer-events: none;
}

.field.has-label select,
.field.has-label input {
  padding-top: 22px;
  padding-bottom: 8px;
}

.phone-field {
  display: flex;
  margin-top: 12px;
}

.phone-field .dial {
  border: 1px solid #cfd4dd;
  border-right: 0;
  border-radius: var(--radius) 0 0 var(--radius);
  background: #f8f9fb;
  padding: 0 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #374151;
}

.phone-field input {
  flex: 1;
  border: 1px solid #cfd4dd;
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 14px;
  outline: none;
}

.phone-field input:focus {
  border-color: var(--blue);
}

/* ---------- payment ---------- */

.pay-methods {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  margin-top: 14px;
}

.pay-method+.pay-method {
  border-top: 1px solid var(--line);
}

.pay-method-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  background: #eef1fe;
  cursor: pointer;
  font-weight: 500;
}

.pay-method:not(.open) .pay-method-head {
  background: #fff;
}

.pay-method-head .cards {
  display: flex;
  align-items: center;
  gap: 6px;
}

.pay-method-head .cards img {
  height: 22px;
}

.pay-method-head .more-cards {
  font-size: 12px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 2px 6px;
  background: #fff;
}

.pay-method-body {
  padding: 4px 16px 18px;
  background: #f7f8fa;
  display: none;
}

.pay-method.open .pay-method-body {
  display: block;
}

.paypal-note {
  font-size: 14px;
  color: var(--muted);
  padding: 14px 0 6px;
}

.card-icon-lock {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #9aa1ad;
  font-size: 14px;
}

/* ---------- terms + CTA ---------- */

.terms {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: #374151;
  margin-top: 18px;
}

.terms input {
  margin-top: 2px;
  width: 16px;
  height: 16px;
  accent-color: var(--blue);
}

.terms a {
  color: var(--blue);
}

.cta-order {
  width: 100%;
  margin-top: 18px;
  background: var(--blue);
  color: #fff;
  border: 0;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 700;
  padding: 17px;
  transition: background .15s;
}

.cta-order:hover {
  background: var(--blue-dark);
}

.ssl-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #374151;
  font-size: 13px;
  margin-top: 14px;
}

.trust-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 14px;
  opacity: .85;
}

.trust-badges img {
  height: 30px;
}

.checkout-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  margin-top: 32px;
  padding-top: 18px;
}

.checkout-footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.checkout-footer-links a:hover {
  text-decoration: underline;
}

/* ---------- rail ---------- */

.guarantee-card {
  display: flex;
  gap: 14px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  padding: 16px;
}

.guarantee-card img {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
}

.guarantee-card h3 {
  font-size: 15px;
  margin-bottom: 4px;
}

.guarantee-card p {
  font-size: 13px;
  color: var(--muted);
}

.summary-card {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  margin-top: 18px;
  overflow: hidden;
}

.summary-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0px;
  font-weight: 500;
  cursor: pointer;
}

.summary-head .chev {
  transition: transform .2s;
  color: var(--muted);
}

.summary-card.collapsed .chev {
  transform: rotate(180deg);
}

.summary-body {
  padding: 0 16px 16px;
}

.summary-card.collapsed .summary-body {
  display: none;
}

.summary-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0 14px;
  border-bottom: 1px solid var(--line);
}

.summary-item .qty-thumb {
  position: relative;
  flex-shrink: 0;
}

.summary-item .qty-thumb img {
  width: 52px;
  height: 64px;
  object-fit: contain;
}

.summary-item .qty-bubble {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--blue);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.summary-item .name {
  flex: 1;
  font-size: 14px;
}

.summary-item .prices {
  text-align: right;
  font-size: 14px;
}

.summary-item .prices .was {
  color: var(--red);
  text-decoration: line-through;
  font-size: 12px;
  display: block;
}

.warranty-row {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 13px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.warranty-row input {
  width: 16px;
  height: 16px;
  accent-color: var(--blue);
}

.totals {
  font-size: 14px;
  padding-top: 8px;
}

.totals .row {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
}

.totals .row.savings {
  color: var(--red);
}

.totals .row.grand {
  font-weight: 700;
  font-size: 17px;
  border-top: 1px solid var(--line);
  margin-top: 8px;
  padding-top: 12px;
}

/* ---------- why choose ---------- */

.why-title {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #374151;
  font-size: 15px;
  font-weight: 500;
  margin: 26px 0 16px;
  text-align: center;
}

.why-title::before,
.why-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.why-item {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
}

.why-item img {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.why-item h4 {
  font-size: 14px;
  margin-bottom: 4px;
}

.why-item p {
  font-size: 13px;
  color: var(--muted);
}

/* ---------- reviews ---------- */

.review-card {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 14px;
  font-size: 13px;
}

.review-card .head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.review-card .who {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
}

.review-card .who img {
  height: 15px;
}

.review-card .verified {
  color: #16a34a;
  font-size: 12px;
  font-weight: 500;
}

.review-card .rv-title {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 4px;
}

.review-card p {
  color: #374151;
}


.pay-method-body img {
  display: block;
  margin: 20px auto 0;
  width: 80px;
}

.paypalbtn {
  display: none;
}