/* WooCommerce shop + product — ReliabilityX design */

#rx-woocommerce {
  --rx-wc-paper: #FBFAF8;
  --rx-wc-ink: #0D1D2D;
  --rx-wc-body: #323639;
  --rx-wc-muted: #4A5560;
  --rx-wc-blue: #357FC2;
  --rx-wc-accent: #D26317;
  --rx-wc-navy: #02304F;
  --rx-wc-rule: rgba(13, 29, 45, 0.1);
  --rx-wc-pad: clamp(22px, 5vw, 40px);
  background: #fff;
  color: var(--rx-wc-body);
  font-family: 'IBM Plex Sans', ui-sans-serif, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  flex: 1 0 auto;
  justify-content: flex-start;
}

body.rx-design.rx-revamp.rx-woocommerce-page {
  background: #fff;
  color: var(--rx-wc-body);
}

.rx-woocommerce {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px var(--rx-wc-pad) 96px;
  width: 100%;
}

#rx-woocommerce a {
  color: var(--rx-wc-blue);
}

#rx-woocommerce a:hover {
  color: var(--rx-wc-accent);
}

.rx-wc-notices {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0;
}

.rx-wc-notices:has(.woocommerce-message, .woocommerce-info, .woocommerce-error, .wc-block-components-notice-banner) {
  padding: 16px var(--rx-wc-pad) 0;
}

#rx-woocommerce span.onsale,
#rx-woocommerce .onsale {
  display: none !important;
}

#rx-woocommerce .woocommerce-result-count,
#rx-woocommerce .woocommerce-ordering,
#rx-woocommerce .woocommerce-products-header {
  display: none;
}

#rx-woocommerce .woocommerce-notices-wrapper,
#rx-woocommerce .woocommerce-message,
#rx-woocommerce .woocommerce-info,
#rx-woocommerce .woocommerce-error {
  border-radius: 10px;
}

/* -------------------------------------------------------------------------- */
/* Shop hero                                                                  */
/* -------------------------------------------------------------------------- */

.rx-wc-hero {
  background: linear-gradient(180deg, #EBF2F9 0%, #FBFDFF 100%);
  border-bottom: 1px solid var(--rx-wc-rule);
}

.rx-wc-hero__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px var(--rx-wc-pad) 60px;
}

.rx-wc-crumb {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  font-size: 12.5px;
  color: #7A828C;
  margin-bottom: 18px;
}

.rx-wc-crumb--product {
  box-sizing: border-box;
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
  padding: 36px var(--rx-wc-pad) 0;
  color: #9AA3AC;
}

.rx-wc-crumb a {
  color: inherit !important;
  text-decoration: none;
}

.rx-wc-crumb a:hover {
  color: var(--rx-wc-blue) !important;
}

.rx-wc-crumb span:last-child {
  color: var(--rx-wc-ink);
  font-weight: 500;
}

body.rx-design.rx-revamp.rx-woocommerce-page .rx-wc-hero__title {
  font-family: 'IBM Plex Serif', Georgia, serif !important;
  font-weight: 500;
  font-size: clamp(32px, 4.5vw, 42px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--rx-wc-ink);
}

.rx-wc-hero__title span {
  font-style: italic;
  color: var(--rx-wc-accent);
}

/* -------------------------------------------------------------------------- */
/* Shop layout                                                                */
/* -------------------------------------------------------------------------- */

.rx-wc-shop__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px var(--rx-wc-pad) 96px;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  align-items: start;
}

.rx-wc-filters-toggle {
  display: none;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border: 1px solid rgba(13, 29, 45, 0.16);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--rx-wc-ink);
  cursor: pointer;
  margin-bottom: 20px;
  font-family: inherit;
}

.rx-wc-sidebar {
  position: sticky;
  top: 96px;
}

.rx-wc-filter {
  margin-bottom: 36px;
}

.rx-wc-filter--price {
  padding-top: 28px;
  border-top: 1px solid var(--rx-wc-rule);
  margin-bottom: 0;
}

.rx-wc-filter__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rx-wc-ink);
  margin-bottom: 16px;
}

.rx-wc-filter__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rx-wc-filter__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  background: none;
  border: 0;
  border-left: 2px solid transparent;
  padding: 0 0 0 12px;
  font-family: inherit;
  font-size: 14px;
  color: var(--rx-wc-muted);
  font-weight: 400;
  text-align: left;
  cursor: pointer;
  transition: color 0.16s ease;
}

.rx-wc-filter__item:hover,
.rx-wc-filter__item.is-active {
  color: var(--rx-wc-ink);
}

.rx-wc-filter__item.is-active {
  font-weight: 600;
  border-left-color: var(--rx-wc-accent);
}

.rx-wc-filter__count {
  font-size: 12px;
  color: #B7BEC5;
}

.rx-wc-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.rx-wc-toolbar__count {
  font-size: 13.5px;
  color: #7A828C;
}

.rx-wc-toolbar__sort {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #7A828C;
}

.rx-wc-sort {
  border: 1px solid rgba(13, 29, 45, 0.16);
  border-radius: 8px;
  font-size: 13.5px;
  font-family: inherit;
  color: var(--rx-wc-ink);
  padding: 9px 14px;
  background: #fff;
  cursor: pointer;
}

.rx-wc-sort:focus {
  outline: none;
  border-color: var(--rx-wc-blue);
}

#rx-woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 24px;
  list-style: none;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  float: none !important;
  clear: both;
}

#rx-woocommerce ul.products::before,
#rx-woocommerce ul.products::after {
  display: none !important;
  content: none !important;
}

#rx-woocommerce li.product,
#rx-woocommerce ul.products li.product {
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  float: none !important;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

#rx-woocommerce ul.products > li.product.rx-wc-card:not(.rx-wc-card--related) {
  background: #fff;
  border: 1px solid rgba(13, 29, 45, 0.08);
  border-radius: 18px;
  padding: 10px 10px 16px;
  box-shadow: 0 14px 36px -28px rgba(2, 48, 79, 0.55);
  transition: transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

#rx-woocommerce ul.products > li.product.rx-wc-card:not(.rx-wc-card--related):hover {
  border-color: rgba(210, 99, 23, 0.28);
  box-shadow: 0 26px 44px -24px rgba(2, 48, 79, 0.34);
}

.rx-wc-card__link {
  text-decoration: none !important;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  color: inherit !important;
}

#rx-woocommerce ul.products > li.product.rx-wc-card:not(.rx-wc-card--related) .rx-wc-card__link {
  padding: 2px 8px 0;
}

.rx-wc-card__visual {
  position: relative;
  margin-bottom: 18px;
}

#rx-woocommerce ul.products > li.product.rx-wc-card:not(.rx-wc-card--related) .rx-wc-card__visual {
  margin-bottom: 14px;
}

.rx-wc-card__media-link {
  display: block;
  text-decoration: none !important;
}

.rx-wc-card__media {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  aspect-ratio: 1 / 1;
  width: 100%;
  flex-shrink: 0;
  background: #F6F8FB;
  transition: box-shadow 0.35s ease;
}

#rx-woocommerce ul.products > li.product.rx-wc-card:not(.rx-wc-card--related) .rx-wc-card__media {
  border-radius: 12px;
}

.rx-wc-card:hover .rx-wc-card__media {
  box-shadow: 0 20px 36px -16px rgba(2, 48, 79, 0.28);
}

.rx-wc-card__thumb,
.rx-wc-placeholder,
.rx-wc-placeholder svg,
#rx-woocommerce .rx-wc-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 0;
  transition: transform 0.45s ease;
}

