:root {
  --ak-ink: #151b24;
  --ak-muted: #667085;
  --ak-line: #e3e8ef;
  --ak-soft: #f6f8fb;
  --ak-card: #ffffff;
  --ak-brand: #c9152d;
  --ak-red: #c9152d;
  --ak-blue: #286ff0;
  --ak-green: #35bd68;
  --ak-price: #c9152d;
  --ak-radius: 8px;
  --ak-radius-lg: 10px;
  --ak-shadow: 0 2px 8px rgba(17, 24, 32, .045);
  --ak-shadow-hover: 0 6px 18px rgba(17, 24, 32, .075);
  --ak-transition: .24s ease;
  --ak-container: 1000px;
  --ak-space-1: 4px;
  --ak-space-2: 8px;
  --ak-space-3: 12px;
  --ak-space-4: 16px;
  --ak-space-5: 20px;
  --ak-space-6: 28px;
  --ak-font-meta: 12px;
  --ak-font-small: 13px;
  --ak-font-body: 15px;
  --ak-font-card-title: 14px;
  --ak-font-section-title: 19px;
  --ak-control-height: 40px;
  --ak-control-height-sm: 34px;
}

/* Shared empty states */
.ak-empty-page {
  width: min(100% - 40px, 1120px);
  min-height: clamp(520px, 58vh, 720px);
  margin: 0 auto;
  padding: clamp(72px, 8vw, 120px) 0 clamp(64px, 7vw, 96px);
}

.ak-empty-state {
  width: 100%;
}

.ak-empty-state br {
  display: none;
}

.ak-empty-state__card {
  display: grid;
  justify-items: center;
  gap: 16px;
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(34px, 5vw, 56px);
  border: 1px solid rgba(227, 232, 239, .86);
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 0%, rgba(214, 0, 28, .08), transparent 34%),
    rgba(255, 255, 255, .96);
  box-shadow: 0 28px 80px rgba(17, 24, 32, .12);
  text-align: center;
}

.ak-empty-state__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(214, 0, 28, .18);
  border-radius: 18px;
  background: rgba(214, 0, 28, .06);
  color: #d6001c;
}

.ak-empty-state__icon svg {
  display: block;
  width: 30px;
  height: 30px;
}

.ak-empty-state__title {
  max-width: 680px;
  margin: 2px 0 0;
  color: var(--ak-ink);
  font-size: clamp(34px, 4.4vw, 54px);
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: 0;
}

.ak-empty-state__text,
.ak-empty-state__note {
  max-width: 580px;
  margin: 0;
  color: var(--ak-muted);
  font-size: 16px;
  line-height: 1.58;
}

.ak-empty-state__note {
  color: #475467;
  font-weight: 700;
}

.ak-empty-state__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
}

.ak-empty-state__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid rgba(214, 0, 28, .22);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
  transition: transform var(--ak-transition), box-shadow var(--ak-transition), border-color var(--ak-transition), background var(--ak-transition);
}

.ak-empty-state__button--primary {
  background: #d6001c;
  color: #fff;
  box-shadow: 0 18px 34px rgba(214, 0, 28, .2);
}

.ak-empty-state__button--secondary {
  background: #fff;
  color: #d6001c;
}

.ak-empty-state__button:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 38px rgba(17, 24, 32, .1);
}

.ak-empty-state__categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
}

.ak-empty-state__categories a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(227, 232, 239, .95);
  border-radius: 999px;
  background: #fff;
  color: #1f2937;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(17, 24, 32, .055);
  transition: transform var(--ak-transition), border-color var(--ak-transition), color var(--ak-transition);
}

.ak-empty-state__categories a:hover {
  transform: translateY(-1px);
  border-color: rgba(214, 0, 28, .28);
  color: #d6001c;
}

.ak-empty-state__search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  width: min(100%, 520px);
  margin-top: 4px;
}

.ak-empty-state__search input[type="search"] {
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(203, 213, 225, .95);
  border-radius: 999px;
  background: #fff;
  color: var(--ak-ink);
  font: inherit;
  font-size: 14px;
  outline: none;
  box-shadow: 0 12px 28px rgba(17, 24, 32, .06);
}

.ak-empty-state__search input[type="search"]:focus {
  border-color: rgba(214, 0, 28, .44);
  box-shadow: 0 0 0 4px rgba(214, 0, 28, .08), 0 12px 28px rgba(17, 24, 32, .06);
}

.ak-empty-state__search button {
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: var(--ak-ink);
  color: #fff;
  font-size: 14px;
  font-weight: 850;
  cursor: pointer;
}

.ak-search-page__heading {
  max-width: 760px;
  margin: 0 auto 24px;
  text-align: center;
}

.ak-search-page__eyebrow {
  margin: 0 0 8px;
  color: #d6001c;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.ak-search-page__heading h1 {
  margin: 0;
  color: var(--ak-ink);
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.06;
}

.ak-search-results {
  max-width: 860px;
  margin: 0 auto;
}

.ak-search-results__item {
  margin-top: 16px;
  padding: 24px;
  border: 1px solid rgba(227, 232, 239, .9);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(17, 24, 32, .07);
}

.ak-search-results__item h2 {
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.2;
}

.ak-search-results__item h2 a {
  color: var(--ak-ink);
  text-decoration: none;
}

.ak-search-results__item h2 a:hover {
  color: #d6001c;
}

.ak-search-results__item .wp-block-post-excerpt {
  margin: 0;
  color: var(--ak-muted);
}

@media (max-width: 640px) {
  .ak-empty-page {
    width: min(100% - 28px, 1120px);
    min-height: auto;
    padding: 48px 0 56px;
  }

  .ak-empty-state__card {
    padding: 28px 18px;
    border-radius: 22px;
  }

  .ak-empty-state__title {
    font-size: clamp(28px, 10vw, 38px);
  }

  .ak-empty-state__actions,
  .ak-empty-state__categories,
  .ak-empty-state__search {
    width: 100%;
  }

  .ak-empty-state__button,
  .ak-empty-state__categories a {
    flex: 1 1 100%;
  }

  .ak-empty-state__search {
    grid-template-columns: 1fr;
  }
}

/* Homepage redesign */
.ak-header-actions .ak-header-pill__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  color: currentColor;
  flex: 0 0 auto;
}

.ak-header-actions .ak-header-pill__icon svg {
  display: block;
  width: 16px;
  height: 16px;
}

.ak-header-actions .ak-header-pill__label,
.ak-header-actions .ak-cart-label {
  display: inline-flex;
  align-items: center;
}

@media (max-width: 639px) {
  .ak-header-actions .ak-header-pill {
    box-sizing: border-box;
    width: 94px;
  }

  .ak-header-actions .ak-header-pill__icon {
    display: none;
  }
}

body {
  background: #fbfcfe;
  color: var(--ak-ink);
  font-size: var(--ak-font-body);
  line-height: 1.5;
}

a {
  color: inherit;
}

.ak-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 0 var(--ak-space-4);
  border-bottom: 1px solid var(--ak-line);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(12px);
  transition: transform var(--ak-transition), box-shadow var(--ak-transition);
}

body.ak-header-hidden .ak-site-header {
  transform: translateY(-54px);
  box-shadow: none;
}

.ak-site-header__inner {
  display: block;
  min-height: auto;
  max-width: var(--ak-container);
  margin: 0 auto;
  padding: 0;
}

.ak-site-header__inner > * {
  flex-shrink: 0;
}

.ak-site-title a {
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 0;
}

.ak-header-shell {
  display: grid;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  gap: 0;
}

.ak-header-top {
  display: grid;
  grid-template-columns: auto minmax(420px, 1fr) auto;
  grid-template-areas: "logo search actions";
  gap: 18px;
  align-items: center;
  min-height: 74px;
  padding: 10px 0;
}

.ak-header-top > p:empty {
  display: none;
}

.ak-header-logo {
  grid-area: logo;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  text-decoration: none;
}

.ak-header-logo img {
  display: block;
  width: 255px;
  max-width: none;
  max-height: 76px;
  object-fit: contain;
}

body.woocommerce-checkout .wp-site-blocks > header.wp-block-template-part {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 0 var(--ak-space-4);
  border-bottom: 1px solid var(--ak-line);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(12px);
}

body.woocommerce-checkout .wp-site-blocks > header.wp-block-template-part > .wp-block-group {
  width: min(1320px, 100%);
  max-width: 1320px;
  margin: 0 auto;
}

body.woocommerce-checkout .wp-site-blocks > header.wp-block-template-part .wp-block-group.alignwide {
  display: block;
  width: min(1320px, 100%);
  max-width: 1320px;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

body.woocommerce-checkout .ak-checkout-header-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  min-height: 74px;
  padding: 10px 0;
  gap: 18px;
}

body.woocommerce-checkout .wp-site-blocks > header .wp-block-woocommerce-cart-link {
  display: none;
}

body.woocommerce-checkout .ak-checkout-header__logo {
  grid-area: auto;
  justify-self: start;
}

body.woocommerce-checkout .ak-checkout-header__label {
  display: none;
  color: #64748b;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

body.woocommerce-checkout .ak-checkout-header__back {
  justify-self: end;
  padding: 8px 2px;
  border: 0;
  border-radius: 0;
  color: #667085;
  background: transparent;
  box-shadow: none;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: border-color var(--ak-transition), box-shadow var(--ak-transition), color var(--ak-transition);
}

body.woocommerce-checkout .ak-checkout-header__back:hover,
body.woocommerce-checkout .ak-checkout-header__back:focus-visible {
  color: #d6001c;
  box-shadow: none;
  outline: 0;
}

.ak-category-nav {
  display: flex;
  gap: var(--ak-space-5);
  align-items: center;
  min-height: 42px;
  border-top: 1px solid var(--ak-line);
  font-size: 14px;
  font-weight: 850;
}

.ak-category-nav a {
  position: relative;
  color: var(--ak-ink);
  text-decoration: none;
  transition: color var(--ak-transition);
}

.ak-category-nav a::after {
  position: absolute;
  right: 0;
  bottom: -12px;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: #d6001c;
  content: "";
  opacity: 0;
  transform: scaleX(.7);
  transition: opacity var(--ak-transition), transform var(--ak-transition);
}

.ak-category-nav a:hover::after,
.ak-category-nav a.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.ak-category-nav a:hover,
.ak-category-nav a.is-active {
  color: #d6001c;
}

.ak-category-nav__spacer { flex: 1; }

.ak-category-nav .ak-category-nav__sell {
  min-height: 30px;
  padding: 5px 12px;
  border: 1px solid rgba(214, 0, 28, .45);
  border-radius: 999px;
  background: #fff8f8;
  color: #c60019;
}

.ak-category-nav .ak-category-nav__sell:hover,
.ak-category-nav .ak-category-nav__sell.is-active {
  background: #d6001c;
  border-color: #d6001c;
  color: #fff;
}

.ak-category-nav .ak-category-nav__sell::after { display: none; }

.ak-header-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 34px;
  padding: 6px 10px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--ak-line);
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
}

.ak-header-actions {
  grid-area: actions;
  display: grid;
  grid-template-columns: repeat(2, minmax(112px, auto));
  align-items: center;
  justify-self: end;
  justify-content: end;
  gap: 14px;
  min-width: 0;
}

.ak-header-actions > br {
  display: none;
}

.ak-header-sell-link {
  background: #d6001c;
  border-color: #d6001c;
  color: #fff;
}

.ak-header-sell-link:hover,
.ak-header-sell-link:focus-visible,
.ak-header-sell-link.is-current {
  background: #b90018;
  border-color: #b90018;
  color: #fff;
}

.ak-header-sell-link__mobile {
  display: none;
}

.ak-product-search {
  grid-area: search;
  display: flex;
  align-items: center;
  justify-self: stretch;
  width: 100%;
  max-width: 800px;
  overflow: hidden;
  border: 1px solid #d9e0ea;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 2px 7px rgba(17, 24, 32, .04);
}

.ak-product-search input[type="search"] {
  flex: 1;
  width: 100%;
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  background: transparent;
  font-size: 14px;
  outline: none;
}

.ak-product-search button {
  width: 42px;
  min-height: 40px;
  border: 0;
  border-radius: 999px;
  background: var(--ak-ink);
  color: #ffffff;
  font-size: 24px;
  font-weight: 800;
  cursor: pointer;
}

.ak-cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--ak-green);
  color: #ffffff;
  font-size: 11px;
}

@media (min-width: 640px) {
  .ak-header-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    justify-self: end;
    align-self: center;
    gap: 0;
    row-gap: 0;
    height: max-content;
    max-height: max-content;
    min-width: max-content;
  }

  .ak-header-actions .ak-header-pill {
    box-sizing: border-box;
    width: 180px;
    min-height: 46px;
    padding: 0 20px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
    border-color: rgba(226, 232, 240, .98);
    border-radius: 12px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, .11);
    font-size: 14px;
    line-height: 1;
    transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease, background-color 200ms ease;
  }

  .ak-header-actions .ak-header-pill:hover {
    border-color: #dbe1ea;
    background: #fff;
    box-shadow: 0 18px 38px rgba(15, 23, 42, .14);
    transform: translateY(-1px);
  }

  .ak-header-actions .ak-header-pill:focus-visible {
    outline: 0;
    border-color: #dbe1ea;
    box-shadow: 0 0 0 3px rgba(148, 163, 184, .22), 0 18px 38px rgba(15, 23, 42, .14);
  }

  .ak-header-actions .ak-cart-link {
    display: inline-flex;
    position: relative;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    padding-right: 46px;
    padding-top: 0;
    padding-bottom: 0;
    white-space: nowrap;
  }

  .ak-header-actions .ak-cart-link .ak-cart-label {
    position: static;
    top: auto;
    left: auto;
    line-height: 1;
    transform: none;
  }

  .ak-header-actions .ak-cart-link .ak-cart-count {
    position: absolute;
    top: 50%;
    right: 16px;
    flex: none;
    margin-left: 0;
    min-width: 17px;
    height: 17px;
    line-height: 17px;
    transform: translateY(-50%);
  }

  body.woocommerce-checkout .ak-checkout-header-inner {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  body.woocommerce-checkout .ak-checkout-header__label {
    display: inline-flex;
  }
}

@media (min-width: 1200px) {
  .ak-header-top {
    --ak-header-gap: clamp(44px, 3.4vw, 50px);
    grid-template-columns: 180px minmax(520px, 800px) 230px;
    column-gap: var(--ak-header-gap);
    justify-content: center;
  }

  .ak-header-logo {
    justify-self: start;
  }

  .ak-product-search {
    justify-self: stretch;
    margin: 0;
  }

  .ak-header-actions {
    justify-self: start;
  }

  body.woocommerce-checkout .ak-checkout-header-inner {
    --ak-header-gap: clamp(44px, 3.4vw, 50px);
    grid-template-columns: 180px minmax(520px, 800px) 230px;
    column-gap: var(--ak-header-gap);
    justify-content: center;
    padding-top: 29.25px;
  }

  body.woocommerce-checkout .ak-checkout-header__label {
    grid-column: 2;
    justify-self: start;
  }

  body.woocommerce-checkout .ak-checkout-header__back {
    grid-column: 3;
    justify-self: start;
  }
}

.ak-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  gap: var(--ak-space-4);
  align-items: stretch;
  padding: var(--ak-space-4);
  border: 1px solid var(--ak-line);
  border-radius: var(--ak-radius);
  background: linear-gradient(135deg, #ffffff 0%, #f7f9fc 100%);
}

.ak-kicker {
  display: inline-flex;
  margin-bottom: var(--ak-space-2);
  color: var(--ak-brand);
  font-size: 12px;
  font-weight: 850;
}

.ak-hero h1 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.08;
  letter-spacing: 0;
}

.ak-hero p {
  max-width: 580px;
  margin: var(--ak-space-3) 0 0;
  color: var(--ak-muted);
  font-size: 15px;
}

.ak-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--ak-space-2);
  margin-top: var(--ak-space-4);
}

.ak-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--ak-control-height);
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: var(--ak-radius);
  font-weight: 850;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.2;
  transition: background-color var(--ak-transition), border-color var(--ak-transition), box-shadow var(--ak-transition), transform var(--ak-transition);
}

.ak-button--primary {
  background: var(--ak-green);
  color: #ffffff;
}

.ak-button--primary:hover {
  background: #2cae5b;
  box-shadow: 0 5px 12px rgba(44, 174, 91, .18);
  transform: translateY(-1px);
}

.ak-button--secondary {
  background: #ffffff;
  color: var(--ak-ink);
  border: 1px solid var(--ak-line);
}

.ak-button--secondary:hover {
  border-color: #c9d4e4;
  background: #f8fafc;
  box-shadow: 0 5px 12px rgba(17, 24, 32, .06);
  transform: translateY(-1px);
}

.ak-hero__panel {
  display: grid;
  gap: var(--ak-space-2);
}

.ak-hero__panel div {
  padding: var(--ak-space-3);
  border: 1px solid var(--ak-line);
  border-radius: var(--ak-radius);
  background: var(--ak-card);
}

.ak-hero__panel strong,
.ak-hero__panel span {
  display: block;
}

.ak-hero__panel span {
  margin-top: 3px;
  color: var(--ak-muted);
  font-size: 13px;
}

.ak-section {
  margin-top: var(--ak-space-4);
}

.ak-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--ak-space-4);
  margin-bottom: var(--ak-space-3);
}

.ak-section__head h2,
.ak-trust h2 {
  margin: 0;
  font-size: var(--ak-font-section-title);
  line-height: 1.15;
}

.ak-section__head a {
  color: var(--ak-blue);
  font-weight: 800;
  text-decoration: none;
}

.ak-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.ak-product-card {
  position: relative;
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  overflow: hidden;
  min-height: 190px;
  padding: 18px;
  border: 1px solid rgba(227, 232, 239, .9);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(17, 24, 32, .07);
  transition: border-color var(--ak-transition), box-shadow var(--ak-transition), transform var(--ak-transition);
}

.ak-product-card:hover {
  border-color: rgba(202, 213, 229, .98);
  box-shadow: 0 20px 48px rgba(17, 24, 32, .1);
  transform: translateY(-3px) scale(1.01);
}

.ak-product-card__image {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  width: 132px;
  height: 132px;
  margin: 0;
  overflow: hidden;
}

.ak-product-card__image img {
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  margin: 0;
}

.ak-product-card__body {
  display: flex;
  min-width: 0;
  height: 100%;
  flex-direction: column;
  justify-content: center;
  padding: 0;
}

.ak-product-card h3 {
  margin: 0 0 8px;
  min-height: 0;
  overflow: hidden;
  color: var(--ak-ink);
  font-size: 16px !important;
  line-height: 1.24 !important;
  font-weight: 850;
}

.ak-product-card h3 a {
  display: -webkit-box;
  min-height: 0;
  max-height: 44px;
  overflow: hidden;
  font-size: inherit !important;
  line-height: inherit !important;
  text-decoration: none;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.ak-product-card__price {
  margin-top: 12px;
  padding-top: 0;
  color: #111827;
  font-size: 18px;
  line-height: 1.18;
  font-weight: 900;
}

.ak-product-card__price del {
  display: block;
  margin-bottom: 4px;
  color: #8792a3;
  font-size: 13px;
  font-weight: 750;
  opacity: 1;
}

.ak-product-card__price .amount,
.ak-product-card__price bdi,
.ak-product-card__price .woocommerce-Price-currencySymbol {
  color: inherit;
}

.ak-product-card__price ins {
  color: #111827;
  text-decoration: none;
}

.ak-product-card__stock {
  display: inline-flex;
  align-self: flex-start;
  margin-top: 10px;
  color: #667085;
  font-size: 12px;
  font-weight: 750;
}

.ak-loop-savings {
  margin-top: 5px;
  color: var(--ak-red);
  font-size: 12px;
  line-height: 1.25;
  font-weight: 850;
}

.ak-product-card__button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: 14px;
  border-radius: 12px;
  background: var(--ak-ink);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  transition: background-color var(--ak-transition), box-shadow var(--ak-transition), transform var(--ak-transition);
}

.ak-product-card__button:hover {
  color: #fff;
  background: #0f1722;
  box-shadow: 0 8px 18px rgba(17, 24, 32, .18);
  transform: translateY(-1px);
}

.ak-category-grid,
.ak-trust__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--ak-space-3);
}

.ak-category-card,
.ak-trust__grid article {
  padding: var(--ak-space-3);
  border: 1px solid var(--ak-line);
  border-radius: var(--ak-radius);
  background: var(--ak-card);
  text-decoration: none;
  box-shadow: var(--ak-shadow);
}

.ak-category-card strong,
.ak-category-card span,
.ak-trust__grid strong,
.ak-trust__grid span {
  display: block;
}

.ak-category-card span,
.ak-trust__grid span {
  margin-top: 5px;
  color: var(--ak-muted);
  font-size: 13px;
}

.ak-trust {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: var(--ak-space-4);
  margin: var(--ak-space-4) 0 var(--ak-space-4);
  padding: var(--ak-space-4);
  border-radius: var(--ak-radius);
  background: #151b24;
  color: #ffffff;
}

.ak-trust .ak-kicker {
  color: #ffccd4;
}

.ak-trust__grid article {
  border-color: rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .06);
}

.ak-trust__grid span {
  color: #d7dde7;
}

.ak-site-footer {
  margin-top: var(--ak-space-4);
  padding: 0 var(--ak-space-4);
  border-top: 1px solid var(--ak-line);
  background: var(--ak-soft);
}

.ak-footer-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(150px, .8fr));
  gap: var(--ak-space-5);
  max-width: var(--ak-container);
  margin: 0 auto;
  padding: var(--ak-space-4) 0;
}

.ak-footer-brand h2,
.ak-footer-nav h3 {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.2;
}

.ak-footer-brand p {
  max-width: 340px;
  margin: 0;
  color: var(--ak-muted);
  font-size: 13px;
  line-height: 1.45;
}

.ak-footer-nav {
  display: grid;
  gap: 6px;
  align-content: start;
  font-size: 13px;
}

.ak-footer-nav a {
  color: var(--ak-muted);
  text-decoration: none;
}

.ak-footer-nav a:hover {
  color: var(--ak-ink);
}

.ak-empty {
  padding: 16px;
  border: 1px dashed var(--ak-line);
  border-radius: var(--ak-radius-lg);
  color: var(--ak-muted);
  background: var(--ak-soft);
}

.ak-page,
body.page main,
body.woocommerce-cart main,
body.woocommerce-checkout main,
body.woocommerce-account main {
  max-width: var(--ak-container);
  margin: 0 auto;
  padding: var(--ak-space-4) var(--ak-space-4);
}

.wp-block-post-title,
body.page h1,
.woocommerce-products-header__title {
  margin: 0 0 var(--ak-space-3);
  font-size: clamp(22px, 2.2vw, 26px);
  line-height: 1.15;
}

.ak-page {
  color: var(--ak-ink);
}

.ak-page h2 {
  margin: 0 0 var(--ak-space-3);
  font-size: 22px;
  line-height: 1.2;
}

.ak-page .wp-block-post-title + h2,
.ak-page .wp-block-post-content > h2:first-child {
  display: none;
}

.ak-page p,
.ak-page li {
  color: var(--ak-muted);
  font-size: 15px;
  line-height: 1.65;
}

.ak-page p {
  max-width: 760px;
  margin: 0 0 var(--ak-space-3);
}

.ak-page ul {
  display: grid;
  gap: var(--ak-space-2);
  max-width: 760px;
  margin: 0 0 var(--ak-space-4);
  padding: var(--ak-space-3) var(--ak-space-4);
  border: 1px solid var(--ak-line);
  border-radius: var(--ak-radius-lg);
  background: #fff;
  list-style-position: inside;
  box-shadow: 0 2px 7px rgba(17, 24, 32, .035);
}

body.ak-legal-page .ak-page > .wp-block-post-title {
  max-width: 760px;
  margin-inline: auto;
}

body.ak-info-page .ak-page {
  max-width: 900px;
  padding-top: var(--ak-space-6);
  padding-bottom: var(--ak-space-6);
}

body.ak-info-page .ak-page .wp-block-post-title {
  max-width: 760px;
  margin: 0 auto var(--ak-space-3);
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.05;
  letter-spacing: 0;
}

