/* ========================================================================
   Component: Base
========================================================================== */

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

html {
  background: var(--surface-page-frame);
  color: var(--foreground-primary);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  background: var(--surface-page-frame);
  color: var(--foreground-primary);
  font-family: var(--font-body);
  font-size: var(--font-size-body);
  line-height: 1.5;
}

h1,
.uk-h1 {
  font-size: var(--font-size-display);
}

h2,
.uk-h2 {
  font-size: var(--font-size-h2);
}

h3,
.uk-h3 {
  font-size: var(--font-size-h3);
}

h4,
.uk-h4 {
  font-size: var(--font-size-h4);
}

h5,
.uk-h5 {
  font-size: var(--font-size-h5);
}

h6,
.uk-h6 {
  font-size: var(--font-size-h6);
}

a {
  color: inherit;
}

a:hover {
  color: var(--accent-primary);
  text-decoration: none;
}

img,
svg {
  display: block;
}

.cursor {
  cursor: pointer;
}

.tm-wrapper-block {
  width: 100%;
  max-width: var(--layout-max);
  margin-inline: auto;
  overflow: hidden;
}

.uk-container-large {
  max-width: 1296px;
}

/* ========================================================================
   Component: Header
========================================================================== */

.tm-header-block {
  position: relative;
  z-index: 100;
  height: 88px;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--surface-soft);
}

.tm-header-block > .uk-container,
.tm-header-block .uk-navbar-container {
  height: 100%;
}

.nav-links .uk-active,
.nav-links a:hover {
  color: var(--accent-primary);
}

/* ========================================================================
   Component: UIkit overrides
========================================================================== */

.uk-card-default {
  background: var(--surface-soft);
  color: var(--foreground-primary);
  box-shadow: none;
}

.uk-button {
  min-height: 46px;
  padding-inline: 22px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-bold);
  line-height: 44px;
  text-transform: none;
}

.uk-button-small {
  min-height: 36px;
  padding-inline: 16px;
  line-height: 34px;
}

.uk-button-primary {
  background: var(--surface-inverse);
  color: var(--foreground-inverse);
}

.uk-button-primary:hover,
.uk-button-primary:focus-visible {
  background: var(--accent-primary);
  color: var(--foreground-inverse);
}

.uk-button-secondary {
  border: 1px solid var(--border-subtle);
  background: var(--surface-soft);
  color: var(--foreground-primary);
}

.uk-badge {
  min-width: 0;
  height: auto;
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  color: var(--foreground-primary) !important;
  font-family: var(--font-body);
  font-size: var(--font-size-xsmall);
  font-weight: var(--font-weight-black);
  line-height: 1.2;
  letter-spacing: 1px;
}

.uk-badge-apricot {
  background: var(--surface-apricot);
}

.uk-badge-green {
  background: var(--surface-green);
}

.uk-badge-yellow {
  background: var(--surface-yellow);
}

.uk-badge-rose {
  background: var(--accent-rose);
  color: var(--foreground-inverse) !important;
}

.uk-badge-online {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  background: var(--accent-primary);
  color: var(--foreground-inverse) !important;
  letter-spacing: 0;
}

.uk-input,
.uk-select,
.uk-textarea {
  border-color: var(--border-subtle);
  border-radius: var(--radius-small);
  background: var(--surface-soft);
  color: var(--foreground-primary);
  font-family: var(--font-body);
}

.uk-input,
.uk-select {
  height: 46px;
}

.uk-input:focus,
.uk-select:focus,
.uk-textarea:focus {
  border-color: var(--accent-primary);
}

.uk-checkbox,
.uk-radio {
  width: 18px;
  height: 18px;
  margin: 0;
  border: 1px solid var(--border-subtle);
  background-color: var(--surface-soft);
}

.uk-checkbox {
  border-radius: 4px;
}

.uk-radio {
  border-radius: 50%;
}

.uk-checkbox:focus,
.uk-radio:focus {
  border-color: var(--surface-inverse);
  background-color: var(--surface-soft);
  box-shadow: none;
}

.uk-checkbox:checked,
.uk-checkbox:indeterminate,
.uk-radio:checked {
  border-color: var(--surface-inverse);
  background-color: var(--surface-inverse);
}

.uk-checkbox:checked:focus,
.uk-checkbox:indeterminate:focus,
.uk-radio:checked:focus {
  border-color: var(--surface-inverse);
  background-color: var(--surface-inverse);
  box-shadow: none;
}

.uk-form-label {
  color: var(--foreground-primary);
  font-family: var(--font-body);
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-bold);
}

.uk-alert {
  margin: 0;
}

.uk-dotnav > .uk-active > * {
  background: var(--accent-primary);
}

/* ========================================================================
   Component: Tooltip (Global UIkit Override)
========================================================================== */

.uk-tooltip {
  --uk-position-offset: 10px;
  max-width: 300px;
  padding: 10px 15px;
  border-radius: var(--radius-xsmall, 6px);
  background: var(--accent-primary);
  color: var(--foreground-inverse);
  text-align: center;
}

/* ========================================================================
   Component: Header details
========================================================================== */

.notice {
  padding: 10px 0;
  background: var(--surface-mist);
}

.notice p {
  margin: 0;
  color: var(--foreground-primary);
  font-size: var(--font-size-xsmall);
  line-height: 1.5;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand b {
  color: var(--foreground-primary);
  font-family: var(--font-heading);
  font-size: var(--font-size-h4);
  font-weight: var(--font-weight-medium);
}

.brand span {
  color: var(--foreground-muted);
  font-size: var(--font-size-xsmall);
}

.nav-links {
  gap: 32px;
}

.nav-links > li > a {
  min-height: 88px;
  padding: 0;
  color: var(--foreground-secondary);
  font-family: var(--font-body);
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-normal);
  text-transform: none;
}

.nav-links > .uk-active > a,
.nav-links > li > a:hover {
  color: var(--foreground-primary);
  font-weight: var(--font-weight-bold);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.price-pill {
  display: flex;
  align-items: center;
  height: 44px;
  padding-inline: 18px;
  border: 1px solid var(--border-accent-secondary);
  border-radius: var(--radius-pill);
  background: var(--surface-yellow);
  color: var(--accent-secondary);
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-black);
}

.icon-btn,
.cart {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-pill);
}

.icon-btn {
  border: 1px solid var(--border-subtle);
  background: var(--surface-soft);
  color: var(--foreground-primary);
}

.cart {
  position: relative;
  background: var(--surface-inverse);
  color: var(--foreground-inverse);
}

.cart .badge {
  position: absolute;
  top: -8px;
  right: -8px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 3px solid var(--surface-primary);
  border-radius: var(--radius-pill);
  background: var(--accent-secondary);
  color: var(--foreground-inverse);
  font-size: var(--font-size-xsmall);
  font-weight: var(--font-weight-black);
}

.icon-btn svg,
.cart svg {
  width: 20px;
  height: 20px;
}

.account-trigger {
  position: relative;
}

.account-trigger.uk-active {
  border-color: var(--accent-primary);
  background: var(--accent-primary);
  color: var(--foreground-inverse);
}

.account-trigger > .account-online {
  position: absolute;
  top: -8px;
  right: -8px;
  border: 3px solid var(--surface-soft);
}

/* ========================================================================
   Component: Mobile menu
========================================================================== */

.mobile-menu-bar {
  display: flex;
  flex-direction: column;
  width: min(390px, 100vw);
  padding: 0;
  background: var(--surface-soft);
  color: var(--foreground-primary);
}

.mobile-menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-menu-brand {
  display: flex;
  flex-direction: column;
}

.mobile-menu-brand b {
  color: var(--foreground-primary);
  font-family: var(--font-heading);
  font-size: var(--font-size-large);
  font-weight: var(--font-weight-medium);
}

.mobile-menu-brand span {
  color: var(--foreground-muted);
  font-size: var(--font-size-xsmall);
}

.mobile-menu-bar.uk-offcanvas-bar .mobile-menu-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: var(--radius-pill);
  background: var(--surface-primary);
  color: var(--foreground-primary) !important;
}

.mobile-menu-bar.uk-offcanvas-bar .mobile-menu-close:hover {
  color: var(--accent-primary) !important;
}

.mobile-menu-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  padding: 20px;
  overflow-y: auto;
}

.mobile-menu-search {
  width: 100%;
  height: 48px;
  margin-bottom: 16px;
  border-radius: var(--radius-small);
  background: var(--surface-primary);
}

.mobile-menu-bar.uk-offcanvas-bar .mobile-menu-search .uk-search-icon {
  color: var(--foreground-primary) !important;
}

.mobile-menu-bar.uk-offcanvas-bar .mobile-menu-search .uk-search-input {
  height: 48px;
  border: 0;
  color: var(--foreground-primary) !important;
  font-size: var(--font-size-small);
}

.mobile-menu-bar.uk-offcanvas-bar .mobile-menu-search .uk-search-input::placeholder {
  color: var(--foreground-primary) !important;
  opacity: 0.6;
}

.mobile-menu-nav > li + li {
  border-top: 1px solid var(--border-subtle);
}

.mobile-menu-bar.uk-offcanvas-bar .mobile-menu-nav.uk-nav-default > li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 2px;
  color: var(--foreground-primary);
  font-size: var(--font-size-medium);
  font-weight: var(--font-weight-medium);
}

.mobile-menu-bar.uk-offcanvas-bar .mobile-menu-nav.uk-nav-default > li.uk-active > a,
.mobile-menu-bar.uk-offcanvas-bar .mobile-menu-nav.uk-nav-default > li > a:hover {
  color: var(--accent-primary);
  font-weight: var(--font-weight-bold);
}

