/*
Theme Name: Starfic Child
Template: fictioneer
Version: 0.5.2
Description: Dense, functional customizations for Starscribe's author site.
Text Domain: starfic-child
*/

:root {
  --starfic-reading-measure: 46rem;
  --starfic-line: rgba(186, 204, 235, 0.18);
  --starfic-accent: #8ecbff;
  --starfic-accent-rgb: 142, 203, 255;
  --starfic-panel: rgba(11, 15, 27, 0.9);
  --starfic-panel-raised: rgba(16, 22, 37, 0.96);
  --header-image-height: 225px;
  --header-height: 225px;
  --page-inset-top: 0px;
  --layout-spacing-vertical: 24px;
}

body.starfic-filter-count-1.starfic-filter-pony {
  --starfic-accent: #d4a9ff;
  --starfic-accent-rgb: 212, 169, 255;
}

body.starfic-filter-count-1.starfic-filter-pokemon {
  --starfic-accent: #67c7ff;
  --starfic-accent-rgb: 103, 199, 255;
}

body.starfic-filter-count-1.starfic-filter-originals {
  --starfic-accent: #63e2c6;
  --starfic-accent-rgb: 99, 226, 198;
}

html[data-mode='light'] {
  --starfic-line: rgba(35, 48, 73, 0.22);
  --starfic-accent: #246b9f;
  --starfic-accent-rgb: 36, 107, 159;
  --starfic-panel: rgba(255, 255, 255, 0.92);
  --starfic-panel-raised: rgba(255, 255, 255, 0.99);
}

html[data-mode='light'] body.starfic-filter-count-1.starfic-filter-pony {
  --starfic-accent: #7540a7;
  --starfic-accent-rgb: 117, 64, 167;
}

html[data-mode='light'] body.starfic-filter-count-1.starfic-filter-pokemon {
  --starfic-accent: #006b9f;
  --starfic-accent-rgb: 0, 107, 159;
}

html[data-mode='light'] body.starfic-filter-count-1.starfic-filter-originals {
  --starfic-accent: #08735f;
  --starfic-accent-rgb: 8, 115, 95;
}

.main__background {
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.34) 0 1px, transparent 1.4px),
    radial-gradient(circle at 74% 62%, rgba(var(--starfic-accent-rgb), 0.28) 0 1px, transparent 1.6px),
    radial-gradient(circle at 42% 88%, rgba(255, 255, 255, 0.18) 0 0.8px, transparent 1.3px),
    radial-gradient(circle at 82% 0%, rgba(var(--starfic-accent-rgb), 0.08), transparent 25rem),
    linear-gradient(180deg, #0a0d17, #080a12 70%) !important;
  background-size: 211px 211px, 307px 307px, 163px 163px, auto, auto !important;
  animation: starfic-star-drift 72s linear infinite;
}