body.ak-info-page .ak-page .wp-block-post-content {
  max-width: 760px;
  margin: 0 auto;
}

body.ak-info-page .ak-page .wp-block-post-content > p:first-of-type {
  margin-bottom: var(--ak-space-4);
  padding-bottom: var(--ak-space-4);
  border-bottom: 1px solid var(--ak-line);
  color: #344054;
  font-size: 17px;
  line-height: 1.65;
}

body.ak-info-page .ak-page .wp-block-post-content > * + * {
  margin-top: var(--ak-space-3);
}

body.ak-info-page .ak-page p,
body.ak-info-page .ak-page li {
  font-size: 15px;
  line-height: 1.72;
}

body.ak-info-page .ak-page p {
  color: #344054;
}

body.ak-info-page .ak-page ul {
  gap: 10px;
  padding: var(--ak-space-4);
}

body.ak-info-page .ak-page li {
  list-style-position: outside;
  margin-left: var(--ak-space-4);
}

body.ak-info-page .ak-page strong {
  color: var(--ak-ink);
  font-weight: 800;
}

body.ak-info-page .ak-page hr,
body.ak-info-page .ak-page .wp-block-separator {
  max-width: 760px;
  margin: var(--ak-space-5) auto;
  border: 0;
  border-top: 1px solid var(--ak-line);
}

body.ak-info-page .ak-page blockquote,
body.ak-info-page .ak-page .wp-block-quote {
  max-width: 760px;
  margin: var(--ak-space-4) auto;
  padding: var(--ak-space-4);
  border: 1px solid #d8eadf;
  border-left: 4px solid var(--ak-green);
  border-radius: var(--ak-radius-lg);
  background: #f4fbf7;
  color: #1f5130;
  box-shadow: 0 3px 10px rgba(17, 24, 32, .035);
}

body.ak-info-page .ak-page h3,
body.ak-info-page .ak-page h4 {
  max-width: 760px;
  margin: var(--ak-space-5) auto var(--ak-space-2);
  padding-top: var(--ak-space-4);
  border-top: 1px solid var(--ak-line);
  color: var(--ak-ink);
  line-height: 1.25;
}

body.ak-info-page .ak-page h3 {
  font-size: 21px;
}

body.ak-info-page .ak-page h4 {
  font-size: 17px;
}

body.ak-info-page .ak-contact-panel {
  max-width: 900px;
  margin: var(--ak-space-6) auto 0;
}

body.ak-info-page .ak-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--ak-space-3);
  margin-bottom: var(--ak-space-4);
}

body.ak-info-page .ak-contact-card,
body.ak-info-page .ak-contact-form,
body.ak-info-page .ak-contact-map {
  border: 1px solid var(--ak-line);
  border-radius: var(--ak-radius-lg);
  background: #fff;
  box-shadow: 0 3px 10px rgba(17, 24, 32, .04);
}

body.ak-info-page .ak-contact-card {
  display: grid;
  gap: 6px;
  padding: var(--ak-space-4);
}

body.ak-info-page .ak-contact-card > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  color: #fff;
  background: var(--ak-green);
  font-size: 12px;
  font-weight: 800;
}

body.ak-info-page .ak-contact-card h3,
body.ak-info-page .ak-contact-form h3 {
  max-width: none;
  margin: 0;
  padding-top: 0;
  border-top: 0;
  font-size: 17px;
  line-height: 1.25;
}

body.ak-info-page .ak-contact-card p,
body.ak-info-page .ak-contact-form p,
body.ak-info-page .ak-contact-map p {
  margin: 0;
  color: #667085;
  font-size: 14px;
  line-height: 1.5;
}

body.ak-info-page .ak-contact-card a {
  color: var(--ak-ink);
  font-weight: 800;
  text-decoration: none;
}

body.ak-info-page .ak-contact-body {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr);
  gap: var(--ak-space-4);
}

body.ak-info-page .ak-contact-form {
  padding: var(--ak-space-4);
}

body.ak-info-page .ak-contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--ak-space-3);
  margin: var(--ak-space-4) 0;
}

body.ak-info-page .ak-contact-form label {
  display: grid;
  gap: 6px;
  color: var(--ak-ink);
  font-size: 13px;
  font-weight: 800;
}

body.ak-info-page .ak-contact-form-wide {
  grid-column: 1 / -1;
}

body.ak-info-page .ak-contact-form input,
body.ak-info-page .ak-contact-form textarea {
  width: 100%;
  border: 1px solid var(--ak-line);
  border-radius: var(--ak-radius);
  padding: 11px 12px;
  color: var(--ak-ink);
  background: #fff;
  font: inherit;
  font-weight: 600;
}

body.ak-info-page .ak-contact-form textarea {
  resize: vertical;
}

body.ak-info-page .ak-contact-form input:focus,
body.ak-info-page .ak-contact-form textarea:focus {
  outline: 2px solid rgba(47, 108, 229, .16);
  border-color: #2f6ce5;
}

body.ak-info-page .ak-contact-hp {
  position: absolute;
  left: -9999px;
}

body.ak-info-page .ak-contact-notice {
  margin-top: var(--ak-space-3);
  padding: 10px 12px;
  border-radius: var(--ak-radius);
  font-size: 14px;
  font-weight: 800;
}

body.ak-info-page .ak-contact-notice--success {
  color: #1f5130;
  background: #edf8f0;
}

body.ak-info-page .ak-contact-notice--error {
  color: #7a1f1f;
  background: #fff0f0;
}

body.ak-info-page .ak-contact-map {
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: 330px;
  padding: var(--ak-space-4);
  text-align: center;
  background:
    linear-gradient(135deg, rgba(17, 24, 32, .04) 25%, transparent 25%) 0 0 / 24px 24px,
    linear-gradient(315deg, rgba(17, 24, 32, .04) 25%, transparent 25%) 0 0 / 24px 24px,
    #f8fafc;
}

body.ak-info-page .ak-contact-map strong {
  margin-bottom: 6px;
  font-size: 17px;
}

body.ak-info-page .ak-contact-map span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--ak-space-2);
  padding: 6px 10px;
  border-radius: 999px;
  color: #1f5130;
  background: #edf8f0;
  font-size: 13px;
  font-weight: 800;
}

body.ak-info-page .ak-info-trust {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--ak-space-3);
  max-width: 900px;
  margin: var(--ak-space-6) auto 0;
  padding-top: var(--ak-space-5);
  border-top: 1px solid var(--ak-line);
}

body.ak-info-page .ak-info-trust-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  min-height: 112px;
  padding: var(--ak-space-3);
  border: 1px solid var(--ak-line);
  border-radius: var(--ak-radius-lg);
  background: #fff;
  box-shadow: 0 3px 10px rgba(17, 24, 32, .04);
}

body.ak-info-page .ak-info-trust-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  color: #fff;
  background: var(--ak-green);
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
}

body.ak-info-page .ak-info-trust-card h3 {
  max-width: none;
  margin: 0 0 4px;
  padding-top: 0;
  border-top: 0;
  font-size: 15px;
  line-height: 1.25;
}

body.ak-info-page .ak-info-trust-card p {
  margin: 0;
  color: #667085;
  font-size: 13px;
  line-height: 1.45;
}

@media (max-width: 980px) {
  body.ak-info-page .ak-contact-grid,
  body.ak-info-page .ak-info-trust {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.ak-info-page .ak-contact-body {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  body.ak-info-page .ak-contact-grid,
  body.ak-info-page .ak-contact-form-grid,
  body.ak-info-page .ak-info-trust {
    grid-template-columns: 1fr;
    gap: var(--ak-space-2);
  }

  body.ak-info-page .ak-contact-panel {
    margin-top: var(--ak-space-5);
  }

  body.ak-info-page .ak-info-trust-card {
    min-height: 0;
  }
}

.woocommerce-shop main,
.post-type-archive-product main,
.tax-product_cat main {
  display: flow-root;
  max-width: 1440px;
  margin: 0 auto;
  padding: 28px 36px 72px;
}

.woocommerce-shop main > .wp-block-group.alignwide,
.post-type-archive-product main > .wp-block-group.alignwide,
.tax-product_cat main > .wp-block-group.alignwide {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: none;
  margin: 0 0 24px calc(300px + 48px);
}

body.woocommerce-shop .woocommerce-breadcrumb,
body.post-type-archive-product .woocommerce-breadcrumb,
body.tax-product_cat .woocommerce-breadcrumb,
.woocommerce-shop .wp-block-query-title,
.post-type-archive-product .wp-block-query-title,
.tax-product_cat .wp-block-query-title,
.woocommerce-shop .woocommerce-products-header,
.post-type-archive-product .woocommerce-products-header,
.tax-product_cat .woocommerce-products-header,
.woocommerce-shop .woocommerce-products-header__title,
.post-type-archive-product .woocommerce-products-header__title,
.tax-product_cat .woocommerce-products-header__title {
  display: none !important;
  height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.ak-shop-filters {
  float: left;
  width: 300px;
  display: grid;
  gap: 14px;
  margin: 0 48px 36px 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

/* WooCommerce Blocks can emit the same theme filter form twice; retain one usable form. */
.ak-shop-filters ~ .ak-shop-filters {
  display: none;
}

.ak-filter-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--ak-space-2);
  padding: 20px 22px;
  border: 1px solid rgba(229, 231, 235, .9);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(17, 24, 39, .045);
}

.ak-filter-heading strong {
  font-size: 16px;
  font-weight: 950;
}

.ak-filter-heading .ak-filter-toggle {
  display: none;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: var(--ak-ink);
  font-size: 16px;
  font-weight: 950;
  cursor: pointer;
}

.ak-filter-group {
  margin: 0;
  padding: 20px 22px;
  border: 1px solid rgba(229, 231, 235, .9);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(17, 24, 39, .045);
}

.ak-filter-group summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--ak-ink);
  font-size: 17px;
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}

.ak-filter-group summary::-webkit-details-marker {
  display: none;
}

.ak-filter-group summary::after {
  width: 8px;
  height: 8px;
  border-right: 2px solid #758195;
  border-bottom: 2px solid #758195;
  content: "";
  transform: rotate(45deg);
  transition: transform var(--ak-transition);
}

.ak-filter-group[open] summary::after {
  transform: rotate(225deg);
}

.ak-filter-options {
  display: grid;
  gap: 12px;
  padding-top: 18px;
}

.ak-filter-check {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
  color: var(--ak-ink);
  font-size: var(--ak-font-small);
  font-weight: 760;
  cursor: pointer;
}

.ak-filter-check input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.ak-filter-check__box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border: 1px solid var(--ak-line);
  border-radius: 5px;
  background: #fff;
  transition: background var(--ak-transition), border-color var(--ak-transition), box-shadow var(--ak-transition);
}

.ak-filter-check input:checked + .ak-filter-check__box {
  border-color: #D6001C;
  background: #D6001C;
  box-shadow: 0 0 0 2px rgba(214, 0, 28, .14);
}

.ak-filter-check input:checked + .ak-filter-check__box::after {
  color: #fff;
  font-size: 12px;
  font-weight: 950;
  content: "✓";
}

.ak-filter-check:hover .ak-filter-check__box {
  border-color: #aebbd0;
}

.ak-filter-check__label {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  min-width: 0;
}

.ak-filter-check__count {
  color: var(--ak-muted);
  font-size: 12px;
  font-weight: 800;
}

.ak-filter-check.is-disabled {
  color: #98a2b3;
  cursor: not-allowed;
}

.ak-filter-swatch {
  width: 14px;
  height: 14px;
  border: 1px solid rgba(17, 24, 32, .14);
  border-radius: 999px;
  background: var(--ak-swatch);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35);
}

.ak-filter-empty {
  margin: 0;
  color: var(--ak-muted);
  font-size: 13px;
}

.ak-price-filter {
  display: grid;
  gap: 12px;
  padding-top: 18px;
}

.ak-price-filter__values {
  display: flex;
  justify-content: space-between;
  color: var(--ak-ink);
  font-size: 13px;
  font-weight: 900;
}

.ak-price-filter label {
  display: grid;
  gap: 4px;
  color: var(--ak-muted);
  font-size: 12px;
  font-weight: 800;
}

.ak-price-filter input[type="range"] {
  width: 100%;
  accent-color: #D6001C;
}

.ak-filter-actions {
  display: grid;
  padding: 4px 0 0;
}

.ak-shop-filters button,
.ak-shop-filters__reset {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--ak-control-height-sm);
  padding: 0 12px;
  border-radius: 999px;
  font-size: var(--ak-font-small);
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
}

.ak-shop-filters button {
  border: 0;
  background: #D6001C;
  color: #fff;
  cursor: pointer;
}

.ak-shop-filters__reset {
  min-height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ak-muted);
  font-size: 12px;
}

.ak-active-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 0 0 18px calc(300px + 48px);
}

.ak-active-filter-chips a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px 0 16px;
  border: 1px solid rgba(210, 216, 226, .95);
  border-radius: 999px;
  background: #fff;
  color: #111827;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(17, 24, 39, .055);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.ak-active-filter-chips a:hover {
  border-color: rgba(190, 199, 214, .98);
  box-shadow: 0 14px 30px rgba(17, 24, 39, .085);
  transform: translateY(-1px);
}

.ak-filter-chip__remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  color: #667085;
  background: #f4f6f8;
  font-size: 13px;
  line-height: 1;
  font-weight: 900;
  transition: color .22s ease, background-color .22s ease;
}

.ak-active-filter-chips a:hover .ak-filter-chip__remove {
  color: #111827;
  background: #e9edf3;
}

.woocommerce .wp-block-product-categories,
.woocommerce .wc-block-product-categories,
.woocommerce .wp-block-woocommerce-product-categories {
  display: none !important;
}

.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering {
  margin: 0;
  font-size: 13px;
}

.woocommerce .woocommerce-result-count {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(226, 232, 240, .95);
  border-radius: 14px;
  background: #fff;
  color: #667085;
  line-height: 1.2;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(17, 24, 39, .045);
}

.woocommerce .woocommerce-ordering {
  position: relative;
  display: inline-flex;
  align-items: center;
  text-align: right;
}

.woocommerce .woocommerce-ordering select {
  min-width: 250px;
  min-height: 42px;
  appearance: none;
  padding: 0 42px 0 16px;
  border: 1px solid rgba(210, 216, 226, .95);
  border-radius: 14px;
  background: #fff;
  color: #111827;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(17, 24, 39, .045);
  cursor: pointer;
  transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}

.woocommerce .woocommerce-ordering::after {
  position: absolute;
  top: 50%;
  right: 16px;
  width: 8px;
  height: 8px;
  border-right: 2px solid #758195;
  border-bottom: 2px solid #758195;
  content: "";
  pointer-events: none;
  transform: translateY(-65%) rotate(45deg);
}

.woocommerce .woocommerce-ordering select:hover {
  border-color: rgba(190, 199, 214, .98);
  box-shadow: 0 14px 30px rgba(17, 24, 39, .07);
  transform: translateY(-1px);
}

.woocommerce .woocommerce-ordering select:focus {
  border-color: rgba(214, 0, 28, .34);
  box-shadow: 0 0 0 3px rgba(214, 0, 28, .1), 0 14px 30px rgba(17, 24, 39, .07);
  outline: 0;
}

.woocommerce .woocommerce-ordering.ak-sort-enhanced select {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.woocommerce .woocommerce-ordering.ak-sort-enhanced::after {
  display: none;
}

.ak-sort-dropdown {
  position: relative;
  display: inline-flex;
  min-width: 250px;
}

.ak-sort-dropdown__button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 42px;
  gap: 16px;
  padding: 0 16px;
  border: 1px solid rgba(210, 216, 226, .95);
  border-radius: 14px;
  background: #fff;
  color: #111827;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(17, 24, 39, .045);
  transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}

.ak-sort-dropdown__button::after {
  width: 8px;
  height: 8px;
  border-right: 2px solid #758195;
  border-bottom: 2px solid #758195;
  content: "";
  transform: translateY(-2px) rotate(45deg);
  transition: transform .22s ease;
}

.ak-sort-dropdown.is-open .ak-sort-dropdown__button::after {
  transform: translateY(2px) rotate(225deg);
}

.ak-sort-dropdown__button:hover,
.ak-sort-dropdown.is-open .ak-sort-dropdown__button {
  border-color: rgba(190, 199, 214, .98);
  box-shadow: 0 14px 30px rgba(17, 24, 39, .07);
  transform: translateY(-1px);
}

.ak-sort-dropdown__button:focus-visible {
  border-color: rgba(214, 0, 28, .34);
  box-shadow: 0 0 0 3px rgba(214, 0, 28, .1), 0 14px 30px rgba(17, 24, 39, .07);
  outline: 0;
}

.ak-sort-dropdown__list {
  position: absolute;
  z-index: 30;
  top: calc(100% + 8px);
  right: 0;
  display: grid;
  width: max(100%, 250px);
  min-width: 250px;
  padding: 8px;
  border: 1px solid rgba(210, 216, 226, .95);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(17, 24, 39, .12);
}

.ak-sort-dropdown__list[hidden] {
  display: none;
}

.ak-sort-dropdown__option {
  display: flex;
  align-items: center;
  min-height: 38px;
  width: 100%;
  border: 0;
  border-radius: 10px;
  padding: 0 12px;
  background: transparent;
  color: #111827;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease;
}

.ak-sort-dropdown__option:hover {
  background: #f5f7fa;
}

.ak-sort-dropdown__option[aria-selected="true"] {
  background: rgba(214, 0, 28, .08);
  color: #111827;
}