.rx-wc-card:hover .rx-wc-card__thumb,
.rx-wc-card:hover .rx-wc-placeholder svg {
  transform: scale(1.055);
}

.rx-wc-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rx-wc-ink);
  background: #fff;
  padding: 5px 10px;
  border-radius: 4px;
  box-shadow: 0 8px 18px -10px rgba(13, 29, 45, 0.45);
}

.rx-wc-wishlist {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(13, 29, 45, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #3D4A57;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.rx-wc-card:hover .rx-wc-wishlist,
.rx-wc-wishlist.is-on {
  opacity: 1;
  transform: scale(1);
}

.rx-wc-wishlist:hover {
  background: #fff;
  border-color: var(--rx-wc-accent);
}

.rx-wc-wishlist.is-on {
  background: var(--rx-wc-accent);
  border-color: var(--rx-wc-accent);
  color: #fff;
}

.rx-wc-wishlist.is-on svg path {
  fill: #fff;
  stroke: #fff;
}

.rx-wc-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding: 12px 8px 0;
}

.rx-wc-quickadd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0;
  align-self: auto;
  flex-shrink: 0;
  background: var(--rx-wc-ink) !important;
  color: #fff !important;
  font-size: 12.5px !important;
  font-weight: 600;
  padding: 9px 16px !important;
  border-radius: 20px !important;
  border: none !important;
  text-decoration: none !important;
  letter-spacing: 0.02em;
  white-space: nowrap;
  box-shadow: none;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.rx-wc-quickadd:hover,
.rx-wc-quickadd.added {
  background: var(--rx-wc-accent) !important;
  color: #fff !important;
}

.rx-wc-card__cat {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rx-wc-blue);
  margin-bottom: 6px;
  min-height: 1.2em;
}

body.rx-design.rx-revamp.rx-woocommerce-page .rx-wc-card__title {
  font-family: 'IBM Plex Serif', Georgia, serif !important;
  font-weight: 500;
  font-size: 16.5px;
  line-height: 1.34;
  letter-spacing: -0.01em;
  margin: 0 0 4px;
  color: var(--rx-wc-ink);
  text-wrap: balance;
  transition: color 0.2s ease;
  flex: 1 1 auto;
  min-height: calc(1.34em * 2);
}

.rx-wc-card:hover .rx-wc-card__title {
  color: var(--rx-wc-blue);
}

.rx-wc-card__price-row {
  display: flex;
  align-items: baseline;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: 0;
}

body.rx-design.rx-revamp.rx-woocommerce-page .rx-wc-card__price,
body.rx-design.rx-revamp.rx-woocommerce-page .rx-wc-card__price .amount,
body.rx-design.rx-revamp.rx-woocommerce-page .rx-wc-product__price,
body.rx-design.rx-revamp.rx-woocommerce-page .rx-wc-product__price .amount {
  font-family: 'IBM Plex Serif', Georgia, serif !important;
  font-weight: 500;
  font-size: 18px;
  color: var(--rx-wc-ink);
}

.rx-wc-card__price del,
.rx-wc-product__price del {
  font-size: 13.5px;
  color: #B7BEC5;
  text-decoration: line-through;
}

.rx-wc-card__price ins,
.rx-wc-product__price ins {
  text-decoration: none;
}

.rx-wc-card.is-hidden {
  display: none !important;
}

.rx-wc-more {
  text-align: center;
  padding: 56px 0 96px;
}

.rx-wc-more[hidden],
.rx-wc-more:has(> [hidden]) {
  display: none !important;
  padding: 0;
}

.rx-wc-load {
  background: none;
  border: 1px solid rgba(13, 29, 45, 0.2);
  color: var(--rx-wc-ink);
  font-size: 14px;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 2px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: inherit;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.rx-wc-load[hidden] {
  display: none !important;
}

.rx-wc-load:hover {
  background: var(--rx-wc-ink);
  color: #fff;
  border-color: var(--rx-wc-ink);
}

.rx-wc-load__spinner {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(13, 29, 45, 0.25);
  border-top-color: currentColor;
  display: none;
}

.rx-wc-load.is-loading .rx-wc-load__spinner {
  display: inline-block;
  animation: rx-wc-spin 0.7s linear infinite;
}

@keyframes rx-wc-spin {
  to { transform: rotate(360deg); }
}

.rx-wc-toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 100;
  background: var(--rx-wc-ink);
  color: #fff;
  font-size: 13.5px;
  font-weight: 500;
  padding: 14px 20px;
  border-radius: 10px;
  box-shadow: 0 12px 30px -8px rgba(2, 10, 20, 0.4);
  display: flex;
  align-items: center;
  gap: 10px;
}

.rx-wc-toast[hidden] {
  display: none;
}

/* -------------------------------------------------------------------------- */
/* Product                                                                    */
/* -------------------------------------------------------------------------- */

.rx-wc-product {
  max-width: 1120px;
  margin: 0 auto;
  padding: 40px var(--rx-wc-pad) 0;
}

.rx-wc-product__layout {
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  gap: 80px;
  align-items: start;
}

.rx-wc-product__details {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.rx-wc-product__media {
  position: sticky;
  top: 96px;
  z-index: 1;
  overflow: hidden;
  border-radius: 16px;
  aspect-ratio: 1 / 1;
  background: #F6F8FB;
  min-width: 0;
}

.rx-wc-product__thumb,
.rx-wc-product__media .rx-wc-placeholder,
.rx-wc-product__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rx-wc-product__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rx-wc-blue);
}

.rx-wc-product__eyebrow-line {
  width: 22px;
  height: 1.5px;
  background: var(--rx-wc-accent);
}

body.rx-design.rx-revamp.rx-woocommerce-page .rx-wc-product__title {
  font-family: 'IBM Plex Serif', Georgia, serif !important;
  font-weight: 500;
  font-size: clamp(28px, 3.4vw, 36px);
  line-height: 1.14;
  letter-spacing: -0.018em;
  margin: 0 0 22px;
  color: var(--rx-wc-ink);
  text-wrap: balance;
}

.rx-wc-product__price-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

body.rx-design.rx-revamp.rx-woocommerce-page .rx-wc-product__price,
body.rx-design.rx-revamp.rx-woocommerce-page .rx-wc-product__price .amount {
  font-size: 30px;
}

.rx-wc-product__dot {
  font-size: 13px;
  color: #B7BEC5;
}

.rx-wc-product__free {
  font-size: 13.5px;
  color: #9AA3AC;
}

.rx-wc-product__summary {
  font-size: 16px;
  line-height: 1.8;
  color: var(--rx-wc-muted);
  margin: 0 0 36px;
  max-width: 460px;
}

.rx-wc-product__summary p {
  margin: 0;
}

.rx-wc-product__cart {
  margin-bottom: 36px;
}

#rx-woocommerce .rx-wc-product__cart .cart {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  position: relative;
  z-index: 2;
}

#rx-woocommerce .rx-wc-product__cart .quantity {
  display: inline-flex;
  align-items: center;
  background: #F6F8FB;
  border-radius: 100px;
  margin: 0;
  float: none !important;
  width: auto !important;
  position: relative;
  z-index: 3;
  isolation: isolate;
  overflow: hidden;
}

#rx-woocommerce .rx-wc-product__cart .quantity .screen-reader-text {
  display: none !important;
  pointer-events: none !important;
}

.rx-wc-qty-btn {
  position: relative;
  z-index: 4;
  flex: 0 0 42px;
  width: 42px;
  height: 48px;
  background: none;
  border: none;
  font-size: 18px;
  line-height: 1;
  color: var(--rx-wc-ink);
  cursor: pointer;
  font-family: inherit;
  pointer-events: auto;
}