.mobile-menu-nav svg {
  color: var(--foreground-muted);
}

.mobile-menu-bottom {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-menu-bottom .uk-button,
.mobile-menu-bottom .price-pill {
  min-height: 50px;
}

.mobile-menu-bottom .uk-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  line-height: 1.2;
}

.mobile-menu-bar .uk-button-primary {
  background: var(--surface-inverse);
  color: var(--foreground-inverse);
}

.mobile-menu-bar .uk-button-secondary {
  border-color: var(--border-subtle);
  background: var(--surface-soft);
  color: var(--foreground-primary);
}

.mobile-menu-bottom .price-pill {
  justify-content: center;
}

.mobile-menu-social {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding-top: 6px;
}

.mobile-menu-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-pill);
  background: var(--surface-primary);
  color: var(--accent-primary);
}

/* ========================================================================
   Component: Authentication modal
========================================================================== */

.auth-modal,
.reset-password-modal,
.review-modal,
.cart-modal {
  background: var(--surface-overlay);
}

.auth-modal-dialog,
.reset-password-dialog,
.review-modal-dialog,
.cart-modal-dialog {
  padding: 32px;
  border-radius: var(--radius-medium);
  background: var(--surface-soft);
  box-shadow: var(--shadow-modal);
}

.auth-modal-dialog {
  width: 440px;
}

.auth-modal-dialog .uk-modal-close-default,
.reset-password-dialog .uk-modal-close-default,
.review-modal-dialog .uk-modal-close-default,
.cart-modal-dialog .uk-modal-close-default,
.terms-modal-dialog .uk-modal-close-default {
  top: 24px;
  right: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: var(--radius-pill);
  background: var(--surface-primary);
  color: var(--foreground-primary);
}

.auth-modal-title {
  margin: 0;
  padding-right: 48px;
  color: var(--foreground-primary);
  font-family: var(--font-heading);
  font-size: var(--font-size-h3);
  font-weight: var(--font-weight-bold);
  line-height: 1.1;
}

.auth-modal-tabs {
  gap: 4px;
  margin: 18px 0 0;
  padding: 4px;
  border-radius: var(--radius-small);
  background: var(--surface-primary);
}

.auth-modal-tabs::before {
  display: none;
}

.auth-modal-tabs > li {
  padding: 0;
}

.auth-modal-tabs > li > a {
  justify-content: center;
  min-height: 42px;
  padding: 0 12px;
  border: 0;
  border-radius: calc(var(--radius-small) - 2px);
  color: var(--foreground-primary);
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-medium);
  text-transform: none;
}

.auth-modal-tabs > .uk-active > a {
  background: var(--surface-soft);
  font-weight: var(--font-weight-bold);
}

.auth-modal-switcher {
  margin-top: 18px;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.auth-form .uk-button {
  min-height: 52px;
}

.auth-form-link {
  color: var(--accent-primary);
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-bold);
}

.auth-form-switch,
.auth-form-consent {
  color: var(--foreground-secondary);
  font-size: var(--font-size-small);
}

.auth-form-switch {
  text-align: center;
}

.auth-form-consent {
  line-height: 1.5;
}

.auth-form-consent a {
  color: var(--accent-primary);
  font-weight: var(--font-weight-medium);
  text-decoration: underline;
}

/* ========================================================================
   Component: Password reset modal
========================================================================== */

.reset-password-dialog {
  width: 460px;
}

.reset-password-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}

.reset-password-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: var(--radius-pill);
  background: var(--surface-mist);
  color: var(--accent-primary);
}

.reset-password-title {
  margin: 0;
  padding-inline: 42px;
  color: var(--foreground-primary);
  font-family: var(--font-heading);
  font-size: var(--font-size-h3);
  font-weight: var(--font-weight-medium);
  line-height: 1.1;
}

.reset-password-content > p {
  margin: 0;
  color: var(--foreground-secondary);
  font-size: var(--font-size-small);
  line-height: 1.55;
}

.reset-password-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  text-align: left;
}

.reset-password-form .uk-button {
  min-height: 52px;
}

.reset-password-back {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-primary);
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-bold);
}

/* ========================================================================
   Component: Cart modal
========================================================================== */

.cart-modal-dialog {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 460px;
}

.cart-modal-heading,
.cart-modal-shipping-heading {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-modal-status {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: var(--radius-pill);
  background: var(--surface-green);
  color: var(--accent-primary);
}

.cart-modal-title {
  margin: 0;
  padding-right: 42px;
  color: var(--foreground-primary);
  font-family: var(--font-heading);
  font-size: var(--font-size-h3);
  font-weight: var(--font-weight-medium);
  line-height: 1.1;
}

.cart-modal-product img {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-small);
  object-fit: cover;
}

.cart-modal-product strong,
.cart-modal-product span {
  display: block;
}

.cart-modal-product strong {
  color: var(--foreground-primary);
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-bold);
}

.cart-modal-product span {
  color: var(--foreground-muted);
  font-size: var(--font-size-xsmall);
}

.cart-modal-product b {
  color: var(--foreground-primary);
  font-family: var(--font-data);
  font-size: var(--font-size-medium);
  font-weight: var(--font-weight-bold);
}

.cart-modal-shipping {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  border-radius: var(--radius-small);
  background: var(--surface-primary);
}

.cart-modal-shipping-heading {
  color: var(--foreground-primary);
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-medium);
}

.cart-modal-shipping-heading svg,
.cart-modal-shipping-heading b {
  color: var(--accent-primary);
}

.cart-modal-track {
  height: 8px;
  overflow: hidden;
  border-radius: var(--radius-pill);
  background: var(--surface-soft);
}

.cart-modal-track span {
  display: block;
  width: var(--cart-progress, 34.45%);
  height: 100%;
  border-radius: var(--radius-pill);
  background: var(--accent-primary);
}

.cart-modal-shipping small {
  color: var(--foreground-muted);
  font-size: var(--font-size-xsmall);
}

.cart-modal-actions .uk-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
}

/* ========================================================================
   Component: Review modal
========================================================================== */

.review-modal-dialog {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 600px;
}

.review-modal-title {
  margin: 0;
  padding-right: 42px;
  color: var(--foreground-primary);
  font-family: var(--font-heading);
  font-size: var(--font-size-h3);
  font-weight: var(--font-weight-medium);
  line-height: 1.1;
}

.review-modal-intro p {
  margin: 0;
  color: var(--foreground-secondary);
  font-size: var(--font-size-small);
  line-height: 1.55;
}

.review-modal-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.review-rating-fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.review-rating-options {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 6px;
  margin-top: 8px;
  width: max-content;
}

.review-rating-options input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.review-rating-options label {
  color: var(--border-subtle);
  cursor: pointer;
}

.review-rating-options label svg > polygon {
  fill: currentColor;
  stroke: currentColor;
}

.review-rating-options input:checked ~ label,
.review-rating-options label:hover,
.review-rating-options label:hover ~ label {
  color: var(--accent-rose);
}

.review-rating-options input:focus-visible + label {
  border-radius: 3px;
  outline: 2px solid var(--accent-primary);
  outline-offset: 3px;
}

.form-turnstile {
  width: min(300px, 100%);
  aspect-ratio: 60 / 13;
  border-radius: calc(var(--radius-small) - 2px);
  background: url('../images/others/turnstile.webp') left center / contain no-repeat;
}

.review-form-consent {
  color: var(--foreground-secondary);
  font-size: var(--font-size-small);
  line-height: 1.5;
}

.review-modal-form .uk-button {
  gap: 8px;
  min-height: 52px;
}

/* ========================================================================
   Component: Shared section heading
========================================================================== */

.section-intro {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: min(680px, 100%);
}

.section-intro p {
  margin: 0;
  color: var(--foreground-secondary);
  font-size: var(--font-size-small);
  line-height: 1.55;
}

.link-arrow {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--foreground-primary);
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-medium);
}

.link-arrow svg {
  width: 16px;
  height: 16px;
}

.section-title {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.h-title,
.title-mix {
  margin: 0;
  color: var(--foreground-primary);
  font-family: var(--font-heading);
  font-size: var(--font-size-h2);
  line-height: 1.05;
}

.h-title {
  font-weight: var(--font-weight-bold);
}

.title-mix {
  font-weight: var(--font-weight-book);
}

.title-mix strong {
  font-weight: var(--font-weight-black);
}

/* ========================================================================
   Component: Hero
========================================================================== */

.tm-hero-block {
  padding-block: 72px;
  background: var(--surface-primary);
}

.hero-slideshow .uk-slideshow-items {
  height: 616px;
}

.hero-layout {
  min-height: 616px;
}

.hero-left {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.hero-eyebrow,
.eyebrow {
  color: var(--accent-primary);
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-black);
  letter-spacing: 2px;
}

.hero-left h1 {
  margin: 0;
  color: var(--foreground-primary);
  font-family: var(--font-heading);
  font-size: var(--font-size-display);
  font-weight: var(--font-weight-book);
  line-height: 0.95;
}

.hero-sub {
  max-width: 700px;
  margin: 0;
  color: var(--foreground-secondary);
  font-size: var(--font-size-medium);
  line-height: 1.55;
}

.hero-sub p {
  margin: 0;
}

.hero-controls {
  gap: 16px;
  padding-top: 12px;
}

.nav-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-pill);
}

.nav-circle.prev {
  border: 1px solid var(--border-subtle);
  background: var(--surface-soft);
  color: var(--foreground-primary);
}

.nav-circle.next {
  background: var(--surface-inverse);
  color: var(--foreground-inverse);
}

.nav-circle svg {
  width: 20px;
  height: 20px;
}

