:root {
  --fx-bg: #ffffff;
  --fx-bg-soft: #f6f7f9;
  --fx-surface: #ffffff;
  --fx-surface-elevated: #fbfbfc;
  --fx-text: #111318;
  --fx-text-muted: #6f7480;
  --fx-border: #e5e7eb;
  --fx-border-strong: #c8ccd3;
  --fx-accent: #0f6fff;
  --fx-accent-hover: #075bd7;
  --fx-danger: #d92d20;
  --fx-success: #11845b;
  --fx-warning: #b7791f;
  --fx-shadow-soft: 0 10px 30px rgba(17, 19, 24, .07);
  --fx-shadow-card: 0 18px 55px rgba(17, 19, 24, .11);
  --fx-radius-sm: 6px;
  --fx-radius-md: 8px;
  --fx-radius-lg: 12px;
  --fx-radius-xl: 18px;
  --fx-radius-2xl: 26px;
  --fx-container: 1240px;
  --fx-header-height: 72px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  max-width: 100%;
  overflow-x: hidden;
  scroll-padding-top: calc(var(--fx-header-height) + 16px);
  scroll-behavior: smooth;
}

body.fx-theme {
  min-height: 100%;
  max-width: 100%;
  margin: 0;
  overflow-x: hidden;
  background: var(--fx-bg);
  color: var(--fx-text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.55;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.fx-theme img,
.fx-theme video,
.fx-theme canvas {
  max-width: 100%;
  height: auto;
}

.fx-theme a {
  color: var(--fx-accent);
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: color .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.fx-theme h1,
.fx-theme h2,
.fx-theme h3,
.fx-theme h4,
.fx-theme h5,
.fx-theme h6,
.fx-theme p,
.fx-theme li,
.fx-theme td,
.fx-theme th,
.fx-theme label {
  overflow-wrap: anywhere;
}

.fx-theme a:hover,
.fx-theme a:focus {
  color: var(--fx-accent-hover);
  text-decoration: none;
}

.fx-theme :focus {
  outline: none;
}

.fx-theme :focus-visible {
  outline: 3px solid rgba(15, 111, 255, .28);
  outline-offset: 3px;
}

.fx-shell {
  width: min(calc(100% - 32px), var(--fx-container));
  margin-right: auto;
  margin-left: auto;
}

.fx-visually-hidden,
.fx-skip-link:not(:focus) {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.fx-skip-link:focus {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 10000;
  padding: 10px 14px;
  border-radius: var(--fx-radius-md);
  background: var(--fx-text);
  color: #fff;
}

/* Typography */
.fx-display,
.fx-theme .display-hero {
  margin: 0;
  color: var(--fx-text);
  font-size: 64px;
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: 0;
}

.fx-theme h1,
.fx-h1 {
  margin: 0 0 22px;
  color: var(--fx-text);
  font-size: 42px;
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: 0;
}

.fx-theme h2,
.fx-h2 {
  margin: 0 0 18px;
  color: var(--fx-text);
  font-size: 32px;
  line-height: 1.18;
  font-weight: 650;
  letter-spacing: 0;
}

.fx-theme h3,
.fx-h3 {
  margin: 0 0 12px;
  color: var(--fx-text);
  font-size: 22px;
  line-height: 1.28;
  font-weight: 650;
  letter-spacing: 0;
}

.fx-body {
  color: var(--fx-text);
  font-size: 15px;
  line-height: 1.6;
}

.fx-small,
.fx-theme small {
  font-size: 13px;
  line-height: 1.45;
}

.fx-caption {
  color: var(--fx-text-muted);
  font-size: 12px;
  line-height: 1.4;
}

.fx-price,
.fx-theme .price,
.fx-theme .price-new {
  color: var(--fx-text);
  font-size: 18px;
  line-height: 1.25;
  font-weight: 700;
}

.fx-theme .price-old {
  color: var(--fx-text-muted);
  text-decoration: line-through;
}

/* Header */
.fx-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(255, 255, 255, .9);
  border-bottom: 1px solid rgba(229, 231, 235, .82);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
}

.fx-header__top {
  border-bottom: 1px solid rgba(229, 231, 235, .7);
  background: rgba(246, 247, 249, .72);
  color: var(--fx-text-muted);
  font-size: 13px;
}

.fx-header__top-inner,
.fx-header__main-inner,
.fx-header__drawer-inner,
.fx-header__locale,
.fx-header__contact,
.fx-header__actions,
.fx-cart__button,
.fx-cart__links {
  display: flex;
  align-items: center;
}

.fx-header__top-inner {
  min-height: 36px;
  justify-content: space-between;
  gap: 16px;
}

.fx-header__locale {
  gap: 10px;
}

.fx-header__locale .btn,
.fx-header__locale .btn-link,
.fx-header__top a {
  color: var(--fx-text-muted);
  font-size: 13px;
}

.fx-header__contact {
  justify-content: flex-end;
  gap: 16px;
}

.fx-header__phone,
.fx-header__contact-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--fx-text-muted);
  white-space: nowrap;
}

.fx-header__main {
  background: rgba(255, 255, 255, .86);
}

.fx-header__main-inner {
  min-height: var(--fx-header-height);
  justify-content: space-between;
  gap: 18px;
}

.fx-logo {
  display: flex;
  align-items: center;
  min-width: 120px;
}

.fx-logo__link,
.fx-logo__text {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--fx-text);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0;
}

.fx-logo__image {
  display: block;
  width: auto;
  max-width: 190px;
  max-height: 42px;
}

