/* Theme: matched to logo (navy #1d2b5e, royal blue #4a85f6, cyan #3cb4ea) */

* {
  box-sizing: border-box;
}
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 2px;
}
.wrap {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 20px;
}
svg.i {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* top bar */
.logo {
  max-width: 50px;
}
.top {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 10;
  background: var(--surface);
  box-shadow: 0 2px 8px var(--shade);
  border-bottom: 3px solid transparent;
  border-image: var(--grad) 1;
}
.top .wrap {
  display: flex;
  align-items: center;
  gap: 16px 40px;
  padding-block: 8px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}
.brand svg {
  width: 46px;
  height: 46px;
}
.brand b {
  display: block;
  font-family: var(--logo);
  font-size: 21px;
  line-height: 1.05;
  color: var(--accent);
}
.brand small {
  display: block;
  font-family: var(--logo);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
}
.menu {
  display: flex;
  align-items: center;
  gap: 4px 30px;
  margin-inline: auto;
  overflow-x: auto;
  scrollbar-width: none;
}
.menu::-webkit-scrollbar {
  display: none;
}
.menu a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 62px;
  padding-inline: 4px;
  border-bottom: 3px solid transparent;
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
}
.menu a[aria-current] {
  border-color: var(--accent-2);
}
.menu .i {
  width: 12px;
  height: 12px;
  fill: currentColor;
  stroke: none;
}
.top-search {
  width: 268px;
  height: 68px;
  flex: none;
}
.top-search input {
  width: 100%;
  height: 100%;
  border: 1px solid var(--line);
  background: var(--surface);
  padding-inline: 20px;
  font-size: 16px;
}
.top-search input::placeholder {
  color: var(--muted);
}

/* notice */
.notice {
  position: relative;
  margin-top: 13px;
  background: var(--notice-bg);
  border-left: 4px solid var(--accent-2);
  padding: 18px 56px 18px 21px;
  color: var(--notice-ink);
}
.notice h2 {
  margin: 0 0 4px;
  font-size: 24px;
  font-weight: 600;
}
.notice p {
  margin: 0;
  font-size: 20px;
  line-height: 1.4;
}
.notice button {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 28px;
  height: 28px;
  background: none;
  border: 0;
  display: grid;
  place-items: center;
  color: var(--notice-ink);
}
.notice button .i {
  width: 16px;
  height: 16px;
  stroke-width: 2.2;
}

/* cart */
.cart {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 450px;
  gap: 0 60px;
  padding-block: 98px 110px;
  align-items: start;
}
.h {
  margin: 0;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-size: 14.5px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1px;
}
.items {
  list-style: none;
  margin: 0;
  padding: 0;
}
.item {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr) auto;
  gap: 0 18px;
  padding: 25px 0 24px;
  border-bottom: 1px solid var(--line);
}
.item .pic {
  width: 82px;
  height: 82px;
  background: var(--surface);
  display: grid;
  place-items: center;
}
.item .pic svg {
  width: 66px;
  height: 66px;
}
.item h3 {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 500;
}
.item h3 a {
  color: var(--accent);
}
.item h3 a:hover {
  color: var(--accent-2);
  text-decoration: underline;
}
.unit {
  font-size: 14.5px;
  font-variant-numeric: tabular-nums;
}
.unit s {
  color: var(--muted);
  margin-right: 4px;
}
.opt {
  margin: 5px 0 14px;
  font-size: 13px;
  color: var(--muted);
}
.ctl {
  display: flex;
  align-items: center;
  gap: 22px;
}
.step {
  display: inline-flex;
  align-items: stretch;
  width: 179px;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
}
.step:focus-within {
  border-color: var(--accent-2);
}
.step button {
  width: 46px;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 18px;
}
.step button:hover {
  color: var(--accent);
}
.step input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  text-align: center;
  font-size: 14px;
  padding: 0;
  -moz-appearance: textfield;
}
.step input::-webkit-outer-spin-button,
.step input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.step input:focus {
  outline: none;
}
.del {
  background: none;
  border: 0;
  padding: 4px;
  color: var(--ink);
  display: grid;
  place-items: center;
}
.del:hover {
  color: var(--bad);
}
.del .i {
  width: 20px;
  height: 20px;
}
.tot {
  text-align: right;
  font-size: 14.5px;
  font-variant-numeric: tabular-nums;
}
.save {
  display: inline-block;
  margin-top: 8px;
  padding: 2px 8px;
  background: var(--chip);
  border-radius: 3px;
  font-size: 12.5px;
  color: var(--ink);
}
.empty {
  padding: 60px 0 40px;
  text-align: center;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}