.dots {
  gap: 8px;
  margin: 0;
  padding-left: 8px;
}

.dots > * > * {
  width: 8px;
  height: 8px;
  border: 0;
  background: var(--border-subtle);
}

.dots > .uk-active > * {
  width: 10px;
  height: 10px;
  background: var(--surface-inverse);
}

.hero-right {
  position: relative;
}

.hero-image {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius-large);
  background: var(--surface-soft);
}

.uk-card-hero {
  position: absolute;
  bottom: -32px;
  left: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 240px;
  padding: 18px;
  border-radius: var(--radius-medium);
  background: var(--surface-soft);
  color: var(--foreground-primary);
  box-shadow: var(--shadow-soft);
}

.hero-card-top,
.hero-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-card-top span {
  color: var(--foreground-muted);
  font-size: var(--font-size-xsmall);
  font-weight: var(--font-weight-bold);
  letter-spacing: 1.5px;
}

.hero-card-top .hero-sale {
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  background: var(--surface-apricot);
  color: var(--foreground-primary);
}

.uk-card-hero h3 {
  margin: 0;
  color: var(--foreground-primary);
  font-family: var(--font-heading);
  font-size: var(--font-size-h4);
  font-weight: var(--font-weight-medium);
}

.hero-price b,
.hero-price s {
  font-family: var(--font-data);
}

.hero-price b {
  color: var(--foreground-primary);
  font-size: var(--font-size-medium);
  font-weight: var(--font-weight-medium);
}

.hero-price s {
  color: var(--accent-rose);
  font-size: var(--font-size-small);
  text-decoration: none;
}

/* ========================================================================
   Component: Trust strip
========================================================================== */

.tm-trust-block {
  padding-block: 36px;
  background: var(--surface-soft);
}

.trust-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.trust-item small {
  color: var(--accent-primary);
  font-size: var(--font-size-xsmall);
  font-weight: var(--font-weight-bold);
  letter-spacing: 1.8px;
}

.trust-item b {
  color: var(--foreground-primary);
  font-family: var(--font-heading);
  font-size: var(--font-size-large);
  font-weight: var(--font-weight-book);
}

/* ========================================================================
   Component: Categories
========================================================================== */

.tm-categories-block,
.tm-bestsellers-block,
.tm-reviews-block,
.tm-magazine-block {
  padding-block: 72px;
}

.tm-categories-block {
  background: var(--surface-mist);
}

.uk-card-category {
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
  padding: 22px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-large);
  background: var(--surface-soft);
  color: var(--foreground-primary);
}

.category-image {
  height: 180px;
  overflow: hidden;
  border-radius: var(--radius-medium);
}

.category-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-label {
  color: var(--accent-primary);
  font-size: var(--font-size-xsmall);
  font-weight: var(--font-weight-bold);
  letter-spacing: 1.8px;
}

.uk-card-category h3 {
  margin: 0;
  color: var(--foreground-primary);
  font-family: var(--font-heading);
  font-size: var(--font-size-h4);
  font-weight: var(--font-weight-book);
}

.category-count {
  color: var(--foreground-muted);
  font-family: var(--font-data);
  font-size: var(--font-size-xsmall);
}

/* ========================================================================
   Component: Breadcrumb
========================================================================== */

.tm-breadcrumb-block {
  padding-block: 24px;
  background: var(--surface-soft);
}

.uk-breadcrumb-wrap {
  position: relative;
  --breadcrumb-fade-bg: var(--surface-soft);
}

.uk-breadcrumb-wrap::after {
  position: absolute;
  z-index: 3;
  top: 0;
  right: 0;
  bottom: 0;
  width: 72px;
  background: linear-gradient(90deg, transparent 0%, var(--breadcrumb-fade-bg) 72%);
  content: "";
  pointer-events: none;
}

.tm-breadcrumb-block .uk-breadcrumb {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: nowrap;
  margin: 0;
  padding-right: 72px;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
}

.tm-breadcrumb-block .uk-breadcrumb::-webkit-scrollbar {
  display: none;
}

.tm-breadcrumb-block .uk-breadcrumb > * {
  flex: none;
}

.tm-breadcrumb-block .uk-breadcrumb a,
.tm-breadcrumb-block .uk-breadcrumb span {
  color: var(--foreground-muted);
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-medium);
}

.tm-breadcrumb-block .uk-breadcrumb > :last-child > span {
  color: var(--foreground-primary);
  font-weight: var(--font-weight-bold);
}

/* ========================================================================
   Component: Article cards
========================================================================== */

.uk-card-article {
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
  padding: 14px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-medium);
  background: var(--surface-soft);
  color: var(--foreground-primary);
}

.uk-card-article:hover,
.uk-card-article:focus-visible {
  border-color: var(--accent-primary);
  color: var(--foreground-primary);
}

.article-card-image {
  position: relative;
  display: block;
  aspect-ratio: 11 / 6;
  overflow: hidden;
  border-radius: var(--radius-small);
}

.article-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-card-image > .uk-badge {
  position: absolute;
  top: 14px;
  left: 14px;
}

.article-card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 4px 8px 0;
}

.article-card-body h3 {
  margin: 0;
  color: var(--foreground-primary);
  font-family: var(--font-heading);
  font-size: var(--font-size-h4);
  font-weight: var(--font-weight-bold);
  line-height: 1.2;
}

.article-card-body p {
  margin: 0;
  color: var(--foreground-secondary);
  font-size: var(--font-size-small);
  line-height: 1.45;
}

.article-read {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
}

.article-card-action {
  margin-top: auto;
  padding: 0 8px 10px;
}

.article-read svg {
  width: 15px;
  height: 15px;
}

/* ========================================================================
   Component: Articles view
========================================================================== */

.tm-articles-intro-block {
  padding-block: 48px;
  background: var(--surface-mist);
}

.articles-intro {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 10px;
}

.articles-intro h1 {
  margin: 0;
  color: var(--foreground-primary);
  font-family: var(--font-heading);
  font-size: var(--font-size-display);
  font-weight: var(--font-weight-book);
  line-height: 0.95;
}

.articles-intro-copy p {
  margin: 0;
  color: var(--foreground-secondary);
  font-size: var(--font-size-body);
  line-height: 1.55;
}

.tm-articles-list-block {
  padding-block: 64px;
  background: var(--surface-soft);
}

/* ========================================================================
   Component: Article detail
========================================================================== */

.tm-article-header-block {
  padding-block: 48px;
  background: var(--surface-soft);
}

.article-header {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 18px;
  text-align: center;
}

.article-title h1 {
  margin: 0;
  color: var(--foreground-primary);
  font-family: var(--font-heading);
  font-size: var(--font-size-display);
  font-weight: var(--font-weight-medium);
  line-height: 1.05;
}

.article-lead p {
  margin: 0;
  color: var(--foreground-secondary);
  font-size: var(--font-size-large);
  line-height: 1.55;
}

.article-meta {
  gap: 12px;
  color: var(--foreground-muted);
  font-family: var(--font-data);
  font-size: var(--font-size-small);
}

.tm-article-hero-block {
  padding-block: 0 32px;
  background: var(--surface-soft);
}

.article-hero-image {
  overflow: hidden;
  border-radius: var(--radius-large);
}

.article-hero-image img {
  width: 100%;
  height: auto;
}

.tm-article-content-block {
  padding-block: 16px 48px;
  background: var(--surface-soft);
}

.article-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.article-content > p {
  margin: 0;
  color: var(--foreground-primary);
  font-size: var(--font-size-medium);
  line-height: 1.7;
}

.article-content > h2 {
  margin: 8px 0 0;
  color: var(--foreground-primary);
  font-family: var(--font-heading);
  font-size: var(--font-size-h2);
  font-weight: var(--font-weight-medium);
  line-height: 1.1;
}

.article-check-list > li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  color: var(--foreground-primary);
  font-size: var(--font-size-medium);
}

.article-check-list > li > :first-child {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  color: var(--accent-primary);
}

.article-quote {
  padding: 10px 0 10px 22px;
  border-left: 4px solid var(--accent-primary);
}

.article-quote blockquote,
.article-quote p {
  margin: 0;
}

.article-quote p {
  color: var(--foreground-primary);
  font-family: var(--font-heading);
  font-size: var(--font-size-h3);
  font-style: italic;
  line-height: 1.35;
}

.tm-article-share-block {
  padding-block: 40px 56px;
  background: var(--surface-soft);
}

.article-share {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 16px;
  text-align: center;
}

.article-share h2,
.tm-related-articles-block > .uk-container > h2 {
  margin: 0;
  color: var(--foreground-primary);
  font-family: var(--font-heading);
  font-size: var(--font-size-h2);
  font-weight: var(--font-weight-medium);
  line-height: 1.1;
}

.article-share-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  background: var(--surface-soft);
  color: var(--foreground-primary);
}

.article-share-link:hover,
.article-share-link:focus-visible {
  border-color: var(--accent-primary);
  background: var(--surface-mist);
  color: var(--accent-primary);
}

.article-share-link svg {
  width: 18px;
  height: 18px;
}

.tm-related-articles-block {
  padding-block: 64px;
  background: var(--surface-primary);
}

.tm-related-articles-block > .uk-container > h2 {
  margin-bottom: 24px;
}

/* ========================================================================
   Component: Category view
========================================================================== */

.tm-category-intro-block {
  padding-block: 48px;
  background: var(--surface-mist);
}