.fx-header__actions {
  justify-content: flex-end;
  gap: 8px;
  min-width: 210px;
}

.fx-header__toggle {
  display: none;
}

.fx-header__drawer {
  border-top: 1px solid rgba(229, 231, 235, .72);
  background: rgba(255, 255, 255, .92);
}

.fx-header__drawer-inner {
  min-height: 56px;
  justify-content: space-between;
  gap: 24px;
}

.fx-header__catalog {
  flex: 1 1 auto;
  min-width: 0;
}

.fx-header__search {
  flex: 0 1 420px;
}

.fx-header__overlay {
  display: none;
}

html.fx-menu-open,
html.fx-menu-open body.fx-theme {
  overflow: hidden;
}

.fx-account .dropdown-menu,
.fx-dropdown,
.fx-cart__dropdown,
.fx-catalog-nav__dropdown,
.search-suggest {
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius-lg);
  box-shadow: var(--fx-shadow-card);
}

.fx-dropdown > li > a {
  padding: 9px 14px;
  color: var(--fx-text);
}

.fx-dropdown > li > a:hover,
.fx-dropdown > li > a:focus {
  background: var(--fx-bg-soft);
  color: var(--fx-text);
}

.is-scrolled .fx-header {
  box-shadow: 0 8px 30px rgba(17, 19, 24, .08);
}

/* Catalog navigation */
.fx-catalog-nav,
.fx-catalog-nav__list {
  min-width: 0;
}

.fx-catalog-nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fx-catalog-nav__item {
  position: relative;
}

.fx-catalog-nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: var(--fx-radius-md);
  color: var(--fx-text);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.fx-catalog-nav__link:hover,
.fx-catalog-nav__item.open > .fx-catalog-nav__link {
  background: var(--fx-bg-soft);
  color: var(--fx-text);
}

.fx-catalog-nav__dropdown {
  min-width: 260px;
  padding: 14px;
  background: var(--fx-surface);
}

.fx-catalog-nav__dropdown-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 8px 18px;
}

.fx-catalog-nav__children {
  margin: 0;
  padding: 0;
  list-style: none;
}

.fx-catalog-nav__children a,
.fx-catalog-nav__all {
  display: block;
  padding: 8px 9px;
  border-radius: var(--fx-radius-sm);
  color: var(--fx-text-muted);
  font-size: 14px;
}

.fx-catalog-nav__children a:hover,
.fx-catalog-nav__all:hover {
  background: var(--fx-bg-soft);
  color: var(--fx-text);
}

.fx-catalog-nav__all {
  margin-top: 10px;
  color: var(--fx-accent);
  font-weight: 650;
}

/* Buttons and controls */
.fx-btn,
.fx-theme .btn,
.fx-theme .button,
.fx-theme .button-group button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius-md);
  background: var(--fx-surface);
  color: var(--fx-text);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  box-shadow: none;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease, color .18s ease;
}

.fx-btn:hover,
.fx-theme .btn:hover,
.fx-theme .button:hover,
.fx-theme .button-group button:hover {
  border-color: var(--fx-border-strong);
  color: var(--fx-text);
  transform: translateY(-1px);
  box-shadow: var(--fx-shadow-soft);
}

.fx-btn--primary,
.fx-theme .btn-primary,
.fx-theme .btn-inverse {
  border-color: var(--fx-accent);
  background: var(--fx-accent);
  color: #fff;
}

.fx-btn--primary:hover,
.fx-theme .btn-primary:hover,
.fx-theme .btn-inverse:hover,
.fx-theme .btn-primary:focus,
.fx-theme .btn-inverse:focus {
  border-color: var(--fx-accent-hover);
  background: var(--fx-accent-hover);
  color: #fff;
}

.fx-btn--secondary {
  background: var(--fx-bg-soft);
}

.fx-btn--ghost {
  border-color: transparent;
  background: transparent;
}

.fx-icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--fx-border);
  border-radius: 50%;
  background: var(--fx-surface);
  color: var(--fx-text);
  line-height: 1;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease, color .18s ease;
}

.fx-icon-button:hover,
.fx-icon-button:focus {
  border-color: var(--fx-border-strong);
  background: var(--fx-bg-soft);
  color: var(--fx-text);
  transform: translateY(-1px);
}

.fx-icon-button--danger {
  color: var(--fx-danger);
}

.fx-theme input[type="text"],
.fx-theme input[type="email"],
.fx-theme input[type="tel"],
.fx-theme input[type="password"],
.fx-theme input[type="number"],
.fx-theme input[type="search"],
.fx-theme input[type="date"],
.fx-theme input[type="time"],
.fx-theme select,
.fx-theme textarea,
.fx-input,
.fx-select,
.fx-textarea {
  min-height: 44px;
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius-md);
  background: var(--fx-surface);
  color: var(--fx-text);
  box-shadow: none;
  font-size: 15px;
  line-height: 1.45;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.fx-theme textarea,
.fx-textarea {
  min-height: 120px;
  resize: vertical;
}

.fx-theme input:focus,
.fx-theme select:focus,
.fx-theme textarea:focus,
.fx-input:focus,
.fx-select:focus,
.fx-textarea:focus {
  border-color: rgba(15, 111, 255, .58);
  box-shadow: 0 0 0 4px rgba(15, 111, 255, .12);
}

.fx-theme input[type="checkbox"],
.fx-checkbox {
  accent-color: var(--fx-accent);
}

.fx-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 28px;
  cursor: pointer;
}

.fx-switch input {
  position: absolute;
  opacity: 0;
}

