:root {
  --color-primary: #c4301c;
  --color-black: #000000;
  --color-dark: #1a1a1a;
  --color-text: #1c1d22;
  --color-text-secondary: #6d7178;
  --color-text-muted: #7e7e7e;
  --color-bg-light: #f9f9fa;
  --color-bg-gray: #ededed;
  --color-bg-neutral: #eeeff1;
  --color-border: #e3e5e8;
  --color-announcement: #ffe3e1;
  --color-success: #0d804a;
  --color-success-dot: #12b76a;
  --font-body: 'Inter', sans-serif;
  --font-heading: 'Playfair Display', serif;
  --container-max: 1330px;
  --radius-sm: 10px;
  --radius-md: 12px;
}

* {
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--color-primary);
}

.container-medexy {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: 15px;
  padding-right: 15px;
}

@media (min-width: 1400px) {
  .container-medexy {
    padding-left: 0;
    padding-right: 0;
  }
}

/* Announcement bar */
.announcement-bar {
  background: var(--color-announcement);
  padding: 9px 0;
  font-size: 14px;
  line-height: 24px;
}

.announcement-bar .carousel-item {
  text-align: center;
}

.announcement-bar .carousel-control-prev,
.announcement-bar .carousel-control-next {
  width: 22px;
  opacity: 1;
}

.announcement-bar .carousel-control-prev-icon,
.announcement-bar .carousel-control-next-icon {
  background: none;
  width: 16px;
  height: 16px;
}

/* Top bar */
.top-bar {
  background: var(--color-black);
  color: #fff;
  font-size: 12px;
  line-height: 18px;
  letter-spacing: -0.16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.top-bar a {
  color: #fff;
}

.top-bar a:hover {
  color: rgba(255, 255, 255, 0.8);
}

.top-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 38px;
}

.top-bar__left {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.top-bar__nav {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: nowrap;
}

.top-bar__contact {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  white-space: nowrap;
}

.top-bar__contact--email {
  gap: 12px;
}

.top-bar__contact img {
  flex-shrink: 0;
  display: block;
}

.top-bar__link {
  white-space: nowrap;
}

.top-bar__badges {
  display: flex;
  align-items: center;
  gap: 16px;
}

.top-bar__badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.top-bar__badge img {
  flex-shrink: 0;
  display: block;
}

.top-bar__selects {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.top-bar__select {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.top-bar__select img {
  width: 10px;
  height: 10px;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
}

/* Main header */
.main-header {
  padding: 16px 0 8px;
  background: #fff;
}

.main-header__logo img {
  height: 42px;
  width: auto;
}

.search-form {
  position: relative;
}

.search-form-wrap {
  position: relative;
  z-index: 1040;
}

.search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  width: 100%;
  min-width: 0;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 32px rgba(15, 22, 36, 0.12);
  overflow: hidden;
}

.search-dropdown__loading,
.search-dropdown__empty {
  padding: 24px 16px;
  text-align: center;
  font-size: 14px;
  color: var(--color-text-secondary);
}

.search-dropdown__list {
  list-style: none;
  margin: 0;
  padding: 8px 0;
  max-height: 320px;
  overflow-x: hidden;
  overflow-y: auto;
}

.search-dropdown__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 16px;
  min-width: 0;
  text-decoration: none;
  color: var(--color-text);
  transition: background 0.15s ease;
}

.search-dropdown__item:hover,
.search-dropdown__item.is-active {
  background: var(--color-bg-light);
}

.search-dropdown__item-media {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-dropdown__item-media img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.search-dropdown__item-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.search-dropdown__item-title {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.search-dropdown__item-brand {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.3;
  color: var(--color-text-secondary);
  text-transform: uppercase;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-dropdown__item-price {
  flex: 0 0 auto;
  align-self: center;
  min-width: 72px;
  max-width: 96px;
  padding-left: 8px;
  text-align: right;
  white-space: nowrap;
}

.search-dropdown__item-price-current {
  display: block;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  color: var(--color-primary);
}

.search-dropdown__item-price-old {
  display: block;
  font-size: 12px;
  line-height: 16px;
  color: var(--color-text-secondary);
  text-decoration: line-through;
}

.search-dropdown__footer {
  padding: 12px 16px;
  border-top: 1px solid var(--color-border);
  background: #fff;
}

.search-dropdown__all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  color: var(--color-text);
  text-decoration: none;
}

.search-dropdown__all:hover {
  color: var(--color-primary);
}

.search-form__input {
  background: var(--color-bg-gray);
  border: 1px solid var(--color-bg-gray);
  border-radius: var(--radius-sm);
  height: 50px;
  padding: 0 90px 0 48px;
  font-size: 15px;
  width: 100%;
}

.search-form__input::placeholder {
  color: rgba(0, 0, 0, 0.5);
}

.search-form__input:focus {
  box-shadow: none;
  border-color: var(--color-bg-gray);
  background: var(--color-bg-gray);
}

.search-form__icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
}

.search-form__btn {
  position: absolute;
  right: 4px;
  top: 4px;
  bottom: 4px;
  background: var(--color-black);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 0 18px;
  font-size: 14px;
  font-weight: 600;
}

.search-form__btn:hover {
  background: var(--color-dark);
  color: #fff;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-left: auto;
}

.main-header__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--color-bg-gray);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  flex-shrink: 0;
}

.header-menu-toggle img {
  width: 24px;
  height: 24px;
}

.main-header__actions-col {
  margin-left: auto !important;
}

.header-actions__icon-btn {
  width: 42px;
  height: 42px;
  border: 1px solid var(--color-bg-gray);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.header-actions__icon-btn img {
  width: 24px;
  height: 24px;
}

.header-actions__icon-btn--cart {
  position: relative;
  background: var(--color-bg-gray);
}

.header-actions__link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-actions__text-top {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
}

.header-actions__text-bottom {
  font-size: 10px;
  opacity: 0.7;
  line-height: 1.2;
}

/* Navigation */
.main-nav {
  padding: 0;
  background: #fff;
  position: relative;
  z-index: 50;
  box-shadow:
    0 1px 3px rgba(15, 22, 36, 0.06),
    0 4px 12px rgba(15, 22, 36, 0.04);
}

main {
  background: #fff;
}

.main-nav__row {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.main-nav__catalog-wrap {
  padding-top: 4px;
  width: 269px;
  flex-shrink: 0;
}

.main-nav__catalog {
  background: var(--color-black);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  padding: 12px 12px 16px;
  display: flex;
  align-items: center;
  width: 100%;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: -0.2px;
  min-width: 0;
}

.main-nav__menu-icon {
  flex-shrink: 0;
  opacity: 0.8;
}

.main-nav__catalog-text {
  flex: 1;
  padding: 0 8px;
  opacity: 0.9;
  text-align: left;
}

.main-nav__chevron {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  opacity: 0.7;
  display: block;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.main-nav__chevron-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 24px;
  padding-right: 4px;
  flex-shrink: 0;
}

.main-nav__link--dropdown {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding-right: 8px;
}

.main-nav__link--dropdown .main-nav__link-text {
  padding: 0 8px;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown__toggle {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.nav-dropdown.is-open .nav-dropdown__toggle {
  background: var(--color-bg-light);
  color: var(--color-text);
}

.nav-dropdown.is-open .main-nav__chevron {
  transform: rotate(180deg);
}

.nav-dropdown__menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 248px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  box-shadow:
    0 4px 12px rgba(15, 22, 36, 0.08),
    0 1px 3px rgba(15, 22, 36, 0.06);
  padding: 8px 0;
  z-index: 60;
}

.nav-dropdown.is-open .nav-dropdown__menu {
  display: block;
}

.nav-dropdown__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-dropdown__list a {
  display: block;
  padding: 10px 16px;
  font-size: 15px;
  font-weight: 500;
  line-height: 22px;
  letter-spacing: -0.1px;
  color: var(--color-text);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-dropdown__list a:hover {
  background: var(--color-bg-light);
  color: var(--color-text);
}

.main-nav__links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  padding-top: 4px;
  gap: 0;
}

.main-nav__links-menu {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
}

.main-nav__links-menu > li {
  list-style: none;
}

.main-nav__links-menu > li::marker {
  content: none;
}

@media (min-width: 1200px) {
  .main-nav__links {
    flex: 1;
    min-width: 0;
    flex-wrap: nowrap;
  }

  .main-nav__links-menu {
    flex: 1;
    min-width: 0;
    flex-wrap: nowrap;
  }
}

.main-nav__link {
  padding: 12px;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: -0.2px;
  color: var(--color-text);
  border-radius: var(--radius-md);
  white-space: nowrap;
  opacity: 0.9;
}

.main-nav__link:hover {
  background: var(--color-bg-light);
  color: var(--color-text);
}

.main-nav__link--sale {
  color: #c7301d;
  display: inline-flex;
  align-items: center;
  gap: 0;
}

.main-nav__link--sale img {
  width: 24px;
  height: 24px;
  opacity: 0.8;
}

.main-nav__catalog {
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.main-nav.is-catalog-open .main-nav__catalog {
  background: var(--color-dark);
}

.main-nav.is-catalog-open .main-nav__chevron-wrap--catalog .main-nav__chevron {
  transform: rotate(180deg);
}

.main-nav__chevron-wrap--catalog .main-nav__chevron {
  transition: transform 0.2s ease;
}

/* Mega menu */
.mega-menu {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: #fff;
  border-top: 1px solid var(--color-border);
  padding: 32px 0 40px;
  box-shadow: 0 12px 24px rgba(15, 22, 36, 0.08);
}

.main-nav.is-catalog-open .mega-menu {
  display: block;
}

.mega-menu__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px;
}

.mega-menu__heading {
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  margin-bottom: 20px;
}

.mega-menu__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mega-menu__list li + li {
  margin-top: 14px;
}

.mega-menu__list a {
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: -0.2px;
  color: var(--color-text);
  transition: color 0.2s ease;
}

.mega-menu__list a:hover {
  color: var(--color-primary);
}

.mega-menu__view-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 24px;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  color: var(--color-text);
  transition: color 0.2s ease;
}

.mega-menu__view-all:hover {
  color: var(--color-primary);
}

.mega-menu__view-all img {
  width: 16px;
  height: 16px;
}

.mega-menu__meta {
  margin: 24px 0 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: var(--color-text);
}

/* Hero slider */
.hero-slider-wrap {
  position: relative;
}

.hero-slider {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-bg-neutral);
  height: 532px;
}

.hero-slider__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  pointer-events: none;
  z-index: 1;
}

.hero-slider__slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
}

.hero-slider__bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  transform: scaleX(-1);
}

.hero-slider__content {
  position: relative;
  z-index: 2;
  padding: 64px 70px;
  max-width: 550px;
}

.hero-slider__title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.3;
  letter-spacing: -0.8px;
  margin-bottom: 12px;
}

.hero-slider__text {
  font-size: 16px;
  line-height: 24px;
  opacity: 0.7;
  margin-bottom: 24px;
}

.hero-slider__btn {
  background: var(--color-bg-light);
  color: var(--color-text);
  border: none;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 16px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-slider__btn img {
  width: 18px;
  height: 18px;
}

.hero-slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.hero-slider__arrow-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #e4e8ec;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 2px 4px rgba(15, 22, 36, 0.05),
    0 2px 1px rgba(61, 88, 143, 0.04);
  transition: background 0.2s ease;
}

.hero-slider__arrow:hover .hero-slider__arrow-circle {
  background: var(--color-bg-light);
}

.hero-slider__arrow img {
  width: 10px;
  height: 15px;
  display: block;
}

.hero-slider__arrow--prev {
  left: -25px;
}

.hero-slider__arrow--next {
  right: -25px;
}

.hero-slider__arrow--next img {
  transform: scaleX(-1);
}

.hero-slider__dots {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 3;
  display: flex;
  gap: 7px;
  background: #fff;
  border-radius: 20px;
  padding: 4px 6px;
}

.hero-slider__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: #fff;
  padding: 0;
}

.hero-slider__dot.active {
  background: var(--color-black);
  border-color: var(--color-black);
}

/* Brands */
.brands-section {
  padding: 40px 0;
}

.brands-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.brands-row img {
  max-height: 62px;
  height: auto;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.85;
  transition: opacity 0.2s;
}

.brands-row img:hover {
  opacity: 1;
  filter: none;
}

/* Section headings */
.section-heading {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 500;
  letter-spacing: -0.6px;
  line-height: 1.2;
  margin-bottom: 20px;
}

.section-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 16px;
  font-weight: 400;
  color: var(--color-text);
}

.section-link img {
  width: 16px;
  height: 16px;
}

/* Category cards */
.category-grid > [class*="col-"] {
  display: flex;
}

.category-card {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--color-bg-light);
  aspect-ratio: 319 / 425;
  display: block;
  width: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(15, 22, 36, 0.1);
}

.category-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.category-card:hover img {
  transform: scale(1.04);
}

.category-card--cream img {
  transform: scale(1.12);
  object-position: 55% 45%;
}

.category-card--cream:hover img {
  transform: scale(1.16);
}

.category-card__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
  color: #fff;
}

.category-card__title {
  font-size: 24px;
  font-weight: 600;
  line-height: 28px;
  margin-bottom: 4px;
}

.category-card__count {
  font-size: 16px;
  opacity: 0.9;
}

.category-card--sale {
  background: #c4301c;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.category-card--sale:hover {
  background: #b02a18;
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(196, 48, 28, 0.25);
}