.category-intro {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.category-intro h1 {
  margin: 0;
  color: var(--foreground-primary);
  font-family: var(--font-heading);
  font-size: var(--font-size-display);
  font-weight: var(--font-weight-book);
  line-height: 0.95;
}

.category-intro-copy p {
  margin: 0;
  color: var(--foreground-secondary);
  font-size: var(--font-size-body);
  line-height: 1.55;
}

.tm-product-list-block {
  padding-block: 28px 64px;
  background: var(--surface-soft);
}

.category-menu-toggle {
  gap: 8px;
  min-height: 40px;
  border-radius: var(--radius-small);
  line-height: 38px;
}

.category-menu-toggle svg {
  width: 16px;
  height: 16px;
}

.category-toolbar-actions {
  row-gap: 8px;
}

.product-count {
  color: var(--foreground-muted);
  font-family: var(--font-data);
  font-size: var(--font-size-small);
}

.category-sort {
  min-width: 210px;
  border-radius: var(--radius-small);
  color: var(--foreground-primary);
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-medium);
}

.category-menu {
  margin-top: 20px;
  padding: 20px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-medium);
  background: var(--surface-soft);
  box-shadow: var(--shadow-card);
}

.category-menu-item {
  gap: 12px;
  height: 100%;
  padding: 8px;
  border-radius: var(--radius-small);
  color: var(--foreground-primary);
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-medium);
}

.category-menu-item:hover,
.category-menu-item.uk-active {
  background: var(--surface-mist);
  color: var(--foreground-primary);
}

.category-menu-image {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  overflow: hidden;
  border-radius: 8px;
}

.category-menu-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-products {
  margin-top: 32px;
}

:is(.category-pagination, .tm-pagination) .uk-pagination {
  gap: 8px;
  margin: 40px 0 0;
}

:is(.category-pagination, .tm-pagination) .uk-pagination > * {
  padding-left: 0;
}

:is(.category-pagination, .tm-pagination) .uk-pagination > * > * {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  background: var(--surface-soft);
  color: var(--foreground-primary);
  font-family: var(--font-data);
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-medium);
}

:is(.category-pagination, .tm-pagination) .uk-pagination > .uk-active > * {
  border-color: var(--surface-inverse);
  background: var(--surface-inverse);
  color: var(--foreground-inverse);
}

.tm-category-content-block {
  padding-block: 48px;
  background: var(--surface-soft);
}

.category-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.category-content hr {
  width: 100%;
  margin: 0;
  border: 0;
  border-top: 1px solid var(--border-subtle);
}

.category-content > p {
  margin: 0;
  color: var(--foreground-secondary);
  font-size: var(--font-size-body);
  line-height: 1.6;
}

.category-note {
  margin: 0;
  padding: 6px 0 6px 18px;
  border-left: 3px solid var(--accent-primary);
}

.category-note p {
  margin: 0;
  color: var(--foreground-muted);
  font-size: var(--font-size-small);
  font-style: italic;
  line-height: 1.55;
}

/* ========================================================================
   Component: Contact view
========================================================================== */

.tm-contact-intro-block {
  padding-block: 48px;
  background: var(--surface-mist);
}

.contact-intro {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-intro h1 {
  margin: 0;
  color: var(--foreground-primary);
  font-family: var(--font-heading);
  font-size: var(--font-size-display);
  font-weight: var(--font-weight-book);
  line-height: 0.95;
}

.contact-intro-copy p,
.contact-form-intro p {
  margin: 0;
  color: var(--foreground-secondary);
  font-size: var(--font-size-body);
  line-height: 1.55;
}

.tm-contact-main-block {
  padding-block: 64px;
  background: var(--surface-soft);
}

.uk-card-contact-info,
.uk-card-contact-form {
  padding: 32px;
  border-radius: var(--radius-large);
}

.uk-card-contact-info {
  display: flex;
  flex-direction: column;
  gap: 22px;
  border: 1px solid var(--border-subtle);
  background: var(--surface-soft);
}

.contact-info-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-small);
  background: var(--surface-mist);
  color: var(--accent-primary);
}

.contact-info-item > .uk-width-expand {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.contact-info-label,
.contact-social-heading {
  color: var(--foreground-muted);
  font-size: var(--font-size-xsmall);
  font-weight: var(--font-weight-bold);
}

.contact-social-heading {
  letter-spacing: 1.5px;
}

.contact-info-item strong {
  color: var(--foreground-primary);
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-medium);
  line-height: 1.45;
}

.contact-info-item strong a {
  color: inherit;
}

.contact-info-item strong a:hover,
.contact-info-item strong a:focus-visible {
  color: var(--accent-primary);
}

.contact-info-item small {
  color: var(--foreground-muted);
  font-size: var(--font-size-xsmall);
}

.contact-social-link {
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  background: var(--surface-mist);
  color: var(--foreground-primary);
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-bold);
}

.contact-social-link:hover,
.contact-social-link:focus-visible {
  background: var(--surface-green);
  color: var(--foreground-primary);
}

.contact-social-link svg {
  width: 17px;
  height: 17px;
  color: var(--accent-primary);
}

.uk-card-contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: var(--surface-primary);
}

.uk-card-contact-form h2,
.contact-help h2 {
  margin: 0;
  color: var(--foreground-primary);
  font-family: var(--font-heading);
  font-size: var(--font-size-h3);
  font-weight: var(--font-weight-medium);
  line-height: 1.1;
}

.contact-form-intro p {
  font-size: var(--font-size-small);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-submit {
  gap: 8px;
  min-height: 52px;
}

.tm-contact-help-block {
  padding-block: 40px;
  background: var(--surface-mist);
}

.contact-help {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 16px;
}

.contact-help-link {
  gap: 10px;
  min-height: 48px;
  padding-inline: 20px;
  border-radius: var(--radius-pill);
  background: var(--surface-soft);
  color: var(--foreground-primary);
  font-size: var(--font-size-medium);
  font-weight: var(--font-weight-bold);
}

.contact-help-link:hover,
.contact-help-link:focus-visible {
  color: var(--accent-primary);
}

.contact-help-link svg {
  width: 18px;
  height: 18px;
  color: var(--accent-primary);
}

.tm-contact-note-block {
  padding-block: 18px;
  background: var(--surface-soft);
}

.contact-note {
  display: flex;
  justify-content: center;
}

.contact-note p {
  max-width: 900px;
  margin: 0;
  color: var(--foreground-muted);
  font-size: var(--font-size-xsmall);
  line-height: 1.5;
  text-align: center;
}

/* ========================================================================
   Component: Account view
========================================================================== */

.tm-account-intro-block {
  padding-block: 48px;
  background: var(--surface-mist);
}

.account-intro {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.account-intro h1 {
  margin: 0;
  color: var(--foreground-primary);
  font-family: var(--font-heading);
  font-size: var(--font-size-display);
  font-weight: var(--font-weight-book);
  line-height: 0.95;
}

.account-intro-copy p {
  margin: 0;
  color: var(--foreground-secondary);
  font-size: var(--font-size-body);
  line-height: 1.55;
}

.tm-account-main-block {
  padding-block: 64px;
  background: var(--surface-soft);
}

.uk-card-account-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-medium);
  background: var(--surface-soft);
}

.account-profile {
  padding: 6px 6px 2px;
}

.account-profile-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin: 0;
  border: 0;
  background: transparent;
  color: var(--foreground-primary);
  font-family: var(--font-body);
  text-align: left;
  cursor: default;
}

.account-profile-toggle:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
}

.account-profile-copy {
  flex: 1;
  min-width: 0;
}

.account-profile-chevron {
  flex: 0 0 auto;
  color: var(--accent-primary);
  transition: transform 0.2s ease;
}

.account-profile-toggle[aria-expanded="true"] .account-profile-chevron {
  transform: rotate(180deg);
}

.account-nav-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.account-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-pill);
  background: var(--surface-apricot);
  color: var(--foreground-primary);
  font-family: var(--font-data);
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-black);
}

.account-profile-name {
  display: flex;
  align-items: center;
  gap: 8px;
}

.account-profile-name b {
  color: var(--foreground-primary);
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-bold);
}

.account-profile-email {
  display: block;
  margin-top: 2px;
  overflow-wrap: anywhere;
  color: var(--foreground-muted);
  font-size: var(--font-size-xsmall);
}

.account-nav {
  margin: 0;
}

.account-nav > li > a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-radius: var(--radius-small);
  color: var(--foreground-primary);
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-medium);
}

.account-nav > li > a:hover,
.account-nav > li.uk-active > a {
  background: var(--surface-mist);
  color: var(--accent-primary);
}

.account-nav > li > a svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  color: var(--foreground-secondary);
}

.account-nav > li > a:hover svg,
.account-nav > li.uk-active > a svg {
  color: var(--accent-primary);
}

.account-nav > .account-nav-logout {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid var(--border-subtle);
}

.account-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.uk-card-account {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 28px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-medium);
  background: var(--surface-soft);
}

.uk-card-account h2 {
  margin: 0;
  color: var(--foreground-primary);
  font-family: var(--font-heading);
  font-size: var(--font-size-h3);
  font-weight: var(--font-weight-medium);
  line-height: 1.1;
}

.account-form-actions {
  margin-top: 4px;
}

.account-form-note p {
  margin: 0;
  color: var(--foreground-muted);
  font-size: var(--font-size-small);
  line-height: 1.5;
}

.account-password-fields {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.uk-card-password-help {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
  border-radius: var(--radius-small);
  background: var(--surface-primary);
}

.password-strength {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.password-strength-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.password-strength-head small {
  color: var(--foreground-muted);
  font-size: var(--font-size-xsmall);
  font-weight: var(--font-weight-bold);
}

.password-strength-head b {
  color: var(--accent-secondary);
  font-size: var(--font-size-xsmall);
  font-weight: var(--font-weight-black);
}

.password-strength-bars {
  display: flex;
  gap: 6px;
}

.password-strength-bars > span {
  flex: 1;
  height: 5px;
  border-radius: var(--radius-pill);
  background: var(--border-subtle);
}

.password-strength-bars > .uk-active {
  background: var(--accent-primary);
}

.password-requirements-title {
  color: var(--foreground-primary);
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-black);
}

.password-requirements {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.password-requirements > span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--foreground-muted);
  font-size: var(--font-size-small);
}