.woocommerce ul.products,
.woocommerce .wp-block-post-template,
.woocommerce .products-block-post-template,
.woocommerce .wc-block-product-template,
.woocommerce .wp-block-woocommerce-product-template {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
  margin: 0 0 0 calc(300px + 48px);
  padding: 0;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after,
.woocommerce .wp-block-post-template::before,
.woocommerce .wp-block-post-template::after,
.woocommerce .wc-block-product-template::before,
.woocommerce .wc-block-product-template::after,
.woocommerce .wp-block-woocommerce-product-template::before,
.woocommerce .wp-block-woocommerce-product-template::after {
  display: none;
}

.woocommerce :is(ul.products, .wc-block-product-template) li.wc-block-product {
  position: relative;
  display: block;
  box-sizing: border-box;
  height: auto;
  min-height: 0;
  align-self: start;
  margin: 0 !important;
  padding: 18px;
  overflow: hidden;
  border: 1px solid rgba(229, 231, 235, .82);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(17, 24, 39, .055);
  text-align: left;
  list-style: none;
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.woocommerce :is(ul.products, .wc-block-product-template) li.wc-block-product:hover {
  transform: translateY(-3px);
  border-color: rgba(202, 213, 229, .98);
  box-shadow: 0 18px 42px rgba(17, 24, 39, .09);
}

.woocommerce :is(ul.products, .wc-block-product-template) li.wc-block-product::before,
.woocommerce :is(ul.products, .wc-block-product-template) li.wc-block-product::after {
  display: none;
}

.woocommerce :is(ul.products, .wc-block-product-template) li.wc-block-product .ak-product-card__inner {
  position: static;
  display: flex;
  width: 100%;
  height: auto;
  min-height: 0;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

.woocommerce :is(ul.products, .wc-block-product-template) li.wc-block-product .ak-product-card__badge {
  position: absolute;
  box-sizing: border-box;
  z-index: 5;
  top: 8px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: max-content;
  height: 20px;
  min-height: 0;
  padding: 0 7px;
  border-radius: 999px;
  background: #D6001C;
  color: #fff;
  font-size: 10px;
  line-height: 1;
  font-weight: 900;
  white-space: nowrap;
  pointer-events: none;
  box-shadow: 0 6px 14px rgba(214, 0, 28, .16);
}

.woocommerce :is(ul.products, .wc-block-product-template) li.wc-block-product .ak-product-card__image {
  display: flex;
  box-sizing: border-box;
  width: 100%;
  height: 220px;
  align-items: center;
  justify-content: center;
  margin: 0 0 16px;
  overflow: hidden;
}

.woocommerce :is(ul.products, .wc-block-product-template) li.wc-block-product .ak-product-card__image img {
  display: block;
  max-width: 92%;
  max-height: 92%;
  object-fit: contain;
  margin: 0;
  transition: transform .24s ease;
}

.woocommerce :is(ul.products, .wc-block-product-template) li.wc-block-product:hover .ak-product-card__image img {
  transform: scale(1.025);
}

.woocommerce :is(ul.products, .wc-block-product-template) li.wc-block-product .ak-product-card__content {
  display: grid;
  flex: 1;
  grid-template-rows: 42px auto 42px 1fr 40px;
  min-width: 0;
  gap: 8px;
}

.woocommerce :is(ul.products, .wc-block-product-template) li.wc-block-product .ak-product-card__title {
  display: -webkit-box;
  grid-row: 1;
  min-height: 42px;
  max-height: 42px;
  overflow: hidden;
  margin: 0;
  color: #111827;
  font-size: 16px;
  line-height: 1.32;
  font-weight: 860;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.woocommerce :is(ul.products, .wc-block-product-template) li.wc-block-product .ak-product-card__meta {
  display: flex;
  grid-row: 2;
  min-height: 56px;
  flex-wrap: wrap;
  align-content: start;
  align-items: center;
  gap: 6px;
  overflow: visible;
  margin: 0;
  color: #6b7280;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 600;
}

.woocommerce :is(ul.products, .wc-block-product-template) li.wc-block-product .ak-product-card__meta-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 24px;
  gap: 5px;
  padding: 0 9px;
  border: 1px solid rgba(218, 224, 233, .95);
  border-radius: 999px;
  background: #f7f9fb;
  color: #667085;
  font-size: 11px;
  line-height: 1;
  font-weight: 800;
  white-space: nowrap;
}

.woocommerce :is(ul.products, .wc-block-product-template) li.wc-block-product .ak-product-card__meta-chip--battery {
  gap: 6px;
  padding-left: 8px;
  padding-right: 10px;
  color: #344054;
}

.woocommerce :is(ul.products, .wc-block-product-template) li.wc-block-product .ak-product-card__meta-chip--battery span:last-child {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.woocommerce :is(ul.products, .wc-block-product-template) li.wc-block-product .ak-product-card__meta-chip--grade,
.woocommerce :is(ul.products, .wc-block-product-template) li.wc-block-product .ak-product-card__meta-chip--battery-option {
  color: #344054;
}

.woocommerce :is(ul.products, .wc-block-product-template) li.wc-block-product .ak-battery-icon {
  display: inline-block;
  width: 20px;
  height: 11px;
  flex: 0 0 auto;
  vertical-align: middle;
}

.woocommerce :is(ul.products, .wc-block-product-template) li.wc-block-product .ak-product-card__price {
  display: flex;
  grid-row: 3;
  min-height: 42px;
  align-items: baseline;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 7px;
  justify-content: flex-start;
  align-content: end;
  margin: 0;
  color: #111827;
  line-height: 1.25;
}

.woocommerce :is(ul.products, .wc-block-product-template) li.wc-block-product .ak-product-card__old-price {
  display: inline-flex;
  margin-bottom: 0;
  color: #9ca3af;
  font-size: 12px;
  font-weight: 700;
  text-decoration: line-through;
}

.woocommerce :is(ul.products, .wc-block-product-template) li.wc-block-product .ak-product-card__current-price {
  display: inline-flex;
  color: #111827;
  font-size: 18px;
  font-weight: 900;
}

.woocommerce :is(ul.products, .wc-block-product-template) li.wc-block-product .ak-product-card__cta {
  display: flex;
  grid-row: 5;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  margin-top: 0;
  border-radius: 999px;
  background: #D6001C;
  color: #fff;
  font-size: 14px;
  font-weight: 850;
  text-align: center;
  text-decoration: none;
  transition: transform .22s ease, box-shadow .22s ease, background-color .22s ease;
}

.woocommerce :is(ul.products, .wc-block-product-template) li.wc-block-product .ak-product-card__cta:hover {
  background: #bd0019;
  box-shadow: 0 12px 24px rgba(214, 0, 28, .18);
}

.ak-wishlist-button {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(218, 224, 233, .96);
  border-radius: 999px;
  background: rgba(247, 249, 251, .96);
  color: #1f2937;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(17, 24, 39, .06);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background-color .22s ease, color .22s ease;
}

.ak-wishlist-button:hover {
  transform: translateY(-1px);
  border-color: rgba(214, 0, 28, .28);
  box-shadow: 0 12px 24px rgba(17, 24, 39, .1);
}

.ak-wishlist-button:disabled {
  cursor: wait;
  opacity: .65;
}

.ak-wishlist-button__icon {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linejoin: round;
  transition: fill .22s ease, stroke .22s ease;
}

.ak-wishlist-button.is-active {
  border-color: rgba(214, 0, 28, .2);
  background: #fff3f5;
  color: #D6001C;
}

.ak-wishlist-button.is-active .ak-wishlist-button__icon {
  fill: currentColor;
}

.woocommerce :is(ul.products, .wc-block-product-template) li.wc-block-product > .ak-wishlist-button {
  position: absolute;
  z-index: 3;
  right: 20px;
  bottom: 72px;
}

.woocommerce li.product:has(.ak-product-card__inner) > .wp-block-woocommerce-product-image,
.woocommerce li.product:has(.ak-product-card__inner) > .wp-block-post-title,
.woocommerce li.product:has(.ak-product-card__inner) > .wp-block-woocommerce-product-price,
.woocommerce li.product:has(.ak-product-card__inner) > .wp-block-woocommerce-product-button,
.woocommerce li.product:has(.ak-product-card__inner) > .wc-block-components-product-image,
.woocommerce li.product:has(.ak-product-card__inner) > .wc-block-components-product-price,
.woocommerce li.product:has(.ak-product-card__inner) > .wc-block-components-product-button {
  display: none !important;
}

.woocommerce-shop .wp-block-query-pagination,
.post-type-archive-product .wp-block-query-pagination,
.tax-product_cat .wp-block-query-pagination {
  clear: both;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: none;
  margin: 38px 0 0 calc(300px + 48px);
}

.woocommerce-shop .wp-block-query-pagination-numbers,
.post-type-archive-product .wp-block-query-pagination-numbers,
.tax-product_cat .wp-block-query-pagination-numbers {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.woocommerce-shop .wp-block-query-pagination a,
.woocommerce-shop .wp-block-query-pagination .page-numbers,
.post-type-archive-product .wp-block-query-pagination a,
.post-type-archive-product .wp-block-query-pagination .page-numbers,
.tax-product_cat .wp-block-query-pagination a,
.tax-product_cat .wp-block-query-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid rgba(226, 232, 240, .95);
  border-radius: 999px;
  background: #fff;
  color: #111827;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(17, 24, 39, .045);
  transition: border-color .2s ease, box-shadow .2s ease, color .2s ease, background-color .2s ease, transform .2s ease;
}

.woocommerce-shop .wp-block-query-pagination a:hover,
.post-type-archive-product .wp-block-query-pagination a:hover,
.tax-product_cat .wp-block-query-pagination a:hover {
  border-color: rgba(214, 0, 28, .2);
  box-shadow: 0 14px 30px rgba(17, 24, 39, .08);
  transform: translateY(-1px);
}

.woocommerce-shop .wp-block-query-pagination .page-numbers.current,
.post-type-archive-product .wp-block-query-pagination .page-numbers.current,
.tax-product_cat .wp-block-query-pagination .page-numbers.current {
  border-color: #d6001c;
  background: #d6001c;
  color: #fff;
  box-shadow: 0 12px 26px rgba(214, 0, 28, .18);
}

.woocommerce-shop .wp-block-query-pagination .page-numbers.dots,
.post-type-archive-product .wp-block-query-pagination .page-numbers.dots,
.tax-product_cat .wp-block-query-pagination .page-numbers.dots {
  min-width: auto;
  padding: 0 2px;
  border: 0;
  background: transparent;
  color: #98a2b3;
  box-shadow: none;
}

.woocommerce-shop .wp-block-query-pagination-next,
.woocommerce-shop .wp-block-query-pagination-previous,
.post-type-archive-product .wp-block-query-pagination-next,
.post-type-archive-product .wp-block-query-pagination-previous,
.tax-product_cat .wp-block-query-pagination-next,
.tax-product_cat .wp-block-query-pagination-previous {
  min-width: 0;
  padding: 0 18px;
}

body.woocommerce-account {
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, .95), transparent 28%),
    linear-gradient(180deg, #f8fafc 0%, #ffffff 34%, #f6f8fb 100%);
}

body.woocommerce-account main {
  max-width: 1280px;
  padding: clamp(34px, 4vw, 58px) var(--ak-space-4) clamp(70px, 7vw, 108px);
}

body.woocommerce-account main > h1,
body.woocommerce-account .wp-block-post-title {
  display: none;
}

body.woocommerce-account main .woocommerce {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
}

body.woocommerce-account .ak-account-shell {
  display: grid;
  gap: clamp(28px, 4vw, 48px);
}

body.woocommerce-account .ak-account-hero {
  display: grid;
  gap: 10px;
}

body.woocommerce-account .ak-account-crumb {
  margin: 0;
  color: #4b5563;
  font-size: 15px;
  font-weight: 750;
}

body.woocommerce-account .ak-account-hero h1 {
  margin: 0;
  color: #111827;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0;
}

body.woocommerce-account .ak-account-layout {
  display: grid;
  grid-template-columns: minmax(312px, 330px) minmax(0, 1fr);
  gap: clamp(30px, 3vw, 42px);
  align-items: start;
}

body.woocommerce-account .woocommerce-MyAccount-navigation,
body.woocommerce-account .woocommerce-MyAccount-content {
  float: none;
  width: auto;
  max-width: none;
  margin: 0;
}

body.woocommerce-account .ak-account-sidebar {
  padding: clamp(30px, 2.4vw, 34px);
  border: 1px solid rgba(226, 232, 240, .95);
  border-radius: 28px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 26px 64px rgba(15, 23, 42, .085);
}

body.woocommerce-account .ak-account-sidebar__title {
  margin: 0 0 20px;
  color: #111827;
  font-size: 26px;
  font-weight: 920;
  line-height: 1.15;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.woocommerce-account .woocommerce-MyAccount-navigation-link a {
  display: flex;
  min-height: 56px;
  align-items: center;
  padding: 0 18px;
  border-radius: 999px;
  color: #111827;
  font-size: 15px;
  font-weight: 850;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease;
}

body.woocommerce-account .woocommerce-MyAccount-navigation-link a:hover,
body.woocommerce-account .woocommerce-MyAccount-navigation-link a:focus-visible {
  background: rgba(214, 0, 28, .07);
  color: #D6001C;
  outline: 0;
  transform: translateX(2px);
}

body.woocommerce-account .woocommerce-MyAccount-navigation-link.is-active a {
  background: #D6001C;
  color: #fff;
  box-shadow: 0 16px 30px rgba(214, 0, 28, .2);
}

body.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout a {
  color: #991b1b;
}

body.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout a:hover,
body.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout a:focus-visible {
  background: rgba(153, 27, 27, .06);
  color: #991b1b;
}

body.woocommerce-account .woocommerce-MyAccount-content,
body.woocommerce-account .ak-account-content {
  min-width: 0;
  min-height: 360px;
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid rgba(226, 232, 240, .95);
  border-radius: 26px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 24px 60px rgba(15, 23, 42, .07);
  color: #111827;
  font-size: 15px;
  line-height: 1.65;
}

body.woocommerce-account .woocommerce-MyAccount-content > :first-child {
  margin-top: 0;
}

body.woocommerce-account .woocommerce-MyAccount-content p {
  color: #4b5563;
}

body.woocommerce-account .woocommerce-MyAccount-content a:not(.button) {
  color: #D6001C;
  font-weight: 800;
  text-decoration: none;
}

body.woocommerce-account .woocommerce-MyAccount-content a:not(.button):hover {
  text-decoration: underline;
}

body.woocommerce-account .woocommerce-MyAccount-content h2,
body.woocommerce-account .woocommerce-MyAccount-content h3 {
  margin: 0 0 14px;
  color: #111827;
  line-height: 1.15;
}

body.woocommerce-account .ak-account-section-kicker {
  margin: 0 0 4px;
  color: #D6001C;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .02em;
  text-transform: uppercase;
}

body.woocommerce-account .ak-account-orders {
  display: grid;
  gap: 22px;
}

body.woocommerce-account .ak-account-orders__header {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

body.woocommerce-account .ak-account-orders__header h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 950;
}

body.woocommerce-account .ak-account-orders__list {
  display: grid;
  gap: 16px;
}

body.woocommerce-account .ak-account-order-card {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(229, 231, 235, .95);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 38px rgba(15, 23, 42, .06);
}

body.woocommerce-account .ak-account-order-card__thumb {
  display: flex;
  width: 104px;
  height: 86px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 14px;
  background: #f8fafc;
}

body.woocommerce-account .ak-account-order-card__thumb img {
  display: block;
  max-width: 92%;
  max-height: 92%;
  object-fit: contain;
  transition: transform .2s ease;
}

body.woocommerce-account .ak-account-order-card:hover .ak-account-order-card__thumb img {
  transform: scale(1.04);
}

body.woocommerce-account .ak-account-order-card__body {
  display: grid;
  min-width: 0;
  gap: 8px;
}

body.woocommerce-account .ak-account-order-card__meta,
body.woocommerce-account .ak-account-order-card__details {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
}

body.woocommerce-account .ak-account-order-card__status {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #4b5563;
  font-size: 12px;
  font-weight: 900;
}

body.woocommerce-account .ak-account-order-card__status.is-complete {
  background: #e8f7ef;
  color: #15803d;
}

body.woocommerce-account .ak-account-order-card__status.is-active {
  background: rgba(214, 0, 28, .075);
  color: #D6001C;
}

body.woocommerce-account .ak-account-order-card__number,
body.woocommerce-account .ak-account-order-card__details {
  color: #667085;
  font-size: 13px;
  font-weight: 750;
}

body.woocommerce-account .ak-account-order-card h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.25;
}

body.woocommerce-account .ak-account-order-card h3 a {
  color: #111827;
  text-decoration: none;
}

body.woocommerce-account .ak-account-order-card__summary {
  display: grid;
  gap: 12px;
  justify-items: end;
  text-align: right;
}

body.woocommerce-account .ak-account-order-price {
  display: grid;
  gap: 5px;
  min-width: min(100%, 236px);
}

body.woocommerce-account .ak-account-order-price__row {
  display: flex;
  gap: 12px;
  align-items: baseline;
  justify-content: space-between;
}

body.woocommerce-account .ak-account-order-price__label {
  color: #667085;
  font-size: 12px;
  font-weight: 750;
  text-align: left;
}

body.woocommerce-account .ak-account-order-price__amount {
  color: #111827;
  font-size: 15px;
  font-weight: 950;
  white-space: nowrap;
}

body.woocommerce-account .ak-account-order-price__amount--secondary {
  color: #475467;
  font-size: 13px;
}

body.woocommerce-account .ak-account-order-price__amount--struck {
  color: #667085;
  font-size: 13px;
  text-decoration: line-through;
}

body.woocommerce-account .ak-account-order-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

body.woocommerce-account .ak-account-order-card__actions .button,
body.woocommerce-account .ak-account-empty__button,
body.woocommerce-account .ak-account-pagination .button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 0;
  border-radius: 12px;
  background: #D6001C;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 14px 28px rgba(214, 0, 28, .16);
}

body.woocommerce-account .ak-account-empty {
  display: grid;
  gap: 10px;
  padding: 28px;
  border: 1px solid rgba(226, 232, 240, .95);
  border-radius: 20px;
  background: #f8fafc;
}

body.woocommerce-account .ak-account-empty h3,
body.woocommerce-account .ak-account-empty p {
  margin: 0;
}

body.woocommerce-account .ak-account-empty__button {
  justify-self: start;
  margin-top: 8px;
}

body.woocommerce-account .ak-account-pagination {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

body.woocommerce-account.woocommerce-edit-account form.woocommerce-EditAccountForm {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 22px;
  margin: 0;
}

body.woocommerce-account.woocommerce-edit-account form.woocommerce-EditAccountForm .form-row {
  float: none;
  width: auto;
  margin: 0;
  padding: 0;
  grid-column: 1 / -1;
}

body.woocommerce-account.woocommerce-edit-account form.woocommerce-EditAccountForm .form-row-first {
  grid-column: 1;
}

body.woocommerce-account.woocommerce-edit-account form.woocommerce-EditAccountForm .form-row-last {
  grid-column: 2;
}

body.woocommerce-account.woocommerce-edit-account form.woocommerce-EditAccountForm .clear {
  display: none;
}

body.woocommerce-account.woocommerce-edit-account form.woocommerce-EditAccountForm label {
  display: block;
  margin: 0 0 8px;
  color: #4b5563;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.25;
}

body.woocommerce-account.woocommerce-edit-account form.woocommerce-EditAccountForm .required {
  color: #D6001C;
  text-decoration: none;
}

body.woocommerce-account.woocommerce-edit-account form.woocommerce-EditAccountForm input.input-text,
body.woocommerce-account.woocommerce-edit-account form.woocommerce-EditAccountForm input[type="text"],
body.woocommerce-account.woocommerce-edit-account form.woocommerce-EditAccountForm input[type="email"],
body.woocommerce-account.woocommerce-edit-account form.woocommerce-EditAccountForm input[type="password"] {
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid rgba(213, 221, 232, .95);
  border-radius: 12px;
  background: #fff;
  color: #111827;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .035);
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

body.woocommerce-account.woocommerce-edit-account form.woocommerce-EditAccountForm input.input-text:focus,
body.woocommerce-account.woocommerce-edit-account form.woocommerce-EditAccountForm input[type="text"]:focus,
body.woocommerce-account.woocommerce-edit-account form.woocommerce-EditAccountForm input[type="email"]:focus,
body.woocommerce-account.woocommerce-edit-account form.woocommerce-EditAccountForm input[type="password"]:focus {
  border-color: rgba(214, 0, 28, .45);
  outline: 0;
  box-shadow: 0 0 0 4px rgba(214, 0, 28, .08), 0 10px 22px rgba(15, 23, 42, .05);
}

body.woocommerce-account.woocommerce-edit-account form.woocommerce-EditAccountForm em {
  display: block;
  margin-top: 8px;
  color: #667085;
  font-size: 13px;
  line-height: 1.35;
}

body.woocommerce-account.woocommerce-edit-account form.woocommerce-EditAccountForm fieldset {
  display: grid;
  grid-column: 1 / -1;
  gap: 16px;
  margin: 6px 0 0;
  padding: 22px;
  border: 1px solid rgba(226, 232, 240, .95);
  border-radius: 18px;
  background: #f8fafc;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7);
}

body.woocommerce-account.woocommerce-edit-account form.woocommerce-EditAccountForm fieldset legend {
  float: none;
  width: auto;
  margin: 0 0 2px;
  padding: 0;
  color: #111827;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.2;
}

body.woocommerce-account.woocommerce-edit-account form.woocommerce-EditAccountForm fieldset .form-row {
  grid-column: 1 / -1;
}

body.woocommerce-account.woocommerce-edit-account form.woocommerce-EditAccountForm .password-input {
  position: relative;
  display: block;
}

body.woocommerce-account.woocommerce-edit-account form.woocommerce-EditAccountForm .password-input input.input-text {
  padding-right: 60px;
}

body.woocommerce-account.woocommerce-edit-account form.woocommerce-EditAccountForm .show-password-input {
  display: inline-flex;
  width: 44px;
  min-width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #667085;
  cursor: pointer;
  transition: color .2s ease, opacity .2s ease;
}

body.woocommerce-account.woocommerce-edit-account form.woocommerce-EditAccountForm .show-password-input:hover {
  color: var(--ak-red, #d6001c);
  background: rgba(214, 0, 28, .06);
}

body.woocommerce-account.woocommerce-edit-account form.woocommerce-EditAccountForm .show-password-input:focus-visible {
  outline: 2px solid var(--ak-red, #d6001c);
  outline-offset: 2px;
  color: var(--ak-red, #d6001c);
  background: rgba(214, 0, 28, .06);
}

body.woocommerce-account.woocommerce-edit-account form.woocommerce-EditAccountForm button[name="save_account_details"] {
  grid-column: 1 / -1;
  justify-self: start;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 12px;
  background: #D6001C;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  box-shadow: 0 14px 28px rgba(214, 0, 28, .18);
}

body.woocommerce-account.woocommerce-edit-account form.woocommerce-EditAccountForm button[name="save_account_details"]:hover,
body.woocommerce-account.woocommerce-edit-account form.woocommerce-EditAccountForm button[name="save_account_details"]:focus-visible {
  background: #c00019;
  color: #fff;
  outline: 0;
  box-shadow: 0 18px 34px rgba(214, 0, 28, .24);
  transform: translateY(-1px);
}

body.woocommerce-account .woocommerce-message,
body.woocommerce-account .woocommerce-info,
body.woocommerce-account .woocommerce-error {
  border-radius: 18px;
}

body.woocommerce-account .ak-account-wishlist {
  display: grid;
  gap: 24px;
}

body.woocommerce-account .ak-account-wishlist__header h2 {
  margin: 0 0 6px;
  color: #111827;
  font-size: 26px;
  line-height: 1.2;
  font-weight: 950;
}

body.woocommerce-account .ak-account-wishlist__header p,
body.woocommerce-account .ak-account-wishlist__empty {
  margin: 0;
  color: #667085;
}

body.woocommerce-account .ak-account-wishlist__grid {
  display: grid;
  gap: 18px;
}

body.woocommerce-account .ak-account-wishlist__item {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr) 190px;
  gap: 18px;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid rgba(214, 221, 230, .95);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(15, 23, 42, .052);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

body.woocommerce-account .ak-account-wishlist__item:hover {
  border-color: rgba(203, 213, 225, .98);
  box-shadow: 0 22px 48px rgba(15, 23, 42, .078);
  transform: translateY(-1px);
}

body.woocommerce-account .ak-account-wishlist__item:focus-within {
  border-color: rgba(214, 0, 28, .16);
  box-shadow: 0 22px 48px rgba(15, 23, 42, .078), 0 0 0 3px rgba(214, 0, 28, .055);
}

body.woocommerce-account .ak-account-wishlist__image {
  display: flex;
  width: 104px;
  height: 96px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, .9);
  border-radius: 18px;
  background: #f8fafc;
}

body.woocommerce-account .ak-account-wishlist__image img {
  display: block;
  max-width: 92%;
  max-height: 92%;
  object-fit: contain;
}

body.woocommerce-account .ak-account-wishlist__body {
  display: grid;
  min-width: 0;
  gap: 9px;
}

body.woocommerce-account .ak-account-wishlist__title {
  margin: 0;
  font-size: clamp(17px, 1.35vw, 19px);
  font-weight: 950;
  line-height: 1.22;
}

body.woocommerce-account .woocommerce-MyAccount-content .ak-account-wishlist__title a {
  display: -webkit-box;
  overflow: hidden;
  color: #111827;
  text-decoration: none;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

body.woocommerce-account .woocommerce-MyAccount-content .ak-account-wishlist__title a:hover,
body.woocommerce-account .woocommerce-MyAccount-content .ak-account-wishlist__title a:focus-visible {
  color: #111827;
  text-decoration: none;
}

body.woocommerce-account .ak-account-wishlist__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

body.woocommerce-account .ak-account-wishlist__chip {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 0 9px;
  border: 1px solid rgba(226, 232, 240, .95);
  border-radius: 999px;
  background: #f8fafc;
  color: #475467;
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
}

body.woocommerce-account .ak-account-wishlist__price {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: baseline;
  color: #111827;
  font-size: 17px;
  font-weight: 950;
  line-height: 1.2;
  white-space: nowrap;
}

body.woocommerce-account .ak-account-wishlist__price del {
  color: #667085;
  font-size: 14px;
  font-weight: 750;
  text-decoration-thickness: 2px;
}

body.woocommerce-account .ak-account-wishlist__price ins {
  color: #111827;
  text-decoration: none;
}

body.woocommerce-account .ak-account-wishlist__actions {
  display: grid;
  grid-template-columns: 136px 44px;
  min-width: 0;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}

body.woocommerce-account .woocommerce-MyAccount-content .ak-account-wishlist__link {
  box-sizing: border-box;
  display: inline-flex;
  width: 136px;
  min-width: 0;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 999px;
  background: #D6001C;
  color: #fff !important;
  font-size: 14px;
  font-weight: 950;
  text-decoration: none;
  box-shadow: 0 14px 28px rgba(214, 0, 28, .16);
  transition: background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

body.woocommerce-account .woocommerce-MyAccount-content .ak-account-wishlist__link:hover,
body.woocommerce-account .woocommerce-MyAccount-content .ak-account-wishlist__link:focus-visible {
  background: #bf0018;
  color: #fff !important;
  text-decoration: none;
  outline: 0;
  box-shadow: 0 18px 34px rgba(214, 0, 28, .22);
  transform: translateY(-1px);
}

body.woocommerce-account .ak-wishlist-button--account {
  width: 44px;
  min-width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border: 1px solid rgba(214, 0, 28, .18);
  background: rgba(214, 0, 28, .06);
  color: #D6001C;
  box-shadow: none;
}

body.woocommerce-account .ak-wishlist-button--account:hover,
body.woocommerce-account .ak-wishlist-button--account:focus-visible {
  border-color: rgba(214, 0, 28, .34);
  background: rgba(214, 0, 28, .1);
  color: #D6001C;
}

body.woocommerce-account .ak-wishlist-button--account .ak-wishlist-button__icon {
  width: 20px;
  height: 20px;
}

body.woocommerce-account .ak-account-wishlist__empty {
  display: grid;
  gap: 10px;
  padding: 28px;
  border: 1px solid rgba(226, 232, 240, .95);
  border-radius: 20px;
  background: #f8fafc;
}

body.woocommerce-account .ak-account-wishlist__empty h3,
body.woocommerce-account .ak-account-wishlist__empty p {
  margin: 0;
}

body.woocommerce-account .ak-account-wishlist__empty h3 {
  color: #111827;
  font-size: 22px;
  font-weight: 950;
  line-height: 1.15;
}

body.woocommerce-account .woocommerce-MyAccount-content .ak-account-wishlist__empty-link {
  display: inline-flex;
  width: fit-content;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  padding: 0 18px;
  border-radius: 999px;
  background: #D6001C;
  color: #fff !important;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 14px 28px rgba(214, 0, 28, .16);
}

body.woocommerce-account .woocommerce-MyAccount-content .ak-account-wishlist__empty-link:hover,
body.woocommerce-account .woocommerce-MyAccount-content .ak-account-wishlist__empty-link:focus-visible {
  background: #bf0018;
  color: #fff !important;
  text-decoration: none;
}

body.woocommerce-account .ak-account-menu {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

body.woocommerce-account .woocommerce-MyAccount-navigation-link {
  margin: 0;
  padding: 0;
}

body.woocommerce-account .woocommerce-MyAccount-navigation-link a {
  gap: 14px;
  min-height: 56px;
  padding: 0 18px;
  text-decoration: none !important;
}

body.woocommerce-account .ak-account-menu__icon {
  display: inline-flex;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  align-items: center;
  justify-content: center;
  color: currentColor;
}

body.woocommerce-account .ak-account-menu__icon svg {
  display: block;
  width: 22px;
  height: 22px;
}

body.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout {
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px solid rgba(226, 232, 240, .95);
}

body.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout a {
  color: #b91c1c;
}

body.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout a:hover,
body.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout a:focus-visible {
  background: rgba(214, 0, 28, .07);
  color: #D6001C;
}

body.woocommerce-account .ak-account-card {
  overflow: hidden;
}

body.woocommerce-account .ak-account-dashboard {
  display: grid;
  gap: 26px;
}

body.woocommerce-account .ak-account-dashboard__intro {
  display: grid;
  gap: 10px;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(226, 232, 240, .95);
  border-radius: 22px;
  background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
}

body.woocommerce-account .ak-account-dashboard__intro h2 {
  margin: 0;
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 950;
  line-height: 1.05;
}

body.woocommerce-account .ak-account-dashboard__intro p:last-child {
  max-width: 640px;
  margin: 0;
}

body.woocommerce-account .ak-account-dashboard__links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

body.woocommerce-account .ak-account-dashboard__link {
  display: grid;
  min-height: 126px;
  align-content: center;
  gap: 8px;
  padding: 20px;
  border: 1px solid rgba(226, 232, 240, .95);
  border-radius: 20px;
  background: #fff;
  color: #111827 !important;
  text-decoration: none !important;
  box-shadow: 0 14px 32px rgba(15, 23, 42, .055);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

body.woocommerce-account .ak-account-dashboard__link:hover,
body.woocommerce-account .ak-account-dashboard__link:focus-visible {
  border-color: rgba(214, 0, 28, .28);
  outline: 0;
  box-shadow: 0 18px 40px rgba(214, 0, 28, .1);
  transform: translateY(-2px);
}

body.woocommerce-account .ak-account-dashboard__link span {
  font-size: 17px;
  font-weight: 950;
}

body.woocommerce-account .ak-account-dashboard__link small {
  color: #667085;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

body.woocommerce-account .ak-account-dashboard__panels {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 16px;
}

body.woocommerce-account .ak-account-dashboard-panel {
  display: grid;
  gap: 16px;
  padding: 22px;
  border: 1px solid rgba(226, 232, 240, .95);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(15, 23, 42, .055);
}

body.woocommerce-account .ak-account-dashboard-panel__header {
  display: grid;
  gap: 2px;
}

body.woocommerce-account .ak-account-dashboard-panel__header h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 950;
}

body.woocommerce-account .ak-account-dashboard-order,
body.woocommerce-account .ak-account-dashboard-empty,
body.woocommerce-account .ak-account-profile-summary {
  display: grid;
  gap: 10px;
  margin: 0;
}

body.woocommerce-account .ak-account-dashboard-order > div,
body.woocommerce-account .ak-account-dashboard-order__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
}

body.woocommerce-account .ak-account-dashboard-order p,
body.woocommerce-account .ak-account-dashboard-empty p {
  margin: 0;
}

body.woocommerce-account .ak-account-dashboard-order a,
body.woocommerce-account .ak-account-dashboard-empty a {
  justify-self: start;
  margin-top: 4px;
}

body.woocommerce-account .ak-account-profile-summary div {
  display: grid;
  gap: 3px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(226, 232, 240, .82);
}

body.woocommerce-account .ak-account-profile-summary div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

body.woocommerce-account .ak-account-profile-summary dt {
  color: #667085;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

body.woocommerce-account .ak-account-profile-summary dd {
  margin: 0;
  color: #111827;
  font-size: 14px;
  font-weight: 850;
}

body.woocommerce-account.woocommerce-edit-account form.woocommerce-EditAccountForm.ak-account-details-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

body.woocommerce-account .ak-account-form-section {
  display: grid;
  gap: 18px;
  padding: clamp(20px, 2.5vw, 28px);
  border: 1px solid rgba(226, 232, 240, .95);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(15, 23, 42, .045);
}

body.woocommerce-account .ak-account-form-section--password {
  background: #f8fafc;
}

body.woocommerce-account .ak-account-form-section__header {
  display: grid;
  gap: 4px;
}

body.woocommerce-account .ak-account-form-section__header h2 {
  margin: 0;
  color: #111827;
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 950;
  line-height: 1.1;
}

body.woocommerce-account .ak-account-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 22px;
}

body.woocommerce-account.woocommerce-edit-account form.woocommerce-EditAccountForm.ak-account-details-form .ak-account-form-grid > .form-row,
body.woocommerce-account.woocommerce-edit-account form.woocommerce-EditAccountForm.ak-account-details-form .ak-account-billing-personal-row > .form-row,
body.woocommerce-account.woocommerce-edit-account form.woocommerce-EditAccountForm.ak-account-details-form .ak-account-company-fields > .form-row {
  grid-column: auto;
}

body.woocommerce-account .ak-account-form-grid__full {
  grid-column: 1 / -1;
}

body.woocommerce-account.woocommerce-edit-account form.woocommerce-EditAccountForm.ak-account-details-form .form-row {
  margin: 0;
}

body.woocommerce-account.woocommerce-edit-account form.woocommerce-EditAccountForm.ak-account-details-form .ak-account-form-section > .form-row {
  grid-column: 1 / -1;
}

body.woocommerce-account.woocommerce-edit-account form.woocommerce-EditAccountForm.ak-account-details-form input.input-text,
body.woocommerce-account.woocommerce-edit-account form.woocommerce-EditAccountForm.ak-account-details-form input[type="text"],
body.woocommerce-account.woocommerce-edit-account form.woocommerce-EditAccountForm.ak-account-details-form input[type="email"],
body.woocommerce-account.woocommerce-edit-account form.woocommerce-EditAccountForm.ak-account-details-form input[type="password"],
body.woocommerce-account.woocommerce-edit-account form.woocommerce-EditAccountForm.ak-account-details-form input[type="tel"],
body.woocommerce-account.woocommerce-edit-account form.woocommerce-EditAccountForm.ak-account-details-form select {
  min-height: 54px;
  border-radius: 14px;
}

body.woocommerce-account.woocommerce-edit-account form.woocommerce-EditAccountForm.ak-account-details-form select {
  width: 100%;
  padding: 0 44px 0 16px;
  border: 1px solid rgba(213, 221, 232, .95);
  background:
    linear-gradient(45deg, transparent 50%, #111827 50%) calc(100% - 22px) 50% / 8px 8px no-repeat,
    linear-gradient(135deg, #111827 50%, transparent 50%) calc(100% - 16px) 50% / 8px 8px no-repeat,
    #fff;
  color: #111827;
  font-size: 15px;
  font-weight: 800;
  appearance: none;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .035);
}

body.woocommerce-account.woocommerce-edit-account form.woocommerce-EditAccountForm.ak-account-details-form select:focus {
  border-color: rgba(214, 0, 28, .45);
  outline: 0;
  box-shadow: 0 0 0 4px rgba(214, 0, 28, .08), 0 10px 22px rgba(15, 23, 42, .05);
}

body.woocommerce-account .ak-account-field-hint {
  display: block;
  margin-top: -10px;
  color: #667085;
  font-size: 13px;
  line-height: 1.35;
}

body.woocommerce-account .ak-account-address {
  position: relative;
}

body.woocommerce-account .ak-account-company-toggle {
  box-sizing: border-box;
  display: flex !important;
  min-height: 56px;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 0 16px !important;
  border: 1px solid rgba(213, 221, 232, .95);
  border-radius: 16px;
  background: #fff;
  color: #111827 !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  line-height: 1.2;
  box-shadow: 0 10px 22px rgba(15, 23, 42, .035);
  cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease;
}

body.woocommerce-account .ak-account-company-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

body.woocommerce-account .ak-account-company-toggle__box {
  position: relative;
  display: inline-flex;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  align-items: center;
  justify-content: center;
  border: 2px solid #667085;
  border-radius: 9px;
  background: #fff;
  box-shadow: inset 0 0 0 4px #fff;
}

body.woocommerce-account .ak-account-company-toggle input:checked + .ak-account-company-toggle__box {
  border-color: #D6001C;
  background: #D6001C;
}

body.woocommerce-account .ak-account-company-toggle input:checked + .ak-account-company-toggle__box::after {
  width: 8px;
  height: 12px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  content: "";
  transform: rotate(45deg) translate(-1px, -1px);
}

body.woocommerce-account .ak-account-address--billing.is-company-enabled .ak-account-company-toggle {
  border-color: rgba(214, 0, 28, .28);
  background: rgba(214, 0, 28, .045);
  color: #D6001C !important;
  box-shadow: 0 12px 26px rgba(214, 0, 28, .055);
}

body.woocommerce-account .ak-account-billing-personal-row,
body.woocommerce-account .ak-account-company-fields {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 22px;
}

body.woocommerce-account .ak-account-company-fields {
  display: none;
}

body.woocommerce-account .ak-account-address--billing.is-company-enabled .ak-account-billing-personal-row {
  display: none;
}

body.woocommerce-account .ak-account-address--billing.is-company-enabled .ak-account-company-fields {
  display: grid;
}

body.woocommerce-account .ak-account-form-actions {
  margin: 0;
}

body.woocommerce-account.woocommerce-edit-account form.woocommerce-EditAccountForm.ak-account-details-form button[name="save_account_details"] {
  min-height: 52px;
  border-radius: 14px;
}

body.woocommerce-account .ak-account-orders {
  gap: 24px;
}

body.woocommerce-account .ak-account-orders__list {
  gap: 18px;
}

body.woocommerce-account .ak-account-order-card {
  border-radius: 22px;
  box-shadow: 0 18px 44px rgba(15, 23, 42, .07);
}

body.woocommerce-account.woocommerce-view-order .woocommerce-order-details,
body.woocommerce-account.woocommerce-view-order .woocommerce-customer-details {
  display: grid;
  gap: 16px;
  margin: 0 0 22px;
  padding: 22px;
  border: 1px solid rgba(226, 232, 240, .95);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(15, 23, 42, .045);
}

body.woocommerce-account.woocommerce-view-order .woocommerce-order-details__title,
body.woocommerce-account.woocommerce-view-order .woocommerce-column__title {
  margin: 0;
  color: #111827;
  font-size: 22px;
  font-weight: 950;
}

body.woocommerce-account.woocommerce-view-order table.shop_table {
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, .95);
  border-radius: 16px;
  background: #fff;
}

body.woocommerce-account.woocommerce-view-order table.shop_table th,
body.woocommerce-account.woocommerce-view-order table.shop_table td {
  padding: 14px 16px;
  border-color: rgba(226, 232, 240, .88);
}

@media (max-width: 980px) {
  body.woocommerce-account .ak-account-layout {
    grid-template-columns: 1fr;
  }

  body.woocommerce-account .ak-account-sidebar,
  body.woocommerce-account .woocommerce-MyAccount-content {
    border-radius: 22px;
  }

  body.woocommerce-account .ak-account-dashboard__links,
  body.woocommerce-account .ak-account-dashboard__panels {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  body.woocommerce-account main {
    padding-inline: 18px;
  }

  body.woocommerce-account .ak-account-hero h1 {
    font-size: 40px;
  }

  body.woocommerce-account .woocommerce-MyAccount-content,
  body.woocommerce-account .ak-account-content,
  body.woocommerce-account .ak-account-sidebar {
    padding: 20px;
  }

  body.woocommerce-account .ak-account-order-card {
    grid-template-columns: 76px 1fr;
  }

  body.woocommerce-account .ak-account-order-card__thumb {
    width: 76px;
    height: 76px;
  }

  body.woocommerce-account .ak-account-order-card__summary {
    grid-column: 1 / -1;
    justify-items: start;
    text-align: left;
  }

  body.woocommerce-account .ak-account-wishlist__item {
    grid-template-columns: 84px minmax(0, 1fr);
  }

  body.woocommerce-account .ak-account-wishlist__image {
    width: 84px;
    height: 84px;
  }

  body.woocommerce-account .ak-account-wishlist__actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  body.woocommerce-account.woocommerce-edit-account form.woocommerce-EditAccountForm,
  body.woocommerce-account.woocommerce-edit-account form.woocommerce-EditAccountForm .form-row-first,
  body.woocommerce-account.woocommerce-edit-account form.woocommerce-EditAccountForm .form-row-last {
    grid-column: 1 / -1;
  }

  body.woocommerce-account .ak-account-form-grid,
  body.woocommerce-account .ak-account-billing-personal-row,
  body.woocommerce-account .ak-account-company-fields {
    grid-template-columns: 1fr;
  }
}

/* Rejoy-inspired Apple Klinika account V1. Scoped to WooCommerce account pages only. */
body.woocommerce-account main {
  max-width: 1240px;
  padding-block: clamp(28px, 4vw, 54px) clamp(72px, 8vw, 120px);
}

body.woocommerce-account main .woocommerce {
  max-width: 1120px;
}

body.woocommerce-account .ak-account-shell {
  display: block;
}

body.woocommerce-account .ak-account-layout {
  grid-template-columns: minmax(280px, 312px) minmax(0, 1fr);
  gap: clamp(22px, 3vw, 36px);
  align-items: start;
}

body.woocommerce-account .ak-account-sidebar {
  min-width: 0;
  box-sizing: border-box;
  display: flex;
  min-height: 620px;
  flex-direction: column;
  padding: 38px 34px;
  border: 0;
  border-radius: 24px;
  background: #30374c;
  color: #fff;
  box-shadow: 0 26px 58px rgba(15, 23, 42, .18);
}

body.woocommerce-account .ak-account-sidebar__profile {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 34px;
}

body.woocommerce-account .ak-account-sidebar__profile-text {
  min-width: 0;
}

body.woocommerce-account .ak-account-sidebar__avatar,
body.woocommerce-account .ak-account-profile-hero__avatar {
  display: inline-flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #D6001C;
  color: #fff;
  font-size: 15px;
  font-weight: 950;
  letter-spacing: 0;
}

body.woocommerce-account .ak-account-sidebar__profile strong,
body.woocommerce-account .ak-account-sidebar__profile small {
  display: block;
}

body.woocommerce-account .ak-account-sidebar__profile strong {
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
}

body.woocommerce-account .ak-account-sidebar__profile small {
  max-width: 190px;
  overflow: hidden;
  color: rgba(255, 255, 255, .66);
  font-size: 12px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.woocommerce-account .ak-account-sidebar__title {
  margin-bottom: 22px;
  color: rgba(255, 255, 255, .76);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

body.woocommerce-account .ak-account-menu,
body.woocommerce-account .woocommerce-MyAccount-navigation ul {
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
  gap: 10px;
}

body.woocommerce-account .woocommerce-MyAccount-navigation-link a {
  gap: 13px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: rgba(255, 255, 255, .64);
  font-size: 14px;
  font-weight: 850;
  box-shadow: none;
}

body.woocommerce-account .woocommerce-MyAccount-navigation-link a:hover,
body.woocommerce-account .woocommerce-MyAccount-navigation-link a:focus-visible {
  border-color: rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .06);
  color: #fff;
  transform: none;
}

body.woocommerce-account .woocommerce-MyAccount-navigation-link.is-active a {
  border-color: rgba(255, 255, 255, .38);
  background: rgba(255, 255, 255, .08);
  color: #fff;
  box-shadow: inset 4px 0 0 #D6001C;
}

body.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

body.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout a {
  color: rgba(255, 255, 255, .72);
}

body.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout a:hover,
body.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout a:focus-visible {
  background: rgba(214, 0, 28, .16);
  color: #fff;
}

body.woocommerce-account .woocommerce-MyAccount-content,
body.woocommerce-account .ak-account-content {
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

body.woocommerce-account .ak-account-card {
  overflow: visible;
}

body.woocommerce-account .ak-account-crumb {
  margin: 0 0 14px;
  color: #667085;
  font-size: 13px;
  font-weight: 850;
}

body.woocommerce-account .ak-account-home,
body.woocommerce-account .ak-account-page,
body.woocommerce-account .ak-account-wishlist,
body.woocommerce-account .ak-account-orders,
body.woocommerce-account .ak-account-settings {
  display: grid;
  gap: 18px;
}

body.woocommerce-account .ak-account-profile-hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 26px 30px;
  border-radius: 22px;
  background: linear-gradient(135deg, #171f33 0%, #30374c 56%, #D6001C 132%);
  color: #fff;
  box-shadow: 0 24px 54px rgba(15, 23, 42, .18);
}

body.woocommerce-account .ak-account-profile-hero h2,
body.woocommerce-account .ak-account-profile-hero p {
  margin: 0;
  color: #fff;
}

body.woocommerce-account .ak-account-profile-hero h2 {
  font-size: clamp(24px, 2.2vw, 32px);
  font-weight: 950;
  line-height: 1.1;
}

body.woocommerce-account .ak-account-profile-hero p:not(.ak-account-section-kicker) {
  color: rgba(255, 255, 255, .74);
  font-size: 14px;
}

body.woocommerce-account .ak-account-profile-hero .ak-account-section-kicker {
  color: rgba(255, 255, 255, .68);
}

body.woocommerce-account .woocommerce-MyAccount-content .ak-account-profile-hero a,
body.woocommerce-account .ak-account-primary-action,
body.woocommerce-account .ak-account-secondary-action,
body.woocommerce-account .ak-account-empty__button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 12px;
  background: #D6001C;
  color: #fff !important;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none !important;
  box-shadow: 0 16px 30px rgba(214, 0, 28, .18);
}

body.woocommerce-account .ak-account-secondary-action {
  border: 1px solid rgba(214, 0, 28, .18);
  background: rgba(214, 0, 28, .08);
  color: #D6001C !important;
  box-shadow: none;
}

body.woocommerce-account .ak-account-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

body.woocommerce-account .ak-account-summary-card {
  position: relative;
  display: grid;
  min-height: 136px;
  align-content: start;
  gap: 8px;
  padding: 20px;
  border: 1px solid rgba(226, 232, 240, .98);
  border-radius: 18px;
  background: #fff;
  color: #111827 !important;
  text-decoration: none !important;
  box-shadow: 0 16px 38px rgba(15, 23, 42, .06);
}

body.woocommerce-account .ak-account-summary-card__count {
  display: inline-flex;
  width: fit-content;
  min-width: 28px;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  padding: 0 9px;
  border-radius: 999px;
  background: #eef2f7;
  color: #475467;
  font-size: 13px;
  font-weight: 950;
}

body.woocommerce-account .ak-account-summary-card strong {
  font-size: 17px;
  font-weight: 950;
  line-height: 1.15;
}

body.woocommerce-account .ak-account-summary-card small {
  color: #667085;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

body.woocommerce-account .ak-account-summary-card__arrow {
  position: absolute;
  right: 18px;
  top: 18px;
  color: #D6001C;
  font-size: 20px;
  font-weight: 950;
}

body.woocommerce-account .ak-account-page__header,
body.woocommerce-account .ak-account-orders__header,
body.woocommerce-account .ak-account-wishlist__header {
  display: grid;
  gap: 6px;
  padding: 26px 30px;
  border: 1px solid rgba(226, 232, 240, .98);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(15, 23, 42, .06);
}

body.woocommerce-account .ak-account-page__header h2,
body.woocommerce-account .ak-account-orders__header h2,
body.woocommerce-account .ak-account-wishlist__header h2 {
  margin: 0;
  font-size: clamp(24px, 2.5vw, 34px);
  font-weight: 950;
  line-height: 1.05;
}

body.woocommerce-account .ak-account-page__header p:not(.ak-account-section-kicker),
body.woocommerce-account .ak-account-orders__header p:not(.ak-account-section-kicker),
body.woocommerce-account .ak-account-wishlist__header p {
  max-width: 720px;
  margin: 0;
  color: #667085;
  font-weight: 650;
  line-height: 1.55;
}

body.woocommerce-account .ak-account-empty {
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(226, 232, 240, .98);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .045);
}

body.woocommerce-account .ak-account-empty h3 {
  margin: 0;
  color: #111827;
  font-size: 20px;
  font-weight: 950;
}

body.woocommerce-account .ak-account-empty p {
  margin: 0;
  color: #667085;
}

body.woocommerce-account .ak-account-empty__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

body.woocommerce-account .woocommerce-MyAccount-content .ak-account-empty__link {
  color: #D6001C;
  font-size: 14px;
  font-weight: 900;
}

body.woocommerce-account .ak-account-recommendations {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid rgba(226, 232, 240, .98);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .045);
}

body.woocommerce-account .ak-account-recommendations h3 {
  margin: 0;
  font-size: 19px;
  font-weight: 950;
}

body.woocommerce-account .ak-account-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

body.woocommerce-account .ak-account-category-card {
  display: grid;
  gap: 7px;
  min-height: 132px;
  align-content: center;
  justify-items: center;
  padding: 16px;
  border: 1px solid rgba(226, 232, 240, .95);
  border-radius: 16px;
  background: #f8fafc;
  color: #111827 !important;
  text-align: center;
  text-decoration: none !important;
}

body.woocommerce-account .ak-account-category-card span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(214, 0, 28, .08);
  color: #D6001C;
  font-size: 13px;
  font-weight: 950;
}

body.woocommerce-account .ak-account-category-card strong {
  font-size: 14px;
  font-weight: 950;
}

body.woocommerce-account .ak-account-category-card small {
  color: #667085;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
}

body.woocommerce-account .ak-account-trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, .98);
  border-radius: 18px;
  background: #fff;
}

body.woocommerce-account .ak-account-trust-strip div {
  display: grid;
  gap: 4px;
  padding: 18px;
  border-right: 1px solid rgba(226, 232, 240, .9);
}

body.woocommerce-account .ak-account-trust-strip div:last-child {
  border-right: 0;
}

body.woocommerce-account .ak-account-trust-strip strong {
  color: #111827;
  font-size: 13px;
  font-weight: 950;
}

body.woocommerce-account .ak-account-trust-strip span {
  color: #667085;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

body.woocommerce-account .ak-account-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

body.woocommerce-account .ak-account-steps article,
body.woocommerce-account .ak-account-record-card {
  display: grid;
  gap: 12px;
  padding: 20px;
  border: 1px solid rgba(226, 232, 240, .98);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .045);
}

body.woocommerce-account .ak-account-steps span {
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #D6001C;
  color: #fff;
  font-size: 13px;
  font-weight: 950;
}

body.woocommerce-account .ak-account-steps strong {
  color: #111827;
  font-size: 16px;
  font-weight: 950;
  line-height: 1.25;
}

body.woocommerce-account .ak-account-steps p {
  margin: 0;
  color: #667085;
  font-size: 13px;
  font-weight: 650;
}

body.woocommerce-account .ak-account-record-list {
  display: grid;
  gap: 14px;
}

body.woocommerce-account .ak-account-record-card {
  grid-template-columns: 78px minmax(0, 1fr) auto;
  align-items: center;
}

body.woocommerce-account .ak-account-record-card--without-thumb {
  grid-template-columns: minmax(0, 1fr) auto;
}

body.woocommerce-account .ak-account-record-card--without-thumb .ak-account-secondary-action {
  justify-self: end;
}

body.woocommerce-account .ak-account-record-card__thumb {
  display: flex;
  width: 78px;
  height: 78px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, .95);
  border-radius: 16px;
  background: #f8fafc;
}

body.woocommerce-account .ak-account-record-card__thumb img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

body.woocommerce-account .ak-account-record-card__device-icon {
  width: 36px;
  height: 36px;
  color: var(--ak-red, #d6001c);
}

body.woocommerce-account .ak-account-record-card__body {
  display: grid;
  gap: 6px;
}

body.woocommerce-account .ak-account-record-card__body h3,
body.woocommerce-account .ak-account-record-card__body p {
  margin: 0;
}

body.woocommerce-account .ak-account-return-card__amount {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  align-items: baseline;
}

body.woocommerce-account .ak-account-return-card__amount strong {
  color: #111827;
  font-size: 15px;
  font-weight: 950;
}

body.woocommerce-account .ak-account-record-card__body h3 {
  font-size: 17px;
  font-weight: 950;
  line-height: 1.2;
}

body.woocommerce-account .ak-account-record-card__body p {
  color: #667085;
  font-size: 13px;
  font-weight: 750;
}

body.woocommerce-account .ak-account-form-section {
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .045);
}

body.woocommerce-account .ak-account-wishlist {
  padding: 0;
}

body.woocommerce-account .ak-account-wishlist__grid {
  padding: 22px;
  border: 1px solid rgba(226, 232, 240, .98);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(15, 23, 42, .06);
}

@media (max-width: 1080px) {
  body.woocommerce-account .ak-account-layout {
    grid-template-columns: minmax(0, 1fr);
    min-width: 0;
  }

  body.woocommerce-account .ak-account-sidebar,
  body.woocommerce-account .woocommerce-MyAccount-content {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  body.woocommerce-account .ak-account-sidebar {
    min-height: 0;
  }

  body.woocommerce-account .ak-account-menu,
  body.woocommerce-account .woocommerce-MyAccount-navigation ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout {
    margin-top: 0;
  }
}

@media (max-width: 760px) {
  body.woocommerce-account .ak-account-sidebar__profile-text,
  body.woocommerce-account .ak-account-sidebar__profile strong,
  body.woocommerce-account .ak-account-sidebar__profile small {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  body.woocommerce-account .ak-account-sidebar__profile small {
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
  }

  body.woocommerce-account.woocommerce-view-order .woocommerce-columns--addresses,
  body.woocommerce-account.woocommerce-view-order .woocommerce-columns--addresses .woocommerce-column,
  body.woocommerce-account.woocommerce-view-order .woocommerce-columns--addresses address {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }

  body.woocommerce-account.woocommerce-view-order .woocommerce-customer-details {
    min-width: 0;
    grid-template-columns: minmax(0, 1fr);
  }

  body.woocommerce-account.woocommerce-view-order .wc-block-components-additional-fields-list {
    min-width: 0;
    max-width: 100%;
    grid-template-columns: minmax(0, max-content) minmax(0, 1fr);
  }

  body.woocommerce-account.woocommerce-view-order .wc-block-components-additional-fields-list dd {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  body.woocommerce-account.woocommerce-view-order .woocommerce-columns--addresses address {
    overflow-wrap: anywhere;
  }

  body.woocommerce-account .ak-account-profile-hero,
  body.woocommerce-account .ak-account-record-card,
  body.woocommerce-account .ak-account-order-card {
    grid-template-columns: 1fr;
  }

  body.woocommerce-account .ak-account-summary-grid,
  body.woocommerce-account .ak-account-category-grid,
  body.woocommerce-account .ak-account-trust-strip,
  body.woocommerce-account .ak-account-steps,
  body.woocommerce-account .ak-account-menu,
  body.woocommerce-account .woocommerce-MyAccount-navigation ul {
    grid-template-columns: 1fr;
  }

  body.woocommerce-account .ak-account-trust-strip div {
    border-right: 0;
    border-bottom: 1px solid rgba(226, 232, 240, .9);
  }

  body.woocommerce-account .ak-account-trust-strip div:last-child {
    border-bottom: 0;
  }
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce #payment #place_order {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--ak-control-height);
  padding: 0 14px;
  border-radius: var(--ak-radius);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color var(--ak-transition), border-color var(--ak-transition), box-shadow var(--ak-transition), transform var(--ak-transition);
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce #payment #place_order:hover {
  box-shadow: 0 5px 12px rgba(17, 24, 32, .12);
  transform: translateY(-1px);
}

.woocommerce table.shop_table,
.woocommerce-cart-form,
.woocommerce-checkout-review-order,
.woocommerce form.checkout {
  border-radius: var(--ak-radius);
  font-size: 14px;
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
  padding: 10px 12px;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce .quantity .qty {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--ak-line);
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.2;
  box-sizing: border-box;
}

body.woocommerce-checkout {
  background: #f7f8fa;
}

body.woocommerce-checkout main {
  max-width: 1120px;
  padding-top: 32px;
  padding-bottom: 64px;
}

body.woocommerce-checkout .wp-block-post-title,
body.woocommerce-checkout .ak-page > .wp-block-post-title {
  display: none;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout,
body.woocommerce-checkout .wc-block-checkout {
  max-width: 1080px;
  margin: 0 auto;
}

body.woocommerce-checkout .wc-block-components-sidebar-layout {
  align-items: start;
  gap: 32px;
}

body.woocommerce-checkout .wc-block-components-main {
  min-width: 0;
  padding-right: 0;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
body.woocommerce-checkout .wc-block-checkout__terms {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.woocommerce-checkout .wc-block-components-checkout-step {
  margin-bottom: 0;
  padding: 22px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.woocommerce-checkout .wc-block-components-checkout-step__heading {
  margin: 0 0 12px;
}

body.woocommerce-checkout .wc-block-components-checkout-step__title,
body.woocommerce-checkout .wc-block-components-title {
  color: var(--ak-ink);
  font-size: 19px;
  line-height: 1.18;
  font-weight: 820;
}

body.woocommerce-checkout .wc-block-components-checkout-step__description,
body.woocommerce-checkout .wc-block-components-checkout-step__content,
body.woocommerce-checkout .wc-block-components-address-form {
  color: var(--ak-muted);
  font-size: 14px;
}

body.woocommerce-checkout .wc-block-components-text-input,
body.woocommerce-checkout .wc-block-components-combobox,
body.woocommerce-checkout .wc-block-components-country-input,
body.woocommerce-checkout .wc-block-components-state-input {
  margin-bottom: 10px;
}

body.woocommerce-checkout .wc-block-components-text-input label,
body.woocommerce-checkout .wc-block-components-combobox label,
body.woocommerce-checkout .wc-block-components-country-input label,
body.woocommerce-checkout .wc-block-components-state-input label {
  color: #667085;
  font-weight: 650;
}

body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-combobox input,
body.woocommerce-checkout .wc-block-components-combobox-control input,
body.woocommerce-checkout .wc-block-components-address-form input:not([type="checkbox"]):not([type="radio"]),
body.woocommerce-checkout .wc-block-components-address-form select,
body.woocommerce-checkout .wc-block-components-textarea {
  min-height: 48px;
  border: 1px solid rgba(211, 218, 230, .96) !important;
  border-radius: 14px !important;
  color: var(--ak-ink);
  background: #fff !important;
  font-size: 14px;
  font-weight: 500;
  box-shadow: none;
  transition: border-color var(--ak-transition), box-shadow var(--ak-transition);
}

body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-combobox input:focus,
body.woocommerce-checkout .wc-block-components-combobox-control input:focus,
body.woocommerce-checkout .wc-block-components-address-form input:focus,
body.woocommerce-checkout .wc-block-components-address-form select:focus,
body.woocommerce-checkout .wc-block-components-textarea:focus {
  border-color: rgba(214, 0, 28, .42) !important;
  box-shadow: 0 0 0 3px rgba(214, 0, 28, .1), 0 12px 26px rgba(15, 23, 42, .04);
  outline: 0;
}

body.woocommerce-checkout .wc-block-components-text-input input:hover,
body.woocommerce-checkout .wc-block-components-combobox input:hover,
body.woocommerce-checkout .wc-block-components-combobox-control input:hover,
body.woocommerce-checkout .wc-block-components-address-form input:hover,
body.woocommerce-checkout .wc-block-components-address-form select:hover,
body.woocommerce-checkout .wc-block-components-textarea:hover {
  border-color: rgba(168, 179, 194, .98) !important;
}

body.woocommerce-checkout .wc-block-components-text-input input:disabled,
body.woocommerce-checkout .wc-block-components-combobox input:disabled,
body.woocommerce-checkout .wc-block-components-address-form input:disabled,
body.woocommerce-checkout .wc-block-components-address-form select:disabled,
body.woocommerce-checkout .wc-block-components-textarea:disabled {
  color: #98a2b3;
  background: #f8fafc !important;
  cursor: not-allowed;
}

body.woocommerce-checkout .wc-block-components-text-input input[type="tel"]::placeholder {
  color: var(--ak-muted);
  font-weight: 400;
}

/* Woo's empty, unfocused floating label occupies the placeholder's line. */
body.woocommerce-checkout .wc-block-components-text-input input[type="tel"]:not(:focus)::placeholder {
  opacity: 0;
}

body.woocommerce-checkout .ak-checkout-company-toggle {
  margin: 4px 0 14px;
  padding: 12px;
  border: 1px solid rgba(227, 232, 239, .9);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(17, 24, 32, .045);
}

body.woocommerce-checkout .ak-checkout-company-toggle label {
  color: var(--ak-ink);
  font-weight: 900;
}

body.woocommerce-checkout .ak-checkout-company-source-hidden {
  display: none !important;
}

/* Company controls stay in the Woo-owned order fieldset, including on first render. */
body.woocommerce-checkout #order-fields #order {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 14px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

body.woocommerce-checkout #order-fields #order > * {
  min-width: 0;
  margin: 0;
}

body.woocommerce-checkout #order-fields .wc-block-components-address-form__appleklinika-company_purchase {
  grid-column: 1 / -1;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

/* The two billing decisions use their original native inputs as switches. */
body.woocommerce-checkout .ak-checkout-decision label {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  margin: 0;
  color: var(--ak-ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  cursor: pointer;
}

body.woocommerce-checkout .ak-checkout-decision .wc-block-components-checkbox__label {
  grid-column: 1;
  grid-row: 1;
}

body.woocommerce-checkout .ak-checkout-decision input[type="checkbox"] {
  appearance: none;
  grid-column: 2;
  grid-row: 1;
  width: 42px;
  height: 26px;
  min-width: 42px;
  min-height: 26px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: radial-gradient(circle at 13px 13px, #fff 9px, transparent 10px) #a5afbd;
  box-shadow: none;
  cursor: pointer;
}

body.woocommerce-checkout .ak-checkout-decision input[type="checkbox"]:checked {
  background: radial-gradient(circle at 29px 13px, #fff 9px, transparent 10px) #d6001c;
}

body.woocommerce-checkout .ak-checkout-decision input[type="checkbox"]:focus-visible {
  outline: 2px solid #d6001c;
  outline-offset: 4px;
}

body.woocommerce-checkout .ak-checkout-decision .wc-block-components-checkbox__mark {
  display: none;
}

body.woocommerce-checkout #order-fields:not(:has(#order-appleklinika-company_purchase:checked)) :is(.wc-block-components-address-form__appleklinika-company_name, .wc-block-components-address-form__appleklinika-tax_number) {
  display: none !important;
}

@media (max-width: 600px) {
  body.woocommerce-checkout #order-fields #order {
    grid-template-columns: minmax(0, 1fr);
  }
}

body.woocommerce-checkout .ak-checkout-marketing-intro p {
  margin: 8px 0 16px;
  color: var(--ak-muted);
  font-size: 13px;
  line-height: 1.55;
}

body.woocommerce-checkout .ak-checkout-billing-title {
  margin: 0 0 10px;
  color: var(--ak-ink);
  font-size: 19px;
  font-weight: 820;
  line-height: 1.25;
}

body.woocommerce-checkout .wc-block-checkout__use-address-for-billing {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--ak-line);
}

body.woocommerce-checkout:has(.ak-checkout-billing-title) #order-fields .wc-block-components-checkout-step__heading {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

body.woocommerce-checkout #order-fields .wc-block-components-checkout-step__heading-container {
  margin-bottom: 0;
}

body.woocommerce-checkout .ak-checkout-same-address-help {
  margin: 0 0 6px;
  color: var(--ak-muted);
  font-size: 12px;
  line-height: 1.55;
}

body.woocommerce-checkout #billing-fields .wc-block-components-checkout-step__title {
  font-size: 16px;
}

body.woocommerce-checkout #billing-fields .ak-checkout-company-billing-slot {
  --ak-checkout-billing-gap: 34px;
  --ak-checkout-company-toggle-height: 52px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--ak-checkout-billing-gap) 14px;
  grid-column: 1 / -1;
  align-items: start;
  margin: 0 0 var(--ak-checkout-billing-gap);
}

body.woocommerce-checkout #billing-fields .ak-checkout-billing-identity-slot {
  display: block;
  grid-column: 1 / -1;
  min-width: 0;
  margin: 0;
  padding: 0;
}

body.woocommerce-checkout #billing-fields .ak-checkout-billing-personal-row,
body.woocommerce-checkout #billing-fields .ak-checkout-billing-company-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 14px;
  row-gap: 0;
  min-width: 0;
  margin: 0;
  padding: 0;
}

body.woocommerce-checkout #billing-fields .ak-checkout-billing-personal-row.is-hidden,
body.woocommerce-checkout #billing-fields .ak-checkout-billing-company-row.is-hidden,
body.woocommerce-checkout #billing-fields .ak-checkout-company-billing-slot.is-company-enabled .ak-checkout-billing-personal-row,
body.woocommerce-checkout #billing-fields .ak-checkout-company-billing-slot:not(.is-company-enabled) .ak-checkout-billing-company-row {
  display: none !important;
}

body.woocommerce-checkout #billing-fields .ak-checkout-billing-personal-row > *,
body.woocommerce-checkout #billing-fields .ak-checkout-billing-company-row > * {
  min-width: 0;
  margin: 0 !important;
}

body.woocommerce-checkout #billing-fields .ak-checkout-company-toggle {
  grid-column: 1 / -1;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.woocommerce-checkout #billing-fields .ak-checkout-company-toggle .wc-block-components-checkbox {
  margin: 0;
}

body.woocommerce-checkout #billing-fields .ak-checkout-company-toggle label {
  display: flex;
  align-items: center;
  gap: 10px;
  box-sizing: border-box;
  height: var(--ak-checkout-company-toggle-height);
  min-height: var(--ak-checkout-company-toggle-height);
  margin: 0;
  padding: 0 14px;
  border: 1px solid rgba(211, 218, 230, .96);
  border-radius: 14px;
  color: #1a202c;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 8px 18px rgba(15, 23, 42, .025);
  transition: border-color var(--ak-transition), background-color var(--ak-transition), color var(--ak-transition), box-shadow var(--ak-transition);
}

body.woocommerce-checkout #billing-fields .ak-checkout-company-toggle input[type="checkbox"],
body.woocommerce-checkout #billing-fields .ak-checkout-company-toggle .wc-block-components-checkbox__input {
  appearance: none;
  box-sizing: border-box;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  min-height: 18px !important;
  margin: 0 !important;
  border: 1.5px solid #aeb7c6 !important;
  border-radius: 6px !important;
  background: #fff !important;
  flex: 0 0 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9);
  transition: border-color var(--ak-transition), background-color var(--ak-transition), box-shadow var(--ak-transition);
}