.fx-switch__track {
  position: relative;
  width: 48px;
  height: 28px;
  border-radius: 999px;
  background: var(--fx-border-strong);
  transition: background .18s ease;
}

.fx-switch__track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(17, 19, 24, .18);
  transition: transform .18s ease;
}

.fx-switch input:checked + .fx-switch__track {
  background: var(--fx-accent);
}

.fx-switch input:checked + .fx-switch__track::after {
  transform: translateX(20px);
}

/* Search */
.fx-search {
  position: relative;
  display: flex;
  width: 100%;
  max-width: 520px;
  margin: 0;
}

.fx-search.input-group {
  border-collapse: separate;
}

.fx-search__input.form-control {
  width: 100%;
  height: 48px;
  padding: 0 58px 0 16px;
  border-radius: 999px !important;
  background: var(--fx-bg-soft);
}

.fx-search__button-wrap {
  position: absolute;
  top: 50%;
  right: 2px;
  z-index: 3;
  transform: translateY(-50%);
}

.fx-search__button {
  width: 44px;
  height: 44px;
  border: 0;
  background: var(--fx-text);
  color: #fff;
}

.fx-search__button:hover,
.fx-search__button:focus {
  background: var(--fx-accent);
  color: #fff;
}

.search-suggest {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  z-index: 1060;
  overflow: hidden;
  background: var(--fx-surface);
}

.search-suggest[hidden] {
  display: none !important;
}

.search-suggest__item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 11px 12px;
  color: var(--fx-text);
}

.search-suggest__item:hover,
.search-suggest__item.is-active {
  background: var(--fx-bg-soft);
  color: var(--fx-text);
}

.search-suggest__thumb {
  width: 42px;
  height: 42px;
  border-radius: var(--fx-radius-md);
  background: var(--fx-bg-soft);
  object-fit: cover;
}

.search-suggest__name {
  min-width: 0;
  overflow: hidden;
  color: var(--fx-text);
  font-size: 14px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-suggest__price {
  color: var(--fx-text);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

/* Cart */
.fx-cart {
  display: inline-flex;
}

.fx-cart__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 14px;
  gap: 8px;
  border: 1px solid var(--fx-border);
  border-radius: 999px;
  background: var(--fx-text);
  color: #fff;
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
}

.fx-cart__button:hover,
.fx-cart.open .fx-cart__button {
  background: var(--fx-accent);
  color: #fff;
}

.fx-cart__dropdown {
  width: min(420px, calc(100vw - 28px));
  padding: 0;
  overflow: hidden;
  background: var(--fx-surface);
}

.fx-cart__table,
.fx-cart__totals {
  margin: 0;
}

.fx-cart__table > tbody > tr > td,
.fx-cart__totals > tbody > tr > td {
  padding: 12px;
  border-top: 1px solid var(--fx-border);
  vertical-align: middle;
}

.fx-cart__thumb img {
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: var(--fx-radius-md);
  object-fit: cover;
}

.fx-cart__name a {
  color: var(--fx-text);
  font-weight: 650;
}

.fx-cart__summary {
  padding: 12px;
  background: var(--fx-bg-soft);
}

.fx-cart__links {
  justify-content: flex-end;
  gap: 8px;
  margin-top: 12px;
}

.fx-cart__empty {
  margin: 0;
  padding: 24px;
  color: var(--fx-text-muted);
  text-align: center;
}

/* Cards and content components */
.fx-card,
.product-thumb,
.fx-modal,
.fx-drawer,
.fx-alert,
.fx-sticky-summary {
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius-lg);
  background: var(--fx-surface);
}

.fx-card,
.product-thumb {
  box-shadow: var(--fx-shadow-soft);
}

.fx-card {
  padding: 22px;
}

.product-thumb {
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.product-thumb:hover {
  border-color: var(--fx-border-strong);
  transform: translateY(-3px);
  box-shadow: var(--fx-shadow-card);
}

.product-thumb .image {
  display: block;
  overflow: hidden;
  background: var(--fx-bg-soft);
}

.product-thumb .image img {
  display: block;
  width: 100%;
  transition: transform .35s ease;
}

.product-thumb:hover .image img {
  transform: scale(1.025);
}

.product-thumb .caption {
  min-height: 0;
  padding: 16px 16px 8px;
}

.product-thumb .caption h4 {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 650;
}

.product-thumb .caption h4 a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--fx-text);
}

.product-thumb .caption p {
  color: var(--fx-text-muted);
  font-size: 13px;
  line-height: 1.5;
}

.product-thumb .button-group {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px 44px;
  gap: 8px;
  padding: 12px 16px 16px;
  border-top: 1px solid var(--fx-border);
  background: var(--fx-surface-elevated);
}

.product-thumb .button-group button {
  min-width: 0;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 999px;
}

.fx-badge,
.fx-theme .label {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 9px;
  border: 1px solid var(--fx-border);
  border-radius: 999px;
  background: var(--fx-bg-soft);
  color: var(--fx-text-muted);
  font-size: 12px;
  font-weight: 650;
}

.fx-theme .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--fx-text-muted);
  font-size: 13px;
}

.fx-theme .breadcrumb > li + li::before {
  padding: 0 2px 0 0;
  color: var(--fx-border-strong);
  content: "/";
}

.fx-theme .nav-tabs {
  border-bottom: 1px solid var(--fx-border);
}

.fx-theme .nav-tabs > li > a {
  border: 0;
  border-bottom: 2px solid transparent;
  color: var(--fx-text-muted);
  font-weight: 650;
}