.rx-wc-qty-btn:hover {
  background: #fff;
  color: var(--rx-wc-blue);
}

.rx-wc-qty-btn--minus {
  border-radius: 100px 0 0 100px;
}

.rx-wc-qty-btn--plus {
  border-radius: 0 100px 100px 0;
}

#rx-woocommerce .rx-wc-product__cart .qty {
  position: relative;
  z-index: 1;
  flex: 0 0 36px;
  width: 36px !important;
  min-width: 0 !important;
  max-width: 36px !important;
  height: 48px;
  border: 0;
  background: transparent;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--rx-wc-ink);
  padding: 0;
  appearance: textfield;
  -moz-appearance: textfield;
  -webkit-appearance: none;
}

#rx-woocommerce .rx-wc-product__cart .qty::-webkit-outer-spin-button,
#rx-woocommerce .rx-wc-product__cart .qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
  display: none;
}

#rx-woocommerce .rx-wc-product__cart .single_add_to_cart_button,
#rx-woocommerce .rx-wc-product__cart button.button {
  flex: 1;
  background: var(--rx-wc-ink) !important;
  color: #fff !important;
  font-size: 14.5px;
  font-weight: 600;
  padding: 15px 28px;
  border-radius: 100px !important;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

#rx-woocommerce .rx-wc-product__cart .single_add_to_cart_button:hover {
  background: var(--rx-wc-accent) !important;
}

.rx-wc-product__tags {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.rx-wc-tag {
  font-size: 12px;
  color: var(--rx-wc-muted);
  border: 1px solid rgba(13, 29, 45, 0.14);
  border-radius: 100px;
  padding: 6px 14px;
  transition: border-color 0.16s ease, color 0.16s ease;
}

.rx-wc-tag:hover {
  border-color: var(--rx-wc-blue);
  color: var(--rx-wc-blue);
}

.rx-wc-share {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 28px;
  border-top: 1px solid rgba(13, 29, 45, 0.08);
  font-size: 12.5px;
  color: #9AA3AC;
}

.rx-wc-share__btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(13, 29, 45, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  color: var(--rx-wc-muted) !important;
  transition: border-color 0.16s ease, color 0.16s ease, background 0.16s ease;
}

.rx-wc-share__btn:hover {
  border-color: var(--rx-wc-blue) !important;
  color: var(--rx-wc-blue) !important;
  background: #EBF2F9;
}

.rx-wc-description {
  margin-top: 104px;
  max-width: 640px;
}

body.rx-design.rx-revamp.rx-woocommerce-page .rx-wc-description h2 {
  font-family: 'IBM Plex Serif', Georgia, serif !important;
  font-style: italic;
  font-weight: 500;
  font-size: 14px;
  color: var(--rx-wc-blue);
  letter-spacing: 0.02em;
  margin: 0 0 18px;
}

.rx-wc-description__body {
  font-size: 16.5px;
  line-height: 1.85;
  color: var(--rx-wc-muted);
}

.rx-wc-description__body p:last-child {
  margin-bottom: 0;
}

.rx-wc-related {
  margin-top: 104px;
  padding-top: 64px;
  padding-bottom: 104px;
  border-top: 1px solid rgba(13, 29, 45, 0.08);
}

body.rx-design.rx-revamp.rx-woocommerce-page .rx-wc-related > h2 {
  font-family: 'IBM Plex Serif', Georgia, serif !important;
  font-weight: 500;
  font-size: 26px;
  margin: 0 0 36px;
  color: var(--rx-wc-ink);
}

.rx-wc-card--related .rx-wc-card__visual {
  margin-bottom: 16px;
}

.rx-wc-card--related .rx-wc-card__media {
  border-radius: 12px;
}

body.rx-design.rx-revamp.rx-woocommerce-page .rx-wc-card--related .rx-wc-card__title {
  font-size: 15.5px;
  margin-bottom: 8px;
}

body.rx-design.rx-revamp.rx-woocommerce-page .rx-wc-card--related .rx-wc-card__price,
body.rx-design.rx-revamp.rx-woocommerce-page .rx-wc-card--related .rx-wc-card__price .amount {
  font-size: 16px;
}

.rx-wc-card__free {
  font-size: 12.5px;
  color: #9AA3AC;
}

.rx-wc-related-add {
  display: inline-block;
  margin-top: 10px;
  background: var(--rx-wc-navy) !important;
  color: #fff !important;
  font-size: 12.5px !important;
  font-weight: 600;
  padding: 9px 16px !important;
  border-radius: 6px !important;
  border: none !important;
  text-decoration: none !important;
}

.rx-wc-related-add:hover {
  background: var(--rx-wc-ink) !important;
  color: #fff !important;
}

.rx-wc-card--related .rx-wc-quickadd {
  display: none;
}

/* -------------------------------------------------------------------------- */
/* Newsletter                                                                 */
/* -------------------------------------------------------------------------- */

.rx-wc-newsletter {
  background: #F6F8FB;
  border-top: 1px solid var(--rx-wc-rule);
  border-bottom: 1px solid var(--rx-wc-rule);
}

.rx-wc-newsletter__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 96px var(--rx-wc-pad);
}

.rx-wc-newsletter__header {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: baseline;
  margin-bottom: 56px;
}

.rx-wc-newsletter__num {
  font-family: 'IBM Plex Serif', Georgia, serif;
  font-style: italic;
  font-size: 20px;
  color: var(--rx-wc-blue);
}

body.rx-design.rx-revamp.rx-woocommerce-page .rx-wc-newsletter__title,
body.rx-design.rx-revamp.rx-woocommerce-page .rx-wc-newsletter__subheading {
  font-family: 'IBM Plex Serif', Georgia, serif !important;
  font-weight: 500;
  color: var(--rx-wc-ink);
}

body.rx-design.rx-revamp.rx-woocommerce-page .rx-wc-newsletter__title {
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
}

body.rx-design.rx-revamp.rx-woocommerce-page .rx-wc-newsletter__subheading {
  font-size: 22px;
  margin: 0 0 14px;
}

.rx-wc-newsletter__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.rx-wc-newsletter__desc {
  font-size: 16px;
  line-height: 1.72;
  color: var(--rx-wc-muted);
  margin: 0 0 28px;
}

.rx-wc-newsletter__note {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--rx-wc-blue);
  font-weight: 600;
}

.rx-wc-newsletter__note-line {
  width: 26px;
  height: 1.5px;
  background: var(--rx-wc-accent);
}

.rx-wc-newsletter__thanks {
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--rx-wc-rule);
  border-radius: 10px;
  padding: 24px 26px;
}

.rx-wc-newsletter__fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.rx-wc-newsletter__field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.rx-wc-newsletter__field label {
  font-size: 12px;
  font-weight: 600;
  color: #3D4A57;
  letter-spacing: 0.04em;
}

.rx-wc-newsletter__req {
  color: var(--rx-wc-accent);
}

.rx-wc-newsletter__field input {
  background: #fff;
  border: 1px solid rgba(13, 29, 45, 0.18);
  border-radius: 10px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 14px;
  color: var(--rx-wc-ink);
  width: 100%;
}

.rx-wc-newsletter__field input:focus {
  border-color: rgba(53, 127, 194, 0.5);
  outline: none;
}

.rx-wc-newsletter__field input::placeholder {
  color: #9AA3AC;
}

.rx-wc-newsletter__submit {
  width: 100%;
  background: var(--rx-wc-navy);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
}