body.woocommerce-checkout #billing-fields .ak-checkout-company-toggle input[type="checkbox"]:checked,
body.woocommerce-checkout #billing-fields .ak-checkout-company-toggle .wc-block-components-checkbox__input:checked {
  border-color: #d6001c !important;
  background: #fff !important;
  box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 9px #d6001c;
}

body.woocommerce-checkout #billing-fields .ak-checkout-company-toggle .wc-block-components-checkbox__mark,
body.woocommerce-checkout #billing-fields .ak-checkout-company-toggle svg {
  display: none !important;
}

body.woocommerce-checkout #billing-fields .ak-checkout-company-toggle:has(input:checked) label {
  border-color: rgba(214, 0, 28, .34);
  color: #b80018;
  background: rgba(214, 0, 28, .03);
  box-shadow: 0 8px 18px rgba(15, 23, 42, .025);
}

/* Stable Woo hosts retain the same layout when React recreates a form. */
body.woocommerce-checkout #billing-fields #billing,
body.woocommerce-checkout #shipping-fields #shipping {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 14px;
  row-gap: 14px;
  align-items: start;
}

body.woocommerce-checkout #billing-fields #billing > *,
body.woocommerce-checkout #shipping-fields #shipping > * {
  grid-column: span 2;
  min-width: 0;
  margin: 0;
}

