:root {
  --sv-blue: #1888c9;
  --sv-blue-dark: #11699f;
  --sv-blue-deep: #0b4f7d;
  --sv-blue-soft: #eaf6fd;
  --sv-green: #6cad35;
  --sv-green-dark: #568f29;
  --sv-red: #d94137;
  --sv-red-dark: #b93029;
  --sv-orange: #ef8c24;
  --sv-orange-dark: #cd6e0d;
  --sv-ink: #25303a;
  --sv-muted: #687580;
  --sv-line: #dde5ea;
  --sv-surface: #ffffff;
  --sv-surface-soft: #f5f8fa;
  --sv-shadow: 0 12px 32px rgba(18, 64, 91, 0.09);
  --sv-radius: 10px;
  --sv-container: 1170px;
  --sv-logo-width: 240px;
  --cassiopeia-font-family-body: "Open Sans", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  --cassiopeia-font-family-headings: "Open Sans", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  --link-color: var(--sv-blue-dark);
  --link-hover-color: var(--sv-blue-deep);
  color-scheme: light;
}

html {
  scroll-behavior: smooth;
}

body.sv-site {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--sv-ink);
  background: var(--sv-surface);
  font-family: var(--cassiopeia-font-family-body);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.sv-site *,
.sv-site *::before,
.sv-site *::after {
  box-sizing: border-box;
}

.sv-site img {
  max-width: 100%;
  height: auto;
}

.sv-site a {
  color: var(--sv-blue-dark);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.14em;
}

.sv-site a:hover,
.sv-site a:focus-visible {
  color: var(--sv-blue-deep);
}

.sv-site :focus-visible {
  outline: 3px solid rgba(24, 136, 201, 0.42);
  outline-offset: 3px;
}

.sv-container {
  width: min(calc(100% - 32px), var(--sv-container));
  margin-inline: auto;
}

.sv-skip-link {
  position: fixed;
  z-index: 10000;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  color: #fff;
  background: var(--sv-blue-deep);
  border-radius: 6px;
  transform: translateY(-150%);
  transition: transform 0.18s ease;
}

.sv-skip-link:focus {
  color: #fff;
  transform: translateY(0);
}

/* Header */
.sv-header {
  position: relative;
  z-index: 100;
  background: var(--sv-surface);
  box-shadow: 0 2px 16px rgba(18, 64, 91, 0.08);
}

.sv-header--sticky {
  position: sticky;
  top: 0;
}