.fx-theme .nav-tabs > li.active > a,
.fx-theme .nav-tabs > li.active > a:hover,
.fx-theme .nav-tabs > li.active > a:focus {
  border: 0;
  border-bottom: 2px solid var(--fx-accent);
  color: var(--fx-text);
}

.fx-accordion {
  border-top: 1px solid var(--fx-border);
}

.fx-accordion__item {
  border-bottom: 1px solid var(--fx-border);
}

.fx-accordion__button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
  padding: 14px 0;
  border: 0;
  background: transparent;
  color: var(--fx-text);
  font-weight: 650;
  text-align: left;
}

.fx-accordion__panel[hidden] {
  display: none;
}

.fx-alert,
.fx-theme .alert {
  padding: 14px 16px;
  border-radius: var(--fx-radius-md);
  color: var(--fx-text);
}

.fx-alert--success,
.fx-theme .alert-success {
  border-color: rgba(17, 132, 91, .25);
  background: rgba(17, 132, 91, .08);
}

.fx-alert--danger,
.fx-theme .alert-danger {
  border-color: rgba(217, 45, 32, .25);
  background: rgba(217, 45, 32, .08);
}

.fx-alert--warning,
.fx-theme .alert-warning {
  border-color: rgba(183, 121, 31, .3);
  background: rgba(183, 121, 31, .1);
}

.fx-modal,
.fx-drawer {
  box-shadow: var(--fx-shadow-card);
}

.fx-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1080;
  width: min(420px, 100vw);
  height: 100vh;
  transform: translateX(100%);
  transition: transform .24s ease;
}

.fx-drawer.is-open {
  transform: translateX(0);
}

.fx-skeleton {
  position: relative;
  overflow: hidden;
  min-height: 20px;
  border-radius: var(--fx-radius-sm);
  background: linear-gradient(90deg, #edf0f4 0%, #f7f8fa 50%, #edf0f4 100%);
  background-size: 220% 100%;
  animation: fx-skeleton 1.35s ease-in-out infinite;
}

@keyframes fx-skeleton {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

.fx-price-block {
  display: grid;
  gap: 6px;
}

.fx-price-block__label {
  color: var(--fx-text-muted);
  font-size: 12px;
  font-weight: 650;
  text-transform: uppercase;
}

.fx-price-block__value {
  color: var(--fx-text);
  font-size: 28px;
  line-height: 1.12;
  font-weight: 750;
}

.fx-section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.fx-section-header__title {
  margin: 0;
}

.fx-section-header__text {
  max-width: 560px;
  margin: 0;
  color: var(--fx-text-muted);
}

.fx-sticky-summary {
  position: sticky;
  top: calc(var(--fx-header-height) + 32px);
  padding: 18px;
  box-shadow: var(--fx-shadow-soft);
}

/* Bootstrap and page polish */
.fx-theme #top,
.fx-theme .page-header,
.fx-theme .container hr,
.fx-theme #content hr {
  border: 0;
  box-shadow: none;
}

.fx-theme .container {
  max-width: var(--fx-container);
}

.fx-theme .dropdown-menu {
  border-color: var(--fx-border);
  border-radius: var(--fx-radius-lg);
  box-shadow: var(--fx-shadow-card);
}

.fx-theme .table > thead > tr > th,
.fx-theme .table > tbody > tr > td {
  border-color: var(--fx-border);
}

.fx-theme .pagination > li > a,
.fx-theme .pagination > li > span {
  border-color: var(--fx-border);
  color: var(--fx-text);
}

.fx-theme .pagination > .active > span,
.fx-theme .pagination > .active > a,
.fx-theme .pagination > .active > span:hover,
.fx-theme .pagination > .active > a:hover {
  border-color: var(--fx-accent);
  background: var(--fx-accent);
}

.fx-cookie {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1090;
  padding: 16px 0;
  background: rgba(17, 19, 24, .92);
  color: #fff;
}

.fx-cookie__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.fx-cookie__info {
  color: rgba(255, 255, 255, .86);
}

.fx-cookie__info a {
  color: #fff;
  text-decoration: underline;
}

/* Footer */
.fx-footer {
  margin-top: 72px;
  padding: 54px 0 28px;
  border-top: 1px solid var(--fx-border);
  background: var(--fx-bg-soft);
}

.fx-footer__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}

.fx-footer__title {
  margin: 0 0 14px;
  color: var(--fx-text);
  font-size: 14px;
  font-weight: 700;
}