body.woocommerce-checkout :is(#billing-fields #billing, #shipping-fields #shipping) > :is(.wc-block-components-address-form__address_1, .wc-block-components-address-form__phone, .wc-block-components-address-form__country) {
  grid-column: 1 / -1;
}

body.woocommerce-checkout:has(#order-appleklinika-company_purchase:checked) #billing-fields :is(.wc-block-components-address-form__first_name, .wc-block-components-address-form__last_name),
body.woocommerce-checkout #billing-fields .ak-checkout-billing-person-name.is-company-hidden {
  display: none !important;
}

/* The visible company field is the registered Apple Klinika field. This
   standard Woo field is kept in sync solely for WooCommerce order semantics. */
body.woocommerce-checkout #billing-fields .wc-block-components-address-form__company,
body.woocommerce-checkout #billing-fields .ak-checkout-billing-standard-company {
  display: none !important;
}

body.woocommerce-checkout #shipping-fields .wc-block-components-address-form__company,
body.woocommerce-checkout #shipping-fields .ak-checkout-shipping-standard-company {
  display: none !important;
}

body.woocommerce-checkout #billing-fields .ak-checkout-company-field {
  margin: 0 !important;
}

body.woocommerce-checkout #billing-fields .ak-checkout-billing-phone-field {
  grid-column: 1 / -1;
}

body.woocommerce-checkout .ak-checkout-address-details-slot {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: -1px 0 1px;
}

body.woocommerce-checkout .ak-checkout-address-detail-field {
  margin: 0 !important;
}

body.woocommerce-checkout :is(#shipping-fields #shipping, #billing-fields #billing) > :is(.wc-block-components-address-form__appleklinika-house_number, .wc-block-components-address-form__appleklinika-floor, .wc-block-components-address-form__appleklinika-staircase, .wc-block-components-address-form__appleklinika-door) {
  grid-column: span 1;
}

body.woocommerce-checkout .ak-checkout-address-2-hidden {
  display: none !important;
}

body.woocommerce-checkout .wc-block-components-address-form__address_2-toggle {
  display: none !important;
}

body.woocommerce-checkout .ak-checkout-company-field {
  transition: opacity var(--ak-transition), transform var(--ak-transition);
}

body.woocommerce-checkout .ak-checkout-company-field.is-hidden {
  display: none !important;
}

@media (max-width: 700px) {
  body.woocommerce-checkout :is(#shipping-fields #shipping, #billing-fields #billing) > :is(.wc-block-components-address-form__appleklinika-house_number, .wc-block-components-address-form__appleklinika-floor, .wc-block-components-address-form__appleklinika-staircase, .wc-block-components-address-form__appleklinika-door) {
    grid-column: span 2;
  }
  body.woocommerce-checkout .ak-checkout-address-details-slot,
  body.woocommerce-checkout #billing-fields .ak-checkout-company-billing-slot.is-company-enabled {
    grid-template-columns: minmax(0, 1fr);
  }

  body.woocommerce-checkout #billing-fields .ak-checkout-billing-phone-field {
    grid-column: 1 / -1;
  }
}

body.woocommerce-checkout .wc-block-components-radio-control,
body.woocommerce-checkout .wc-block-checkout__shipping-method-option,
body.woocommerce-checkout .wc-block-components-radio-control__option {
  border-radius: 14px;
}

body.woocommerce-checkout .wc-block-components-radio-control__option,
body.woocommerce-checkout .wc-block-checkout__shipping-method-option {
  border: 1px solid rgba(227, 232, 239, .9);
  background: #fff;
  box-shadow: 0 10px 24px rgba(17, 24, 32, .045);
}

/* Step 3 uses WooCommerce's native radios. These rules only give the
   generated shipping and payment methods a shared, provider-neutral card
   treatment, so future carrier and gateway integrations inherit it. */
body.woocommerce-checkout.ak-checkout-step-3 #shipping-option,
body.woocommerce-checkout.ak-checkout-step-3 #payment-method {
  box-sizing: border-box;
  margin: 0;
  padding: 28px;
  border: 0;
}

body.woocommerce-checkout.ak-checkout-step-3 #payment-method {
  border-top: 1px solid rgba(227, 232, 239, .92);
}

body.woocommerce-checkout.ak-checkout-step-3 #shipping-option .wc-block-components-checkout-step__heading-container,
body.woocommerce-checkout.ak-checkout-step-3 #payment-method .wc-block-components-checkout-step__heading-container {
  margin: 0 0 8px;
}

body.woocommerce-checkout.ak-checkout-step-3 #shipping-option .wc-block-components-checkout-step__title,
body.woocommerce-checkout.ak-checkout-step-3 #payment-method .wc-block-components-checkout-step__title {
  margin: 0;
  color: var(--ak-ink);
  font-size: clamp(20px, 2vw, 25px);
  font-weight: 950;
  letter-spacing: -.025em;
  line-height: 1.2;
}

body.woocommerce-checkout.ak-checkout-step-3 #shipping-option .wc-block-components-checkout-step__content,
body.woocommerce-checkout.ak-checkout-step-3 #payment-method .wc-block-components-checkout-step__content {
  min-width: 0;
}

body.woocommerce-checkout.ak-checkout-step-3 #shipping-option .wc-block-components-radio-control,
body.woocommerce-checkout.ak-checkout-step-3 #payment-method .wc-block-components-radio-control {
  display: grid;
  gap: 10px;
  margin: 0;
}

/* Each native option already owns its border; remove Woo's enclosing list frame. */
body.woocommerce-checkout.ak-checkout-step-3 :is(#shipping-option, #payment-method) :is(.wc-block-components-radio-control--highlight-checked, .wc-block-components-radio-control__option, .wc-block-components-radio-control-accordion-option)::after {
  content: none;
}

body.woocommerce-checkout.ak-checkout-step-3 #shipping-option .wc-block-components-radio-control__option,
body.woocommerce-checkout.ak-checkout-step-3 #payment-method .wc-block-components-radio-control__option {
  display: flex;
  box-sizing: border-box;
  align-items: flex-start;
  min-height: 68px;
  margin: 0;
  padding: 16px;
  border: 1px solid rgba(211, 218, 230, .96);
  border-radius: 14px;
  color: var(--ak-ink);
  background: #fff;
  box-shadow: none;
  transition: border-color var(--ak-transition), background-color var(--ak-transition), box-shadow var(--ak-transition);
}

body.woocommerce-checkout.ak-checkout-step-3 #shipping-option .wc-block-components-radio-control__option:hover,
body.woocommerce-checkout.ak-checkout-step-3 #payment-method .wc-block-components-radio-control__option:hover {
  border-color: rgba(214, 0, 28, .35);
  background: rgba(214, 0, 28, .018);
}

body.woocommerce-checkout.ak-checkout-step-3 #shipping-option .wc-block-components-radio-control__option:has(input:focus-visible),
body.woocommerce-checkout.ak-checkout-step-3 #payment-method .wc-block-components-radio-control__option:has(input:focus-visible) {
  outline: 3px solid rgba(214, 0, 28, .2);
  outline-offset: 2px;
}

body.woocommerce-checkout.ak-checkout-step-3 #shipping-option .wc-block-components-radio-control__option:has(input:checked),
body.woocommerce-checkout.ak-checkout-step-3 #payment-method .wc-block-components-radio-control__option:has(input:checked) {
  border-color: rgba(214, 0, 28, .62);
  background: rgba(214, 0, 28, .045);
  box-shadow: 0 10px 24px rgba(214, 0, 28, .08);
}

body.woocommerce-checkout.ak-checkout-step-3 #shipping-option .wc-block-components-radio-control__input,
body.woocommerce-checkout.ak-checkout-step-3 #payment-method .wc-block-components-radio-control__input {
  flex: 0 0 auto;
  width: 20px;
  min-width: 20px;
  height: 20px;
  min-height: 20px;
  margin: 2px 14px 0 0;
  accent-color: #D6001C;
}

body.woocommerce-checkout.ak-checkout-step-3 #shipping-option .wc-block-components-radio-control__option-layout,
body.woocommerce-checkout.ak-checkout-step-3 #payment-method .wc-block-components-radio-control__option-layout,
body.woocommerce-checkout.ak-checkout-step-3 #shipping-option .wc-block-components-radio-control__label-group,
body.woocommerce-checkout.ak-checkout-step-3 #payment-method .wc-block-components-radio-control__label-group {
  min-width: 0;
  width: 100%;
}

body.woocommerce-checkout.ak-checkout-step-3 #shipping-option .wc-block-components-radio-control__option-layout,
body.woocommerce-checkout.ak-checkout-step-3 #payment-method .wc-block-components-radio-control__option-layout {
  box-sizing: border-box;
  padding-left: 34px;
}

body.woocommerce-checkout.ak-checkout-step-3 #shipping-option .wc-block-components-radio-control__label-group {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

body.woocommerce-checkout.ak-checkout-step-3 #shipping-option .wc-block-components-radio-control__label,
body.woocommerce-checkout.ak-checkout-step-3 #payment-method .wc-block-components-radio-control__label {
  color: var(--ak-ink);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.35;
}

body.woocommerce-checkout.ak-checkout-step-3 #shipping-option .wc-block-components-radio-control__secondary-label {
  color: #667085;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.35;
  text-align: right;
}

body.woocommerce-checkout.ak-checkout-step-3 #payment-method .wc-block-components-radio-control-accordion-option {
  overflow: hidden;
  border: 1px solid rgba(211, 218, 230, .96);
  border-radius: 14px;
  background: #fff;
  transition: border-color var(--ak-transition), background-color var(--ak-transition), box-shadow var(--ak-transition);
}

body.woocommerce-checkout.ak-checkout-step-3 #payment-method .wc-block-components-radio-control-accordion-option:has(input:checked) {
  border-color: rgba(214, 0, 28, .62);
  background: rgba(214, 0, 28, .045);
  box-shadow: 0 10px 24px rgba(214, 0, 28, .08);
}

