/* Layout: sticky top bar with nav and search, dismissible notice, results toolbar, 3-up product grid beside a sidebar, pagination, 4-column footer. */
/* Theme: logo colours - navy #1E2A5E, royal blue #4A86F7, sky blue #3DB8EC, light grey #F4F4F4 */


* {
  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,
select,
input {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
:focus-visible {
  outline: 2px solid var(--brand-sky);
  outline-offset: 2px;
}
::selection {
  background: var(--brand-royal);
  color: #fff;
}
.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(--gradient-brand) 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 {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 56px;
  padding-inline: 4px;
  font-size: 15px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
}
.menu_a svg {
  width: 30px;
  height: 30px;
}
.menu_a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.menu .i {
  width: 12px;
  height: 12px;
  fill: currentColor;
  stroke: none;
}

.menu_a svg {
    width: 30px;
    height: 30px;
     /* fill: currentColor; */
  stroke: currentColor;
}

.top-search {
  width: 268px;
  height: 68px;
  flex: none;
}
.top-search input,
.side-search input {
  width: 100%;
  height: 100%;
  border: 1px solid var(--line);
  background: var(--surface);
  padding-inline: 20px;
  color: var(--ink);
  font-size: 16px;
}
.top-search input::placeholder,
.side-search input::placeholder {
  color: var(--muted);
}
.top-search input:focus,
.side-search input:focus {
  outline: none;
  border-color: var(--brand-royal);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

/* notice */
.notice {
  position: relative;
  margin-top: 13px;
  background: var(--notice-bg);
  border-left: 4px solid var(--notice-line);
  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;
  font-weight: 400;
  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;
}

/* layout */
.shop {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 436px;
  gap: 0 64px;
  padding-top: 88px;
  padding-bottom: 70px;
  align-items: start;
}
.bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 30px;
}
.count {
  margin: 0;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
/* Sorting styles retained but disabled with the sorting UI.
.sort { position: relative; width: 246px; }
.sort select { appearance: none; width: 100%; height: 50px; padding: 0 44px 0 20px; background: var(--surface); border: 1px solid var(--line); font-size: 16px; color: var(--ink); }
.sort .i { position: absolute; right: 16px; top: 17px; width: 16px; height: 16px; pointer-events: none; color: var(--muted); }
*/

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 19px 19px 24px;
  display: flex;
  flex-direction: column;
  text-align: center;
  min-width: 0;
  transition:
    box-shadow 0.2s,
    border-color 0.2s;
}
.card:hover {
  border-color: var(--brand-sky);
  box-shadow: 0 8px 22px var(--shade);
}
.badge {
  align-self: flex-start;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 14px;
  font-weight: 600;
  padding: 6px 17px;
  border-radius: 2px;
}
.thumb {
  width: calc(100% + 38px);
  margin: 6px -19px 18px;
  display: grid;
  place-items: center;
}
.thumb svg {
  width: 74%;
  height: 100%;
}
.thumb img {
  width: 100%;
  object-fit: contain;
  display: block;
  padding: 12px;
}
.card .badge,
.opt-label,
.opts,
.price {
  display: none !important;
}
.card h3 {
  margin: auto 0 10px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.35;
  text-wrap: balance;
  color: var(--ink);
}
.product-category {
  color: var(--muted);
  font-size: 13px;
  margin: 0 0 16px;
}
.opt-label {
  display: block;
  font-size: 18px;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 8px;
}
.opts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 10px;
  margin-bottom: 20px;
}
.opts button {
  min-width: 50px;
  height: 34px;
  padding-inline: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 3px;
  font-size: 14px;
  color: var(--muted);
}
.opts button[aria-pressed="true"] {
  border: 2px solid var(--accent);
  color: var(--accent);
}
.opts button:hover {
  border-color: var(--accent);
}
.price {
  font-size: 17px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  margin-bottom: 18px;
}
.price s {
  color: var(--muted);
  margin-right: 8px;
  font-weight: 400;
}
.add {
  align-self: center;
  height: 42px;
  padding-inline: 26px;
  border: 0;
  border-radius: 4px;
  background: var(--gradient-brand);
  color: #fff;
  font-size: 14.5px;
  font-weight: 600;
}
.add:hover {
  background: var(--accent-hover);
}
.empty {
  grid-column: 1 / -1;
  padding: 40px 0;
  text-align: center;
  color: var(--muted);
}

.pager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 56px;
}
.pager button {
  height: 50px;
  padding-inline: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.pager button:hover:not(:disabled) {
  border-color: var(--accent);
  color: var(--accent);
}
.pager button:disabled {
  opacity: 0.45;
  cursor: default;
}
.pager .i {
  width: 14px;
  height: 14px;
  stroke-width: 2.2;
}
.pager span {
  font-size: 14px;
  color: var(--muted);
  padding-inline: 8px;
}

/* sidebar */
.side h4 {
  margin: 0 0 18px;
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -0.3px;
  color: var(--ink);
}
.side-search {
  margin-bottom: 70px;
}
.side-search label {
  display: block;
  font-size: 18px;
  margin-bottom: 8px;
}
.side-search .row {
  display: flex;
  gap: 12px;
  height: 50px;
}
.side-search input {
  flex: 1;
  min-width: 0;
  font-size: 17px;
}
.side-search button {
  padding-inline: 22px;
  background: var(--accent);
  color: var(--on-accent);
  border: 0;
  border-radius: 3px;
  font-size: 16px;
  font-weight: 600;
}
.side-search button:hover {
  background: var(--accent-hover);
}
/* Recently viewed styles retained but disabled with the section.
.recent { display: grid; gap: 18px; margin-bottom: 64px; }
.recent a { display: flex; align-items: center; gap: 14px; }
.recent .mini { width: 86px; height: 86px; flex: none; background: var(--surface); border-radius: 4px; display: grid; place-items: center; }
.recent .mini svg { width: 70px; height: 70px; }
.recent b { display: block; font-size: 18px; font-weight: 500; line-height: 1.35; }
.recent span { display: block; font-size: 14px; margin-top: 4px; font-variant-numeric: tabular-nums; }
*/
.cats {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 18px;
}
.cats li {
  margin-bottom: 10px;
}
.cats ul {
  list-style: none;
  margin: 10px 0 0 31px;
  padding: 0;
  display: grid;
  gap: 10px;
}
.cats button {
  background: none;
  border: 0;
  padding: 0;
  text-align: left;
  color: var(--ink);
  font-size: 18px;
}
.cats button:hover,
.cats button[aria-pressed="true"] {
  color: var(--accent);
}
.cats button[aria-pressed="true"] {
  font-weight: 600;
}

/* buttons */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 50px;
  padding-inline: 28px;
  border: 0;
  border-radius: 26px;
  background: var(--gradient-brand);
  color: #fff;
  font-weight: 600;
  font-size: 15.5px;
  box-shadow: 0 8px 20px -8px var(--brand-royal);
  transition:
    transform 0.25s,
    box-shadow 0.25s,
    background 0.2s;
}
.btn:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 14px 26px -10px var(--brand-royal);
}
.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;
  color: var(--ink);
}
.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(--brand-royal);
  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;
}
@media (max-width: 900px) {
  .msgus {
    grid-template-columns: minmax(0, 1fr);
    padding: 30px 22px;
  }
}