.fx-footer__links {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fx-footer__links a,
.fx-footer__powered,
.fx-footer__powered a {
  color: var(--fx-text-muted);
}

.fx-footer__links a:hover,
.fx-footer__powered a:hover {
  color: var(--fx-text);
}

.fx-footer__bottom {
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid var(--fx-border);
}

.fx-footer__powered {
  margin: 0;
  font-size: 13px;
}

/* Breakpoints */
@media (max-width: 1199px) {
  :root {
    --fx-container: 1080px;
  }

  .fx-display,
  .fx-theme .display-hero {
    font-size: 54px;
  }
}

@media (max-width: 1024px) {
  :root {
    --fx-header-height: 66px;
  }

  .fx-header__drawer-inner {
    gap: 14px;
  }

  .fx-header__search {
    flex-basis: 340px;
  }

  .fx-catalog-nav__list {
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
  }

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

@media (max-width: 768px) {
  :root {
    --fx-header-height: 64px;
  }

  .fx-shell {
    width: min(calc(100% - 24px), var(--fx-container));
  }

  .fx-display,
  .fx-theme .display-hero {
    font-size: 40px;
  }

  .fx-theme h1,
  .fx-h1 {
    font-size: 32px;
  }

  .fx-theme h2,
  .fx-h2 {
    font-size: 26px;
  }

  .fx-header__top {
    display: none;
  }

  .fx-header__main-inner {
    min-height: 64px;
  }

  .fx-header__main,
  .fx-header__drawer {
    position: relative;
    z-index: 2;
  }

  .fx-header__toggle {
    display: inline-flex;
  }

  .fx-header__actions {
    min-width: 0;
    gap: 6px;
  }

  .fx-header__actions .fx-account {
    display: none;
  }

  .fx-cart__total {
    max-width: 88px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .fx-header__drawer {
    max-height: 0;
    overflow: hidden;
    border-top: 0;
    transition: max-height .24s ease, border-color .24s ease;
  }

  .fx-header__drawer.is-open {
    max-height: calc(100vh - 64px);
    overflow: auto;
    border-top: 1px solid var(--fx-border);
  }

  .fx-header__drawer-inner {
    display: grid;
    gap: 16px;
    padding-top: 14px;
    padding-bottom: 18px;
  }

  .fx-header__search {
    order: -1;
    flex-basis: auto;
  }

  .fx-header__overlay {
    position: fixed;
    top: var(--fx-header-height);
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    display: block;
    width: 100%;
    height: calc(100vh - var(--fx-header-height));
    padding: 0;
    border: 0;
    background: rgba(17, 19, 24, .32);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity .22s ease, visibility .22s ease;
  }

  .fx-header__overlay.is-open {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
  }

  .fx-search {
    max-width: none;
  }

  .fx-catalog-nav__list {
    display: grid;
    gap: 6px;
    overflow: visible;
  }

  .fx-catalog-nav__link {
    width: 100%;
    justify-content: space-between;
    min-height: 44px;
  }

  .fx-catalog-nav__dropdown {
    position: static;
    float: none;
    width: 100%;
    margin: 4px 0 10px;
    box-shadow: none;
  }

  .product-thumb .button-group {
    grid-template-columns: minmax(0, 1fr) 44px 44px;
  }

  .fx-theme .dropdown-menu > li > a,
  .fx-theme .nav-tabs > li > a,
  .fx-checkout-steps .panel-title a,
  .fx-cart__links a {
    display: flex;
    min-height: 44px;
    align-items: center;
  }

  .fx-cart__button,
  .fx-cart__links .btn,
  .fx-cart-item__body h2 a,
  .fx-cart-item__qty .btn,
  .fx-checkout-steps .btn,
  .fx-checkout-steps button,
  .fx-checkout-steps input[type="button"],
  .fx-checkout-steps input[type="submit"] {
    min-width: 44px;
    min-height: 44px;
  }

  .fx-cart-item__body h2 a {
    display: inline-flex;
    align-items: center;
  }

  .product-thumb,
  .product-thumb .caption,
  .product-thumb .button-group,
  .fx-cart-item,
  .fx-checkout-steps .panel,
  .fx-checkout-steps .panel-body {
    min-width: 0;
    max-width: 100%;
  }

  .fx-section-header {
    display: grid;
    gap: 10px;
  }

  .fx-cookie__inner {
    display: grid;
  }
}

@media (max-width: 480px) {
  .fx-logo__image {
    max-width: 148px;
    max-height: 36px;
  }

  .fx-logo__text {
    font-size: 19px;
  }

  .fx-icon-button {
    width: 44px;
    height: 44px;
  }

  .fx-cart__button {
    min-height: 44px;
    padding: 0 12px;
  }

  .fx-cart__total {
    display: none;
  }

  .fx-footer__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .search-suggest__item {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .search-suggest__price {
    grid-column: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
.fx-header-static .fx-header {
  position: relative;
}

.fx-no-animations *,
.fx-no-animations *::before,
.fx-no-animations *::after {
  scroll-behavior: auto !important;
  transition-duration: .01ms !important;
  animation-duration: .01ms !important;
  animation-iteration-count: 1 !important;
}

.fx-header__email {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--fx-text-muted);
  white-space: nowrap;
}

.fx-home {
  background: var(--fx-bg);
}

.fx-home__content {
  min-height: 50vh;
}

.fx-hero {
  padding: clamp(52px, 8vw, 112px) 0 clamp(38px, 7vw, 86px);
  overflow: hidden;
}

.fx-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, .98fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.fx-hero__copy {
  display: grid;
  gap: 22px;
  max-width: 680px;
}

.fx-hero__subtitle {
  max-width: 620px;
  margin: 0;
  color: var(--fx-text-muted);
  font-size: 21px;
  line-height: 1.5;
}

.fx-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.fx-hero__media {
  overflow: hidden;
  border-radius: var(--fx-radius-2xl);
  background: var(--fx-bg-soft);
  box-shadow: var(--fx-shadow-card);
}

.fx-hero__media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.fx-home-section {
  padding: clamp(34px, 6vw, 76px) 0;
}

.fx-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.fx-feature-card {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 210px;
}

.fx-feature-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(15, 111, 255, .1);
  color: var(--fx-accent);
}

.fx-feature-card p,
.fx-step p,
.fx-final-cta p,
.fx-calculator-promo p,
.fx-accordion__panel p {
  margin: 0;
  color: var(--fx-text-muted);
}

.fx-collection-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.fx-collection-card {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 360px;
  border-radius: var(--fx-radius-xl);
  background: var(--fx-bg-soft);
  color: #fff;
  box-shadow: var(--fx-shadow-soft);
}

.fx-collection-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 19, 24, .05), rgba(17, 19, 24, .58));
}

.fx-collection-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.fx-collection-card:hover img {
  transform: scale(1.035);
}

.fx-collection-card__body {
  position: absolute;
  right: 22px;
  bottom: 22px;
  left: 22px;
  z-index: 1;
  display: grid;
  gap: 8px;
  color: #fff;
}

.fx-collection-card__body strong {
  font-size: 22px;
  line-height: 1.2;
}

.fx-collection-card__body span {
  color: rgba(255, 255, 255, .82);
}

.fx-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius-xl);
  background: var(--fx-surface);
  box-shadow: var(--fx-shadow-soft);
}

