/*
 * Thryl storefront
 * Mobile-first, dependency-free presentation for WooCommerce.
 */

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/Manrope-Variable.ttf") format("truetype");
}

:root {
  --thryl-black: #0a0a0a;
  --thryl-charcoal: #141414;
  --thryl-card: #1c1c1c;
  --thryl-white: #f5f5f5;
  --thryl-muted: #a1a1a1;
  --thryl-accent: #ffffff;
  --thryl-border: #303030;
  --thryl-border-light: #414141;
  --thryl-error: #ff8585;
  --thryl-success: #a9d6ae;
  --thryl-header-height: 4.25rem;
  --thryl-mobile-nav-height: 4.5rem;
  --thryl-container: 90rem;
  --thryl-gutter: clamp(1rem, 3vw, 2.5rem);
  --thryl-radius-sm: 0.5rem;
  --thryl-radius-md: 0.75rem;
  --thryl-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --thryl-shadow: 0 1.25rem 4rem rgba(0, 0, 0, 0.28);
  --thryl-font-sans: "Manrope", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --thryl-heading-section: clamp(0.78rem, 1.5vw, 0.92rem);
  --thryl-heading-page: clamp(2.5rem, 7vw, 5.25rem);
  color-scheme: dark;
}

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

html {
  background: var(--thryl-black);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--thryl-header-height) + 1rem);
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 20rem;
  overflow-x: hidden;
  background: var(--thryl-black);
  color: var(--thryl-white);
  font-family: var(--thryl-font-sans);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.thryl-is-locked {
  overflow: hidden;
}

a,
button,
[role="button"] {
  touch-action: manipulation;
}

.thryl-hero,
.thryl-product-card__media {
  touch-action: pan-y;
}

body.admin-bar .thryl-header {
  top: 2.875rem;
}

body.admin-bar .thryl-drawer {
  top: calc(var(--thryl-header-height) + 2.875rem);
}

.thryl-announcement {
  padding: 0.45rem var(--thryl-gutter);
  border-bottom: 1px solid var(--thryl-border);
  background: var(--thryl-white);
  color: var(--thryl-black);
  text-align: center;
}