html[data-mode='light'] .main__background {
  background:
    radial-gradient(circle at 12% 18%, rgba(37, 54, 86, 0.24) 0 1px, transparent 1.4px),
    radial-gradient(circle at 74% 62%, rgba(var(--starfic-accent-rgb), 0.3) 0 1px, transparent 1.6px),
    radial-gradient(circle at 42% 88%, rgba(37, 54, 86, 0.15) 0 0.8px, transparent 1.3px),
    radial-gradient(circle at 82% 0%, rgba(var(--starfic-accent-rgb), 0.14), transparent 25rem),
    linear-gradient(180deg, #f4f7fc, #e9eef7 70%) !important;
}

@keyframes starfic-star-drift {
  to {
    background-position: 211px 106px, -154px 307px, 82px -163px, 0 0, 0 0;
  }
}

.main-navigation {
  background: rgba(7, 10, 18, 0.96);
}

.main-navigation__background {
  background: rgba(7, 10, 18, 0.96) !important;
  border-bottom: 1px solid var(--starfic-line);
}

.main-navigation a,
.main-navigation button,
.main-navigation label {
  color: #dce5f4;
}

body.woocommerce .main-navigation__left a[href$='/store/'] {
  color: var(--starfic-accent);
  box-shadow: inset 0 -2px var(--starfic-accent);
}

.main-navigation__wrapper {
  gap: 0.6rem;
}

.main-navigation__left {
  min-width: 0;
}

.main-navigation__right {
  order: 3;
}

.starfic-filters {
  order: 2;
  display: flex;
  gap: 0.25rem;
  align-items: center;
  margin-left: auto;
}

.starfic-cart-link {
  order: 2;
  display: inline-flex;
  min-height: 1.85rem;
  margin-left: 0.15rem;
  padding: 0.25rem 0.48rem;
  gap: 0.35rem;
  align-items: center;
  color: #dce5f4;
  border: 1px solid var(--starfic-line);
  border-radius: 0.18rem;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.055em;
  line-height: 1;
  text-transform: uppercase;
}

.starfic-cart-link:hover,
.starfic-cart-link:focus-visible {
  color: #07101c;
  background: var(--starfic-accent);
  border-color: var(--starfic-accent);
}

.starfic-cart-count {
  display: inline-grid;
  min-width: 1.15rem;
  min-height: 1.15rem;
  padding-inline: 0.2rem;
  place-items: center;
  color: #07101c;
  background: var(--starfic-accent);
  border-radius: 999px;
  font-size: 0.6rem;
}

.starfic-cart-link:hover .starfic-cart-count,
.starfic-cart-link:focus-visible .starfic-cart-count {
  color: var(--starfic-accent);
  background: #07101c;
}

.starfic-filter {
  min-height: 1.85rem;
  padding: 0.26rem 0.58rem;
  color: #aeb9cb;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 0.18rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.055em;
  line-height: 1;
  text-transform: uppercase;
}

.starfic-filter:hover,
.starfic-filter:focus-visible {
  color: #f4f7fc;
  border-color: var(--starfic-line);
}

.starfic-filter:focus-visible,
.starfic-cart-link:focus-visible,
.woocommerce a:focus-visible,
.woocommerce button:focus-visible,
.woocommerce input:focus-visible,
.woocommerce select:focus-visible {
  outline: 2px solid var(--starfic-accent);
  outline-offset: 2px;
}

.starfic-filter.is-active {
  color: #07101c;
  background: var(--starfic-accent);
  border-color: var(--starfic-accent);
}

.starfic-filters[data-busy='true'] {
  opacity: 0.55;
}

.header::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(4, 7, 15, 0.6), transparent 55%);
}

.header,
.header__content {
  height: 225px !important;
}

.header__content {
  z-index: 1;
}

