#page {
  --form-line: var(--border);
  --control-ink: var(--text);
  --control-bg: var(--accent);
  --card-pad: clamp(18px, 2.4vw, 36px);
}
#page :is(.button, button, input[type="submit"], input[type="button"], .added_to_cart):not(.show-password-input, .plus, .minus) {
  border-radius: 10px;
  transition: background-color 140ms, color 140ms, border-color 140ms;
}
#page :is(.woocommerce, .products, .summary, .kryo-hero, .cart-collaterals)
  :is(.button, button.button, input[type="submit"], .added_to_cart),
#page #place_order {
  background-color: var(--control-bg);
  color: #fff;
  border-color: var(--control-bg);
}
#page :is(.woocommerce, .products, .summary, .kryo-hero, .cart-collaterals)
  :is(.button, button.button, input[type="submit"], .added_to_cart):hover,
#page #place_order:hover {background-color: var(--accent-hover); color: #fff;}
#page :is(button, input[type="submit"]):disabled {cursor: not-allowed; opacity: .64;}
#page .products li.product :is(.button, .added_to_cart) {min-height: 44px; padding: 9px 14px;}
#page :is(textarea, select, input:not([type]), input[type="search"], input[type="text"], input[type="password"], input[type="email"], input[type="tel"], input[type="url"], input[type="number"], .select2-selection--single) {
  background: var(--surface-soft);
  border: 1px solid var(--form-line);
  border-radius: 10px;
  min-height: 44px;
  max-width: 100%;
  color: var(--text);
  box-shadow: none;
}
#page :is(textarea, select, input:not([type]), input[type="text"], input[type="password"], input[type="email"], input[type="tel"], input[type="url"], input[type="number"]) {
  padding: .65em .85em;
}
#page [type="checkbox"], #page [type="radio"] {accent-color: var(--control-bg);}
#page .select2-selection--single {display: flex; align-items: center; padding-inline: 4px 18px;}
#page .select2-selection__arrow {height: 100%;}
#page .kryo-search input[type="search"] {border-radius: 10px 0 0 10px; min-height: 44px; border-right: 0;}
#page .kryo-header .kryo-search button {height: 44px; border-radius: 0 10px 10px 0; border: 1px solid var(--form-line); color: var(--control-ink); background: var(--surface-soft);}
#page .kryo-header .kryo-search button:hover {background: var(--bg);}
#page .password-input {display: block; position: relative;}
#page .password-input > input {width: 100%; padding-right: 52px;}
#page .password-input .show-password-input {
  display: grid;
  place-items: center;
  position: absolute;
  top: 50%;
  right: 4px;
  width: 40px;
  height: 38px;
  padding: 0;
  margin: 0;
  transform: translateY(-50%);
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--control-ink);
}
#page .show-password-input:is(:hover, .display-password) {background: #e9ede2;}
#page .show-password-input::after {color: inherit;}
#page .woocommerce-invalid :is(input, select, .select2-selection--single) {border-color: #89664e;}

#page :is(.woocommerce-info, .woocommerce-message, .woocommerce-error, .woocommerce-noreviews, .no-comments),
#page .wc_payment_method .payment_box {
  background: #ecf7f4;
  color: #174a3c;
  border: 1px solid #ccded8;
  border-radius: 12px;
  box-shadow: none;
}
#page .woocommerce-error {background: #fff3f5; color: #592d36; border-color: #fad8df;}
#page :is(.woocommerce-info, .woocommerce-message) {border-left: 4px solid var(--accent);}
#page .woocommerce-error {border-left: 4px solid #df3956;}
#page :is(.woocommerce-info, .woocommerce-message, .woocommerce-error)::before {color: #54664a;}
#page :is(.woocommerce-info, .woocommerce-message, .woocommerce-error) a:not(.button) {color: inherit; text-decoration: underline; text-underline-offset: .18em;}
#page :is(.woocommerce-info, .woocommerce-message, .woocommerce-error) .button {background: #e2e8da; color: #35462f; box-shadow: none;}
#page :is(.woocommerce-info, .woocommerce-message, .woocommerce-error) .button:hover {background: #d1dcc8;}