.category-card--sale .sale-badge {
  text-align: center;
  color: #fff;
  font-weight: 600;
  line-height: 1;
}

.category-card--sale .sale-badge__num {
  font-size: clamp(80px, 12vw, 150px);
}

.category-card--sale .sale-badge__off {
  font-size: clamp(40px, 6vw, 72px);
}

/* Product cards */
.product-card {
  background: #fff;
  border-radius: var(--radius-sm);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-card__image-wrap {
  position: relative;
  background: var(--color-bg-light);
  padding: 20px;
  text-align: center;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card__image-wrap img {
  max-height: 180px;
  object-fit: contain;
}

.product-card__wishlist {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.product-card__wishlist img {
  width: 20px;
  height: 20px;
}

.product-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--color-primary);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 4px;
}

.product-card__body {
  padding: 16px 16px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card__brand {
  font-size: 14px;
  color: var(--color-text-secondary);
  margin-bottom: 4px;
}

.product-card__title {
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-success);
  margin-bottom: 12px;
}

.product-card__status-dot {
  width: 8px;
  height: 8px;
  border-radius: 3px;
  background: var(--color-success-dot);
}

.product-card__price {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  margin-top: auto;
}

.product-card__price-current {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-primary);
}

.product-card__price-old {
  font-size: 15px;
  color: var(--color-text-muted);
  text-decoration: line-through;
}

.btn-add-cart {
  background: var(--color-black);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 16px;
  font-weight: 500;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-add-cart:hover {
  background: #333;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

.btn-add-cart:active {
  transform: translateY(0);
  box-shadow: none;
}

.btn-add-cart img {
  width: 16px;
  height: 16px;
}

/* Promo banners */
.promo-banner {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  min-height: 260px;
  height: 100%;
  display: flex;
  align-items: center;
}

.promo-banner--beige {
  background: #ebdabf;
}

.promo-banner--purple {
  background: linear-gradient(180deg, #a996ac 0%, #bfacb0 50%, #bfaac0 100%);
}

.promo-banner--has-image {
  background-image: var(--promo-banner-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.promo-banner--beige.promo-banner--has-image {
  background-color: transparent;
}

.promo-banner--purple.promo-banner--has-image {
  background: var(--promo-banner-bg) center / cover no-repeat;
}

.promo-banner__content {
  position: relative;
  z-index: 2;
  padding: 36px;
  max-width: 65%;
  color: var(--color-text);
}

.promo-banner--purple .promo-banner__content {
  color: #fff;
}

.promo-banner__label {
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 8px;
}

.promo-banner__title {
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.8px;
  margin-bottom: 12px;
}

.promo-banner__text {
  font-size: 14px;
  line-height: 21px;
  margin-bottom: 16px;
  opacity: 0.9;
}

.promo-banner__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 500;
}

.promo-banner__link img {
  width: 16px;
  height: 16px;
}

/* Pro offers section */
.pro-offers__title {
  text-align: center;
  font-size: 32px;
  font-weight: 600;
  line-height: 42px;
  letter-spacing: -0.5px;
  margin-bottom: 24px;
}

.pro-offers__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 32px;
}

.pro-offers__pills .benefit-pill {
  background: var(--color-announcement);
}

.pro-offers__stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
}

.pro-offer-card {
  display: flex;
  align-items: stretch;
  background: #fff;
  border: 2px solid #f4f4f4;
  border-radius: var(--radius-sm);
  min-height: 192px;
  overflow: hidden;
}

.pro-offer-card__media {
  width: 140px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 8px 12px 16px;
}

.pro-offer-card__media img {
  max-height: 150px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.pro-offer-card__body {
  flex: 1;
  min-width: 0;
  padding: 16px 16px 16px 8px;
  display: flex;
  flex-direction: column;
}

.pro-offer-card__brand {
  font-size: 14px;
  line-height: 20px;
  color: var(--color-text-secondary);
  margin-bottom: 4px;
}

.pro-offer-card__title {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.3px;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pro-offer-card__price {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  margin-bottom: 12px;
}

.pro-offer-card__price-current {
  font-size: 20px;
  font-weight: 700;
  line-height: 22.5px;
  color: var(--color-text);
}

.pro-offer-card__price-current--sale {
  color: var(--color-primary);
}

.pro-offer-card__price-old {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: line-through;
}

.pro-offer-card__btn {
  width: 100%;
  max-width: 235px;
  min-height: 36px;
  padding: 6px 12px;
  font-size: 16px;
}

.pro-offers__banner {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  min-height: 295px;
}

.pro-offers__banner--pink {
  min-height: 296px;
}

.pro-offers__banner--black {
  background: #000;
  color: #fff;
}

.pro-offers__banner--pink {
  background: #ffe4e6;
  color: var(--color-text);
}

.pro-offers__banner-content {
  position: relative;
  z-index: 2;
  padding: 30px;
  max-width: 72%;
}

.pro-offers__banner-label {
  font-size: 13px;
  font-weight: 500;
  line-height: 15.6px;
  letter-spacing: -0.4px;
  margin-bottom: 8px;
}

.pro-offers__banner-title {
  font-size: 28px;
  font-weight: 600;
  line-height: 33.6px;
  letter-spacing: -0.7px;
  margin-bottom: 18px;
}

.pro-offers__banner-text {
  font-size: 14px;
  line-height: 21px;
  letter-spacing: -0.16px;
  margin-bottom: 18px;
  max-width: 220px;
}

.pro-offers__banner-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 500;
  line-height: 19.5px;
  letter-spacing: -0.16px;
  color: #fff;
}

.pro-offers__banner-link--dark {
  color: var(--color-text);
}

.pro-offers__banner-link img {
  width: 16px;
  height: 16px;
}

.pro-offers__banner-image {
  position: absolute;
  right: 0;
  bottom: 0;
  height: 100%;
  width: auto;
  max-width: 52%;
  object-fit: cover;
  object-position: bottom right;
  pointer-events: none;
}

.pro-offers__banner--pink .pro-offers__banner-image {
  border-bottom-right-radius: 12px;
}

/* Benefits pills */
.benefits-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  padding: 24px 0;
}

.benefit-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-bg-light);
  border-radius: var(--radius-sm);
  padding: 9px 21px;
  font-size: 15px;
  font-weight: 500;
}

.benefit-pill img {
  width: 20px;
  height: 20px;
}

/* Offer cards */
.offer-card {
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-sm);
  padding: 30px;
  height: 100%;
}

.offer-card__title {
  font-size: 23px;
  font-weight: 600;
  margin-bottom: 8px;
}

.offer-card__text {
  font-size: 15px;
  color: var(--color-text-secondary);
  margin-bottom: 20px;
}

.offer-card__divider {
  border-top: 1px solid #d1d5db;
  padding-top: 20px;
}

.offer-card__product-img {
  width: 133px;
  height: 133px;
  object-fit: contain;
  margin-bottom: 16px;
}

.offer-card__product-brand {
  font-size: 12px;
  color: var(--color-text-secondary);
}

.offer-card__product-title {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 8px;
}

.offer-card__price {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 12px;
}

.offer-card .btn-add-cart {
  max-width: 235px;
  padding: 8px 12px;
  font-size: 14px;
}

/* About section */
.about-section {
  background: var(--color-bg-light);
  border-bottom: 1px solid var(--color-bg-neutral);
}

.about-section__title {
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.6px;
  margin-bottom: 20px;
}

.about-section__text p {
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 12px;
}

.about-section__image {
  border-radius: var(--radius-md);
  overflow: hidden;
}

.about-section__image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* Trust section */
.trust-section {
  background: var(--color-black);
  color: #fff;
  padding: 40px 0;
}

.trust-card__icon {
  width: 24px;
  height: 24px;
  margin-bottom: 12px;
}

.trust-card__title {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 4px;
}

.trust-card__text {
  font-size: 14px;
  opacity: 0.7;
  line-height: 20px;
  margin: 0;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--color-border);
  border-radius: 50px 50px 0 0;
  overflow: hidden;
}

.footer-main {
  padding: 64px 0 48px;
}

.footer-logo img {
  height: 42px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 48px;
  height: 48px;
  border: 1px solid #e5e5e5;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-social a img {
  width: 24px;
  height: 24px;
}

.footer-col__title {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 12px;
}

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

.footer-col li {
  margin-bottom: 8px;
}

.footer-col a,
.footer-col p {
  font-size: 16px;
  color: var(--color-text-secondary);
  margin: 0;
}

.footer-col a:hover {
  color: var(--color-text);
}

.footer-contact-item {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin-bottom: 8px;
}

.footer-contact-item img {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-hours-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  font-size: 16px;
  margin-bottom: 8px;
}

.footer-hours-row span:first-child {
  color: var(--color-text-secondary);
}

.newsletter-box {
  background: var(--color-bg-neutral);
  border-radius: var(--radius-sm);
  padding: 24px;
}

.newsletter-box__title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 4px;
}

.newsletter-box__text {
  font-size: 14px;
  color: var(--color-text-secondary);
  margin-bottom: 20px;
}

.newsletter-box__input-wrap {
  position: relative;
  margin-bottom: 10px;
}

.newsletter-box__input-wrap img {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
}

.newsletter-box__input {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 12px 12px 12px 44px;
  font-size: 16px;
}

.newsletter-box__btn {
  width: 100%;
  background: var(--color-dark);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 12px;
  font-size: 16px;
  font-weight: 500;
}

.newsletter-box__btn:hover {
  background: var(--color-black);
  color: #fff;
}

.footer-logos {
  border-top: 1px solid var(--color-bg-neutral);
  padding: 28px 0;
}

.footer-logos__group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logos__group img {
  height: 24px;
  width: auto;
  max-width: none;
  flex-shrink: 0;
  object-fit: contain;
}

.footer-logos__dot {
  width: 6px;
  height: 6px;
  background: #d9d9d9;
  border-radius: 50%;
  flex-shrink: 0;
}

.footer-bottom {
  background: var(--color-bg-neutral);
  padding: 40px 0;
  font-size: 15px;
}

.footer-bottom__dev img {
  height: 25px;
  width: 67px;
  object-fit: contain;
}

/* Mobile menu */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--color-bg-gray);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
}

.mobile-menu-toggle img {
  width: 24px;
  height: 24px;
}

/* Responsive */
@media (max-width: 1199.98px) {
  .header-menu-toggle {
    display: inline-flex;
  }

  .main-nav__catalog-wrap {
    width: 100%;
    padding-top: 0;
  }

  .main-nav__catalog {
    min-width: auto;
    width: 100%;
    border-radius: var(--radius-sm);
    margin-bottom: 0;
    padding: 12px;
  }

  .main-nav.is-catalog-open .main-nav__catalog {
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    margin-bottom: 0;
  }

  .mega-menu {
    position: static;
    border-top: none;
    box-shadow: none;
    padding: 0 0 12px;
    margin-bottom: 8px;
  }

  .mega-menu__grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 20px 0 8px;
    border-top: 1px solid var(--color-border);
  }

  .main-nav__links {
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    padding-bottom: 12px;
  }

  .main-nav__links.show {
    display: flex;
  }

  .main-nav__link {
    padding: 10px 12px;
  }

  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown__toggle {
    width: 100%;
    justify-content: space-between;
  }

  .nav-dropdown__menu {
    position: static;
    min-width: 0;
    margin: 0 0 4px;
    padding: 4px 0 8px;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }

  .nav-dropdown__list a {
    padding: 8px 12px 8px 24px;
    font-size: 15px;
  }

  .mobile-menu-toggle {
    display: none !important;
  }

  .hero-slider__content {
    padding: 40px 24px;
  }

  .hero-slider__arrow {
    display: none;
  }

  .hero-slider {
    height: 400px;
  }

  .promo-banner__content {
    max-width: 100%;
    padding: 24px;
  }
}

@media (max-width: 991.98px) {
  .mega-menu__grid {
    gap: 24px;
  }

  .top-bar {
    display: none;
  }

  .header-actions__text {
    display: none;
  }

  .brands-row {
    justify-content: center;
  }

  .brands-row img {
    max-height: 40px;
  }

  .footer-logos__group {
    justify-content: center;
  }
}

@media (max-width: 767.98px) {
  .search-form {
    order: 3;
    width: 100%;
    margin-top: 12px;
  }

  .main-header .row {
    row-gap: 0;
  }

  .main-header__actions-col {
    margin-left: auto !important;
  }

  .hero-slider {
    height: 320px;
  }

  .category-card {
    aspect-ratio: 4 / 5;
  }

  .site-footer {
    border-radius: 24px 24px 0 0;
  }

  .footer-main {
    padding: 40px 0 32px;
  }

  .benefits-pills {
    flex-direction: column;
    align-items: stretch;
  }

  .benefit-pill {
    justify-content: center;
  }

  .pro-offers__title {
    font-size: 26px;
    line-height: 34px;
  }

  .pro-offers__banner-content {
    max-width: 100%;
    padding: 24px;
  }

  .pro-offers__banner-image {
    max-width: 45%;
    opacity: 0.85;
  }

  .pro-offer-card__btn {
    max-width: none;
  }
}

@media (max-width: 575.98px) {
  .header-actions {
    gap: 4px;
  }

  .header-actions__icon-btn {
    width: 38px;
    height: 38px;
  }

  .announcement-bar {
    font-size: 13px;
  }
}

/* Catalog page */
.catalog-page {
  background: #fff;
}