.empty p {
  margin: 0 0 22px;
  font-size: 17px;
}

/* gradient buttons (logo ribbon) */
.empty a,
.btn,
.coupon .row button,
.checkout-btn {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(53, 109, 227, 0.6);
}
.empty a:hover,
.btn:hover,
.coupon .row button:hover,
.checkout-btn:hover {
  background: var(--grad-hover);
  color: #fff;
}
.empty a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding-inline: 26px;
  border: 0;
  border-radius: 3px;
  font-size: 15px;
  font-weight: 600;
}

/* totals */
.panel .h {
  margin-bottom: 0;
  padding-bottom: 15px;
}
.coupon {
  border-bottom: 1px solid var(--line);
}
.coupon > button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: 0;
  padding: 18px 0;
  font-size: 14.5px;
  text-align: left;
}
.coupon > button .i {
  width: 18px;
  height: 18px;
  transition: transform 0.15s;
}
.coupon > button[aria-expanded="true"] .i {
  transform: rotate(180deg);
}
.coupon .body {
  padding-bottom: 18px;
}
.coupon .row {
  display: flex;
  gap: 10px;
  height: 44px;
}
.coupon input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--line);
  background: var(--surface);
  padding-inline: 14px;
  font-size: 14px;
  border-radius: 3px;
}
.coupon .row button {
  padding-inline: 18px;
  border: 0;
  border-radius: 3px;
  font-size: 14px;
  font-weight: 600;
}
.msg {
  margin: 8px 0 0;
  font-size: 13px;
  min-height: 20px;
  color: var(--muted);
}
.msg.ok {
  color: var(--good);
}
.msg.err {
  color: var(--bad);
}
.line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 0;
  font-size: 14.5px;
  font-variant-numeric: tabular-nums;
}
.line.disc {
  color: var(--good);
}
.lines {
  border-bottom: 1px solid var(--line);
  padding-block: 4px;
}
.est {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 24px 0 22px;
  border-bottom: 1px solid var(--line);
  font-size: 20px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.go {
  width: 100%;
  margin-top: 20px;
  height: 56px;
  font-size: 16px;
}
.go:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.note {
  margin: 12px 0 0;
  font-size: 12.5px;
  color: var(--muted);
}

/* footer */
.site-foot {
  --f-bg: #1d2b5e;
  --f-ink: #eef4ff;
  --f-mute: #aebbe3;
  --f-line: rgba(255, 255, 255, 0.14);
  --f-acc: #5cc3f2;
  --f-field: rgba(255, 255, 255, 0.08);
  margin-top: 90px;
  background: var(--f-bg);
  color: var(--f-ink);
  border-radius: 28px 28px 0 0;
}
.site-foot a {
  color: inherit;
}
.site-foot svg.i {
  width: 18px;
  height: 18px;
}
.sf-brand .brand {
  margin-bottom: 14px;
}
.sf-brand .brand svg {
  width: 48px;
  height: 48px;
}
.sf-brand .brand b {
  color: #fff;
  font-size: 24px;
}
.sf-brand .brand small {
  color: var(--f-mute);
  font-size: 12.5px;
}
.sf-brand p {
  margin: 0;
  max-width: 360px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--f-mute);
}
.sf-news label {
  display: block;
  margin-bottom: 12px;
  font-size: 17px;
  font-weight: 500;
}
.sf-row {
  display: flex;
  gap: 8px;
  padding: 6px;
  border-radius: 30px;
  background: var(--f-field);
  border: 1px solid var(--f-line);
}
.sf-row:focus-within {
  border-color: var(--accent-2);
}
.sf-row input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--f-ink);
  padding: 0 16px;
  font-size: 14.5px;
}
.sf-row input::placeholder {
  color: var(--f-mute);
}
.sf-row input:focus {
  outline: none;
}
.sf-row button {
  height: 42px;
  padding-inline: 22px;
  border: 0;
  border-radius: 22px;
  background: #fff;
  color: #1d2b5e;
  font-size: 14px;
  font-weight: 600;
  transition:
    transform 0.2s,
    background 0.2s;
}
.sf-row button:hover {
  background: var(--f-acc);
  transform: scale(1.03);
}
.sf-msg {
  margin: 10px 0 0;
  min-height: 20px;
  font-size: 13px;
  color: var(--f-acc);
}
.sf-mid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.5fr);
  gap: 36px 40px;
  padding-block: 44px 48px;
}
.sf-mid h6 {
  margin: 0 0 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--f-acc);
}
.sf-mid ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 11px;
  font-size: 14.5px;
  color: var(--f-mute);
}
.sf-mid ul a {
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px
    no-repeat;
  transition:
    background-size 0.3s,
    color 0.2s;
  padding-bottom: 2px;
}
.sf-mid ul a:hover {
  color: #fff;
  background-size: 100% 1px;
}
.sf-card {
  border: 1px solid var(--f-line);
  border-radius: 18px;
  padding: 22px 22px 20px;
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0)
  );
}
.sf-card h6 {
  margin-bottom: 8px;
}
.sf-card .hrs {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 500;
}
.sf-card ul {
  gap: 10px;
}
.sf-card li {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow-wrap: anywhere;
}
.sf-card li svg {
  color: var(--f-acc);
}
.sf-bot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 20px 26px;
  border-top: 1px solid var(--f-line);
  font-size: 12.5px;
  color: var(--f-mute);
}
.sf-bot nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.sf-bot a:hover {
  color: #fff;
}
.sf-demo {
  flex: 1 0 100%;
  font-size: 12px;
  opacity: 0.8;
}