.header__title-heading {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(2.2rem, 6vw, 4.6rem);
  font-weight: 400;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.header__title-tagline {
  color: #dfe8f7 !important;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.entry-content > :first-child,
.page-content > :first-child {
  margin-top: 0;
}

.entry-content h2,
.page-content h2 {
  margin: 1.65rem 0 0.7rem;
}

.latest-posts,
.latest-updates,
.latest-stories,
.latest-chapters {
  margin-block: 0.7rem 1.5rem;
}

.latest-stories .card,
.latest-updates .card,
.latest-posts .card,
.story-card {
  border-color: var(--starfic-line) !important;
  box-shadow: none !important;
}

.latest-stories a:hover,
.latest-updates a:hover,
.story-card a:hover {
  color: var(--starfic-accent);
}

.chapter-formatting__content,
.chapter__content {
  max-width: var(--starfic-reading-measure);
  margin-inline: auto;
}

.chapter__content p {
  text-indent: 0 !important;
}

.woocommerce .woocommerce-breadcrumb,
.woocommerce .woocommerce-products-header__title.page-title + .term-description:empty {
  display: none;
}

.woocommerce .woocommerce-products-header__title,
.woocommerce div.product .product_title {
  margin-block: 0 0.75rem;
  font-family: Georgia, 'Times New Roman', serif;
}

.woocommerce .woocommerce-products-header__title::after,
.woocommerce div.product .product_title::after {
  content: '✦';
  margin-left: 0.45rem;
  color: var(--starfic-accent);
  font-family: sans-serif;
  font-size: 0.48em;
  vertical-align: 0.45em;
}

.starfic-store-listing {
  clear: both;
  padding-top: 0.65rem;
  border-top: 1px solid var(--starfic-line);
}

body.woocommerce .header,
body.woocommerce .header__content {
  height: 150px !important;
}

body.woocommerce .header__title-heading {
  font-size: clamp(2rem, 5vw, 3.8rem);
}

.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering {
  margin-block: 0 0.65rem;
}

.woocommerce .woocommerce-ordering select,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  min-height: 2.25rem;
  color: #e9eef7;
  background: #0c111d;
  border: 1px solid var(--starfic-line);
  border-radius: 0.18rem;
}

.woocommerce form textarea,
.woocommerce form input[type='text'],
.woocommerce form input[type='email'],
.woocommerce form input[type='tel'] {
  color: #e9eef7 !important;
  background: #0c111d !important;
  border-color: var(--starfic-line) !important;
}

html[data-mode='light'] .woocommerce .woocommerce-ordering select,
html[data-mode='light'] .woocommerce form .form-row input.input-text,
html[data-mode='light'] .woocommerce form .form-row textarea,
html[data-mode='light'] .woocommerce form .form-row select,
html[data-mode='light'] .woocommerce form textarea,
html[data-mode='light'] .woocommerce form input[type='text'],
html[data-mode='light'] .woocommerce form input[type='email'],
html[data-mode='light'] .woocommerce form input[type='tel'] {
  color: #172033 !important;
  background: #fff !important;
}

.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  clear: both;
  margin: 0;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
  display: none;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  display: flex;
  float: none !important;
  width: 100% !important;
  min-width: 0;
  margin: 0 !important;
  padding: 0.6rem;
  flex-direction: column;
  overflow: hidden;
  background: var(--starfic-panel);
  border: 1px solid var(--starfic-line);
  border-radius: 0.32rem;
  box-shadow: 0 0 0 rgba(var(--starfic-accent-rgb), 0);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.woocommerce ul.products li.product:hover,
.woocommerce-page ul.products li.product:hover,
.woocommerce ul.products li.product:focus-within {
  z-index: 1;
  background: var(--starfic-panel-raised);
  border-color: rgba(var(--starfic-accent-rgb), 0.58);
  box-shadow: 0 0.45rem 1.4rem rgba(0, 0, 0, 0.36), 0 0 1.4rem rgba(var(--starfic-accent-rgb), 0.08);
  transform: translateY(-2px);
}

.woocommerce ul.products li.product a img {
  width: 100%;
  aspect-ratio: 4 / 5;
  margin: 0 0 0.55rem;
  object-fit: contain;
  background: #070a12;
  transition: transform 240ms ease, filter 240ms ease;
}

.woocommerce ul.products li.product:hover a img,
.woocommerce ul.products li.product:focus-within a img {
  filter: saturate(1.06) contrast(1.03);
  transform: scale(1.018);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  padding: 0;
  color: #f4f7fc;
  font-size: 0.95rem;
  line-height: 1.25;
}

.starfic-loop-format {
  display: inline-block;
  width: fit-content;
  margin: 0.28rem 0 0;
  padding: 0.18rem 0.36rem;
  color: #cbd7e8;
  background: rgba(var(--starfic-accent-rgb), 0.08);
  border: 1px solid rgba(var(--starfic-accent-rgb), 0.24);
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  line-height: 1;
  text-transform: uppercase;
}

html[data-mode='light'] .woocommerce ul.products li.product .woocommerce-loop-product__title,
html[data-mode='light'] .woocommerce div.product .summary,
html[data-mode='light'] .starfic-product-description,
html[data-mode='light'] .woocommerce table.shop_table,
html[data-mode='light'] .woocommerce .cart_totals {
  color: #172033;
}

html[data-mode='light'] .starfic-loop-format,
html[data-mode='light'] .starfic-product-facts span {
  color: #263653;
}

.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: var(--starfic-accent);
  font-weight: 700;
}