.password-requirements > .uk-done {
  color: var(--foreground-primary);
}

.password-requirement-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  background: var(--surface-soft);
}

.password-requirements > .uk-done .password-requirement-icon {
  border-color: transparent;
  background: var(--surface-green);
  color: var(--accent-primary);
}

.password-requirement-icon svg {
  width: 12px;
  height: 12px;
}

/* ========================================================================
   Component: Orders
========================================================================== */

.uk-card-orders {
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-medium);
  background: var(--surface-soft);
}

.orders-table {
  width: 100%;
  margin: 0;
}

.orders-table th {
  background: var(--surface-primary);
  color: var(--foreground-muted);
  font-size: var(--font-size-xsmall);
  font-weight: var(--font-weight-bold);
}

.orders-table th,
.orders-table td {
  padding: 16px 20px;
  vertical-align: middle;
}

.orders-table th:last-child,
.orders-table td:last-child {
  text-align: right;
}

.orders-number,
.orders-total {
  color: var(--foreground-primary);
  font-family: var(--font-data);
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-bold);
  white-space: nowrap;
}

.orders-date {
  color: var(--foreground-secondary);
  font-size: var(--font-size-small);
  white-space: nowrap;
}

.orders-detail-button {
  gap: 6px;
}

.orders-detail-button svg {
  width: 14px;
  height: 14px;
}

/* ========================================================================
   Component: Order detail
========================================================================== */

.order-content,
.order-detail-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.order-back {
  align-self: flex-start;
  gap: 8px;
  color: var(--accent-primary);
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-bold);
}

.order-back:hover,
.order-back:focus-visible {
  color: var(--foreground-primary);
}

.order-back svg {
  width: 15px;
  height: 15px;
}

.uk-card-order-heading,
.uk-card-order {
  padding: 28px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-medium);
  background: var(--surface-soft);
}

.uk-card-order-heading h2,
.uk-card-order h3 {
  margin: 0;
  color: var(--foreground-primary);
  font-family: var(--font-heading);
  font-weight: var(--font-weight-medium);
}

.uk-card-order-heading h2 {
  font-size: var(--font-size-h3);
  line-height: 1.1;
}

.uk-card-order h3 {
  font-size: var(--font-size-h4);
  line-height: 1.2;
}

.uk-card-order {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.order-date p {
  margin: 5px 0 0;
  color: var(--foreground-muted);
  font-size: var(--font-size-small);
}

.order-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
}

.order-status svg {
  width: 15px;
  height: 15px;
}

.order-item + .order-item {
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
}

.order-item-image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  overflow: hidden;
  border-radius: var(--radius-small);
  background: var(--surface-primary);
}

.order-item-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.order-item-name b {
  color: var(--foreground-primary);
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-bold);
}

.order-item-quantity {
  margin-top: 3px;
  color: var(--foreground-muted);
  font-size: var(--font-size-xsmall);
}

.order-item-price {
  color: var(--foreground-primary);
  font-family: var(--font-data);
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-bold);
  white-space: nowrap;
}

.order-summary-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  color: var(--foreground-secondary);
  font-size: var(--font-size-small);
}

.order-summary-row b {
  color: var(--foreground-primary);
  font-family: var(--font-data);
  font-weight: var(--font-weight-bold);
  white-space: nowrap;
}

.order-summary-total {
  color: var(--foreground-primary);
  font-size: var(--font-size-medium);
  font-weight: var(--font-weight-black);
}

.order-summary-total b {
  font-size: var(--font-size-large);
  font-weight: var(--font-weight-black);
}

.order-info-section {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.order-info-section small {
  color: var(--foreground-muted);
  font-size: var(--font-size-xsmall);
  font-weight: var(--font-weight-bold);
}

.order-info-value p,
.order-info-value address {
  margin: 0;
  color: var(--foreground-primary);
  font-family: var(--font-body);
  font-size: var(--font-size-small);
  font-style: normal;
  font-weight: var(--font-weight-medium);
  line-height: 1.5;
}

/* ========================================================================
   Component: Commerce flow
========================================================================== */

.tm-commerce-intro-block {
  padding-block: 48px;
  background: var(--surface-mist);
}

.commerce-intro h1 {
  margin: 0;
  color: var(--foreground-primary);
  font-family: var(--font-heading);
  font-size: var(--font-size-display);
  font-weight: var(--font-weight-book);
  line-height: 0.95;
}

.checkout-step {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--foreground-muted);
  font-size: var(--font-size-xsmall);
  font-weight: var(--font-weight-bold);
  white-space: nowrap;
}

.checkout-step-dot {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  background: var(--surface-soft);
  color: var(--foreground-muted);
  font-family: var(--font-data);
}

.checkout-step.uk-active,
.checkout-step.uk-done {
  color: var(--foreground-primary);
}

.checkout-step.uk-active .checkout-step-dot,
.checkout-step.uk-done .checkout-step-dot {
  border-color: var(--accent-primary);
  background: var(--accent-primary);
  color: var(--foreground-inverse);
}

.checkout-step-dot svg {
  width: 14px;
  height: 14px;
}

.tm-cart-main-block,
.tm-checkout-main-block {
  padding-block: 64px;
  background: var(--surface-soft);
}

.cart-content,
.checkout-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.uk-card-cart-items,
.uk-card-checkout,
.uk-card-order-summary {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-medium);
  background: var(--surface-soft);
}

.uk-card-cart-items {
  overflow: hidden;
}

.cart-item {
  padding: 18px 24px;
}

.cart-item + .cart-item {
  border-top: 1px solid var(--border-subtle);
}

.cart-item-image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  overflow: hidden;
  border-radius: var(--radius-small);
  background: var(--surface-primary);
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cart-item-name {
  color: var(--foreground-primary);
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-bold);
}

.cart-item-name:hover,
.cart-item-name:focus-visible {
  color: var(--accent-primary);
}

.cart-item-meta {
  margin: 4px 0 0;
  color: var(--foreground-muted);
  font-size: var(--font-size-xsmall);
}

.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.product-quantity.cart-quantity {
  width: 140px;
  min-height: 42px;
}

.cart-item-price {
  width: 84px;
  color: var(--foreground-primary);
  font-family: var(--font-data);
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-bold);
  text-align: right;
  white-space: nowrap;
}

.cart-item-remove {
  color: var(--foreground-muted);
}

.cart-item-remove:hover,
.cart-item-remove:focus-visible {
  color: var(--accent-rose);
}

.cart-item-remove svg {
  width: 18px;
  height: 18px;
}

.cart-back {
  align-self: flex-start;
  gap: 8px;
  color: var(--accent-primary);
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-bold);
}

.cart-back:hover,
.cart-back:focus-visible {
  color: var(--foreground-primary);
}

.cart-back svg {
  width: 15px;
  height: 15px;
}

.uk-card-order-summary {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px;
}

.uk-card-order-summary h2,
.uk-card-checkout h2 {
  margin: 0;
  color: var(--foreground-primary);
  font-family: var(--font-heading);
  font-size: var(--font-size-h3);
  font-weight: var(--font-weight-medium);
  line-height: 1.1;
}

.uk-card-order-summary .order-summary-row small {
  color: var(--foreground-primary);
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-bold);
}

.cart-shipping {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  border-radius: var(--radius-small);
  background: var(--surface-primary);
}

.cart-shipping-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--foreground-secondary);
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-bold);
}

.cart-shipping-heading > .uk-icon,
.cart-shipping-heading b {
  color: var(--accent-primary);
}

.cart-shipping-heading svg {
  width: 17px;
  height: 17px;
}

.cart-shipping p {
  margin: 0;
  color: var(--foreground-secondary);
  font-size: var(--font-size-xsmall);
  line-height: 1.5;
}

.cart-shipping-track {
  height: 6px;
  overflow: hidden;
  border-radius: var(--radius-pill);
  background: var(--border-subtle);
}

.cart-shipping-progress {
  display: block;
  width: 80%;
  height: 100%;
  border-radius: inherit;
  background: var(--accent-primary);
}

.checkout-login-prompt {
  padding: 14px 18px;
  border-radius: var(--radius-small);
  background: var(--surface-mist);
}

.checkout-login-copy {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--foreground-secondary);
  font-size: var(--font-size-small);
}

.checkout-login-copy svg {
  width: 18px;
  height: 18px;
  color: var(--accent-primary);
}

.checkout-login-copy b {
  color: var(--foreground-primary);
}

.uk-card-checkout {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px;
}

.checkout-form-note p {
  margin: 0;
  color: var(--foreground-muted);
  font-size: var(--font-size-xsmall);
}

.checkout-choices {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checkout-choice {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 14px 16px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-small);
  background: var(--surface-soft);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.checkout-choice:has(.uk-radio:checked) {
  border-color: var(--accent-primary);
  background: var(--surface-mist);
  box-shadow: inset 0 0 0 1px var(--accent-primary);
}

.checkout-choice-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checkout-choice-name {
  color: var(--foreground-primary);
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-bold);
}

.checkout-choice-price {
  color: var(--foreground-primary);
  font-family: var(--font-data);
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-bold);
  white-space: nowrap;
}

.checkout-choice-price-free {
  color: var(--accent-primary);
}

.checkout-pickup-button,
.order-summary-submit {
  gap: 8px;
}