.rx-wc-newsletter__submit:hover {
  background: var(--rx-wc-ink);
}

/* -------------------------------------------------------------------------- */
/* Cart / checkout leftovers                                                  */
/* -------------------------------------------------------------------------- */

#rx-woocommerce .button,
#rx-woocommerce button.button,
#rx-woocommerce input.button,
#rx-woocommerce a.button,
#rx-woocommerce .woocommerce-button {
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}

.rx-woocommerce .button,
.rx-woocommerce button.button,
.rx-woocommerce a.button {
  background: var(--rx-wc-accent);
  border: 0;
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  line-height: 1.2;
  padding: 12px 18px;
}

.rx-woocommerce .button:hover,
.rx-woocommerce a.button:hover {
  background: #bb5512;
  color: #fff;
}

.rx-woocommerce h1,
.rx-woocommerce h2 {
  font-family: 'IBM Plex Serif', Georgia, serif;
  font-weight: 500;
  color: var(--rx-wc-ink);
}

/* -------------------------------------------------------------------------- */
/* Motion                                                                     */
/* -------------------------------------------------------------------------- */

.rx-wc-card {
  transition: transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.rx-wc-card:hover {
  transform: translateY(-5px);
}

.rx-wc-card--related:hover {
  transform: translateY(-5px);
}

@media (prefers-reduced-motion: reduce) {
  .rx-wc-card,
  .rx-wc-card__thumb,
  .rx-wc-quickadd,
  .rx-wc-wishlist {
    transition: none;
  }

  .rx-wc-card:hover,
  .rx-wc-card:hover .rx-wc-card__thumb {
    transform: none;
  }
}

/* -------------------------------------------------------------------------- */
/* Responsive                                                                 */
/* -------------------------------------------------------------------------- */

/* -------------------------------------------------------------------------- */
/* Cart                                                                       */
/* -------------------------------------------------------------------------- */

@keyframes rx-wc-up {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

@keyframes rx-wc-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

@keyframes rx-wc-pulse {
  0% { box-shadow: 0 0 0 0 rgba(210, 99, 23, 0.35); }
  70% { box-shadow: 0 0 0 14px rgba(210, 99, 23, 0); }
  100% { box-shadow: 0 0 0 0 rgba(210, 99, 23, 0); }
}

.rx-wc-cart {
  background: #fff;
}

.rx-wc-cart__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 56px var(--rx-wc-pad) 120px;
}

.rx-wc-cart__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 52px;
  animation: rx-wc-up 0.5s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

body.rx-design.rx-revamp.rx-woocommerce-page .rx-wc-cart__heading,
body.rx-design.rx-revamp.rx-woocommerce-page .rx-wc-cart__title,
body.rx-design.rx-revamp.rx-woocommerce-page .rx-wc-cart__index,
body.rx-design.rx-revamp.rx-woocommerce-page .rx-wc-cart__line,
body.rx-design.rx-revamp.rx-woocommerce-page .rx-wc-cart__line .amount,
body.rx-design.rx-revamp.rx-woocommerce-page .rx-wc-cart .cart_totals h2,
body.rx-design.rx-revamp.rx-woocommerce-page .rx-wc-cart .order-total .amount {
  font-family: 'IBM Plex Serif', Georgia, serif !important;
}

body.rx-design.rx-revamp.rx-woocommerce-page .rx-wc-cart__heading {
  font-weight: 500;
  font-size: 34px;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--rx-wc-ink);
  line-height: 1.15;
}

.rx-wc-cart__heading span {
  font-style: italic;
  color: var(--rx-wc-accent);
}

.rx-wc-cart__steps {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #B7BEC5;
}

.rx-wc-cart__step.is-active {
  color: var(--rx-wc-ink);
}

.rx-wc-cart__step-line {
  width: 24px;
  height: 1px;
  background: rgba(13, 29, 45, 0.2);
}

.rx-wc-cart .woocommerce {
  width: 100%;
}

.rx-wc-cart__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 48px;
  align-items: start;
}

#rx-woocommerce .rx-wc-cart form.woocommerce-cart-form,
#rx-woocommerce .rx-wc-cart .cart-collaterals {
  float: none !important;
  width: 100% !important;
  margin: 0;
  padding: 0;
}

#rx-woocommerce .rx-wc-cart .woocommerce-cart-form {
  animation: rx-wc-up 0.55s cubic-bezier(0.22, 0.61, 0.36, 1) 0.05s both;
}

#rx-woocommerce .rx-wc-cart .woocommerce-cart-form__contents.shop_table,
#rx-woocommerce .rx-wc-cart table.shop_table {
  border: 0 !important;
  margin: 0;
  background: transparent;
}

.rx-wc-cart__item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 8px;
  border-radius: 14px;
  animation: rx-wc-in 0.4s ease both;
  transition: background 0.2s ease, transform 0.2s ease;
}

.rx-wc-cart__item:hover {
  background: #FBFAF8;
  transform: translateX(4px);
}

.rx-wc-cart__index {
  font-family: 'IBM Plex Serif', Georgia, serif;
  font-style: italic;
  font-size: 15px;
  color: #B7BEC5;
  flex: none;
  width: 22px;
}

.rx-wc-cart__thumb {
  width: 84px !important;
  height: 84px !important;
  border-radius: 12px;
  overflow: hidden;
  background: #F6F8FB;
  flex: 0 0 84px;
}

.rx-wc-cart__thumb a {
  display: block;
  width: 100%;
  height: 100%;
}

.rx-wc-cart__thumb img,
.rx-wc-cart__thumb .rx-wc-placeholder,
.rx-wc-cart__thumb svg {
  display: block;
  width: 84px !important;
  height: 84px !important;
  max-width: none;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.rx-wc-cart__item:hover .rx-wc-cart__thumb img,
.rx-wc-cart__item:hover .rx-wc-cart__thumb svg {
  transform: scale(1.06);
}

.rx-wc-cart__info {
  flex: 1 1 auto;
  min-width: 140px;
}

#rx-woocommerce .rx-wc-cart__title {
  text-decoration: none;
  display: block;
  font-weight: 500;
  font-size: 17px;
  color: var(--rx-wc-ink) !important;
  line-height: 1.35;
  margin-bottom: 8px;
  transition: color 0.16s ease;
}

#rx-woocommerce .rx-wc-cart__title:hover {
  color: var(--rx-wc-blue) !important;
}

.rx-wc-cart__each {
  display: block;
  font-size: 13.5px;
  color: #9AA3AC;
}

.rx-wc-cart__each .amount,
.rx-wc-cart__each .woocommerce-Price-amount {
  font-weight: 400;
  color: inherit;
}

.rx-wc-cart__info .variation,
.rx-wc-cart__info .backorder_notification {
  margin: 6px 0 0;
  font-size: 12.5px;
  color: #9AA3AC;
}

#rx-woocommerce .rx-wc-cart .quantity {
  display: inline-flex;
  align-items: center;
  background: #F6F8FB;
  border-radius: 100px;
  margin: 0;
  float: none !important;
  width: auto !important;
  flex: none;
  overflow: hidden;
}

#rx-woocommerce .rx-wc-cart .quantity .screen-reader-text {
  display: none !important;
}

#rx-woocommerce .rx-wc-cart .rx-wc-qty-btn {
  flex: 0 0 34px;
  width: 34px;
  height: 38px;
  font-size: 15px;
}

#rx-woocommerce .rx-wc-cart .qty {
  flex: 0 0 28px;
  width: 28px !important;
  min-width: 0 !important;
  max-width: 28px !important;
  height: 38px;
  border: 0;
  background: transparent;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--rx-wc-ink);
  padding: 0;
  appearance: textfield;
  -moz-appearance: textfield;
}