.woocommerce ul.products li.product .price {
  margin-top: auto;
  padding-top: 0.35rem;
  font-size: 0.85rem;
}

.woocommerce .price del {
  color: #8d98aa;
  opacity: 0.8;
}

.woocommerce ul.products li.product .price del,
.woocommerce div.product .price del {
  color: #8d98aa !important;
  background: transparent !important;
}

.woocommerce .price ins {
  color: var(--starfic-accent);
  background: transparent;
  text-decoration: none;
}

.woocommerce ul.products li.product .price ins,
.woocommerce div.product .price ins {
  color: var(--starfic-accent) !important;
  background: transparent !important;
}

.woocommerce ul.products li.product .button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  min-height: 2.1rem;
  margin-top: 0.45rem;
  padding: 0.58rem 0.72rem;
  color: #07101c;
  background: var(--starfic-accent);
  border: 0;
  border-radius: 0.18rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  transition: filter 140ms ease, transform 140ms ease, box-shadow 140ms ease;
}

.woocommerce ul.products li.product .button {
  width: 100%;
  text-align: center;
}

.woocommerce ul.products li.product .button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
  color: #07101c;
  background: var(--starfic-accent);
  box-shadow: 0 0 1rem rgba(var(--starfic-accent-rgb), 0.24);
  filter: brightness(1.08);
  transform: translateY(-1px);
}

html[data-mode='light'] .starfic-filter.is-active,
html[data-mode='light'] .starfic-cart-link:hover,
html[data-mode='light'] .starfic-cart-link:focus-visible,
html[data-mode='light'] .woocommerce ul.products li.product .button,
html[data-mode='light'] .woocommerce a.button,
html[data-mode='light'] .woocommerce button.button,
html[data-mode='light'] .woocommerce input.button,
html[data-mode='light'] .woocommerce #respond input#submit,
html[data-mode='light'] .woocommerce span.onsale {
  color: #fff;
}

html[data-mode='light'] .starfic-cart-link:hover .starfic-cart-count,
html[data-mode='light'] .starfic-cart-link:focus-visible .starfic-cart-count {
  color: var(--starfic-accent);
  background: #fff;
}

.woocommerce ul.products li.product .onsale,
.woocommerce span.onsale {
  min-width: 0;
  min-height: 0;
  padding: 0.28rem 0.45rem;
  color: #07101c;
  background: var(--starfic-accent);
  border-radius: 0.15rem;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.035em;
  line-height: 1;
  text-transform: uppercase;
  animation: starfic-sale-pulse 650ms ease-out 1;
}

@keyframes starfic-sale-pulse {
  50% {
    box-shadow: 0 0 0.8rem rgba(var(--starfic-accent-rgb), 0.42);
  }
}

.woocommerce div.product {
  margin-top: 0.3rem;
}

.woocommerce div.product div.images {
  padding: 0.55rem;
  background: var(--starfic-panel);
  border: 1px solid var(--starfic-line);
  border-radius: 0.35rem;
  box-shadow: 0 0 2rem rgba(var(--starfic-accent-rgb), 0.06);
}

html[data-mode='light'] .woocommerce div.product div.images {
  background: rgba(255, 255, 255, 0.92);
}

.woocommerce div.product div.images img {
  background: #070a12;
  object-fit: contain;
}

.woocommerce div.product div.images .woocommerce-product-gallery__trigger {
  top: 0.9rem;
  right: 0.9rem;
  display: grid;
  width: 2.4rem;
  height: 2.4rem;
  place-items: center;
  color: #07101c;
  background: var(--starfic-accent);
  box-shadow: 0 0.25rem 0.9rem rgba(0, 0, 0, 0.45);
}

.woocommerce div.product div.images .flex-control-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.4rem;
  margin-top: 0.45rem;
}