.checkout-summary-row-small {
  font-size: var(--font-size-xsmall);
}

.checkout-consent {
  color: var(--foreground-secondary);
  font-size: var(--font-size-xsmall);
  line-height: 1.5;
}

.checkout-consent a {
  color: var(--accent-primary);
  font-weight: var(--font-weight-bold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.terms-modal-dialog {
  display: flex;
  flex-direction: column;
  width: min(720px, calc(100vw - 30px));
  max-height: min(620px, calc(100vh - 30px));
  overflow: hidden;
  border-radius: var(--radius-medium);
  background: var(--surface-soft);
  box-shadow: var(--shadow-modal);
}

.terms-modal-head {
  position: relative;
  flex: 0 0 auto;
  padding: 22px 64px 22px 28px;
  border-bottom: 1px solid var(--border-subtle);
}

.terms-modal-head h2 {
  margin: 0;
  color: var(--foreground-primary);
  font-family: var(--font-heading);
  font-size: var(--font-size-h3);
  font-weight: var(--font-weight-medium);
  line-height: 1.1;
}

.terms-modal-body {
  flex: 1 1 auto;
  min-height: 0;
  box-sizing: border-box;
  overflow-y: auto;
  padding: 28px;
}

.terms-modal-body p {
  margin: 0;
  color: var(--foreground-secondary);
  font-size: var(--font-size-small);
  line-height: 1.7;
}

.terms-modal-foot {
  display: flex;
  flex: 0 0 auto;
  justify-content: flex-end;
  padding: 18px 28px;
  border-top: 1px solid var(--border-subtle);
}

.tm-order-result-block {
  padding-block: 110px;
  background: var(--surface-mist);
}

.uk-card-order-result {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: min(560px, 100%);
  box-sizing: border-box;
  margin-inline: auto;
  padding: 48px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-large);
  background: var(--surface-soft);
  box-shadow: var(--shadow-card);
  text-align: center;
}

.order-result-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  border-radius: var(--radius-pill);
  background: var(--surface-green);
  color: var(--accent-primary);
}

.order-result-icon-failed {
  background: var(--surface-rose);
  color: var(--accent-rose);
}

.order-result-icon svg {
  width: 42px;
  height: 42px;
}

.uk-card-order-result h1 {
  margin: 0;
  color: var(--foreground-primary);
  font-family: var(--font-heading);
  font-size: var(--font-size-h2);
  font-weight: var(--font-weight-medium);
  line-height: 1.05;
}

.order-result-copy p {
  margin: 0;
  color: var(--foreground-secondary);
  font-size: var(--font-size-body);
  line-height: 1.7;
}

.order-result-actions {
  width: min(430px, 100%);
  margin-top: 8px;
}

/* ========================================================================
   Component: Product detail
========================================================================== */

.tm-product-detail-block {
  padding-block: 0 64px;
  background: var(--surface-soft);
}

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

.product-gallery-image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius-large);
  cursor: zoom-in;
}

.product-gallery-image img,
.product-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-gallery-zoom {
  background: var(--surface-soft);
  color: var(--foreground-primary);
  box-shadow: var(--shadow-control);
  pointer-events: none;
}

.product-gallery-image:hover .product-gallery-zoom,
.product-gallery-image:focus-visible .product-gallery-zoom {
  background: var(--surface-inverse);
  color: var(--foreground-inverse);
}

.product-gallery-arrow {
  z-index: 1;
  width: 44px;
  height: 44px;
  background: var(--surface-soft);
  color: var(--foreground-primary);
  box-shadow: var(--shadow-control);
}

.product-gallery-arrow:hover,
.product-gallery-arrow:focus-visible {
  background: var(--surface-inverse);
  color: var(--foreground-inverse);
}

.product-gallery-mist {
  background: var(--surface-mist);
}

.product-gallery-green {
  background: var(--surface-green);
}

.product-gallery-apricot {
  background: var(--surface-apricot);
}

.product-gallery-yellow {
  background: var(--surface-yellow);
}

.product-gallery-thumbs > * > * {
  display: block;
  padding: 3px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-small);
}

.product-gallery-thumbs > * > ::after {
  border-radius: calc(var(--radius-small) - 3px);
}

.product-gallery-thumbs > .uk-active > * {
  border-color: var(--accent-primary);
}

.product-gallery-images > li:only-child .product-gallery-arrow {
  display: none;
}

.product-gallery-thumb {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: calc(var(--radius-small) - 3px);
}

.product-summary {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.product-summary h1 {
  margin: 0;
  color: var(--foreground-primary);
  font-family: var(--font-heading);
  font-size: var(--font-size-display);
  font-weight: var(--font-weight-medium);
  line-height: 0.95;
}

.product-subtitle p,
.product-claim p {
  margin: 0;
  color: var(--foreground-secondary);
}

.product-subtitle p {
  font-size: var(--font-size-large);
  font-weight: var(--font-weight-book);
}

.product-meta {
  gap: 10px;
  color: var(--foreground-muted);
  font-size: var(--font-size-small);
}

.product-code {
  font-family: var(--font-data);
  font-size: var(--font-size-xsmall);
}

.product-claim p {
  font-size: var(--font-size-body);
  line-height: 1.55;
}

.product-divider {
  width: 100%;
  margin: 0;
  border: 0;
  border-top: 1px solid var(--border-subtle);
}

.product-price-row {
  gap: 16px;
}

.product-price {
  color: var(--foreground-primary);
  font-family: var(--font-data);
  font-size: var(--font-size-h2);
  font-weight: var(--font-weight-bold);
}

.product-stock {
  gap: 6px;
}

.product-stock svg {
  width: 14px;
  height: 14px;
}

.product-benefits {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
}

.product-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--foreground-primary);
  font-size: var(--font-size-small);
}

.product-benefits svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  color: var(--accent-primary);
}

.product-quantity {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 216px;
  min-height: 46px;
  padding-inline: 12px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  background: var(--surface-soft);
}

.product-quantity button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--foreground-primary);
  cursor: pointer;
}

.product-quantity button svg {
  width: 16px;
  height: 16px;
}

.product-quantity-input {
  width: 56px;
  border: 0;
  background: transparent;
  color: var(--foreground-primary);
  font-family: var(--font-data);
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-bold);
  text-align: center;
  appearance: textfield;
}

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

.product-quantity-input:focus {
  outline: 0;
}

.add-to-cart {
  gap: 8px;
}

.product-phone {
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--radius-small);
  background: var(--surface-primary);
}

.product-phone > img {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-pill);
}

.product-phone > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.product-phone > div > span {
  color: var(--foreground-secondary);
  font-size: var(--font-size-small);
}

.product-phone a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-primary);
}

.product-phone a svg {
  width: 15px;
  height: 15px;
}

.product-phone a b {
  font-family: var(--font-data);
  font-size: var(--font-size-large);
  font-weight: var(--font-weight-black);
}

.tm-product-tabs-block {
  padding-block: 16px 64px;
  background: var(--surface-soft);
}

.product-tabs {
  gap: 5px;
  margin: 0;
  padding: 5px;
  border-radius: var(--radius-small);
  background: var(--surface-primary);
}

.product-tabs::before {
  display: none;
}

.product-tabs > * {
  padding-left: 0;
}

.product-tabs > * > a {
  justify-content: center;
  padding: 13px;
  border: 0;
  border-radius: 7px;
  color: var(--foreground-primary);
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-medium);
  text-transform: none;
}

.product-tabs > .uk-active > a {
  background: var(--surface-inverse);
  color: var(--foreground-inverse);
  font-weight: var(--font-weight-bold);
}

.product-switcher {
  margin-top: 28px;
}

.product-description {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.product-description h2,
.product-description h3,
.uk-card-product-spec h3 {
  margin: 0;
  color: var(--foreground-primary);
  font-family: var(--font-heading);
  font-weight: var(--font-weight-medium);
}

.product-description h2 {
  font-size: var(--font-size-h2);
}

.product-description h3,
.uk-card-product-spec h3 {
  font-size: var(--font-size-h3);
}

.product-description p {
  margin: 0;
  color: var(--foreground-secondary);
  font-size: var(--font-size-small);
  line-height: 1.6;
}

.product-description ul {
  margin: 0;
}

.product-ingredients li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--foreground-primary);
  font-size: var(--font-size-small);
}

.product-ingredients li > :first-child {
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  border-radius: var(--radius-pill);
  background: var(--accent-primary);
}

.uk-card-product-spec {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  border-radius: var(--radius-medium);
  background: var(--surface-mist);
}

.product-spec-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
}

.product-spec-list > li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.product-spec-list > li > span,
.product-spec-list > li > b {
  margin: 0;
  font-size: var(--font-size-small);
}

.product-spec-list > li > span {
  color: var(--foreground-muted);
  font-weight: var(--font-weight-medium);
}

.product-spec-list > li > b {
  color: var(--foreground-primary);
  font-weight: var(--font-weight-bold);
  text-align: right;
}

.product-warning p {
  margin: 0;
  color: var(--foreground-secondary);
  font-size: var(--font-size-xsmall);
  line-height: 1.5;
}

.product-question-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.tm-recommendations-block {
  padding-block: 72px;
  background: var(--surface-primary);
}

.tm-recommendations-block .uk-card-product {
  border: 1px solid var(--border-subtle);
}

.recommendation-controls {
  gap: 10px;
}

.recommendation-products,
.product-review-grid {
  margin-top: 28px;
}

.tm-product-reviews-block {
  padding-block: 72px;
  background: var(--surface-soft);
}

.product-review-summary {
  gap: 16px;
  color: var(--foreground-muted);
  font-size: var(--font-size-small);
}