#rx-woocommerce .rx-wc-cart .qty::-webkit-outer-spin-button,
#rx-woocommerce .rx-wc-cart .qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
  display: none;
}

.rx-wc-qty-pop {
  animation: rx-wc-pulse 0.5s ease;
}

.rx-wc-cart__line {
  font-size: 17px;
  font-weight: 500;
  color: var(--rx-wc-ink);
  flex: 0 0 72px;
  width: 72px;
  text-align: right;
}

.rx-wc-cart__line .amount,
.rx-wc-cart__line .woocommerce-Price-amount {
  font-weight: 500;
}

.rx-wc-cart .product-remove {
  flex: 0 0 30px;
  width: 30px !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

#rx-woocommerce .rx-wc-cart a.remove,
#rx-woocommerce .rx-wc-cart__remove {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none !important;
  background: none !important;
  color: #B7BEC5 !important;
  font-size: 17px;
  line-height: 1;
  text-decoration: none;
  transition: background 0.16s ease, color 0.16s ease, transform 0.25s ease;
}

#rx-woocommerce .rx-wc-cart a.remove:hover,
#rx-woocommerce .rx-wc-cart__remove:hover {
  background: #FBEAE0 !important;
  color: var(--rx-wc-accent) !important;
  transform: rotate(90deg);
}

.rx-wc-cart__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 36px;
  flex-wrap: wrap;
  position: relative;
}

.rx-wc-cart__coupon {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  flex-wrap: wrap;
  min-width: 0;
}

#rx-woocommerce .rx-wc-cart #coupon_code {
  flex: 1;
  min-width: 200px;
  background: #F6F8FB;
  border: 1px solid transparent;
  border-radius: 100px;
  padding: 13px 20px;
  font-family: inherit;
  font-size: 14px;
  color: var(--rx-wc-ink);
  height: auto;
  width: auto;
  box-shadow: none;
}

#rx-woocommerce .rx-wc-cart #coupon_code:focus {
  outline: none;
  border-color: rgba(53, 127, 194, 0.5);
}

#rx-woocommerce .rx-wc-cart #coupon_code::placeholder {
  color: #9AA3AC;
}

#rx-woocommerce .rx-wc-cart .rx-wc-cart__apply,
#rx-woocommerce .rx-wc-cart button[name="apply_coupon"] {
  background: none !important;
  border: 1px solid rgba(13, 29, 45, 0.16) !important;
  color: var(--rx-wc-ink) !important;
  font-size: 13.5px;
  font-weight: 600;
  padding: 13px 22px;
  border-radius: 100px !important;
  cursor: pointer;
  font-family: inherit;
  height: auto;
  line-height: 1.2;
}

#rx-woocommerce .rx-wc-cart .rx-wc-cart__apply:hover,
#rx-woocommerce .rx-wc-cart button[name="apply_coupon"]:hover {
  border-color: var(--rx-wc-blue) !important;
  color: var(--rx-wc-blue) !important;
  background: none !important;
}

.rx-wc-cart__update,
#rx-woocommerce .rx-wc-cart button[name="update_cart"] {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.rx-wc-cart .coupon-error-notice {
  flex: 1 0 100%;
  margin: 0;
  font-size: 13px;
  color: #c0392b;
}

#rx-woocommerce .rx-wc-cart .cart_totals,
#rx-woocommerce .rx-wc-cart__totals {
  position: sticky;
  top: 96px;
  background: linear-gradient(160deg, #02304F, #0D1D2D);
  border-radius: 20px;
  padding: 36px 32px;
  color: #fff;
  animation: rx-wc-up 0.55s cubic-bezier(0.22, 0.61, 0.36, 1) 0.1s both;
  width: 100% !important;
  float: none !important;
}

.rx-wc-cart__totals-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}

.rx-wc-cart__totals-rule {
  width: 22px;
  height: 1.5px;
  background: #F88830;
}

#rx-woocommerce .rx-wc-cart .cart_totals h2 {
  font-family: 'IBM Plex Serif', Georgia, serif !important;
  font-weight: 500;
  font-size: 19px;
  margin: 0;
  color: #fff;
  padding: 0;
  border: 0;
}

#rx-woocommerce .rx-wc-cart .cart_totals table.shop_table {
  display: block;
  width: 100%;
  margin: 0;
  border: 0 !important;
  padding: 0 0 24px;
}

#rx-woocommerce .rx-wc-cart .cart_totals tbody {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

#rx-woocommerce .rx-wc-cart .cart_totals tr {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  border: 0;
  padding: 0;
}

#rx-woocommerce .rx-wc-cart .cart_totals th,
#rx-woocommerce .rx-wc-cart .cart_totals td {
  background: none !important;
  border: 0 !important;
  padding: 0 !important;
  color: #9FB6CC;
  font-size: 14.5px;
  font-weight: 400;
  text-align: left;
  width: auto;
}

#rx-woocommerce .rx-wc-cart .cart_totals td {
  color: #fff;
  text-align: right;
}

#rx-woocommerce .rx-wc-cart .cart_totals td .amount,
#rx-woocommerce .rx-wc-cart .cart_totals td .woocommerce-Price-amount {
  color: #fff;
}

#rx-woocommerce .rx-wc-cart .cart_totals a {
  color: #9FB6CC !important;
}

#rx-woocommerce .rx-wc-cart .cart_totals a:hover {
  color: #F88830 !important;
}

#rx-woocommerce .rx-wc-cart .cart_totals tr.order-total {
  padding: 24px 0 0;
  margin-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
}

#rx-woocommerce .rx-wc-cart .cart_totals tr.order-total th {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}

#rx-woocommerce .rx-wc-cart .cart_totals tr.order-total td,
#rx-woocommerce .rx-wc-cart .cart_totals tr.order-total .amount,
#rx-woocommerce .rx-wc-cart .cart_totals tr.order-total .woocommerce-Price-amount {
  font-family: 'IBM Plex Serif', Georgia, serif;
  font-weight: 500;
  font-size: 30px;
  color: #fff;
  line-height: 1;
}

#rx-woocommerce .rx-wc-cart .cart_totals tr.order-total small,
#rx-woocommerce .rx-wc-cart .cart_totals tr.order-total .includes_tax {
  display: none;
}

#rx-woocommerce .rx-wc-cart .wc-proceed-to-checkout {
  padding: 32px 0 0;
  margin: 0;
}

#rx-woocommerce .rx-wc-cart a.rx-wc-cart__checkout,
#rx-woocommerce .rx-wc-cart a.checkout-button {
  display: block;
  text-align: center;
  text-decoration: none;
  width: 100%;
  background: #F88830 !important;
  color: var(--rx-wc-ink) !important;
  font-size: 15px;
  font-weight: 700;
  padding: 17px 28px;
  border-radius: 100px;
  border: none;
  transition: background 0.18s ease, transform 0.12s ease;
}

#rx-woocommerce .rx-wc-cart a.rx-wc-cart__checkout:hover,
#rx-woocommerce .rx-wc-cart a.checkout-button:hover {
  background: var(--rx-wc-accent) !important;
  color: var(--rx-wc-ink) !important;
}

#rx-woocommerce .rx-wc-cart a.rx-wc-cart__checkout:active {
  transform: scale(0.98);
}

.rx-wc-cart__empty {
  text-align: center;
  padding: 80px 0;
  animation: rx-wc-up 0.5s ease both;
}