.catalog-top {
  background: var(--color-bg-light);
  padding: 24px 0 32px;
}

.catalog-breadcrumb {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  font-size: 12px;
  line-height: 18px;
  letter-spacing: -0.16px;
}

.catalog-breadcrumb a {
  color: #9ca3af;
}

.catalog-breadcrumb img {
  width: 11px;
  height: 11px;
  opacity: 0.7;
}

.catalog-breadcrumb span {
  color: var(--color-text);
}

.catalog-search-heading {
  margin: 0;
}

.catalog-search-heading__title {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.3px;
  color: var(--color-text);
}

.catalog-brand-heading {
  max-width: 720px;
}

.catalog-categories-wrap .catalog-brand-heading:not(:last-child) {
  margin-bottom: 24px;
}

.catalog-brand-heading__title {
  margin: 0 0 8px;
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 500;
  line-height: 1.2;
  color: var(--color-text);
}

.catalog-brand-heading__description {
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-secondary);
}

.catalog-brand-heading__description > :last-child {
  margin-bottom: 0;
}

.catalog-categories-wrap {
  position: relative;
}

.catalog-categories {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 0 56px;
  scrollbar-width: none;
}

.catalog-categories::-webkit-scrollbar {
  display: none;
}

.catalog-category {
  flex: 0 0 auto;
  width: 127px;
  text-align: center;
  color: var(--color-text);
}

.catalog-category__image {
  display: block;
  width: 80px;
  height: 80px;
  margin: 0 auto 10px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid transparent;
  transition: border-color 0.2s ease;
}

.catalog-category__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.catalog-category__label {
  display: block;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
}

.catalog-category.is-active .catalog-category__image,
.catalog-category:hover .catalog-category__image {
  border-color: var(--color-text);
}

.catalog-categories__arrow {
  position: absolute;
  top: 20px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(15, 22, 36, 0.08);
}

.catalog-categories__arrow--prev {
  left: 0;
}

.catalog-categories__arrow--next {
  right: 0;
}

.catalog-categories__arrow--next img {
  transform: scaleX(-1);
}

.catalog-categories__arrow img {
  width: 10px;
  height: 15px;
}

.catalog-categories__arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  box-shadow: none;
}

.catalog-filters-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 16px;
  margin-bottom: 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #fff;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text);
}

.catalog-filters-offcanvas {
  width: min(320px, 88vw);
  border-right: 1px solid var(--color-border);
}

.catalog-filters-offcanvas__title {
  font-size: 18px;
  font-weight: 600;
  line-height: 28px;
  margin: 0;
}

.catalog-filters-offcanvas__close {
  opacity: 0.6;
}

.catalog-filters-offcanvas .offcanvas-header {
  padding: 20px;
  border-bottom: 1px solid var(--color-border);
}

.catalog-filters-offcanvas__body {
  padding: 0;
}

.catalog-filters-offcanvas__body .catalog-sidebar {
  background: transparent;
  border-radius: 0;
  padding: 24px 20px 32px;
}

.catalog-filters-offcanvas__footer {
  padding: 16px 20px 24px;
  border-top: 1px solid var(--color-border);
  background: #fff;
}

.catalog-filters-offcanvas__apply {
  width: 100%;
}

.catalog-sidebar {
  background: var(--color-bg-light);
  border-radius: var(--radius-sm);
  padding: 24px 20px;
  text-align: left;
}

.catalog-filter {
  text-align: left;
}

.catalog-filter + .catalog-filter {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
}

.catalog-filter__title {
  font-size: 14px;
  font-weight: 600;
  line-height: 18px;
  letter-spacing: -0.2px;
  margin-bottom: 20px;
}

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

.catalog-filter__list li + li {
  margin-top: 3px;
}

.catalog-filter__check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  line-height: 28px;
  color: var(--color-text);
  cursor: pointer;
  margin: 0;
}

.catalog-filter__check input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--color-black);
}

.catalog-filter__list--counts .catalog-filter__check span {
  margin-left: auto;
  color: var(--color-text-secondary);
  font-size: 14px;
}

.catalog-price-filter__label {
  display: block;
  font-size: 14px;
  line-height: 18px;
  margin-bottom: 4px;
  color: var(--color-text-secondary);
}

.catalog-price-filter__input {
  height: 38px;
  border-radius: var(--radius-sm);
  border-color: var(--color-border);
  font-size: 14px;
}

.catalog-price-filter__dash {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 24px;
  color: var(--color-text-secondary);
}

.catalog-price-filter__range {
  position: relative;
  height: 16px;
  margin: 20px 0 16px;
}

.catalog-price-filter__range-track,
.catalog-price-filter__range-fill {
  position: absolute;
  top: 50%;
  left: 0;
  height: 3px;
  transform: translateY(-50%);
  border-radius: 999px;
  pointer-events: none;
}

.catalog-price-filter__range-track {
  width: 100%;
  background: #e3e5e8;
}

.catalog-price-filter__range-fill {
  background: #0f172a;
}

.catalog-price-filter__range input[type="range"] {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 16px;
  margin: 0;
  padding: 0;
  transform: translateY(-50%);
  background: none;
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
}

.catalog-price-filter__range-min {
  z-index: 3;
}

.catalog-price-filter__range-max {
  z-index: 4;
}

.catalog-price-filter__range input[type="range"]::-webkit-slider-runnable-track {
  height: 3px;
  background: transparent;
  border: none;
}

.catalog-price-filter__range input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  margin-top: -5.5px;
  border: none;
  border-radius: 50%;
  background: #0f172a;
  cursor: pointer;
  pointer-events: all;
}

.catalog-price-filter__range input[type="range"]::-moz-range-track {
  height: 3px;
  background: transparent;
  border: none;
}

.catalog-price-filter__range input[type="range"]::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border: none;
  border-radius: 50%;
  background: #0f172a;
  cursor: pointer;
  pointer-events: all;
}

.catalog-price-filter__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 4px;
}

.catalog-price-filter__summary {
  font-size: 14px;
  color: var(--color-text);
}

.catalog-price-filter__btn {
  border: none;
  background: #e5e7eb;
  color: var(--color-text);
  border-radius: var(--radius-sm);
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
}

.catalog-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--color-bg-light);
  border-radius: var(--radius-sm);
  padding: 8px 8px 8px 20px;
  margin-bottom: 20px;
}

.catalog-toolbar__left {
  font-size: 14px;
  line-height: 24px;
  color: var(--color-text-secondary);
}

.catalog-toolbar__left strong {
  color: var(--color-text);
  font-weight: 500;
}

.catalog-toolbar__right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.catalog-toolbar__group {
  display: flex;
  align-items: center;
  gap: 4px;
}

.catalog-toolbar__label {
  font-size: 14px;
  line-height: 24px;
  color: var(--color-text-secondary);
  opacity: 0.7;
}

.catalog-toolbar__options {
  display: flex;
  gap: 8px;
}

.catalog-toolbar__options button {
  border: none;
  background: none;
  padding: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 24px;
  color: var(--color-text-secondary);
}

.catalog-toolbar__options button.is-active {
  color: var(--color-text);
}

.catalog-toolbar__sort {
  border: none;
  background: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 24px;
  color: var(--color-text-secondary);
}

.catalog-toolbar__views {
  display: flex;
  gap: 4px;
}

.catalog-toolbar__view {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 8px;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.catalog-toolbar__view.is-active {
  background: #fff;
}

.catalog-toolbar__view img {
  width: 20px;
  height: 20px;
  opacity: 0.8;
}

.catalog-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.catalog-list.is-grid-view {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.catalog-list.is-grid-view .catalog-list-card {
  flex-direction: column;
  height: 100%;
}

.catalog-list.is-grid-view .catalog-list-card__media {
  flex: none;
  max-width: none;
  width: 100%;
  padding: 16px 16px 0;
}

.catalog-list.is-grid-view .catalog-list-card__media img {
  min-height: 180px;
  max-height: 200px;
  margin: 0 auto;
  display: block;
  width: auto;
  max-width: 100%;
}

.catalog-list.is-grid-view .catalog-list-card__body {
  padding: 12px 16px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.catalog-list.is-grid-view .catalog-list-card__badges {
  margin-bottom: 8px;
}

.catalog-list.is-grid-view .catalog-list-card__title {
  font-size: 16px;
  line-height: 24px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.catalog-list.is-grid-view .catalog-list-card__meta {
  margin-bottom: 12px;
}

.catalog-list.is-grid-view .catalog-list-card__footer {
  flex-direction: column;
  align-items: stretch;
  margin-top: auto;
}

.catalog-list.is-grid-view .catalog-list-card__price {
  min-height: 0;
  margin-bottom: 12px;
}

.catalog-list.is-grid-view .catalog-list-card__price-current {
  font-size: 15px;
  line-height: 24px;
}

.catalog-list.is-grid-view .catalog-list-card__price-old {
  font-size: 14px;
  line-height: 20px;
}

.catalog-list.is-grid-view .catalog-list-card__btn {
  width: 100%;
}

.catalog-list.is-grid-view .catalog-list-card__wishlist {
  top: 12px;
  right: 12px;
  z-index: 2;
}

.catalog-list-card {
  position: relative;
  display: flex;
  align-items: stretch;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.catalog-list-card__media {
  flex: 0 0 240px;
  max-width: 240px;
  padding: 8px;
  display: block;
  color: inherit;
}

.catalog-list-card__media img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: contain;
  border-radius: 8px;
}

.catalog-list-card__body {
  flex: 1;
  min-width: 0;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.catalog-list-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin-bottom: 8px;
}

.catalog-list-card__badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  color: #fff;
}

.catalog-list-card__badge--sale {
  background: var(--color-primary);
  font-weight: 700;
}

.catalog-list-card__badge--dark {
  background: #0f172a;
}

.catalog-list-card__badge--yellow {
  background: #facc15;
  color: #0f172a;
}

.catalog-list-card__badge--blue {
  background: #1e3a8a;
}

.catalog-list-card__title {
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
  letter-spacing: -0.3px;
  margin-bottom: 4px;
}

.catalog-list-card__brand {
  font-size: 14px;
  line-height: 20px;
  color: var(--color-text-secondary);
  margin-bottom: 12px;
}

.catalog-list-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-bottom: auto;
  padding: 4px 0;
}

.catalog-list-card__rating {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--color-text-secondary);
}

.catalog-list-card__stars {
  color: #facc15;
  letter-spacing: 1px;
  font-size: 14px;
}

.catalog-list-card__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
}

.catalog-list-card__price {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 48px;
}

.catalog-list-card__price-old {
  font-size: 14px;
  line-height: 20px;
  color: var(--color-text-secondary);
  text-decoration: line-through;
}

.catalog-list-card__price-current {
  font-size: 20px;
  font-weight: 600;
  line-height: 32px;
  letter-spacing: -0.3px;
  color: var(--color-primary);
}

.catalog-list-card__btn {
  width: 235px;
  max-width: 100%;
  flex-shrink: 0;
}

.catalog-list-card__wishlist {
  position: absolute;
  top: 19px;
  right: 19px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #e3e3e3;
  background: #fefefe;
  display: flex;
  align-items: center;
  justify-content: center;
}

.catalog-list-card__wishlist img {
  width: 20px;
  height: 20px;
}

.catalog-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}

.catalog-pagination__item,
.catalog-pagination__dots {
  font-size: 16px;
  line-height: 24px;
  color: var(--color-text-secondary);
  text-decoration: none;
}

.catalog-pagination__item.is-active {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-black);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1;
}

.catalog-pagination__next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.catalog-pagination__next img {
  width: 5px;
  height: 10px;
}

.catalog-pagination__btn,
.catalog-pagination__page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 8px;
  border-radius: 50%;
  font-size: 16px;
  line-height: 1;
  color: var(--color-text-secondary);
  text-decoration: none;
  background: transparent;
}

.catalog-pagination__btn {
  background: var(--color-bg-light);
}

.catalog-pagination__btn[aria-disabled="true"] {
  opacity: 0.4;
  pointer-events: none;
}

.catalog-pagination__page.is-active {
  background: var(--color-black);
  color: #fff;
}

.catalog-recent {
  background: #fff;
}

@media (min-width: 1200px) {
  .catalog-recent .row > [class*="col-xl"] {
    flex: 0 0 20%;
    max-width: 20%;
  }
}