/* footer */
.site-foot {
  --f-bg: #1e2a5e;
  --f-ink: #f4f6ff;
  --f-mute: #b4bfe3;
  --f-line: rgba(255, 255, 255, 0.16);
  --f-acc: #3db8ec;
  --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;
  border-top: 4px solid var(--brand-royal);
}
.site-foot a {
  color: inherit;
}
.site-foot svg.i {
  width: 18px;
  height: 18px;
}
.sf-top {
  display: grid;
  gap: 30px 64px;
  align-items: center;
  padding-block: 54px 44px;
  border-bottom: 1px solid var(--f-line);
}
.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(--f-acc);
}
.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: var(--gradient-brand);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  transition:
    transform 0.2s,
    filter 0.2s;
}
.sf-row button:hover {
  filter: brightness(1.1);
  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(61, 184, 236, 0.12),
    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;
}

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

@media (max-width: 900px) {
  .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 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 12px;
  }
  .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: 1180px) {
  .shop {
    grid-template-columns: minmax(0, 1fr);
    gap: 56px;
    padding-top: 56px;
  }
  .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 880px) {
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .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) {
  .grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .menu {
    order: 4;
    flex: 1 0 100%;
    justify-content: flex-start;
  }
  .bar {
    flex-direction: column;
    align-items: stretch;
  }
  .sort {
    width: 100%;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .add,
  .pager button,
  .opts button {
    transition:
      background 0.15s,
      border-color 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;
  }
  .opts button {
    height: 40px;
  }
  .cats button {
    min-height: 36px;
    padding-block: 6px;
  }
  .pager button {
    height: 52px;
  }
}