.fx-step {
  padding: 26px;
  border-right: 1px solid var(--fx-border);
}

.fx-step:last-child {
  border-right: 0;
}

.fx-step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--fx-text);
  color: #fff;
  font-weight: 700;
}

.fx-calculator-promo__inner,
.fx-final-cta__inner,
.fx-footer__brand,
.fx-footer__bottom,
.fx-footer__legal,
.fx-footer__social {
  display: flex;
  align-items: center;
}

.fx-calculator-promo__inner {
  justify-content: space-between;
  gap: 28px;
  padding: clamp(24px, 5vw, 46px);
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius-2xl);
  background: var(--fx-surface-elevated);
  box-shadow: var(--fx-shadow-soft);
}

.fx-calculator-promo__visual {
  display: grid;
  gap: 10px;
  width: min(280px, 34vw);
}

.fx-calculator-promo__visual span {
  display: block;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--fx-accent), rgba(15, 111, 255, .16));
}

.fx-calculator-promo__visual span:nth-child(2) {
  width: 72%;
}

.fx-calculator-promo__visual span:nth-child(3) {
  width: 44%;
}

.fx-seo-text {
  color: var(--fx-text-muted);
}

.fx-seo-text h2,
.fx-seo-text h3 {
  color: var(--fx-text);
}

.fx-final-cta__inner {
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: clamp(36px, 7vw, 72px);
  border-radius: var(--fx-radius-2xl);
  background: var(--fx-text);
  color: #fff;
  text-align: center;
}

.fx-final-cta__inner h2,
.fx-final-cta__inner p {
  color: #fff;
}