#rx-woocommerce .rx-wc-cart .wc-empty-cart-message .woocommerce-info,
#rx-woocommerce .rx-wc-cart .cart-empty {
  background: none;
  border: 0;
  box-shadow: none;
  padding: 0;
  margin: 0 0 24px;
  font-size: 16px;
  color: #7A828C;
}

#rx-woocommerce .rx-wc-cart .wc-empty-cart-message .woocommerce-info::before {
  display: none;
}

#rx-woocommerce .rx-wc-cart a.rx-wc-cart__continue {
  display: inline-block;
  text-decoration: none;
  background: var(--rx-wc-ink) !important;
  color: #fff !important;
  font-size: 14px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 100px;
  border: none;
}

#rx-woocommerce .rx-wc-cart a.rx-wc-cart__continue:hover {
  background: var(--rx-wc-accent) !important;
  color: #fff !important;
}

#rx-woocommerce .rx-wc-cart .woocommerce-notices-wrapper {
  margin-bottom: 20px;
}

#rx-woocommerce .rx-wc-cart .blockUI.blockOverlay {
  border-radius: 20px;
}

@media (prefers-reduced-motion: reduce) {
  .rx-wc-cart__head,
  .rx-wc-cart__item,
  #rx-woocommerce .rx-wc-cart .woocommerce-cart-form,
  #rx-woocommerce .rx-wc-cart .cart_totals,
  .rx-wc-cart__empty,
  .rx-wc-checkout__heading,
  .rx-wc-checkout__main,
  .rx-wc-checkout__summary {
    animation: none;
  }

  .rx-wc-cart__item:hover {
    transform: none;
  }
}

/* -------------------------------------------------------------------------- */
/* Checkout                                                                   */
/* -------------------------------------------------------------------------- */

.rx-wc-checkout {
  background: #fff;
}

.rx-wc-checkout__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 56px var(--rx-wc-pad) 120px;
}

body.rx-design.rx-revamp.rx-woocommerce-page .rx-wc-checkout__heading,
body.rx-design.rx-revamp.rx-woocommerce-page .rx-wc-checkout h2,
body.rx-design.rx-revamp.rx-woocommerce-page .rx-wc-checkout #order_review_heading,
body.rx-design.rx-revamp.rx-woocommerce-page .rx-wc-checkout .order-total .amount {
  font-family: 'IBM Plex Serif', Georgia, serif !important;
}

.rx-wc-checkout__heading {
  font-weight: 500;
  font-size: 34px;
  letter-spacing: -0.015em;
  margin: 0 0 44px;
  color: var(--rx-wc-ink);
  animation: rx-wc-up 0.5s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.rx-wc-checkout .woocommerce {
  width: 100%;
}

.rx-wc-checkout__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 400px);
  gap: 64px;
  align-items: start;
}

.rx-wc-checkout__main {
  animation: rx-wc-up 0.55s cubic-bezier(0.22, 0.61, 0.36, 1) 0.06s both;
  min-width: 0;
}

.rx-wc-checkout #customer_details,
.rx-wc-checkout .col2-set,
.rx-wc-checkout .col-1,
.rx-wc-checkout .col-2 {
  float: none !important;
  width: 100% !important;
}

#rx-woocommerce .rx-wc-checkout h2,
#rx-woocommerce .rx-wc-checkout #order_review_heading,
#rx-woocommerce .rx-wc-checkout .rx-wc-checkout__pay-heading {
  font-weight: 500;
  font-size: 19px;
  margin: 0 0 22px;
  color: var(--rx-wc-ink);
  padding: 0;
  border: 0;
}

.rx-wc-checkout .woocommerce-billing-fields {
  margin-bottom: 48px;
}

.rx-wc-checkout .woocommerce-additional-fields {
  margin-bottom: 0;
}

.rx-wc-checkout .woocommerce-billing-fields__field-wrapper,
.rx-wc-checkout .woocommerce-shipping-fields__field-wrapper,
.rx-wc-checkout .woocommerce-additional-fields__field-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

#rx-woocommerce .rx-wc-checkout .form-row {
  float: none !important;
  width: 100% !important;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

#rx-woocommerce .rx-wc-checkout .form-row-wide,
#rx-woocommerce .rx-wc-checkout #billing_company_field,
#rx-woocommerce .rx-wc-checkout #billing_country_field,
#rx-woocommerce .rx-wc-checkout #billing_address_1_field,
#rx-woocommerce .rx-wc-checkout #billing_address_2_field,
#rx-woocommerce .rx-wc-checkout #order_comments_field,
#rx-woocommerce .rx-wc-checkout .woocommerce-additional-fields__field-wrapper .form-row {
  grid-column: 1 / -1;
}

#rx-woocommerce .rx-wc-checkout label {
  font-size: 12px;
  font-weight: 600;
  color: #3D4A57;
  letter-spacing: 0.04em;
  line-height: 1.3;
}

#rx-woocommerce .rx-wc-checkout label .required,
#rx-woocommerce .rx-wc-checkout label abbr.required {
  color: var(--rx-wc-accent) !important;
  border: 0;
  text-decoration: none;
  font-weight: 600;
}

#rx-woocommerce .rx-wc-checkout .input-text,
#rx-woocommerce .rx-wc-checkout select:not(.select2-hidden-accessible),
#rx-woocommerce .rx-wc-checkout textarea {
  background: #fff;
  border: 1px solid rgba(13, 29, 45, 0.18);
  border-radius: 8px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 14px;
  color: var(--rx-wc-ink);
  width: 100%;
  height: auto;
  box-shadow: none;
  line-height: 1.4;
}

#rx-woocommerce .rx-wc-checkout select:not(.select2-hidden-accessible) {
  appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%230D1D2D' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px 8px;
  cursor: pointer;
}

#rx-woocommerce .rx-wc-checkout textarea {
  resize: vertical;
  min-height: 84px;
}

#rx-woocommerce .rx-wc-checkout .input-text:focus,
#rx-woocommerce .rx-wc-checkout select:not(.select2-hidden-accessible):focus,
#rx-woocommerce .rx-wc-checkout textarea:focus {
  outline: none;
  border-color: rgba(53, 127, 194, 0.5);
}

#rx-woocommerce .rx-wc-checkout .input-text::placeholder,
#rx-woocommerce .rx-wc-checkout textarea::placeholder {
  color: #9AA3AC;
}

#rx-woocommerce .rx-wc-checkout .woocommerce-input-wrapper {
  display: block;
  width: 100%;
  position: relative;
}

#rx-woocommerce .rx-wc-checkout .select2-container {
  display: block !important;
  width: 100% !important;
  max-width: 100%;
}

#rx-woocommerce .rx-wc-checkout .select2-container .select2-selection--single {
  height: 46px;
  border: 1px solid rgba(13, 29, 45, 0.18);
  border-radius: 8px;
  background: #fff;
  outline: none;
  box-shadow: none;
}

#rx-woocommerce .rx-wc-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 44px;
  padding: 0 40px 0 14px;
  color: var(--rx-wc-ink) !important;
  font-size: 14px;
  font-family: 'IBM Plex Sans', ui-sans-serif, system-ui, sans-serif !important;
}

#rx-woocommerce .rx-wc-checkout .select2-container--default .select2-selection--single .select2-selection__placeholder {
  color: #9AA3AC;
}

#rx-woocommerce .rx-wc-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 46px !important;
  width: 40px !important;
  top: 0 !important;
  right: 0 !important;
}

#rx-woocommerce .rx-wc-checkout .select2-container--default .select2-selection--single .select2-selection__arrow b {
  display: none !important;
}