.product-review-summary .uk-button {
  gap: 8px;
}

/* ========================================================================
   Component: Bestsellers
========================================================================== */

.tm-bestsellers-block {
  background: var(--surface-soft);
}

.tabs > * > :first-child {
  padding: 10px 16px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  background: var(--surface-soft);
  color: var(--foreground-secondary);
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-bold);
  text-transform: none;
}

.tabs > .uk-active > a {
  border-color: var(--surface-inverse);
  background: var(--surface-inverse);
  color: var(--foreground-inverse);
  font-weight: var(--font-weight-black);
}

.product-slider {
  margin-top: 32px;
}

.uk-card-product {
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
  padding: 14px;
  border-radius: var(--radius-medium);
  background: var(--surface-primary);
}

.product-image {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius-small);
}

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

.product-image > .uk-badge {
  position: absolute;
  top: 14px;
  left: 14px;
}

.product-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 2px 6px;
}

.uk-card-product .subcategory {
  color: var(--accent-primary);
  font-size: var(--font-size-xsmall);
  font-weight: var(--font-weight-black);
  letter-spacing: 1.5px;
}

.uk-card-product .title {
  color: var(--foreground-primary);
  font-family: var(--font-heading);
  font-size: var(--font-size-h4);
  font-weight: var(--font-weight-bold);
}

.uk-card-product .desc {
  color: var(--foreground-secondary);
  font-size: var(--font-size-small);
  line-height: 1.45;
}

.addToCart {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding: 6px 6px 2px;
}

.addToCart .price {
  color: var(--foreground-primary);
  font-family: var(--font-data);
  font-size: var(--font-size-large);
  font-weight: var(--font-weight-bold);
}

.add {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--surface-inverse);
  color: var(--foreground-inverse);
  cursor: pointer;
}

.add svg {
  width: 18px;
  height: 18px;
}

.carousel-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-pill);
  background: var(--surface-inverse);
  box-shadow: var(--shadow-control);
  color: var(--foreground-inverse);
}

.carousel-arrow.left {
  left: -28px;
}

.carousel-arrow.right {
  right: -28px;
}

.carousel-arrow svg {
  width: 22px;
  height: 22px;
}

/* ========================================================================
   Component: Brand promise
========================================================================== */

.tm-promise-block {
  padding-block: 60px;
  background: var(--surface-inverse);
}

.promise-intro {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.promise-intro h2 {
  margin: 0;
  color: var(--foreground-inverse);
  font-family: var(--font-heading);
  font-size: var(--font-size-h2);
  font-weight: var(--font-weight-bold);
  line-height: 1.05;
}

.promise-intro p {
  margin: 0;
  color: var(--foreground-inverse-muted);
  font-size: var(--font-size-body);
  line-height: 1.55;
}

.uk-card-promise {
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
  padding: 22px;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-medium);
  background: var(--surface-dark-card);
}

.uk-card-promise-accent {
  border-color: var(--surface-apricot);
  background: var(--surface-apricot);
  color: var(--foreground-primary);
}

.promise-number {
  color: var(--foreground-accent-soft);
  font-family: var(--font-data);
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-bold);
}

.uk-card-promise-accent .promise-number {
  color: var(--accent-secondary);
}

.uk-card-promise h3 {
  margin: 0;
  color: var(--foreground-inverse);
  font-family: var(--font-heading);
  font-size: var(--font-size-h4);
  font-weight: var(--font-weight-bold);
}

.uk-card-promise-accent h3 {
  color: var(--foreground-primary);
}

.uk-card-promise p {
  margin: 0;
  color: var(--foreground-inverse-muted);
  font-size: var(--font-size-small);
  line-height: 1.45;
}

.uk-card-promise-accent p {
  color: var(--foreground-primary);
}

/* ========================================================================
   Component: Reviews
========================================================================== */

.tm-reviews-block {
  background: var(--surface-primary);
}

.review-rating {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.review-rating > div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.review-rating b {
  color: var(--foreground-primary);
  font-family: var(--font-heading);
  font-size: var(--font-size-h3);
  font-weight: var(--font-weight-bold);
}

.stars {
  color: var(--accent-rose);
  font-size: var(--font-size-medium);
  font-weight: var(--font-weight-bold);
}

.review-rating small {
  color: var(--foreground-secondary);
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-bold);
}

.review-slider {
  margin-top: 28px;
}

.review-list {
  padding: 0;
}

.review-dotnav > * > * {
  border: 0;
  background: var(--surface-dotnav-inactive);
}

.review-dotnav > * > :hover,
.review-dotnav > * > :focus {
  border: 0;
  background: var(--surface-dotnav-inactive);
}

.review-dotnav > .uk-active > * {
  border: 0;
  background: var(--accent-primary);
}

.uk-card-review {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-large);
  background: var(--surface-soft);
  color: var(--foreground-primary);
}

.review-product {
  display: flex;
  align-items: center;
  gap: 10px;
}

.review-product img {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-small);
  object-fit: cover;
}

.review-label {
  color: var(--foreground-muted);
  font-size: var(--font-size-xsmall);
  font-weight: var(--font-weight-bold);
  letter-spacing: 1.2px;
}

.review-name {
  color: var(--foreground-primary);
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-black);
}

.review-quote {
  margin: 0;
  color: var(--foreground-primary);
  font-family: var(--font-heading);
  font-size: var(--font-size-h4);
  font-weight: var(--font-weight-book);
  line-height: 1.3;
}

.review-quote p {
  margin: 0;
}

.review-text .review-quote {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}

.review-text.review-text-expanded .review-quote {
  display: block;
  overflow: visible;
  -webkit-line-clamp: unset;
  line-clamp: unset;
}

.review-toggle {
  align-self: flex-start;
  min-height: 0;
  padding: 0;
  color: var(--accent-primary);
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-bold);
  line-height: 1.4;
  text-transform: none;
}

.review-toggle:hover,
.review-toggle:focus-visible {
  color: var(--foreground-primary);
}

.review-toggle-less {
  display: none;
}

.review-text.review-text-expanded + .review-toggle .review-toggle-more {
  display: none;
}

.review-text.review-text-expanded + .review-toggle .review-toggle-less {
  display: inline;
}

.review-author {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: auto;
}

.review-author b {
  color: var(--foreground-primary);
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-black);
}

.review-author span {
  color: var(--foreground-muted);
  font-size: var(--font-size-xsmall);
}

/* ========================================================================
   Component: Magazine
========================================================================== */

.tm-magazine-block {
  background: var(--surface-soft);
}

.magazine-grid {
  margin-top: 32px;
}

.uk-card-magazine-feature {
  position: relative;
  display: block;
  height: 360px;
  overflow: hidden;
  border-radius: var(--radius-large);
  background: var(--surface-soft);
}

.uk-card-magazine-feature > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.magazine-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent, var(--surface-inverse));
}

.magazine-content {
  position: absolute;
  right: 28px;
  bottom: 28px;
  left: 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.magazine-content .tag {
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: var(--surface-apricot);
  color: var(--foreground-primary);
  font-size: var(--font-size-xsmall);
  font-weight: var(--font-weight-black);
  letter-spacing: 1.5px;
}

.magazine-content > strong {
  max-width: 620px;
  color: var(--foreground-inverse);
  font-family: var(--font-heading);
  font-size: var(--font-size-h3);
  font-weight: var(--font-weight-bold);
  line-height: 1.1;
}

.magazine-meta {
  display: flex;
  gap: 14px;
  color: var(--foreground-inverse-muted);
  font-size: var(--font-size-small);
}

.magazine-meta b {
  color: var(--foreground-inverse);
}

.magazine-side > div {
  min-width: 0;
  min-height: 0;
}

.uk-card-magazine {
  flex: 1 1 0;
  display: grid;
  grid-template-columns: 42% 1fr;
  width: auto;
  min-height: 0;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius-medium);
}

.uk-card-magazine-mist {
  background: var(--surface-mist);
}

.uk-card-magazine-cream {
  background: var(--surface-primary);
}

.uk-card-magazine > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.uk-card-magazine > span {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 20px;
}

.magazine-category {
  color: var(--accent-primary);
  font-size: var(--font-size-xsmall);
  font-weight: var(--font-weight-black);
  letter-spacing: 1.5px;
}

.uk-card-magazine strong {
  color: var(--foreground-primary);
  font-family: var(--font-heading);
  font-size: var(--font-size-h4);
  font-weight: var(--font-weight-bold);
  line-height: 1.15;
}

.uk-card-magazine small {
  color: var(--foreground-secondary);
  font-size: var(--font-size-small);
  line-height: 1.45;
}

/* ========================================================================
   Component: Newsletter
========================================================================== */

.tm-newsletter-block {
  padding-block: 56px;
  background: var(--surface-mist);
}

.newsletter-copy {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.newsletter-copy h2 {
  margin: 0;
  color: var(--foreground-primary);
  font-family: var(--font-heading);
  font-size: var(--font-size-h2);
  font-weight: var(--font-weight-bold);
  line-height: 1.05;
}

.newsletter-copy p {
  margin: 0;
  color: var(--foreground-secondary);
  font-size: var(--font-size-small);
}

.newsletter-control {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  background: var(--surface-soft);
}

.newsletter-control .uk-input {
  flex: 1;
  height: 52px;
  padding-left: 16px;
  border: 0;
  background: transparent;
}

.newsletter-control .uk-button {
  flex: 0 0 auto;
  min-height: 52px;
}

.newsletter-consent {
  margin-top: 12px;
  color: var(--foreground-secondary);
  font-size: var(--font-size-xsmall);
}

/* ========================================================================
   Component: Footer
========================================================================== */

.footer {
  padding-block: 58px 40px;
  background: var(--surface-inverse);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 48px;
}

.f-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 440px;
}