.sv-header-main {
  position: relative;
  background:
    radial-gradient(circle at 12% 0, rgba(24, 136, 201, 0.08), transparent 34%),
    linear-gradient(180deg, #fff, #fbfdfe);
}

.sv-header-main__inner {
  display: grid;
  grid-template-areas: "logo search cart";
  grid-template-columns: minmax(180px, var(--sv-logo-width)) minmax(260px, 1fr) minmax(0, auto);
  gap: clamp(18px, 3vw, 42px);
  align-items: center;
  min-height: 104px;
  padding-block: 18px;
}

.sv-logo {
  grid-area: logo;
  display: inline-flex;
  align-items: center;
  width: min(100%, var(--sv-logo-width));
  text-decoration: none;
}

.sv-logo img {
  display: block;
  width: var(--sv-logo-width);
  max-height: 74px;
  object-fit: contain;
  object-position: left center;
}

.sv-header-search {
  grid-area: search;
  min-width: 0;
  color: var(--sv-muted);
}

.sv-header-search > * + * {
  margin-top: 8px;
}

.sv-header-search form,
.sv-header-search .form-inline,
.sv-header-search .input-group {
  display: flex;
  width: 100%;
  max-width: 560px;
}

.sv-header-search input[type="search"],
.sv-header-search input[type="text"] {
  min-width: 0;
  flex: 1 1 auto;
  min-height: 44px;
  border: 1px solid var(--sv-line);
  border-radius: 8px 0 0 8px;
  background: #fff;
}

.sv-header-search button,
.sv-header-search input[type="submit"] {
  min-height: 44px;
  border-radius: 0 8px 8px 0;
}

.sv-header-cart {
  grid-area: cart;
  justify-self: end;
  min-width: 170px;
}

.sv-header-cart > * {
  margin: 0;
}

/* Primary navigation and nested menus */
.sv-primary-nav {
  color: #fff;
  background:
    radial-gradient(circle at 18px 18px, rgba(255, 255, 255, 0.08) 0 2px, transparent 2.5px) 0 0 / 36px 36px,
    linear-gradient(112deg, var(--sv-blue-deep), var(--sv-blue) 62%, #31a0d4);
  border-bottom: 3px solid rgba(108, 173, 53, 0.85);
}

.sv-menu-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 8px 0;
  color: #fff;
  background: transparent;
  border: 0;
  border-radius: 0;
  font: inherit;
  font-weight: 700;
}

.sv-menu-toggle__icon {
  display: inline-grid;
  gap: 4px;
  width: 23px;
}

.sv-menu-toggle__icon span {
  display: block;
  height: 2px;
  background: currentColor;
  border-radius: 4px;
}

.sv-primary-nav .mod-menu,
.sv-primary-nav .nav,
.sv-primary-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sv-primary-nav .mod-menu {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  min-height: 52px;
}

.sv-primary-nav .mod-menu > li {
  position: relative;
  display: flex;
  align-items: stretch;
}

.sv-primary-nav .mod-menu > li > a,
.sv-primary-nav .mod-menu > li > button,
.sv-primary-nav .mod-menu > li > span {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 11px 12px;
  color: #fff;
  border: 0;
  background: transparent;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.015em;
}

.sv-primary-nav .mod-menu > li:hover > a,
.sv-primary-nav .mod-menu > li:focus-within > a,
.sv-primary-nav .mod-menu > li.current > a,
.sv-primary-nav .mod-menu > li.active > a {
  color: #fff;
  background: rgba(0, 0, 0, 0.16);
}

.sv-primary-nav .mm-toggler {
  color: #fff;
}

.sv-primary-nav .mod-menu li > ul {
  position: absolute;
  z-index: 30;
  top: 100%;
  left: 0;
  display: none;
  width: max-content;
  min-width: 240px;
  max-width: 340px;
  max-height: calc(100vh - 145px);
  overflow-y: auto;
  padding: 7px;
  background: #fff;
  border: 1px solid var(--sv-line);
  border-top: 3px solid var(--sv-orange);
  border-radius: 0 0 9px 9px;
  box-shadow: var(--sv-shadow);
}

.sv-primary-nav .mod-menu li:hover > ul,
.sv-primary-nav .mod-menu li:focus-within > ul,
.sv-primary-nav .mod-menu li > ul.mm-show {
  display: block;
}

.sv-primary-nav .mod-menu li > ul li {
  position: relative;
}

.sv-primary-nav .mod-menu li > ul a,
.sv-primary-nav .mod-menu li > ul button,
.sv-primary-nav .mod-menu li > ul span {
  display: block;
  width: 100%;
  padding: 9px 12px;
  color: var(--sv-ink);
  background: transparent;
  border: 0;
  border-radius: 6px;
  font-size: 0.92rem;
  line-height: 1.35;
  text-align: left;
  text-decoration: none;
}

.sv-primary-nav .mod-menu li > ul a:hover,
.sv-primary-nav .mod-menu li > ul a:focus-visible,
.sv-primary-nav .mod-menu li > ul .current > a {
  color: var(--sv-blue-deep);
  background: var(--sv-blue-soft);
}

.sv-primary-nav .mod-menu li > ul ul {
  top: -8px;
  left: calc(100% + 3px);
}

/* Hero and promotion regions */
.sv-feature {
  padding-top: 24px;
  background: linear-gradient(180deg, #f7fbfd, #fff);
}

.sv-feature .sv-container {
  overflow: hidden;
  min-height: 180px;
  border-radius: 13px;
  background: var(--sv-blue-soft);
  box-shadow: var(--sv-shadow);
}

.sv-feature .sv-container > *,
.sv-feature .sv-container img {
  width: 100%;
}

.sv-feature img {
  display: block;
  object-fit: cover;
}

.sv-banner {
  padding-block: 22px 4px;
}

.sv-banner .sv-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.sv-banner .moduletable,
.sv-banner .mod-custom {
  min-width: 0;
}

.sv-banner .moduletable {
  height: 100%;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--sv-line);
  border-top: 4px solid var(--sv-green);
  border-radius: var(--sv-radius);
  box-shadow: 0 8px 22px rgba(18, 64, 91, 0.06);
}

.sv-banner .moduletable:nth-child(3n + 2) {
  border-top-color: var(--sv-orange);
}

.sv-banner .moduletable:nth-child(3n) {
  border-top-color: var(--sv-red);
}

.sv-banner .sv-benefits-module {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.sv-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.sv-benefit {
  min-width: 0;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--sv-line);
  border-top: 4px solid var(--sv-green);
  border-radius: var(--sv-radius);
  box-shadow: 0 8px 22px rgba(18, 64, 91, 0.06);
}

.sv-benefit:nth-child(2) {
  border-top-color: var(--sv-orange);
}

.sv-benefit:nth-child(3) {
  border-top-color: var(--sv-red);
}

.sv-benefit h2 {
  margin: 0 0 8px;
  color: var(--sv-blue-deep);
  font-size: 1.05rem;
  text-transform: uppercase;
}

.sv-benefit p {
  margin: 0;
  color: var(--sv-muted);
}

.sv-delivery-note,
.sv-wholesale-note {
  margin-bottom: 22px;
  padding: 18px 20px;
  border-radius: var(--sv-radius);
}

.sv-delivery-note {
  background: var(--sv-blue-soft);
  border-left: 4px solid var(--sv-blue);
}

.sv-wholesale-note {
  color: var(--sv-blue-deep);
  background: #fff8ec;
  border-left: 4px solid var(--sv-orange);
  text-align: center;
}

.sv-delivery-note > :last-child,
.sv-wholesale-note > :last-child {
  margin-bottom: 0;
}

.search-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.search-contact a {
  text-decoration: none;
}

/* Main content */
.sv-page {
  padding-block: 22px 48px;
}

.sv-breadcrumbs {
  margin-bottom: 18px;
  color: var(--sv-muted);
  font-size: 0.9rem;
}

.sv-breadcrumbs .breadcrumb {
  margin: 0;
  padding: 10px 14px;
  background: var(--sv-surface-soft);
  border: 1px solid var(--sv-line);
  border-radius: 8px;
}

.sv-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}