#rx-woocommerce .rx-wc-checkout .select2-container--default .select2-selection--single .select2-selection__arrow::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  margin: -6px 0 0 -5px;
  border-right: 1.6px solid var(--rx-wc-ink);
  border-bottom: 1.6px solid var(--rx-wc-ink);
  transform: rotate(45deg);
  pointer-events: none;
}

#rx-woocommerce .rx-wc-checkout .select2-container--open .select2-selection--single {
  border-color: rgba(53, 127, 194, 0.5);
}

#rx-woocommerce .rx-wc-checkout .select2-container--open .select2-selection--single .select2-selection__arrow::after {
  margin-top: -2px;
  transform: rotate(225deg);
}

body.rx-wc-checkout-page .select2-container {
  z-index: 1200;
}

body.rx-wc-checkout-page .select2-dropdown {
  border: 1px solid rgba(13, 29, 45, 0.16);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 16px 40px -20px rgba(13, 29, 45, 0.35);
  z-index: 1300;
  font-family: 'IBM Plex Sans', ui-sans-serif, system-ui, sans-serif;
}

body.rx-wc-checkout-page .select2-search--dropdown {
  display: none;
}

body.rx-wc-checkout-page .select2-search--dropdown .select2-search__field {
  border: 1px solid rgba(13, 29, 45, 0.18) !important;
  border-radius: 8px !important;
  padding: 10px 12px !important;
  font-size: 14px !important;
  font-family: 'IBM Plex Sans', ui-sans-serif, system-ui, sans-serif !important;
  color: #0D1D2D !important;
  outline: none !important;
  box-shadow: none !important;
  width: 100% !important;
  height: auto !important;
  min-height: 40px;
  background: #fff !important;
}

body.rx-wc-checkout-page .select2-search--dropdown .select2-search__field:focus {
  border-color: rgba(53, 127, 194, 0.5) !important;
}

body.rx-wc-checkout-page .select2-results {
  padding: 4px 0 8px;
}

body.rx-wc-checkout-page .select2-container--default .select2-results > .select2-results__options {
  max-height: 240px;
}

body.rx-wc-checkout-page .select2-container--default .select2-results__option {
  padding: 8px 14px;
  font-size: 14px;
  color: #0D1D2D;
  line-height: 1.4;
}

body.rx-wc-checkout-page .select2-container--default .select2-results__option--highlighted {
  background: #F6F8FB !important;
  color: #0D1D2D !important;
}

body.rx-wc-checkout-page .select2-container--default .select2-results__option[aria-selected="true"],
body.rx-wc-checkout-page .select2-container--default .select2-results__option[data-selected="true"] {
  background: #02304F !important;
  color: #fff !important;
}

#rx-woocommerce .rx-wc-checkout #payment {
  background: none;
  border: 0;
  padding: 0;
  margin: 48px 0 0;
}

#rx-woocommerce .rx-wc-checkout #payment ul.payment_methods {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
  border: 0;
}

#rx-woocommerce .rx-wc-checkout #payment ul.payment_methods li.wc_payment_method {
  list-style: none;
  margin: 0;
  padding: 16px 18px;
  border: 1px solid rgba(13, 29, 45, 0.16);
  border-radius: 10px;
  background: #fff;
  transition: border-color 0.16s ease, background 0.16s ease;
}

#rx-woocommerce .rx-wc-checkout #payment ul.payment_methods li.wc_payment_method:hover {
  border-color: var(--rx-wc-blue);
}

#rx-woocommerce .rx-wc-checkout #payment ul.payment_methods li.wc_payment_method:has(input:checked) {
  border-color: #02304F;
  background: #F6F8FB;
}

#rx-woocommerce .rx-wc-checkout #payment ul.payment_methods li.wc_payment_method input.input-radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

#rx-woocommerce .rx-wc-checkout #payment ul.payment_methods li.wc_payment_method > label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--rx-wc-ink);
  letter-spacing: 0;
  margin: 0;
  cursor: pointer;
}

.rx-wc-checkout__dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid rgba(13, 29, 45, 0.3);
  background: transparent;
  flex: none;
  position: relative;
}

#rx-woocommerce .rx-wc-checkout #payment li.wc_payment_method:has(input:checked) .rx-wc-checkout__dot {
  border-color: #02304F;
  background: radial-gradient(circle, #02304F 0 40%, transparent 42%);
}

#rx-woocommerce .rx-wc-checkout #payment div.payment_box {
  background: none;
  border: 0;
  padding: 10px 0 0 28px;
  margin: 0;
  font-size: 13.5px;
  color: #7A828C;
  line-height: 1.6;
}

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

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

.rx-wc-checkout__summary {
  position: sticky;
  top: 96px;
  background: #F6F8FB;
  border-radius: 14px;
  padding: 32px;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  animation: rx-wc-up 0.55s cubic-bezier(0.22, 0.61, 0.36, 1) 0.1s both;
}

#rx-woocommerce .rx-wc-checkout .woocommerce-checkout-review-order,
#rx-woocommerce .rx-wc-checkout #order_review {
  width: 100%;
  float: none;
  padding: 0;
  margin: 0;
}

#rx-woocommerce .rx-wc-checkout table.woocommerce-checkout-review-order-table {
  width: 100%;
  max-width: 100%;
  table-layout: fixed;
  margin: 0;
  border: 0 !important;
  background: none;
}

#rx-woocommerce .rx-wc-checkout table.woocommerce-checkout-review-order-table th,
#rx-woocommerce .rx-wc-checkout table.woocommerce-checkout-review-order-table td {
  border: 0 !important;
  background: none !important;
  padding: 0;
  font-weight: 400;
}

.rx-wc-checkout__product {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 18px;
}

.rx-wc-checkout tbody tr:last-child .rx-wc-checkout__product {
  padding-bottom: 20px;
}

.rx-wc-checkout__thumb {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  flex: none;
}

.rx-wc-checkout__thumb img,
.rx-wc-checkout__thumb svg,
.rx-wc-checkout__thumb .rx-wc-placeholder {
  display: block;
  width: 56px !important;
  height: 56px !important;
  object-fit: cover;
}

.rx-wc-checkout__product-info {
  flex: 1;
  min-width: 0;
}

.rx-wc-checkout__product-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--rx-wc-ink);
  margin-bottom: 3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rx-wc-checkout__product-qty {
  font-size: 12.5px;
  color: #9AA3AC;
}

.rx-wc-checkout__product-total {
  font-size: 14px;
  font-weight: 600;
  color: var(--rx-wc-ink);
  flex: none;
}

#rx-woocommerce .rx-wc-checkout table.woocommerce-checkout-review-order-table tbody,
#rx-woocommerce .rx-wc-checkout table.woocommerce-checkout-review-order-table tfoot {
  display: block;
  width: 100%;
}

#rx-woocommerce .rx-wc-checkout table.woocommerce-checkout-review-order-table tbody tr,
#rx-woocommerce .rx-wc-checkout table.woocommerce-checkout-review-order-table tbody td {
  display: block;
  width: 100%;
}

#rx-woocommerce .rx-wc-checkout table.woocommerce-checkout-review-order-table tfoot {
  border-top: 1px solid rgba(13, 29, 45, 0.1);
}

#rx-woocommerce .rx-wc-checkout table.woocommerce-checkout-review-order-table tfoot tr {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  width: 100%;
  box-sizing: border-box;
}