.thryl-announcement p {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.thryl-announcement--marquee {
  padding-inline: 0;
  overflow: hidden;
  user-select: none;
}

/*
 * Discourage storefront artwork downloads without placing an interaction
 * layer over galleries. Links, swiping, lightbox gestures and pinch zoom stay
 * native.
 */
.thryl-hero img,
.thryl-lookbook__image,
.thryl-product-card img,
.thryl-category-card img,
.thryl-team-card img,
.woocommerce-product-gallery img,
.woocommerce ul.products li.product img,
.woocommerce-page ul.products li.product img {
  -webkit-touch-callout: none;
  -webkit-user-drag: none;
  user-select: none;
}

/*
 * Mobile storefront content protection. Native link/image long-press menus and
 * page-text selection are disabled, while form controls remain fully editable.
 * Clicks, swipes, gallery gestures and ordinary link navigation are untouched.
 */
@media (hover: none) and (pointer: coarse), (max-width: 767px) {
  body.thryl-site,
  body.thryl-site * {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
  }

  body.thryl-site img,
  body.thryl-site a {
    -webkit-user-drag: none;
  }

  body.thryl-site input,
  body.thryl-site textarea,
  body.thryl-site select,
  body.thryl-site option,
  body.thryl-site [contenteditable="true"],
  body.thryl-site [contenteditable="plaintext-only"] {
    -webkit-touch-callout: default;
    -webkit-user-select: text;
    user-select: text;
  }
}

.thryl-announcement__track {
  display: flex;
  width: max-content;
  animation: thryl-announcement-scroll 22s linear infinite;
  will-change: transform;
  pointer-events: none;
}

.thryl-announcement__group {
  display: flex;
  padding-right: 2.75rem;
  align-items: center;
  justify-content: space-around;
  flex-shrink: 0;
  gap: 2.75rem;
  min-width: 100vw;
  box-sizing: border-box;
}

.thryl-announcement__group span {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.thryl-announcement__group i {
  font-style: normal;
  opacity: 0.45;
}

@keyframes thryl-announcement-scroll {
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button,
[type="button"],
[type="submit"] {
  -webkit-tap-highlight-color: transparent;
}

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

.thryl-entry__content a,
.thryl-page:not(.thryl-cart):not(.thryl-checkout) .thryl-entry-content a:not(.thryl-button):not(.wp-element-button),
.thryl-accordion__panel a,
.woocommerce-privacy-policy-text a,
.woocommerce-terms-and-conditions-wrapper a,
.wc-block-checkout__terms a,
.woocommerce-info a:not(.button),
.woocommerce-message a:not(.button) {
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-block-start: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--thryl-font-sans);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.06;
  text-wrap: balance;
}

p:last-child {
  margin-block-end: 0;
}

::selection {
  background: var(--thryl-accent);
  color: var(--thryl-black);
}

:focus-visible {
  outline: 0.125rem solid var(--thryl-accent);
  outline-offset: 0.2rem;
}

.screen-reader-text,
.thryl-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.screen-reader-text:focus {
  z-index: 100000;
  top: 0.75rem;
  left: 0.75rem;
  width: auto !important;
  height: auto !important;
  padding: 0.75rem 1rem !important;
  margin: 0 !important;
  overflow: visible !important;
  clip: auto !important;
  background: var(--thryl-accent);
  color: var(--thryl-black);
}

.thryl-site {
  min-height: 100vh;
  background: var(--thryl-black);
}

.thryl-main {
  min-height: 60vh;
}

.thryl-container,
.thryl-shell {
  width: min(100% - (2 * var(--thryl-gutter)), var(--thryl-container));
  margin-inline: auto;
}

.thryl-flow > * + * {
  margin-block-start: var(--thryl-flow-space, 1rem);
}

/* Header, menus and search */
.thryl-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  height: var(--thryl-header-height);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(10, 10, 10, 0.97);
}

.thryl-header__inner {
  display: flex;
  width: min(100% - (2 * var(--thryl-gutter)), var(--thryl-container));
  height: 100%;
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.thryl-header__brand,
.thryl-logo,
.custom-logo-link {
  display: inline-flex;
  min-width: 0;
  max-width: clamp(4.5rem, 24vw, 12rem);
  overflow: hidden;
  flex: 0 1 auto;
  align-items: center;
  color: var(--thryl-white);
  font-size: clamp(1.15rem, 4vw, 1.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.thryl-header__brand img,
.thryl-logo img,
.custom-logo {
  width: auto;
  max-width: 100%;
  max-height: 2rem;
  object-fit: contain;
}

.thryl-header__brand .thryl-wordmark {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.thryl-header__nav {
  display: none;
}

.thryl-header__nav ul,
.thryl-drawer ul,
.thryl-mobile-nav ul,
.thryl-footer ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.thryl-header__actions {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.thryl-header__action,
.thryl-icon-button,
.thryl-header__inner > button,
.thryl-header__actions > button,
.thryl-header__actions > a,
.thryl-drawer__head > button {
  position: relative;
  display: inline-grid;
  width: 2.75rem;
  min-width: 2.75rem;
  height: 2.75rem;
  min-height: 2.75rem;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  color: var(--thryl-white);
  cursor: pointer;
  place-items: center;
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.thryl-header__action:hover,
.thryl-icon-button:hover,
.thryl-header__inner > button:hover,
.thryl-header__actions > button:hover,
.thryl-header__actions > a:hover,
.thryl-drawer__head > button:hover {
  border-color: transparent;
  background: transparent;
}

.thryl-header__action:active,
.thryl-icon-button:active,
.thryl-header__inner > button:active,
.thryl-header__actions > button:active,
.thryl-header__actions > a:active,
.thryl-drawer__head > button:active {
  transform: scale(0.94);
}

.thryl-header__action svg,
.thryl-icon-button svg,
.thryl-header__inner > button svg,
.thryl-header__actions > button svg,
.thryl-header__actions > a svg,
.thryl-drawer__head > button svg {
  width: 1.3rem;
  height: 1.3rem;
  pointer-events: none;
}

.thryl-header .thryl-button--icon,
.thryl-header .thryl-button--icon:hover,
.thryl-header .thryl-button--icon:focus,
.thryl-header .thryl-button--icon:active,
.thryl-header .thryl-button--icon[aria-expanded="true"] {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  color: var(--thryl-white);
  -webkit-tap-highlight-color: transparent;
}

.thryl-header .thryl-button--icon:focus:not(:focus-visible) {
  outline: none;
}

[data-cart-count] {
  position: absolute;
  top: 0.18rem;
  right: -0.05rem;
  display: grid;
  min-width: 1.15rem;
  height: 1.15rem;
  padding-inline: 0.22rem;
  border: 2px solid var(--thryl-black);
  border-radius: 999px;
  background: var(--thryl-accent);
  color: var(--thryl-black);
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 1;
  place-items: center;
}

[data-cart-count]:empty,
[data-cart-count][data-count="0"] {
  display: none;
}

.thryl-drawer {
  position: fixed;
  z-index: 1200;
  inset: var(--thryl-header-height) 0 0;
  display: flex;
  visibility: hidden;
  flex-direction: column;
  padding: clamp(1.5rem, 7vw, 3rem) var(--thryl-gutter);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--thryl-charcoal);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-100%);
  transition: visibility 0s linear 360ms, opacity 240ms ease, transform 360ms var(--thryl-ease);
}

.thryl-drawer.is-open,
.thryl-drawer[aria-hidden="false"] {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
  transition-delay: 0s;
}

.thryl-drawer__menu {
  display: grid;
  gap: 0;
}

.thryl-drawer__menu a,
.thryl-drawer .menu a,
.thryl-drawer .thryl-menu a {
  display: flex;
  padding-block: 0.8rem;
  border-bottom: 1px solid var(--thryl-border);
  align-items: center;
  justify-content: space-between;
  font-size: clamp(1.8rem, 9vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.thryl-drawer__meta {
  display: grid;
  margin-top: auto;
  padding-top: 3rem;
  color: var(--thryl-muted);
  gap: 0.5rem;
}

.thryl-drawer__head {
  display: flex;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--thryl-border);
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.thryl-drawer__title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.thryl-drawer__body {
  padding-block: 1rem;
}

.thryl-drawer--search,
[data-search-drawer] {
  position: fixed;
  z-index: 1250;
  top: var(--thryl-header-height);
  right: 0;
  left: 0;
  visibility: hidden;
  padding: clamp(1.25rem, 4vw, 2.5rem) var(--thryl-gutter);
  border-bottom: 1px solid var(--thryl-border);
  background: var(--thryl-charcoal);
  box-shadow: var(--thryl-shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-1rem);
  transition: visibility 0s linear 240ms, opacity 180ms ease, transform 240ms var(--thryl-ease);
}

.thryl-drawer--search.is-open,
.thryl-drawer--search[aria-hidden="false"],
[data-search-drawer].is-open,
[data-search-drawer][aria-hidden="false"] {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  transition-delay: 0s;
}

.thryl-drawer--search .thryl-search {
  position: static;
  display: block;
  visibility: visible;
  width: min(100%, var(--thryl-container));
  padding: 0;
  margin: 0 auto;
  background: transparent;
  box-shadow: none;
  opacity: 1;
  transform: none;
}

.thryl-search form,
.thryl-search-drawer form,
.woocommerce-product-search {
  position: relative;
  display: flex;
  width: min(100%, 60rem);
  margin-inline: auto;
  gap: 0.5rem;
}

.thryl-search input[type="search"],
.thryl-search-drawer input[type="search"],
.woocommerce-product-search input[type="search"] {
  width: 100%;
  min-height: 3.5rem;
  padding: 0.8rem 1rem;
  border: 0;
  border-bottom: 1px solid var(--thryl-border-light);
  border-radius: 0;
  background: transparent;
  color: var(--thryl-white);
  font-size: clamp(1.15rem, 4vw, 1.75rem);
}

.thryl-search input[type="search"]::placeholder,
.thryl-search-drawer input[type="search"]::placeholder {
  color: var(--thryl-muted);
}

.thryl-mobile-nav {
  position: fixed;
  z-index: 950;
  right: 0.75rem;
  bottom: max(0.75rem, env(safe-area-inset-bottom));
  left: 0.75rem;
  display: grid;
  height: var(--thryl-mobile-nav-height);
  border: 1px solid var(--thryl-border);
  border-radius: 0.75rem;
  background: rgba(20, 20, 20, 0.96);
  box-shadow: var(--thryl-shadow);
  backdrop-filter: blur(1rem);
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
}

.thryl-mobile-nav ul {
  display: grid;
  height: 100%;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
}

.thryl-mobile-nav a,
.thryl-mobile-nav button {
  display: flex;
  height: 100%;
  padding: 0.45rem 0.25rem;
  border: 0;
  background: transparent;
  color: var(--thryl-muted);
  align-items: center;
  flex-direction: column;
  font-size: 0.65rem;
  gap: 0.22rem;
  justify-content: center;
}

.thryl-mobile-nav > a,
.thryl-mobile-nav > button {
  min-width: 0;
}

.thryl-mobile-nav svg {
  width: 1.35rem;
  height: 1.35rem;
}

.thryl-mobile-nav a[aria-current="page"],
.thryl-mobile-nav .is-active {
  color: var(--thryl-white);
}

/* Buttons and shared controls */
.thryl-button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.wc-block-components-button,
.wp-element-button {
  display: inline-flex;
  min-height: 3.1rem;
  padding: 0.8rem 1.35rem;
  border: 1px solid var(--thryl-accent);
  border-radius: var(--thryl-radius-sm);
  background: var(--thryl-accent);
  box-shadow: none;
  color: var(--thryl-black);
  align-items: center;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 700;
  gap: 0.5rem;
  justify-content: center;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.thryl-button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.wc-block-components-button:hover,
.wp-element-button:hover {
  border-color: var(--thryl-muted);
  background: var(--thryl-white);
  color: var(--thryl-black);
  transform: translateY(-0.125rem);
}

.thryl-button:active,
.woocommerce a.button:active,
.woocommerce button.button:active,
.woocommerce input.button:active {
  transform: translateY(0) scale(0.98);
}

.thryl-button--dark,
.woocommerce .button.alt,
.woocommerce button.button.alt {
  border-color: var(--thryl-accent);
  background: var(--thryl-black);
  color: var(--thryl-white);
}

.thryl-button--light {
  border-color: var(--thryl-accent);
  background: var(--thryl-accent);
  color: var(--thryl-black);
}

.thryl-button--outline {
  border-color: var(--thryl-border-light);
  background: transparent;
  color: var(--thryl-white);
}

.thryl-button--outline:hover {
  border-color: var(--thryl-accent);
  background: transparent;
  color: var(--thryl-white);
}

.thryl-button--icon {
  position: relative;
  width: 3.1rem;
  min-width: 3.1rem;
  padding: 0;
}

.thryl-button[disabled],
.thryl-button[aria-disabled="true"],
.woocommerce button.button:disabled,
.woocommerce button.button.disabled,
.wc-block-components-button:disabled {
  border-color: var(--thryl-border);
  background: var(--thryl-card);
  color: var(--thryl-muted);
  cursor: not-allowed;
  opacity: 0.65;
  transform: none;
}

/* Homepage */
.thryl-hero {
  position: relative;
  display: grid;
  min-height: min(48rem, calc(100svh - var(--thryl-header-height)));
  overflow: hidden;
  background: var(--thryl-charcoal);
  isolation: isolate;
}

.thryl-hero__media,
.thryl-hero > picture {
  position: absolute;
  z-index: -2;
  inset: 0;
}

.thryl-hero__media img,
.thryl-hero > picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.thryl-hero::after {
  position: absolute;
  z-index: -1;
  inset: 35% 0 0;
  background: rgba(10, 10, 10, 0.7);
  content: "";
}

.thryl-hero__content {
  display: flex;
  width: min(100% - (2 * var(--thryl-gutter)), var(--thryl-container));
  margin-inline: auto;
  padding-block: clamp(4rem, 14vw, 8rem) calc(var(--thryl-mobile-nav-height) + 2rem + env(safe-area-inset-bottom));
  align-items: flex-start;
  align-self: end;
  flex-direction: column;
}

.thryl-eyebrow {
  margin-bottom: 0.9rem;
  color: var(--thryl-white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.thryl-hero__title {
  max-width: 12ch;
  margin-bottom: 1rem;
  font-size: clamp(2.8rem, 14vw, 8rem);
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 0.88;
  text-wrap: balance;
}

.thryl-hero__content h1 {
  max-width: 12ch;
  margin-bottom: 1rem;
  font-size: clamp(2.8rem, 14vw, 8rem);
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 0.88;
  text-wrap: balance;
}

.thryl-hero--no-image .thryl-hero__content {
  align-self: center;
}

.thryl-hero__copy {
  max-width: 34rem;
  margin-bottom: 1.5rem;
  color: var(--thryl-white);
  font-size: clamp(0.95rem, 2.5vw, 1.15rem);
}

.thryl-hero__countdown {
  width: min(84%, 22rem);
  min-width: min(18rem, 100%);
  padding: 0.78rem 0.8rem 0.72rem;
  margin-bottom: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--thryl-radius-sm);
  background: rgba(10, 10, 10, 0.76);
  color: var(--thryl-white);
}

.thryl-hero__countdown > p {
  margin: 0 0 0.58rem;
  font-size: clamp(0.56rem, 1.6vw, 0.66rem);
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.thryl-hero__countdown .thryl-countdown--hero {
  max-width: none;
  margin: 0;
  gap: 0.25rem;
}

.thryl-hero__countdown .thryl-countdown--hero > span {
  padding-block: 0.4rem 0.12rem;
  text-align: center;
}

.thryl-hero__countdown .thryl-countdown--hero > span strong {
  height: 1em;
  overflow: hidden;
  position: relative;
  font-size: clamp(1rem, 3.8vw, 1.5rem);
}

.thryl-hero__countdown .thryl-countdown--hero > span small {
  color: rgba(255, 255, 255, 0.76);
  margin-top: 0.28rem;
  font-size: 0.44rem;
  letter-spacing: 0.08em;
}

.thryl-countdown__digit {
  position: absolute;
  inset: 0;
  display: block;
  will-change: transform, opacity;
}

.thryl-countdown__digit--incoming {
  opacity: 0;
  transform: translateY(115%);
}

.is-rolling .thryl-countdown__digit--outgoing {
  animation: thryl-countdown-digit-out 460ms cubic-bezier(0.32, 0.72, 0, 1) forwards;
}

.is-rolling .thryl-countdown__digit--incoming {
  animation: thryl-countdown-digit-in 460ms cubic-bezier(0.32, 0.72, 0, 1) forwards;
}

@keyframes thryl-countdown-digit-out {
  to {
    opacity: 0;
    transform: translateY(-115%);
  }
}

@keyframes thryl-countdown-digit-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Keep the image-only carousel clear of the fallback text scrim. */
.thryl-hero--carousel::before,
.thryl-hero--carousel::after {
  display: none;
}

.thryl-hero__track,
.thryl-hero__slide {
  position: absolute;
  inset: 0;
}

.thryl-hero__track {
  z-index: 0;
}

.thryl-hero__slide {
  visibility: hidden;
  opacity: 0;
  transition: opacity 620ms var(--thryl-ease), visibility 0s linear 620ms;
}

.thryl-hero__slide.is-active {
  z-index: 1;
  visibility: visible;
  opacity: 1;
  transition-delay: 0s;
}

.thryl-hero__slide .thryl-hero__media {
  z-index: 0;
}

.thryl-hero__slide .thryl-hero__content {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  padding-top: 2rem;
  padding-bottom: calc(1rem + env(safe-area-inset-bottom));
  pointer-events: none;
}

.thryl-hero__slide .thryl-hero__content .thryl-button {
  pointer-events: auto;
}

.thryl-hero__controls {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: calc(1rem + env(safe-area-inset-bottom));
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.45rem;
  pointer-events: none;
}

.thryl-hero__dots button {
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(10, 10, 10, 0.7);
  color: var(--thryl-white);
  cursor: pointer;
  pointer-events: auto;
}

.thryl-hero__dots {
  display: flex;
  padding: 0.45rem 0.6rem;
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.7);
  gap: 0.4rem;
  pointer-events: auto;
}

.thryl-hero__dots button {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #777;
}

.thryl-hero__dots button[aria-current="true"] {
  background: var(--thryl-white);
}

.thryl-section {
  padding-block: clamp(3.75rem, 9vw, 8rem);
  overflow: hidden;
}

.thryl-empty {
  padding: clamp(2rem, 6vw, 4rem);
  border: 1px solid var(--thryl-border);
  border-radius: var(--thryl-radius-md);
  background: var(--thryl-charcoal);
  color: var(--thryl-muted);
  text-align: center;
}

.thryl-section--surface {
  background: var(--thryl-charcoal);
}

.thryl-section__head {
  display: grid;
  width: min(100% - (2 * var(--thryl-gutter)), var(--thryl-container));
  margin: 0 auto clamp(1.5rem, 4vw, 2.5rem);
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  grid-template-columns: minmax(0, 1fr) auto;
}

.thryl-section__head > div {
  min-width: 0;
}

.thryl-section__title {
  margin: 0;
  font-size: var(--thryl-heading-section);
  font-weight: 750;
  letter-spacing: 0.09em;
  line-height: 1.2;
  text-transform: uppercase;
}

.thryl-section__head h2 {
  margin: 0;
  font-size: var(--thryl-heading-section);
  font-weight: 750;
  letter-spacing: 0.09em;
  line-height: 1.2;
  text-transform: uppercase;
}

.thryl-section__link {
  flex: 0 0 auto;
  padding-bottom: 0.15rem;
  border-bottom: 1px solid var(--thryl-muted);
  color: var(--thryl-muted);
  font-size: clamp(0.68rem, 1.3vw, 0.76rem);
  font-weight: 650;
  letter-spacing: 0.065em;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
  transition: border-color 180ms ease, color 180ms ease;
}

.thryl-section__link:hover {
  border-color: var(--thryl-white);
  color: var(--thryl-white);
}

.thryl-text-link {
  display: inline-flex;
  flex: 0 0 auto;
  padding-bottom: 0.2rem;
  border-bottom: 1px solid var(--thryl-muted);
  color: var(--thryl-muted);
  align-items: center;
  font-size: clamp(0.64rem, 1.25vw, 0.72rem);
  font-weight: 650;
  gap: 0.45rem;
  letter-spacing: 0.06em;
  white-space: nowrap;
  text-transform: uppercase;
}

.thryl-text-link:hover {
  border-color: var(--thryl-white);
  color: var(--thryl-white);
}

.thryl-text-link svg {
  width: 1rem;
}

.thryl-product-rail,
.thryl-team-rail {
  display: grid;
  padding-inline: var(--thryl-gutter);
  padding-bottom: 1rem;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  gap: 0.75rem;
  grid-auto-flow: column;
  scroll-padding-inline: var(--thryl-gutter);
  scroll-snap-type: inline mandatory;
  scrollbar-color: var(--thryl-border-light) transparent;
  scrollbar-width: thin;
}

.thryl-product-rail {
  grid-auto-columns: min(79vw, 22rem);
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x pan-y;
}

.thryl-product-rail .thryl-product-card__media {
  touch-action: pan-x pan-y;
}

.thryl-team-rail {
  grid-auto-columns: min(86vw, 32rem);
}

.thryl-product-rail::after,
.thryl-team-rail::after {
  width: max(0.25rem, calc((100vw - var(--thryl-container)) / 2));
  content: "";
}

.thryl-product-card {
  position: relative;
  min-width: 0;
  scroll-snap-align: start;
}

.thryl-product-card__media {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--thryl-radius-md);
  background: var(--thryl-card);
  aspect-ratio: 4 / 5;
}

.thryl-product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--thryl-ease);
}

.thryl-product-card__image {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 320ms ease, transform 600ms var(--thryl-ease) !important;
}

.thryl-product-card__image:first-of-type,
.thryl-product-card__media.is-carousel-ready .thryl-product-card__image.is-active {
  opacity: 1;
}

.thryl-product-card__media.is-carousel-ready .thryl-product-card__image:not(.is-active) {
  opacity: 0;
}

.thryl-product-card__dots {
  position: absolute;
  z-index: 3;
  right: 0.75rem;
  bottom: 0.75rem;
  left: 0.75rem;
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  pointer-events: none;
}

.thryl-product-card__dot {
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  transition: width 240ms ease, background-color 240ms ease;
}

.thryl-product-card__dot.is-active {
  width: 1.25rem;
  background: var(--thryl-white);
}

.thryl-product-card:hover .thryl-product-card__media img,
.thryl-product-card:focus-within .thryl-product-card__media img {
  transform: scale(1.035);
}

.thryl-product-card__badge {
  position: absolute;
  z-index: 2;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.35rem 0.55rem;
  border-radius: 0.25rem;
  background: var(--thryl-black);
  color: var(--thryl-white);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.thryl-product-card__status {
  position: absolute;
  z-index: 2;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.35rem 0.55rem;
  border-radius: 0.25rem;
  background: var(--thryl-black);
  color: var(--thryl-white);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.thryl-product-card__save {
  position: absolute;
  z-index: 2;
  top: 0.65rem;
  right: 0.65rem;
  display: grid;
  width: 2.4rem;
  height: 2.4rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(10, 10, 10, 0.64);
  color: var(--thryl-white);
  cursor: pointer;
  place-items: center;
}

.thryl-product-card__body {
  position: relative;
  display: grid;
  padding: 0.8rem 0.1rem 0;
  gap: 0.2rem;
  grid-template-columns: minmax(0, 1fr) auto;
}

.thryl-product-card__title {
  margin: 0;
  overflow: hidden;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.thryl-product-card__title a::after {
  position: absolute;
  inset: 0;
  content: "";
}

.thryl-product-card__price,
.thryl-product-card .price {
  margin: 0;
  color: var(--thryl-muted);
  font-size: 0.85rem;
  font-weight: 500;
  grid-column: 1;
}

.thryl-product-card__price del,
.thryl-product-card .price del {
  margin-right: 0.35rem;
  opacity: 0.55;
}

.thryl-product-card__price ins,
.thryl-product-card .price ins {
  color: var(--thryl-white);
  text-decoration: none;
}

.thryl-product-card__colours {
  display: flex;
  padding: 0;
  margin: 0.45rem 0 0;
  list-style: none;
  gap: 0.3rem;
}

.thryl-product-card__colours li {
  min-width: 0;
}

.thryl-product-card__colour {
  display: block;
  max-width: 8rem;
  overflow: hidden;
  color: var(--thryl-muted);
  font-size: 0.65rem;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.thryl-product-card__actions {
  position: relative;
  z-index: 2;
  display: flex;
  grid-area: 1 / 2 / 3 / 3;
  align-items: center;
}

.thryl-product-card__actions .button,
.thryl-product-card__quick-add {
  display: grid;
  width: 2.5rem;
  min-width: 2.5rem;
  height: 2.5rem;
  min-height: 2.5rem;
  padding: 0;
  border-color: var(--thryl-border);
  border-radius: 50%;
  background: transparent;
  color: var(--thryl-white);
  font-size: 0;
  place-items: center;
}

.thryl-product-card__actions .added_to_cart {
  display: none;
}

.thryl-product-card__actions .button::before {
  content: "+";
  font-size: 1.45rem;
  font-weight: 300;
  line-height: 1;
}

.thryl-card-quantity {
  display: grid;
  min-width: 7.25rem;
  min-height: 2.5rem;
  overflow: hidden;
  border: 1px solid #696969;
  border-radius: 999px;
  background: var(--thryl-black);
  align-items: center;
  grid-template-columns: 2.5rem minmax(2rem, 1fr) 2.5rem;
}

.thryl-card-quantity[hidden] {
  display: none !important;
}

.thryl-product-card__actions .button[hidden] {
  display: none !important;
}

.thryl-card-quantity__button {
  width: 2.5rem;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--thryl-white);
  font-size: 1.15rem;
  cursor: pointer;
}

.thryl-card-quantity__button:hover,
.thryl-card-quantity__button:focus-visible {
  background: var(--thryl-card);
}

.thryl-card-quantity__value {
  color: var(--thryl-white);
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
}

.thryl-card-quantity.is-busy {
  opacity: 0.6;
}

/* WooCommerce-driven editorial Lookbook. */
.thryl-section--lookbook {
  border-block: 1px solid var(--thryl-border);
  background: var(--thryl-black);
}

.thryl-lookbook__head {
  display: flex;
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.thryl-lookbook__head h2 {
  display: flex;
  margin: 0;
  align-items: center;
  color: var(--thryl-white);
  font-size: clamp(0.72rem, 1.5vw, 0.9rem);
  font-weight: 600;
  letter-spacing: 0.32em;
  line-height: 1.2;
  text-transform: uppercase;
}

.thryl-lookbook__head h2::before {
  width: 2rem;
  height: 1px;
  margin-right: 0.9rem;
  background: var(--thryl-white);
  content: "";
}

.thryl-lookbook__toggle {
  display: none;
  width: 2.75rem;
  min-width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--thryl-border-light);
  border-radius: 50%;
  background: var(--thryl-card);
  color: var(--thryl-white);
  cursor: pointer;
  place-items: center;
}

.thryl-lookbook__toggle .thryl-icon {
  width: 1rem;
}

.thryl-lookbook__toggle [hidden] {
  display: none;
}

.thryl-lookbook__viewport {
  width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.thryl-lookbook__viewport::-webkit-scrollbar {
  display: none;
}

.thryl-lookbook__track,
.thryl-lookbook__group {
  display: flex;
  width: max-content;
  gap: clamp(0.75rem, 1.6vw, 1.25rem);
}

.thryl-lookbook__track {
  padding-inline: var(--thryl-gutter);
}

.thryl-lookbook__item {
  display: block;
  width: clamp(16rem, 72vw, 35rem);
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid var(--thryl-border);
  border-radius: var(--thryl-radius-md);
  background: var(--thryl-card);
  aspect-ratio: 4 / 5;
}

.thryl-lookbook__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 650ms var(--thryl-ease);
}

.thryl-lookbook__item:hover .thryl-lookbook__image,
.thryl-lookbook__item:focus-visible .thryl-lookbook__image {
  transform: scale(1.07);
}

.thryl-category-grid,
.thryl-products,
.woocommerce ul.products {
  display: grid;
  width: min(100% - (2 * var(--thryl-gutter)), var(--thryl-container));
  padding: 0;
  margin: 0 auto;
  gap: clamp(1.5rem, 3vw, 2.5rem) 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
}

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

.woocommerce ul.products li.product {
  float: none;
  width: auto;
  padding: 0;
  margin: 0;
}

.thryl-category-card {
  position: relative;
  display: flex;
  min-height: clamp(15rem, 58vw, 26rem);
  padding: 1rem;
  overflow: hidden;
  border-radius: var(--thryl-radius-md);
  background: var(--thryl-card);
  align-items: end;
  isolation: isolate;
}

.thryl-category-card__media,
.thryl-category-card > img {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--thryl-ease);
}

.thryl-category-card::after {
  position: absolute;
  z-index: -1;
  right: 0;
  bottom: 0;
  left: 0;
  height: 42%;
  background: rgba(10, 10, 10, 0.64);
  content: "";
}

.thryl-category-card:hover .thryl-category-card__media,
.thryl-category-card:hover > img {
  transform: scale(1.04);
}

.thryl-category-card__title {
  margin: 0;
  font-size: clamp(1.05rem, 4vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -0.035em;
}

.thryl-category-card__name {
  margin-right: auto;
  font-size: clamp(1.05rem, 4vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -0.035em;
}

.thryl-category-card > .thryl-icon {
  width: 1.25rem;
  flex: 0 0 auto;
}

.thryl-category-card__count {
  color: #d1d1d1;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.thryl-team-card {
  position: relative;
  display: flex;
  min-height: 13rem;
  padding: clamp(1.25rem, 4vw, 2rem);
  overflow: hidden;
  border: 1px solid var(--thryl-border);
  border-radius: var(--thryl-radius-md);
  background: var(--thryl-card);
  align-items: end;
  isolation: isolate;
  scroll-snap-align: start;
}

.thryl-team-card__media,
.thryl-team-card > img {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thryl-team-card::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: rgba(10, 10, 10, 0.72);
  content: "";
}

.thryl-team-card__content {
  max-width: 72%;
}

.thryl-team-card__title {
  margin-bottom: 0.25rem;
  font-size: clamp(1.35rem, 6vw, 2.5rem);
  font-weight: 750;
  letter-spacing: -0.045em;
  line-height: 1;
  text-transform: uppercase;
}

.thryl-team-card__copy {
  margin: 0;
  color: #d6d6d6;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.thryl-team-card__content strong,
.thryl-team-card__content span {
  display: block;
}

.thryl-team-card__content strong {
  font-size: clamp(1.35rem, 6vw, 2.5rem);
  font-weight: 750;
  letter-spacing: -0.045em;
  line-height: 1;
  text-transform: uppercase;
}

.thryl-team-card__content span {
  margin-top: 0.35rem;
  color: #d6d6d6;
  font-size: 0.78rem;
}

.thryl-team-card > .thryl-icon {
  width: 1.4rem;
  margin-left: auto;
}

.thryl-upcoming {
  position: relative;
  display: grid;
  width: min(100% - (2 * var(--thryl-gutter)), var(--thryl-container));
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid var(--thryl-border);
  border-radius: var(--thryl-radius-md);
  background: var(--thryl-card);
}

.thryl-upcoming__media {
  display: block;
  min-height: clamp(20rem, 90vw, 34rem);
  overflow: hidden;
  background: var(--thryl-charcoal);
}

.thryl-upcoming__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--thryl-ease);
}

.thryl-upcoming__media:hover img {
  transform: scale(1.025);
}

.thryl-upcoming__content {
  display: flex;
  padding: clamp(1.5rem, 7vw, 4rem);
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
}

.thryl-upcoming__content h3 {
  max-width: 16ch;
  margin-bottom: 0.75rem;
  font-size: clamp(1.75rem, 8vw, 4.5rem);
  font-weight: 750;
  letter-spacing: -0.05em;
  line-height: 0.95;
}

.thryl-upcoming__content time {
  margin-bottom: 1.5rem;
  color: var(--thryl-muted);
  font-size: 0.78rem;
}

.thryl-countdown {
  position: relative;
  display: grid;
  width: 100%;
  max-width: 34rem;
  margin-bottom: 1.5rem;
  gap: 0.5rem;
  grid-template-columns: repeat(4, 1fr);
}

.thryl-countdown > span,
.thryl-countdown__unit {
  min-width: 0;
  padding-block: 0.65rem;
  border-top: 1px solid rgba(255, 255, 255, 0.45);
}

.thryl-countdown > span strong,
.thryl-countdown__value {
  display: block;
  font-size: clamp(1.35rem, 6vw, 2.75rem);
  font-variant-numeric: tabular-nums;
  font-weight: 650;
  letter-spacing: -0.05em;
  line-height: 1;
}

.thryl-countdown > span small,
.thryl-countdown__label {
  display: block;
  margin-top: 0.3rem;
  color: #d5d5d5;
  font-size: 0.58rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.thryl-countdown.is-expired {
  opacity: 0.6;
}

.thryl-notify-form {
  display: flex;
  width: min(100%, 28rem);
  flex-wrap: wrap;
  gap: 0.5rem;
}

.thryl-notify-form input[type="email"] {
  min-width: 0;
  flex: 1;
}

.thryl-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
}

.thryl-form-status,
.thryl-notify-form__message {
  width: 100%;
  flex-basis: 100%;
  margin-top: 0.65rem;
  margin-bottom: 0;
  color: var(--thryl-muted);
  font-size: 0.8rem;
}

.thryl-form-status.is-success,
.thryl-notify-form__message.is-success {
  color: var(--thryl-success);
}

.thryl-form-status.is-error,
.thryl-notify-form__message.is-error {
  color: var(--thryl-error);
}

/* Reveals become animated only after JavaScript opts in. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 650ms var(--thryl-ease), transform 650ms var(--thryl-ease);
  transition-delay: var(--thryl-reveal-delay, 0ms);
}

.js [data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Shop and archives */
.thryl-page-head,
.woocommerce-products-header {
  width: min(100% - (2 * var(--thryl-gutter)), var(--thryl-container));
  padding-block: clamp(3rem, 9vw, 7rem) clamp(1.75rem, 5vw, 3.5rem);
  margin-inline: auto;
}

.thryl-page-header,
.thryl-catalog__header {
  padding-block: clamp(2.5rem, 8vw, 6rem) clamp(1.5rem, 4vw, 3rem);
}

.thryl-page-header h1,
.thryl-catalog__header h1 {
  max-width: 16ch;
  margin: 0;
  font-size: var(--thryl-heading-page);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.96;
}

.thryl-page-header__description {
  max-width: 42rem;
  margin-top: 1.25rem;
  color: var(--thryl-muted);
}

.thryl-content-grid {
  display: grid;
  padding-bottom: clamp(3rem, 8vw, 7rem);
  gap: 2rem 1rem;
}

.thryl-entry {
  min-width: 0;
}

.thryl-entry__media {
  display: block;
  margin-bottom: 1rem;
  overflow: hidden;
  border-radius: var(--thryl-radius-md);
  background: var(--thryl-card);
  aspect-ratio: 16 / 10;
}

.thryl-entry__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms var(--thryl-ease);
}

.thryl-entry:hover .thryl-entry__media img {
  transform: scale(1.025);
}

.thryl-entry__header h1,
.thryl-entry__header h2 {
  margin-bottom: 0.35rem;
  font-size: clamp(1.25rem, 5vw, 2rem);
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.thryl-entry__header time {
  color: var(--thryl-muted);
  font-size: 0.72rem;
}

.thryl-entry__content {
  margin-top: 0.85rem;
  color: var(--thryl-muted);
  font-size: 0.9rem;
}

.thryl-single {
  width: min(100% - (2 * var(--thryl-gutter)), 58rem);
  padding-block: clamp(3rem, 8vw, 7rem);
}

.thryl-empty-page {
  display: grid;
  min-height: 70vh;
  padding-block: 3rem;
  place-items: center;
}

.thryl-empty-page .thryl-empty {
  width: min(100%, 42rem);
}

.thryl-empty h1,
.thryl-empty h2 {
  margin-bottom: 0.75rem;
  font-size: clamp(2rem, 8vw, 4rem);
  letter-spacing: -0.05em;
  line-height: 0.95;
}

.thryl-empty .thryl-button {
  margin-top: 1.25rem;
}

.thryl-search-form {
  display: flex;
  width: 100%;
  margin-top: 1.25rem;
  gap: 0.5rem;
}

.thryl-search-form__field {
  min-width: 0;
  flex: 1;
}

.thryl-breadcrumb {
  color: var(--thryl-muted);
}

.thryl-entry-content {
  padding-bottom: clamp(3rem, 8vw, 7rem);
}

.thryl-page-head__title,
.woocommerce-products-header__title,
.page-title {
  max-width: 16ch;
  margin: 0;
  font-size: clamp(2.3rem, 10vw, 6.5rem);
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 0.92;
}

.term-description,
.thryl-page-head__copy {
  max-width: 42rem;
  margin-top: 1.25rem;
  color: var(--thryl-muted);
}

.thryl-shop-toolbar,
.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering {
  color: var(--thryl-muted);
  font-size: 0.82rem;
}

.thryl-shop-toolbar {
  display: flex;
  width: min(100% - (2 * var(--thryl-gutter)), var(--thryl-container));
  margin: 0 auto 1.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.thryl-catalog__toolbar {
  display: flex;
  margin-bottom: 1.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.thryl-catalog__toolbar .woocommerce-notices-wrapper {
  flex-basis: 100%;
}

.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering {
  float: none;
  margin: 0;
}

.woocommerce .woocommerce-ordering select,
.thryl-shop-toolbar select {
  min-height: 2.75rem;
  padding: 0.5rem 2.3rem 0.5rem 0.8rem;
  border: 1px solid #696969;
  border-radius: var(--thryl-radius-sm);
  background-color: var(--thryl-charcoal);
  color: var(--thryl-white);
}

.thryl-products,
.woocommerce ul.products {
  margin-bottom: clamp(4rem, 9vw, 8rem);
}

.thryl-catalog .thryl-products {
  width: 100%;
}

.woocommerce ul.products li.product a img {
  width: 100%;
  margin: 0;
  border-radius: var(--thryl-radius-md);
  background: var(--thryl-card);
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  padding: 0.75rem 0 0;
  margin: 0;
  color: var(--thryl-white);
  font-size: 0.92rem;
  font-weight: 600;
}

.woocommerce ul.products li.product .price {
  margin-top: 0.2rem;
  color: var(--thryl-muted);
  font-size: 0.85rem;
}

.woocommerce span.onsale,
.thryl-product-card span.onsale {
  position: absolute;
  z-index: 3;
  top: 0.7rem;
  right: auto;
  left: 0.7rem;
  min-width: auto;
  min-height: auto;
  padding: 0.35rem 0.55rem;
  border-radius: 0.25rem;
  background: var(--thryl-black);
  color: var(--thryl-white);
  font-size: 0.65rem;
  line-height: 1.2;
}

.woocommerce nav.woocommerce-pagination {
  margin-block: 3rem 5rem;
}

.woocommerce nav.woocommerce-pagination ul {
  display: flex;
  border: 0;
  gap: 0.35rem;
}

.woocommerce nav.woocommerce-pagination ul li {
  border: 0;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--thryl-border);
  border-radius: 50%;
  background: transparent;
  color: var(--thryl-muted);
  place-items: center;
}

.woocommerce nav.woocommerce-pagination ul li span.current,
.woocommerce nav.woocommerce-pagination ul li a:hover {
  background: var(--thryl-white);
  color: var(--thryl-black);
}

/* Product detail */
.thryl-pdp,
.single-product div.product {
  width: min(100%, var(--thryl-container));
  margin-inline: auto;
}

.thryl-product-page {
  padding-bottom: clamp(3rem, 8vw, 7rem);
}

.thryl-product-page > .woocommerce-breadcrumb {
  padding-block: 1rem;
}

.thryl-pdp__layout {
  display: grid;
}

.thryl-pdp__details {
  display: contents;
}

.thryl-pdp__gallery,
.single-product div.product .woocommerce-product-gallery {
  width: 100%;
  margin: 0;
  float: none;
}

.thryl-gallery,
.woocommerce div.product div.images.thryl-gallery {
  position: relative;
  width: 100%;
  margin: 0;
  float: none;
}

.thryl-gallery__track {
  display: grid;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  scroll-snap-type: inline mandatory;
  scrollbar-width: none;
}

.thryl-pdp__gallery .woocommerce-product-gallery {
  width: 100% !important;
  margin: 0 !important;
  opacity: 1 !important;
  float: none !important;
}

.thryl-pdp__gallery .woocommerce-product-gallery__wrapper {
  display: grid;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  gap: 0.25rem;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  scroll-snap-type: inline mandatory;
  scrollbar-width: none;
}

.thryl-pdp__gallery .woocommerce-product-gallery__wrapper::-webkit-scrollbar {
  display: none;
}

.thryl-pdp__gallery .woocommerce-product-gallery__image {
  display: block !important;
  width: 100% !important;
  min-width: 0;
  margin: 0;
  scroll-snap-align: start;
}

.thryl-pdp__gallery .woocommerce-product-gallery__wrapper > div,
.thryl-pdp__gallery .woocommerce-product-gallery__wrapper > figure {
  display: block !important;
  width: 100% !important;
}

.thryl-gallery__track::-webkit-scrollbar {
  display: none;
}

.thryl-gallery__slide {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: transparent;
  aspect-ratio: 4 / 5;
  scroll-snap-align: start;
}

.thryl-gallery__slide a {
  display: block;
  width: 100%;
  height: 100%;
}

.thryl-gallery__image,
.thryl-gallery__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thryl-gallery__count {
  position: absolute;
  z-index: 3;
  right: 0.75rem;
  bottom: 0.75rem;
  padding: 0.3rem 0.5rem;
  margin: 0;
  border-radius: 0.25rem;
  background: rgba(10, 10, 10, 0.72);
  color: var(--thryl-white);
  font-size: 0.68rem;
  font-variant-numeric: tabular-nums;
}

.thryl-pdp__gallery-grid,
.woocommerce-product-gallery__wrapper {
  display: grid;
  gap: 0.25rem;
}

.thryl-pdp__gallery-item,
.woocommerce-product-gallery__image {
  overflow: hidden;
  background: transparent;
  aspect-ratio: 4 / 5;
}

.thryl-pdp__gallery-item img,
.woocommerce-product-gallery__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.thryl-pdp__summary,
.single-product div.product .summary {
  width: auto;
  padding: clamp(1.25rem, 5vw, 3rem) var(--thryl-gutter) 3rem;
  margin: 0;
  float: none;
  background: var(--thryl-charcoal);
}

.thryl-pdp__teams {
  display: flex;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.thryl-pdp__teams a {
  padding: 0.3rem 0.5rem;
  border: 1px solid var(--thryl-border-light);
  border-radius: 0.25rem;
  color: var(--thryl-muted);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.thryl-pdp__rating,
.thryl-pdp .woocommerce-product-rating {
  display: flex;
  margin-bottom: 1rem;
  color: var(--thryl-muted);
  align-items: center;
  font-size: 0.75rem;
  gap: 0.6rem;
}

.thryl-pdp__intro,
.thryl-pdp .woocommerce-product-details__short-description {
  margin-bottom: 1.25rem;
  color: var(--thryl-muted);
  font-size: 0.86rem;
}

.thryl-pdp__breadcrumb,
.woocommerce .woocommerce-breadcrumb {
  margin-bottom: 1.25rem;
  color: var(--thryl-muted);
  font-size: 0.72rem;
  letter-spacing: 0.02em;
}

.thryl-pdp__title,
.thryl-pdp .product_title,
.single-product div.product .product_title {
  margin-bottom: 0.45rem;
  font-size: clamp(1.7rem, 7vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.thryl-pdp__price,
.thryl-pdp p.price,
.thryl-pdp span.price,
.single-product div.product p.price,
.single-product div.product span.price {
  margin-bottom: 1.5rem;
  color: var(--thryl-muted);
  font-size: 1rem;
  font-weight: 500;
}

.thryl-pdp__price ins,
.thryl-pdp p.price ins,
.thryl-pdp span.price ins,
.single-product div.product p.price ins,
.single-product div.product span.price ins {
  color: var(--thryl-white);
  text-decoration: none;
}

.thryl-pdp form.cart,
.single-product div.product form.cart {
  margin-bottom: 1.5rem;
}

.thryl-pdp form.cart .variations,
.woocommerce div.product form.cart .variations {
  margin-bottom: 1.25rem;
}

.thryl-pdp form.cart .variations tbody,
.thryl-pdp form.cart .variations tr,
.thryl-pdp form.cart .variations th,
.thryl-pdp form.cart .variations td,
.woocommerce div.product form.cart .variations tbody,
.woocommerce div.product form.cart .variations tr,
.woocommerce div.product form.cart .variations th,
.woocommerce div.product form.cart .variations td {
  display: block;
  width: 100%;
}

.thryl-pdp form.cart .variations tr + tr,
.woocommerce div.product form.cart .variations tr + tr {
  margin-top: 1.25rem;
}

.thryl-pdp form.cart .variations label,
.woocommerce div.product form.cart .variations label,
.thryl-variation-chips__label {
  display: block;
  margin-bottom: 0.6rem;
  color: var(--thryl-white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.thryl-pdp form.cart .variations select,
.woocommerce div.product form.cart .variations select,
.thryl-variation-chips select {
  width: 100%;
  min-height: 3rem;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--thryl-border-light);
  border-radius: var(--thryl-radius-sm);
  background: var(--thryl-card);
  color: var(--thryl-white);
}

.variations_form.is-thryl-enhanced .variations {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.thryl-variation-chips.is-enhanced select {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
}

.thryl-native-variation-select {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.thryl-variation-chips__options,
[data-variation-options] {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.thryl-variation-chips__group + .thryl-variation-chips__group {
  margin-top: 1.15rem;
}

.thryl-variation-chips__clear {
  display: inline-block;
  padding: 0;
  margin-top: 1rem;
  border: 0;
  border-bottom: 1px solid currentcolor;
  background: transparent;
  color: var(--thryl-muted);
  cursor: pointer;
  font-size: 0.72rem;
  text-underline-offset: 0.2rem;
}

.thryl-variation-chips__clear:hover {
  color: var(--thryl-white);
}

.thryl-variation-chips__clear[hidden] {
  display: none;
}

.thryl-variation-chip {
  position: relative;
  display: inline-flex;
  min-width: 3.5rem;
  min-height: 2.8rem;
  padding: 0.6rem 0.9rem;
  border: 1px solid var(--thryl-border-light);
  border-radius: var(--thryl-radius-sm);
  background: transparent;
  color: var(--thryl-white);
  align-items: center;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 650;
  justify-content: center;
  line-height: 1;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, opacity 160ms ease;
}

.thryl-variation-chip:hover {
  border-color: var(--thryl-white);
}

.thryl-variation-chip.is-selected,
.thryl-variation-chip[aria-pressed="true"] {
  border-color: var(--thryl-accent);
  background: var(--thryl-accent);
  color: var(--thryl-black);
}

.thryl-variation-chip.is-unavailable,
.thryl-variation-chip[disabled] {
  color: #6c6c6c;
  cursor: not-allowed;
  opacity: 0.55;
  text-decoration: line-through;
}

.thryl-variation-chip--swatch {
  width: 2.8rem;
  min-width: 2.8rem;
  padding: 0.35rem;
  border-radius: 50%;
}

.thryl-variation-chip--swatch::before {
  width: 1.55rem;
  height: 1.55rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: var(--thryl-swatch, var(--thryl-muted));
  content: "";
}

.thryl-variation-chip--swatch.is-selected {
  background: transparent;
  box-shadow: inset 0 0 0 0.125rem var(--thryl-white);
}

.thryl-pdp form.cart .reset_variations,
.woocommerce div.product form.cart .reset_variations {
  display: inline-block;
  margin-top: 0.65rem;
  color: var(--thryl-muted);
  font-size: 0.72rem;
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

.thryl-purchase {
  display: grid;
  gap: 0.6rem;
}

.thryl-purchase > *,
.thryl-purchase > form.cart {
  grid-column: 1 / -1;
}

.thryl-purchase .quantity,
.thryl-pdp form.cart div.quantity,
.woocommerce div.product form.cart div.quantity {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 0.65rem;
}

.thryl-purchase-form__quantity {
  display: flex;
  margin-bottom: 0.8rem;
  align-items: center;
  gap: 0.75rem;
}

.thryl-purchase-form__quantity label {
  color: var(--thryl-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.thryl-purchase-form__actions {
  display: grid;
  width: 100%;
  gap: 0.55rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.thryl-purchase-form__actions .thryl-button {
  width: 100%;
  min-width: 0;
}

.single_variation_wrap .woocommerce-variation {
  margin-bottom: 0.75rem;
}

.single_variation_wrap .woocommerce-variation-description {
  color: var(--thryl-muted);
  font-size: 0.8rem;
}

.woocommerce .quantity .qty {
  width: 4.25rem;
  min-height: 2.9rem;
  border: 1px solid var(--thryl-border-light);
  border-radius: var(--thryl-radius-sm);
  background: var(--thryl-card);
  color: var(--thryl-white);
}

.thryl-purchase .thryl-button,
.thryl-pdp form.cart .button,
.woocommerce div.product form.cart .button {
  width: 100%;
  min-height: 3.5rem;
}

.woocommerce-variation-availability,
.stock {
  color: var(--thryl-muted);
  font-size: 0.8rem;
}

.stock.out-of-stock {
  color: var(--thryl-error);
}

.thryl-pdp__meta,
.product_meta {
  padding-top: 1.5rem;
  border-top: 1px solid var(--thryl-border);
  color: var(--thryl-muted);
  font-size: 0.72rem;
  line-height: 1.8;
}

.thryl-pdp__information {
  min-width: 0;
  padding: 0 var(--thryl-gutter) clamp(3rem, 8vw, 6rem);
}

.thryl-pdp__assurances {
  display: grid;
  width: 100%;
  padding: clamp(1.1rem, 3vw, 1.75rem) var(--thryl-gutter);
  overflow-x: auto;
  border-block: 1px solid var(--thryl-border);
  background: var(--thryl-black);
  grid-auto-columns: max-content;
  grid-auto-flow: column;
  grid-column: 1 / -1;
  gap: clamp(1.5rem, 5vw, 4rem);
  scrollbar-width: none;
}

.thryl-pdp__assurances::-webkit-scrollbar {
  display: none;
}

.thryl-pdp__assurances > span {
  display: inline-flex;
  color: var(--thryl-muted);
  align-items: center;
  gap: 0.55rem;
  white-space: nowrap;
}

.thryl-pdp__assurances .thryl-icon {
  width: 1.15rem;
  height: 1.15rem;
  color: var(--thryl-success);
  flex: 0 0 auto;
}

.thryl-pdp__assurances strong {
  font-size: clamp(0.6rem, 1.5vw, 0.72rem);
  font-weight: 600;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.product_meta > span {
  display: block;
}

.thryl-accordion,
.woocommerce-tabs {
  margin-top: 2rem;
  border-top: 1px solid var(--thryl-border);
}

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

.thryl-accordion__trigger {
  display: flex;
  width: 100%;
  min-height: 3.7rem;
  padding: 0.8rem 0;
  border: 0;
  background: transparent;
  color: var(--thryl-white);
  align-items: center;
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 650;
  justify-content: space-between;
  text-align: left;
}

.thryl-accordion__trigger::after {
  display: none;
  content: "";
}

.thryl-accordion__trigger[aria-expanded="true"]::after {
  content: "";
}

.thryl-accordion__heading {
  margin: 0;
}

.thryl-accordion__trigger .thryl-icon {
  width: 1.2rem;
  height: 1.2rem;
  flex: 0 0 auto;
  transition: transform 220ms var(--thryl-ease);
}

.thryl-accordion__trigger[aria-expanded="true"] .thryl-icon {
  transform: rotate(180deg);
}

.thryl-accordion__panel {
  padding: 0 0 1.25rem;
  color: var(--thryl-muted);
  font-size: 0.88rem;
}

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

.thryl-pdp .woocommerce-tabs ul.tabs,
.woocommerce div.product .woocommerce-tabs ul.tabs {
  display: flex;
  padding: 0;
  margin: 0;
  overflow-x: auto;
  border-bottom: 1px solid var(--thryl-border);
  gap: 1.25rem;
}

.thryl-pdp .woocommerce-tabs ul.tabs::before,
.thryl-pdp .woocommerce-tabs ul.tabs li::before,
.thryl-pdp .woocommerce-tabs ul.tabs li::after,
.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after {
  display: none;
}

.thryl-pdp .woocommerce-tabs ul.tabs li,
.woocommerce div.product .woocommerce-tabs ul.tabs li {
  padding: 0;
  border: 0;
  margin: 0;
  background: transparent;
}

.thryl-pdp .woocommerce-tabs ul.tabs li a,
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  padding: 1rem 0;
  color: var(--thryl-muted);
  font-size: 0.78rem;
  white-space: nowrap;
}

.thryl-pdp .woocommerce-tabs ul.tabs li.active a,
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
  border-bottom: 1px solid var(--thryl-white);
  color: var(--thryl-white);
}

.thryl-pdp .woocommerce-tabs .panel,
.woocommerce div.product .woocommerce-tabs .panel {
  padding-block: 1.25rem;
  color: var(--thryl-muted);
  font-size: 0.9rem;
}

.thryl-sticky-purchase {
  position: fixed;
  z-index: 900;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  padding: 0.65rem max(0.75rem, env(safe-area-inset-right)) max(0.65rem, env(safe-area-inset-bottom)) max(0.75rem, env(safe-area-inset-left));
  border-top: 1px solid var(--thryl-border);
  background: rgba(10, 10, 10, 0.96);
  box-shadow: 0 -0.75rem 2.5rem rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(1rem);
  gap: 0.5rem;
  grid-template-columns: minmax(4.75rem, auto) 1fr 1fr;
}

.thryl-sticky-purchase[hidden] {
  display: none !important;
}

.thryl-sticky-purchase__price {
  display: flex;
  min-width: 0;
  color: var(--thryl-white);
  align-items: center;
  font-size: 0.82rem;
  font-weight: 700;
}

.thryl-sticky-purchase .thryl-button {
  min-height: 2.9rem;
  padding-inline: 0.7rem;
  font-size: 0.68rem;
}

.thryl-sticky-purchase--external .thryl-button {
  grid-column: 2 / -1;
}

/* Forms, notices and Woo account UI */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="number"],
input[type="search"],
input[type="url"],
textarea,
select,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.wc-block-components-text-input input,
.wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input {
  width: 100%;
  min-height: 3.25rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid #696969;
  border-radius: var(--thryl-radius-sm);
  background: var(--thryl-charcoal);
  box-shadow: none;
  color: var(--thryl-white);
}

textarea,
.woocommerce form .form-row textarea {
  min-height: 8rem;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: var(--thryl-muted);
}

input:focus:not(:focus-visible),
textarea:focus:not(:focus-visible),
select:focus:not(:focus-visible) {
  border-color: var(--thryl-muted);
  outline: none;
}

input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  border-color: var(--thryl-white);
  outline: 0.125rem solid var(--thryl-accent);
  outline-offset: 0.2rem;
}

.select2-container--default .select2-selection--single {
  height: 3.25rem;
  border-color: #696969;
  border-radius: var(--thryl-radius-sm);
  background: var(--thryl-charcoal);
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  color: var(--thryl-white);
  line-height: 3.2rem;
}

.select2-dropdown,
.select2-container--default .select2-results__option[aria-selected="true"] {
  border-color: var(--thryl-border);
  background: var(--thryl-charcoal);
  color: var(--thryl-white);
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background: var(--thryl-white);
  color: var(--thryl-black);
}

.woocommerce-error,
.woocommerce-info,
.woocommerce-message,
.wc-block-components-notice-banner {
  width: min(100% - (2 * var(--thryl-gutter)), var(--thryl-container));
  padding: 1rem 1rem 1rem 1.25rem;
  margin: 1rem auto;
  border: 1px solid var(--thryl-border);
  border-top: 1px solid var(--thryl-border);
  border-radius: var(--thryl-radius-sm);
  background: var(--thryl-card);
  color: var(--thryl-white);
}

.woocommerce-error::before,
.woocommerce-info::before,
.woocommerce-message::before {
  display: none;
}

.woocommerce-message .button,
.woocommerce-info .button {
  min-height: auto;
  padding: 0.35rem 0.6rem;
}

/* Compact WooCommerce feedback toasts that do not alter page layout. */
.woocommerce-notices-wrapper:empty {
  display: none;
}

.thryl-toast-region {
  position: fixed;
  z-index: 12000;
  top: calc(var(--thryl-header-height) + 0.75rem);
  right: auto;
  left: 50%;
  display: grid;
  width: min(30rem, calc(100vw - 1.5rem));
  gap: 0.5rem;
  pointer-events: none;
  transform: translateX(-50%);
}

.thryl-toast {
  position: relative;
  display: block;
  min-height: 3rem;
  overflow: hidden;
  border: 1px solid var(--thryl-border);
  border-radius: 0.65rem;
  background: #171717;
  box-shadow: 0 0.75rem 2rem rgb(0 0 0 / 0.32);
  opacity: 0;
  pointer-events: auto;
  transform: translateY(-0.5rem);
  transition: opacity 180ms ease, transform 180ms ease;
}

.thryl-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.thryl-toast.is-leaving {
  opacity: 0;
  transform: translateY(-0.35rem);
}

.thryl-toast.is-success {
  border-color: #55a86f;
}

.thryl-toast.is-info {
  border-color: #6e91c9;
}

.thryl-toast.is-error {
  border-color: #e5484d;
}

.thryl-toast .woocommerce-message,
.thryl-toast .woocommerce-info,
.thryl-toast .woocommerce-error {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: auto;
  min-width: 0;
  min-height: 3.25rem;
  padding: 0.75rem 2.75rem 0.75rem 1rem;
  margin: 0;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  color: var(--thryl-white) !important;
  font-size: 0.8125rem;
  line-height: 1.4;
  text-align: center;
}

.thryl-toast .woocommerce-error {
  display: block;
  list-style: none;
  text-align: left;
}

.thryl-toast .button {
  flex: 0 0 auto;
  float: none;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: inherit;
  line-height: 1.25;
  white-space: nowrap;
  text-decoration: underline;
}

.thryl-toast__close {
  position: absolute;
  top: 50%;
  right: 0.35rem;
  display: grid;
  width: 2rem;
  height: 2rem;
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 0 !important;
  border-radius: 50%;
  color: var(--thryl-muted);
  background: transparent !important;
  box-shadow: none !important;
  font-size: 1.15rem;
  line-height: 1;
  appearance: none;
  place-items: center;
  transform: translateY(-50%);
}

.thryl-toast__close:hover,
.thryl-toast__close:focus-visible {
  color: var(--thryl-white);
  background: rgb(255 255 255 / 0.06);
}


/* Keep classic and Blocks checkout notices legible in the dark storefront. */
.woocommerce-error,
.woocommerce-info,
.woocommerce-message,
.wc-block-components-notice-banner,
.wc-block-components-notice-banner.is-error,
.wc-block-components-notice-banner.is-info,
.wc-block-components-notice-banner.is-success,
.wc-block-components-notice-banner.is-warning {
  box-sizing: border-box;
  background: #171717 !important;
  color: #fff !important;
}

.woocommerce-error,
.wc-block-components-notice-banner.is-error {
  border-color: #e5484d !important;
  background: #261214 !important;
}

.woocommerce-info,
.wc-block-components-notice-banner.is-info {
  border-color: #6e91c9 !important;
  background: #121b28 !important;
}

.woocommerce-message,
.wc-block-components-notice-banner.is-success {
  border-color: #55a86f !important;
  background: #122117 !important;
}

.wc-block-components-notice-banner.is-warning {
  border-color: #d6a64a !important;
  background: #251d0f !important;
}

.wc-block-components-notice-banner__content,
.wc-block-components-notice-banner__content > div,
.wc-block-components-notice-banner p,
.wc-block-components-notice-banner strong,
.wc-block-components-notice-banner span {
  color: inherit !important;
}

.wc-block-components-notice-banner__content a,
.woocommerce-error a,
.woocommerce-info a:not(.button),
.woocommerce-message a:not(.button) {
  color: #fff !important;
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

.wc-block-components-notice-banner > svg,
.wc-block-components-notice-banner__icon,
.wc-block-components-notice-banner__icon svg {
  color: #fff !important;
  fill: currentColor !important;
}

.wc-block-components-validation-error,
.wc-block-components-validation-error p {
  color: #ffb4b7 !important;
}

/* WooCommerce My Account */
.woocommerce-account .thryl-page {
  padding-bottom: clamp(3rem, 8vw, 7rem);
}

.woocommerce-account .thryl-page-header {
  padding-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.woocommerce-account .thryl-entry-content > .woocommerce {
  display: flow-root;
  width: 100%;
}

.woocommerce-account.logged-in .thryl-entry-content > .woocommerce {
  display: block;
}

.woocommerce-account.logged-in .woocommerce-MyAccount-navigation {
  display: none;
}

.woocommerce-account.logged-in .woocommerce-MyAccount-content {
  width: 100%;
}

.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-content {
  float: none;
  width: 100%;
}

.woocommerce-account .woocommerce-MyAccount-navigation {
  margin-bottom: 1rem;
  border: 1px solid var(--thryl-border);
  border-radius: var(--thryl-radius-md);
  background: var(--thryl-card);
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
  padding: 0.5rem;
  margin: 0;
  list-style: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation li + li {
  border-top: 1px solid var(--thryl-border);
}

.woocommerce-account .woocommerce-MyAccount-navigation a {
  display: flex;
  min-height: 3.25rem;
  padding: 0.8rem 0.9rem;
  color: var(--thryl-muted);
  align-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  justify-content: space-between;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.woocommerce-account .woocommerce-MyAccount-navigation a::after {
  color: var(--thryl-muted);
  content: "→";
  font-size: 1rem;
}

.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation a:hover,
.woocommerce-account .woocommerce-MyAccount-navigation a:focus-visible {
  color: var(--thryl-white);
}

.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
  border-radius: var(--thryl-radius-sm);
  background: var(--thryl-charcoal);
}

.woocommerce-account .woocommerce-MyAccount-content {
  min-width: 0;
  padding: clamp(1.1rem, 3vw, 2rem);
  border: 1px solid var(--thryl-border);
  border-radius: var(--thryl-radius-md);
  background: var(--thryl-card);
}

.woocommerce-account .woocommerce-MyAccount-content > :last-child {
  margin-bottom: 0;
}

.woocommerce-account .woocommerce-MyAccount-content h2,
.woocommerce-account .woocommerce-MyAccount-content h3,
.woocommerce-account .woocommerce-Address-title h2 {
  margin-bottom: 1rem;
  color: var(--thryl-white);
  font-size: clamp(1.2rem, 4vw, 1.7rem);
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.woocommerce-account .woocommerce-MyAccount-content p,
.woocommerce-account .woocommerce-MyAccount-content address {
  color: var(--thryl-muted);
  line-height: 1.7;
}

.woocommerce-account .woocommerce-MyAccount-content a:not(.button) {
  color: var(--thryl-white);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.woocommerce-account .woocommerce-Addresses {
  display: grid;
  gap: 1rem;
}

.woocommerce-account .woocommerce-Addresses::before,
.woocommerce-account .woocommerce-Addresses::after {
  display: none !important;
  content: none !important;
}

.woocommerce-account .woocommerce-Addresses > .woocommerce-Address {
  float: none !important;
  width: 100% !important;
  padding: 1rem;
  margin: 0;
  border: 1px solid var(--thryl-border);
  border-radius: var(--thryl-radius-sm);
  background: var(--thryl-charcoal);
}

.woocommerce-account .woocommerce-Address-title {
  display: flex;
  margin-bottom: 0.75rem;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.woocommerce-account .woocommerce-Address-title h2 {
  margin: 0;
}

.woocommerce-account .woocommerce-Address-title .edit {
  float: none;
  font-size: 0.75rem;
}

.woocommerce-account table.my_account_orders {
  width: 100%;
  margin: 0;
}

.woocommerce-account table.my_account_orders .button {
  min-height: 2.4rem;
  padding: 0.55rem 0.75rem;
  margin: 0.2rem;
  font-size: 0.68rem;
}

.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-table--order-details {
  width: 100%;
  margin: 1rem 0 0;
  table-layout: fixed;
}

.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-table--order-details th,
.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-table--order-details td {
  padding: 0.85rem;
  vertical-align: middle;
}

.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-table--order-details th:last-child,
.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-table--order-details td:last-child {
  width: 31%;
  text-align: right;
  white-space: nowrap;
}

.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-details__title,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-column__title {
  margin: 1.25rem 0 0.75rem;
}

.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-details + .woocommerce-customer-details {
  margin-top: 1rem;
}

.woocommerce-account .woocommerce-form-login,
.woocommerce-account .woocommerce-form-register,
.woocommerce-account .woocommerce-ResetPassword,
.woocommerce-account .woocommerce-EditAccountForm,
.woocommerce-account form.woocommerce-address-fields {
  width: 100%;
  padding: clamp(1.1rem, 3vw, 2rem);
  border: 1px solid var(--thryl-border) !important;
  border-radius: var(--thryl-radius-md) !important;
  background: var(--thryl-card);
}

.woocommerce-account #customer_login {
  display: grid;
  gap: 1rem;
}

.woocommerce-account #customer_login > div {
  width: 100%;
}

.woocommerce-account #customer_login h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.5rem, 5vw, 2.25rem);
}

.woocommerce-account .form-row {
  margin-bottom: 1rem;
}

.woocommerce-account .woocommerce-form-login__rememberme {
  display: flex;
  margin-bottom: 0.85rem;
  align-items: center;
  gap: 0.55rem;
}

.woocommerce-account .woocommerce-form-login__rememberme input {
  width: 1.1rem;
  min-height: 1.1rem;
  margin: 0;
}

.woocommerce-account .woocommerce-LostPassword {
  margin-top: 1rem;
}

@media (min-width: 48rem) {
  .woocommerce-account.logged-in .thryl-entry-content > .woocommerce {
    display: block;
  }

  .woocommerce-account.logged-in .woocommerce-MyAccount-navigation {
    grid-column: 1;
    grid-row: 1;
  }

  .woocommerce-account.logged-in .woocommerce-MyAccount-content {
    width: 100%;
  }

  .woocommerce-account .woocommerce-MyAccount-navigation {
    position: sticky;
    top: calc(var(--thryl-header-height) + 1rem);
    margin-bottom: 0;
  }

  .woocommerce-account #customer_login,
  .woocommerce-account .woocommerce-Addresses {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .woocommerce-account .woocommerce-Addresses > .woocommerce-Address.col-1 {
    grid-column: 1;
    grid-row: 1;
  }

  .woocommerce-account .woocommerce-Addresses > .woocommerce-Address.col-2 {
    grid-column: 2;
    grid-row: 1;
  }
}

@media (min-width: 80rem) {
  .woocommerce-account .thryl-page {
    width: min(100% - (2 * var(--thryl-gutter)), 80rem);
  }
}

/* Compact, scannable order confirmation. */
.woocommerce-order-received .thryl-page-header {
  padding-bottom: 1rem;
}

.woocommerce-order-received .thryl-page-header h1 {
  font-size: clamp(2.4rem, 8vw, 4.75rem);
}

.woocommerce-order-received .woocommerce-order {
  display: grid;
  width: 100%;
  padding-bottom: clamp(2rem, 6vw, 5rem);
  gap: clamp(1rem, 3vw, 1.5rem);
}

.woocommerce-order-received .woocommerce-notice--success {
  display: flex;
  padding: 0;
  margin: 0;
  color: var(--thryl-white);
  font-size: clamp(1rem, 2.4vw, 1.2rem);
  line-height: 1.5;
  align-items: center;
  gap: 0.9rem;
}

.woocommerce-order-received .woocommerce-notice--success::before {
  display: grid;
  width: clamp(2.75rem, 8vw, 3.75rem);
  height: clamp(2.75rem, 8vw, 3.75rem);
  border: 1px solid var(--thryl-white);
  border-radius: 50%;
  background: var(--thryl-white);
  color: var(--thryl-black);
  content: "✓";
  flex: 0 0 auto;
  font-size: clamp(1.25rem, 4vw, 1.75rem);
  font-weight: 800;
  line-height: 1;
  place-items: center;
  animation: thryl-order-confirmation 650ms var(--thryl-ease) both;
}

@keyframes thryl-order-confirmation {
  0% {
    opacity: 0;
    transform: scale(0.25) rotate(-20deg);
  }

  65% {
    opacity: 1;
    transform: scale(1.12) rotate(3deg);
  }

  100% {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}

.woocommerce-order-received .woocommerce-order-overview,
.woocommerce-order-received ul.order_details {
  display: grid;
  padding: 0;
  margin: 0 !important;
  overflow: hidden;
  border: 1px solid var(--thryl-border);
  border-radius: var(--thryl-radius-md);
  background: var(--thryl-border);
  gap: 1px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
}

.woocommerce-order-received .woocommerce-order-overview li,
.woocommerce-order-received ul.order_details li {
  float: none;
  min-width: 0;
  padding: 1rem;
  margin: 0;
  border: 0;
  background: var(--thryl-card);
  color: var(--thryl-muted);
  font-size: 0.68rem;
  letter-spacing: 0.07em;
  line-height: 1.35;
  text-transform: uppercase;
}

.woocommerce-order-received .woocommerce-order-overview li strong,
.woocommerce-order-received ul.order_details li strong {
  display: block;
  max-width: 100%;
  margin-top: 0.3rem;
  overflow-wrap: anywhere;
  color: var(--thryl-white);
  font-size: clamp(0.88rem, 2.6vw, 1.05rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.35;
  text-transform: none;
}

.woocommerce-order-received .woocommerce-order > p:not(.woocommerce-notice) {
  padding: 0.85rem 1rem;
  margin: 0;
  border-left: 0.2rem solid var(--thryl-muted);
  border-radius: 0 var(--thryl-radius-sm) var(--thryl-radius-sm) 0;
  background: var(--thryl-card);
  color: var(--thryl-muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

.woocommerce-order-received .woocommerce-order-details,
.woocommerce-order-received .woocommerce-customer-details {
  padding: clamp(1rem, 3vw, 1.5rem);
  margin: 0;
  border: 1px solid var(--thryl-border);
  border-radius: var(--thryl-radius-md);
  background: var(--thryl-card);
}

.woocommerce-order-received .woocommerce-order-details__title,
.woocommerce-order-received .woocommerce-column__title {
  margin-bottom: 1rem;
  font-size: clamp(1.25rem, 4vw, 1.8rem);
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.woocommerce-order-received table.woocommerce-table--order-details {
  width: 100%;
  margin: 0;
  border: 0;
  table-layout: fixed;
}

.woocommerce-order-received table.woocommerce-table--order-details th,
.woocommerce-order-received table.woocommerce-table--order-details td {
  padding: 0.85rem 0.2rem;
  border-right: 0;
  border-left: 0;
  color: var(--thryl-white);
  line-height: 1.45;
  vertical-align: top;
}

.woocommerce-order-received table.woocommerce-table--order-details tbody td {
  vertical-align: middle;
}

.woocommerce-order-received table.woocommerce-table--order-details th:last-child,
.woocommerce-order-received table.woocommerce-table--order-details td:last-child {
  width: 31%;
  padding-left: 0.75rem;
  text-align: right;
  white-space: nowrap;
}

.woocommerce-order-received table.woocommerce-table--order-details tfoot th {
  width: auto;
  color: var(--thryl-muted);
  font-size: 0.8rem;
  font-weight: 650;
}

.woocommerce-order-received table.woocommerce-table--order-details tfoot td {
  color: var(--thryl-white);
  font-size: 0.9rem;
  font-weight: 700;
}

.woocommerce .thryl-order-item__name a {
  color: var(--thryl-white);
  font-weight: 650;
  text-decoration: none !important;
}

.woocommerce .thryl-order-item {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: clamp(0.7rem, 2vw, 1rem);
}

.woocommerce .thryl-order-item__media {
  position: relative;
  display: block;
  width: clamp(3.5rem, 10vw, 4.5rem) !important;
  min-width: clamp(3.5rem, 10vw, 4.5rem);
  max-width: 4.5rem !important;
  overflow: hidden;
  border: 1px solid var(--thryl-border);
  border-radius: var(--thryl-radius-sm);
  background: transparent;
  aspect-ratio: 4 / 5;
}

.woocommerce .thryl-order-item__image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100% !important;
  max-width: 4.5rem !important;
  height: 100%;
  max-height: 100%;
  background: transparent;
  object-fit: contain;
  object-position: center;
}

.woocommerce .thryl-order-item__content {
  min-width: 0;
  flex: 1 1 auto;
}

.woocommerce .thryl-order-item__name {
  color: var(--thryl-white);
  font-size: clamp(0.84rem, 2.6vw, 1rem);
  font-weight: 650;
  line-height: 1.4;
}

.woocommerce .thryl-order-item .product-quantity {
  color: var(--thryl-muted);
  white-space: nowrap;
}

.woocommerce .thryl-order-item .wc-item-meta {
  display: flex;
  padding: 0;
  margin: 0.35rem 0 0;
  color: var(--thryl-muted);
  font-size: 0.76rem;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem 0.75rem;
  list-style: none;
}

.woocommerce .thryl-order-item .wc-item-meta li {
  display: inline-flex;
  float: none;
  margin: 0;
  align-items: baseline;
  gap: 0.25rem;
}

.woocommerce .thryl-order-item .wc-item-meta p {
  display: inline;
  float: none;
  margin: 0;
}

.woocommerce .thryl-order-item .wc-item-meta strong {
  float: none;
  margin: 0;
  color: var(--thryl-muted);
  font-weight: 650;
}

.woocommerce .thryl-order-item .wc-item-meta li + li::before {
  display: none;
}

.woocommerce-order-received .woocommerce-customer-details .woocommerce-columns {
  display: grid;
  width: 100%;
  margin: 0;
  gap: 1rem;
}

.woocommerce-order-received .woocommerce-customer-details .woocommerce-column {
  display: grid;
  float: none !important;
  width: 100%;
  min-width: 0;
  align-content: start;
  gap: 0.75rem;
}

.woocommerce-order-received .woocommerce-customer-details address {
  padding: 1rem;
  margin: 0;
  border: 1px solid var(--thryl-border);
  border-radius: var(--thryl-radius-sm);
  background: var(--thryl-charcoal);
  color: var(--thryl-muted);
  font-style: normal;
  line-height: 1.65;
}

.woocommerce-order-received .woocommerce-customer-details .woocommerce-column__title {
  margin: 0;
}

.woocommerce-order-received .woocommerce-customer-details address p {
  margin: 0.45rem 0 0;
  overflow-wrap: anywhere;
}

@media (min-width: 48rem) {
  .woocommerce-order-received .woocommerce-customer-details .woocommerce-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 64rem) {
  .woocommerce-order-received .woocommerce-order-overview,
  .woocommerce-order-received ul.order_details {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .woocommerce-order-received .woocommerce-order-overview li,
  .woocommerce-order-received ul.order_details li {
    padding: 1.15rem;
  }
}

@media (max-width: 30rem) {
  .woocommerce-order-received .woocommerce-order-overview,
  .woocommerce-order-received ul.order_details {
    grid-template-columns: 1fr;
  }
}

.woocommerce form.login,
.woocommerce form.register,
.woocommerce form.checkout_coupon {
  padding: 1.25rem;
  border-color: var(--thryl-border);
  border-radius: var(--thryl-radius-md);
  background: var(--thryl-charcoal);
}

/* Cart: classic and Blocks */
.thryl-cart {
  width: min(100% - (2 * var(--thryl-gutter)), var(--thryl-container));
  padding-block: clamp(1.25rem, 4vw, 3rem);
  margin-inline: auto;
}

.thryl-cart .thryl-page-header {
  padding-block: clamp(1.25rem, 3vw, 2.25rem) clamp(0.75rem, 2vw, 1.25rem);
}

.thryl-cart .thryl-entry-content > .woocommerce,
.thryl-cart > .woocommerce,
.thryl-cart .wc-block-cart {
  width: 100%;
  padding: 0;
  margin: 0;
}

.thryl-cart__layout {
  display: grid;
  gap: 1.5rem;
}

.thryl-cart__form {
  min-width: 0;
}

.thryl-cart-table {
  width: 100%;
}

.thryl-cart-table .actions .coupon {
  display: flex;
  margin-bottom: 0.75rem;
  gap: 0.5rem;
}

.thryl-cart-table .actions .coupon input {
  min-width: 0;
  flex: 1;
}

.thryl-cart__title,
.woocommerce-cart h1,
.thryl-checkout .thryl-page-header h1,
.wc-block-cart__main > h2 {
  margin-bottom: clamp(0.85rem, 2vw, 1.4rem);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.thryl-cart-table td,
.thryl-cart-table th {
  font-size: 0.8125rem;
  line-height: 1.4;
}

.woocommerce table.shop_table {
  border-color: var(--thryl-border);
  border-collapse: collapse;
  border-radius: 0;
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
  padding: 1rem 0.75rem;
  border-color: var(--thryl-border);
}

.woocommerce-cart table.cart img,
.wc-block-cart-item__image img {
  width: clamp(5rem, 18vw, 8rem);
  border-radius: var(--thryl-radius-sm);
  background: var(--thryl-card);
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.woocommerce-cart table.cart .product-name a,
.wc-block-components-product-name {
  color: var(--thryl-white);
  font-weight: 650;
}

.woocommerce-cart table.cart .product-remove a {
  display: grid;
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--thryl-border);
  border-radius: 50%;
  color: var(--thryl-muted) !important;
  font-weight: 400;
  place-items: center;
}

.woocommerce-cart table.cart .product-remove a:hover {
  background: var(--thryl-white);
  color: var(--thryl-black) !important;
}

.cart-collaterals,
.wc-block-cart__sidebar {
  padding: 1.25rem;
  border: 1px solid var(--thryl-border);
  border-radius: var(--thryl-radius-md);
  background: var(--thryl-charcoal);
}

.woocommerce .cart-collaterals .cart_totals,
.woocommerce-page .cart-collaterals .cart_totals {
  float: none;
  width: 100%;
}

.cart_totals h2,
.wc-block-cart__totals-title {
  font-size: 1.2rem;
  letter-spacing: -0.025em;
}

.cart_totals .wc-proceed-to-checkout a.checkout-button,
.wc-block-cart__submit-button {
  width: 100%;
  min-height: 3.5rem;
  margin-bottom: 0;
}

.cart_totals .wc-proceed-to-checkout a.checkout-button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 1.25rem !important;
  border-color: var(--thryl-white) !important;
  background: var(--thryl-white) !important;
  color: var(--thryl-black) !important;
  font-size: clamp(0.85rem, 2.2vw, 0.95rem) !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: 0.055em !important;
  text-align: center !important;
}

.wc-block-cart-items,
.wc-block-cart-items th,
.wc-block-cart-items td,
.wc-block-components-totals-wrapper {
  border-color: var(--thryl-border) !important;
}

.wc-block-components-product-metadata,
.wc-block-components-product-details,
.wc-block-cart-item__prices,
.wc-block-components-totals-item__description {
  color: var(--thryl-muted);
}

.wc-block-components-quantity-selector {
  border-color: #696969 !important;
  background: var(--thryl-card);
}

.wc-block-cart__sidebar .wc-block-components-panel__button,
.wc-block-cart__sidebar .wc-block-components-totals-item {
  min-height: 2.9rem;
  padding: 0.72rem 1rem !important;
  line-height: 1.4;
}

.wc-block-cart__sidebar .wc-block-components-totals-footer-item-tax {
  display: grid;
  width: 100%;
  max-width: none;
  margin: 0.5rem 0 0;
  color: var(--thryl-muted);
  font-size: 0.72rem;
  line-height: 1.45;
  gap: 0.3rem;
  text-align: left;
}

.wc-block-cart__sidebar .thryl-block-gst__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.wc-block-cart__sidebar .thryl-block-gst__heading {
  color: var(--thryl-muted);
  font-size: 0.66rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.wc-block-cart__sidebar .thryl-block-gst__row strong {
  color: var(--thryl-white);
  font-weight: 650;
  white-space: nowrap;
}

.wc-block-cart__sidebar .wc-block-cart__submit-container {
  padding: 1rem !important;
}

.wc-block-cart__sidebar .wc-block-components-totals-wrapper {
  padding-inline: 0 !important;
}

.woocommerce-cart table.cart .product-name,
.woocommerce-cart table.cart .product-price,
.woocommerce-cart table.cart .product-quantity,
.woocommerce-cart table.cart .product-subtotal,
.wc-block-cart-items .wc-block-cart-items__row td {
  line-height: 1.45;
}

.woocommerce-cart table.cart .product-name .variation,
.wc-block-components-product-metadata {
  margin-top: 0.55rem;
}

.wc-block-cart__empty-cart__title {
  margin: 0 0 2rem !important;
  line-height: 1.25 !important;
}

.wc-block-cart__empty-cart__content > .wp-block-separator {
  margin-block: 1.75rem !important;
}

.wc-block-cart__empty-cart__content > .wp-block-heading {
  margin-block: 1.75rem 1.25rem;
  line-height: 1.15;
}

/* Classic empty cart: compact, centered and clearly separated from recommendations. */
.woocommerce .wc-empty-cart-message {
  width: 100%;
  margin: 0;
}

.thryl-empty-cart {
  display: flex;
  width: min(100%, 42rem);
  padding: clamp(2.5rem, 6vw, 4rem) var(--thryl-gutter) clamp(3.5rem, 8vw, 5rem);
  margin-inline: auto;
  text-align: center;
  align-items: center;
  flex-direction: column;
}

.thryl-empty-cart__emoji {
  display: grid;
  width: 4.5rem;
  height: 4.5rem;
  margin-bottom: 1.25rem;
  border: 1px solid var(--thryl-border);
  border-radius: 50%;
  background: var(--thryl-card);
  font-size: 2rem;
  line-height: 1;
  place-items: center;
}

.thryl-empty-cart__title {
  margin: 0 !important;
  font-size: clamp(1.45rem, 4vw, 2.25rem);
  line-height: 1.15;
  text-wrap: balance;
}

.thryl-empty-cart__copy {
  max-width: 34rem;
  margin: 0.2rem 0 0 !important;
  color: var(--thryl-muted);
  font-size: clamp(0.95rem, 2vw, 1.08rem);
  line-height: 1.35;
  text-wrap: balance;
}

.woocommerce .thryl-empty-cart__button,
.thryl-empty-cart__button {
  display: inline-flex;
  width: auto;
  min-width: 12rem;
  min-height: 3.25rem;
  padding-inline: 1.5rem;
  margin: 2.5rem auto 0 !important;
  justify-content: center;
}

.woocommerce .cross-sells ul.products,
.woocommerce .thryl-cart__summary .cross-sells ul.products {
  width: 100%;
  gap: 1rem 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.thryl-cart-recommendations {
  width: calc(100% + var(--thryl-gutter));
  margin-top: 1.5rem;
  text-align: left;
}

.thryl-cart-recommendations .thryl-product-card__colours,
.thryl-cart-recommendations .thryl-product-card__actions {
  display: none;
}

.thryl-cart-recommendations .thryl-product-card__body {
  display: block;
  padding-top: 0.65rem;
}

.thryl-cart-recommendations .thryl-product-card__title {
  margin-bottom: 0.2rem;
}

.thryl-cart-more {
  padding-block: clamp(2.5rem, 6vw, 4.5rem) 0;
  border-top: 1px solid var(--thryl-border);
}

.thryl-cart-more .thryl-section__head {
  width: 100%;
  margin-inline: 0;
}

/* Checkout: preserve Woo payment behavior, only restyle it. */
.thryl-checkout {
  width: min(100% - (2 * var(--thryl-gutter)), 76rem);
  padding-block: clamp(1.25rem, 4vw, 3rem);
  margin-inline: auto;
}

.thryl-checkout .thryl-page-header {
  padding-block: clamp(1.25rem, 3vw, 2.25rem) clamp(0.75rem, 2vw, 1.25rem);
}

.thryl-checkout .thryl-entry-content > .woocommerce,
.thryl-checkout > .woocommerce,
.thryl-checkout .wc-block-checkout {
  width: 100%;
  padding: 0;
  margin: 0;
}

.woocommerce-checkout form.thryl-checkout__form,
.thryl-checkout__form {
  display: contents !important;
}

.thryl-checkout__layout {
  display: grid;
  gap: 1.5rem;
}

.thryl-checkout__customer,
.thryl-checkout__order {
  min-width: 0;
  padding: 1.25rem;
  border: 1px solid var(--thryl-border);
  border-radius: var(--thryl-radius-md);
  background: var(--thryl-charcoal);
}

.thryl-checkout-section + .thryl-checkout-section {
  margin-top: 1rem;
}

.thryl-checkout-billing-data {
  display: none !important;
}

.thryl-checkout-section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 1.1rem;
  gap: 1rem;
}

.thryl-checkout-section__head .thryl-eyebrow {
  margin: 0 0 0.25rem;
  color: var(--thryl-muted);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
}

.thryl-checkout-section__head h2,
.thryl-checkout-section__head h3 {
  margin: 0;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.15;
}

.thryl-checkout-fields {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: minmax(0, 1fr);
}

.woocommerce .thryl-checkout-fields .form-row,
.woocommerce .thryl-checkout-fields .form-row-first,
.woocommerce .thryl-checkout-fields .form-row-last {
  float: none;
  width: 100% !important;
  max-width: none !important;
  padding: 0;
  margin: 0;
  grid-column: 1 / -1;
}

.thryl-checkout-fields .form-row-wide,
.thryl-checkout-fields #billing_first_name_field,
.thryl-checkout-fields #billing_last_name_field,
.thryl-checkout-fields #shipping_first_name_field,
.thryl-checkout-fields #shipping_last_name_field,
.thryl-checkout-fields #billing_company_field,
.thryl-checkout-fields #shipping_company_field,
.thryl-checkout-fields #billing_country_field,
.thryl-checkout-fields #shipping_country_field,
.thryl-checkout-fields #billing_address_1_field,
.thryl-checkout-fields #shipping_address_1_field,
.thryl-checkout-fields #billing_address_2_field,
.thryl-checkout-fields #shipping_address_2_field,
.thryl-checkout-fields #billing_email_field,
.thryl-checkout-fields #billing_phone_field {
  grid-column: 1 / -1;
}

.thryl-checkout-fields label {
  display: block;
  margin: 0 0 0.35rem;
  color: var(--thryl-muted);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.045em;
}

.thryl-checkout-fields input.input-text,
.thryl-checkout-fields select,
.thryl-checkout-fields .select2-selection {
  min-height: 3rem;
  border-radius: 0.45rem !important;
  background: #101010 !important;
}

.thryl-checkout-fields select {
  height: 3.25rem;
  padding-top: 0;
  padding-bottom: 0;
  line-height: 3.25rem;
}

.thryl-checkout-fields .select2-selection--single .select2-selection__rendered {
  display: flex;
  height: 100%;
  align-items: center;
  line-height: normal;
}

.thryl-checkout-fields .select2-selection--single .select2-selection__arrow {
  top: 50%;
  transform: translateY(-50%);
}

/* Clear, local feedback for mandatory checkout fields left blank. */
.woocommerce-checkout .form-row.validate-required.woocommerce-invalid > label,
.woocommerce-checkout .form-row.validate-required.woocommerce-invalid label {
  color: #ff7679;
}

.woocommerce-checkout .form-row.validate-required.woocommerce-invalid input.input-text,
.woocommerce-checkout .form-row.validate-required.woocommerce-invalid textarea,
.woocommerce-checkout .form-row.validate-required.woocommerce-invalid select,
.woocommerce-checkout .form-row.validate-required.woocommerce-invalid .select2-selection {
  border-color: #ff4d4f !important;
  background-color: #1d1011 !important;
  box-shadow: 0 0 0 1px #ff4d4f !important;
}

.thryl-checkout-field-error {
  display: block;
  width: 100%;
  margin-top: 0.4rem;
  color: #ff7679;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.35;
}

.thryl-delivery {
  padding-top: 1rem;
  border-top: 0;
}

.thryl-delivery__cancel {
  padding: 0.45rem 0;
  border: 0;
  background: transparent;
  color: var(--thryl-white);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.thryl-delivery-summary {
  padding: clamp(1rem, 2vw, 1.35rem);
  border: 1px solid var(--thryl-border);
  border-radius: 0.75rem;
  background: var(--thryl-card);
}

.thryl-delivery-summary[hidden],
.thryl-address-modal[hidden],
.thryl-address-modal__picker[hidden],
.thryl-address-modal__form-slot[hidden],
.thryl-delivery__form[hidden] {
  display: none !important;
}

.thryl-delivery[data-thryl-has-saved-address="0"] .thryl-delivery__form:not([hidden]) {
  display: block !important;
}

.thryl-delivery-summary__head,
.thryl-address-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.thryl-delivery-summary__head h2,
.thryl-address-modal__head h2,
.thryl-delivery__form-head h2 {
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.2;
}

.thryl-delivery-summary__change,
.thryl-address-modal__add {
  padding: 0.25rem 0;
  border: 0;
  background: transparent;
  color: var(--thryl-white);
  font-size: 0.8rem;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.thryl-delivery-summary__content {
  display: grid;
  margin-top: 0.8rem;
  gap: 0.45rem;
}

.thryl-delivery-summary__identity,
.thryl-address-card__title {
  display: flex;
  min-width: 0;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.thryl-delivery-summary__identity strong {
  font-size: 0.95rem;
}

.thryl-address-card__tag {
  display: inline-flex;
  padding: 0.15rem 0.45rem;
  border: 1px solid #555;
  border-radius: 999px;
  color: var(--thryl-muted);
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1.2;
}

.thryl-delivery-summary__address {
  max-width: 42rem;
  margin: 0;
  color: var(--thryl-muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

.thryl-delivery-summary__contact {
  display: flex;
  color: #8d8d8d;
  font-size: 0.74rem;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
}

.thryl-delivery-summary__contact .thryl-contact-line,
.woocommerce-customer-details .woocommerce-customer-details--phone,
.woocommerce-customer-details .woocommerce-customer-details--email {
  display: inline-flex;
  position: static;
  align-items: center;
  gap: 0.4rem;
}

.woocommerce-customer-details .woocommerce-customer-details--phone,
.woocommerce-customer-details .woocommerce-customer-details--email {
  width: 100%;
  padding-left: 0 !important;
}

.woocommerce-customer-details .woocommerce-customer-details--phone span,
.woocommerce-customer-details .woocommerce-customer-details--email span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.thryl-delivery-summary__contact .thryl-icon,
.woocommerce-customer-details .woocommerce-customer-details--phone .thryl-icon,
.woocommerce-customer-details .woocommerce-customer-details--email .thryl-icon {
  display: none;
}

.thryl-delivery-summary__contact .thryl-contact-line::before,
.woocommerce-customer-details .woocommerce-customer-details--phone::before,
.woocommerce-customer-details .woocommerce-customer-details--email::before {
  display: block !important;
  position: static !important;
  inset: auto !important;
  float: none !important;
  width: 1rem;
  min-width: 1rem;
  height: 1rem;
  margin: 0 !important;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  content: "" !important;
  flex: 0 0 1rem;
}

.thryl-delivery-summary__contact .thryl-contact-line--phone::before,
.woocommerce-customer-details .woocommerce-customer-details--phone::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a1a1a1' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3H4a1 1 0 0 0-1 1c0 9.39 7.61 17 17 17a1 1 0 0 0 1-1v-3l-5-1-1.5 2A15 15 0 0 1 6 9.5L8 8 7 3Z'/%3E%3C/svg%3E");
}

.thryl-delivery-summary__contact .thryl-contact-line--email::before,
.woocommerce-customer-details .woocommerce-customer-details--email::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a1a1a1' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E");
}

.thryl-address-modal {
  position: fixed;
  z-index: 100010;
  display: grid;
  inset: 0;
  padding: 1rem;
  opacity: 0;
  place-items: center;
  transition: opacity 200ms ease;
}

.thryl-address-modal.is-open {
  opacity: 1;
}

.thryl-address-modal__backdrop {
  position: absolute;
  background: rgb(0 0 0 / 78%);
  inset: 0;
}

.thryl-address-modal__dialog {
  position: relative;
  width: min(100%, 38rem);
  max-height: min(42rem, calc(100dvh - 2rem));
  padding: clamp(1rem, 3vw, 1.5rem);
  overflow-y: auto;
  border: 1px solid #3b3b3b;
  border-radius: 1rem;
  background: #111;
  box-shadow: 0 1.5rem 5rem rgb(0 0 0 / 55%);
  transform: translateY(0.75rem);
  transition: transform 200ms ease;
}

.thryl-address-modal.is-open .thryl-address-modal__dialog {
  transform: translateY(0);
}

.thryl-address-modal__close {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid #555;
  border-radius: 50%;
  background: #181818;
  color: var(--thryl-white);
  font-size: 1.4rem;
  line-height: 1;
  place-items: center;
}

.thryl-address-modal__intro {
  margin: 0.7rem 0 0.4rem;
  color: var(--thryl-muted);
  font-size: 0.78rem;
}

.thryl-address-modal__add {
  display: block;
  margin: 0 0 1rem auto;
}

.thryl-delivery__saved {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: minmax(0, 1fr);
}

.thryl-address-card-wrap {
  position: relative;
  min-width: 0;
}

.thryl-address-card {
  position: relative;
  display: grid;
  min-height: 7rem;
  padding: 1rem 5.25rem 1rem 1rem;
  border: 1px solid var(--thryl-border);
  border-radius: 0.6rem;
  background: #101010;
  cursor: pointer;
  gap: 0.8rem;
  grid-template-columns: 1.15rem minmax(0, 1fr);
}

.thryl-address-card.is-selected {
  border-color: #7b7b7b;
  box-shadow: 0 0 0 1px #7b7b7b;
}

.thryl-address-card input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.thryl-address-card__check {
  width: 1.05rem;
  height: 1.05rem;
  margin-top: 0.1rem;
  border: 1px solid #858585;
  border-radius: 50%;
}

.thryl-address-card.is-selected .thryl-address-card__check {
  border: 0.28rem solid var(--thryl-white);
  background: #111;
}

.thryl-address-card__body {
  display: grid;
  align-content: start;
  color: var(--thryl-muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

.thryl-address-card__body strong {
  color: var(--thryl-white);
  font-size: 0.9rem;
}

.thryl-address-card__actions {
  position: absolute;
  z-index: 2;
  top: 0.7rem;
  right: 0.7rem;
  display: flex;
  gap: 0.25rem;
}

.thryl-address-card__actions button {
  display: grid;
  width: 2rem;
  min-width: 2rem;
  height: 2rem;
  min-height: 2rem;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  color: var(--thryl-muted);
  place-items: center;
}

.thryl-address-card__actions button:hover,
.thryl-address-card__actions button:focus-visible {
  border-color: #555;
  background: rgb(255 255 255 / 0.07);
  color: var(--thryl-white);
}

.thryl-address-card__actions [data-thryl-address-delete]:hover,
.thryl-address-card__actions [data-thryl-address-delete]:focus-visible {
  border-color: #8e3739;
  color: #ff7679;
}

.thryl-address-card__actions svg {
  width: 1rem;
  height: 1rem;
}

.thryl-address-card__actions button:disabled {
  cursor: wait;
  opacity: 0.45;
}

.thryl-address-modal__use,
.thryl-delivery__save-button {
  width: 100%;
  min-height: 3.1rem;
  margin-top: 1rem;
}

.thryl-address-modal__form-slot {
  margin-top: 1rem;
}

.thryl-address-modal__form-slot .thryl-delivery__form {
  padding: 0;
  border: 0;
  background: transparent;
}

.thryl-address-modal__form-slot .thryl-delivery__form-head h2 {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.thryl-delivery__save-button {
  margin-top: 1.4rem !important;
  border-color: var(--thryl-white);
  background: var(--thryl-white);
  color: var(--thryl-black);
}

.thryl-delivery__form {
  padding: clamp(1rem, 2vw, 1.35rem);
  margin-top: 0;
  border: 1px solid var(--thryl-border);
  border-radius: 0.6rem;
  background: #101010;
}

.thryl-delivery__form[hidden] {
  display: none !important;
}

.thryl-delivery__form-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  gap: 1rem;
}

.thryl-address-type {
  display: flex;
  padding: 0;
  margin: 1rem 0 0;
  border: 0;
  color: var(--thryl-white);
  flex-wrap: wrap;
  gap: 0.7rem 1.25rem;
}

.thryl-address-type legend {
  width: 100%;
  margin-bottom: 0.15rem;
  color: var(--thryl-muted);
  font-size: 0.72rem;
  font-weight: 650;
}

.thryl-address-type label {
  display: inline-flex;
  align-items: center;
  font-size: 0.8rem;
  gap: 0.4rem;
}

.thryl-order-notes details {
  border-top: 1px solid var(--thryl-border);
}

.thryl-order-notes summary {
  display: flex;
  padding: 1rem 0;
  color: var(--thryl-white);
  font-size: 0.82rem;
  font-weight: 650;
  align-items: center;
  cursor: pointer;
  gap: 0.45rem;
  list-style: none;
}

.thryl-order-notes summary::-webkit-details-marker {
  display: none;
}

.thryl-order-notes summary .thryl-icon {
  width: 1rem;
  min-width: 1rem;
  height: 1rem;
  transition: transform 180ms ease;
}

.thryl-order-notes details[open] summary .thryl-icon {
  transform: rotate(180deg);
}

.thryl-order-notes .woocommerce-additional-fields__field-wrapper {
  padding-bottom: 0.25rem;
}

/* Totals refresh in the background without dimming or blocking the checkout. */
.woocommerce-checkout .blockUI.blockOverlay,
.woocommerce-checkout .woocommerce-checkout-review-order.processing::before,
.woocommerce-checkout form.checkout.processing::before {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.thryl-checkout__customer {
  order: 1;
}

.thryl-checkout__coupon {
  min-width: 0;
  order: 2;
}

.thryl-checkout__order {
  order: 3;
}

.thryl-checkout__customer #customer_details,
.thryl-checkout__order #order_review {
  padding: 0;
  border: 0;
  background: transparent;
}

.thryl-checkout__order > h2 {
  margin-bottom: 1.25rem;
  font-size: 1.35rem;
}

.thryl-checkout__title,
.woocommerce-checkout h1,
.wc-block-checkout__main h2 {
  font-weight: 750;
  letter-spacing: -0.04em;
}

.woocommerce-checkout form.checkout {
  display: grid;
  gap: 1.5rem;
}

.woocommerce-checkout #customer_details,
.woocommerce-checkout #order_review_heading,
.woocommerce-checkout #order_review {
  width: 100%;
}

.woocommerce-checkout .col2-set .col-1,
.woocommerce-checkout .col2-set .col-2 {
  float: none;
  width: 100%;
}

.woocommerce-checkout #customer_details,
.woocommerce-checkout #order_review,
.wc-block-checkout__main,
.wc-block-checkout__sidebar {
  padding: 1.25rem;
  border: 1px solid var(--thryl-border);
  border-radius: var(--thryl-radius-md);
  background: var(--thryl-charcoal);
}

.woocommerce-checkout .thryl-checkout__customer #customer_details,
.woocommerce-checkout .thryl-checkout__order #order_review {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.woocommerce-checkout-review-order-table,
.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
  border-color: var(--thryl-border) !important;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table {
  overflow: hidden;
  border: 1px solid var(--thryl-border) !important;
  border-radius: var(--thryl-radius-sm);
  border-collapse: separate;
  border-spacing: 0;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table th,
.woocommerce-checkout .woocommerce-checkout-review-order-table td {
  padding: 0.85rem 0.9rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  vertical-align: middle;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table th {
  width: 58%;
  color: var(--thryl-muted);
  font-weight: 650;
}

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

.woocommerce-checkout .woocommerce-checkout-review-order-table thead th {
  color: var(--thryl-white);
  font-weight: 750;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table thead th.product-total {
  text-align: right;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table tbody .product-name {
  color: var(--thryl-white);
  font-weight: 600;
  text-align: left;
  overflow-wrap: anywhere;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table tbody tr.cart_item td {
  height: auto;
  padding-block: 0.8rem;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table .thryl-checkout-product-label,
.woocommerce-checkout .woocommerce-checkout-review-order-table .product-quantity {
  display: inline;
  line-height: 1.4;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table .product-quantity {
  margin-left: 0.3rem;
  white-space: nowrap;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table tbody .product-total {
  white-space: nowrap;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table .order-total th,
.woocommerce-checkout .woocommerce-checkout-review-order-table .order-total td {
  color: var(--thryl-white);
  font-size: 0.95rem;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table th small {
  color: var(--thryl-muted);
  font-size: 0.65rem;
  font-weight: 500;
  white-space: nowrap;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table .order-total .includes_tax {
  display: none;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table .thryl-gst-breakdown td {
  padding-top: 0;
  border-top: 0 !important;
  text-align: left;
}

.woocommerce-checkout #payment {
  border: 1px solid var(--thryl-border);
  border-radius: var(--thryl-radius-md);
  background: var(--thryl-card);
}

.woocommerce-checkout #payment ul.payment_methods {
  display: grid;
  padding: 0.85rem;
  margin: 0;
  border: 0;
  gap: 0.75rem;
  list-style: none;
}

/* WooCommerce selects the sole available method and retains its form input.
   Hide only the redundant choice; keep inline payment fields/instructions.
   :has() also follows checkout fragment replacements without extra observers. */
.woocommerce-checkout #payment ul.payment_methods:has(> li.wc_payment_method:only-child > input[name="payment_method"]:checked) > li > input.input-radio,
.woocommerce-checkout #payment ul.payment_methods:has(> li.wc_payment_method:only-child > input[name="payment_method"]:checked) > li > label {
  display: none;
}

/* These redirect gateways need no on-page payment UI. Never conceal payment
   controls if a gateway extension adds fields or an embedded checkout. */
.woocommerce-checkout #payment ul.payment_methods:has(> li.wc_payment_method:only-child > input[name="payment_method"]:checked:is([value="razorpay"], [value="payubiz"])):not(:has(.payment_box input:not([type="hidden"]), .payment_box select, .payment_box textarea, .payment_box button, .payment_box iframe, .payment_box [contenteditable="true"])) {
  display: none;
}

.woocommerce-checkout #payment ul.payment_methods > li.wc_payment_method {
  position: relative;
  padding: 1rem;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--thryl-border);
  border-radius: var(--thryl-radius-sm);
  background: #111;
  transition: border-color 180ms var(--thryl-ease), background-color 180ms var(--thryl-ease);
}

.woocommerce-checkout #payment ul.payment_methods > li.wc_payment_method.is-selected,
.woocommerce-checkout #payment ul.payment_methods > li.wc_payment_method:has(> input.input-radio:checked) {
  border-color: #777;
  background: #181818;
}

.woocommerce-checkout #payment ul.payment_methods > li.wc_payment_method > input.input-radio {
  position: absolute;
  top: 1.28rem;
  left: 1rem;
  float: none;
  width: 1.15rem;
  height: 1.15rem;
  margin: 0;
  accent-color: var(--thryl-white);
}

.woocommerce-checkout #payment ul.payment_methods > li.wc_payment_method > label {
  display: grid;
  min-width: 0;
  min-height: 1.75rem;
  padding-left: 2rem;
  margin: 0;
  color: var(--thryl-white);
  font-size: clamp(0.9rem, 2.6vw, 1rem);
  font-weight: 650;
  line-height: 1.4;
  align-items: center;
  gap: 0.75rem;
  grid-template-columns: minmax(0, 1fr) auto;
}

.woocommerce-checkout #payment ul.payment_methods > li.wc_payment_method > label img {
  display: block;
  float: none !important;
  width: auto;
  max-width: 8.75rem;
  height: auto;
  max-height: 2.35rem;
  padding: 0.38rem 0.55rem;
  margin: 0 !important;
  border: 1px solid #d8d8d8;
  border-radius: 0.5rem;
  background: #fff;
  object-fit: contain;
}

.woocommerce-checkout #payment ul.payment_methods > li.payment_method_razorpay > label img {
  min-width: 7.75rem;
}

.woocommerce-checkout #payment ul.payment_methods > li.payment_method_cod > label {
  grid-template-columns: minmax(0, 1fr);
}

.woocommerce-checkout #payment div.payment_box {
  padding: 0.8rem 0.9rem;
  margin: 0.85rem 0 0 2rem;
  border: 1px solid var(--thryl-border);
  border-radius: 0.6rem;
  background: #0c0c0c;
  color: var(--thryl-muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

.woocommerce-checkout #payment div.payment_box p {
  margin: 0;
}

.woocommerce-checkout #payment div.payment_box::before {
  display: none;
}

/*
 * Razorpay renders the affordability card inside a cross-origin iframe. Keep
 * that frame sized to the useful card area so its larger white canvas does not
 * spill across wide product summaries.
 */
.single-product #razorpay-affordability-widget {
  position: relative;
  width: min(100%, 336px);
  height: var(--thryl-razorpay-card-height, 70px);
  max-width: 100%;
  overflow: hidden;
  margin: 12px 0;
  border-radius: 8px;
  background: transparent !important;
  line-height: 0;
}

.single-product #razorpay-affordability-widget #rzpAffordabilityMainFrame,
.single-product #razorpay-affordability-widget iframe {
  display: block !important;
  position: absolute;
  top: -3.2px;
  left: -3.2px;
  width: calc(100% + 6.4px) !important;
  max-width: none !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  clip-path: none;
}

@media (max-width: 30rem) {
  .woocommerce-checkout #payment ul.payment_methods > li.wc_payment_method > label {
    grid-template-columns: minmax(0, 1fr);
  }

  .woocommerce-checkout #payment ul.payment_methods > li.wc_payment_method > label img {
    max-width: min(9rem, 100%);
  }
}

/* Razorpay receipt hand-off: preserve its native processing while avoiding a raw intermediary screen. */
.woocommerce-order-pay .thryl-main.thryl-checkout {
  width: min(100% - (2 * var(--thryl-gutter)), 62rem);
  padding-block: clamp(1.5rem, 5vw, 4rem);
}

.woocommerce-order-pay .thryl-page-header {
  margin-bottom: clamp(1rem, 3vw, 1.5rem);
}

.woocommerce-order-pay .thryl-page-header h1 {
  font-size: clamp(2rem, 7vw, 3.75rem);
  letter-spacing: -0.045em;
  line-height: 1;
}

.woocommerce-order-pay .thryl-entry-content > .woocommerce {
  display: grid;
  gap: 1rem;
}

.woocommerce-order-pay ul.order_details {
  display: grid;
  padding: 1px;
  margin: 0 !important;
  overflow: hidden;
  border: 1px solid var(--thryl-border);
  border-radius: var(--thryl-radius-md);
  background: var(--thryl-border);
  gap: 1px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
}

.woocommerce-order-pay ul.order_details li {
  float: none;
  width: auto;
  min-width: 0;
  padding: 0.9rem;
  margin: 0;
  border: 0;
  background: var(--thryl-card);
  color: var(--thryl-muted);
  font-size: 0.68rem;
  letter-spacing: 0.07em;
  line-height: 1.35;
  text-transform: uppercase;
}

.woocommerce-order-pay ul.order_details li strong {
  display: block;
  max-width: 100%;
  margin-top: 0.3rem;
  overflow-wrap: anywhere;
  color: var(--thryl-white);
  font-size: clamp(0.88rem, 2.7vw, 1.05rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.35;
  text-transform: none;
}

.woocommerce-order-pay .thryl-razorpay-legacy-intro {
  display: none;
}

.woocommerce-order-pay .thryl-razorpay-launch {
  display: grid;
  width: min(100%, 34rem);
  padding: clamp(1.35rem, 5vw, 2rem);
  margin: clamp(0.25rem, 2vw, 0.75rem) auto 0;
  border: 1px solid var(--thryl-border);
  border-radius: var(--thryl-radius-md);
  background: var(--thryl-card);
  text-align: center;
  justify-items: center;
}

.woocommerce-order-pay .thryl-razorpay-launch__brand {
  display: grid;
  min-width: 9.5rem;
  min-height: 3.25rem;
  padding: 0.65rem 0.9rem;
  border: 1px solid #ddd;
  border-radius: 0.75rem;
  background: #fff;
  place-items: center;
}

.woocommerce-order-pay .thryl-razorpay-launch__brand img {
  display: block;
  width: auto;
  max-width: 8rem;
  height: auto;
  max-height: 2rem;
}

.woocommerce-order-pay .thryl-razorpay-launch__spinner {
  width: 2.25rem;
  height: 2.25rem;
  margin: 1.4rem 0 1rem;
  border: 0.2rem solid #3b3b3b;
  border-top-color: var(--thryl-white);
  border-radius: 50%;
  animation: thryl-razorpay-spin 800ms linear infinite;
}

.woocommerce-order-pay .thryl-razorpay-launch.is-ready .thryl-razorpay-launch__spinner {
  position: relative;
  border-color: var(--thryl-white);
  animation: none;
}

.woocommerce-order-pay .thryl-razorpay-launch.is-ready .thryl-razorpay-launch__spinner::after {
  position: absolute;
  top: 0.42rem;
  left: 0.55rem;
  width: 0.85rem;
  height: 0.45rem;
  border-bottom: 0.13rem solid var(--thryl-white);
  border-left: 0.13rem solid var(--thryl-white);
  content: "";
  transform: rotate(-45deg);
}

@keyframes thryl-razorpay-spin {
  to {
    transform: rotate(360deg);
  }
}

.woocommerce-order-pay .thryl-razorpay-launch h2 {
  margin: 0;
  color: var(--thryl-white);
  font-size: clamp(1.2rem, 4vw, 1.55rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.woocommerce-order-pay .thryl-razorpay-launch > p {
  max-width: 28rem;
  margin: 0.55rem 0 0;
  color: var(--thryl-muted);
  font-size: clamp(0.82rem, 2.7vw, 0.95rem);
  line-height: 1.55;
}

.woocommerce-order-pay .thryl-razorpay-launch__security {
  display: flex;
  margin-top: 1.15rem;
  color: #aaa;
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.45rem 1.2rem;
  text-transform: uppercase;
}

.woocommerce-order-pay .thryl-razorpay-launch__security span::before {
  margin-right: 0.35rem;
  color: var(--thryl-white);
  content: "✓";
}

.woocommerce-order-pay .thryl-razorpay-actions {
  display: flex;
  width: min(100%, 34rem);
  margin: 0 auto;
  align-items: stretch;
  gap: 0.65rem;
  transition: opacity 180ms var(--thryl-ease);
}

.woocommerce-order-pay .thryl-razorpay-launch.is-launching + .thryl-razorpay-actions {
  pointer-events: none;
  opacity: 0;
}

.woocommerce-order-pay #btn-razorpay,
.woocommerce-order-pay #btn-razorpay-cancel {
  min-height: 3.25rem;
  padding: 0.75rem 1rem;
  margin: 0;
  border: 1px solid var(--thryl-white);
  border-radius: 0.7rem;
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.055em;
  line-height: 1.2;
  text-transform: uppercase;
}

.woocommerce-order-pay #btn-razorpay {
  background: var(--thryl-white);
  color: var(--thryl-black);
  flex: 1 1 auto;
}

.woocommerce-order-pay #btn-razorpay-cancel {
  border-color: var(--thryl-border-light);
  background: transparent;
  color: var(--thryl-white);
  flex: 0 1 auto;
}

.woocommerce-order-pay #msg-razorpay-success {
  width: min(100%, 34rem);
  padding: 1rem !important;
  margin: 0 auto !important;
  border: 1px solid var(--thryl-border) !important;
  border-radius: var(--thryl-radius-sm);
  background: var(--thryl-card) !important;
  color: var(--thryl-white) !important;
  font-size: 0.85rem;
  text-align: center;
}

@media (min-width: 48rem) {
  .woocommerce-order-pay ul.order_details {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 30rem) {
  .woocommerce-order-pay ul.order_details {
    grid-template-columns: 1fr;
  }

  .woocommerce-order-pay .thryl-razorpay-actions {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .woocommerce-order-pay .thryl-razorpay-launch__spinner {
    animation-duration: 1600ms;
  }
}

.woocommerce-checkout #payment #place_order {
  float: none;
  width: 100%;
  min-height: 3.5rem;
  border-color: var(--thryl-white) !important;
  background: var(--thryl-black) !important;
  color: var(--thryl-white) !important;
}

.woocommerce-checkout #payment #place_order:not(:disabled):not(.disabled):hover,
.woocommerce-checkout #payment #place_order:not(:disabled):not(.disabled):focus-visible {
  border-color: var(--thryl-white) !important;
  background: var(--thryl-white) !important;
  color: var(--thryl-black) !important;
}

.woocommerce-checkout #payment #place_order.disabled,
.woocommerce-checkout #payment #place_order:disabled,
.woocommerce-checkout #payment #place_order:disabled[disabled],
.woocommerce-checkout #payment #place_order[aria-disabled="true"] {
  border-color: var(--thryl-border-light) !important;
  background: var(--thryl-black) !important;
  color: var(--thryl-muted) !important;
  opacity: 0.7 !important;
  transform: none !important;
}

/* Keep the classic checkout order-notes field inside the dark storefront system. */
.woocommerce-checkout textarea#order_comments,
.woocommerce-checkout .woocommerce-additional-fields textarea {
  background: #101010 !important;
  border: 1px solid #696969 !important;
  color: #f7f7f7 !important;
}

.woocommerce-checkout textarea#order_comments::placeholder,
.woocommerce-checkout .woocommerce-additional-fields textarea::placeholder {
  color: #a1a1a1 !important;
}

.wc-block-components-checkout-step,
.wc-block-components-totals-wrapper,
.wc-block-components-order-summary {
  border-color: var(--thryl-border) !important;
}

.wc-block-components-radio-control-accordion-option,
.wc-block-components-radio-control__option {
  border-color: var(--thryl-border) !important;
  background: var(--thryl-card);
}

.wc-block-components-radio-control__option--checked {
  background: #222;
}

.wc-block-components-checkbox .wc-block-components-checkbox__input,
.wc-block-components-radio-control .wc-block-components-radio-control__input {
  border-color: var(--thryl-muted);
  background: transparent;
}

.wc-block-components-checkout-place-order-button {
  width: 100%;
  min-height: 3.5rem;
}

.wc-block-components-form .wc-block-components-text-input label,
.wc-block-components-text-input label,
.wc-block-components-combobox .wc-block-components-combobox-control label.components-base-control__label {
  color: var(--thryl-muted);
}

.thryl-checkout .thryl-checkout__customer #customer_details,
.thryl-checkout .thryl-checkout__order #order_review {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

/* Footer */
.thryl-footer {
  padding: clamp(3rem, 8vw, 6rem) 0 calc(var(--thryl-mobile-nav-height) + 2rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--thryl-border);
  background: var(--thryl-charcoal);
}

.thryl-footer__inner {
  display: grid;
  width: min(100% - (2 * var(--thryl-gutter)), var(--thryl-container));
  margin-inline: auto;
  gap: clamp(2.5rem, 6vw, 4.5rem);
}

.thryl-footer__brand .thryl-wordmark {
  display: inline-block;
  font-size: clamp(2.75rem, 16vw, 8rem);
  font-weight: 800;
  letter-spacing: -0.075em;
  line-height: 0.82;
}

.thryl-footer__brand .custom-logo-link {
  max-width: clamp(8rem, 32vw, 18rem);
  overflow: visible;
}

.thryl-footer__brand .custom-logo {
  width: auto;
  max-width: 100%;
  max-height: clamp(3rem, 9vw, 5.5rem);
  object-fit: contain;
}

.thryl-footer__brand p {
  max-width: 30rem;
  margin: 1.25rem 0 0;
  color: var(--thryl-muted);
  font-size: 0.85rem;
  line-height: 1.6;
}

.thryl-footer__nav {
  min-width: 0;
}

.thryl-footer__sections {
  display: grid;
  min-width: 0;
  gap: clamp(2rem, 5vw, 3.5rem);
}

.thryl-footer__nav > ul {
  display: grid;
  align-items: start;
  gap: 2rem clamp(1.5rem, 5vw, 4rem);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.thryl-footer__nav > ul > li > a,
.thryl-footer__group h2 {
  display: block;
  min-height: 0;
  padding: 0;
  margin: 0 0 1rem;
  color: var(--thryl-white);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.11em;
  line-height: 1.25;
  text-align: left;
  text-transform: uppercase;
}

.thryl-footer__nav li,
.thryl-footer__nav li + li {
  min-width: 0;
  margin: 0;
}

.thryl-footer__nav a {
  display: inline-flex;
  min-height: 1.85rem;
  padding: 0.22rem 0;
  align-items: center;
  color: var(--thryl-muted);
  font-size: 0.82rem;
  text-align: left;
}

.thryl-footer__nav .sub-menu {
  display: grid;
  gap: 0.35rem;
}

.thryl-footer__nav > ul > li:not(.menu-item-has-children) > a {
  margin-bottom: 0;
}

.thryl-footer__policies {
  display: grid;
  min-width: 0;
  align-items: start;
  gap: 2rem clamp(1.5rem, 5vw, 4rem);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.thryl-footer__group {
  min-width: 0;
}

.thryl-footer__group ul {
  display: grid;
  gap: 0.35rem;
}

.thryl-footer__group a {
  display: inline-flex;
  min-height: 1.85rem;
  padding: 0.22rem 0;
  align-items: center;
  color: var(--thryl-muted);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.4;
  min-width: 0;
  text-align: left;
}

.thryl-footer__nav a:hover,
.thryl-footer__group a:hover {
  color: var(--thryl-white);
  text-decoration: underline;
  text-underline-offset: 0.25rem;
}

.thryl-footer__legal {
  display: flex;
  padding-top: 1.25rem;
  border-top: 0;
  color: var(--thryl-muted);
  font-size: 0.7rem;
  justify-content: center;
  gap: 1rem;
}

.thryl-footer__legal p {
  margin: 0;
  text-align: center;
}

.thryl-footer__copyright {
  display: block;
  margin-top: 0.35rem;
}

.thryl-footer__legal a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

@media (max-width: 59.99rem) {
  .thryl-header__account {
    display: none !important;
  }

  body.single-product,
  .single-product.thryl-site {
    padding-bottom: 5.5rem;
  }

  .single-product .thryl-mobile-nav,
  .woocommerce-cart .thryl-mobile-nav,
  .woocommerce-checkout .thryl-mobile-nav {
    display: none;
  }
}

@media (max-width: 47.99rem) {
  body.admin-bar .thryl-header {
    top: 2.875rem;
  }

  .thryl-checkout {
    width: min(100% - 1rem, 42rem);
    padding-block: 1.25rem 3rem;
  }

  .thryl-checkout__layout {
    gap: 1rem;
  }

  .thryl-checkout__customer,
  .thryl-checkout__order {
    padding: 1rem;
  }

  .thryl-checkout-section__head {
    align-items: flex-start;
  }

  .thryl-checkout-fields,
  .thryl-delivery__saved {
    grid-template-columns: minmax(0, 1fr);
  }

  .thryl-address-card {
    min-height: 0;
  }

  .thryl-delivery__form {
    padding: 0.85rem;
  }

  .thryl-address-modal {
    padding: 0;
    place-items: end center;
  }

  .thryl-address-modal__dialog {
    width: 100%;
    max-height: min(42rem, calc(100dvh - 1.25rem));
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 1rem 1rem 0 0;
    transform: translateY(1.5rem);
  }

  .thryl-delivery-summary__contact {
    display: grid;
  }

  .woocommerce table.shop_table_responsive tr,
  .woocommerce-page table.shop_table_responsive tr {
    display: block;
    width: 100%;
    padding-block: 0.75rem;
    border-bottom: 1px solid var(--thryl-border);
  }

  .woocommerce table.shop_table_responsive,
  .woocommerce-page table.shop_table_responsive {
    width: 100%;
    table-layout: fixed;
  }

  .woocommerce table.shop_table_responsive thead,
  .woocommerce-page table.shop_table_responsive thead {
    display: none;
  }

  .woocommerce table.shop_table_responsive tr td,
  .woocommerce-page table.shop_table_responsive tr td {
    display: block;
    width: 100% !important;
    min-height: 2.5rem;
    padding: 0.55rem;
    border: 0;
    background: transparent !important;
    text-align: right !important;
  }

  .woocommerce table.shop_table_responsive tr td::before,
  .woocommerce-page table.shop_table_responsive tr td::before {
    float: left;
    color: var(--thryl-muted);
    content: attr(data-title);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .woocommerce table.shop_table_responsive tr td.product-remove::before,
  .woocommerce table.shop_table_responsive tr td.product-thumbnail::before,
  .woocommerce table.shop_table_responsive tr td.product-name::before,
  .woocommerce table.shop_table_responsive tr td.actions::before,
  .woocommerce-page table.shop_table_responsive tr td.product-remove::before,
  .woocommerce-page table.shop_table_responsive tr td.product-thumbnail::before,
  .woocommerce-page table.shop_table_responsive tr td.product-name::before,
  .woocommerce-page table.shop_table_responsive tr td.actions::before {
    display: none;
  }

  .woocommerce table.shop_table_responsive tr td.product-remove,
  .woocommerce table.shop_table_responsive tr td.product-thumbnail,
  .woocommerce table.shop_table_responsive tr td.product-name,
  .woocommerce table.shop_table_responsive tr td.actions,
  .woocommerce-page table.shop_table_responsive tr td.product-remove,
  .woocommerce-page table.shop_table_responsive tr td.product-thumbnail,
  .woocommerce-page table.shop_table_responsive tr td.product-name,
  .woocommerce-page table.shop_table_responsive tr td.actions {
    text-align: left !important;
  }

  .woocommerce-cart-form__cart-item .product-thumbnail {
    display: block !important;
    width: 6rem;
  }
}

@media (max-width: 37.5rem) {
  body.admin-bar .thryl-header {
    top: 0;
  }
}

@media (min-width: 37.5rem) {
  .thryl-product-rail {
    grid-auto-columns: min(45vw, 23rem);
  }

  .thryl-team-rail {
    grid-auto-columns: min(64vw, 35rem);
  }

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

  .thryl-purchase .quantity,
  .thryl-purchase .variations,
  .thryl-purchase .single_variation_wrap {
    grid-column: 1 / -1;
  }
}

@media (min-width: 48rem) {
  .thryl-category-grid,
  .thryl-products,
  .woocommerce ul.products {
    gap: clamp(1.5rem, 2.5vw, 2.5rem) 1rem;
  }

  .thryl-category-card {
    min-height: 28rem;
  }

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

  .woocommerce-checkout form.checkout {
    grid-template-columns: minmax(0, 1.25fr) minmax(20rem, 0.75fr);
    align-items: start;
  }

  .thryl-checkout__layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(22rem, 0.85fr);
    align-items: start;
  }

  .thryl-checkout__customer {
    grid-column: 1;
    grid-row: 1;
  }

  .thryl-checkout__coupon {
    grid-column: 1;
    grid-row: 2;
  }

  .thryl-checkout__order {
    position: sticky;
    top: calc(var(--thryl-header-height) + 1rem);
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .woocommerce-checkout #customer_details {
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  .woocommerce-checkout #order_review_heading,
  .woocommerce-checkout #order_review {
    grid-column: 2;
  }

  .woocommerce-checkout #order_review {
    position: sticky;
    top: calc(var(--thryl-header-height) + 1rem);
  }
}

@media (min-width: 48.9375rem) {
  body.admin-bar .thryl-header {
    top: 2rem;
  }

  body.admin-bar .thryl-drawer {
    top: calc(var(--thryl-header-height) + 2rem);
  }
}

@media (min-width: 60rem) {
  :root {
    --thryl-header-height: 5rem;
  }

  .thryl-menu-toggle,
  .thryl-header__menu-toggle {
    display: none !important;
  }

  .thryl-header__nav {
    display: block;
    margin-inline: auto;
  }

  .thryl-header__nav > ul,
  .thryl-header__nav .menu {
    display: flex;
    align-items: center;
    gap: clamp(1.25rem, 2.4vw, 2.5rem);
  }

  .thryl-header__nav a {
    position: relative;
    display: block;
    padding-block: 1rem;
    color: var(--thryl-muted);
    font-size: 0.75rem;
    font-weight: 650;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: color 180ms ease;
  }

  .thryl-header__nav a::after {
    position: absolute;
    right: 0;
    bottom: 0.75rem;
    left: 0;
    height: 1px;
    background: var(--thryl-white);
    content: "";
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 240ms var(--thryl-ease);
  }

  .thryl-header__nav a:hover,
  .thryl-header__nav .current-menu-item > a {
    color: var(--thryl-white);
  }

  .thryl-header__nav a:hover::after,
  .thryl-header__nav .current-menu-item > a::after {
    transform: scaleX(1);
    transform-origin: left;
  }

  .thryl-drawer {
    inset: var(--thryl-header-height) auto 0 0;
    width: min(30rem, 42vw);
    border-right: 1px solid var(--thryl-border);
  }

  .thryl-drawer--search,
  [data-search-drawer] {
    inset: var(--thryl-header-height) 0 auto;
    width: 100%;
    border-right: 0;
  }

  .thryl-mobile-nav {
    display: none;
  }

  .thryl-hero__content {
    padding-bottom: 5rem;
  }

  .thryl-hero::after {
    top: 25%;
    right: 42%;
  }

  .thryl-product-rail,
  .thryl-team-rail {
    padding-inline: max(var(--thryl-gutter), calc((100vw - var(--thryl-container)) / 2));
  }

  .thryl-product-rail {
    grid-auto-columns: min(24vw, 22rem);
  }

  .thryl-team-rail {
    grid-auto-columns: min(38vw, 34rem);
  }

  .thryl-category-grid,
  .thryl-products,
  .woocommerce ul.products {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .thryl-content-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .thryl-category-card {
    min-height: clamp(24rem, 34vw, 34rem);
  }

  .thryl-upcoming {
    grid-template-columns: minmax(0, 1.1fr) minmax(22rem, 0.9fr);
  }

  .thryl-upcoming__media {
    min-height: 38rem;
  }

  .thryl-pdp,
  .thryl-pdp__layout,
  .single-product div.product {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(20rem, 1fr);
    align-items: start;
  }

  .thryl-pdp__gallery,
  .single-product div.product .woocommerce-product-gallery {
    grid-column: 1;
  }

  .thryl-gallery__track,
  .thryl-pdp__gallery .woocommerce-product-gallery__wrapper,
  .thryl-pdp__gallery-grid,
  .woocommerce-product-gallery__wrapper {
    overflow: visible;
    gap: 0.25rem;
    grid-auto-flow: row;
    grid-auto-columns: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .thryl-gallery__count {
    display: none;
  }

  .thryl-pdp__summary,
  .single-product div.product .summary {
    position: sticky;
    top: var(--thryl-header-height);
    display: flex;
    min-width: 0;
    min-height: calc(100vh - var(--thryl-header-height));
    max-height: calc(100vh - var(--thryl-header-height));
    padding: clamp(2rem, 3vw, 3.5rem);
    overflow-y: auto;
    align-self: start;
    flex-direction: column;
    grid-column: 2;
    scrollbar-width: thin;
  }

  .thryl-pdp__summary .product_title,
  .thryl-pdp__summary .woocommerce-product-details__short-description,
  .thryl-pdp__summary .product_meta {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .thryl-pdp__assurances {
    min-width: 0;
    overflow-x: auto;
    grid-column: 1;
  }

  .thryl-pdp__information {
    width: 100%;
    max-width: 100%;
    padding: clamp(3rem, 6vw, 6rem) var(--thryl-gutter);
    margin-inline: 0;
    grid-column: 1;
  }

  .single-product div.product .related,
  .single-product div.product .upsells {
    grid-column: 1 / -1;
  }

  .thryl-sticky-purchase {
    display: none;
  }

  .thryl-cart .thryl-entry-content > .woocommerce,
  .thryl-cart > .woocommerce {
    display: block;
  }

  .thryl-cart .thryl-entry-content > .woocommerce > .woocommerce-notices-wrapper,
  .thryl-cart .thryl-entry-content > .woocommerce > .woocommerce-message,
  .thryl-cart .thryl-entry-content > .woocommerce > .woocommerce-info,
  .thryl-cart .thryl-entry-content > .woocommerce > .woocommerce-error,
  .thryl-cart > .woocommerce > .woocommerce-notices-wrapper,
  .thryl-cart > .woocommerce > .woocommerce-message,
  .thryl-cart > .woocommerce > .woocommerce-info,
  .thryl-cart > .woocommerce > .woocommerce-error {
    width: 100%;
    margin: 0;
    grid-column: 1 / -1;
  }

  .thryl-cart .thryl-entry-content > .woocommerce > .woocommerce-cart-form,
  .thryl-cart > .woocommerce > .woocommerce-cart-form {
    min-width: 0;
    grid-column: 1;
  }

  .thryl-cart .thryl-entry-content > .woocommerce > .cart-collaterals,
  .thryl-cart > .woocommerce > .cart-collaterals {
    grid-column: 2;
  }

  .thryl-cart__layout {
    gap: 2rem;
    grid-template-columns: minmax(0, 1.55fr) minmax(19rem, 0.65fr);
    align-items: start;
  }

  .thryl-checkout__layout {
    gap: 2rem;
    grid-template-columns: minmax(0, 1.25fr) minmax(19rem, 0.75fr);
    align-items: start;
  }

  .thryl-checkout__customer {
    grid-column: 1;
    grid-row: 1;
  }

  .thryl-checkout__coupon {
    grid-column: 1;
    grid-row: 2;
  }

  .thryl-checkout__order {
    position: sticky;
    top: calc(var(--thryl-header-height) + 1.5rem);
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .thryl-cart__title,
  .woocommerce-cart h1,
  .wc-block-cart__main > h2 {
    grid-column: 1 / -1;
  }

  .cart-collaterals,
  .wc-block-cart__sidebar {
    position: sticky;
    top: calc(var(--thryl-header-height) + 1.5rem);
  }

  .thryl-footer {
    padding-bottom: clamp(3rem, 8vw, 6rem);
  }

  .thryl-footer__inner {
    grid-template-columns: 1fr;
  }

  .thryl-footer__legal {
    grid-column: 1 / -1;
  }
}

@media (min-width: 80rem) {
  .thryl-product-rail {
    grid-auto-columns: min(23vw, 23rem);
  }

  .thryl-category-grid,
  .thryl-products,
  .woocommerce ul.products {
    column-gap: 1.25rem;
  }
}

/* Approved storefront refinements: compact navigation, live search, archives, and PDP. */
.thryl-mobile-nav {
  display: none !important;
}

.thryl-header__inner {
  max-width: 90rem;
}

.thryl-header__nav a {
  font-size: 0.68rem !important;
  letter-spacing: 0.055em !important;
}

.thryl-drawer--menu {
  width: 100%;
	padding: 0;
	background: rgba(0, 0, 0, 0.62);
}

.thryl-drawer--menu .thryl-drawer__panel {
	display: flex;
	width: min(88vw, 24rem);
	min-height: 100%;
	padding: 1rem;
	border-right: 1px solid var(--thryl-border);
	background: #101010;
	flex-direction: column;
}

.thryl-drawer--menu .thryl-drawer__head {
  min-height: 4rem;
  padding: 0 0.25rem 1rem;
}

.thryl-drawer--menu .thryl-drawer__title,
.thryl-drawer--menu .thryl-drawer__home {
  overflow: hidden;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-overflow: ellipsis;
  text-transform: none;
  white-space: nowrap;
}

.thryl-drawer--menu .thryl-drawer__home {
	display: inline-flex;
	width: fit-content;
	max-width: min(12rem, 70vw);
	min-height: 2.75rem;
	padding: 0;
	border: 0;
	border-radius: 0;
	align-items: center;
}

.thryl-drawer--menu .thryl-drawer__logo {
	display: block;
	width: auto;
	max-width: 100%;
	max-height: 2.4rem;
	object-fit: contain;
}

.thryl-sidebar-nav {
  display: grid;
  padding-block: 0.75rem;
  gap: 0.25rem;
}

.thryl-sidebar-nav ul,
.thryl-sidebar-menu {
  display: grid;
  padding: 0;
  margin: 0;
  list-style: none;
  gap: 0.25rem;
}

.thryl-sidebar-nav li {
  min-width: 0;
  margin: 0;
}

.thryl-sidebar-nav a {
  display: grid;
  min-height: 3.65rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid transparent;
  border-radius: 0.65rem;
  color: var(--thryl-white);
  align-items: center;
  font-size: 0.88rem;
  font-weight: 650;
  gap: 0.85rem;
  grid-template-columns: 1.5rem minmax(0, 1fr);
}

.thryl-sidebar-nav a > span:not(.screen-reader-text) {
  min-width: 0;
  overflow-wrap: anywhere;
}

.thryl-sidebar-nav a:hover,
.thryl-sidebar-nav a:focus-visible {
  border-color: var(--thryl-border-light);
  background: var(--thryl-card);
  color: var(--thryl-white);
}

.thryl-sidebar-nav .thryl-icon {
  width: 1.25rem;
  height: 1.25rem;
}

.thryl-sidebar-nav .thryl-icon--arrow {
  width: 1rem;
  color: var(--thryl-muted);
}

.thryl-live-search,
.thryl-drawer--search.thryl-live-search {
  right: 0;
  bottom: auto;
  left: 0;
  display: block;
  width: 100%;
  max-height: calc(100svh - 0.5rem);
  padding: 0 var(--thryl-gutter) 1rem;
  overflow-y: auto;
  border-right: 0;
  border-bottom: 1px solid var(--thryl-border);
  background: var(--thryl-black);
  opacity: 0;
  pointer-events: none;
	transform: translate3d(0, -0.5rem, 0);
	transform-origin: top center;
	transition: visibility 0s linear 220ms, opacity 180ms ease-out, transform 220ms var(--thryl-ease);
	will-change: opacity, transform;
}

.thryl-live-search.is-open,
.thryl-live-search[aria-hidden="false"] {
  opacity: 1;
  pointer-events: auto;
	transform: translate3d(0, 0, 0);
  transition-delay: 0s;
}

.thryl-live-search__bar {
  display: grid;
  min-height: var(--thryl-header-height);
  align-items: center;
  gap: 0.5rem;
  grid-template-columns: 2.75rem minmax(0, 1fr);
  border-bottom: 1px solid var(--thryl-border);
}

.thryl-live-search__back .thryl-icon {
  transform: rotate(180deg);
}

.thryl-live-search__form,
.thryl-live-search__form .thryl-search-form {
  width: 100%;
  margin: 0;
}

.thryl-live-search__form .thryl-search-form {
  display: grid;
  gap: 0.5rem;
  grid-template-columns: minmax(0, 1fr) auto;
}

.thryl-live-search__form input[type="search"] {
  min-height: 3rem;
  padding: 0.65rem 0.9rem;
  border: 0;
  border-radius: 0;
  outline-offset: -2px;
  background: transparent;
  color: var(--thryl-white);
  font-size: clamp(0.9rem, 2vw, 1.05rem);
}

.thryl-live-search__form button {
  width: 3rem;
  min-width: 3rem;
  min-height: 3rem;
  padding: 0;
  border: 1px solid #696969;
  border-radius: 50%;
  background: transparent;
  color: var(--thryl-white);
}

.thryl-live-search__form button span {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.thryl-live-search__results {
  width: min(100%, 42rem);
  padding-top: 1rem;
  margin-inline: auto;
}

.thryl-live-search__results-head {
  display: flex;
  padding-bottom: 0.55rem;
  color: var(--thryl-muted);
  align-items: center;
  font-size: 0.65rem;
  justify-content: space-between;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.thryl-live-search__grid {
  display: grid;
  gap: 0.6rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.thryl-live-search__result {
  display: grid;
  min-width: 0;
  min-height: 5.25rem;
  padding: 0.45rem;
  border: 1px solid var(--thryl-border);
  border-radius: var(--thryl-radius-sm);
  background: transparent;
  color: var(--thryl-white);
  align-items: center;
  gap: 0.65rem;
  grid-template-columns: 4.25rem minmax(0, 1fr);
}

.thryl-live-search__result:hover,
.thryl-live-search__result:focus-visible {
  border-color: #696969;
  background: var(--thryl-card);
}

.thryl-live-search__result[hidden] {
  display: none;
}

.thryl-live-search__result img {
  width: 4.25rem;
  height: 4.25rem;
  margin: 0;
  border-radius: 0.4rem;
  background: var(--thryl-card);
  object-fit: cover;
}

.thryl-live-search__result > span {
  display: grid;
  min-width: 0;
  gap: 0.14rem;
}

.thryl-live-search__result strong {
  overflow: hidden;
  font-size: 0.78rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.thryl-live-search__result small {
  overflow: hidden;
  color: var(--thryl-muted);
  font-size: 0.62rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.thryl-live-search__result em {
  color: var(--thryl-white);
  font-size: 0.68rem;
  font-style: normal;
}

.thryl-live-search__empty {
  padding: 1rem;
  border: 1px dashed var(--thryl-border-light);
  border-radius: 0.65rem;
  color: var(--thryl-muted);
  font-size: 0.76rem;
  text-align: center;
}

.thryl-live-search__empty[hidden] {
  display: none;
}

.thryl-catalog__header {
  display: grid;
  padding-block: clamp(1.5rem, 5vw, 4rem) clamp(1.25rem, 3vw, 2.25rem);
  border-bottom: 1px solid var(--thryl-border);
  align-items: end;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr) auto;
}

.thryl-catalog__header h1 {
  margin: 0.2rem 0 0.6rem;
  font-size: clamp(1.5rem, 3.25vw, 2.35rem);
  font-weight: 750;
  letter-spacing: 0.015em;
  line-height: 1.05;
  text-transform: uppercase;
}

.thryl-catalog__header .term-description,
.thryl-catalog__header .woocommerce-products-header__description {
  max-width: 40rem;
  margin-top: 0;
  color: var(--thryl-muted);
  font-size: 0.88rem;
}

.thryl-catalog__count {
  display: grid;
  color: var(--thryl-muted);
  justify-items: end;
  text-transform: uppercase;
}

.thryl-catalog__count strong {
  color: var(--thryl-white);
  font-size: clamp(1.1rem, 2.5vw, 1.65rem);
  letter-spacing: -0.02em;
  line-height: 1;
}

body.search .thryl-catalog__header {
  padding-block: clamp(1.25rem, 4vw, 2.5rem);
  align-items: center;
  gap: clamp(1rem, 4vw, 2.5rem);
}

body.search .thryl-catalog__header h1 {
  max-width: 22ch;
  margin: 0.15rem 0 0;
  font-size: clamp(1.35rem, 3.5vw, 2.25rem);
  letter-spacing: 0.015em;
  line-height: 1.05;
}

body.search .thryl-catalog__header .thryl-eyebrow {
  margin-bottom: 0.55rem;
  font-size: 0.62rem;
}

body.search .thryl-catalog__count strong {
  font-size: clamp(1.45rem, 3vw, 2.15rem);
}

body.search .thryl-catalog__count span {
  font-size: 0.58rem;
  letter-spacing: 0.1em;
}

.thryl-catalog__count span {
  font-size: 0.56rem;
  letter-spacing: 0.1em;
}

.thryl-catalog__toolbar {
  padding-block: 0.9rem 1.1rem;
  margin: 0;
}

.thryl-catalog__filters {
  display: flex;
  min-width: 0;
  overflow-x: auto;
  gap: 0.4rem;
  scrollbar-width: none;
}

.thryl-catalog__filters a {
  display: inline-flex;
  min-height: 2.4rem;
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--thryl-border-light);
  border-radius: 999px;
  color: var(--thryl-muted);
  align-items: center;
  font-size: 0.68rem;
  white-space: nowrap;
}

.thryl-catalog__filters a[aria-current="page"] {
  border-color: var(--thryl-white);
  background: var(--thryl-white);
  color: var(--thryl-black);
}

.thryl-catalog .thryl-product-card__colours,
.thryl-catalog .thryl-product-card__actions,
.thryl-related .thryl-product-card__colours,
.thryl-related .thryl-product-card__actions {
  display: none;
}

.thryl-catalog .thryl-product-card__body,
.thryl-related .thryl-product-card__body {
  display: block;
  padding-top: 0.65rem;
}

.thryl-catalog .thryl-product-card__title,
.thryl-related .thryl-product-card__title {
  margin-bottom: 0.2rem;
}

.thryl-cart__layout,
.thryl-checkout__layout,
.thryl-cart-table,
.thryl-cart__summary,
.thryl-checkout__customer,
.thryl-checkout__order {
  min-width: 0;
}

@media (max-width: 47.99rem) {
  :root {
    --thryl-mobile-nav-height: 0rem;
  }

  body {
    padding-bottom: 0 !important;
  }

  body.single-product,
  .single-product.thryl-site {
    padding-bottom: 0;
  }

  .thryl-header__inner {
    display: grid;
    width: calc(100% - 1.5rem);
    grid-template-columns: 5.5rem minmax(0, 1fr) 5.5rem;
  }

  .thryl-header__menu-toggle {
    justify-self: start;
  }

  .thryl-header__brand {
    max-width: 100%;
    justify-self: center;
  }

  .thryl-header__actions {
    width: 5.5rem;
    justify-content: flex-end;
    justify-self: end;
  }

  .thryl-live-search__grid {
    grid-template-columns: 1fr;
  }

  .thryl-catalog {
    width: 100%;
    padding: 0.9rem 0.75rem 3rem;
  }

  .thryl-catalog > .woocommerce-breadcrumb {
    margin-bottom: 1.25rem;
    overflow: hidden;
    font-size: 0.68rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .thryl-catalog__header {
    gap: 0.65rem;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .thryl-catalog__header h1 {
    margin-bottom: 0.5rem;
    font-size: clamp(1.45rem, 7vw, 2rem);
    line-height: 1.05;
  }

  .thryl-catalog__header .term-description,
  .thryl-catalog__header .woocommerce-products-header__description {
    max-width: 27rem;
    font-size: 0.76rem;
    line-height: 1.5;
  }

  .thryl-catalog__count {
    min-width: 0;
  }

  .thryl-catalog__count strong {
    font-size: 1.2rem;
  }

  .thryl-catalog__toolbar {
    display: grid;
    align-items: stretch;
    gap: 0.65rem;
    grid-template-columns: 1fr;
  }

  .thryl-catalog__toolbar .woocommerce-ordering,
  .thryl-catalog__toolbar .woocommerce-ordering select {
    width: 100%;
  }

  .thryl-catalog .thryl-products,
  .thryl-catalog ul.products {
    gap: 1.25rem 0.7rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .thryl-catalog .thryl-product-card__title {
    font-size: 0.74rem;
    line-height: 1.25;
  }

  .thryl-catalog .thryl-product-card__price {
    font-size: 0.65rem;
  }

  .thryl-product-page {
    width: 100%;
    padding: 0.55rem 0.65rem 2rem;
    background: var(--thryl-black);
  }

  .thryl-product-page > .woocommerce-breadcrumb {
    padding: 0.25rem 0.25rem 0.8rem;
    margin: 0;
    overflow: hidden;
    font-size: 0.68rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .thryl-pdp {
    display: block;
  }

  .thryl-pdp__gallery {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    background: transparent;
  }

  .thryl-pdp__gallery .woocommerce-product-gallery__image {
    height: auto;
    aspect-ratio: 4 / 5;
  }

  .thryl-pdp__gallery .woocommerce-product-gallery__image img {
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .thryl-pdp__gallery .thryl-gallery__count {
    right: auto;
    bottom: 0.8rem;
    left: 0.8rem;
    display: block;
    background: rgba(10, 10, 10, 0.72);
  }

  .thryl-pdp__summary {
    padding: 0.85rem 0.8rem 0.8rem;
    margin-top: 0.45rem;
    border: 1px solid var(--thryl-border);
    border-bottom: 0;
    border-radius: 0.85rem 0.85rem 0 0;
    background: var(--thryl-charcoal);
  }

  .thryl-pdp__teams,
  .thryl-pdp__rating,
  .thryl-pdp .woocommerce-product-rating,
  .thryl-pdp__intro,
  .thryl-pdp .woocommerce-product-details__short-description,
  .thryl-pdp .product_meta,
  .thryl-pdp .thryl-purchase-form__quantity {
    display: none;
  }

  .thryl-pdp .product_title {
    margin: 0 0 0.15rem;
    font-size: 1.15rem;
    line-height: 1.05;
  }

  .thryl-pdp p.price,
  .thryl-pdp span.price {
    margin-bottom: 0.65rem;
    font-size: 0.8rem;
  }

  .thryl-variation-chips__group + .thryl-variation-chips__group {
    margin-top: 0.6rem;
  }

  .thryl-variation-chips__label {
    margin-bottom: 0.4rem;
    font-size: 0.62rem;
  }

  .thryl-variation-chips__options {
    display: grid;
    gap: 0.45rem;
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .thryl-variation-chips__group[data-attribute*="color"] .thryl-variation-chips__options,
  .thryl-variation-chips__group[data-attribute*="colour"] .thryl-variation-chips__options {
    max-width: 12rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .thryl-variation-chip {
    width: 100%;
    min-width: 0;
    min-height: 2.35rem;
    padding: 0.4rem 0.35rem;
    border-color: #696969;
    border-radius: 999px;
    font-size: 0.68rem;
  }

  .thryl-variation-chip.is-selected,
  .thryl-variation-chip[aria-pressed="true"] {
    border-color: var(--thryl-white);
    background: var(--thryl-white);
    color: var(--thryl-black);
  }

  .thryl-variation-chips__clear,
  .single_variation_wrap .woocommerce-variation {
    display: none !important;
  }

  .thryl-purchase-form__actions {
    margin-top: 0.8rem;
    gap: 0.5rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .thryl-pdp form.cart {
    margin-bottom: 0;
  }

  .thryl-pdp form.cart .thryl-purchase-form__actions .thryl-button {
    width: 100% !important;
    min-height: 3.45rem !important;
    padding: 0 0.65rem !important;
    border: 1px solid #696969 !important;
    border-radius: 999px !important;
    background: transparent !important;
    color: var(--thryl-white) !important;
    font-size: 0.68rem;
    justify-content: center;
  }

  .thryl-pdp form.cart .thryl-purchase-form__actions .thryl-buy-now {
    border-color: var(--thryl-white) !important;
    background: var(--thryl-white) !important;
    color: var(--thryl-black) !important;
  }

  .thryl-pdp__information {
    padding: 0 0.8rem 0.7rem;
    border: 1px solid var(--thryl-border);
    border-top: 0;
    border-radius: 0 0 0.85rem 0.85rem;
    margin: 0;
    background: var(--thryl-charcoal);
  }

  .thryl-pdp__assurances {
    padding: 0.9rem 0.8rem;
    border: 1px solid var(--thryl-border);
    border-block: 0;
    background: var(--thryl-charcoal);
    gap: 1.35rem;
  }

  .thryl-accordion {
    margin-top: 0;
  }

  .thryl-accordion__trigger {
    min-height: 2.9rem;
    padding: 0.55rem 0;
    font-size: 0.72rem;
  }

  .thryl-accordion__panel {
    padding-bottom: 0.8rem;
    font-size: 0.75rem;
    line-height: 1.45;
  }

  .thryl-sticky-purchase {
    display: none !important;
  }
}

/* PDP gallery refinement: one reduced main image with thumbnails below. */
.thryl-pdp__gallery .woocommerce-product-gallery.is-thryl-gallery-enhanced {
  position: relative;
  overflow: visible;
  background: transparent !important;
}

.thryl-pdp__gallery,
.thryl-pdp__gallery .woocommerce-product-gallery,
.thryl-pdp__gallery .woocommerce-product-gallery__wrapper,
.thryl-pdp__gallery .woocommerce-product-gallery__image,
.thryl-gallery__thumbnails {
  background: transparent !important;
}

.thryl-pdp__gallery .is-thryl-gallery-enhanced .woocommerce-product-gallery__wrapper {
  position: relative;
  display: flex !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  border-radius: var(--thryl-radius-md);
  cursor: grab;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  touch-action: pan-x pan-y;
  user-select: none;
  -webkit-overflow-scrolling: touch;
  background: transparent;
}

.thryl-pdp__gallery .is-thryl-gallery-enhanced .woocommerce-product-gallery__wrapper::-webkit-scrollbar {
  display: none;
}

.thryl-pdp__gallery .is-thryl-gallery-enhanced .woocommerce-product-gallery__wrapper:active {
  cursor: grabbing;
}

.thryl-pdp__gallery .is-thryl-gallery-enhanced .woocommerce-product-gallery__image,
.thryl-pdp__gallery .is-thryl-gallery-enhanced .woocommerce-product-gallery__wrapper > div,
.thryl-pdp__gallery .is-thryl-gallery-enhanced .woocommerce-product-gallery__wrapper > figure {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  min-width: 100% !important;
  height: min(68vh, 44rem);
  flex: 0 0 100%;
  margin: 0 !important;
  aspect-ratio: auto;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.thryl-pdp__gallery .is-thryl-gallery-enhanced .woocommerce-product-gallery__image.is-active,
.thryl-pdp__gallery .is-thryl-gallery-enhanced .woocommerce-product-gallery__wrapper > div.is-active,
.thryl-pdp__gallery .is-thryl-gallery-enhanced .woocommerce-product-gallery__wrapper > figure.is-active {
  position: relative;
  z-index: 2;
  display: block !important;
}

.thryl-pdp__gallery .is-thryl-gallery-enhanced .woocommerce-product-gallery__image.is-leaving,
.thryl-pdp__gallery .is-thryl-gallery-enhanced .woocommerce-product-gallery__wrapper > div.is-leaving,
.thryl-pdp__gallery .is-thryl-gallery-enhanced .woocommerce-product-gallery__wrapper > figure.is-leaving {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: block !important;
  pointer-events: none;
}

.thryl-pdp__gallery .is-thryl-gallery-enhanced .woocommerce-product-gallery__image > a {
  display: block;
  width: 100%;
  height: 100%;
}

.thryl-pdp__gallery .is-thryl-gallery-enhanced .woocommerce-product-gallery__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.thryl-gallery__thumbnails {
  display: grid;
  padding: 0.65rem 0.1rem 0.1rem;
  overflow-x: auto;
  gap: 0.55rem;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 2.2rem) / 5);
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
}

.thryl-gallery__thumbnails::-webkit-scrollbar {
  display: none;
}

.thryl-gallery__thumbnail {
  padding: 0;
  overflow: hidden;
  border: 1px solid #696969;
  border-radius: 0.55rem;
  background: transparent;
  cursor: pointer;
  aspect-ratio: 4 / 5;
}

.thryl-gallery__thumbnail[aria-pressed="true"] {
  border-color: var(--thryl-white);
  box-shadow: inset 0 0 0 1px var(--thryl-white);
}

.thryl-gallery__thumbnail img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.thryl-image-lightbox[hidden] {
  display: none !important;
}

.thryl-image-lightbox {
  position: fixed;
  z-index: 100000;
  inset: 0;
  display: grid;
  padding: clamp(1rem, 4vw, 3rem);
  background: var(--thryl-black);
  color: var(--thryl-white);
  place-items: center;
  overscroll-behavior: contain;
}

.thryl-image-lightbox__close {
  position: absolute;
  z-index: 2;
  top: max(1rem, env(safe-area-inset-top));
  display: grid;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 1px solid #696969;
  border-radius: 50%;
  background: var(--thryl-card);
  color: var(--thryl-white);
  font-size: 2rem;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  place-items: center;
}

.thryl-image-lightbox__close {
  right: max(1rem, env(safe-area-inset-right));
}

.thryl-image-lightbox__stage {
  display: grid;
  width: min(100%, 68rem);
  max-height: calc(100svh - 5rem);
  align-content: center;
  gap: 1.25rem;
  touch-action: auto;
  user-select: none;
  overflow: hidden;
}

.thryl-image-lightbox__frame {
  position: relative;
  width: min(calc((100svh - 8rem) * 0.8), calc(100vw - 2rem), 44rem);
  margin-inline: auto;
  overflow: hidden;
  border-radius: var(--thryl-radius-sm);
  aspect-ratio: 4 / 5;
  touch-action: none;
}

.thryl-image-lightbox__image {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  transform: translate3d(var(--thryl-lightbox-pan-x, 0), var(--thryl-lightbox-pan-y, 0), 0) scale(var(--thryl-lightbox-scale, 1));
  transition: transform 120ms ease-out;
  object-fit: contain;
  will-change: transform;
}

.thryl-image-lightbox__image.is-leaving,
.thryl-image-lightbox__image.is-drag-adjacent {
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
}

.thryl-image-lightbox__stage.is-zoomed {
  cursor: move;
}

.thryl-image-lightbox__stage.is-panning .thryl-image-lightbox__image {
  transition: none;
}

.thryl-image-lightbox__thumbnails {
  display: grid;
  width: min(100%, 32rem);
  padding: 0.1rem;
  margin-inline: auto;
  overflow-x: auto;
  gap: 0.55rem;
  grid-auto-flow: column;
  grid-auto-columns: 3.75rem;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
}

.thryl-image-lightbox__thumbnails::-webkit-scrollbar {
  display: none;
}

.thryl-image-lightbox__thumbnail {
  width: 3.75rem;
  padding: 0;
  overflow: hidden;
  border: 1px solid #696969;
  border-radius: 0.5rem;
  background: transparent;
  cursor: pointer;
  aspect-ratio: 4 / 5;
}

.thryl-image-lightbox__thumbnail[aria-pressed="true"] {
  border-color: var(--thryl-white);
  box-shadow: inset 0 0 0 1px var(--thryl-white);
}

.thryl-image-lightbox__thumbnail img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thryl-image-lightbox__meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  color: var(--thryl-muted);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.thryl-image-lightbox__title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.thryl-image-lightbox__count {
  padding-left: 1rem;
  border-left: 1px solid var(--thryl-border-light);
  color: var(--thryl-white);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.thryl-pdp-quantity {
  display: grid;
  width: 100%;
  min-height: 3.35rem;
  overflow: hidden;
  border: 1px solid #696969;
  border-radius: 999px;
  background: var(--thryl-black);
  align-items: center;
  grid-template-columns: 3.25rem minmax(2rem, 1fr) 3.25rem;
}

.thryl-pdp-quantity[hidden] {
  display: none !important;
}

.thryl-pdp-quantity button {
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--thryl-white);
  font-size: 1.25rem;
  cursor: pointer;
}

.thryl-pdp-quantity button:hover,
.thryl-pdp-quantity button:focus-visible {
  background: var(--thryl-card);
}

.thryl-pdp-quantity output {
  color: var(--thryl-white);
  font-size: 0.85rem;
  font-weight: 750;
  text-align: center;
}

.thryl-pdp-quantity.is-busy {
  opacity: 0.6;
}

.thryl-purchase-form__actions .single_add_to_cart_button[hidden],
.thryl-sticky-purchase [data-sticky-add][hidden] {
  display: none !important;
}

.thryl-pdp-quantity--sticky {
  min-width: 0;
  min-height: 3.05rem;
  grid-template-columns: 2.75rem minmax(1.5rem, 1fr) 2.75rem;
}

.thryl-pdp__gallery .is-thryl-gallery-enhanced .thryl-gallery__count {
  top: 0.8rem;
  right: auto;
  bottom: auto;
  left: 0.8rem;
}

@media (max-width: 59.99rem) {
  .thryl-pdp__gallery .is-thryl-gallery-enhanced .woocommerce-product-gallery__image,
  .thryl-pdp__gallery .is-thryl-gallery-enhanced .woocommerce-product-gallery__wrapper > div,
  .thryl-pdp__gallery .is-thryl-gallery-enhanced .woocommerce-product-gallery__wrapper > figure {
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 5;
  }
}

@media (min-width: 60rem) {
  /* Keep desktop footer groups compact; mobile retains its existing wrapping. */
  .thryl-footer__policies {
    column-gap: clamp(0.9rem, 3vw, 2.4rem);
  }

  .thryl-footer__nav a,
  .thryl-footer__group a {
    white-space: nowrap;
  }

  /* Desktop PDP: show the complete catalogue imagery in a clean two-column grid. */
  .single-product .thryl-product-page {
    padding-inline: clamp(0.75rem, 1.5vw, 1.5rem);
  }

  .single-product .thryl-pdp {
    width: min(100%, 112rem);
    column-gap: clamp(0.75rem, 1.25vw, 1.5rem);
    grid-template-columns: minmax(0, 3fr) minmax(24rem, 2fr);
  }

  .single-product .thryl-pdp__gallery {
    min-width: 0;
    padding: 0;
    overflow: visible;
    border-radius: 0;
  }

  .thryl-pdp__gallery .woocommerce-product-gallery.is-thryl-gallery-enhanced,
  .thryl-pdp__gallery .is-thryl-gallery-enhanced .woocommerce-product-gallery__wrapper {
    overflow: visible !important;
  }

  .thryl-pdp__gallery .is-thryl-gallery-enhanced .woocommerce-product-gallery__wrapper {
    display: grid !important;
    gap: clamp(0.55rem, 0.8vw, 0.9rem);
    cursor: default;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    touch-action: auto;
    user-select: auto;
  }

  .thryl-pdp__gallery .is-thryl-gallery-enhanced .woocommerce-product-gallery__image,
  .thryl-pdp__gallery .is-thryl-gallery-enhanced .woocommerce-product-gallery__wrapper > div,
  .thryl-pdp__gallery .is-thryl-gallery-enhanced .woocommerce-product-gallery__wrapper > figure,
  .thryl-pdp__gallery .is-thryl-gallery-enhanced .woocommerce-product-gallery__image.is-active,
  .thryl-pdp__gallery .is-thryl-gallery-enhanced .woocommerce-product-gallery__wrapper > div.is-active,
  .thryl-pdp__gallery .is-thryl-gallery-enhanced .woocommerce-product-gallery__wrapper > figure.is-active {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-width: 0;
    overflow: hidden;
    border-radius: var(--thryl-radius-sm);
    aspect-ratio: 4 / 5 !important;
  }

  .thryl-pdp__gallery .is-thryl-gallery-enhanced .woocommerce-product-gallery__image > a {
    height: 100%;
  }

  .thryl-pdp__gallery .is-thryl-gallery-enhanced .woocommerce-product-gallery__image img {
    display: block;
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
  }

  .thryl-pdp__gallery .is-thryl-gallery-enhanced .thryl-gallery__count,
  .single-product .thryl-gallery__thumbnails {
    display: none !important;
  }

  .single-product .thryl-pdp__details {
    position: sticky;
    top: calc(var(--thryl-header-height) + 0.75rem);
    display: block;
    min-height: 0;
    max-height: calc(100vh - var(--thryl-header-height) - 1.5rem);
    overflow-y: auto;
    border: 1px solid var(--thryl-border);
    border-radius: var(--thryl-radius-sm);
    background: var(--thryl-charcoal);
    grid-column: 2;
    scrollbar-width: thin;
  }

  .single-product .thryl-pdp__summary,
  .single-product div.product .summary {
    position: static;
    min-height: 0;
    max-height: none;
    padding: clamp(1.35rem, 2vw, 2.25rem);
    overflow: visible;
    border: 0;
    border-radius: 0;
  }

  .single-product .thryl-pdp__assurances {
    padding: 1rem clamp(1.35rem, 2vw, 2.25rem);
    overflow: visible;
    border: 0;
    border-block: 1px solid var(--thryl-border);
    background: transparent;
    grid-auto-columns: auto;
    grid-auto-flow: row;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .single-product .thryl-pdp__assurances > span {
    min-width: 0;
    white-space: normal;
  }

  .single-product .thryl-pdp__information {
    width: auto;
    padding: 0 clamp(1.35rem, 2vw, 2.25rem) 1.5rem;
    margin: 0;
  }

  .single-product .thryl-pdp__information .thryl-accordion,
  .single-product .thryl-pdp__information .woocommerce-tabs {
    margin-top: 0;
  }

  /* Woo's default .alt.disabled state is purple; keep the desktop theme neutral. */
  .single-product .thryl-pdp form.cart .single_add_to_cart_button.button.alt,
  .single-product .thryl-pdp form.cart .single_add_to_cart_button.button.alt:hover {
    border-color: #696969 !important;
    background: transparent !important;
    color: var(--thryl-white) !important;
  }

  .single-product .thryl-pdp form.cart .single_add_to_cart_button.button.alt.disabled,
  .single-product .thryl-pdp form.cart .single_add_to_cart_button.button.alt:disabled,
  .single-product .thryl-pdp form.cart .single_add_to_cart_button.button.alt[aria-disabled="true"] {
    border-color: var(--thryl-border-light) !important;
    background: var(--thryl-card) !important;
    color: var(--thryl-muted) !important;
  }
}

/* Final account endpoint alignment across orders, downloads and addresses. */
.woocommerce-account .woocommerce-MyAccount-content > .woocommerce-orders-table,
.woocommerce-account .woocommerce-MyAccount-content > .woocommerce-table,
.woocommerce-account .woocommerce-MyAccount-content > table.shop_table {
  width: 100%;
  margin: 1rem 0 0;
}

.woocommerce-account .woocommerce-MyAccount-content fieldset {
  padding: 1rem;
  margin: 1.25rem 0;
  border: 1px solid var(--thryl-border);
  border-radius: var(--thryl-radius-sm);
}

.woocommerce-account .woocommerce-MyAccount-content legend {
  padding-inline: 0.5rem;
  color: var(--thryl-white);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@media (max-width: 47.99rem) {
  .woocommerce-account .woocommerce-MyAccount-content,
  .woocommerce-account .woocommerce-MyAccount-navigation {
    min-width: 0;
  }

  .woocommerce-account .woocommerce-MyAccount-content table.woocommerce-table--order-details th:last-child,
  .woocommerce-account .woocommerce-MyAccount-content table.woocommerce-table--order-details td:last-child,
  .woocommerce-order-received table.woocommerce-table--order-details th:last-child,
  .woocommerce-order-received table.woocommerce-table--order-details td:last-child {
    width: 42%;
    padding-left: 0.5rem;
    overflow-wrap: anywhere;
    font-size: 0.82rem;
    white-space: normal;
  }

  .woocommerce-account .woocommerce-MyAccount-content table.woocommerce-table--order-details tfoot th,
  .woocommerce-account .woocommerce-MyAccount-content table.woocommerce-table--order-details tfoot td,
  .woocommerce-order-received table.woocommerce-table--order-details tfoot th,
  .woocommerce-order-received table.woocommerce-table--order-details tfoot td {
    vertical-align: top;
  }

  .woocommerce-account .woocommerce-MyAccount-content table.woocommerce-table--order-details tfoot td,
  .woocommerce-order-received table.woocommerce-table--order-details tfoot td {
    line-height: 1.35;
  }
}

/* Compact, consistent archive headers for Shop, Latest Drops and search. */
.thryl-catalog__header,
body.search .thryl-catalog__header {
  padding-block: clamp(1.25rem, 3vw, 2.25rem);
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.5rem);
}

.thryl-catalog__header h1,
body.search .thryl-catalog__header h1 {
  max-width: 28ch;
  margin: 0.2rem 0 0;
  font-size: clamp(1.25rem, 2.4vw, 1.85rem);
  font-weight: 760;
  letter-spacing: 0.035em;
  line-height: 1.12;
  text-transform: uppercase;
}

.thryl-catalog__header .thryl-eyebrow,
body.search .thryl-catalog__header .thryl-eyebrow {
  margin-bottom: 0.4rem;
  font-size: 0.6rem;
}

.thryl-catalog__count strong,
body.search .thryl-catalog__count strong {
  font-size: clamp(1rem, 2vw, 1.35rem);
}

/* Cart rows and totals: compact merchandise cards with a clear payment story. */
.thryl-cart-table tbody {
  border-top: 1px solid var(--thryl-border);
}

.thryl-cart-table tr.cart_item {
  background: transparent;
}

.woocommerce table.shop_table.thryl-cart-table {
  border: 0;
}

.thryl-cart-table .product-remove .remove {
  display: inline-grid;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 50%;
  color: var(--thryl-muted) !important;
  background: transparent !important;
  place-items: center;
}

.woocommerce-cart table.cart.thryl-cart-table .product-remove a {
  border: 0;
}

.thryl-cart-table .product-remove .remove:hover,
.thryl-cart-table .product-remove .remove:focus-visible {
  color: var(--thryl-white) !important;
  background: rgb(255 255 255 / 0.08) !important;
}

.thryl-cart-tax-note {
  display: block;
  margin-top: 0.15rem;
  color: var(--thryl-muted);
  font-size: 0.62rem;
  font-weight: 600;
  line-height: 1.3;
}

.thryl-cart-stock-message {
  display: flex;
  margin: 0.45rem 0 0;
  color: #ff7679;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.35;
  align-items: center;
  gap: 0.4rem;
}

.thryl-cart-stock-message::before {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #ff4d4f;
  content: '';
  flex: 0 0 auto;
}

.thryl-cart-item--stock-error .thryl-cart-quantity {
  border-color: #ff4d4f;
}

.thryl-cart-quantity {
  display: inline-grid;
  width: 7.1rem;
  min-height: 2.5rem;
  overflow: hidden;
  border: 1px solid #696969;
  border-radius: 0.55rem;
  align-items: center;
  grid-template-columns: 1fr 2.5rem 1fr;
}

.thryl-cart-quantity__button {
  display: grid;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  color: var(--thryl-muted);
  background: transparent;
  font-size: 1rem;
  line-height: 1;
  place-items: center;
}

.thryl-cart-quantity__button:hover,
.thryl-cart-quantity__button:focus-visible {
  color: var(--thryl-white);
  background: rgb(255 255 255 / 0.07);
}

.thryl-cart-quantity .quantity {
  display: block;
  width: 100% !important;
  min-width: 0;
  margin: 0;
}

.thryl-cart-quantity .quantity .qty {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 2.4rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  appearance: textfield;
  text-align: center;
}

.thryl-cart-quantity .qty::-webkit-inner-spin-button,
.thryl-cart-quantity .qty::-webkit-outer-spin-button {
  margin: 0;
  appearance: none;
}

.thryl-cart-update[hidden] {
  display: none !important;
}

.woocommerce-cart-form.is-updating {
  opacity: 1;
  pointer-events: none;
}

/* Keep live cart recalculation visually steady while WooCommerce refreshes totals. */
.woocommerce-cart .blockUI.blockOverlay,
.woocommerce-cart .woocommerce-cart-form.processing::before,
.woocommerce-cart .cart_totals.processing::before {
  background: transparent !important;
  opacity: 0 !important;
}

.woocommerce-cart .blockUI.blockOverlay::before,
.woocommerce-cart .woocommerce-cart-form.processing::after,
.woocommerce-cart .cart_totals.processing::after {
  display: none !important;
  content: none !important;
}

.thryl-cart-table tr.cart_item .product-name .variation {
  display: flex;
  flex-wrap: wrap;
  margin: 0.45rem 0 0;
  gap: 0.25rem 0.4rem;
  color: var(--thryl-muted);
  font-size: 0.75rem;
  line-height: 1.4;
}

.thryl-cart-table tr.cart_item .product-name .variation dt,
.thryl-cart-table tr.cart_item .product-name .variation dd {
  padding: 0;
  margin: 0;
}

.thryl-cart-table tr.cart_item .product-name .variation dt {
  color: var(--thryl-white);
  font-weight: 650;
}

.thryl-cart-table tr.cart_item .product-name .variation dd:not(:last-child)::after {
  content: "·";
  margin-left: 0.4rem;
}

.thryl-cart-table .quantity .qty {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 2.4rem;
  padding-inline: 0;
  border-radius: 0;
  text-align: center;
}

.cart_totals table.shop_table {
  width: 100%;
  overflow: hidden;
	border: 0;
  border-radius: var(--thryl-radius-sm);
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}

.cart_totals table.shop_table th,
.cart_totals table.shop_table td {
	padding: 0.72rem 0;
  border: 0;
  border-bottom: 1px solid var(--thryl-border);
  vertical-align: middle;
}

.cart_totals table.shop_table th {
  width: 43%;
  color: var(--thryl-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.cart_totals table.shop_table td {
	padding-left: 0.75rem;
  font-size: 0.8125rem;
  line-height: 1.4;
  text-align: right;
  overflow-wrap: anywhere;
}

.cart_totals table.shop_table tr:last-child th,
.cart_totals table.shop_table tr:last-child td {
  border-bottom: 0;
}

.cart_totals table.shop_table tr.fee:has(.thryl-cart-token-value) th,
.cart_totals table.shop_table tr.fee:has(.thryl-cart-token-value) td {
  color: var(--thryl-white);
  background: rgb(255 255 255 / 0.035);
}

.cart_totals table.shop_table tr.order-total th,
.cart_totals table.shop_table tr.order-total td {
	padding-block: 0.85rem;
  color: var(--thryl-white);
  background: rgb(255 255 255 / 0.05);
}

.cart_totals table.shop_table tr.order-total th {
  font-size: 0.78rem;
}

.cart_totals table.shop_table tr.order-total td {
  font-size: 1.05rem;
}

.cart_totals .includes_tax {
  display: block;
  margin-top: 0.35rem;
  color: var(--thryl-muted);
  font-size: 0.68rem;
  line-height: 1.45;
  white-space: normal;
}

/* The dedicated GST row below already itemizes these amounts. */
.cart_totals .order-total .includes_tax {
  display: none;
}

.thryl-cart-token-value {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem;
  white-space: nowrap;
}

.thryl-cart-token-value .thryl-token-icon {
  width: 1.15rem;
  height: 1.15rem;
}

.thryl-gst-breakdown ul {
  display: grid;
  padding: 0;
  margin: 0;
  list-style: none;
  gap: 0.4rem;
}

.thryl-gst-breakdown li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.65rem;
  color: var(--thryl-muted);
  font-size: 0.75rem;
  line-height: 1.4;
}

.thryl-gst-breakdown li > :last-child {
  color: var(--thryl-muted);
  font-weight: 500;
  white-space: nowrap;
}

.cart_totals .thryl-gst-breakdown td {
	padding: 0 0.55rem 0.85rem;
  border-bottom: 0;
  background: rgb(255 255 255 / 0.05);
}

.cart_totals table.shop_table tr.order-total th,
.cart_totals table.shop_table tr.order-total td {
  border-bottom: 0;
}

.cart_totals table.shop_table tr.order-total,
.cart_totals table.shop_table tr.thryl-gst-breakdown {
  border-bottom: 0 !important;
}

/* Cart coupon: compact disclosure matching the billing-summary language. */
.thryl-cart-coupon {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--thryl-border);
  border-radius: var(--thryl-radius-sm);
  background: var(--thryl-charcoal);
}

.thryl-cart-coupon summary {
  display: grid;
  min-height: 3.25rem;
  padding: 0.8rem 0.9rem;
  color: var(--thryl-white);
  cursor: pointer;
  align-items: center;
  gap: 0.7rem;
  grid-template-columns: auto 1fr auto;
  font-size: 0.8125rem;
  font-weight: 700;
  list-style: none;
}

.thryl-cart-coupon summary::-webkit-details-marker {
  display: none;
}

.thryl-cart-coupon summary svg {
  color: var(--thryl-muted);
}

.thryl-cart-coupon__chevron {
  width: 0.5rem;
  height: 0.5rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-0.15rem);
  transition: transform 180ms ease;
}

.thryl-cart-coupon[open] .thryl-cart-coupon__chevron {
  transform: rotate(225deg) translate(-0.12rem, -0.12rem);
}

.thryl-cart-coupon[open] summary {
  border-bottom: 1px solid var(--thryl-border);
}

.thryl-cart-table .actions .thryl-cart-coupon .coupon {
  display: grid;
  padding: 0.8rem;
  margin: 0;
  gap: 0;
  grid-template-columns: minmax(0, 1fr) auto;
}

.thryl-cart-table .actions .thryl-cart-coupon .coupon input {
  width: 100%;
  min-height: 2.75rem;
  padding-inline: 0.85rem;
  border: 1px solid #696969;
  border-right: 0;
  border-radius: 0.4rem 0 0 0.4rem;
  background: var(--thryl-black);
}

.thryl-cart-table .actions .thryl-cart-coupon .coupon .button {
  min-width: 5.25rem;
  min-height: 2.75rem;
  padding-inline: 0.75rem;
  border: 1px solid #696969;
  border-left: 0;
  border-radius: 0 0.4rem 0.4rem 0;
  background: var(--thryl-black);
  color: var(--thryl-white);
  font-size: 0.72rem;
}

/* Checkout coupon uses the same compact disclosure as the cart. */
.woocommerce .thryl-checkout__coupon form.checkout_coupon {
  display: block !important;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
}

.thryl-checkout__coupon .thryl-cart-coupon .coupon {
  display: grid;
  padding: 0.8rem;
  gap: 0;
  grid-template-columns: minmax(0, 1fr) auto;
}

.thryl-checkout__coupon .thryl-cart-coupon .coupon input {
  width: 100%;
  min-height: 2.75rem;
  padding-inline: 0.85rem;
  margin: 0;
  border: 1px solid #696969;
  border-right: 0;
  border-radius: 0.4rem 0 0 0.4rem;
  background: var(--thryl-black);
}

.thryl-checkout__coupon .thryl-cart-coupon .coupon .button {
  min-width: 5.25rem;
  min-height: 2.75rem;
  padding-inline: 0.75rem;
  margin: 0;
  border: 1px solid #696969;
  border-left: 0;
  border-radius: 0 0.4rem 0.4rem 0;
  background: var(--thryl-black);
  color: var(--thryl-white);
  font-size: 0.72rem;
}

.thryl-cart-table .actions > .button[name="update_cart"] {
  display: none !important;
}

.cart_totals .woocommerce-shipping-destination,
.cart_totals .shipping-calculator-button,
.cart_totals .shipping-calculator-form {
  display: none !important;
}

/* Billing summary: calm, compact rows with adjustments before the final total. */
.cart_totals h2 {
  padding-inline: 0.7rem;
  margin: 0 0 0.8rem;
  color: var(--thryl-muted);
  font-size: 0.75rem;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cart_totals table.shop_table th small {
  color: var(--thryl-muted);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.cart_totals .thryl-tax-note {
  color: var(--thryl-muted);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0;
  white-space: nowrap;
  text-transform: none;
}

.cart_totals table.shop_table tr.cart-subtotal th,
.cart_totals table.shop_table tr.cart-subtotal td {
  color: var(--thryl-white);
  background: rgb(255 255 255 / 0.025);
}

.cart_totals table.shop_table tr.cart-discount th,
.cart_totals table.shop_table tr.cart-discount td,
.cart_totals table.shop_table tr.thryl-token-adjustment th,
.cart_totals table.shop_table tr.thryl-token-adjustment td {
  color: var(--thryl-white);
  background: rgb(255 255 255 / 0.055);
}

.cart_totals table.shop_table tr.shipping th,
.cart_totals table.shop_table tr.shipping td {
  color: var(--thryl-white);
}

.cart_totals table.shop_table tr.shipping td,
.cart_totals table.shop_table tr.shipping .woocommerce-Price-amount {
  font-weight: 700;
}

.cart_totals table.shop_table tr.order-total th,
.cart_totals table.shop_table tr.order-total td {
  padding-block: 1.05rem;
}

/* Account orders: predictable columns on desktop and compact cards on mobile. */
.woocommerce-account table.my_account_orders {
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
}

.woocommerce-account table.my_account_orders th,
.woocommerce-account table.my_account_orders td {
  padding: 0.85rem 0.75rem;
  vertical-align: middle;
}

.woocommerce-account table.my_account_orders .woocommerce-orders-table__cell-order-actions {
  text-align: right;
}

.woocommerce-account table.my_account_orders .woocommerce-orders-table__cell-order-actions .button {
  margin: 0.15rem 0.15rem 0.15rem 0;
  white-space: nowrap;
}

@media (max-width: 47.99rem) {
  .thryl-catalog__header,
  body.search .thryl-catalog__header {
    padding-block: 1.15rem;
    align-items: start;
  }

  .thryl-catalog__header h1,
  body.search .thryl-catalog__header h1 {
    font-size: 1.15rem;
    line-height: 1.18;
  }

	.thryl-cart {
		width: min(100% - 1.25rem, var(--thryl-container));
		padding-block: 1rem 2.5rem;
	}

  .thryl-cart .thryl-page-header {
    padding-block: 0.85rem 0.65rem;
  }

  .thryl-checkout .thryl-page-header {
    padding-block: 0.85rem 0.65rem;
  }

	.thryl-cart__layout {
		gap: 0.75rem;
  }

  .thryl-cart-table,
  .thryl-cart-table tbody {
    display: block;
    border: 0;
  }

  .woocommerce table.shop_table_responsive.thryl-cart-table tr.cart_item,
  .woocommerce-page table.shop_table_responsive.thryl-cart-table tr.cart_item {
    position: relative;
    display: grid;
    width: 100%;
    min-height: 7.2rem;
		padding: 0.7rem 0;
    margin: 0;
    border: 0;
    border-bottom: 1px solid var(--thryl-border);
    border-radius: 0;
    background: transparent;
		gap: 0.18rem 0.7rem;
    grid-template-areas:
      "thumb name remove"
      "thumb price price"
      "thumb quantity subtotal";
    grid-template-columns: 5.5rem minmax(0, 1fr) auto;
    grid-template-rows: auto auto 1fr;
  }

  .woocommerce table.shop_table_responsive.thryl-cart-table tr.cart_item td,
  .woocommerce-page table.shop_table_responsive.thryl-cart-table tr.cart_item td {
    display: flex;
    width: auto !important;
    min-width: 0;
    min-height: 0;
    padding: 0 !important;
    border: 0;
    align-items: center;
    background: transparent !important;
    text-align: left !important;
  }

  .thryl-cart-table tr.cart_item .product-thumbnail {
    display: block !important;
    width: auto !important;
    grid-area: thumb;
    align-self: stretch;
  }

  .thryl-cart-table tr.cart_item .product-thumbnail a {
    display: block;
    height: 100%;
  }

  .woocommerce-cart .thryl-cart-table tr.cart_item .product-thumbnail img {
    width: 5.5rem;
    height: 100%;
    min-height: 6.6rem;
    border-radius: 0.4rem;
    aspect-ratio: 4 / 5;
    object-fit: cover;
  }

  .thryl-cart-table tr.cart_item .product-name {
    display: block !important;
    padding-right: 1.75rem !important;
    grid-area: name;
    align-self: start;
  }

  .thryl-cart-table tr.cart_item .product-name > a {
    display: block;
    overflow: hidden;
    color: var(--thryl-white);
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.3;
    text-overflow: ellipsis;
  }

  .thryl-cart-table tr.cart_item .product-remove {
    grid-area: remove;
    justify-self: end;
    align-self: start;
  }

  .woocommerce-cart .thryl-cart-table tr.cart_item .product-remove a {
    width: 1.75rem;
    height: 1.75rem;
    font-size: 1rem;
  }

  .thryl-cart-table tr.cart_item .product-price {
    display: block !important;
    color: var(--thryl-white);
    font-size: 0.75rem;
    line-height: 1.4;
    grid-area: price;
  }

  .thryl-cart-table tr.cart_item .product-price::before {
    display: none;
  }

  .thryl-cart-table tr.cart_item .product-quantity {
    grid-area: quantity;
    align-self: end;
  }

  .thryl-cart-table tr.cart_item .product-quantity::before {
    display: none;
  }

  .thryl-cart-table tr.cart_item .product-quantity .thryl-cart-quantity {
    min-height: 2.35rem;
    grid-template-columns: 1fr 2.4rem 1fr;
  }

  .thryl-cart-table tr.cart_item .product-quantity .qty {
    height: 2.35rem;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0;
    font-size: 0.8125rem;
    line-height: 2.35rem;
    vertical-align: middle;
  }

  .thryl-cart-table tr.cart_item .product-subtotal {
    grid-area: subtotal;
    align-self: end;
    justify-self: end;
    font-size: 0.875rem;
    line-height: 1.4;
    font-weight: 700;
  }

  .thryl-cart-table tr.cart_item .product-subtotal::before {
    display: none;
  }

  .woocommerce table.shop_table_responsive.thryl-cart-table tr:not(.cart_item),
  .woocommerce-page table.shop_table_responsive.thryl-cart-table tr:not(.cart_item) {
    padding: 0;
    border: 0;
  }

  .woocommerce table.shop_table_responsive.thryl-cart-table tr:not(.cart_item) td.actions,
  .woocommerce-page table.shop_table_responsive.thryl-cart-table tr:not(.cart_item) td.actions {
    padding: 0.3rem 0 0 !important;
  }

  .thryl-cart-table .actions .coupon {
    display: grid;
    margin: 0;
    gap: 0.55rem;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .thryl-cart-table .actions .coupon input,
  .thryl-cart-table .actions .coupon .button {
    float: none;
    width: 100% !important;
    min-height: 2.9rem;
    margin: 0;
  }

  .thryl-cart-table .actions .coupon label {
    position: absolute !important;
  }

  .thryl-cart-table .actions .coupon input {
    grid-column: 1;
    grid-row: 1;
  }

  .thryl-cart-table .actions .coupon .button {
    min-width: 8.75rem;
    padding-inline: 0.8rem;
    white-space: nowrap;
    grid-column: 2;
    grid-row: 1;
  }

  .thryl-cart-table .actions > .button[name="update_cart"] {
    width: 100%;
    min-height: 2.8rem;
    margin-top: 0.55rem;
  }

	.cart-collaterals {
		padding: 0.72rem;
    border-radius: var(--thryl-radius-sm);
  }

	.cart_totals h2 {
		margin-bottom: 0.55rem;
		font-size: 0.75rem;
  }

	.cart_totals table.shop_table th,
	.cart_totals table.shop_table td {
		padding-block: 0.62rem;
	}

  .woocommerce .cart_totals table.shop_table_responsive tr,
  .woocommerce-page .cart_totals table.shop_table_responsive tr {
    padding: 0;
    border: 0 !important;
    border-bottom: 1px solid var(--thryl-border) !important;
  }

  .woocommerce .cart_totals table.shop_table_responsive tr:last-child,
  .woocommerce-page .cart_totals table.shop_table_responsive tr:last-child {
    border-bottom: 0 !important;
  }

  .woocommerce .cart_totals table.shop_table_responsive tr.order-total,
  .woocommerce-page .cart_totals table.shop_table_responsive tr.order-total {
    border-bottom: 0 !important;
  }

  .woocommerce .cart_totals table.shop_table_responsive tr td,
  .woocommerce-page .cart_totals table.shop_table_responsive tr td {
    border: 0 !important;
  }

  .cart_totals table.shop_table th {
    width: 46%;
    font-size: 0.75rem;
    line-height: 1.4;
  }

  .thryl-gst-breakdown li {
    font-size: 0.75rem;
  }

  .woocommerce .cart_totals table.shop_table_responsive .thryl-gst-breakdown td,
  .woocommerce-page .cart_totals table.shop_table_responsive .thryl-gst-breakdown td {
    display: grid;
		padding: 0 0.55rem 0.75rem;
		gap: 0.35rem;
    text-align: left !important;
  }

  .woocommerce .cart_totals table.shop_table_responsive .thryl-gst-breakdown td::before,
  .woocommerce-page .cart_totals table.shop_table_responsive .thryl-gst-breakdown td::before {
    display: none;
    content: none;
  }

  .cart_totals .thryl-gst-breakdown ul {
    width: 100%;
  }

  .woocommerce-account table.my_account_orders tbody {
    display: grid;
    gap: 0.85rem;
  }

  .woocommerce-account table.my_account_orders tr.order {
    display: grid;
    padding: 0.45rem 0.8rem;
    border: 1px solid var(--thryl-border);
    border-radius: var(--thryl-radius-sm);
    background: var(--thryl-charcoal);
  }

  .woocommerce-account table.my_account_orders tr.order > th,
  .woocommerce-account table.my_account_orders tr.order > td {
    display: flex;
    min-width: 0;
    padding: 0.65rem 0;
    border: 0;
    border-bottom: 1px solid var(--thryl-border);
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    text-align: right !important;
  }

  .woocommerce-account table.my_account_orders tr.order > :last-child {
    border-bottom: 0;
  }

  .woocommerce-account table.my_account_orders tr.order > *::before {
    color: var(--thryl-muted);
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-align: left;
    text-transform: uppercase;
  }

  .woocommerce-account table.my_account_orders tr.order > td.woocommerce-orders-table__cell-order-actions {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;
    gap: 0.55rem;
  }

  .woocommerce-account table.my_account_orders .woocommerce-orders-table__cell-order-actions::before {
    align-self: center;
    grid-column: 1;
    grid-row: 1 / -1;
  }

  .woocommerce-account table.my_account_orders .woocommerce-orders-table__cell-order-actions .button {
    display: inline-flex;
    width: 100%;
    min-height: 2.55rem;
    padding: 0.55rem 0.6rem;
    margin: 0;
    align-items: center;
    justify-content: center;
    font-size: 0.66rem;
  }

  .woocommerce-account table.my_account_orders .woocommerce-orders-table__cell-order-actions .button:only-of-type,
  .woocommerce-account table.my_account_orders .woocommerce-orders-table__cell-order-actions .button:nth-of-type(3) {
    grid-column: 2 / -1;
  }

  .cart_totals table.shop_table th,
  .cart_totals table.shop_table td {
    padding-inline: 0.55rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .thryl-announcement__track {
    animation: none !important;
    transform: none !important;
  }

  .thryl-announcement__group--clone {
    display: none;
  }
}

@media print {
  .thryl-header,
  .thryl-mobile-nav,
  .thryl-sticky-purchase,
  .thryl-footer,
  .woocommerce-checkout #payment .payment_methods {
    display: none !important;
  }

  body,
  .thryl-site,
  .thryl-checkout,
  .woocommerce-checkout .woocommerce {
    background: #fff !important;
    color: #000 !important;
  }
}

/* Coupon field and action are one continuous control on cart and checkout. */
.woocommerce .thryl-cart-coupon .coupon,
.woocommerce .thryl-checkout__coupon .thryl-cart-coupon .coupon {
  display: grid !important;
  width: auto !important;
  padding: 0 !important;
  margin: 0.8rem !important;
  overflow: hidden;
  border: 1px solid #696969 !important;
  border-radius: 0.5rem !important;
  background: var(--thryl-black);
  gap: 0 !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
}

.woocommerce .thryl-cart-coupon .coupon .input-text,
.woocommerce .thryl-cart-coupon .coupon .button,
.woocommerce .thryl-checkout__coupon .thryl-cart-coupon .coupon .input-text,
.woocommerce .thryl-checkout__coupon .thryl-cart-coupon .coupon .button {
  float: none !important;
  width: 100% !important;
  min-height: 3.35rem !important;
  padding: 0.75rem 0.9rem !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  outline-offset: -3px;
  box-shadow: none !important;
  background: transparent !important;
}

.woocommerce .thryl-cart-coupon .coupon .button,
.woocommerce .thryl-checkout__coupon .thryl-cart-coupon .coupon .button {
  min-width: 5.6rem;
  border-left: 1px solid #696969 !important;
  color: var(--thryl-white) !important;
  white-space: nowrap;
}

.woocommerce .thryl-cart-coupon .coupon:focus-within,
.woocommerce .thryl-checkout__coupon .thryl-cart-coupon .coupon:focus-within {
  border-color: #696969 !important;
  outline: 0;
}

.woocommerce .thryl-cart-coupon .coupon .input-text:focus,
.woocommerce .thryl-cart-coupon .coupon .input-text:focus-visible,
.woocommerce .thryl-cart-coupon .coupon .button:focus,
.woocommerce .thryl-cart-coupon .coupon .button:focus-visible,
.woocommerce .thryl-checkout__coupon .thryl-cart-coupon .coupon .input-text:focus,
.woocommerce .thryl-checkout__coupon .thryl-cart-coupon .coupon .input-text:focus-visible,
.woocommerce .thryl-checkout__coupon .thryl-cart-coupon .coupon .button:focus,
.woocommerce .thryl-checkout__coupon .thryl-cart-coupon .coupon .button:focus-visible {
  outline: 0 !important;
  box-shadow: none !important;
}

/* Checkout: match the cart coupon control exactly, including its focus state. */
.woocommerce-checkout form#woocommerce-checkout-form-coupon {
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.woocommerce-checkout form#woocommerce-checkout-form-coupon .coupon {
  display: flex !important;
  width: auto !important;
  padding: 0 !important;
  margin: 0.8rem !important;
  overflow: hidden !important;
  border: 1px solid #696969 !important;
  border-radius: 0.5rem !important;
  background: var(--thryl-black) !important;
  align-items: stretch;
}

.woocommerce-checkout form#woocommerce-checkout-form-coupon .coupon #checkout_coupon_code {
  flex: 1 1 auto !important;
  width: 1% !important;
  min-width: 0 !important;
  min-height: 3.35rem !important;
  padding: 0.75rem 0.9rem !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  appearance: none;
}

.woocommerce-checkout form#woocommerce-checkout-form-coupon .coupon button[name="apply_coupon"] {
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 5.6rem !important;
  min-height: 3.35rem !important;
  padding: 0.75rem 0.9rem !important;
  margin: 0 !important;
  border: 0 !important;
  border-left: 1px solid #696969 !important;
  border-radius: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

.woocommerce-checkout form#woocommerce-checkout-form-coupon .coupon:focus-within {
  border-color: #696969 !important;
  outline: 0 !important;
}

.woocommerce-checkout form#woocommerce-checkout-form-coupon .coupon #checkout_coupon_code:focus,
.woocommerce-checkout form#woocommerce-checkout-form-coupon .coupon #checkout_coupon_code:focus-visible,
.woocommerce-checkout form#woocommerce-checkout-form-coupon .coupon button[name="apply_coupon"]:focus,
.woocommerce-checkout form#woocommerce-checkout-form-coupon .coupon button[name="apply_coupon"]:focus-visible {
  border-radius: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

/* The checkout coupon is one joined field; suppress shared/native button chrome. */
.woocommerce-checkout form#woocommerce-checkout-form-coupon .coupon .thryl-cart-coupon__submit,
.woocommerce-checkout form#woocommerce-checkout-form-coupon .coupon .thryl-cart-coupon__submit:hover,
.woocommerce-checkout form#woocommerce-checkout-form-coupon .coupon .thryl-cart-coupon__submit:focus,
.woocommerce-checkout form#woocommerce-checkout-form-coupon .coupon .thryl-cart-coupon__submit:focus-visible,
.woocommerce-checkout form#woocommerce-checkout-form-coupon .coupon .thryl-cart-coupon__submit:active {
  -webkit-appearance: none !important;
  appearance: none !important;
  flex: 0 0 auto !important;
  align-self: stretch !important;
  width: auto !important;
  min-width: 6.5rem !important;
  min-height: 3.35rem !important;
  margin: 0 !important;
  padding: 0 1rem !important;
  border: 0 !important;
  border-left: 1px solid #696969 !important;
  border-radius: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  color: var(--thryl-white) !important;
  font: inherit !important;
  font-size: 0.8125rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
  transform: none !important;
}

.woocommerce-checkout form#woocommerce-checkout-form-coupon .coupon .thryl-cart-coupon__submit::before,
.woocommerce-checkout form#woocommerce-checkout-form-coupon .coupon .thryl-cart-coupon__submit::after {
  display: none !important;
  content: none !important;
}

/* Coupon actions retain a fixed footprint while WooCommerce processes them. */
.woocommerce .thryl-cart-coupon .coupon,
.woocommerce-checkout form#woocommerce-checkout-form-coupon .coupon {
  grid-template-columns: minmax(0, 1fr) 6.5rem !important;
}

.woocommerce .thryl-cart-coupon .coupon button[name="apply_coupon"],
.woocommerce .thryl-cart-coupon .coupon button[name="apply_coupon"]:hover,
.woocommerce .thryl-cart-coupon .coupon button[name="apply_coupon"]:focus,
.woocommerce .thryl-cart-coupon .coupon button[name="apply_coupon"]:active,
.woocommerce-checkout form#woocommerce-checkout-form-coupon .coupon button[name="apply_coupon"],
.woocommerce-checkout form#woocommerce-checkout-form-coupon .coupon button[name="apply_coupon"]:hover,
.woocommerce-checkout form#woocommerce-checkout-form-coupon .coupon button[name="apply_coupon"]:focus,
.woocommerce-checkout form#woocommerce-checkout-form-coupon .coupon button[name="apply_coupon"]:active {
  box-sizing: border-box !important;
  width: 6.5rem !important;
  min-width: 6.5rem !important;
  max-width: 6.5rem !important;
  min-height: 3.35rem !important;
  padding: 0 1rem !important;
  transform: none !important;
}

.woocommerce .thryl-cart-coupon .coupon button[name="apply_coupon"]::before,
.woocommerce .thryl-cart-coupon .coupon button[name="apply_coupon"]::after {
  display: none !important;
  content: none !important;
}

/* Simple inline coupon result; the request runs without resizing the control. */
.thryl-coupon-inline-error {
  padding: 0 0 1rem;
  margin: -0.2rem 0.8rem 0;
  color: #ff4d4f;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.35;
}

.thryl-coupon-inline-error[hidden] {
  display: none;
}

.thryl-cart-coupon input[name="coupon_code"] {
  text-transform: uppercase;
}

.thryl-cart-coupon input[name="coupon_code"][readonly] {
  color: #f5f5f5 !important;
  cursor: default;
}

.woocommerce .thryl-cart-coupon .coupon button.is-remove-coupon,
.woocommerce-checkout form#woocommerce-checkout-form-coupon .coupon button.is-remove-coupon {
  background: rgba(255, 107, 121, 0.08) !important;
  color: #ff8994 !important;
}

.thryl-cart-coupon .thryl-coupon-inline-success {
  display: grid;
  gap: 0.2rem;
  padding: 0.75rem 0.9rem;
  margin: -0.25rem 0.8rem 1.75rem;
  border: 1px solid rgba(75, 210, 122, 0.38);
  border-radius: 0.65rem;
  background: rgba(75, 210, 122, 0.09);
  color: #f5f5f5;
  font-size: 0.88rem;
  line-height: 1.35;
}

.thryl-coupon-inline-success__heading {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
}

.thryl-coupon-inline-success strong {
  color: #70dc96;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
}

.thryl-coupon-inline-success span {
  color: #c8c8c8;
}

.thryl-coupon-inline-success[hidden] {
  display: none;
}

.thryl-coupon-celebration {
  position: fixed;
  z-index: 100000;
  inset: 0;
  display: grid;
  padding: 1.25rem;
  opacity: 0;
  pointer-events: none;
  place-items: center;
  transition: opacity 180ms ease;
}

.thryl-coupon-celebration.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.thryl-coupon-celebration__backdrop {
  position: absolute !important;
  z-index: 0;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: rgba(0, 0, 0, 0.78) !important;
}

.thryl-coupon-celebration__dialog {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(100%, 27rem);
  padding: clamp(1.7rem, 6vw, 2.5rem) clamp(1.25rem, 5vw, 2.25rem) clamp(1.35rem, 5vw, 2rem);
  overflow: hidden;
  border: 1px solid rgba(112, 220, 150, 0.42);
  border-radius: 1.15rem;
  background: #151a17;
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.55);
  color: #f7f7f7;
  text-align: center;
  gap: 0.65rem;
  transform: translateY(0.75rem) scale(0.97);
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.thryl-coupon-celebration.is-visible .thryl-coupon-celebration__dialog {
  transform: translateY(0) scale(1);
}

.thryl-coupon-celebration__close {
  position: absolute !important;
  z-index: 3;
  top: 0.75rem;
  right: 0.75rem;
  display: grid !important;
  width: 2.25rem !important;
  min-width: 2.25rem !important;
  height: 2.25rem !important;
  min-height: 2.25rem !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.07) !important;
  color: #f5f5f5 !important;
  place-items: center;
}

.thryl-coupon-celebration__close svg {
  width: 1.1rem;
  height: 1.1rem;
}

.thryl-coupon-celebration__mark {
  display: grid;
  width: 4.25rem;
  height: 4.25rem;
  margin: 0 auto 0.25rem;
  border: 1px solid rgba(112, 220, 150, 0.45);
  border-radius: 50%;
  background: rgba(112, 220, 150, 0.1);
  color: #70dc96;
  place-items: center;
}

.thryl-coupon-celebration__mark svg {
  width: 2.6rem;
  height: 2.6rem;
}

.thryl-coupon-celebration__dialog h2 {
  margin: 0;
  font-size: clamp(1.65rem, 7vw, 2.15rem);
  letter-spacing: -0.04em;
}

.thryl-coupon-celebration__dialog p,
.thryl-coupon-celebration__dialog strong {
  margin: 0;
  font-size: clamp(0.94rem, 3.8vw, 1.08rem);
  line-height: 1.45;
}

.thryl-coupon-celebration__dialog p {
  color: #c7c7c7;
}

.thryl-coupon-celebration__dialog > strong {
  color: #70dc96;
  font-weight: 800;
}

.thryl-coupon-celebration__acknowledge {
  width: 100% !important;
  min-height: 3.2rem !important;
  padding: 0.8rem 1rem !important;
  margin-top: 0.55rem !important;
  border: 1px solid #f5f5f5 !important;
  border-radius: 0.65rem !important;
  background: #f5f5f5 !important;
  color: #080808 !important;
  font-size: 0.88rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.thryl-coupon-celebration__confetti {
  position: absolute;
  z-index: 1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.thryl-coupon-celebration__confetti i {
  position: absolute;
  top: 16%;
  left: var(--thryl-confetti-x);
  width: 0.45rem;
  height: 0.85rem;
  border-radius: 0.08rem;
  opacity: 0;
  animation: thryl-confetti-fall var(--thryl-confetti-duration) ease-out var(--thryl-confetti-delay) 2 both;
}

@keyframes thryl-confetti-fall {
  0% {
    opacity: 0;
    transform: translate3d(0, -18vh, 0) rotate(0deg);
  }
  12% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate3d(var(--thryl-confetti-drift), 76vh, 0) rotate(var(--thryl-confetti-spin));
  }
}

@media (prefers-reduced-motion: reduce) {
  .thryl-coupon-celebration,
  .thryl-coupon-celebration__dialog {
    transition: none;
  }

  .thryl-coupon-celebration__confetti {
    display: none;
  }
}

/* Shared presentation for pages linked from the storefront footer. */
.thryl-information-page {
  width: min(100% - (2 * var(--thryl-gutter)), 70rem);
}

.thryl-information-page .thryl-page__article {
  width: 100%;
}

.thryl-information-page .thryl-page-header {
  padding-block: clamp(1.25rem, 3vw, 2.25rem) clamp(0.75rem, 2vw, 1.25rem);
}

.thryl-information-page .thryl-page-header h1 {
  max-width: 16ch;
  margin-bottom: clamp(0.85rem, 2vw, 1.4rem);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.thryl-information-page .thryl-entry-content {
  width: min(100%, 52rem);
  padding-block: clamp(1.75rem, 4vw, 2.75rem) clamp(4rem, 9vw, 7rem);
  margin-inline: auto;
  color: #c7c7c7;
  font-size: clamp(0.92rem, 1.3vw, 1rem);
  line-height: 1.75;
}

/* Long policy content must be visible immediately, not gated by scroll reveal. */
.js .thryl-information-page .thryl-entry-content {
  opacity: 1;
  transform: none;
  transition: none;
}

.thryl-information-page .thryl-entry-content > * {
  max-width: 100%;
}

.thryl-information-page .thryl-entry-content p {
  margin: 0 0 1.15rem;
}

.thryl-information-page .thryl-entry-content > .thryl-policy-updated {
  display: inline-flex;
  width: fit-content;
  padding: 0.42rem 0.65rem;
  margin: 0 0 1.35rem;
  border: 1px solid var(--thryl-border);
  border-radius: 999px;
  background: var(--thryl-card);
  color: var(--thryl-muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-transform: uppercase;
}

.thryl-information-page .thryl-entry-content > .thryl-policy-updated strong {
  color: inherit;
  font-weight: inherit;
}

.thryl-information-page .thryl-entry-content > .thryl-policy-updated + p {
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
  color: var(--thryl-white);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.6;
}

.thryl-information-page .thryl-entry-content h2 {
  padding-top: clamp(1.75rem, 4vw, 2.5rem);
  margin: clamp(2.5rem, 6vw, 4rem) 0 1rem;
  border-top: 1px solid var(--thryl-border);
  color: var(--thryl-white);
  font-size: clamp(1.25rem, 2.8vw, 1.65rem);
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.thryl-information-page .thryl-entry-content h3 {
  margin: 2rem 0 0.65rem;
  color: var(--thryl-white);
  font-size: clamp(1rem, 2vw, 1.15rem);
  letter-spacing: -0.015em;
  line-height: 1.35;
}

.thryl-information-page .thryl-entry-content h4 {
  margin: 1.6rem 0 0.55rem;
  color: var(--thryl-white);
  font-size: 0.95rem;
  line-height: 1.4;
}

.thryl-information-page .thryl-entry-content ul,
.thryl-information-page .thryl-entry-content ol {
  display: grid;
  padding-left: 1.25rem;
  margin: 0.8rem 0 1.5rem;
  gap: 0.45rem;
}

.thryl-information-page .thryl-entry-content li {
  padding-left: 0.2rem;
}

.thryl-information-page .thryl-entry-content li::marker {
  color: var(--thryl-white);
}

.thryl-information-page .thryl-entry-content strong {
  color: var(--thryl-white);
}

.thryl-information-page .thryl-entry-content a:not(.thryl-button):not(.wp-element-button) {
  color: var(--thryl-white);
  overflow-wrap: anywhere;
  text-decoration-color: #777;
  transition: color 180ms ease, text-decoration-color 180ms ease;
}

.thryl-information-page .thryl-entry-content a:not(.thryl-button):not(.wp-element-button):hover,
.thryl-information-page .thryl-entry-content a:not(.thryl-button):not(.wp-element-button):focus-visible {
  color: var(--thryl-accent);
  text-decoration-color: currentColor;
}

.thryl-information-page .thryl-policy-table {
  width: 100%;
  margin: 1.25rem 0 1.75rem;
  overflow: hidden;
  border: 1px solid var(--thryl-border);
  border-radius: var(--thryl-radius-sm);
  background: var(--thryl-card);
}

.thryl-information-page .thryl-policy-table table {
  width: 100%;
  margin: 0;
  border: 0;
  border-collapse: collapse;
  table-layout: fixed;
}

.thryl-information-page .thryl-policy-table tr + tr {
  border-top: 1px solid var(--thryl-border);
}

.thryl-information-page .thryl-policy-table th,
.thryl-information-page .thryl-policy-table td {
  padding: 0.85rem 1rem;
  border: 0;
  vertical-align: top;
  overflow-wrap: anywhere;
  text-align: left;
}

.thryl-information-page .thryl-policy-table th {
  width: 31%;
  background: rgb(255 255 255 / 0.025);
  color: var(--thryl-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.thryl-information-page .thryl-policy-table td {
  color: var(--thryl-white);
  font-size: 0.88rem;
  line-height: 1.55;
}

.thryl-information-page .thryl-entry-content blockquote {
  padding: 1rem 1.2rem;
  margin: 1.5rem 0;
  border-left: 0.2rem solid var(--thryl-white);
  background: var(--thryl-card);
  color: var(--thryl-white);
}

@media (max-width: 40rem) {
  .thryl-information-page .thryl-page-header {
    padding-block: 0.85rem 0.65rem;
  }

  .thryl-information-page .thryl-entry-content {
    line-height: 1.68;
  }

  .thryl-information-page .thryl-policy-table tr {
    display: grid;
  }

  .thryl-information-page .thryl-policy-table th,
  .thryl-information-page .thryl-policy-table td {
    display: block;
    width: 100%;
  }

  .thryl-information-page .thryl-policy-table th {
    padding-bottom: 0.25rem;
  }

  .thryl-information-page .thryl-policy-table td {
    padding-top: 0.25rem;
  }
}

/* My Orders: purpose-built list, empty state, and order detail presentation. */
body.logged-in.woocommerce-orders .woocommerce-MyAccount-content,
body.logged-in.woocommerce-view-order .woocommerce-MyAccount-content {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.thryl-orders,
.thryl-order-view {
  display: grid;
  width: 100%;
  gap: clamp(1rem, 2.5vw, 1.5rem);
}

body.logged-in.woocommerce-orders .thryl-page,
body.logged-in.woocommerce-view-order .thryl-page {
  padding-top: clamp(1.25rem, 4vw, 2.5rem);
}

.thryl-orders__header {
  display: grid;
  padding-bottom: clamp(1rem, 2.5vw, 1.5rem);
  border-bottom: 1px solid var(--thryl-border);
  align-items: end;
  gap: 0.75rem clamp(1.5rem, 5vw, 4rem);
  grid-template-columns: minmax(0, 1fr) minmax(15rem, 0.72fr);
}

.woocommerce-account .woocommerce-MyAccount-content .thryl-orders__header h2,
.woocommerce-account .woocommerce-MyAccount-content .thryl-order-view__hero h2 {
  margin: 0.2rem 0 0;
  color: var(--thryl-white);
  font-size: clamp(1.75rem, 4.5vw, 3rem);
  font-weight: 750;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.woocommerce-account .woocommerce-MyAccount-content .thryl-orders__header > p,
.woocommerce-account .woocommerce-MyAccount-content .thryl-order-view__placed {
  max-width: 38rem;
  margin: 0;
  color: var(--thryl-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.thryl-orders__list {
  display: grid;
  gap: 0.85rem;
}

.thryl-order-card {
  position: relative;
  overflow: hidden;
  padding: clamp(1rem, 3vw, 1.4rem);
  border: 1px solid var(--thryl-border);
  border-radius: var(--thryl-radius-md);
  background: var(--thryl-card);
  color: var(--thryl-white);
}

.thryl-order-card::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 0.18rem;
  background: #9a9a9a;
  content: "";
}

.thryl-order-card--completed::before,
.thryl-order-card--delivered::before {
  background: #62c58b;
}

.thryl-order-card--processing::before,
.thryl-order-card--shipped::before {
  background: #71a7ff;
}

.thryl-order-card--cancelled::before,
.thryl-order-card--failed::before,
.thryl-order-card--refunded::before {
  background: #e27777;
}

.thryl-order-card__header,
.thryl-order-view__title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.woocommerce-account .woocommerce-MyAccount-content .thryl-order-card__label,
.woocommerce-account .woocommerce-MyAccount-content .thryl-order-card__products span,
.woocommerce-account .woocommerce-MyAccount-content .thryl-eyebrow {
  margin: 0;
  color: var(--thryl-muted);
  font-size: 0.66rem;
  font-weight: 750;
  letter-spacing: 0.11em;
  line-height: 1.4;
  text-transform: uppercase;
}

.woocommerce-account .woocommerce-MyAccount-content .thryl-order-card h3 {
  margin: 0.15rem 0 0;
  font-size: clamp(1.15rem, 3vw, 1.45rem);
  line-height: 1;
}

.woocommerce-account .woocommerce-MyAccount-content .thryl-order-card h3 a {
  color: var(--thryl-white);
  text-decoration: none;
}

.woocommerce-account .woocommerce-MyAccount-content .thryl-order-card h3 a:hover,
.woocommerce-account .woocommerce-MyAccount-content .thryl-order-card h3 a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.thryl-order-status {
  display: inline-flex;
  min-height: 1.9rem;
  padding: 0.35rem 0.65rem;
  border: 1px solid var(--thryl-border-light);
  border-radius: 999px;
  color: var(--thryl-white);
  align-items: center;
  gap: 0.42rem;
  font-size: 0.66rem;
  font-weight: 750;
  letter-spacing: 0.055em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.thryl-order-status > span {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: #9a9a9a;
  box-shadow: 0 0 0 0.2rem rgb(154 154 154 / 0.12);
}

.thryl-order-status--completed > span,
.thryl-order-status--delivered > span {
  background: #62c58b;
  box-shadow: 0 0 0 0.2rem rgb(98 197 139 / 0.12);
}

.thryl-order-status--processing > span,
.thryl-order-status--shipped > span {
  background: #71a7ff;
  box-shadow: 0 0 0 0.2rem rgb(113 167 255 / 0.12);
}

.thryl-order-status--cancelled > span,
.thryl-order-status--failed > span,
.thryl-order-status--refunded > span {
  background: #e27777;
  box-shadow: 0 0 0 0.2rem rgb(226 119 119 / 0.12);
}

.thryl-order-card__summary,
.thryl-order-view__facts {
  display: grid;
  padding: 0.9rem 0;
  margin: 1rem 0 0;
  border-top: 1px solid var(--thryl-border);
  border-bottom: 1px solid var(--thryl-border);
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(7rem, 1fr));
}

.thryl-order-card__summary div,
.thryl-order-view__facts div {
  min-width: 0;
}

.thryl-order-card__summary dt,
.thryl-order-view__facts dt {
  margin-bottom: 0.25rem;
  color: var(--thryl-muted);
  font-size: 0.62rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.thryl-order-card__summary dd,
.thryl-order-view__facts dd {
  margin: 0;
  color: var(--thryl-white);
  font-size: 0.86rem;
  font-weight: 650;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.woocommerce-account .woocommerce-MyAccount-content .thryl-order-card__products {
  margin: 0.85rem 0 0;
  color: var(--thryl-white);
  font-size: 0.8rem;
  line-height: 1.55;
}

.woocommerce-account .woocommerce-MyAccount-content .thryl-order-card__products span {
  margin-right: 0.5rem;
}

.thryl-order-card__actions {
  display: flex;
  padding-top: 1rem;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.woocommerce-account .woocommerce-MyAccount-content .thryl-order-card__action,
.woocommerce-account .woocommerce-MyAccount-content .thryl-orders__pagination .button {
  min-height: 2.55rem;
  padding: 0.62rem 0.9rem;
  border: 1px solid var(--thryl-border-light) !important;
  border-radius: 999px;
  background: transparent !important;
  color: var(--thryl-white) !important;
  font-size: 0.68rem;
}

.woocommerce-account .woocommerce-MyAccount-content .thryl-order-card__action--view {
  border-color: var(--thryl-white) !important;
  background: var(--thryl-white) !important;
  color: var(--thryl-black) !important;
}

.woocommerce-account .woocommerce-MyAccount-content .thryl-order-card__action:hover,
.woocommerce-account .woocommerce-MyAccount-content .thryl-order-card__action:focus-visible,
.woocommerce-account .woocommerce-MyAccount-content .thryl-orders__pagination .button:hover,
.woocommerce-account .woocommerce-MyAccount-content .thryl-orders__pagination .button:focus-visible {
  border-color: var(--thryl-white) !important;
  background: var(--thryl-white) !important;
  color: var(--thryl-black) !important;
}

.thryl-orders__pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
}

.thryl-orders__pagination > span {
  color: var(--thryl-muted);
  font-size: 0.72rem;
}

.thryl-orders-empty {
  display: grid;
  min-height: clamp(22rem, 50vw, 30rem);
  padding: clamp(2rem, 7vw, 4.5rem) clamp(1rem, 4vw, 2rem);
  border: 1px solid var(--thryl-border);
  border-radius: var(--thryl-radius-md);
  background: var(--thryl-card);
  align-content: center;
  justify-items: center;
  text-align: center;
}

.thryl-orders-empty__icon {
  display: grid;
  width: 5.5rem;
  height: 5.5rem;
  margin-bottom: 1.25rem;
  border: 1px solid var(--thryl-border-light);
  border-radius: 50%;
  background: var(--thryl-charcoal);
  color: var(--thryl-white);
  place-items: center;
}

.thryl-orders-empty__icon svg {
  width: 2.8rem;
  height: 2.8rem;
}

.woocommerce-account .woocommerce-MyAccount-content .thryl-orders-empty h3 {
  margin: 0.45rem 0 0.6rem;
  font-size: clamp(1.65rem, 5vw, 2.5rem);
  letter-spacing: -0.05em;
  line-height: 1;
}

.woocommerce-account .woocommerce-MyAccount-content .thryl-orders-empty > p:not(.thryl-eyebrow) {
  max-width: 28rem;
  margin: 0;
  color: var(--thryl-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.woocommerce-account .woocommerce-MyAccount-content .thryl-orders-empty__button {
  min-width: min(100%, 13rem);
  min-height: 3rem;
  margin-top: 1.35rem;
  border: 1px solid var(--thryl-white) !important;
  border-radius: 999px;
  background: var(--thryl-white) !important;
  color: var(--thryl-black) !important;
}

.thryl-order-view__back {
  display: inline-flex;
  width: max-content;
  color: var(--thryl-muted) !important;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.055em;
  text-decoration: none !important;
  text-transform: uppercase;
}

.thryl-order-view__back:hover,
.thryl-order-view__back:focus-visible {
  color: var(--thryl-white) !important;
}

.thryl-order-view__hero,
.thryl-order-updates,
.thryl-order-view__content > .woocommerce-order-details,
.thryl-order-view__content > .woocommerce-customer-details {
  padding: clamp(1rem, 3vw, 1.5rem);
  border: 1px solid var(--thryl-border);
  border-radius: var(--thryl-radius-md);
  background: var(--thryl-card);
}

.thryl-order-view__hero {
  background: var(--thryl-card);
}

.woocommerce-account .woocommerce-MyAccount-content .thryl-order-view__placed {
  margin-top: 0.65rem;
}

.thryl-order-view__facts {
  margin-top: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(7rem, 1fr));
}

.thryl-order-updates h2,
.thryl-order-view__content .woocommerce-order-details__title,
.thryl-order-view__content .woocommerce-column__title,
.thryl-order-view__content .thryl-order-service > h2 {
  margin: 0 0 1rem !important;
  font-size: clamp(1.15rem, 3vw, 1.45rem) !important;
  letter-spacing: -0.025em;
}

.thryl-order-updates__list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.thryl-order-updates__list li {
  position: relative;
  padding: 0 0 1.15rem 1.5rem;
  border-left: 1px solid var(--thryl-border-light);
}

.thryl-order-updates__list li:last-child {
  padding-bottom: 0;
  border-left-color: transparent;
}

.thryl-order-updates__list li::before {
  position: absolute;
  top: 0.22rem;
  left: -0.29rem;
  width: 0.52rem;
  height: 0.52rem;
  border-radius: 50%;
  background: var(--thryl-white);
  content: "";
}

.thryl-order-updates__list time {
  display: block;
  margin-bottom: 0.28rem;
  color: var(--thryl-muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.woocommerce-account .woocommerce-MyAccount-content .thryl-order-updates__list p {
  margin: 0;
  color: var(--thryl-white);
  font-size: 0.86rem;
  line-height: 1.55;
}

.thryl-order-view__content {
  display: grid;
  gap: 1rem;
}

.thryl-order-view__content .woocommerce-order-details {
  margin: 0;
}

.thryl-order-view__content table.woocommerce-table--order-details {
  overflow: hidden;
  margin: 0 !important;
  border: 1px solid var(--thryl-border) !important;
  border-radius: var(--thryl-radius-sm);
  border-collapse: separate;
  border-spacing: 0;
  background: var(--thryl-charcoal);
}

.thryl-order-view__content table.woocommerce-table--order-details th,
.thryl-order-view__content table.woocommerce-table--order-details td {
  border-right: 0;
  border-left: 0;
  border-color: var(--thryl-border);
  background: transparent;
}

.thryl-order-view__content .thryl-order-service {
  padding-top: 1.25rem;
  margin-top: 1.25rem;
  border-top: 1px solid var(--thryl-border);
}

.thryl-order-view__content .thryl-tracking-card,
.thryl-order-view__content .thryl-service-item {
  border-radius: var(--thryl-radius-sm);
  background: var(--thryl-charcoal);
}

.thryl-order-view__content .woocommerce-customer-details {
  margin: 0 !important;
}

.thryl-order-view__content .woocommerce-columns--addresses {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.thryl-order-view__content .woocommerce-columns--addresses::before,
.thryl-order-view__content .woocommerce-columns--addresses::after {
  display: none;
  content: none;
}

.thryl-order-view__content .woocommerce-column--billing-address,
.thryl-order-view__content .woocommerce-column--shipping-address {
  float: none;
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--thryl-border);
  border-radius: var(--thryl-radius-sm);
  background: var(--thryl-charcoal);
}

.thryl-order-view__content .woocommerce-column address {
  margin: 0;
  font-style: normal;
}

@media (max-width: 47.99rem) {
  .thryl-orders__header {
    grid-template-columns: 1fr;
  }

  .thryl-order-view__content .woocommerce-columns--addresses {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 35rem) {
  .thryl-order-card__header,
  .thryl-order-view__title-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .thryl-order-card__summary,
  .thryl-order-view__facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .thryl-order-card__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .woocommerce-account .woocommerce-MyAccount-content .thryl-order-card__action {
    width: 100%;
  }

  .woocommerce-account .woocommerce-MyAccount-content .thryl-order-card__action:only-child,
  .woocommerce-account .woocommerce-MyAccount-content .thryl-order-card__action:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .thryl-orders-empty {
    min-height: 23rem;
  }
}