body:is(.woocommerce-account, .woocommerce-cart, .woocommerce-checkout) #page .entry-header,
#page article:has(.tinv-wishlist) .entry-header {padding: 0; text-align: left; margin-bottom: clamp(22px, 3vw, 40px);}
body:is(.woocommerce-account, .woocommerce-cart, .woocommerce-checkout) #page .entry-title,
#page article:has(.tinv-wishlist) .entry-title {font-size: clamp(32px, 4vw, 60px); line-height: 1.1; letter-spacing: -.055em; margin: 0;}
#page #customer_login {display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start;}
#page #customer_login::before, #page #customer_login::after {display: none;}
#page #customer_login > div,
#page .woocommerce-MyAccount-content,
#page .woocommerce-MyAccount-navigation,
#page .woocommerce-ResetPassword,
#page .woocommerce-cart-form,
#page .cart_totals,
#page #customer_details,
#page #order_review,
#page article:has(.wc-empty-cart-message) .entry-content > .woocommerce,
#page .entry-content > .tinv-wishlist.woocommerce,
#page .woocommerce-order {
  box-sizing: border-box;
  padding: var(--card-pad);
  background: var(--surface);
  border: 1px solid var(--form-line);
  border-radius: 16px;
  min-width: 0;
}
#page #customer_login > div {float: none; margin: 0; width: auto;}
#page #customer_login h2, #page .woocommerce-MyAccount-content h2, #page #customer_details h3, #page #order_review_heading {font-size: clamp(22px, 2.2vw, 32px); letter-spacing: -.035em;}
#page #customer_login form, #page .entry-content .return-to-shop, #page .woocommerce-cart-form table, #page .cart_totals table, #page #order_review table {margin-bottom: 0;}
#page .woocommerce-LostPassword {margin-bottom: 0;}
#page .woocommerce-form-login__rememberme {display: block; margin-bottom: 12px;}
#page .woocommerce:has(> .woocommerce-MyAccount-navigation) {
  display: grid;
  grid-template-columns: minmax(165px, .31fr) minmax(0, 1fr);
  align-items: start;
  gap: 0 24px;
}
#page .woocommerce:has(> .woocommerce-MyAccount-navigation)::before,
#page .woocommerce:has(> .woocommerce-MyAccount-navigation)::after {display: none;}
#page .woocommerce:has(> .woocommerce-MyAccount-navigation) > .woocommerce-notices-wrapper {grid-column: 1 / -1;}
#page .woocommerce-MyAccount-navigation {grid-column: 1; padding: 12px; float: none; width: auto; margin: 0;}
#page .woocommerce-MyAccount-navigation ul {list-style: none; margin: 0; border: 0;}
#page .woocommerce-MyAccount-navigation li {border: 0; margin: 0;}
#page .woocommerce-MyAccount-navigation li a {display: block; color: var(--text); padding: 11px 13px; border-radius: 8px; text-decoration: none; overflow-wrap: anywhere;}
#page .woocommerce-MyAccount-navigation li a:hover {background: var(--surface-soft);}
#page .woocommerce-MyAccount-navigation li.is-active a {background: var(--surface-soft); color: var(--accent-hover); font-weight: 750;}
#page .woocommerce-MyAccount-navigation li a::before {display: none;}
#page .woocommerce-MyAccount-content {grid-column: 2; width: auto; float: none; margin: 0; overflow-wrap: anywhere;}
#page .woocommerce-MyAccount-content > :last-child {margin-bottom: 0;}
#page .woocommerce-address-fields__field-wrapper, #page .woocommerce-EditAccountForm fieldset {min-width: 0;}
#page :is(.woocommerce-cart-form, .cart_totals, #order_review, .tinv-wishlist, .woocommerce-MyAccount-content, .woocommerce-order) table :is(th, td) {
  background: transparent; border-bottom: 1px solid var(--border);
}
#page :is(.woocommerce-cart-form, .cart_totals, #order_review, .tinv-wishlist, .woocommerce-MyAccount-content, .woocommerce-order) table thead th {background: var(--surface-soft); color: var(--text);}
#page .woocommerce-cart-form {margin-bottom: 24px;}
#page .cart_totals {max-width: 100%;}
#page .cart_totals h2 {font-size: 1.5rem;}
#page .woocommerce-checkout-review-order-table {font-size: .96rem;}
#page #order_review {margin-bottom: 24px;}
#page #customer_details > div {float: none; width: 100%; margin: 0;}
#page #payment {border-radius: 10px; overflow: visible; background: transparent;}
#page #payment .wc_payment_methods, #page #payment .wc_payment_methods li, #page #payment .place-order {background: transparent;}
#page #payment .wc_payment_methods li > label {padding-inline: 0;}
#page #payment .payment_box {padding: 12px; margin: 0 0 12px;}
#page #payment .place-order {padding: 12px 0 0;}
#page .tinv-wishlist form {margin-bottom: 0;}
#page .woocommerce-order-overview {background: var(--surface-soft); border-radius: 10px;}
#page .woocommerce-order-overview::before, #page .woocommerce-order-overview::after {display: none;}

body #page :focus {outline: none; outline-offset: 0;}
body #page :focus-visible {outline: none; box-shadow: 0 0 0 3px rgba(0, 158, 115, .27);}
html.kryo-pointer body #page :focus {outline: none; box-shadow: none;}
@media (forced-colors: active) {
  body #page :focus-visible {outline: 2px solid Highlight; outline-offset: 2px;}
  html.kryo-pointer body #page :focus-visible {outline: 2px solid Highlight;}
}
@media (max-width: 767px) {
  #page .woocommerce:has(> .woocommerce-MyAccount-navigation) {grid-template-columns: minmax(0, 1fr);}
  #page .woocommerce-MyAccount-content {grid-column: 1;}
  #page #customer_login {grid-template-columns: 1fr; gap: 16px;}
  #page .woocommerce-MyAccount-navigation, #page .woocommerce-MyAccount-content, #page .cart_totals {width: 100%; float: none;}
  #page .woocommerce-MyAccount-navigation {margin-bottom: 16px;}
  #page .woocommerce-cart-form .product-name {overflow-wrap: anywhere;}
  #page .woocommerce-cart-form .actions .coupon {display: flex; flex-wrap: wrap; gap: 8px;}
  #page .woocommerce-cart-form .actions .coupon :is(input, button) {width: 100%; margin: 0;}
  #page .woocommerce-cart-form .actions > .button {width: 100%;}
  #page #customer_details {margin-bottom: 24px;}
  #page #order_review :is(td, th), #page .cart_totals :is(td, th) {padding: 9px 5px;}
  #page .form-row-first, #page .form-row-last {width: 100%; float: none; margin-inline: 0;}
}
@media (prefers-reduced-motion: reduce) {
  #page :is(.button, button, input[type="button"], input[type="submit"]) {transition: none;}
}