@media (max-width: 1199.98px) {
  .catalog-toolbar__right {
    width: 100%;
  }

  .catalog-list:not(.is-grid-view) .catalog-list-card__media {
    flex-basis: 200px;
    max-width: 200px;
  }

  .catalog-list.is-grid-view {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .catalog-list:not(.is-grid-view) .catalog-list-card {
    flex-direction: column;
  }

  .catalog-list:not(.is-grid-view) .catalog-list-card__media {
    flex: none;
    max-width: none;
    width: 100%;
  }

  .catalog-list:not(.is-grid-view) .catalog-list-card__media img {
    min-height: 220px;
  }

  .catalog-list:not(.is-grid-view) .catalog-list-card__btn {
    width: 100%;
  }
}

@media (max-width: 767.98px) {
  .catalog-top {
    padding: 20px 0 24px;
  }

  .catalog-category {
    width: 100px;
  }

  .catalog-category__image {
    width: 72px;
    height: 72px;
  }

  .catalog-category__label {
    font-size: 13px;
  }

  .catalog-toolbar {
    padding: 12px;
  }

  .catalog-toolbar__left {
    width: 100%;
  }
}

/* Product page */
.product-page {
  background: #fff;
}

.product-top {
  padding: 24px 0 48px;
}

.product-hero {
  margin-top: 8px;
}

.product-gallery__stage {
  position: relative;
}

.product-gallery__main {
  position: relative;
  aspect-ratio: 1;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-gallery__image {
  width: 84%;
  height: 84%;
  object-fit: contain;
}

.product-gallery__badges {
  position: absolute;
  top: 20px;
  left: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  z-index: 2;
}

.product-gallery__badge {
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  padding: 4px 8px;
  border-radius: 8px;
  color: #fff;
}

.product-gallery__badge--sale {
  background: var(--color-primary);
  font-weight: 700;
}

.product-gallery__badge--dark {
  background: #0f172a;
}

.product-gallery__badge--yellow {
  background: #facc15;
}

.product-gallery__badge--blue {
  background: #1e3a8a;
}

.product-gallery__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  z-index: 3;
}

.product-gallery__arrow--prev {
  left: -24px;
}

.product-gallery__arrow--next {
  right: -24px;
}

.product-gallery__arrow img {
  width: 10px;
  height: 15px;
}

.product-gallery__thumbs {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.product-gallery__thumb {
  flex: 1 1 0;
  aspect-ratio: 1;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-bg-light);
  padding: 0;
  overflow: hidden;
  cursor: pointer;
}

.product-gallery__thumb.is-active {
  border-color: var(--color-black);
  box-shadow: 0 0 0 1px var(--color-black);
}

.product-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-info__brand {
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
  color: #fdac4a;
  letter-spacing: -0.2px;
  margin-bottom: 5px;
}

.product-info__title {
  font-size: 32px;
  font-weight: 600;
  line-height: 38px;
  letter-spacing: -0.6px;
  margin: 0 0 20px;
}

.product-info__top {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.product-info__content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.product-info__side-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin-top: 0;
}

.product-info__icon-btn {
  width: 42px;
  height: 42px;
  border: 1px solid #ededed;
  border-radius: 50%;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
}

.product-info__icon-btn img {
  width: 24px;
  height: 24px;
}

.product-info__side-divider {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-border);
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  line-height: 20px;
  color: var(--color-text-secondary);
  margin-bottom: 0;
}

.product-meta__item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.product-meta__label {
  font-weight: 400;
}

.product-meta__value,
.product-meta a {
  font-weight: 500;
  color: var(--color-text-secondary);
  text-decoration: none;
}

.product-meta a:hover {
  color: var(--color-primary);
}

.product-meta__dot {
  width: 20px;
  height: 20px;
  position: relative;
  flex-shrink: 0;
}

.product-meta__dot::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-border);
}

.product-availability-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin-bottom: 0;
}

.product-availability-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: var(--color-success);
}

.product-availability-status__dot {
  width: 8px;
  height: 8px;
  border-radius: 3px;
  background: var(--color-success-dot);
  flex-shrink: 0;
}

.product-availability-date {
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: var(--color-text);
}

.product-short-desc {
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: var(--color-text);
  margin-bottom: 0;
}

.product-divider {
  border: 0;
  border-top: 1px solid var(--color-border);
  margin: 20px 0;
  opacity: 1;
}

.product-size__label {
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  margin-bottom: 10px;
}

.product-size__options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-size__btn {
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #fff;
  font-size: 16px;
  line-height: 24px;
  color: var(--color-text);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.product-size__btn.is-active {
  border-color: var(--color-black);
  box-shadow: inset 0 0 0 1px var(--color-black);
}

.product-size__btn--notify img {
  opacity: 0.7;
}

.product-price-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.product-price-block__current {
  font-size: 28px;
  font-weight: 700;
  line-height: 28px;
  color: var(--color-text);
}

.product-price-block__current span {
  font-size: 28px;
}

.product-price-block__vat {
  font-size: 14px;
  line-height: 20px;
  color: var(--color-text-secondary);
}

.product-purchase__row {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.product-qty {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.product-qty__btn {
  width: 48px;
  height: 48px;
  border: none;
  border-radius: var(--radius-sm);
  background: var(--color-bg-light);
  font-size: 20px;
  line-height: 1;
  color: var(--color-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.product-qty__input {
  width: 48px;
  height: 48px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  text-align: center;
  font-size: 16px;
  padding: 0;
  -moz-appearance: textfield;
}

.product-qty__input::-webkit-outer-spin-button,
.product-qty__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.product-purchase__cart {
  flex: 1;
  min-height: 48px;
}

.product-buy-now {
  width: 100%;
  min-height: 48px;
  border: none;
  border-radius: var(--radius-sm);
  background: var(--color-announcement);
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: var(--color-text);
}

.product-logistics {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.product-payments {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  padding: 16px;
  background: var(--color-bg-light);
  border: none;
  border-radius: var(--radius-md);
}

.product-payments__item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 24px;
  flex-shrink: 0;
}

.product-payments__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-payments__item--apple { width: 45px; }
.product-payments__item--google { width: 48px; }
.product-payments__item--mastercard { width: 29px; }
.product-payments__item--visa { width: 38px; }
.product-payments__item--swedbank { width: 94px; }
.product-payments__item--luminor { width: 62px; }
.product-payments__item--citadele { width: 50px; }
.product-payments__item--seb { width: 46px; }

@media (max-width: 767.98px) {
  .product-payments {
    justify-content: center;
  }
}

.product-stock,
.product-delivery {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fff;
}

.product-stock__row,
.product-delivery__row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid #eeeff1;
}

.product-stock__row:last-child,
.product-delivery__row:last-child {
  border-bottom: 0;
}

.product-stock__icon-wrap,
.product-delivery__icon-wrap {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-stock__icon,
.product-delivery__icon {
  display: block;
  max-width: 36px;
  max-height: 36px;
}

.product-delivery__icon--logo {
  width: 36px;
  height: 24px;
  object-fit: contain;
  object-position: center;
}

.product-stock__text,
.product-delivery__text {
  flex: 1;
  min-width: 0;
}

.product-stock__title,
.product-delivery__value {
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: var(--color-text);
}

.product-stock__status {
  color: var(--color-success);
}

.product-stock__sub,
.product-delivery__label {
  font-size: 14px;
  line-height: 20px;
  color: var(--color-text-secondary);
}

.product-delivery__price {
  flex-shrink: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: var(--color-text);
  white-space: nowrap;
}

.product-trust-mini__card {
  height: 100%;
  background: var(--color-bg-neutral);
  border-radius: var(--radius-md);
  padding: 20px;
}

.product-trust-mini__icon {
  width: 24px;
  height: 24px;
  margin-bottom: 12px;
}

.product-trust-mini__title {
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  margin-bottom: 4px;
}

.product-trust-mini__text {
  font-size: 12px;
  line-height: 16px;
  color: var(--color-text-secondary);
  margin: 0;
}

.product-tabs-section {
  padding-bottom: 48px;
}

.product-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 0;
}

.product-tab {
  border: 0;
  background: none;
  padding: 0 0 10px;
  font-size: 18px;
  font-weight: 500;
  line-height: 27px;
  color: #cacaca;
  position: relative;
}

.product-tab.is-active {
  color: var(--color-text);
}

.product-tab.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--color-black);
}

.product-tabpanel {
  padding: 16px 0 32px;
  font-size: 16px;
  line-height: 24px;
}

.product-tabpanel[hidden] {
  display: none !important;
}

.product-tabpanel p:last-child {
  margin-bottom: 0;
}

.product-specs {
  width: 100%;
  max-width: 640px;
}

.product-specs th,
.product-specs td {
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 16px;
  line-height: 24px;
  vertical-align: top;
}

.product-specs th {
  width: 40%;
  font-weight: 500;
  color: var(--color-text-secondary);
}

@media (max-width: 991.98px) {
  .product-gallery__arrow--prev {
    left: 8px;
  }

  .product-gallery__arrow--next {
    right: 8px;
  }

  .product-info__top {
    flex-direction: column;
  }

  .product-info__side-actions {
    flex-direction: row;
    align-self: flex-end;
  }

  .product-info__side-divider {
    display: none;
  }

  .product-purchase__row {
    flex-direction: column;
  }

  .product-qty {
    width: 100%;
    justify-content: center;
  }
}

/* About page */
.about-page {
  background: #fff;
}

.about-hero {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.about-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-hero__overlay {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 460px;
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.4);
}

.about-hero__content {
  text-align: center;
  color: #fff;
  padding: 64px 0;
}

.about-hero__title {
  font-size: clamp(40px, 5vw, 70px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.about-hero__subtitle {
  max-width: 705px;
  margin: 0 auto;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
}

.about-intro {
  padding: 64px 0 48px;
}

.about-intro__lead {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 32px;
}

.about-page__heading {
  font-size: clamp(28px, 3vw, 34px);
  font-weight: 600;
  line-height: 1.24;
  letter-spacing: -0.3px;
  margin-bottom: 24px;
}

.about-intro__text p {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 16px;
}

.about-intro__text p:last-child {
  margin-bottom: 0;
}

.about-feature {
  padding: 0 0 64px;
}

.about-feature__image {
  border-radius: 10px;
  overflow: hidden;
}

.about-feature__image img {
  width: 100%;
  aspect-ratio: 655 / 980;
  object-fit: cover;
  display: block;
}

.about-feature__block + .about-feature__block {
  margin-top: 48px;
}

.about-feature__block p,
.about-growth__text p {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 16px;
}

.about-feature__block p:last-child,
.about-growth__text p:last-child {
  margin-bottom: 0;
}

.about-feature__list-label {
  margin-bottom: 8px;
}

.about-page__list {
  margin: 0 0 16px;
  padding-left: 24px;
}

.about-page__list li {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 4px;
}

.about-growth {
  padding: 0 0 80px;
}

@media (max-width: 991.98px) {
  .about-hero,
  .about-hero__overlay {
    min-height: 360px;
  }

  .about-intro {
    padding: 48px 0 32px;
  }

  .about-feature {
    padding-bottom: 48px;
  }

  .about-feature__image img {
    aspect-ratio: 4 / 3;
  }

  .about-feature__block + .about-feature__block {
    margin-top: 40px;
  }

  .about-growth {
    padding-bottom: 56px;
  }
}

/* Contacts page */
.contacts-page {
  background: #fff;
}

.contacts-top {
  padding: 24px 0 64px;
}

.contacts-top__title {
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.4px;
  text-align: center;
  margin-bottom: 16px;
}

.contacts-top__intro {
  max-width: 660px;
  margin: 0 auto 32px;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.16px;
  text-align: center;
  color: #4b5563;
}

.contacts-divider {
  border: 0;
  border-top: 1px solid var(--color-border);
  margin: 0 0 48px;
}

.contacts-info__title,
.contacts-form__title {
  font-size: 26px;
  font-weight: 600;
  line-height: 1.29;
  letter-spacing: -0.4px;
  margin-bottom: 16px;
}

.contacts-info__text {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 32px;
}

.contacts-info__item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.contacts-info__item + .contacts-info__item {
  margin-top: 25px;
}

.contacts-info__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contacts-info__icon img {
  display: block;
}

.contacts-info__label {
  font-size: 18px;
  font-weight: 600;
  line-height: 28px;
  margin-bottom: 4px;
}

.contacts-info__value {
  font-size: 14px;
  line-height: 24px;
}

.contacts-info__value a {
  color: inherit;
  text-decoration: none;
}

.contacts-info__value a:hover {
  color: var(--color-primary);
}

.contacts-form__intro {
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 24px;
}

.contacts-form__field {
  margin-bottom: 14px;
}

.contacts-form__fields .row {
  --bs-gutter-x: 24px;
  margin-inline: 0;
}

.contacts-form__fields .row > [class*="col-"] {
  padding-inline: 0;
}

.contacts-form__fields .row > [class*="col-"]:first-child {
  padding-right: 12px;
}

.contacts-form__fields .row > [class*="col-"]:last-child {
  padding-left: 12px;
}

.contacts-form__fields .row .contacts-form__field {
  margin-bottom: 14px;
}

.contacts-form__label {
  display: block;
  font-size: 13px;
  line-height: 19.5px;
  letter-spacing: -0.16px;
  margin-bottom: 4px;
}

.contacts-form__required {
  color: #d32f2f;
}

.contacts-form__input,
.contacts-form__textarea {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #fff;
  padding: 10px 12px;
  font-size: 14px;
  line-height: 20px;
  color: var(--color-text);
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.07);
}

.contacts-form__input {
  height: 44px;
}

.contacts-form__textarea {
  min-height: 96px;
  resize: vertical;
}

.contacts-form__input:focus,
.contacts-form__textarea:focus {
  outline: none;
  border-color: var(--color-text);
}

.contacts-form__submit {
  margin-top: 8px;
  height: 48px;
  padding: 0 33px;
  border: 1px solid #000;
  border-radius: 10px;
  background: #000;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  line-height: 30px;
}

.contacts-form__submit:hover {
  background: #1a1a1a;
}

.contacts-form__notice {
  margin-bottom: 20px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: var(--color-bg-light);
  color: var(--color-text);
  font-size: 14px;
  line-height: 1.5;
}

@media (max-width: 767.98px) {
  .contacts-form__fields .row > [class*="col-"]:first-child,
  .contacts-form__fields .row > [class*="col-"]:last-child {
    padding-inline: 0;
  }
}

@media (max-width: 991.98px) {
  .contacts-top {
    padding-bottom: 48px;
  }

  .contacts-form {
    margin-top: 16px;
  }
}

/* ==========================================================================
   Blog pages
   ========================================================================== */

.blog-top,
.blog-post-top,
.cart-top,
.checkout-top,
.account-top {
  padding: 32px 0 24px;
}

.blog-top__title,
.blog-post-header__title,
.cart-top__title,
.checkout-top__title,
.account-top__title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 500;
  line-height: 1.2;
  margin: 16px 0 8px;
  color: var(--color-text);
}

.blog-top__intro {
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-secondary);
  max-width: 720px;
  margin-bottom: 0;
}

.blog-main,
.cart-main,
.checkout-main,
.account-main {
  padding-bottom: 64px;
}

.blog-card {
  height: 100%;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fff;
  transition: box-shadow 0.2s ease;
}

.blog-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.blog-card__image-wrap {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.blog-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-card:hover .blog-card__image {
  transform: scale(1.03);
}

.blog-card__body {
  padding: 20px 22px 24px;
}

.blog-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 10px;
}

.blog-card__category {
  color: var(--color-primary);
  font-weight: 500;
}

.blog-card__title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.35;
  margin-bottom: 10px;
}