.woocommerce div.product div.images .flex-control-thumbs li {
  width: auto;
}

.woocommerce div.product div.images .flex-control-thumbs img {
  aspect-ratio: 1;
  border: 1px solid transparent;
  border-radius: 0.2rem;
  object-fit: cover;
}

.woocommerce div.product div.images .flex-control-thumbs img:hover,
.woocommerce div.product div.images .flex-control-thumbs img:focus-visible,
.woocommerce div.product div.images .flex-control-thumbs img.flex-active {
  border-color: var(--starfic-accent);
  opacity: 1;
}

.woocommerce div.product .summary {
  padding: 0.15rem 0;
}

.starfic-product-facts {
  display: flex;
  margin: -0.15rem 0 0.65rem;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.starfic-product-facts span {
  padding: 0.22rem 0.42rem;
  color: #cbd7e8;
  background: rgba(var(--starfic-accent-rgb), 0.08);
  border: 1px solid rgba(var(--starfic-accent-rgb), 0.28);
  border-radius: 999px;
  font-size: 0.63rem;
  font-weight: 750;
  letter-spacing: 0.055em;
  line-height: 1;
  text-transform: uppercase;
}

.woocommerce div.product form.cart {
  display: flex;
  margin-bottom: 0.85rem;
  gap: 0.4rem;
  align-items: stretch;
}

.woocommerce div.product form.cart div.quantity {
  margin: 0;
}

.woocommerce div.product form.cart .qty {
  min-height: 2.1rem;
  color: #eef4ff;
  background: #080b14;
  border: 1px solid var(--starfic-line);
  border-radius: 0.18rem;
}

.starfic-product-description {
  max-width: 42rem;
  margin-top: 0.95rem;
  padding-top: 0.85rem;
  color: #d4dce9;
  border-top: 1px solid var(--starfic-line);
  line-height: 1.58;
}

.starfic-product-description p {
  margin: 0 0 0.78rem;
}

.woocommerce .related.products {
  clear: both;
  padding-top: 1.2rem;
}

.woocommerce div.product .woocommerce-product-details__short-description,
.woocommerce div.product .woocommerce-tabs,
.woocommerce div.product .summary {
  color: #c9d2e0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
  margin-bottom: 0.75rem;
  padding: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li {
  border-color: var(--starfic-line);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li,
.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
  background: #0c111d;
}

.woocommerce table.shop_table,
.woocommerce-checkout #payment,
.woocommerce .cart_totals,
.woocommerce .woocommerce-form-coupon,
.woocommerce .woocommerce-form-login {
  color: #d6deeb;
  background: rgba(13, 18, 30, 0.82);
  border-color: var(--starfic-line);
}

html[data-mode='light'] .woocommerce table.shop_table,
html[data-mode='light'] .woocommerce-checkout #payment,
html[data-mode='light'] .woocommerce .cart_totals,
html[data-mode='light'] .woocommerce .woocommerce-form-coupon,
html[data-mode='light'] .woocommerce .woocommerce-form-login {
  color: #172033;
  background: rgba(255, 255, 255, 0.92);
}

.woocommerce table.shop_table td,
.woocommerce table.shop_table th {
  border-color: var(--starfic-line);
}

.woocommerce-checkout #payment div.payment_box {
  color: #d6deeb;
  background: #111827;
}

html[data-mode='light'] .woocommerce-checkout #payment div.payment_box {
  color: #172033;
  background: #edf2fa;
}

.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-error {
  color: #e9eef7;
  background: #101725;
  border-color: var(--starfic-accent);
}

html[data-mode='light'] .woocommerce .woocommerce-message,
html[data-mode='light'] .woocommerce .woocommerce-info,
html[data-mode='light'] .woocommerce .woocommerce-error {
  color: #172033;
  background: #fff;
}

.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper .form-row {
  margin-top: 0.5rem;
}