/* checkout button */
.checkout-action {
  margin-top: 24px;
  text-align: center;
}
.checkout-action[hidden] {
  display: none;
}
.checkout-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  box-sizing: border-box;
}
.checkout-btn:hover {
  transform: translateY(-1px);
}
.checkout-btn:focus-visible {
  outline: 3px solid var(--accent-2);
  outline-offset: 3px;
}

/* buttons */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 50px;
  padding-inline: 28px;
  border: 0;
  border-radius: 26px;
  font-weight: 600;
  font-size: 15.5px;
  transition:
    transform 0.25s,
    box-shadow 0.25s,
    background 0.2s;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px -10px rgba(53, 109, 227, 0.7);
}
.btn:active {
  transform: translateY(0);
}
.btn .i {
  width: 18px;
  height: 18px;
  stroke-width: 2.2;
  transition: transform 0.25s;
}
.btn:hover .i {
  transform: translateX(4px);
}
.btn::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 40%;
  left: -60%;
  background: linear-gradient(
    100deg,
    transparent,
    rgba(255, 255, 255, 0.35),
    transparent
  );
  transform: skewX(-20deg);
}
.btn:hover::after {
  left: 130%;
  transition: left 0.7s;
}

/* message us form */
.msgus {
  margin-top: 64px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 20px 48px;
  align-items: center;
  padding: 40px 40px 40px 34px;
  box-shadow: 0 1px 0 var(--line);
}
.msgus h2 {
  margin: 0 0 12px;
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.5px;
}
.msgus .copy p {
  margin: 0;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.65;
  max-width: 340px;
}
.msgus form {
  display: grid;
  gap: 14px;
}
.msgus .field {
  display: grid;
  gap: 6px;
}
.msgus label {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
}
.msgus input[type="email"],
.msgus textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  font-size: 14.5px;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.msgus input[type="email"] {
  height: 46px;
  border-radius: 23px;
  padding: 0 20px;
}
.msgus textarea {
  min-height: 130px;
  border-radius: 18px;
  padding: 14px 20px;
  resize: vertical;
  line-height: 1.5;
}
.msgus input::placeholder,
.msgus textarea::placeholder {
  color: var(--muted);
}
.msgus input:focus,
.msgus textarea:focus {
  outline: none;
  border-color: var(--accent-2);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.msgus .hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.msgus .actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
}
.msgus .btn[disabled] {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}
.msgus .status {
  margin: 0;
  min-height: 20px;
  font-size: 13.5px;
  color: var(--muted);
}
.msgus .status.ok {
  color: var(--good);
}
.msgus .status.err {
  color: #e0475f;
}