.blog-card__title a {
  color: var(--color-text);
  text-decoration: none;
}

.blog-card__title a:hover {
  color: var(--color-primary);
}

.blog-card__excerpt {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text-secondary);
  margin-bottom: 14px;
}

.blog-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
}

.blog-card__link:hover {
  color: var(--color-primary);
}

.blog-card--compact .blog-card__body {
  padding: 16px 18px 20px;
}

.blog-card--compact .blog-card__title {
  font-size: 17px;
}

.blog-pagination {
  margin-top: 40px;
}

.blog-sidebar__block {
  background: var(--color-bg-light);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 24px;
}

.blog-sidebar__title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 16px;
}

.blog-sidebar__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.blog-sidebar__list li + li {
  border-top: 1px solid var(--color-border);
}

.blog-sidebar__list a {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  font-size: 14px;
  color: var(--color-text);
  text-decoration: none;
}

.blog-sidebar__list a:hover {
  color: var(--color-primary);
}

.blog-sidebar__list span {
  color: var(--color-text-muted);
}

.blog-sidebar__posts {
  list-style: none;
  padding: 0;
  margin: 0;
}

.blog-sidebar__posts li + li {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
}

.blog-sidebar__post {
  display: block;
  text-decoration: none;
  color: inherit;
}

.blog-sidebar__post-title {
  display: block;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  margin-bottom: 4px;
  color: var(--color-text);
}

.blog-sidebar__post:hover .blog-sidebar__post-title {
  color: var(--color-primary);
}

.blog-sidebar__post time {
  font-size: 12px;
  color: var(--color-text-muted);
}

.blog-post-header {
  margin-top: 8px;
}

.blog-post-header__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.blog-post-header__category {
  color: var(--color-primary);
  font-weight: 500;
}

.blog-post-featured {
  margin: 0 0 32px;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.blog-post-featured__image {
  width: 100%;
  height: auto;
  display: block;
}

.blog-post-article {
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-text);
}

.blog-post-article__lead {
  font-size: 18px;
  line-height: 1.65;
  color: var(--color-text-secondary);
  margin-bottom: 28px;
}

.blog-post-article h2 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 500;
  margin: 32px 0 12px;
}

.blog-post-article p {
  margin-bottom: 16px;
}

.blog-post-quote {
  margin: 28px 0;
  padding: 24px 28px;
  border-left: 4px solid var(--color-primary);
  background: var(--color-bg-light);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.blog-post-quote p {
  font-family: var(--font-heading);
  font-size: 20px;
  font-style: italic;
  margin: 0;
  color: var(--color-text);
}

.blog-post-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}

.blog-post-tags__label {
  font-size: 14px;
  font-weight: 600;
}

.blog-post-tags a {
  font-size: 13px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--color-bg-neutral);
  color: var(--color-text);
  text-decoration: none;
}

.blog-post-tags a:hover {
  background: var(--color-border);
}

.blog-post-nav {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}

.blog-post-nav__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
}

.blog-post-nav__back:hover {
  color: var(--color-primary);
}

.blog-related {
  padding: 48px 0 64px;
  background: var(--color-bg-light);
}

/* ==========================================================================
   WooCommerce pages (cart, checkout, account)
   ========================================================================== */

.medexy-woo .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.medexy-woo h2,
.medexy-woo h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 20px;
}

.medexy-woo .shop_table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
}

.medexy-woo .shop_table th,
.medexy-woo .shop_table td {
  padding: 16px 12px;
  border-bottom: 1px solid var(--color-border);
  vertical-align: middle;
  text-align: left;
}

.medexy-woo .shop_table thead th {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--color-text-secondary);
  background: var(--color-bg-light);
}

.medexy-woo .shop_table .product-thumbnail img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  background: var(--color-bg-light);
}

.medexy-woo .shop_table .product-name a {
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
}

.medexy-woo .shop_table .product-name a:hover {
  color: var(--color-primary);
}

.medexy-woo .shop_table .variation {
  font-size: 13px;
  color: var(--color-text-muted);
  margin: 6px 0 0;
}

.medexy-woo .shop_table .remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-bg-neutral);
  color: var(--color-text);
  font-size: 20px;
  line-height: 1;
  text-decoration: none;
}

.medexy-woo .shop_table .remove:hover {
  background: var(--color-primary);
  color: #fff;
}

.medexy-woo .shop_table .actions {
  padding-top: 20px;
}

.medexy-woo .coupon {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.medexy-woo .coupon .input-text {
  flex: 1;
  min-width: 180px;
  height: 44px;
  padding: 0 14px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
}

.medexy-woo .button {
  height: 44px;
  padding: 0 20px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.medexy-woo .button:hover {
  border-color: var(--color-text);
}

/* Cart layout */
.medexy-woo .cart-collaterals {
  margin-top: 32px;
}

@media (min-width: 992px) {
  .cart-page .medexy-woo {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 40px;
    align-items: start;
  }

  .cart-page .medexy-woo > .woocommerce-cart-form {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
  }

  .cart-page .medexy-woo > .cart-collaterals {
    grid-column: 2;
    grid-row: 1;
    margin-top: 0;
    position: sticky;
    top: 24px;
  }
}

.medexy-woo .cart_totals {
  background: var(--color-bg-light);
  border-radius: var(--radius-md);
  padding: 28px;
}

.medexy-woo .cart_totals h2 {
  font-size: 20px;
  margin-bottom: 16px;
}

.medexy-woo .cart_totals .shop_table th {
  background: transparent;
  text-transform: none;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 0;
  width: 50%;
}

.medexy-woo .cart_totals .shop_table td {
  padding: 10px 0;
  text-align: right;
}

.medexy-woo .cart_totals .order-total th,
.medexy-woo .cart_totals .order-total td,
.checkout-page .medexy-woo .woocommerce-checkout-review-order-table .order-total th,
.checkout-page .medexy-woo .woocommerce-checkout-review-order-table .order-total td {
  font-size: 18px;
  font-weight: 700;
  border-bottom: none;
  padding-top: 16px;
}

.medexy-woo .woocommerce-shipping-methods {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: right;
}

.medexy-woo .woocommerce-shipping-methods li {
  margin-bottom: 8px;
}

.medexy-shipping-cards--cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  text-align: left;
}

.medexy-shipping-card {
  position: relative;
  margin: 0 !important;
}

.medexy-shipping-card .shipping_method {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.medexy-shipping-card__label {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 132px;
  padding: 22px 16px 18px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: #fff;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.medexy-shipping-card__check {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: #fff;
  opacity: 0;
  transition: opacity 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.medexy-shipping-card__check::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 7px;
  width: 5px;
  height: 9px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
  opacity: 0;
}

.medexy-shipping-card.is-selected .medexy-shipping-card__label,
.medexy-shipping-card .shipping_method:checked + .medexy-shipping-card__label {
  border-color: #7cb9ff;
  box-shadow: 0 0 0 1px #7cb9ff;
}

.medexy-shipping-card.is-selected .medexy-shipping-card__check,
.medexy-shipping-card .shipping_method:checked + .medexy-shipping-card__label .medexy-shipping-card__check {
  opacity: 1;
  background: #7cb9ff;
  border-color: #7cb9ff;
}

.medexy-shipping-card.is-selected .medexy-shipping-card__check::after,
.medexy-shipping-card .shipping_method:checked + .medexy-shipping-card__label .medexy-shipping-card__check::after {
  opacity: 1;
}

.medexy-shipping-card__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 34px;
}

.medexy-shipping-card__logo img {
  max-width: 88px;
  max-height: 28px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.medexy-shipping-card__text {
  font-size: 14px;
  line-height: 1.45;
  font-weight: 500;
  color: var(--color-text);
}

.medexy-shipping-card__price {
  font-size: 13px;
  line-height: 1.4;
  color: var(--color-text-secondary);
}

.checkout-page .woocommerce-checkout-review-order-table .woocommerce-shipping-totals th,
.cart-page .woocommerce-shipping-totals th {
  display: block;
  width: 100%;
  padding-bottom: 12px;
  border-bottom: 0;
  background: transparent;
  text-transform: none;
  font-size: 20px;
  font-weight: 500;
  font-family: var(--font-heading);
  text-align: left;
}

.checkout-page .woocommerce-checkout-review-order-table .woocommerce-shipping-totals td,
.cart-page .woocommerce-shipping-totals td {
  display: block;
  width: 100%;
  padding-top: 0;
  padding-left: 0;
  padding-right: 0;
  border-bottom: 0;
  text-align: left;
}

.checkout-page .woocommerce-checkout-review-order-table tr.parcel_machine_checkout,
.cart-page .woocommerce-shipping-totals + tr.parcel_machine_checkout {
  display: none !important;
}

.checkout-page .woocommerce-checkout-review-order-table tr.parcel_machine_checkout.is-visible,
.cart-page tr.parcel_machine_checkout.is-visible {
  display: table-row !important;
}

.checkout-page .woocommerce-checkout-review-order-table tr.parcel_machine_checkout td,
.cart-page tr.parcel_machine_checkout td {
  display: block;
  width: 100%;
  padding: 0 0 20px !important;
  border: 0 !important;
  background: transparent;
  text-align: left;
}

.checkout-page .parcel-machine-select-box,
.cart-page .parcel-machine-select-box {
  width: 100%;
  max-width: 100%;
  height: 44px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background-color: #fff;
  padding: 10px 36px 10px 12px;
  font-size: 14px;
  line-height: 20px;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.07);
}

.checkout-page .mc_pmmap_choose_button,
.cart-page .mc_pmmap_choose_button {
  margin-top: 10px;
}

@media (max-width: 991px) {
  .medexy-shipping-cards--cards {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .medexy-shipping-cards--cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.medexy-woo .wc-proceed-to-checkout {
  margin-top: 20px;
}

.medexy-woo .wc-proceed-to-checkout .checkout-button {
  display: block;
  width: 100%;
  text-align: center;
  text-decoration: none;
  height: 48px;
  line-height: 46px;
  padding: 0;
}

.medexy-woo .wc-proceed-to-checkout .checkout-button.btn-add-cart {
  background: var(--color-black);
  color: #fff;
  border: none;
}

.medexy-woo .wc-proceed-to-checkout .checkout-button.btn-add-cart:hover {
  background: #333;
  color: #fff;
  border: none;
}

/* Checkout */
.medexy-woo .col2-set {
  width: 100%;
}

/* Override Bootstrap grid .col-1 / .col-2 — WooCommerce uses these as column names, not BS columns */
.medexy-woo .col2-set > .col-1,
.medexy-woo .col2-set > .col-2 {
  flex: none;
  width: 100%;
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}

.medexy-woo .woocommerce-billing-fields,
.medexy-woo .woocommerce-shipping-fields,
.medexy-woo .woocommerce-additional-fields {
  margin-bottom: 32px;
}

.medexy-woo .woocommerce-billing-fields h3,
.medexy-woo .woocommerce-shipping-fields h3,
.medexy-woo .woocommerce-additional-fields h3,
.medexy-woo #order_review_heading {
  font-size: 20px;
  margin-bottom: 20px;
}

.medexy-woo .woocommerce-shipping-fields h3#ship-to-different-address {
  font-size: 15px;
  font-weight: 500;
  font-family: var(--font-body);
  margin-bottom: 0;
}

.medexy-woo .woocommerce-billing-fields__field-wrapper {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.medexy-woo .form-row {
  margin: 0;
}

.medexy-woo .form-row label {
  display: block;
  font-size: 13px;
  line-height: 19.5px;
  margin-bottom: 4px;
}

.medexy-woo .form-row .required {
  color: #d32f2f;
  text-decoration: none;
}

.medexy-woo .input-text,
.medexy-woo select,
.medexy-woo textarea {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
  line-height: 20px;
  color: var(--color-text);
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.07);
}

.medexy-woo .input-text,
.medexy-woo textarea {
  background: #fff;
}

.medexy-woo select {
  background-color: #fff;
}

.medexy-woo .input-text,
.medexy-woo select {
  height: 44px;
}

.medexy-woo select.form-select,
.checkout-page .medexy-woo select.country_select,
.checkout-page .medexy-woo select.state_select {
  --medexy-select-arrow: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23374151' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding: 10px 36px 10px 12px;
  background-color: #fff;
  background-image: var(--medexy-select-arrow);
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px 8px;
}

.medexy-woo select.form-select:focus,
.checkout-page .medexy-woo select.country_select:focus,
.checkout-page .medexy-woo select.state_select:focus {
  border-color: var(--color-text);
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.07);
}