#rx-woocommerce .rx-wc-checkout table.woocommerce-checkout-review-order-table tfoot th,
#rx-woocommerce .rx-wc-checkout table.woocommerce-checkout-review-order-table tfoot td {
  display: block;
  font-size: 14px;
  color: #4A5560;
  width: auto;
  max-width: none;
  min-width: 0;
  text-align: left;
  white-space: nowrap;
}

#rx-woocommerce .rx-wc-checkout table.woocommerce-checkout-review-order-table tfoot th {
  flex: 0 0 auto;
}

#rx-woocommerce .rx-wc-checkout table.woocommerce-checkout-review-order-table tfoot td {
  flex: 1 1 auto;
  text-align: right;
}

#rx-woocommerce .rx-wc-checkout table.woocommerce-checkout-review-order-table tfoot tr.cart-subtotal,
#rx-woocommerce .rx-wc-checkout table.woocommerce-checkout-review-order-table tfoot tr.tax-total,
#rx-woocommerce .rx-wc-checkout table.woocommerce-checkout-review-order-table tfoot tr.cart-discount,
#rx-woocommerce .rx-wc-checkout table.woocommerce-checkout-review-order-table tfoot tr.fee,
#rx-woocommerce .rx-wc-checkout table.woocommerce-checkout-review-order-table tfoot tr.shipping {
  padding: 6px 0;
}

#rx-woocommerce .rx-wc-checkout table.woocommerce-checkout-review-order-table tfoot tr:first-child {
  padding-top: 20px;
}

#rx-woocommerce .rx-wc-checkout table.woocommerce-checkout-review-order-table tfoot tr.order-total {
  padding: 20px 0 28px;
  border-top: 1px solid rgba(13, 29, 45, 0.1);
  margin-top: 8px;
}

#rx-woocommerce .rx-wc-checkout table.woocommerce-checkout-review-order-table tfoot tr.order-total th {
  font-size: 15px;
  font-weight: 600;
  color: var(--rx-wc-ink);
}

#rx-woocommerce .rx-wc-checkout table.woocommerce-checkout-review-order-table tfoot tr.order-total td,
#rx-woocommerce .rx-wc-checkout table.woocommerce-checkout-review-order-table tfoot tr.order-total .amount {
  font-size: 24px;
  font-weight: 500;
  color: var(--rx-wc-ink);
  line-height: 1;
}

#rx-woocommerce .rx-wc-checkout table.woocommerce-checkout-review-order-table tfoot tr.order-total small,
#rx-woocommerce .rx-wc-checkout table.woocommerce-checkout-review-order-table tfoot tr.order-total .includes_tax {
  display: none;
}

.rx-wc-checkout__place-slot {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

#rx-woocommerce .rx-wc-checkout #payment .place-order,
#rx-woocommerce .rx-wc-checkout .place-order,
#rx-woocommerce .rx-wc-checkout .rx-wc-checkout__summary .form-row {
  margin: 0;
  padding: 0 !important;
  width: 100% !important;
  max-width: 100%;
  min-width: 0;
  float: none;
  box-sizing: border-box;
}

#rx-woocommerce .rx-wc-checkout button.rx-wc-checkout__place,
#rx-woocommerce .rx-wc-checkout #place_order {
  display: block;
  width: 100%;
  background: var(--rx-wc-ink) !important;
  color: #fff !important;
  font-size: 15px;
  font-weight: 600;
  padding: 16px 28px;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  font-family: inherit;
  height: auto;
  line-height: 1.2;
  transition: background 0.18s ease, transform 0.12s ease;
}

#rx-woocommerce .rx-wc-checkout button.rx-wc-checkout__place:hover,
#rx-woocommerce .rx-wc-checkout #place_order:hover {
  background: var(--rx-wc-accent) !important;
  color: #fff !important;
}

#rx-woocommerce .rx-wc-checkout button.rx-wc-checkout__place:active {
  transform: scale(0.98);
}

.rx-wc-checkout__secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 18px 0 0;
  font-size: 12px;
  color: #9AA3AC;
}

#rx-woocommerce .rx-wc-checkout .woocommerce-terms-and-conditions-wrapper,
#rx-woocommerce .rx-wc-checkout .woocommerce-privacy-policy-text,
#rx-woocommerce .rx-wc-checkout .woocommerce-privacy-policy-text p {
  margin: 0 0 16px;
  padding: 0;
  font-size: 12.5px;
  color: #7A828C;
  line-height: 1.55;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

#rx-woocommerce .rx-wc-checkout .woocommerce-privacy-policy-text p:last-child {
  margin-bottom: 0;
}

#rx-woocommerce .rx-wc-checkout a {
  color: var(--rx-wc-blue);
}

.rx-wc-checkout--received .woocommerce-order {
  max-width: 640px;
}

#rx-woocommerce .rx-wc-checkout .woocommerce-form-login-toggle,
#rx-woocommerce .rx-wc-checkout .woocommerce-info {
  border-radius: 10px;
  margin-bottom: 24px;
}

#rx-woocommerce .rx-wc-checkout .blockUI.blockOverlay {
  border-radius: 14px;
}

@media (max-width: 940px) {
  .rx-wc-cart__layout,
  .rx-wc-checkout__layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  #rx-woocommerce .rx-wc-cart .cart_totals,
  #rx-woocommerce .rx-wc-cart__totals,
  .rx-wc-checkout__summary {
    position: static;
  }

  .rx-wc-checkout__summary {
    order: -1;
  }
}

@media (max-width: 720px) {
  .rx-wc-cart__inner,
  .rx-wc-checkout__inner {
    padding: 36px var(--rx-wc-pad) 80px;
  }

  .rx-wc-checkout__heading {
    font-size: 28px;
    margin-bottom: 28px;
  }

  .rx-wc-checkout .woocommerce-billing-fields__field-wrapper,
  .rx-wc-checkout .woocommerce-shipping-fields__field-wrapper,
  .rx-wc-checkout .woocommerce-additional-fields__field-wrapper {
    grid-template-columns: 1fr;
  }

  .rx-wc-cart__head {
    margin-bottom: 28px;
  }

  body.rx-design.rx-revamp.rx-woocommerce-page .rx-wc-cart__heading {
    font-size: 28px;
  }

  .rx-wc-cart__item {
    flex-wrap: wrap;
    gap: 14px 16px;
    padding: 18px 8px;
  }

  .rx-wc-cart__info {
    flex: 1 1 calc(100% - 130px);
  }

  .rx-wc-cart__qty,
  .rx-wc-cart__line {
    margin-left: 38px;
  }

  .rx-wc-cart__line {
    margin-left: auto;
  }
}

@media (max-width: 980px) {
  .rx-wc-shop__inner {
    grid-template-columns: 1fr;
  }

  .rx-wc-filters-toggle {
    display: flex;
  }

  .rx-wc-sidebar {
    position: static;
    display: none;
    padding-bottom: 8px;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--rx-wc-rule);
  }

  .rx-wc-sidebar.is-open {
    display: block;
  }

  #rx-woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rx-wc-newsletter__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 880px) {
  .rx-wc-product__layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .rx-wc-product__media {
    position: static;
  }

  .rx-wc-related,
  .rx-wc-description {
    margin-top: 64px;
  }

  .rx-woocommerce {
    padding: 32px var(--rx-wc-pad) 72px;
  }
}

@media (max-width: 560px) {
  #rx-woocommerce ul.products {
    grid-template-columns: 1fr;
  }

  .rx-wc-newsletter__fields {
    grid-template-columns: 1fr;
  }

  .rx-wc-newsletter__inner {
    padding: 64px var(--rx-wc-pad);
  }

  .rx-wc-wishlist {
    opacity: 1;
    transform: none;
  }
}