.sv-has-right .sv-content-grid {
  grid-template-columns: minmax(0, 1fr) minmax(240px, 285px);
}

.sv-content-primary,
.sv-component,
.sv-maincontent {
  min-width: 0;
}

.sv-maincontent > .moduletable + .moduletable {
  margin-top: 24px;
}

.sv-maincontent > .moduletable,
.sv-component > article,
.sv-component > .blog,
.sv-component > .contact,
.sv-component > .login,
.sv-component > .registration,
.sv-component > .profile {
  min-width: 0;
}

.sv-component:focus {
  outline: 0;
}

.sv-sidebar {
  display: grid;
  gap: 18px;
}

.sv-sidebar .card,
.sv-sidebar .moduletable {
  margin: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--sv-line);
  border-radius: var(--sv-radius);
  box-shadow: 0 8px 24px rgba(18, 64, 91, 0.06);
}

.sv-sidebar .card-header,
.sv-sidebar .card-title,
.sv-sidebar .moduletable > h3 {
  margin: 0;
  padding: 13px 16px;
  color: #fff;
  background: linear-gradient(112deg, var(--sv-blue-deep), var(--sv-blue));
  font-size: 1rem;
  font-weight: 700;
}

.sv-sidebar .card-body,
.sv-sidebar .moduletable > :not(h3) {
  padding: 14px 16px;
}

.sv-site h1,
.sv-site h2,
.sv-site h3,
.sv-site h4,
.sv-site h5,
.sv-site h6 {
  color: #243846;
  font-family: var(--cassiopeia-font-family-headings);
  font-weight: 700;
  line-height: 1.25;
}

.sv-site h1 {
  margin-block: 0 0.75em;
  font-size: clamp(1.75rem, 2.8vw, 2.4rem);
}

.sv-site h2 {
  font-size: clamp(1.4rem, 2.1vw, 1.85rem);
}

.sv-site h3 {
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
}

.sv-site table {
  width: 100%;
  border-collapse: collapse;
}

.sv-site th,
.sv-site td {
  padding: 10px 12px;
  border: 1px solid var(--sv-line);
  text-align: left;
  vertical-align: top;
}