.medexy-woo p.form-row.form-select {
  height: auto;
  padding: 0;
  border: 0;
  box-shadow: none;
  background: #fff;
  background-image: none;
}

.medexy-woo .select2-container {
  width: 100% !important;
  max-width: 100%;
}

.medexy-woo .select2-container--default .select2-selection--single {
  height: 44px;
  border: 1px solid var(--color-border, #d1d5db);
  border-radius: 0;
  background-color: #fff;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.07);
}

.medexy-woo .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 42px;
  padding-left: 12px;
  padding-right: 36px;
  color: var(--color-text, #111827);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.medexy-woo .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 42px;
  right: 8px;
}

.medexy-woo .select2-container--default.select2-container--focus .select2-selection--single,
.medexy-woo .select2-container--default.select2-container--open .select2-selection--single {
  border-color: var(--color-text);
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.07);
}

.medexy-woo .select2-dropdown {
  border-color: var(--color-border, #d1d5db);
  border-radius: 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  box-sizing: border-box;
  overflow-x: hidden;
}

.woocommerce-checkout .select2-dropdown,
.woocommerce-cart .select2-dropdown,
.makecommerce-selectbox-dropdown {
  box-sizing: border-box;
  overflow-x: hidden;
}

.woocommerce-checkout .select2-results__option,
.woocommerce-cart .select2-results__option,
.makecommerce-selectbox-dropdown .select2-results__option {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.woocommerce-checkout .select2-search--dropdown .select2-search__field,
.woocommerce-cart .select2-search--dropdown .select2-search__field,
.makecommerce-selectbox-dropdown .select2-search__field {
  width: 100% !important;
  box-sizing: border-box;
}

.medexy-woo .select2-results__option--highlighted[aria-selected] {
  background-color: var(--color-text, #111827);
}

.checkout-page .parcel_machine_checkout .select2-container--default .select2-selection--single,
.cart-page .parcel_machine_checkout .select2-container--default .select2-selection--single {
  border-radius: 8px;
}

.medexy-woo textarea.input-text {
  height: auto;
  min-height: 96px;
  resize: vertical;
}

.medexy-woo .input-text:focus,
.medexy-woo select:focus,
.medexy-woo textarea:focus {
  outline: none;
  border-color: var(--color-text);
}

@media (min-width: 768px) {
  .medexy-woo .woocommerce-billing-fields__field-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 24px;
    row-gap: 14px;
  }

  .medexy-woo .woocommerce-billing-fields__field-wrapper .form-row-wide,
  .medexy-woo .woocommerce-billing-fields__field-wrapper .form-row.notes,
  .medexy-woo .woocommerce-shipping-fields__field-wrapper .form-row-wide,
  .medexy-woo .woocommerce-shipping-fields__field-wrapper .form-row.notes {
    grid-column: 1 / -1;
  }

  .medexy-woo .woocommerce-shipping-fields__field-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 24px;
    row-gap: 14px;
  }
}

.medexy-woo .woocommerce-checkout-review-order {
  background: var(--color-bg-light);
  border-radius: var(--radius-md);
  padding: 28px;
  position: sticky;
  top: 24px;
}

.medexy-woo .woocommerce-checkout-review-order-table .product-name {
  font-size: 14px;
}

.medexy-woo .woocommerce-checkout-review-order-table tfoot th {
  background: transparent;
  text-transform: none;
  font-weight: 500;
}

.medexy-woo .woocommerce-checkout-review-order-table tfoot td {
  text-align: right;
}

.medexy-woo .wc_payment_methods {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.medexy-woo .wc_payment_method {
  padding: 14px 0;
  border-bottom: 1px solid var(--color-border);
}

.medexy-woo .wc_payment_method .medexy-checkout-payment__label {
  font-weight: 600;
}

.medexy-woo .wc_payment_method .medexy-checkout-payment__text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.medexy-woo .wc_payment_method .medexy-checkout-payment__text img {
  max-height: 24px;
  width: auto;
}

.medexy-woo .payment_box {
  margin-top: 10px;
  font-size: 13px;
  color: var(--color-text-secondary);
  padding-left: 26px;
}

.medexy-woo .checkout-payments {
  margin-top: 8px;
}

.checkout-page .catalog-filter__check,
.checkout-page .medexy-woo .woocommerce-form__label-for-checkbox.catalog-filter__check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-text);
  cursor: pointer;
  margin: 0;
  font-weight: 400;
}

.checkout-page .catalog-filter__check input[type="checkbox"],
.checkout-page .catalog-filter__check input[type="radio"],
.checkout-page .medexy-woo .woocommerce-form__label-for-checkbox.catalog-filter__check input {
  width: 16px;
  height: 16px;
  min-width: 16px;
  margin: 0;
  flex-shrink: 0;
  accent-color: var(--color-black);
}

.checkout-page .woocommerce-terms-and-conditions-wrapper {
  margin-bottom: 16px;
}

.checkout-page .woocommerce-terms-and-conditions-wrapper .form-row {
  margin-bottom: 0;
}

.checkout-page .woocommerce-terms-and-conditions-wrapper .required {
  color: #d32f2f;
  text-decoration: none;
}

.checkout-page .woocommerce-terms-and-conditions-wrapper a {
  color: var(--color-text);
  font-weight: 600;
}

.checkout-page .woocommerce-terms-and-conditions-wrapper a:hover {
  color: var(--color-primary);
}

.checkout-page .woocommerce-privacy-policy-text {
  font-size: 13px;
  line-height: 1.6;
  color: var(--color-text-secondary);
  margin-bottom: 16px;
}

.checkout-page #ship-to-different-address .catalog-filter__check {
  font-size: 15px;
  font-weight: 500;
}

.medexy-woo .place-order .btn-add-cart {
  width: 100%;
  margin-top: 12px;
  background: var(--color-black);
  color: #fff;
  border: none;
}

.medexy-woo .place-order .btn-add-cart:hover {
  background: #333;
  color: #fff;
}

/* My Account */
.medexy-woo .woocommerce-MyAccount-navigation ul {
  list-style: none;
  padding: 0;
  margin: 0;
  background: var(--color-bg-light);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.medexy-woo .woocommerce-MyAccount-navigation-link a {
  display: block;
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  border-bottom: 1px solid var(--color-border);
}

.medexy-woo .woocommerce-MyAccount-navigation-link:last-child a {
  border-bottom: none;
}

.medexy-woo .woocommerce-MyAccount-navigation-link.is-active a,
.medexy-woo .woocommerce-MyAccount-navigation-link a:hover {
  background: #fff;
  color: var(--color-primary);
}

.medexy-woo .woocommerce-MyAccount-content {
  font-size: 15px;
  line-height: 1.6;
}

.medexy-woo .woocommerce-MyAccount-content > p {
  margin-bottom: 12px;
}

.medexy-woo .account-section {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
}

.medexy-woo .account-section:first-of-type {
  margin-top: 28px;
}

.medexy-woo .account-section h2 {
  font-size: 20px;
  margin-bottom: 16px;
}

.medexy-woo .account-order-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.medexy-woo .account-order-actions .account-order-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 128px;
  width: 128px;
  min-height: 40px;
  height: 40px;
  padding: 0 8px;
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  border-radius: var(--radius-sm);
  text-decoration: none;
  white-space: normal;
  box-sizing: border-box;
  border: 1px solid transparent;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.medexy-woo .account-order-actions .account-order-action--view,
.medexy-woo .account-order-actions .view {
  background: var(--color-black);
  border-color: var(--color-black);
  color: #fff;
}

.medexy-woo .account-order-actions .account-order-action--view:hover,
.medexy-woo .account-order-actions .view:hover {
  background: #333;
  border-color: #333;
  color: #fff;
}

.medexy-woo .account-order-actions .account-order-action--order-again,
.medexy-woo .account-order-actions .order-again {
  background: #f3f4f6;
  border-color: #d1d5db;
  color: var(--color-black);
}

.medexy-woo .account-order-actions .account-order-action--order-again:hover,
.medexy-woo .account-order-actions .order-again:hover {
  background: #e5e7eb;
  border-color: #9ca3af;
  color: var(--color-black);
}

.medexy-woo .account-order-actions .account-order-action--invoice-pdf,
.medexy-woo .account-order-actions .invoice-pdf {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.medexy-woo .account-order-actions .account-order-action--invoice-pdf:hover,
.medexy-woo .account-order-actions .invoice-pdf:hover {
  background: #a82818;
  border-color: #a82818;
  color: #fff;
}

.medexy-woo .woocommerce-Address-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.medexy-woo .woocommerce-Address-title h3 {
  font-size: 16px;
  margin: 0;
}

.medexy-woo .woocommerce-Address-title .edit {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
}

.medexy-woo address {
  font-style: normal;
  font-size: 14px;
  line-height: 1.65;
  color: var(--color-text-secondary);
  background: var(--color-bg-light);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
}

.medexy-woo fieldset {
  border: none;
  padding: 0;
  margin: 24px 0 0;
}

.medexy-woo fieldset legend {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 12px;
}

.medexy-woo .edit-account {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

@media (min-width: 768px) {
  .medexy-woo .edit-account {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 24px;
    row-gap: 14px;
  }

  .medexy-woo .edit-account .form-row-wide,
  .medexy-woo .edit-account fieldset,
  .medexy-woo .edit-account > p:last-child {
    grid-column: 1 / -1;
  }
}

.medexy-woo .edit-account .btn-add-cart,
.medexy-woo .edit-account .woocommerce-Button.btn-add-cart {
  background: var(--color-black);
  color: #fff;
  border: none;
  height: 48px;
  padding: 0 33px;
  font-size: 15px;
}

.medexy-woo .edit-account > p:last-child {
  margin-top: 10px;
}

.medexy-woo .edit-account .btn-add-cart:hover,
.medexy-woo .edit-account .woocommerce-Button.btn-add-cart:hover {
  background: #333;
  color: #fff;
  border: none;
}

@media (max-width: 767.98px) {
  .medexy-woo .shop_table thead {
    display: none;
  }

  .medexy-woo .shop_table tr {
    display: block;
    padding: 16px 0;
    border-bottom: 1px solid var(--color-border);
  }

  .medexy-woo .shop_table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border: none;
  }

  .medexy-woo .shop_table td::before {
    content: attr(data-title);
    font-weight: 600;
    font-size: 13px;
    color: var(--color-text-secondary);
    margin-right: 16px;
  }

  .medexy-woo .shop_table .product-remove,
  .medexy-woo .shop_table .product-thumbnail {
    justify-content: flex-start;
  }

  .medexy-woo .shop_table .product-remove::before,
  .medexy-woo .shop_table .product-thumbnail::before {
    display: none;
  }

  .medexy-woo .woocommerce-orders-table thead {
    display: none;
  }

  .medexy-woo .woocommerce-orders-table tr {
    display: block;
    padding: 16px 0;
    border-bottom: 1px solid var(--color-border);
  }

  .medexy-woo .woocommerce-orders-table td {
    display: block;
    padding: 4px 0;
    border: none;
  }

  .medexy-woo .woocommerce-orders-table td::before {
    content: attr(data-title) ": ";
    font-weight: 600;
    font-size: 12px;
    color: var(--color-text-secondary);
  }
}

/* ==========================================================================
   Mini cart / side cart
   ========================================================================== */

.header-actions__cart-count {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--color-primary);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
}

body.minicart-open {
  overflow: hidden;
}

.minicart {
  position: fixed;
  inset: 0;
  z-index: 1100;
  pointer-events: none;
}

.minicart.is-open {
  pointer-events: auto;
}

.minicart__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.minicart.is-open .minicart__overlay {
  opacity: 1;
}

.minicart__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(420px, 100vw);
  height: 100%;
  background: #fff;
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.12);
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.minicart.is-open .minicart__panel {
  transform: translateX(0);
}

.minicart__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 24px 16px;
  border-bottom: 1px solid var(--color-border);
}

.minicart__title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 500;
  margin: 0;
  color: var(--color-text);
}

.minicart__count {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-text-muted);
  font-weight: 400;
}

.minicart__close {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: var(--color-bg-neutral);
  color: var(--color-text);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
}

.minicart__close:hover {
  background: var(--color-border);
}

.minicart__body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
}

.minicart__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.minicart__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
  position: relative;
}

.minicart__item:first-child {
  padding-top: 0;
}

.minicart__remove {
  position: absolute;
  top: 12px;
  right: 0;
  width: 24px;
  height: 24px;
  border: none;
  border-radius: 50%;
  background: var(--color-bg-neutral);
  color: var(--color-text);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.minicart__remove:hover {
  background: var(--color-primary);
  color: #fff;
}

.minicart__item-image {
  display: block;
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--color-bg-light);
}

.minicart__item-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.minicart__item-details {
  flex: 1 1 auto;
  min-width: 0;
  padding-right: 28px;
}

.minicart__item-name {
  display: block;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--color-text);
  text-decoration: none;
  margin-bottom: 4px;
}

.minicart__item-name:hover {
  color: var(--color-primary);
}

.minicart__item-variant {
  display: block;
  font-size: 12px;
  color: var(--color-text-muted);
  margin-bottom: 10px;
}

.minicart__item-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.minicart__item-qty {
  font-size: 13px;
  line-height: 1.4;
  color: var(--color-text-secondary);
}