body.woocommerce-checkout.ak-checkout-step-3 #payment-method .wc-block-components-radio-control-accordion-option .wc-block-components-radio-control__option {
  border: 0;
  border-radius: 0;
  background: transparent;
}

body.woocommerce-checkout.ak-checkout-step-3 #payment-method .wc-block-components-radio-control-accordion-content {
  margin: 0 16px 16px 50px;
  padding: 11px 0 0;
  border-top: 1px solid rgba(214, 0, 28, .16);
  color: #667085;
  font-size: 13px;
  line-height: 1.55;
}

body.woocommerce-checkout.ak-checkout-step-3 #payment-method .wc-block-components-payment-method-icons,
body.woocommerce-checkout.ak-checkout-step-3 #payment-method .wc-block-components-payment-method-icons img,
body.woocommerce-checkout.ak-checkout-step-3 #shipping-option img {
  width: auto;
  max-width: 44px;
  max-height: 28px;
  object-fit: contain;
}

body.woocommerce-checkout.ak-checkout-step-3 #shipping-option .wc-block-components-notice-banner,
body.woocommerce-checkout.ak-checkout-step-3 #payment-method .wc-block-components-notice-banner,
body.woocommerce-checkout.ak-checkout-step-3 #shipping-option .wc-block-components-validation-error,
body.woocommerce-checkout.ak-checkout-step-3 #payment-method .wc-block-components-validation-error {
  margin: 12px 0 0;
}

@media (max-width: 700px) {
  body.woocommerce-checkout.ak-checkout-step-3 #shipping-option,
  body.woocommerce-checkout.ak-checkout-step-3 #payment-method {
    padding: 22px 16px;
  }

  body.woocommerce-checkout.ak-checkout-step-3 #shipping-option .wc-block-components-radio-control__option,
  body.woocommerce-checkout.ak-checkout-step-3 #payment-method .wc-block-components-radio-control__option {
    min-height: 64px;
    padding: 14px;
  }

  body.woocommerce-checkout.ak-checkout-step-3 #payment-method .wc-block-components-radio-control-accordion-content {
    margin-right: 14px;
    margin-bottom: 14px;
    margin-left: 48px;
  }
}

body.woocommerce-checkout .wc-block-components-notice-banner,
body.woocommerce-checkout .wc-block-components-validation-error {
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.45;
}

body.woocommerce-checkout .wc-block-components-notice-banner.is-error {
  border-color: rgba(201, 21, 45, .34);
  color: var(--ak-ink);
  background: rgba(201, 21, 45, .075);
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button .wc-block-components-button,
body.woocommerce-checkout .wc-block-components-button.wc-block-components-checkout-place-order-button,
body.woocommerce-checkout .wc-block-components-button:not(.is-link) {
  min-height: 54px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #e0444d 0%, var(--ak-red) 100%);
  font-size: 15px;
  font-weight: 950;
  box-shadow: 0 16px 34px rgba(201, 21, 45, .28);
  transition: background var(--ak-transition), box-shadow var(--ak-transition), transform var(--ak-transition);
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button .wc-block-components-button:hover,
body.woocommerce-checkout .wc-block-components-button.wc-block-components-checkout-place-order-button:hover,
body.woocommerce-checkout .wc-block-components-button:not(.is-link):hover {
  color: #fff;
  background: linear-gradient(135deg, #d72d39 0%, #b71127 100%);
  box-shadow: 0 20px 42px rgba(201, 21, 45, .36);
  transform: translateY(-2px) scale(1.01);
}

body.woocommerce-checkout .wc-block-components-checkbox:not(.ak-checkout-decision) {
  margin: 8px 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.woocommerce-checkout .wc-block-components-checkbox:not(.ak-checkout-decision) label {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: #344054;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

body.woocommerce-checkout .wc-block-components-checkbox:not(.ak-checkout-decision) .wc-block-components-checkbox__input {
  grid-column: 1;
  grid-row: 1;
  width: 20px;
  min-width: 20px;
  height: 20px;
  min-height: 20px;
  margin: 0;
  border-radius: 4px;
  box-shadow: none;
}

body.woocommerce-checkout .wc-block-components-checkbox .wc-block-components-checkbox__label {
  white-space: normal;
  overflow-wrap: anywhere;
}

body.woocommerce-checkout .wc-block-components-checkbox:not(.ak-checkout-decision) .wc-block-components-checkbox__label {
  grid-column: 2;
  grid-row: 1;
}

/* Input and its native Woo mark share one cell, including multiline labels. */
body.woocommerce-checkout .wc-block-components-checkbox:not(.ak-checkout-decision) .wc-block-components-checkbox__mark {
  position: static;
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  justify-self: center;
  width: 20px;
  height: 20px;
  margin: 0;
}

/* One Woo-owned marketing field: hidden while entering addresses, visible
   in the final declarations. Its location, value and persistence do not change. */
body.woocommerce-checkout .ak-checkout-marketing-intro,
body.woocommerce-checkout.ak-checkout-step-2 #contact .wc-block-components-address-form__appleklinika-marketing_consent {
  display: none;
}

body.woocommerce-checkout.ak-checkout-step-4 #contact-fields > :not(.ak-checkout-marketing-intro):not(.wc-block-components-checkout-step__content),
body.woocommerce-checkout.ak-checkout-step-4 #contact-fields > .wc-block-components-checkout-step__content > :not(#contact),
body.woocommerce-checkout.ak-checkout-step-4 #contact > :not(.wc-block-components-address-form__appleklinika-marketing_consent) {
  display: none;
}

body.woocommerce-checkout.ak-checkout-step-4 .ak-checkout-marketing-intro {
  display: block;
}

body.woocommerce-checkout .ak-checkout-marketing-intro h2,
body.woocommerce-checkout .ak-checkout-legal-title {
  margin: 0;
  font-size: 17px;
  line-height: 1.45;
}

body.woocommerce-checkout .ak-checkout-legal-title {
  margin-bottom: 14px;
  color: var(--ak-ink);
}

body.woocommerce-checkout .ak-checkout-marketing-intro small {
  display: block;
  color: var(--ak-muted);
  font-size: 12px;
  font-weight: 500;
}

body.woocommerce-checkout.ak-checkout-step-4 .wc-block-checkout__form {
  display: flex;
  flex-direction: column;
}

body.woocommerce-checkout.ak-checkout-step-4 .ak-checkout-final-review-slot { order: 1; }
body.woocommerce-checkout.ak-checkout-step-4 .ak-checkout-summary-slot { order: 2; }
body.woocommerce-checkout.ak-checkout-step-4 #contact-fields { order: 3; }
body.woocommerce-checkout.ak-checkout-step-4 .wc-block-checkout__terms { order: 4; }
body.woocommerce-checkout.ak-checkout-step-4 .wc-block-checkout__actions { order: 5; }

body.woocommerce-checkout #contact-fields .ak-checkout-profile-save {
  box-sizing: border-box;
  margin: 6px 0 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.woocommerce-checkout #contact-fields .ak-checkout-profile-save label {
  padding: 0;
  color: var(--ak-muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
}

body.woocommerce-checkout #contact-fields .ak-checkout-profile-save__helper {
  margin: 4px 0 0 30px;
  max-width: 58ch;
  color: var(--ak-muted);
  font-size: 12px;
  line-height: 1.45;
}

body.woocommerce-checkout .ak-checkout-profile-save:not(:has(input:checked)) .ak-checkout-profile-save__helper {
  display: none;
}

body.woocommerce-checkout.ak-checkout-step-2 .wc-block-checkout__form,
body.woocommerce-checkout.ak-checkout-step-3 .wc-block-checkout__form,
body.woocommerce-checkout.ak-checkout-step-4 .wc-block-checkout__form {
  overflow: visible;
  border: 1px solid rgba(219, 226, 235, .92);
  border-radius: 22px;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 8px 28px rgba(15, 23, 42, .035);
}

body.woocommerce-checkout.ak-checkout-step-2 .wc-block-checkout__form > .wc-block-components-checkout-step,
body.woocommerce-checkout.ak-checkout-step-3 .wc-block-checkout__form > .wc-block-components-checkout-step,
body.woocommerce-checkout.ak-checkout-step-4 .wc-block-checkout__form > .wc-block-components-checkout-step {
  box-sizing: border-box;
  margin: 0;
  padding: 20px 28px;
}

body.woocommerce-checkout.ak-checkout-step-2 .wc-block-checkout__form > .wc-block-components-checkout-step + .wc-block-components-checkout-step:not(#order-fields, #billing-fields),
body.woocommerce-checkout.ak-checkout-step-3 .wc-block-checkout__form > .wc-block-components-checkout-step + .wc-block-components-checkout-step,
body.woocommerce-checkout.ak-checkout-step-2 .wc-block-checkout__form > #order-notes,
body.woocommerce-checkout.ak-checkout-step-3 .wc-block-checkout__form > #order-notes {
  border-top: 1px solid rgba(227, 232, 239, .92);
}

/* One visual billing section spans the native shipping decision, identity and
   optional separate address. No native fieldset is moved or wrapped. */
body.woocommerce-checkout.ak-checkout-step-2 .wc-block-checkout__form > #order-fields,
body.woocommerce-checkout.ak-checkout-step-2 .wc-block-checkout__form > #billing-fields {
  padding-top: 0;
}

body.woocommerce-checkout.ak-checkout-step-2 .wc-block-checkout__form > #shipping-fields {
  padding-bottom: 0;
}

body.woocommerce-checkout .wc-block-checkout__form > .ak-checkout-step-controls {
  box-sizing: border-box;
  max-width: none;
  margin: 0;
  padding: 16px 28px 22px;
  border-top: 1px solid rgba(227, 232, 239, .92);
}

body.woocommerce-checkout #order-notes .wc-block-checkout__add-note {
  color: var(--ak-muted);
}

body.woocommerce-checkout #order-notes .wc-block-components-checkbox label {
  color: var(--ak-ink);
  font-size: 13px;
  font-weight: 700;
}

body.woocommerce-checkout .wc-block-checkout__terms {
  margin: 0;
  padding: 22px 28px;
  border-top: 1px solid var(--ak-line);
  color: var(--ak-muted);
  font-size: 13px;
  line-height: 1.45;
}

body.woocommerce-checkout .wc-block-checkout__actions {
  padding: 0 28px 24px;
}

body.woocommerce-checkout.ak-checkout-step-2 .wc-block-checkout__actions,
body.woocommerce-checkout.ak-checkout-step-3 .wc-block-checkout__actions {
  display: none;
}

body.woocommerce-checkout .ak-checkout-final-review-slot {
  box-sizing: border-box;
  width: 100%;
  border-radius: 22px 22px 0 0;
}

body.woocommerce-checkout .ak-checkout-final-review {
  box-sizing: border-box;
  padding: 26px 28px 24px;
  border-bottom: 1px solid rgba(227, 232, 239, .92);
  border-radius: inherit;
  background: #fff;
}

body.woocommerce-checkout .ak-checkout-final-review__intro {
  max-width: 64ch;
  margin-bottom: 22px;
}

body.woocommerce-checkout .ak-checkout-final-review h2,
body.woocommerce-checkout .ak-checkout-final-review h3,
body.woocommerce-checkout .ak-checkout-final-review h4 {
  margin: 0;
  color: var(--ak-ink);
}

body.woocommerce-checkout .ak-checkout-final-review h2 {
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.14;
}

body.woocommerce-checkout .ak-checkout-final-review__intro > p:last-child {
  margin: 8px 0 0;
  color: var(--ak-muted);
  font-size: 14px;
  line-height: 1.5;
}

body.woocommerce-checkout .ak-checkout-final-review__timeline {
  position: relative;
  display: grid;
  gap: 0;
}

body.woocommerce-checkout .ak-checkout-final-review__timeline::before {
  position: absolute;
  z-index: 0;
  top: 18px;
  bottom: 36px;
  left: 18px;
  width: 1px;
  background: linear-gradient(to bottom, rgba(214, 0, 28, .72), rgba(214, 0, 28, .16));
  content: '';
}

body.woocommerce-checkout .ak-checkout-final-review__timeline-item {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 14px;
  min-width: 0;
  padding-bottom: 28px;
}

body.woocommerce-checkout .ak-checkout-final-review__timeline-item:last-child {
  padding-bottom: 0;
}

body.woocommerce-checkout .ak-checkout-final-review__marker {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  box-sizing: border-box;
  border: 1px solid rgba(214, 0, 28, .24);
  border-radius: 50%;
  color: #D6001C;
  background: #fff;
}

body.woocommerce-checkout .ak-checkout-final-review__marker svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.woocommerce-checkout .ak-checkout-final-review__timeline-content {
  min-width: 0;
  padding: 5px 0 0;
}

body.woocommerce-checkout .ak-checkout-final-review h3 {
  font-size: 15px;
  line-height: 1.35;
  font-weight: 800;
}

body.woocommerce-checkout .ak-checkout-final-review__delivery-method {
  margin-top: 12px;
  padding-top: 11px;
  border-top: 1px solid rgba(227, 232, 239, .82);
}

body.woocommerce-checkout .ak-checkout-final-review__delivery-method > p {
  margin: 0;
  color: #7b8798;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .045em;
  text-transform: uppercase;
}

body.woocommerce-checkout .ak-checkout-final-review__edit {
  flex: 0 0 auto;
  min-height: 32px;
  padding: 0;
  border: 0;
  color: #7b8798;
  background: transparent;
  font: inherit;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.woocommerce-checkout .ak-checkout-final-review__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin-top: 10px;
}

body.woocommerce-checkout .ak-checkout-final-review__edit:focus-visible {
  border-radius: 4px;
  outline: 2px solid #D6001C;
  outline-offset: 2px;
}

body.woocommerce-checkout .ak-checkout-final-review__values p {
  margin: 4px 0 0;
  color: #475467;
  font-size: 14px;
  line-height: 1.42;
  overflow-wrap: anywhere;
}

body.woocommerce-checkout .ak-checkout-final-review__note {
  margin: 26px 0 0 52px;
  padding-top: 18px;
  border-top: 1px solid rgba(227, 232, 239, .92);
}

body.woocommerce-checkout.ak-checkout-step-4 .ak-checkout-summary__details {
  display: none;
}

body.woocommerce-checkout .ak-checkout-stepper {
  margin: 0 auto 18px;
  padding: 18px 22px;
  border: 1px solid rgba(227, 232, 239, .86);
  border-radius: 16px;
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 14px 34px rgba(17, 24, 32, .055);
}

body.woocommerce-checkout .ak-checkout-stepper ol {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.woocommerce-checkout .ak-checkout-stepper__item {
  position: relative;
  display: flex;
  justify-content: center;
  min-width: 0;
}

body.woocommerce-checkout .ak-checkout-stepper__item:not(:last-child)::after {
  position: absolute;
  top: 19px;
  right: calc(-50% + 30px);
  left: calc(50% + 30px);
  z-index: 0;
  height: 2px;
  border-radius: 999px;
  background: #d7dce5;
  content: "";
}

body.woocommerce-checkout .ak-checkout-stepper__item.is-complete:not(:last-child)::after {
  background: #D6001C;
}

body.woocommerce-checkout .ak-checkout-stepper__control {
  position: relative;
  z-index: 1;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  min-height: 44px;
  padding: 3px 8px;
  border: 0;
  color: #6b7280;
  background: transparent;
  font: inherit;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: color var(--ak-transition), transform var(--ak-transition);
}

body.woocommerce-checkout .ak-checkout-stepper__control:hover,
body.woocommerce-checkout .ak-checkout-stepper__control:focus-visible {
  color: #D6001C;
  outline: 0;
  transform: translateY(-1px);
}

body.woocommerce-checkout .ak-checkout-stepper__marker {
  position: relative;
  z-index: 2;
  display: inline-flex;
  flex: 0 0 38px;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  color: #fff;
  background: #c7c9ce;
  font-size: 15px;
  font-weight: 950;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .07);
}

body.woocommerce-checkout .ak-checkout-stepper__item.is-active .ak-checkout-stepper__marker,
body.woocommerce-checkout .ak-checkout-stepper__item.is-complete .ak-checkout-stepper__marker {
  background: #D6001C;
}

body.woocommerce-checkout .ak-checkout-stepper__item.is-active .ak-checkout-stepper__control,
body.woocommerce-checkout .ak-checkout-stepper__item.is-complete .ak-checkout-stepper__control {
  color: #D6001C;
}

body.woocommerce-checkout .ak-checkout-stepper__label {
  overflow: hidden;
  color: inherit;
  font-size: 13px;
  line-height: 1.2;
  text-overflow: ellipsis;
}

body.woocommerce-checkout.ak-checkout-multistep .wc-block-components-checkout-return-to-cart-button {
  display: none !important;
}

body.woocommerce-checkout .ak-checkout-step-hidden {
  display: none !important;
}

body.woocommerce-checkout.ak-checkout-multistep .checkout-order-summary-block-fill-wrapper {
  display: none !important;
}

body.woocommerce-checkout .ak-checkout-step-persistent-summary {
  display: block !important;
}

body.woocommerce-checkout .ak-checkout-step-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  max-width: 680px;
  margin: 8px auto 18px;
  padding: 4px 0;
}

body.woocommerce-checkout .ak-checkout-step-controls--summary {
  justify-content: flex-start;
  margin: 0;
  padding: 0;
}

body.woocommerce-checkout .ak-checkout-step-controls__button,
body.woocommerce-checkout .ak-checkout-step-controls__link {
  display: inline-flex;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 950;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--ak-transition), border-color var(--ak-transition), box-shadow var(--ak-transition), color var(--ak-transition), transform var(--ak-transition);
}

body.woocommerce-checkout .ak-checkout-step-controls__button {
  min-width: min(100%, 260px);
  padding: 0 22px;
  border: 0;
  color: #fff;
  background: #D6001C;
  box-shadow: 0 14px 28px rgba(214, 0, 28, .22);
}

body.woocommerce-checkout .ak-checkout-step-controls__link {
  min-width: min(100%, 180px);
  padding: 0 18px;
  border: 1px solid rgba(211, 218, 230, .96);
  color: var(--ak-muted);
  background: #fff;
}

body.woocommerce-checkout .ak-checkout-step-controls__button:hover,
body.woocommerce-checkout .ak-checkout-step-controls__button:focus-visible,
body.woocommerce-checkout .ak-checkout-step-controls__link:hover,
body.woocommerce-checkout .ak-checkout-step-controls__link:focus-visible {
  outline: 0;
  transform: translateY(-1px);
}

body.woocommerce-checkout .ak-checkout-step-validation-message {
  margin: -12px 0 18px;
  color: #b42318;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
}

body.woocommerce-checkout .ak-checkout-step-controls__button:hover,
body.woocommerce-checkout .ak-checkout-step-controls__button:focus-visible {
  background: #b71127;
  box-shadow: 0 18px 36px rgba(214, 0, 28, .28);
}

body.woocommerce-checkout .ak-checkout-step-controls__link:hover,
body.woocommerce-checkout .ak-checkout-step-controls__link:focus-visible {
  border-color: rgba(214, 0, 28, .24);
  color: #D6001C;
  box-shadow: 0 12px 26px rgba(15, 23, 42, .055);
}