.footer-payments {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 12px;
}
.footer-payments img {
  width: 150px;
  background: transparent;
}

/* responsive */
@media (max-width: 900px) {
  .msgus {
    grid-template-columns: minmax(0, 1fr);
    padding: 30px 22px;
  }
  .footer-payments {
    gap: 6px;
  }
  .sf-top {
    grid-template-columns: minmax(0, 1fr);
    padding-block: 40px 32px;
  }
  .sf-mid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sf-card {
    grid-column: 1 / -1;
  }
  .footer-payments img {
    width: 50px;
    /* height: 30px; */
    background: transparent;
  }
}
@media (max-width: 480px) {
  .sf-mid {
    grid-template-columns: minmax(0, 1fr);
  }
  .sf-row button {
    padding-inline: 16px;
  }
}
@media (max-width: 1100px) {
  .cart {
    grid-template-columns: minmax(0, 1fr);
    gap: 56px;
    padding-top: 64px;
  }
}
@media (max-width: 820px) {
  .top .wrap {
    flex-wrap: wrap;
  }
  .top-search {
    width: 100%;
    height: 48px;
    order: 3;
    margin-bottom: 6px;
  }
  .menu {
    margin-inline: 0;
    flex: 1;
    justify-content: flex-end;
  }
  .menu a {
    height: 52px;
    font-size: 14px;
  }
  .notice h2 {
    font-size: 21px;
  }
  .notice p {
    font-size: 16px;
  }
}
@media (max-width: 560px) {
  .menu {
    order: 4;
    flex: 1 0 100%;
    justify-content: flex-start;
  }
  .item {
    grid-template-columns: 64px minmax(0, 1fr);
  }
  .item .pic {
    width: 64px;
    height: 64px;
  }
  .item .pic svg {
    width: 52px;
    height: 52px;
  }
  .tot {
    grid-column: 2;
    text-align: left;
    margin-top: 12px;
  }
  .step {
    width: 150px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .empty a,
  .coupon .row button {
    transition: background 0.15s;
  }
}

/* phone polish */
@media (max-width: 480px) {
  .top .menu {
    gap: 4px 11px;
  }
  .top .menu a {
    font-size: 12px;
  }
}
@media (max-width: 640px) {
  .menu {
    gap: 4px 14px;
  }
  .menu a {
    font-size: 12.5px;
  }
  .sf-mid ul {
    gap: 0;
  }
  .sf-mid ul a {
    display: inline-block;
    padding-block: 8px;
  }
  .sf-bot a {
    display: inline-block;
    padding-block: 10px;
  }
  .notice button {
    top: 4px;
    right: 4px;
    width: 44px;
    height: 44px;
  }
  .del {
    width: 44px;
    height: 44px;
    margin: -8px;
  }
  .step button {
    width: 52px;
  }
  .checkout-btn {
    min-height: 48px;
    font-size: 15px;
  }
}