.fx-footer__brand {
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.fx-footer__brand-name {
  color: var(--fx-text);
  font-size: 24px;
  line-height: 1.15;
  font-weight: 750;
}

.fx-footer__description {
  max-width: 620px;
  margin-top: 10px;
  color: var(--fx-text-muted);
}

.fx-footer__social {
  gap: 8px;
}

.fx-footer__bottom {
  justify-content: space-between;
  gap: 18px;
}

.fx-footer__legal {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
}

.fx-footer__legal a {
  color: var(--fx-text-muted);
}

@media (max-width: 1024px) {
  .fx-feature-grid,
  .fx-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fx-step:nth-child(2n) {
    border-right: 0;
  }

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

@media (max-width: 768px) {
  .fx-hero__inner {
    grid-template-columns: 1fr;
  }

  .fx-hero__subtitle {
    font-size: 18px;
  }

  .fx-calculator-promo__inner,
  .fx-footer__brand,
  .fx-footer__bottom {
    display: grid;
  }

  .fx-calculator-promo__visual {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .fx-feature-grid,
  .fx-steps,
  .fx-collection-grid {
    grid-template-columns: 1fr;
  }

  .fx-step,
  .fx-step:nth-child(2n) {
    border-right: 0;
    border-bottom: 1px solid var(--fx-border);
  }

  .fx-step:last-child {
    border-bottom: 0;
  }

  .fx-collection-card {
    min-height: 280px;
  }
}

/* Freski storefront phase 2 */
.fx-page { padding: clamp(26px, 5vw, 56px) 0 0; background: var(--fx-bg); }
.fx-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: start; }
.fx-layout--with-left { grid-template-columns: 280px minmax(0, 1fr); }
.fx-layout--with-right { grid-template-columns: minmax(0, 1fr) 280px; }
.fx-layout--with-left.fx-layout--with-right { grid-template-columns: 250px minmax(0, 1fr) 250px; }
.fx-layout__aside { min-width: 0; }
.fx-layout__main { min-width: 0; max-width: 100%; }
.fx-page-heading { margin: 0 0 28px; }
.fx-page-heading h1 { margin-bottom: 0; }
.fx-page-heading h1 span { color: var(--fx-text-muted); font-size: 18px; font-weight: 500; }
.fx-prose { color: var(--fx-text-muted); font-size: 16px; line-height: 1.75; }
.fx-prose h2, .fx-prose h3 { color: var(--fx-text); }
.fx-prose img { border-radius: var(--fx-radius-xl); }
.fx-empty-state { display: grid; justify-items: start; gap: 18px; padding: 38px; border: 1px solid var(--fx-border); border-radius: var(--fx-radius-xl); background: var(--fx-surface-elevated); }

.fx-product-grid { display: grid; gap: 20px; }
.fx-product-grid--home { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fx-product-grid--desktop-1 { grid-template-columns: 1fr; }
.fx-product-grid--desktop-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fx-product-grid--desktop-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fx-product-grid--desktop-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fx-product-grid--desktop-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.fx-product-grid--desktop-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.fx-product-grid--elevated .product-thumb { box-shadow: var(--fx-shadow-card); }
.fx-product-grid--gallery .product-thumb .image img { aspect-ratio: 1 / 1.08; object-fit: cover; }

.fx-category__intro { display: grid; gap: 28px; margin-bottom: 30px; padding: clamp(26px, 5vw, 54px); border-radius: var(--fx-radius-2xl); background: var(--fx-bg-soft); }
.fx-category__intro--media { grid-template-columns: minmax(0, 1fr) minmax(260px, 420px); align-items: center; }
.fx-category__media { margin: 0; overflow: hidden; border-radius: var(--fx-radius-xl); background: var(--fx-surface); box-shadow: var(--fx-shadow-soft); }
.fx-category__media img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.fx-category__children { margin-bottom: 28px; }
.fx-category__child-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.fx-category__child-list a { display: inline-flex; min-height: 44px; align-items: center; padding: 8px 14px; border: 1px solid var(--fx-border); border-radius: 999px; background: var(--fx-surface); color: var(--fx-text); font-weight: 650; }
.fx-category__toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 22px; padding: 14px; border: 1px solid var(--fx-border); border-radius: var(--fx-radius-xl); background: var(--fx-surface); }
.fx-control { display: inline-flex; align-items: center; gap: 8px; margin: 0; color: var(--fx-text-muted); font-size: 13px; font-weight: 650; }
.fx-control select { min-width: 170px; }
.fx-category__pagination { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 28px; }
.fx-category__seo { margin-top: 44px; padding: 28px 0 0; border-top: 1px solid var(--fx-border); }

.fx-product-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr); gap: clamp(24px, 4vw, 52px); align-items: start; }
.fx-product-gallery__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.fx-product-gallery__main { grid-column: 1 / -1; }
.fx-product-gallery .thumbnail { display: block; margin: 0; padding: 0; overflow: hidden; border: 0; border-radius: var(--fx-radius-xl); background: var(--fx-bg-soft); box-shadow: none; }
.fx-product-gallery__main img { width: 100%; aspect-ratio: 1.08 / 1; object-fit: cover; }
.fx-product-gallery__thumb img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.fx-product-summary { position: relative; padding: 24px; border: 1px solid var(--fx-border); border-radius: var(--fx-radius-xl); background: var(--fx-surface); box-shadow: var(--fx-shadow-soft); }
.fx-product-summary--sticky { position: sticky; top: calc(var(--fx-header-height) + 28px); }
.fx-product-summary__actions { display: flex; justify-content: flex-end; gap: 8px; margin-bottom: 12px; }
.fx-product-meta { display: grid; gap: 6px; margin: 0 0 20px; padding: 0; list-style: none; color: var(--fx-text-muted); }
.fx-product-price { margin-bottom: 22px; padding-bottom: 20px; border-bottom: 1px solid var(--fx-border); }
.fx-product-summary #product { display: grid; gap: 14px; }
.fx-product-summary #product hr { display: none; }
.fx-product-summary #button-cart { min-height: 52px; border-radius: 999px; }
.fx-product-service { display: grid; gap: 10px; margin-top: 18px; color: var(--fx-text-muted); }
.fx-product-service p { display: flex; gap: 10px; margin: 0; }
.fx-product-page--fresco .fx-product-hero { margin-bottom: clamp(24px, 4vw, 44px); }
.fx-product-page--fresco .fx-product-price { margin-bottom: 18px; }
.fx-product-fresco-configurator { min-width: 0; max-width: 100%; }
.fx-product-fresco-configurator .fx-fresco-calculator { margin-top: 0; }
.fx-product-fresco-fallback { margin: 0; border-radius: var(--fx-radius-lg); }
.fx-product-details, .fx-product-section { margin-top: clamp(34px, 6vw, 72px); }
.fx-product-details { padding: 28px; border: 1px solid var(--fx-border); border-radius: var(--fx-radius-xl); background: var(--fx-surface); }
.fx-product-details .tab-content { padding-top: 24px; }
.fx-product-tags { margin-top: 28px; color: var(--fx-text-muted); }

.fx-cart-list { display: grid; gap: 14px; }
.fx-cart-item { display: grid; grid-template-columns: 96px minmax(0, 1fr) 190px 120px 120px; gap: 18px; align-items: center; min-width: 0; padding: 16px; border: 1px solid var(--fx-border); border-radius: var(--fx-radius-xl); background: var(--fx-surface); box-shadow: var(--fx-shadow-soft); }
.fx-cart-item__media img { width: 96px; height: 96px; border-radius: var(--fx-radius-lg); object-fit: cover; }
.fx-cart-item__body h2 { margin: 0 0 8px; font-size: 18px; }
.fx-cart-item__body { min-width: 0; }
.fx-cart-item__body h2 a { color: var(--fx-text); }
.fx-cart-item__model, .fx-cart-item__options { color: var(--fx-text-muted); font-size: 13px; }
.fx-cart-item__options { display: grid; gap: 4px; margin: 8px 0 0; padding: 0; list-style: none; }
.fx-cart-item__options span { display: inline-block; min-width: 92px; color: var(--fx-text); font-weight: 650; }
.fx-cart-item__price span, .fx-cart-item__total span { display: block; color: var(--fx-text-muted); font-size: 12px; }
.fx-cart-item__price strong, .fx-cart-item__total strong { font-size: 16px; }
.fx-cart-summary { width: min(420px, 100%); margin: 26px 0 0 auto; padding: 22px; border: 1px solid var(--fx-border); border-radius: var(--fx-radius-xl); background: var(--fx-surface-elevated); box-shadow: var(--fx-shadow-soft); }
.fx-cart-summary .table { width: 100%; margin: 0 0 18px; table-layout: fixed; }
.fx-cart-summary .table td { border: 0; padding: 8px 0; }
.fx-cart-summary .table td:last-child { text-align: right; font-weight: 700; }
.fx-cart-summary__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fx-cart-page__modules { margin-top: 28px; }