@media (min-width: 1024px) {
  body.woocommerce-checkout .wp-block-woocommerce-checkout {
    width: 100%;
    max-width: 1200px;
  }

  body.woocommerce-checkout .wc-block-components-sidebar-layout,
  body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout,
  body.woocommerce-checkout .wc-block-components-sidebar-layout.is-mobile {
    display: grid !important;
    grid-template-columns: minmax(0, 1.65fr) minmax(350px, .95fr) !important;
    gap: 28px !important;
    align-items: start !important;
    justify-content: center;
    width: 100% !important;
    max-width: 1200px;
    margin: 0 auto;
  }

  body.woocommerce-checkout .wc-block-components-main,
  body.woocommerce-checkout .wc-block-checkout__main {
    grid-column: 1 !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0;
    margin: 0 !important;
    padding-right: 0 !important;
  }

  body.woocommerce-checkout .wc-block-components-sidebar,
  body.woocommerce-checkout .wc-block-checkout__sidebar {
    grid-column: 2 !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0;
    margin: 0 !important;
    align-self: start;
    position: sticky;
    top: 24px;
  }

  body.woocommerce-checkout.ak-checkout-step-2 .wc-block-components-main,
  body.woocommerce-checkout.ak-checkout-step-2 .wc-block-checkout__main,
  body.woocommerce-checkout.ak-checkout-step-3 .wc-block-components-main,
  body.woocommerce-checkout.ak-checkout-step-3 .wc-block-checkout__main {
    display: flex !important;
    flex-direction: column;
    gap: 18px;
  }

  body.woocommerce-checkout.ak-checkout-step-4 .wc-block-components-main,
  body.woocommerce-checkout.ak-checkout-step-4 .wc-block-checkout__main {
    display: flex !important;
    flex-direction: column;
    gap: 0;
    align-self: start;
    width: 100% !important;
    max-width: none !important;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  body.woocommerce-checkout.ak-checkout-step-4 .wc-block-checkout__terms {
    margin: 0;
  }

  body.woocommerce-checkout.ak-checkout-step-4 .ak-checkout-step-controls--summary {
    order: 3;
  }

  body.woocommerce-checkout.ak-checkout-step-4 .wc-block-components-checkout-place-order-button {
    order: 4;
    width: 100%;
    margin: 0;
  }

  body.woocommerce-checkout.ak-checkout-step-4 .wc-block-components-checkout-place-order-button .wc-block-components-button,
  body.woocommerce-checkout.ak-checkout-step-4 .wc-block-components-button.wc-block-components-checkout-place-order-button {
    width: 100%;
  }
}

@media (max-width: 1023px) {
  body.woocommerce-checkout.ak-checkout-step-4 .ak-checkout-summary-slot--final-review {
    margin: 0;
    padding: 0 16px 18px;
  }
}

@media (max-width: 900px) {
  body.woocommerce-checkout main {
    padding-top: 24px;
    padding-bottom: 40px;
  }

  body.woocommerce-checkout .wc-block-components-sidebar {
    position: static;
  }

  body.woocommerce-checkout .wc-block-components-checkout-step {
    padding: 16px;
  }

  body.woocommerce-checkout.ak-checkout-step-2 .wc-block-checkout__form > .wc-block-components-checkout-step,
  body.woocommerce-checkout.ak-checkout-step-3 .wc-block-checkout__form > .wc-block-components-checkout-step {
    padding: 20px;
  }

  body.woocommerce-checkout .wc-block-checkout__form > .ak-checkout-step-controls {
    padding: 18px 20px 22px;
  }
}

@media (max-width: 1023px) {
  body.woocommerce-checkout .wc-block-components-sidebar-layout > .wc-block-components-main,
  body.woocommerce-checkout .wc-block-components-sidebar-layout > .wc-block-checkout__main {
    order: 0;
  }

  body.woocommerce-checkout .wc-block-components-sidebar-layout > .ak-checkout-summary-slot {
    order: 1;
    width: 100%;
    margin-top: 18px;
  }

  body.woocommerce-checkout .wc-block-components-sidebar-layout > .wc-block-components-sidebar,
  body.woocommerce-checkout .wc-block-components-sidebar-layout > .wc-block-checkout__sidebar {
    order: 2;
  }
}

@media (max-width: 760px) {
  body.woocommerce-checkout main {
    padding-inline: 14px;
  }

  body.woocommerce-checkout.ak-checkout-step-2 .wc-block-checkout__form,
  body.woocommerce-checkout.ak-checkout-step-3 .wc-block-checkout__form,
  body.woocommerce-checkout.ak-checkout-step-4 .wc-block-checkout__form {
    border-radius: 18px;
  }

  body.woocommerce-checkout.ak-checkout-step-2 .wc-block-checkout__form > .wc-block-components-checkout-step,
  body.woocommerce-checkout.ak-checkout-step-3 .wc-block-checkout__form > .wc-block-components-checkout-step,
  body.woocommerce-checkout.ak-checkout-step-4 .wc-block-checkout__form > .wc-block-components-checkout-step {
    padding: 18px 16px;
  }

  body.woocommerce-checkout .wc-block-checkout__form > .ak-checkout-step-controls {
    padding: 18px 16px;
  }

  body.woocommerce-checkout .ak-checkout-stepper {
    padding: 16px;
  }

  body.woocommerce-checkout .ak-checkout-stepper ol {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
  }

  body.woocommerce-checkout .ak-checkout-stepper__item:not(:last-child)::after {
    display: none;
  }

  body.woocommerce-checkout .ak-checkout-stepper__item {
    justify-content: center;
  }

  body.woocommerce-checkout .ak-checkout-stepper__control {
    flex-direction: column;
    text-align: center;
    padding: 0 2px;
    gap: 7px;
  }

  body.woocommerce-checkout .ak-checkout-stepper__label {
    font-size: 10px;
    line-height: 1.4;
  }

  body.woocommerce-checkout .wc-block-checkout__terms {
    padding: 20px 16px;
  }

  body.woocommerce-checkout .wc-block-checkout__actions {
    padding: 0 16px 20px;
  }

  body.woocommerce-checkout .ak-checkout-step-controls {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  body.woocommerce-checkout .ak-checkout-step-controls__button,
  body.woocommerce-checkout .ak-checkout-step-controls__link {
    width: 100%;
  }

  body.woocommerce-checkout .ak-checkout-final-review {
    padding: 22px 16px 20px;
  }

  body.woocommerce-checkout .ak-checkout-final-review__timeline-item {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 12px;
    padding-bottom: 24px;
  }

  body.woocommerce-checkout .ak-checkout-final-review__timeline::before {
    top: 16px;
    bottom: 32px;
    left: 16px;
  }

  body.woocommerce-checkout .ak-checkout-final-review__marker {
    width: 32px;
    height: 32px;
  }

  body.woocommerce-checkout .ak-checkout-final-review__marker svg {
    width: 15px;
    height: 15px;
  }

  body.woocommerce-checkout .ak-checkout-final-review__note {
    margin-left: 44px;
  }

}

body.woocommerce-cart main {
  max-width: 1280px;
  padding-top: 34px;
  padding-bottom: 72px;
  overflow: visible;
}

body.woocommerce-cart {
  background:
    radial-gradient(circle at 22% 16%, rgba(255, 255, 255, .95), transparent 28%),
    linear-gradient(135deg, #f8fafc 0%, #eef2f7 48%, #d9e0e9 100%);
}

body.woocommerce-cart .wp-block-post-title,
body.woocommerce-cart h1 {
  margin-bottom: var(--ak-space-4);
  font-size: clamp(24px, 2.4vw, 32px);
}

body.woocommerce-cart .wp-block-post-title,
body.woocommerce-cart .ak-page > .wp-block-post-title {
  display: none;
}

body.woocommerce-cart .ak-cart-layout {
  display: grid;
  grid-template-columns: minmax(680px, 1.55fr) minmax(390px, .95fr);
  align-items: center;
  gap: 38px;
  max-width: 1180px;
  margin: 0 auto;
  overflow: visible;
}

@media (min-width: 901px) and (max-width: 1180px) {
  body.woocommerce-cart .ak-cart-layout {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
    gap: 24px;
  }

  body.woocommerce-cart .ak-cart-items-card,
  body.woocommerce-cart .ak-cart-summary {
    padding: 26px;
  }
}

body.woocommerce-cart .ak-cart-layout--empty {
  display: block;
  max-width: 980px;
  min-height: clamp(480px, 54vh, 640px);
  padding: clamp(24px, 4vw, 48px) 0;
}

body.woocommerce-cart .ak-cart-layout--empty .ak-empty-state {
  margin: 0 auto;
}

body.woocommerce-cart .ak-cart-card {
  border: 1px solid rgba(227, 232, 239, .74);
  border-radius: 26px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 26px 72px rgba(17, 24, 32, .13);
  backdrop-filter: blur(12px);
}

body.woocommerce-cart .ak-cart-items-card,
body.woocommerce-cart .ak-cart-summary {
  padding: 34px;
}

body.woocommerce-cart .ak-cart-card__head {
  margin-bottom: 28px;
}

body.woocommerce-cart .ak-cart-card__head h1,
body.woocommerce-cart .ak-cart-card h1 {
  margin: 0 0 8px;
  color: var(--ak-ink);
  font-size: clamp(34px, 3.15vw, 44px);
  line-height: 1.05;
}

body.woocommerce-cart .ak-cart-card__head p,
body.woocommerce-cart .ak-cart-card > p {
  margin: 0;
  color: var(--ak-muted);
  font-size: 17px;
}

body.woocommerce-cart .ak-cart-items {
  display: grid;
  gap: 20px;
}

body.woocommerce-cart .ak-cart-item {
  display: block;
  margin: 0;
  padding: 24px;
  border: 1px solid rgba(222, 228, 238, .9);
  border-radius: 16px;
  background: #fff;
  box-shadow:
    0 2px 0 rgba(255, 255, 255, .9) inset,
    0 18px 34px rgba(17, 24, 32, .1),
    0 42px 70px rgba(17, 24, 32, .08);
  transition: border-color var(--ak-transition), box-shadow var(--ak-transition), transform var(--ak-transition);
  will-change: transform;
}

body.woocommerce-cart .ak-cart-item:hover {
  border-color: rgba(201, 21, 45, .18);
  box-shadow:
    0 2px 0 rgba(255, 255, 255, .95) inset,
    0 22px 42px rgba(17, 24, 32, .14),
    0 52px 86px rgba(17, 24, 32, .1);
  transform: translateY(-3px) scale(1.006);
}

body.woocommerce-cart .ak-cart-item__row {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) 160px;
  gap: 26px;
  align-items: center;
}

body.woocommerce-cart .ak-cart-item__image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 104px;
  height: 104px;
  border: 1px solid rgba(227, 232, 239, .8);
  border-radius: 14px;
  background: #f9fafb;
  overflow: hidden;
}

body.woocommerce-cart .ak-cart-item__image img {
  width: 88px;
  height: 88px;
  object-fit: contain;
}

body.woocommerce-cart .ak-cart-item__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

body.woocommerce-cart .ak-cart-item__content h2 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.25;
}

body.woocommerce-cart .ak-cart-item__content h2 a {
  color: #111;
  text-decoration: none;
}

body.woocommerce-cart .ak-cart-item__content h2 a:visited {
  color: #111;
}

body.woocommerce-cart .ak-cart-item__meta {
  max-width: 460px;
  margin: 0;
  color: var(--ak-muted);
  font-size: 15px;
  line-height: 1.45;
}

body.woocommerce-cart .ak-cart-item__controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 16px;
  padding-top: 0;
}

body.woocommerce-cart .ak-cart-item__remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(214, 0, 28, .22);
  border-radius: 999px;
  color: #b80018;
  background: rgba(214, 0, 28, .045);
  font-size: 13px;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
  transition: border-color var(--ak-transition), background-color var(--ak-transition), color var(--ak-transition);
}

body.woocommerce-cart .ak-cart-item__remove:hover {
  border-color: rgba(214, 0, 28, .42);
  color: #970014;
  background: rgba(214, 0, 28, .09);
}

body.woocommerce-cart .ak-cart-item__remove:focus-visible {
  outline: 3px solid rgba(214, 0, 28, .28);
  outline-offset: 2px;
}

body.woocommerce-cart .ak-cart-qty-control {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

body.woocommerce-cart .ak-cart-qty-control button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  color: #111;
  background: #eef1f5;
  font-size: 18px;
  font-weight: 850;
  line-height: 1;
  cursor: pointer;
}

body.woocommerce-cart .ak-cart-qty-control button:disabled {
  color: #98a2b3;
  background: #f3f4f6;
  cursor: not-allowed;
  opacity: .72;
}

body.woocommerce-cart .ak-cart-item__qty {
  width: 44px;
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  color: var(--ak-ink);
  background: #f7f8fa;
  font-size: 15px;
  font-weight: 900;
  text-align: center;
  appearance: textfield;
  -moz-appearance: textfield;
}

body.woocommerce-cart .ak-cart-item__qty::-webkit-outer-spin-button,
body.woocommerce-cart .ak-cart-item__qty::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

body.woocommerce-cart .ak-cart-item__price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  padding-left: 8px;
  text-align: right;
}

body.woocommerce-cart .ak-cart-item__price del {
  color: var(--ak-muted);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.15;
  text-decoration-thickness: 2px;
}

body.woocommerce-cart .ak-cart-item__price del .amount,
body.woocommerce-cart .ak-cart-item__price del bdi,
body.woocommerce-cart .ak-cart-item__price del .woocommerce-Price-currencySymbol {
  color: inherit;
}

body.woocommerce-cart .ak-cart-item__price strong {
  color: #111;
  font-size: 23px;
  font-weight: 950;
  line-height: 1.1;
  white-space: nowrap;
}

body.woocommerce-cart .ak-cart-item__price strong .amount,
body.woocommerce-cart .ak-cart-item__price strong bdi,
body.woocommerce-cart .ak-cart-item__price strong .woocommerce-Price-currencySymbol {
  color: #111;
}

body.woocommerce-cart .ak-cart-item__price > span {
  color: #d6001c;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.15;
  white-space: nowrap;
}

body.woocommerce-cart .ak-cart-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

body.woocommerce-cart .ak-cart-layout > aside.ak-cart-card.ak-cart-summary {
  position: static;
  box-sizing: border-box;
  width: 100%;
  align-self: center;
  justify-self: stretch;
  margin: 0;
  padding: 34px 34px 32px;
  border: 1px solid rgba(227, 232, 239, .84);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 28px 76px rgba(17, 24, 32, .13);
}

body.woocommerce-cart .ak-cart-summary h2 {
  margin: 0 0 30px;
  color: var(--ak-ink);
  font-size: 30px;
  line-height: 1.1;
  font-weight: 950;
}

body.woocommerce-cart .ak-cart-summary__body {
  display: grid;
  gap: 0;
  padding: 0;
}

body.woocommerce-cart .ak-cart-summary__rows {
  display: grid;
  gap: 0;
  margin: 0;
}

body.woocommerce-cart .ak-cart-summary__row,
body.woocommerce-cart .ak-cart-summary__total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

body.woocommerce-cart .ak-cart-summary__row {
  min-height: 54px;
  padding: 0;
  border-bottom: 1px solid rgba(227, 232, 239, .86);
}

body.woocommerce-cart .ak-cart-summary__row span,
body.woocommerce-cart .ak-cart-summary__total span {
  color: var(--ak-muted);
  font-size: 16px;
  font-weight: 800;
}

body.woocommerce-cart .ak-cart-summary__row strong {
  color: var(--ak-ink);
  font-size: 16px;
  font-weight: 950;
  text-align: right;
  white-space: nowrap;
}

body.woocommerce-cart .ak-cart-coupon {
  margin: 22px 0 26px;
}

body.woocommerce-cart .ak-cart-coupon label {
  display: block;
  margin-bottom: 12px;
  color: var(--ak-ink);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
}

body.woocommerce-cart .ak-cart-coupon div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  align-items: stretch;
  min-height: 42px;
  overflow: hidden;
  border: 1px solid rgba(227, 232, 239, .96);
  border-radius: 14px;
  background: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9);
}

body.woocommerce-cart .ak-cart-coupon input {
  min-width: 0;
  border: 0;
  padding: 0 14px;
  color: var(--ak-ink);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  outline: 0;
}

body.woocommerce-cart .ak-cart-coupon input::placeholder {
  color: rgba(101, 112, 132, .72);
  font-weight: 700;
}

body.woocommerce-cart .ak-cart-coupon button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  min-width: 148px;
  padding: 0 16px;
  color: #fff;
  background: var(--ak-red);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--ak-transition), transform var(--ak-transition);
}

body.woocommerce-cart .ak-cart-coupon button:hover {
  background: #b71127;
}

body.woocommerce-cart .ak-cart-summary__total {
  min-height: 74px;
  margin-top: 0;
  padding-top: 26px;
  border-top: 1px solid rgba(227, 232, 239, .86);
}

body.woocommerce-cart .ak-cart-summary__total span {
  color: var(--ak-ink);
  font-size: 18px;
  font-weight: 900;
}

body.woocommerce-cart .ak-cart-summary__total strong {
  color: var(--ak-ink);
  font-size: 20px;
  font-weight: 950;
  white-space: nowrap;
}

body.woocommerce-cart .ak-cart-checkout {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 58px;
  margin-top: 24px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #e0444d 0%, var(--ak-red) 100%);
  font-size: 17px;
  font-weight: 950;
  text-decoration: none;
  box-shadow: 0 16px 34px rgba(201, 21, 45, .28);
  transition: background var(--ak-transition), box-shadow var(--ak-transition), transform var(--ak-transition);
  will-change: transform;
}

body.woocommerce-cart .ak-cart-checkout:hover {
  color: #fff;
  background: linear-gradient(135deg, #d72d39 0%, #b71127 100%);
  box-shadow: 0 20px 42px rgba(201, 21, 45, .36);
  transform: translateY(-2px) scale(1.01);
}

body.woocommerce-cart .ak-cart-continue {
  display: block;
  margin-top: 16px;
  color: var(--ak-muted);
  font-size: 14px;
  font-weight: 850;
  text-align: center;
  text-decoration: none;
  transition: color var(--ak-transition), transform var(--ak-transition);
  will-change: transform;
}

body.woocommerce-cart .ak-cart-continue:hover,
body.woocommerce-cart .ak-cart-item__content h2 a:hover {
  color: var(--ak-red);
}

body.woocommerce-cart .ak-cart-continue:hover {
  transform: translateY(-1px);
}

@media (max-width: 900px) {
  body.woocommerce-cart .ak-cart-layout {
    grid-template-columns: 1fr;
    align-items: start;
    gap: var(--ak-space-3);
  }

  body.woocommerce-cart .ak-cart-items-card,
  body.woocommerce-cart .ak-cart-summary {
    padding: var(--ak-space-4);
  }

  body.woocommerce-cart .ak-cart-summary {
    position: static;
    margin-top: 0;
    align-self: start;
  }

  body.woocommerce-cart .ak-cart-item {
    padding: 14px;
  }

  body.woocommerce-cart .ak-cart-item__row {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 14px;
  }

  body.woocommerce-cart .ak-cart-item__image {
    width: 82px;
    height: 82px;
  }

  body.woocommerce-cart .ak-cart-item__image img {
    width: 70px;
    height: 70px;
  }

  body.woocommerce-cart .ak-cart-item__price {
    grid-column: 2;
    justify-items: start;
    text-align: left;
  }
}

body.woocommerce-cart .woocommerce-cart-form,
body.woocommerce-cart .cart_totals {
  border: 1px solid var(--ak-line);
  border-radius: var(--ak-radius-lg);
  background: #fff;
  box-shadow: 0 4px 14px rgba(17, 24, 32, .045);
}

body.woocommerce-cart .woocommerce-cart-form {
  padding: var(--ak-space-3);
}

body.woocommerce-cart table.shop_table {
  overflow: hidden;
  margin: 0;
  border: 0;
  border-collapse: separate;
  border-spacing: 0;
  background: transparent;
}

body.woocommerce-cart table.shop_table thead th {
  padding: 12px 14px;
  border-bottom: 1px solid var(--ak-line);
  color: #667085;
  background: #f8fafc;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .02em;
  text-transform: uppercase;
}

body.woocommerce-cart table.shop_table tbody td {
  padding: 16px 14px;
  border-top: 0;
  border-bottom: 1px solid var(--ak-line);
  vertical-align: middle;
}

body.woocommerce-cart table.shop_table tbody tr:last-child td {
  border-bottom: 0;
}

body.woocommerce-cart td.product-thumbnail {
  width: 92px;
}

body.woocommerce-cart td.product-thumbnail img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border: 1px solid var(--ak-line);
  border-radius: var(--ak-radius);
  background: #f8fafc;
}

body.woocommerce-cart td.product-name a {
  color: var(--ak-ink);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.35;
  text-decoration: none;
}

body.woocommerce-cart td.product-name a:hover {
  color: var(--ak-red);
}

body.woocommerce-cart td.product-price,
body.woocommerce-cart td.product-subtotal {
  color: var(--ak-ink);
  font-size: 15px;
  font-weight: 850;
  white-space: nowrap;
}

body.woocommerce-cart td.product-subtotal {
  color: var(--ak-red);
}

body.woocommerce-cart .quantity .qty {
  width: 74px;
  min-height: 40px;
  text-align: center;
  font-weight: 850;
}

body.woocommerce-cart a.remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid #f2c9c9;
  border-radius: 999px;
  color: var(--ak-red) !important;
  background: #fff7f7;
  font-size: 20px;
  line-height: 1;
  transition: background-color var(--ak-transition), border-color var(--ak-transition), transform var(--ak-transition);
}

body.woocommerce-cart a.remove:hover {
  border-color: var(--ak-red);
  background: #ffecec;
  transform: translateY(-1px);
}

body.woocommerce-cart table.cart td.actions {
  padding-top: var(--ak-space-4);
  background: transparent;
}

body.woocommerce-cart table.cart td.actions .coupon {
  display: flex;
  gap: var(--ak-space-2);
  align-items: center;
}

body.woocommerce-cart table.cart td.actions .input-text {
  min-width: 210px;
  min-height: 40px;
  border: 1px solid var(--ak-line);
  border-radius: var(--ak-radius);
  padding: 0 12px;
}

body.woocommerce-cart .cart-collaterals {
  margin-top: var(--ak-space-4);
}

body.woocommerce-cart .cart-collaterals .cart_totals {
  float: none;
  width: min(100%, 420px);
  margin-left: auto;
  padding: var(--ak-space-4);
}

body.woocommerce-cart .cart_totals h2 {
  margin: 0 0 var(--ak-space-3);
  color: var(--ak-ink);
  font-size: 20px;
  line-height: 1.2;
}

body.woocommerce-cart .cart_totals table.shop_table {
  margin-bottom: var(--ak-space-3);
}

body.woocommerce-cart .cart_totals table.shop_table th,
body.woocommerce-cart .cart_totals table.shop_table td {
  padding: 11px 0;
  border-bottom: 1px solid var(--ak-line);
  color: var(--ak-muted);
  font-size: 14px;
}

body.woocommerce-cart .cart_totals table.shop_table td {
  text-align: right;
}

body.woocommerce-cart .cart_totals .order-total th,
body.woocommerce-cart .cart_totals .order-total td,
body.woocommerce-cart .cart_totals .order-total .amount {
  color: var(--ak-ink);
  font-size: 20px;
  font-weight: 950;
}

body.woocommerce-cart .wc-proceed-to-checkout {
  padding: 0;
}

body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
  width: 100%;
  min-height: 46px;
  margin: 0;
  background: var(--ak-green);
  color: #fff;
  font-size: 15px;
}

body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
  background: #2cae5b;
}

body.woocommerce-cart .wc-block-cart {
  display: grid;
  gap: var(--ak-space-4);
}

body.woocommerce-cart .wc-block-cart-items,
body.woocommerce-cart .wc-block-cart__sidebar,
body.woocommerce-cart .wp-block-woocommerce-cart-order-summary-block {
  border: 1px solid var(--ak-line);
  border-radius: var(--ak-radius-lg);
  background: #fff;
  box-shadow: 0 4px 14px rgba(17, 24, 32, .045);
}

body.woocommerce-cart .wc-block-cart-items {
  overflow: hidden;
  border-collapse: separate;
  border-spacing: 0;
}

body.woocommerce-cart .wc-block-cart-items thead th {
  padding: 12px 14px;
  border-bottom: 1px solid var(--ak-line);
  color: #667085;
  background: #f8fafc;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .02em;
  text-transform: uppercase;
}

body.woocommerce-cart .wc-block-cart-items__row td {
  padding: 16px 14px !important;
  border-top: 0 !important;
  border-bottom: 1px solid var(--ak-line) !important;
  vertical-align: middle;
}

body.woocommerce-cart .wc-block-cart-items__row:last-child td {
  border-bottom: 0 !important;
}

body.woocommerce-cart .wc-block-cart-item__image {
  width: 92px;
}

body.woocommerce-cart .wc-block-cart-item__image img,
body.woocommerce-cart .wc-block-cart-item__image .wc-block-components-product-image {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border: 1px solid var(--ak-line);
  border-radius: var(--ak-radius);
  background: #f8fafc;
}

body.woocommerce-cart .wc-block-cart-item__product {
  display: grid;
  gap: 8px;
}

body.woocommerce-cart .wc-block-components-product-name {
  color: var(--ak-ink);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.35;
  text-decoration: none;
}

body.woocommerce-cart .wc-block-components-product-name:hover {
  color: var(--ak-red);
}

body.woocommerce-cart .wc-block-components-product-metadata,
body.woocommerce-cart .wc-block-components-product-details {
  color: #667085;
  font-size: 13px;
  line-height: 1.45;
}

body.woocommerce-cart .wc-block-components-product-price,
body.woocommerce-cart .wc-block-cart-item__total {
  color: var(--ak-ink);
  font-size: 15px;
  font-weight: 850;
}

body.woocommerce-cart .wc-block-cart-item__total {
  color: var(--ak-red);
}

body.woocommerce-cart .wc-block-cart-item__quantity {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

body.woocommerce-cart .wc-block-components-quantity-selector {
  min-height: 44px;
  border: 1px solid var(--ak-line);
  border-radius: var(--ak-radius);
  background: #fff;
}

body.woocommerce-cart .wc-block-components-quantity-selector input {
  min-height: 44px;
  color: var(--ak-ink);
  font-weight: 850;
}

body.woocommerce-cart .wc-block-components-quantity-selector button {
  min-width: 44px;
  min-height: 44px;
  color: var(--ak-ink);
  font-weight: 900;
}

body.woocommerce-cart .wc-block-cart-item__remove-link {
  color: var(--ak-red);
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
}

body.woocommerce-cart .wc-block-cart-item__remove-link:hover {
  text-decoration: underline;
}

body.woocommerce-cart .wc-block-cart__sidebar {
  padding: var(--ak-space-4);
}

body.woocommerce-cart .wc-block-cart__totals-title {
  margin: 0 0 var(--ak-space-3);
  color: var(--ak-ink);
  font-size: 20px;
  font-weight: 950;
  line-height: 1.2;
}

body.woocommerce-cart .wc-block-components-totals-wrapper,
body.woocommerce-cart .wc-block-components-totals-item {
  border-color: var(--ak-line);
}

body.woocommerce-cart .wc-block-components-totals-item {
  padding: 11px 0;
}

body.woocommerce-cart .wc-block-components-totals-item__label {
  color: var(--ak-muted);
  font-size: 14px;
  font-weight: 800;
}

body.woocommerce-cart .wc-block-components-totals-item__value {
  color: var(--ak-ink);
  font-size: 15px;
  font-weight: 900;
}

body.woocommerce-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
body.woocommerce-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
body.woocommerce-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__value .amount {
  color: var(--ak-ink);
  font-size: 20px;
  font-weight: 950;
}

body.woocommerce-cart .wc-block-cart__submit-container {
  margin-top: var(--ak-space-3);
}

body.woocommerce-cart .wc-block-cart__submit-button,
body.woocommerce-cart .wc-block-components-button.wc-block-cart__submit-button {
  width: 100%;
  min-height: 46px;
  border-radius: var(--ak-radius);
  background: var(--ak-ink);
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
  transition: background-color var(--ak-transition), box-shadow var(--ak-transition), transform var(--ak-transition);
}

body.woocommerce-cart .wc-block-cart__submit-button:hover,
body.woocommerce-cart .wc-block-components-button.wc-block-cart__submit-button:hover {
  background: #0f1722;
  box-shadow: 0 5px 12px rgba(17, 24, 32, .16);
  transform: translateY(-1px);
}

body.woocommerce-cart .wc-block-components-totals-coupon {
  border-top: 1px solid var(--ak-line);
}

body.woocommerce-cart .wc-block-components-totals-coupon__button {
  color: var(--ak-ink);
  font-weight: 850;
}

@media (min-width: 981px) {
  body.woocommerce-cart main {
    max-width: 1200px;
    margin-right: auto;
    margin-left: auto;
  }

  body.woocommerce-cart .wc-block-cart {
    grid-template-columns: minmax(0, 2fr) minmax(360px, 1fr);
    align-items: start;
    gap: 44px;
  }

  body.woocommerce-cart .wc-block-components-sidebar-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(360px, 1fr);
    align-items: start;
    gap: 44px;
  }

  body.woocommerce-cart .wc-block-components-main,
  body.woocommerce-cart .wc-block-cart__main {
    min-width: 0;
    width: 100%;
  }

  body.woocommerce-cart .wc-block-components-sidebar,
  body.woocommerce-cart .wc-block-cart__sidebar {
    box-sizing: border-box;
    width: 100%;
    min-width: 360px;
    max-width: 420px;
    justify-self: end;
  }

  body.woocommerce-cart .wc-block-cart-items {
    display: block;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  body.woocommerce-cart .wc-block-cart-items thead {
    display: none;
  }

  body.woocommerce-cart .wc-block-cart-items tbody {
    display: grid;
    gap: var(--ak-space-3);
  }

  body.woocommerce-cart .wc-block-cart-items__row {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr) 140px;
    gap: var(--ak-space-3);
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid var(--ak-line);
  }

  body.woocommerce-cart .wc-block-cart-items__row:first-child {
    padding-top: 0;
  }

  body.woocommerce-cart .wc-block-cart-items__row td {
    display: block;
    padding: 0 !important;
    border: 0 !important;
  }

  body.woocommerce-cart .wc-block-cart-item__image {
    width: 96px;
  }

  body.woocommerce-cart .wc-block-cart-item__image img,
  body.woocommerce-cart .wc-block-cart-item__image .wc-block-components-product-image {
    width: 84px;
    height: 84px;
  }

  body.woocommerce-cart .wc-block-cart-item__product {
    gap: 10px;
  }

  body.woocommerce-cart .wc-block-components-product-name {
    font-size: 16px;
  }

  body.woocommerce-cart .wc-block-cart-item__quantity {
    margin-top: 4px;
  }

  body.woocommerce-cart .wc-block-cart-item__total {
    justify-self: end;
    text-align: right;
    font-size: 16px;
  }

  body.woocommerce-cart .wc-block-cart__sidebar {
    position: sticky;
    top: 24px;
    padding: 22px 24px;
    border-radius: var(--ak-radius-lg);
  }

  body.admin-bar.woocommerce-cart .wc-block-cart__sidebar {
    top: 56px;
  }

  body.woocommerce-cart .wc-block-cart__totals-title {
    max-width: none;
    font-size: 22px;
    line-height: 1.15;
    word-break: normal;
  }

  body.woocommerce-cart .wc-block-components-totals-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--ak-space-3);
  }

  body.woocommerce-cart .wc-block-components-totals-item__label,
  body.woocommerce-cart .wc-block-components-totals-item__value {
    min-width: 0;
    white-space: normal;
    word-break: normal;
  }

  body.woocommerce-cart .wc-block-components-totals-item__value {
    text-align: right;
    white-space: nowrap;
  }

  body.woocommerce-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
  body.woocommerce-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
    font-size: 20px;
    line-height: 1.2;
  }

  body.woocommerce-cart .wc-block-cart__submit-button,
  body.woocommerce-cart .wc-block-components-button.wc-block-cart__submit-button {
    white-space: nowrap;
  }
}