.sv-site th {
  background: var(--sv-surface-soft);
}

.sv-site input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
.sv-site select,
.sv-site textarea {
  max-width: 100%;
  min-height: 42px;
  padding: 8px 11px;
  color: var(--sv-ink);
  background: #fff;
  border: 1px solid #cbd7de;
  border-radius: 7px;
}

.sv-site textarea {
  min-height: 120px;
}

.sv-site .btn,
.sv-site button,
.sv-site input[type="submit"],
.sv-site input[type="button"] {
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.sv-site .btn-primary,
.sv-site input[type="submit"],
.sv-site button.btn-primary {
  color: #fff;
  background: var(--sv-green);
  border-color: var(--sv-green);
}

.sv-site .btn-primary:hover,
.sv-site .btn-primary:focus-visible,
.sv-site input[type="submit"]:hover,
.sv-site input[type="submit"]:focus-visible {
  color: #fff;
  background: var(--sv-green-dark);
  border-color: var(--sv-green-dark);
}

.sv-site a.btn-success,
.sv-site a.btn-success:hover,
.sv-site a.btn-success:focus-visible {
  color: #fff;
}

.sv-site .btn-danger,
.sv-site .button.cancel,
.sv-site .button.remove {
  color: #fff;
  background: var(--sv-red);
  border-color: var(--sv-red);
}

.sv-site .btn-danger:hover,
.sv-site .button.cancel:hover,
.sv-site .button.remove:hover {
  color: #fff;
  background: var(--sv-red-dark);
  border-color: var(--sv-red-dark);
}

.sv-site .btn-warning,
.sv-site .button.checkout,
.sv-site .button.buy {
  color: #fff;
  background: var(--sv-orange);
  border-color: var(--sv-orange);
}

.sv-site .btn-warning:hover,
.sv-site .button.checkout:hover,
.sv-site .button.buy:hover {
  color: #fff;
  background: var(--sv-orange-dark);
  border-color: var(--sv-orange-dark);
}

.sv-site .alert {
  border: 0;
  border-left: 4px solid currentColor;
  border-radius: 8px;
}

/* JoomShopping-friendly base styling without PHP overrides */
.sv-site .product_list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.sv-site .jshop_list_category,
.sv-site .jshop_list_product {
  display: block;
}

.sv-site .jshop_list_category > .row-fluid,
.sv-site .jshop_list_category .list_category > .row-fluid,
.sv-site .jshop_list_product .list_product > .row-fluid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.sv-site .jshop_list_category .sblock2,
.sv-site .jshop_list_product .sblock3 {
  float: none;
  width: auto;
  min-width: 0;
  margin: 0;
}

.sv-site .jshop_list_category .category,
.sv-site .jshop_list_product .product,
.sv-site .product_list .product {
  min-width: 0;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--sv-line);
  border-radius: var(--sv-radius);
  box-shadow: 0 8px 22px rgba(18, 64, 91, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.sv-site .jshop_list_product .block_product,
.sv-site .jshop_list_product .product {
  height: 100%;
}

.sv-site .jshop_list_product .product {
  display: flex;
  flex-direction: column;
}

.sv-site .jshop_list_category .category_name,
.sv-site .jshop_list_product .name {
  margin: 10px 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}

.sv-site .jshop_list_category .category_name a,
.sv-site .jshop_list_product .name a {
  color: var(--sv-blue-deep);
  font-size: inherit;
  line-height: inherit;
  text-decoration: none;
}

.sv-site .jshop_list_category .image,
.sv-site .jshop_list_product .image_block {
  display: grid;
  min-height: 190px;
  place-items: center;
}

.sv-site .jshop_list_category .jshop_img,
.sv-site .jshop_list_product .jshop_img {
  width: auto;
  max-height: 210px;
}

.sv-site .jshop_list_product .buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: auto;
  padding-top: 12px;
}

.sv-site .jshop_list_product .jshop_price,
.sv-site .jshop_list_product .product_price {
  color: var(--sv-red-dark);
  font-size: 1.08rem;
  font-weight: 700;
}

.sv-site .form_sort_count {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 20px;
  padding: 12px 14px;
  background: var(--sv-surface-soft);
  border: 1px solid var(--sv-line);
  border-radius: 8px;
}

.sv-site .form_sort_count .control-group {
  margin: 0;
}

.sv-sidebar .jshop_menu_level_0,
.sv-sidebar [class^="jshop_menu_level_"] {
  margin: 0;
  padding: 0;
}

.sv-sidebar [class^="jshop_menu_level_"] a {
  display: block;
  padding: 6px 0;
  border-bottom: 1px solid var(--sv-line);
  font-size: 0.88rem;
  line-height: 1.35;
  text-decoration: none;
}

.sv-site .jshop_list_category .category:hover,
.sv-site .jshop_list_product .product:hover,
.sv-site .product_list .product:hover {
  border-color: rgba(24, 136, 201, 0.45);
  box-shadow: var(--sv-shadow);
  transform: translateY(-2px);
}

.sv-site .jshop_img,
.sv-site .jshop_productimage,
.sv-site .product-image {
  display: block;
  margin-inline: auto;
  object-fit: contain;
}

.sv-site .jshop_cart,
.sv-site .jshop_checkout,
.sv-site .jshop_order_step {
  max-width: 100%;
  overflow-x: auto;
}

.sv-site .productfull > .row.jshop {
  align-items: start;
  row-gap: 24px;
}

.sv-site .productfull .image_middle {
  display: grid;
  place-items: center;
  min-height: 320px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--sv-line);
  border-radius: var(--sv-radius);
}