.f-brand b {
  color: var(--foreground-inverse);
  font-family: var(--font-heading);
  font-size: var(--font-size-h3);
  font-weight: var(--font-weight-bold);
}

.f-brand p {
  margin: 0;
  color: var(--foreground-inverse-muted);
  font-size: var(--font-size-small);
  line-height: 1.55;
}

.f-pay {
  width: 440px;
  height: 30px;
  background: url('../images/others/payment-methods.webp') left / contain no-repeat;
}

.f-cols {
  flex: 1;
}

.f-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.f-col h4,
.f-cats > small {
  margin: 0;
  color: var(--foreground-accent-soft);
  font-size: var(--font-size-xsmall);
  font-weight: var(--font-weight-black);
  letter-spacing: 1.5px;
}

.f-col a {
  color: var(--foreground-inverse);
  font-size: var(--font-size-small);
}

.f-col.mag a {
  font-weight: var(--font-weight-medium);
  line-height: 1.4;
}

.f-col.mag {
  width: auto;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-contact b {
  color: var(--foreground-inverse);
  font-size: var(--font-size-small);
}

.footer-contact span {
  color: var(--foreground-inverse-muted);
  font-size: var(--font-size-small);
}

.footer-category-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
}

.footer-category-links a {
  color: var(--foreground-inverse-muted);
  font-size: var(--font-size-small);
}

.f-cats,
.f-legal,
.f-bot {
  border-top: 1px solid var(--border-dark);
}

.f-cats {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 20px;
}

.f-legal {
  padding-top: 16px;
}

.f-legal p {
  margin: 0;
  color: var(--foreground-inverse-muted);
  font-size: var(--font-size-xsmall);
  line-height: 1.4;
}

.f-bot {
  display: flex;
  justify-content: space-between;
  padding-top: 12px;
}

.f-bot span {
  color: var(--foreground-inverse-muted);
  font-size: var(--font-size-small);
}

.f-bot a {
  color: var(--foreground-accent-soft);
  font-weight: var(--font-weight-bold);
}

.f-bot a:hover,
.f-bot a:focus-visible {
  color: var(--foreground-inverse);
}

/* ========================================================================
   Responsive breakpoints
========================================================================== */

@media (max-width: 1199px) {
  .tm-hero-block,
  .tm-categories-block,
  .tm-bestsellers-block,
  .tm-reviews-block,
  .tm-magazine-block,
  .tm-recommendations-block,
  .tm-product-reviews-block,
  .tm-contact-main-block,
  .tm-articles-list-block,
  .tm-related-articles-block,
  .tm-account-main-block,
  .tm-cart-main-block,
  .tm-checkout-main-block {
    padding-block: 48px;
  }

  .nav-links {
    gap: 22px;
  }

  .carousel-arrow.left {
    left: 8px;
  }

  .carousel-arrow.right {
    right: 8px;
  }

  .magazine-side > div {
    flex: 0 0 auto;
  }

  .uk-card-magazine {
    flex: none;
    width: 100%;
    min-height: 171px;
  }

  .account-profile-toggle {
    cursor: pointer;
  }

  .account-nav-panel {
    display: none;
  }

  .account-nav-panel.uk-open {
    display: flex;
  }
}

@media (max-width: 959px) {
  :root {
    --font-size-display: var(--font-size-display-mobile);
    --font-size-h2: var(--font-size-h2-mobile);
    --font-size-h3: var(--font-size-h3-mobile);
    --font-size-h4: var(--font-size-h4-mobile);
    --font-size-h5: var(--font-size-h5-mobile);
    --font-size-h6: var(--font-size-h6-mobile);
  }

  .tm-breadcrumb-block .uk-breadcrumb {
    justify-content: safe center;
    padding-inline: 72px;
  }

  .orders-table tbody tr {
    padding: 16px 20px;
  }

  .orders-table td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 5px 0 !important;
    text-align: right;
  }

  .orders-table td::before {
    color: var(--foreground-muted);
    content: attr(data-label);
    font-size: var(--font-size-xsmall);
    font-weight: var(--font-weight-bold);
    text-align: left;
    text-transform: uppercase;
  }

  .orders-table .orders-table-action {
    justify-content: flex-end;
    padding-top: 14px !important;
  }

  .orders-table .orders-table-action .uk-button {
    width: 100%;
  }

  .orders-table .orders-table-action::before {
    content: none;
  }

  .hero-slideshow .uk-slideshow-items {
    display: grid;
    height: auto;
    min-height: 0;
  }

  .hero-slideshow .uk-slideshow-items > li {
    position: relative;
    grid-area: 1 / 1;
    height: auto;
  }

  .hero-layout {
    height: auto;
    min-height: 0;
  }

  .hero-left {
    gap: 24px;
  }

  .hero-right {
    width: 100%;
  }

  .uk-card-hero {
    position: static;
    width: 100%;
    margin: 10px auto 0;
  }

  .carousel-arrow {
    display: none;
  }

  .magazine-side {
    margin-top: 8px;
  }

  .footer-top {
    flex-direction: column;
  }

  .f-brand,
  .f-pay {
    width: 100%;
  }

  .trust-item {
    padding: 30px 0;
    position: relative;
  }

  .tm-trust-block .uk-grid > .uk-grid-margin > .trust-item::before {
    content: "";
    width: calc(100% + 30px);
    position: absolute;
    top: 0;
    left: 0;
    border-top: 1px solid #e5e5e5;
  }

  .tm-trust-block .uk-grid > .uk-grid-margin:last-child > .trust-item::before {
    left: -30px;
  }
}

@media (max-width: 639px) {
  .tm-commerce-intro-block {
    padding-block: 36px;
  }

  .checkout-step {
    gap: 6px;
  }

  .tm-order-result-block {
    padding-block: 64px;
  }

  .cart-item {
    padding: 16px;
  }

  .cart-item-actions {
    justify-content: space-between;
    gap: 10px;
  }

  .product-quantity.cart-quantity {
    width: 140px;
  }

  .cart-item-price {
    width: auto;
  }

  .uk-card-order-summary,
  .uk-card-checkout {
    padding: 20px;
  }

  .checkout-login-prompt .uk-button {
    width: 100%;
  }

  .checkout-choice {
    padding: 12px;
  }

  .terms-modal-dialog {
    width: calc(100vw - 30px);
    max-height: calc(100vh - 30px);
  }

  .terms-modal-head {
    padding: 20px 56px 20px 20px;
  }

  .terms-modal-body {
    padding: 20px;
  }

  .terms-modal-foot {
    padding: 16px 20px;
  }

  .terms-modal-foot .uk-button {
    width: 100%;
  }

  .terms-modal-dialog .uk-modal-close-default {
    top: 16px;
    right: 16px;
  }

  .uk-card-order-result {
    gap: 18px;
    padding: 28px 20px;
  }

  .order-result-icon {
    width: 72px;
    height: 72px;
  }

  .order-result-icon svg {
    width: 34px;
    height: 34px;
  }

  .account-trigger > .account-online {
    top: -8px;
    right: -8px;
    width: 22px;
    height: 22px;
  }

  .uk-card-account,
  .uk-card-account-nav {
    padding: 20px;
  }

  .uk-card-order-heading,
  .uk-card-order {
    padding: 20px;
  }

  .orders-table tbody tr {
    padding-inline: 16px;
  }

  .account-form-actions,
  .account-form-actions .uk-button {
    width: 100%;
  }

  .uk-card-article {
    padding: 12px;
  }

  .article-card-body {
    padding-inline: 4px;
  }

  .article-card-action {
    padding-inline: 4px;
  }

  .article-meta {
    flex-wrap: wrap;
  }

  .article-hero-image {
    border-radius: var(--radius-medium);
  }

  .uk-card-contact-info,
  .uk-card-contact-form {
    padding: 20px;
  }

  .contact-social-link,
  .contact-help-link {
    box-sizing: border-box;
    width: 100%;
  }

  .tm-product-detail-block {
    padding-block: 0 48px;
  }

  .product-quantity {
    width: 100%;
  }

  .uk-card-product-spec {
    padding: 20px;
  }

  .product-question-form .uk-button,
  .product-review-summary .uk-button {
    width: 100%;
  }

  .uk-card-category {
    align-items: center;
    padding: 12px;
    text-align: center;
  }

  .uk-card-category .category-image {
    width: 100%;
  }

  .trust-item b {
    font-size: var(--font-size-medium);
  }

  .icon-btn,
  .cart {
    width: 36px;
    height: 36px;
  }

  .icon-btn svg,
  .cart svg {
    width: 18px;
    height: 18px;
  }

  .auth-modal-dialog,
  .reset-password-dialog,
  .review-modal-dialog,
  .cart-modal-dialog {
    padding: 24px 20px;
  }

  .auth-modal-dialog .uk-modal-close-default,
  .reset-password-dialog .uk-modal-close-default,
  .review-modal-dialog .uk-modal-close-default,
  .cart-modal-dialog .uk-modal-close-default {
    top: 16px;
    right: 16px;
  }

  .brand b {
    font-size: var(--font-size-large);
  }

  .brand span {
    max-width: 150px;
  }

  .title-mix strong {
    display: block;
  }

  .newsletter-control {
    align-items: stretch;
    flex-direction: column;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .newsletter-control .uk-input {
    flex: none;
    width: 100%;
    min-height: 52px;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-pill);
    background: var(--surface-soft);
  }

  .newsletter-control .uk-button {
    width: 100%;
  }

  .f-bot {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
}