.minicart__item-meta .product-qty {
  flex-shrink: 0;
}

.minicart__item-price {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.minicart__empty {
  text-align: center;
  padding: 48px 16px;
}

.minicart__empty p {
  font-size: 16px;
  color: var(--color-text-secondary);
  margin-bottom: 24px;
}

.minicart__footer {
  padding: 20px 24px 24px;
  border-top: 1px solid var(--color-border);
  background: var(--color-bg-light);
}

.medexy-minicart-footer {
  flex-shrink: 0;
}

.minicart__subtotal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  font-size: 15px;
}

.minicart__subtotal strong {
  font-size: 18px;
  font-weight: 700;
}

.minicart__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 48px;
  padding: 0;
  line-height: 1.2;
  text-align: center;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.minicart__btn.btn-add-cart {
  padding: 0;
  transform: none;
  box-shadow: none;
}

.minicart__btn.btn-add-cart:hover {
  transform: none;
  box-shadow: none;
}

.minicart__btn + .minicart__btn {
  margin-top: 10px;
}

.minicart__btn--outline {
  border: 1px solid var(--color-text);
  background: #fff;
  color: var(--color-text);
}

.minicart__btn--outline:hover {
  background: var(--color-bg-neutral);
  color: var(--color-text);
}

.minicart__btn--primary {
  border: none;
  background: var(--color-black);
  color: #fff;
}

.minicart__btn--primary:hover {
  background: #333;
  color: #fff;
}

/* ==========================================================================
   Header pages menu (hamburger)
   ========================================================================== */

body.header-menu-open {
  overflow: hidden;
}

.header-pages-menu {
  position: fixed;
  inset: 0;
  z-index: 1090;
  pointer-events: none;
}

.header-pages-menu.is-open {
  pointer-events: auto;
}

.header-pages-menu__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.header-pages-menu.is-open .header-pages-menu__overlay {
  opacity: 1;
}

.header-pages-menu__panel {
  position: absolute;
  top: 0;
  left: 0;
  width: min(360px, 100vw);
  height: 100%;
  background: #fff;
  display: flex;
  flex-direction: column;
  box-shadow: 8px 0 32px rgba(0, 0, 0, 0.12);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.header-pages-menu.is-open .header-pages-menu__panel {
  transform: translateX(0);
}

.header-pages-menu__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 24px 16px;
  border-bottom: 1px solid var(--color-border);
}

.header-pages-menu__title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 500;
  margin: 0;
}

.header-pages-menu__close {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: var(--color-bg-neutral);
  color: var(--color-text);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.header-pages-menu__close:hover {
  background: var(--color-border);
}

.header-pages-menu__body {
  flex: 1;
  overflow-y: auto;
  padding: 8px 0 24px;
}

.header-pages-menu__section {
  padding: 12px 24px 0;
}

.header-pages-menu__section-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}

.header-pages-menu__links {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 0;
  gap: 0;
}

.header-pages-menu__links .main-nav__link {
  display: block;
  padding: 12px 24px;
  font-size: 16px;
  border-radius: 0;
  opacity: 1;
}

.header-pages-menu__links .nav-dropdown {
  width: 100%;
}

.header-pages-menu__links .nav-dropdown__toggle {
  width: 100%;
  justify-content: space-between;
  padding: 12px 24px;
  border-radius: 0;
}

.header-pages-menu__links .nav-dropdown__menu {
  position: static;
  min-width: 0;
  margin: 0;
  padding: 0 0 8px;
  border: none;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.header-pages-menu__links .nav-dropdown.is-open .nav-dropdown__menu {
  display: block;
}

.header-pages-menu__links .nav-dropdown__list a {
  padding: 10px 24px 10px 40px;
  font-size: 15px;
}

.header-pages-menu__static {
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-pages-menu__static a {
  display: block;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
}

.header-pages-menu__static a:hover {
  background: var(--color-bg-light);
  color: var(--color-text);
}

/* ==========================================================================
   Brands page
   ========================================================================== */

.brands-top {
  padding: 32px 0 24px;
}

.brands-top__title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 500;
  line-height: 1.2;
  margin: 16px 0 8px;
  color: var(--color-text);
}

.brands-top__intro {
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-secondary);
  max-width: 720px;
  margin-bottom: 0;
}

.brands-main {
  padding-bottom: 64px;
}

.brands-toolbar {
  margin-bottom: 32px;
}

.brands-search {
  position: relative;
  max-width: 480px;
  margin-bottom: 20px;
}

.brands-search__icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.5;
  pointer-events: none;
}

.brands-search__input {
  width: 100%;
  height: 48px;
  padding: 0 44px 0 44px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #fff;
  font-size: 15px;
  color: var(--color-text);
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.05);
}

.brands-search__input:focus {
  outline: none;
  border-color: var(--color-text);
}

.brands-search__clear {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 50%;
  background: var(--color-bg-neutral);
  color: var(--color-text);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.brands-search__clear:hover {
  background: var(--color-border);
}

.brands-alpha {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 16px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.brands-alpha__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 8px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.brands-alpha__link:hover:not(.brands-alpha__link--empty) {
  background: var(--color-bg-light);
  color: var(--color-primary);
}

.brands-alpha__link.is-active {
  background: var(--color-black);
  color: #fff;
}

.brands-alpha__link--empty {
  color: var(--color-text-muted);
  opacity: 0.4;
  pointer-events: none;
}

.brands-featured {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 32px 48px;
  padding: 32px 24px;
  margin-bottom: 40px;
  background: var(--color-bg-light);
  border-radius: var(--radius-md);
}

.brands-featured__item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  opacity: 0.85;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.brands-featured__item:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.brands-featured__item img {
  max-height: 56px;
  max-width: 180px;
  width: auto;
  object-fit: contain;
}

.brands-featured__name {
  display: block;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  color: var(--color-text);
}

.brands-directory {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 32px 48px;
}

.brands-group {
  scroll-margin-top: 120px;
}

.brands-group.is-hidden {
  display: none;
}

.brands-group__letter {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 500;
  line-height: 1;
  color: var(--color-text);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-black);
}

.brands-group__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.brands-group__list li + li {
  border-top: 1px solid var(--color-border);
}

.brands-group__link {
  display: block;
  padding: 12px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.15s ease;
}

.brands-group__link:hover {
  color: var(--color-primary);
}

.brands-group__link.is-hidden {
  display: none;
}

.brands-empty {
  text-align: center;
  padding: 48px 16px;
  font-size: 16px;
  color: var(--color-text-secondary);
}

@media (max-width: 767.98px) {
  .brands-alpha {
    gap: 2px;
  }

  .brands-alpha__link {
    min-width: 32px;
    height: 32px;
    font-size: 13px;
  }

  .brands-featured {
    gap: 24px 32px;
    padding: 24px 16px;
  }

  .brands-directory {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* Catalog archive (WordPress) */
a.catalog-filter__check {
  text-decoration: none;
}

a.catalog-filter__check.is-active {
  font-weight: 600;
}

.catalog-toolbar__options a {
  border: 0;
  background: transparent;
  padding: 0;
  font-size: 14px;
  line-height: 21px;
  color: var(--color-text-secondary);
  text-decoration: none;
}

.catalog-toolbar__options a.is-active {
  color: var(--color-text);
  font-weight: 600;
}

.catalog-toolbar__sort-wrap {
  position: relative;
}

.catalog-toolbar__sort-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 20;
  min-width: 220px;
  padding: 8px 0;
  border-radius: var(--radius-sm);
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.catalog-toolbar__sort-menu a {
  display: block;
  padding: 8px 16px;
  font-size: 14px;
  line-height: 21px;
  color: var(--color-text);
  text-decoration: none;
}

.catalog-toolbar__sort-menu a.is-active,
.catalog-toolbar__sort-menu a:hover {
  background: var(--color-bg-light);
}

/* Single product (WordPress) */
.medexy-variations-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.product-page .woocommerce-notices-wrapper {
  margin-bottom: 0;
}

.product-tabpanel .woocommerce-Reviews {
  max-width: 100%;
}

.medexy-cart-toast {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 1200;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 280px;
  max-width: min(420px, calc(100vw - 32px));
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: #fff;
  border: 1px solid var(--color-border);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.medexy-cart-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.medexy-cart-toast__icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--color-success) center/14px 14px no-repeat;
}

.medexy-cart-toast.is-success .medexy-cart-toast__icon {
  background-color: #dcfce7;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M2.5 7.2L5.6 10.3L11.5 3.7' stroke='%2315803d' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.medexy-cart-toast.is-error .medexy-cart-toast__icon {
  background-color: #fee2e2;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M4 4L10 10M10 4L4 10' stroke='%23b91c1c' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
}

.medexy-cart-toast__text {
  flex: 1;
  font-size: 14px;
  line-height: 20px;
  color: var(--color-text);
}

.medexy-cart-toast__close {
  border: 0;
  background: transparent;
  color: var(--color-text-secondary);
  font-size: 20px;
  line-height: 1;
  padding: 0;
  cursor: pointer;
}

.btn-add-cart.is-loading {
  opacity: 0.7;
  pointer-events: none;
}

/* Mini cart — override WooCommerce global styles */
#miniCart .minicart__list,
#miniCart .minicart__list li,
#miniCart .minicart__item {
  list-style: none !important;
  margin: 0 !important;
  padding-left: 0 !important;
}

#miniCart .minicart__item {
  display: flex !important;
  align-items: flex-start !important;
  gap: 14px !important;
}

#miniCart a.remove,
#miniCart .minicart__remove {
  position: absolute !important;
  top: 12px !important;
  right: 0 !important;
  left: auto !important;
  float: none !important;
  width: 24px !important;
  height: 24px !important;
  margin: 0 !important;
  color: var(--color-text) !important;
  font-weight: 400 !important;
  font-size: 16px !important;
  line-height: 1 !important;
  text-decoration: none !important;
  background: var(--color-bg-neutral) !important;
  border-radius: 50% !important;
}

#miniCart a.remove:hover,
#miniCart .minicart__remove:hover {
  color: #fff !important;
  background: var(--color-primary) !important;
}

#miniCart .minicart__item-image,
#miniCart .minicart__item-image img {
  display: block !important;
  width: 72px !important;
  height: 72px !important;
  max-width: 72px !important;
  margin: 0 !important;
  float: none !important;
}

#miniCart .minicart__item-details {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  float: none !important;
}

#miniCart .minicart__item-name {
  display: block !important;
  font-weight: 600 !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: anywhere;
}

#miniCart .minicart__item-meta {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

#miniCart .minicart__item-price,
#miniCart .minicart__item-qty {
  float: none !important;
  display: block !important;
}

#miniCart .widget_shopping_cart_content {
  display: none !important;
}

/* Cart page — override WooCommerce defaults */
.cart-page__notices {
  margin-bottom: 16px;
}

.cart-page__notices .woocommerce-message,
.cart-page__notices .woocommerce-info,
.cart-page__notices .woocommerce-error {
  margin-bottom: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  list-style: none;
}

.cart-page .medexy-woo .product-quantity .quantity {
  float: none;
  margin: 0;
}

.cart-page .medexy-woo .product-quantity .product-qty {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.cart-page .medexy-woo .product-quantity .product-qty .quantity {
  display: block;
}

.cart-page .medexy-woo .cart-empty {
  text-align: center;
  padding: 48px 16px 24px;
}

.cart-page .medexy-woo .cart-empty__text {
  font-size: 18px;
  color: var(--color-text-secondary);
  margin-bottom: 20px;
}

.cart-page .medexy-woo .return-to-shop {
  margin: 0;
}

.cart-page .medexy-woo .return-to-shop .btn-add-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  text-decoration: none;
}

.checkout-page__notices {
  margin-bottom: 24px;
}

.checkout-page .medexy-woo .woocommerce-form-login-toggle,
.checkout-page .medexy-woo .woocommerce-form-coupon-toggle {
  margin-bottom: 20px;
}

.checkout-page .medexy-woo .woocommerce-form-login,
.checkout-page .medexy-woo .checkout_coupon {
  margin-bottom: 24px;
  padding: 20px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: #fff;
}

.checkout-page .medexy-woo .checkout_coupon > p:first-child {
  margin: 0 0 16px;
}

.checkout-page .medexy-woo .checkout_coupon .form-row {
  float: none;
  width: 100%;
  margin: 0;
  padding: 0;
}

.checkout-page .medexy-woo .checkout_coupon .form-row-first {
  margin-bottom: 12px;
}

.checkout-page .medexy-woo .checkout_coupon .form-row-last {
  margin-top: 0;
}

.checkout-page .medexy-woo .checkout_coupon .clear {
  display: none;
}

.checkout-page .medexy-woo .checkout_coupon .input-text {
  width: 100%;
  height: 44px;
  margin: 0;
  padding: 0 14px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
  box-sizing: border-box;
}

.checkout-page .medexy-woo .checkout_coupon .button[name="apply_coupon"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  height: 44px;
  margin: 0;
  padding: 0 24px;
  border: 1px solid #000;
  border-radius: var(--radius-sm);
  background: #000;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
}

.checkout-page .medexy-woo .checkout_coupon .button[name="apply_coupon"]:hover {
  background: #1a1a1a;
  border-color: #1a1a1a;
  color: #fff;
}

.cart-page .medexy-woo .woocommerce-shipping-totals th {
  vertical-align: top;
}