.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper label.woocommerce-form__label-for-checkbox {
  display: flex !important;
  width: 100%;
  min-height: 44px;
  gap: 0.6rem;
  align-items: center;
  cursor: pointer;
}

.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper input.woocommerce-form__input-checkbox {
  appearance: none;
  display: inline-block !important;
  flex: 0 0 22px !important;
  width: 22px !important;
  min-width: 22px !important;
  height: 22px !important;
  min-height: 22px !important;
  margin: 0 !important;
  background: #080b14 !important;
  border: 2px solid #aebbd0 !important;
  border-radius: 0.2rem;
  box-shadow: none !important;
}

.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper input.woocommerce-form__input-checkbox:checked {
  background-color: var(--starfic-accent) !important;
  background-image:
    linear-gradient(45deg, transparent 46%, #07101c 46% 58%, transparent 58%),
    linear-gradient(-45deg, transparent 43%, #07101c 43% 55%, transparent 55%) !important;
  background-position: 3px 9px, 8px 6px !important;
  background-size: 7px 7px, 11px 11px !important;
  background-repeat: no-repeat !important;
  border-color: var(--starfic-accent) !important;
}

.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper input.woocommerce-form__input-checkbox:focus-visible {
  outline: 3px solid var(--starfic-accent);
  outline-offset: 3px;
}

html[data-mode='light'] .woocommerce-checkout .woocommerce-terms-and-conditions-wrapper input.woocommerce-form__input-checkbox {
  background-color: #fff !important;
  border-color: #40506d !important;
}

.woocommerce button[name='update_cart']:disabled {
  color: #aab5c7 !important;
  background: #31394a !important;
  opacity: 0.78 !important;
}

.starfic-footer-links {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}

.starfic-footer-links a {
  color: inherit;
}

.starfic-footer-links a:hover,
.starfic-footer-links a:focus-visible {
  color: var(--starfic-accent);
}

.woocommerce .woocommerce-message a,
.woocommerce .woocommerce-info a,
.woocommerce .woocommerce-error a {
  color: var(--starfic-accent);
}

@media (prefers-reduced-motion: reduce) {
  .main__background,
  .woocommerce ul.products li.product,
  .woocommerce ul.products li.product a img,
  .woocommerce span.onsale,
  .woocommerce .button {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 767px) {
  .main-navigation__wrapper {
    flex-wrap: wrap;
    row-gap: 0;
  }

  .main-navigation__left {
    display: none;
  }

  .starfic-filters {
    order: 2;
    margin-left: auto;
  }

  .starfic-cart-link {
    order: 3;
    min-height: 44px;
    margin-left: 0;
    padding-inline: 0.4rem;
  }

  .main-navigation__right {
    order: 4;
  }

  .starfic-filter {
    min-height: 44px;
    padding-inline: 0.42rem;
    font-size: 0.61rem;
  }

  .header__title-heading {
    font-size: clamp(1.8rem, 10vw, 3rem);
  }

  .header,
  .header__content {
    height: 160px !important;
  }

  body.woocommerce .header,
  body.woocommerce .header__content {
    height: 108px !important;
  }

  body.woocommerce .header__title-heading {
    font-size: clamp(1.6rem, 8vw, 2.4rem);
  }

  .woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
  }

  .woocommerce ul.products li.product,
  .woocommerce-page ul.products li.product {
    padding: 0.45rem;
  }

  .woocommerce ul.products li.product .button,
  .woocommerce a.button,
  .woocommerce button.button,
  .woocommerce input.button {
    min-height: 44px;
  }

  .woocommerce-cart-form .product-thumbnail {
    display: table-cell !important;
    width: 56px;
  }

  .woocommerce-cart-form .product-thumbnail img {
    width: 48px !important;
    min-width: 48px;
    max-width: 48px;
    height: 48px !important;
    object-fit: contain;
  }

  .woocommerce div.product div.images,
  .woocommerce div.product div.summary {
    float: none;
    width: 100%;
  }

  .woocommerce div.product div.summary {
    margin-top: 1rem;
  }
}