.sv-site .productfull .image_middle img.image {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 520px;
  object-fit: contain;
}

.sv-site .productfull .text_zoom {
  margin-top: 8px;
  color: var(--sv-muted);
  font-size: 0.86rem;
  text-align: center;
}

.sv-site .productfull .prod_price {
  margin-block: 16px;
  color: var(--sv-red-dark);
  font-size: 1.2rem;
  font-weight: 700;
}

.sv-site .productfull .prod_buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--sv-line);
}

.sv-site .productfull .prod_buttons .buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sv-site .productfull .prod_qty_input input {
  width: 78px;
}

.sv-site .jshop_prod_description {
  margin-top: 28px;
}

/* Footer */
.sv-footer {
  position: relative;
  overflow: hidden;
  padding-block: 42px 20px;
  color: rgba(255, 255, 255, 0.88);
  background:
    radial-gradient(circle at 85% 15%, rgba(24, 136, 201, 0.32), transparent 32%),
    linear-gradient(128deg, #102d40, #0b4f70 68%, #11699f);
  border-top: 5px solid var(--sv-orange);
}

.sv-footer::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.22;
  background-image: radial-gradient(circle at 1px 1px, #fff 1px, transparent 1.5px);
  background-size: 30px 30px;
}

.sv-footer > .sv-container {
  position: relative;
}

.sv-footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(24px, 4vw, 54px);
}

.sv-footer h2,
.sv-footer h3,
.sv-footer h4,
.sv-footer .card-title {
  margin-top: 0;
  color: #fff;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.035em;
}

.sv-footer a {
  color: #fff;
  text-decoration-color: rgba(255, 255, 255, 0.35);
}

.sv-footer a:hover,
.sv-footer a:focus-visible {
  color: #cceeff;
}

.sv-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sv-footer li + li {
  margin-top: 7px;
}

.sv-footer-lower {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.9rem;
}

.sv-back-to-top {
  position: fixed;
  z-index: 80;
  right: 20px;
  bottom: 20px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: #fff;
  background: var(--sv-blue-dark);
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(18, 64, 91, 0.25);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  text-decoration: none;
  transition: opacity 0.18s ease, transform 0.18s ease, background-color 0.18s ease;
}

.sv-back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.sv-back-to-top:hover,
.sv-back-to-top:focus-visible {
  color: #fff;
  background: var(--sv-orange);
}

/* Responsive states */
@media (max-width: 1050px) {
  .sv-header-main__inner {
    grid-template-columns: minmax(170px, var(--sv-logo-width)) minmax(220px, 1fr) minmax(0, auto);
    gap: 20px;
  }

  .sv-primary-nav .mod-menu > li > a,
  .sv-primary-nav .mod-menu > li > button,
  .sv-primary-nav .mod-menu > li > span {
    padding-inline: 12px;
    font-size: 0.85rem;
  }
}