.cart-page .medexy-woo .cart_totals .shop_table tr:last-child th,
.cart-page .medexy-woo .cart_totals .shop_table tr:last-child td {
  border-bottom: 0;
}

body.woocommerce-cart .cart-page .medexy-woo table.shop_table td::before {
  font-weight: 600;
}

body.woocommerce-cart .cart-page .medexy-woo .shop_table .product-remove::before,
body.woocommerce-cart .cart-page .medexy-woo .shop_table .product-thumbnail::before {
  display: none;
}

/* Order received (thank you) */
.order-received-page .medexy-order-received__hero {
  margin-bottom: 32px;
  padding: 32px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: #fff;
  text-align: center;
}

.order-received-page .medexy-order-received__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--color-success-dot);
}

.order-received-page .medexy-order-received__icon::after {
  content: "";
  display: block;
  width: 10px;
  height: 18px;
  margin-top: -4px;
  border-right: 3px solid #fff;
  border-bottom: 3px solid #fff;
  transform: rotate(45deg);
}

.order-received-page .medexy-order-received__message {
  max-width: 560px;
  margin: 0 auto 24px;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 18px;
  line-height: 1.5;
  color: var(--color-text);
}

.order-received-page .medexy-order-received__overview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
  margin: 0 auto 24px;
  padding: 0;
  max-width: 760px;
  text-align: left;
}

.order-received-page .medexy-order-received__overview li {
  margin: 0;
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-bg-light);
}

.order-received-page .medexy-order-received__overview-label {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
}

.order-received-page .medexy-order-received__overview-value {
  display: block;
  font-size: 15px;
  line-height: 1.45;
  color: var(--color-text);
  font-weight: 600;
}

.order-received-page .medexy-order-received__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.order-received-page .medexy-order-received__actions .btn-add-cart,
.order-received-page .medexy-order-received__actions .button {
  min-width: 180px;
  height: 48px;
  line-height: 46px;
  padding: 0 24px;
  text-align: center;
  text-decoration: none;
}

.order-received-page .medexy-order-received__details-wrap {
  display: grid;
  gap: 24px;
}

.order-received-page .medexy-order-received__details,
.order-received-page .medexy-order-received__address-card {
  padding: 28px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: #fff;
}

.order-received-page .medexy-order-received__addresses {
  margin-top: 0;
}

.order-received-page .woocommerce-order-details__title,
.order-received-page .woocommerce-column__title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 500;
  margin: 0 0 20px;
  color: var(--color-text);
}

.order-received-page .medexy-order-received__details .shop_table {
  margin-bottom: 0;
}

.order-received-page .medexy-order-received__details .shop_table .product-name {
  font-weight: 500;
}

.order-received-page .medexy-order-received__details .shop_table .product-quantity {
  font-weight: 600;
  color: var(--color-text-secondary);
}

.order-received-page .medexy-order-received__details .shop_table .wc-item-meta,
.order-received-page .medexy-order-received__details .shop_table .variation {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: var(--color-text-secondary);
}

.order-received-page .medexy-order-received__details .shop_table .wc-item-meta li {
  margin: 0;
}

.order-received-page .medexy-order-received__details .shop_table tfoot th,
.order-received-page .medexy-order-received__details .shop_table tfoot td {
  padding-top: 12px;
  padding-bottom: 12px;
}

.order-received-page .medexy-order-received__details .shop_table tfoot tr:last-child th,
.order-received-page .medexy-order-received__details .shop_table tfoot tr:last-child td {
  font-size: 18px;
  font-weight: 600;
  border-bottom: 0;
}

.order-received-page .medexy-order-received__address-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.order-received-page .medexy-order-received__address-card {
  padding: 24px;
  background: var(--color-bg-light);
}

.order-received-page .medexy-order-received__address-card--single {
  max-width: 520px;
}

.order-received-page .medexy-order-received__address-card address {
  margin: 0;
  font-style: normal;
  line-height: 1.6;
  color: var(--color-text);
}

.order-received-page .medexy-order-received__address-card .woocommerce-customer-details--phone,
.order-received-page .medexy-order-received__address-card .woocommerce-customer-details--email {
  margin: 8px 0 0;
}

.order-received-page .medexy-order-received__card--error {
  padding: 28px;
  border: 1px solid #f5c2c7;
  border-radius: var(--radius-md);
  background: #fff5f5;
}

.order-received-page .medexy-order-received__card--error .woocommerce-thankyou-order-failed-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

body.woocommerce-order-received .order-received-page .medexy-woo table.shop_table td::before {
  display: none;
}

@media (max-width: 767px) {
  .order-received-page .medexy-order-received__hero {
    padding: 24px 20px;
  }

  .order-received-page .medexy-order-received__overview {
    grid-template-columns: 1fr;
  }

  .order-received-page .medexy-order-received__details,
  .order-received-page .medexy-order-received__address-card {
    padding: 20px;
  }

  .order-received-page .medexy-order-received__address-grid {
    grid-template-columns: 1fr;
  }

  .order-received-page .medexy-order-received__actions .btn-add-cart,
  .order-received-page .medexy-order-received__actions .button {
    width: 100%;
  }
}

/* WooCommerce notices — Medexy card style */
.medexy-notice {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 12px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: #fff;
}

.medexy-notice:last-child {
  margin-bottom: 0;
}

.medexy-notice__icon {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 50%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px 14px;
}

.medexy-notice__content {
  flex: 1;
  min-width: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--color-text, #1a1a1a);
}

.medexy-notice__content p,
.medexy-notice__content ul {
  margin: 0;
}

.medexy-notice__content ul {
  padding-left: 0;
  list-style: none;
}

.medexy-notice__content a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.medexy-notice--error {
  border-color: #fecaca;
  background: #fef2f2;
}

.medexy-notice--error .medexy-notice__icon {
  background-color: #fee2e2;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b91c1c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' y1='8' x2='12' y2='12'/%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'/%3E%3C/svg%3E");
}

.medexy-notice--success {
  border-color: #bbf7d0;
  background: #f0fdf4;
}

.medexy-notice--success .medexy-notice__icon {
  background-color: #dcfce7;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315803d' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

.medexy-notice--info {
  border-color: #bfdbfe;
  background: #eff6ff;
}

.medexy-notice--info .medexy-notice__icon {
  background-color: #dbeafe;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d4ed8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' y1='16' x2='12' y2='12'/%3E%3Cline x1='12' y1='8' x2='12.01' y2='8'/%3E%3C/svg%3E");
}

.medexy-notice--b2b-pending {
  border-color: #fde68a;
  background: #fffbeb;
}

.medexy-notice--b2b-pending .medexy-notice__icon {
  background-color: #fef3c7;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b45309' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='12 6 12 12 16 14'/%3E%3C/svg%3E");
}

.medexy-notice--b2b-pending .medexy-notice__content strong {
  display: block;
  margin-bottom: 4px;
  font-size: 16px;
  font-weight: 600;
  color: #92400e;
}

.medexy-notice--b2b-rejected {
  border-color: #fecaca;
  background: #fef2f2;
}

.medexy-notice--b2b-rejected .medexy-notice__icon {
  background-color: #fee2e2;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b91c1c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='15' y1='9' x2='9' y2='15'/%3E%3Cline x1='9' y1='9' x2='15' y2='15'/%3E%3C/svg%3E");
}

.medexy-notice--b2b-rejected .medexy-notice__content strong {
  display: block;
  margin-bottom: 4px;
  font-size: 16px;
  font-weight: 600;
  color: #991b1b;
}

/* My Account page extras */
.account-page__notices {
  margin-bottom: 24px;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.account-page__notices:empty {
  display: none;
}

.account-page .woocommerce-error,
.account-page .woocommerce-info,
.account-page .woocommerce-message,
.account-page__notices .woocommerce-error,
.account-page__notices .woocommerce-info,
.account-page__notices .woocommerce-message {
  margin-bottom: 12px;
}

.account-login {
  max-width: 520px;
  margin: 0 auto;
  padding: 32px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: #fff;
}

.account-login--split {
  max-width: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  padding: 0;
  border: 0;
  background: transparent;
}

.account-login__column {
  padding: 32px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: #fff;
}

.account-login h2,
.account-section .woocommerce-address-fields h2 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 20px;
}

.account-login .form-row {
  margin-bottom: 0;
}

.account-login__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.account-login .btn-add-cart,
.account-section .btn-add-cart {
  background: var(--color-black);
  color: #fff;
  border: none;
  height: 48px;
  padding: 0 33px;
  font-size: 15px;
}

.account-login .btn-add-cart:hover,
.account-section .btn-add-cart:hover {
  background: #333;
  color: #fff;
  border: none;
}

.account-login .lost_password {
  margin: 0;
}

.account-login .lost_password a {
  color: var(--color-primary);
  text-decoration: none;
}

.account-page .woocommerce-address-fields__field-wrapper {
  display: grid;
  gap: 14px;
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .account-page .woocommerce-address-fields__field-wrapper {
    grid-template-columns: 1fr 1fr;
  }

  .account-page .woocommerce-address-fields__field-wrapper .form-row-wide {
    grid-column: 1 / -1;
  }
}

.account-page .woocommerce-MyAccount-content--guest {
  max-width: 960px;
  margin: 0 auto;
}

.account-page .woocommerce-MyAccount-content .woocommerce-order-details,
.account-page .woocommerce-MyAccount-content .woocommerce-customer-details {
  margin-top: 24px;
  padding: 28px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: #fff;
}

.show-password-input {
  display: none !important;
}

.account-page .password-input,
.register-page .password-input {
  display: block;
  position: static;
}

.account-page .password-input input,
.register-page .password-input input {
  width: 100%;
}

@media (max-width: 991px) {
  .account-login--split {
    grid-template-columns: 1fr;
  }
}

.account-login__register-cta {
  margin-top: 32px;
  padding: 32px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: #fff;
  text-align: center;
}

.account-login__register-cta h2 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 12px;
}

.account-login__register-cta p {
  margin-bottom: 20px;
  color: var(--color-text-muted, #666);
}

.account-login__register-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

/* B2B Register page */
.register-page .register-top {
  padding: 32px 0 24px;
}

.register-top__title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 500;
  margin: 16px 0 12px;
}

.register-top__intro {
  max-width: 760px;
  color: var(--color-text-muted, #666);
}

.register-main {
  padding: 0 0 64px;
}

.register-form {
  max-width: 860px;
  margin: 0 auto;
  padding: 32px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: #fff;
}

.register-form__section {
  border: 0;
  margin: 0 0 28px;
  padding: 0;
}

.register-form__legend {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 16px;
  width: 100%;
}

.register-form__type-toggle {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.register-form__type-option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm, 8px);
  cursor: pointer;
}

.register-form__type-option input {
  margin: 0;
}

.register-form__note,
.register-form__hint {
  font-size: 14px;
  color: var(--color-text-muted, #666);
  margin-bottom: 16px;
}

.register-form__file {
  padding: 10px 0;
}

.register-form__checks {
  display: grid;
  gap: 12px;
}

.register-form__check span a {
  color: var(--color-primary);
}

.register-form__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 8px;
}

.register-form__login-link {
  margin: 0;
}

.register-form__login-link a {
  color: var(--color-primary);
  text-decoration: none;
}

.register-notice {
  max-width: 860px;
  margin: 0 auto 24px;
  padding: 16px 20px;
  border-radius: var(--radius-sm, 8px);
}

.register-notice--error {
  background: #fdecea;
  border: 1px solid #f5c2c0;
  color: #611a15;
}

.register-notice--error ul {
  margin: 0;
  padding-left: 18px;
}

.register-notice--success {
  background: #edf7ed;
  border: 1px solid #b7dfb9;
  color: #1e4620;
}

/* B2B account dashboard */
.account-dashboard__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.account-dashboard__card,
.account-dashboard__welcome,
.account-dashboard__actions,
.account-dashboard__orders {
  margin-bottom: 24px;
}

.account-dashboard__card {
  padding: 24px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: #fff;
}

.account-dashboard__card--wide {
  grid-column: 1 / -1;
}

.account-dashboard__badge {
  display: inline-block;
  margin: 0 0 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--color-bg-light);
  font-weight: 600;
}

.account-dashboard__progress {
  height: 8px;
  border-radius: 999px;
  background: var(--color-bg-gray);
  overflow: hidden;
  margin: 12px 0;
}

.account-dashboard__progress span {
  display: block;
  height: 100%;
  background: var(--color-primary);
}

.account-dashboard__action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.account-dashboard__action-secondary {
  background: #fff !important;
  color: var(--color-black) !important;
  border: 1px solid var(--color-border) !important;
}

.account-dashboard__section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.account-dashboard__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.account-dashboard__list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--color-border);
}

.product-card__wishlist.is-active {
  color: var(--color-primary);
}

.catalog-list-card__wishlist.is-active,
.product-info__icon-btn.medexy-wishlist-btn.is-active {
  color: var(--color-primary);
}

.header-actions__icon-btn--wishlist {
  position: relative;
}

.header-actions__wishlist-count {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--color-primary);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
}

.account-wishlist__empty {
  margin-bottom: 16px;
}

.account-wishlist__summary {
  margin-bottom: 24px;
  color: var(--color-text-secondary);
}

.account-wishlist__grid {
  margin-top: 8px;
}

.account-quick-order__block {
  margin-bottom: 32px;
}

@media (max-width: 991px) {
  .account-dashboard__grid {
    grid-template-columns: 1fr;
  }
}