.fx-checkout-steps { display: grid; gap: 14px; }
.fx-checkout-steps .panel { overflow: hidden; border: 1px solid var(--fx-border); border-radius: var(--fx-radius-xl); box-shadow: var(--fx-shadow-soft); }
.fx-checkout-steps .panel-heading { padding: 0; border: 0; background: var(--fx-surface-elevated); }
.fx-checkout-steps .panel-title { display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 0 18px; font-size: 16px; }
.fx-checkout-steps .panel-title span { display: inline-flex; width: 30px; height: 30px; align-items: center; justify-content: center; border-radius: 50%; background: var(--fx-text); color: #fff; font-size: 13px; }
.fx-checkout-steps .panel-title a { color: var(--fx-text); }
.fx-checkout-steps .panel-body { padding: 22px; }
.fx-checkout-steps .panel-body,
.fx-checkout-steps .table,
.fx-checkout-steps .table-responsive {
  max-width: 100%;
}
.fx-checkout-steps .table {
  table-layout: fixed;
}
.fx-checkout-steps .input-group,
.fx-cart-item__qty .input-group {
  display: flex;
  max-width: 100%;
}
.fx-checkout-steps .input-group .form-control,
.fx-cart-item__qty .input-group .form-control {
  flex: 1 1 auto;
  min-width: 0;
}
.fx-checkout-steps .input-group-btn,
.fx-cart-item__qty .input-group-btn {
  display: inline-flex;
  flex: 0 0 auto;
}
.fx-checkout-steps .btn,
.fx-cart-item__qty .btn {
  min-width: 44px;
}

.fx-info-page__content, .fx-contact-form, .fx-contact-locations { padding: 28px; border: 1px solid var(--fx-border); border-radius: var(--fx-radius-xl); background: var(--fx-surface); box-shadow: var(--fx-shadow-soft); }
.fx-contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-bottom: 28px; }
.fx-contact-grid__image { grid-column: 1 / -1; overflow: hidden; border-radius: var(--fx-radius-2xl); background: var(--fx-bg-soft); }
.fx-contact-grid__image img { width: 100%; max-height: 360px; object-fit: cover; }
.fx-contact-card { display: grid; gap: 10px; align-content: start; }
.fx-contact-card address, .fx-contact-card p { margin: 0; color: var(--fx-text-muted); }
.fx-contact-card a:not(.fx-btn) { color: var(--fx-text); font-weight: 650; }
.fx-contact-form legend { margin-bottom: 22px; border-color: var(--fx-border); color: var(--fx-text); font-weight: 700; }
.fx-contact-form .buttons { margin-top: 16px; }

.fx-theme .alert,
.fx-theme .help-block,
.fx-theme .text-danger,
.fx-prose,
.fx-product-details,
.fx-cart-item__options li,
.fx-checkout-steps .panel-body {
  overflow-wrap: anywhere;
}

.fx-prose table,
.fx-product-details table,
.fx-checkout-steps table {
  width: 100%;
  max-width: 100%;
  table-layout: fixed;
}

.fx-prose td,
.fx-prose th,
.fx-product-details td,
.fx-product-details th,
.fx-checkout-steps td,
.fx-checkout-steps th {
  min-width: 0;
  overflow-wrap: anywhere;
}

.fx-theme button,
.fx-theme [type="button"],
.fx-theme [type="submit"],
.fx-theme .btn,
.fx-theme .fx-btn,
.fx-theme .fx-icon-button,
.fx-theme a {
  touch-action: manipulation;
}

.fx-theme .img-thumbnail {
  max-width: 100%;
  height: auto;
}

@media (max-width: 1024px) {
  .fx-layout, .fx-layout--with-left, .fx-layout--with-right, .fx-layout--with-left.fx-layout--with-right, .fx-product-hero { grid-template-columns: 1fr; }
  .fx-product-grid--tablet-1 { grid-template-columns: 1fr; }
  .fx-product-grid--tablet-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fx-product-grid--tablet-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fx-product-grid--tablet-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .fx-product-grid--home { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fx-cart-item { grid-template-columns: 86px minmax(0, 1fr) 170px; }
  .fx-cart-item__price, .fx-cart-item__total { grid-column: span 1; }
  .fx-contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .fx-page { padding-top: 22px; }
  .fx-category__intro--media, .fx-product-grid, .fx-product-grid--home, .fx-product-grid--mobile-1 { grid-template-columns: 1fr; }
  .fx-product-grid--mobile-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fx-category__toolbar, .fx-category__pagination { display: grid; align-items: stretch; }
  .fx-control { display: grid; }
  .fx-control select { width: 100%; min-width: 0; }
  .fx-product-page--fresco .fx-product-hero { gap: 18px; }
  .fx-product-page--fresco .fx-product-summary { padding: 18px; }
  .fx-product-summary--sticky { position: relative; top: auto; }
  .fx-cart-item { grid-template-columns: 72px minmax(0, 1fr); }
  .fx-cart-item__media img { width: 72px; height: 72px; }
  .fx-cart-item__qty, .fx-cart-item__price, .fx-cart-item__total { grid-column: 1 / -1; }
  .fx-cart-summary { margin-left: 0; }
  .fx-cart-summary__actions { grid-template-columns: 1fr; }
}
/* End Freski storefront phase 2 */