@media (min-width: 901px) and (max-width: 1200px) {
  .sv-primary-nav .mod-menu > li > a,
  .sv-primary-nav .mod-menu > li > button,
  .sv-primary-nav .mod-menu > li > span {
    padding-inline: clamp(2px, 0.5vw, 6px);
    font-size: clamp(0.75rem, 1.25vw, 0.85rem);
    letter-spacing: 0;
  }
}

@media (max-width: 900px) {
  .sv-header--sticky {
    position: relative;
  }

  .sv-header-main__inner {
    grid-template-areas:
      "logo search"
      "logo cart";
    grid-template-columns: minmax(160px, var(--sv-logo-width)) 1fr;
    min-height: auto;
  }

  .sv-header-cart {
    justify-self: stretch;
    min-width: 0;
  }

  .sv-menu-toggle {
    display: inline-flex;
  }

  .sv-js .sv-nav-panel {
    display: none;
  }

  .sv-js .sv-nav-panel.is-open {
    display: block;
  }

  .sv-primary-nav .mod-menu {
    display: block;
    min-height: 0;
    padding-bottom: 12px;
  }

  .sv-primary-nav .mod-menu > li {
    display: block;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
  }

  .sv-primary-nav .mod-menu > li > a,
  .sv-primary-nav .mod-menu > li > button,
  .sv-primary-nav .mod-menu > li > span {
    min-height: 46px;
    padding-inline: 8px;
  }

  .sv-primary-nav .mod-menu li > ul,
  .sv-primary-nav .mod-menu li > ul ul {
    position: static;
    width: 100%;
    min-width: 0;
    max-width: none;
    margin-bottom: 8px;
    padding: 6px;
    border: 0;
    border-radius: 7px;
    box-shadow: none;
    max-height: none;
    overflow: visible;
  }

  .sv-primary-nav .mod-menu li > ul li > ul {
    margin-left: 10px;
    width: calc(100% - 10px);
    border-left: 2px solid var(--sv-blue-soft);
  }

  .sv-has-right .sv-content-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .sv-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .sv-container {
    width: min(calc(100% - 24px), var(--sv-container));
  }

  .sv-header-main__inner {
    grid-template-areas:
      "logo"
      "search"
      "cart";
    grid-template-columns: 1fr;
    gap: 14px;
    padding-block: 14px;
  }

  .sv-logo {
    justify-self: center;
  }

  .sv-logo img {
    object-position: center;
  }

  .sv-header-search,
  .sv-header-cart {
    justify-self: stretch;
  }

  .sv-header-search form,
  .sv-header-search .form-inline,
  .sv-header-search .input-group {
    max-width: none;
  }

  .sv-feature {
    padding-top: 12px;
  }

  .sv-feature .sv-container {
    min-height: 120px;
    border-radius: 9px;
  }

  .sv-banner .sv-container,
  .sv-benefits,
  .sv-footer-grid,
  .sv-site .jshop_list_category > .row-fluid,
  .sv-site .jshop_list_category .list_category > .row-fluid,
  .sv-site .jshop_list_product .list_product > .row-fluid,
  .sv-site .product_list,
  .sv-sidebar {
    grid-template-columns: minmax(0, 1fr);
  }

  .sv-site.com_jshopping .jshop_list_category > .row-fluid,
  .sv-site.com_jshopping .jshop_list_category .list_category > .row-fluid,
  .sv-site.com_jshopping .jshop_list_product > .row-fluid,
  .sv-site.com_jshopping .jshop_list_product .list_product > .row-fluid,
  .sv-site.com_jshopping .jshop_list_product .list_related > .row-fluid {
    width: 100%;
    margin-inline: 0;
  }

  .sv-page {
    padding-block: 16px 34px;
  }

  .sv-site table {
    font-size: 0.9rem;
  }

  .sv-site th,
  .sv-site td {
    padding: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .sv-site *,
  .sv-site *::before,
  .sv-site *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  .sv-header,
  .sv-footer,
  .sv-back-to-top,
  .sv-sidebar,
  .sv-breadcrumbs {
    display: none !important;
  }

  .sv-container,
  .sv-page {
    width: 100%;
    max-width: none;
    padding: 0;
  }
}