@media (max-width: 900px) {
  .ak-header-top {
    grid-template-columns: 180px minmax(0, 1fr) 150px;
    gap: 12px;
  }

  .ak-header-logo img {
    width: 180px;
  }

  .ak-product-search,
  .ak-product-search input[type="search"] {
    min-width: 0;
  }

  .ak-header-actions .ak-header-pill {
    width: 150px;
    padding-right: 12px;
    padding-left: 12px;
  }

  .ak-hero,
  .ak-trust {
    grid-template-columns: 1fr;
  }

  .ak-category-nav {
    overflow-x: auto;
    gap: var(--ak-space-4);
    white-space: nowrap;
  }

  .ak-product-grid,
  .ak-category-grid,
  .woocommerce ul.products,
  .woocommerce .wp-block-post-template,
  .woocommerce .products-block-post-template,
  .woocommerce .wc-block-product-template,
  .woocommerce .wp-block-woocommerce-product-template,
  .ak-trust__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ak-shop-filters {
    float: none;
    width: auto;
    margin-right: 0;
  }

  .woocommerce .woocommerce-result-count,
  body.woocommerce-shop .woocommerce-breadcrumb,
  .woocommerce-shop .wp-block-query-title,
  .woocommerce-shop .wp-block-query-pagination,
  body.post-type-archive-product .woocommerce-breadcrumb,
  .post-type-archive-product .wp-block-query-title,
  .post-type-archive-product .wp-block-query-pagination,
  body.tax-product_cat .woocommerce-breadcrumb,
  .tax-product_cat .wp-block-query-title,
  .tax-product_cat .wp-block-query-pagination,
  .woocommerce ul.products,
  .woocommerce .wp-block-post-template,
  .woocommerce .products-block-post-template,
  .woocommerce .wc-block-product-template,
  .woocommerce .wp-block-woocommerce-product-template {
    margin-left: 0;
  }

  .ak-footer-shell {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 639px) {
  .ak-header-top {
    grid-template-columns: minmax(0, 1fr) 94px;
    grid-template-areas:
      "logo actions"
      "search actions";
    gap: 10px 12px;
    align-items: start;
    min-height: 0;
    padding: var(--ak-space-3) 0;
  }

  .ak-header-actions {
    min-width: 0;
    width: 94px;
  }

  .ak-product-search {
    max-width: none;
  }
}

@media (max-width: 639px) {
  body.ak-header-hidden .ak-site-header {
    transform: translateY(-48px);
  }

  .ak-header-logo img {
    width: 132px;
  }

  .ak-header-actions {
    grid-template-columns: 1fr;
    justify-content: end;
    width: 94px;
    margin-left: 0;
  }

  .ak-product-search {
    width: 100%;
    max-width: none;
  }

  .ak-product-search input[type="search"] {
    flex: 1;
    width: 100%;
  }

  .ak-header-actions .ak-header-pill {
    min-height: 38px;
    padding: 6px 8px;
    box-sizing: border-box;
    width: 94px;
  }

  .ak-header-sell-link__desktop {
    display: none;
  }

  .ak-header-sell-link__mobile {
    display: inline;
    font-size: 11px;
  }

  .ak-header-actions .ak-header-pill__icon {
    display: none;
  }

  .ak-hero {
    padding: var(--ak-space-4);
    border-radius: var(--ak-radius);
  }

  .ak-hero h1 {
    font-size: 26px;
  }

  .ak-product-grid,
  .ak-category-grid,
  .woocommerce ul.products,
  .woocommerce .wp-block-post-template,
  .woocommerce .products-block-post-template,
  .woocommerce .wc-block-product-template,
  .woocommerce .wp-block-woocommerce-product-template,
  .ak-trust__grid {
    grid-template-columns: 1fr;
  }

  .ak-shop-filters {
    display: grid;
    grid-template-columns: 1fr;
  }

  .ak-shop-filters.is-collapsible .ak-filter-heading {
    padding: 8px 18px;
  }

  .ak-shop-filters.is-collapsible .ak-filter-heading strong,
  .ak-shop-filters.is-collapsible:not(.is-expanded) > .ak-filter-group,
  .ak-shop-filters.is-collapsible:not(.is-expanded) > .ak-filter-actions {
    display: none;
  }

  .ak-shop-filters.is-collapsible .ak-filter-toggle {
    display: inline-flex;
  }

  .ak-filter-toggle[aria-expanded="true"] span {
    transform: rotate(180deg);
  }

  .ak-filter-actions,
  .ak-price-filter {
    width: 100%;
  }

  .ak-shop-filters button,
  .ak-shop-filters__reset {
    flex: 1;
  }

  .ak-section__head {
    align-items: flex-start;
    flex-direction: column;
  }

  .ak-footer-shell {
    grid-template-columns: 1fr;
    gap: var(--ak-space-4);
  }
}

@media (max-width: 1100px) {
  .ak-header-actions .ak-header-pill__icon {
    display: none;
  }
}

body.woocommerce-account:not(.logged-in) .entry-content {
  width: min(100% - 40px, 1120px);
  margin: 0 auto;
}

body.woocommerce-account:not(.logged-in) .ak-account-auth {
  display: grid;
  grid-template-columns: minmax(0, 560px);
  justify-content: center;
  padding: clamp(46px, 7vw, 88px) 0 clamp(64px, 8vw, 108px);
}

body.woocommerce-account:not(.logged-in) .ak-account-auth--with-register {
  grid-template-columns: repeat(2, minmax(0, 520px));
  gap: 24px;
}

body.woocommerce-account:not(.logged-in) .ak-account-auth__card {
  overflow: hidden;
  padding: clamp(26px, 4vw, 40px);
  border: 1px solid rgba(214, 221, 230, .95);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 28px 70px rgba(15, 23, 42, .09);
}

body.woocommerce-account:not(.logged-in) .ak-account-auth__eyebrow {
  margin: 0 0 10px;
  color: #D6001C;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .02em;
}

body.woocommerce-account:not(.logged-in) .ak-account-auth h1,
body.woocommerce-account:not(.logged-in) .ak-account-auth h2 {
  margin: 0;
  color: #111827;
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 950;
  line-height: 1.05;
  letter-spacing: 0;
}

body.woocommerce-account:not(.logged-in) .ak-account-auth h2 {
  font-size: clamp(25px, 3vw, 34px);
}

body.woocommerce-account:not(.logged-in) .ak-account-auth__lead {
  max-width: 46rem;
  margin: 14px 0 28px;
  color: #667085;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.6;
}

body.woocommerce-account:not(.logged-in) .ak-account-auth__form {
  display: grid;
  gap: 18px;
  margin: 0;
}

body.woocommerce-account:not(.logged-in) .ak-account-auth__field {
  display: grid;
  gap: 8px;
  margin: 0;
}

body.woocommerce-account:not(.logged-in) .ak-account-auth__field label {
  margin: 0;
  color: #344054;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.3;
}

body.woocommerce-account:not(.logged-in) .ak-account-auth__field .required {
  color: #D6001C;
}

body.woocommerce-account:not(.logged-in) .ak-account-auth__field input.input-text,
body.woocommerce-account:not(.logged-in) .ak-account-auth__field .password-input input.input-text {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid #d8dee8;
  border-radius: 16px;
  background: #fff;
  color: #111827;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(15, 23, 42, .035);
  transition: border-color .2s ease, box-shadow .2s ease;
}

body.woocommerce-account:not(.logged-in) .ak-account-auth__field input.input-text:focus {
  border-color: rgba(214, 0, 28, .5);
  outline: 0;
  box-shadow: 0 0 0 4px rgba(214, 0, 28, .08), 0 12px 28px rgba(15, 23, 42, .045);
}

body.woocommerce-account:not(.logged-in) .ak-account-auth__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 2px;
}

body.woocommerce-account:not(.logged-in) .ak-account-auth__remember {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: #475467;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
}

body.woocommerce-account:not(.logged-in) .ak-account-auth__remember input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #D6001C;
}

body.woocommerce-account:not(.logged-in) .ak-account-auth__forgot {
  color: #D6001C;
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
}

body.woocommerce-account:not(.logged-in) .ak-account-auth__forgot:hover,
body.woocommerce-account:not(.logged-in) .ak-account-auth__forgot:focus-visible {
  color: #b80018;
  text-decoration: underline;
}

body.woocommerce-account:not(.logged-in) .ak-account-auth__submit {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
  border: 0;
  border-radius: 16px;
  background: #D6001C;
  color: #fff;
  font-size: 16px;
  font-weight: 950;
  box-shadow: 0 18px 36px rgba(214, 0, 28, .22);
  transition: background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

body.woocommerce-account:not(.logged-in) .ak-account-auth__submit:hover,
body.woocommerce-account:not(.logged-in) .ak-account-auth__submit:focus-visible {
  background: #b80018;
  color: #fff;
  outline: 0;
  box-shadow: 0 22px 42px rgba(214, 0, 28, .26);
  transform: translateY(-1px);
}

body.woocommerce-account:not(.logged-in) .ak-account-auth__generated-password {
  margin: 0;
  padding: 14px 16px;
  border: 1px solid rgba(214, 221, 230, .95);
  border-radius: 16px;
  background: #f8fafc;
  color: #667085;
  font-weight: 750;
  line-height: 1.5;
}

body.woocommerce-account:not(.logged-in) .woocommerce-notices-wrapper {
  width: min(100% - 40px, 560px);
  margin: 30px auto 0;
}

body.woocommerce-account:not(.logged-in) .woocommerce-notices-wrapper .woocommerce-error,
body.woocommerce-account:not(.logged-in) .woocommerce-notices-wrapper .woocommerce-info,
body.woocommerce-account:not(.logged-in) .woocommerce-notices-wrapper .woocommerce-message {
  margin: 0 0 18px;
  padding: 16px 18px;
  border: 1px solid rgba(214, 0, 28, .18);
  border-radius: 18px;
  background: #fff;
  color: #344054;
  font-size: 14px;
  font-weight: 750;
  box-shadow: 0 18px 44px rgba(15, 23, 42, .07);
}

body.woocommerce-account:not(.logged-in) .woocommerce-notices-wrapper .woocommerce-error {
  border-color: rgba(214, 0, 28, .24);
  background: rgba(214, 0, 28, .045);
}

body.woocommerce-account:not(.logged-in) .woocommerce-notices-wrapper a {
  color: #D6001C;
  font-weight: 900;
}

body.woocommerce-account:not(.logged-in) .wc-block-components-notice-banner {
  width: min(100% - 40px, 560px);
  margin: 30px auto 0;
  padding: 16px 18px;
  border: 1px solid rgba(214, 0, 28, .18);
  border-radius: 18px;
  background: #fff;
  color: #344054;
  font-size: 14px;
  font-weight: 750;
  box-shadow: 0 18px 44px rgba(15, 23, 42, .07);
}

body.woocommerce-account:not(.logged-in) .wc-block-components-notice-banner.is-error {
  border-color: rgba(214, 0, 28, .24);
  background: rgba(214, 0, 28, .045);
}

body.woocommerce-account:not(.logged-in) .wc-block-components-notice-banner a {
  color: #D6001C;
  font-weight: 900;
}

body.woocommerce-account:not(.logged-in).woocommerce-lost-password .wp-block-post-title,
body.woocommerce-account:not(.logged-in).woocommerce-lost-password .woocommerce-ResetPassword {
  width: min(100% - 40px, 560px);
  margin-right: auto;
  margin-left: auto;
}

body.woocommerce-account:not(.logged-in).woocommerce-lost-password .wp-block-post-title {
  margin-top: clamp(44px, 7vw, 78px);
  margin-bottom: 18px;
  color: #111827;
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 950;
  line-height: 1.05;
}

body.woocommerce-account:not(.logged-in).woocommerce-lost-password .woocommerce-ResetPassword {
  display: grid;
  gap: 18px;
  margin-bottom: clamp(64px, 8vw, 108px);
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(214, 221, 230, .95);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 28px 70px rgba(15, 23, 42, .09);
}

body.woocommerce-account:not(.logged-in).woocommerce-lost-password .woocommerce-ResetPassword p {
  margin: 0;
  color: #667085;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.6;
}

body.woocommerce-account:not(.logged-in).woocommerce-lost-password .woocommerce-ResetPassword label {
  display: block;
  margin-bottom: 8px;
  color: #344054;
  font-size: 14px;
  font-weight: 850;
}

body.woocommerce-account:not(.logged-in).woocommerce-lost-password .woocommerce-ResetPassword input.input-text {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid #d8dee8;
  border-radius: 16px;
  color: #111827;
  font-size: 16px;
  font-weight: 700;
}

body.woocommerce-account:not(.logged-in).woocommerce-lost-password .woocommerce-ResetPassword input.input-text:focus {
  border-color: rgba(214, 0, 28, .5);
  outline: 0;
  box-shadow: 0 0 0 4px rgba(214, 0, 28, .08);
}

body.woocommerce-account:not(.logged-in).woocommerce-lost-password .woocommerce-ResetPassword button.button {
  min-height: 54px;
  border: 0;
  border-radius: 16px;
  background: #D6001C;
  color: #fff;
  font-size: 16px;
  font-weight: 950;
  box-shadow: 0 18px 36px rgba(214, 0, 28, .22);
}

body.woocommerce-account:not(.logged-in).woocommerce-lost-password .woocommerce-ResetPassword button.button:hover,
body.woocommerce-account:not(.logged-in).woocommerce-lost-password .woocommerce-ResetPassword button.button:focus-visible {
  background: #b80018;
  color: #fff;
  outline: 0;
}

@media (max-width: 900px) {
  body.woocommerce-account:not(.logged-in) .ak-account-auth--with-register {
    grid-template-columns: minmax(0, 560px);
  }
}

@media (max-width: 640px) {
  body.woocommerce-account:not(.logged-in) .entry-content {
    width: min(100% - 28px, 1120px);
  }

  body.woocommerce-account:not(.logged-in) .ak-account-auth {
    padding: 34px 0 58px;
  }

  body.woocommerce-account:not(.logged-in) .ak-account-auth__card {
    padding: 24px 18px;
    border-radius: 22px;
  }

  body.woocommerce-account:not(.logged-in) .ak-account-auth__meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}

/* Mobile storefront stability: preserve the intended narrow-screen layout. */

@media (max-width: 639px) {
  .ak-category-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 var(--ak-space-4);
    min-height: 0;
    padding: var(--ak-space-2) 0;
    overflow: visible;
    white-space: normal;
  }

  .ak-category-nav a {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    min-height: 44px;
    white-space: nowrap;
  }

  .ak-category-nav__spacer {
    display: none;
  }

  .ak-category-nav > br {
    display: none;
  }

  .ak-category-nav .ak-category-nav__sell {
    grid-column: 1 / -1;
    justify-self: stretch;
    min-height: 44px;
  }

  .woocommerce .woocommerce-ordering {
    float: none;
    width: 100%;
  }

  .ak-sort-dropdown {
    width: 100%;
    min-width: 0;
  }

  .woocommerce .woocommerce-ordering.ak-sort-enhanced select {
    min-width: 0;
  }
}

@media (max-width: 359px) {
  body.post-type-archive-product .wp-block-group.is-content-justification-space-between.is-nowrap:has(> .wc-block-catalog-sorting),
  body.tax-product_cat .wp-block-group.is-content-justification-space-between.is-nowrap:has(> .wc-block-catalog-sorting) {
    flex-wrap: wrap;
  }
}

/* Storefront header actions: one cluster; checkout's separate header is untouched. */
.ak-header-shell br,
.ak-header-shell p:empty {
  display: none;
}

.ak-header-shell .ak-header-top {
  box-sizing: border-box;
  grid-template-columns: 210px minmax(0, 1fr) auto;
  grid-template-areas: "logo search actions";
  gap: 24px;
  min-height: 80px;
  padding: 12px 0;
}

.ak-header-shell .ak-header-logo img {
  width: 210px;
  max-height: 64px;
}

.ak-header-shell .ak-header-actions {
  display: flex;
  flex-direction: row;
  gap: 10px;
  width: auto;
  min-width: 0;
  justify-self: end;
}

.ak-header-shell .ak-header-actions .ak-header-pill {
  width: auto;
  min-height: 46px;
  padding: 0 14px;
  gap: 8px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.2;
  white-space: nowrap;
  box-shadow: none;
}

.ak-header-shell .ak-header-actions .ak-header-pill:hover {
  background: #f7f9fb;
  box-shadow: none;
  transform: none;
}

.ak-header-shell .ak-header-actions .ak-header-pill:focus-visible {
  outline: 2px solid var(--ak-ink);
  outline-offset: 3px;
  box-shadow: none;
}

.ak-header-shell .ak-header-actions .ak-cart-count {
  position: static;
  transform: none;
  min-width: 20px;
  height: 20px;
  line-height: 20px;
}

.ak-header-shell .ak-header-actions .ak-header-sell-link {
  border-color: rgba(214, 0, 28, .3);
  background: #fff8f8;
  color: #c60019;
}

.ak-header-shell .ak-header-actions .ak-header-sell-link:hover,
.ak-header-shell .ak-header-actions .ak-header-sell-link.is-current {
  border-color: #d6001c;
  background: #d6001c;
  color: #fff;
}

.ak-header-shell .ak-product-search {
  max-width: none;
  min-width: 0;
  border-radius: 12px;
}

.ak-header-shell .ak-product-search input[type="search"] {
  min-width: 0;
  min-height: 44px;
}

.ak-header-shell .ak-product-search button {
  flex: 0 0 44px;
  min-height: 44px;
  border-radius: 10px;
}

.ak-header-shell .ak-category-nav {
  display: flex;
  gap: 32px;
  min-height: 46px;
  padding: 0;
  overflow-x: auto;
  white-space: nowrap;
}

.ak-header-shell .ak-category-nav a {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 44px;
  min-height: 44px;
}

.ak-header-shell .ak-category-nav a::after {
  bottom: 0;
}

@media (max-width: 1000px) {
  .ak-header-shell .ak-header-top {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "logo actions" "search search";
    gap: 10px 20px;
  }

  .ak-header-shell .ak-header-logo img {
    width: 180px;
  }
}

@media (max-width: 639px) {
  .ak-header-shell .ak-header-top {
    grid-template-columns: minmax(0, 1fr) 68px 80px;
    grid-template-areas: "logo account cart" "search search sell";
    gap: 10px;
  }

  .ak-header-shell .ak-header-logo img {
    width: 132px;
    max-width: 100%;
    max-height: 54px;
  }

  .ak-header-shell .ak-header-actions { display: contents; }
  .ak-header-shell .ak-account-link { grid-area: account; }
  .ak-header-shell .ak-cart-link { grid-area: cart; }
  .ak-header-shell .ak-header-sell-link { grid-area: sell; }

  .ak-header-shell .ak-header-actions .ak-header-pill {
    min-height: 46px;
    padding: 0 8px;
    gap: 5px;
    font-size: 12px;
  }

  .ak-header-shell .ak-category-nav {
    gap: 16px;
    justify-content: space-between;
    font-size: 13px;
  }
}

/* Storefront visual polish: compact navigation, readable catalogue controls. */
@media (min-width: 901px) and (max-width: 1200px) {
  .woocommerce ul.products,
  .woocommerce .wp-block-post-template,
  .woocommerce .products-block-post-template,
  .woocommerce .wc-block-product-template,
  .woocommerce .wp-block-woocommerce-product-template {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 639px) {
  .ak-header-top {
    grid-template-columns: minmax(0, 1fr) 136px;
    grid-template-areas:
      "logo actions"
      "search search";
  }

  .ak-header-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 136px;
    gap: 8px;
  }

  .ak-header-actions br {
    display: none;
  }

  .ak-header-actions .ak-header-pill {
    width: 100%;
    min-height: 42px;
    padding: 6px 5px;
    font-size: 11px;
  }

  .ak-category-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 var(--ak-space-2);
  }

  .ak-category-nav .ak-category-nav__sell {
    grid-column: auto;
    box-sizing: border-box;
    justify-content: center;
    min-height: 40px;
    padding: 5px 8px;
  }

  body.woocommerce-shop .wp-block-group.alignwide.is-content-justification-space-between.is-nowrap.is-layout-flex,
  body.post-type-archive-product .wp-block-group.alignwide.is-content-justification-space-between.is-nowrap.is-layout-flex,
  body.tax-product_cat .wp-block-group.alignwide.is-content-justification-space-between.is-nowrap.is-layout-flex {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    align-items: stretch;
  }

  body.woocommerce-shop .woocommerce .woocommerce-result-count,
  body.post-type-archive-product .woocommerce .woocommerce-result-count,
  body.tax-product_cat .woocommerce .woocommerce-result-count {
    width: max-content;
    max-width: 100%;
    min-height: 38px;
    padding: 0 12px;
    white-space: nowrap;
  }

  body.woocommerce-shop .woocommerce .woocommerce-ordering,
  body.post-type-archive-product .woocommerce .woocommerce-ordering,
  body.tax-product_cat .woocommerce .woocommerce-ordering,
  body.woocommerce-shop .ak-sort-dropdown,
  body.post-type-archive-product .ak-sort-dropdown,
  body.tax-product_cat .ak-sort-dropdown {
    width: 100%;
  }
}
