.commerce-page {
  background: #fff;
  color: var(--ink);
}

.commerce-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  align-items: end;
  gap: 70px;
  width: 100%;
  padding: 58px max(32px, calc((100% - var(--content)) / 2)) 45px;
  background: #faf9f5;
}

.commerce-hero::before {
  position: absolute;
  top: 32px;
  right: 0;
  width: 66px;
  height: 66px;
  border: 1px solid rgba(148, 100, 24, 0.28);
  border-radius: 50%;
  content: "";
}

.commerce-hero::after {
  position: absolute;
  top: 63px;
  right: 33px;
  width: 1px;
  height: 48px;
  background: rgba(148, 100, 24, 0.28);
  content: "";
  transform: rotate(45deg);
}

.commerce-hero__copy {
  position: relative;
  z-index: 1;
}

.commerce-hero__copy > p {
  margin: 0 0 16px;
}

.commerce-hero h1 {
  max-width: 790px;
  margin: 0;
  font-size: clamp(46px, 5.5vw, 76px);
  font-weight: 600;
  letter-spacing: -0.062em;
  line-height: 0.94;
}

.commerce-hero__subtitle {
  margin: 9px 0 0 !important;
  color: #6b6254;
  font-family: var(--serif);
  font-size: clamp(20px, 2.1vw, 30px);
  font-style: normal;
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.12;
}

.commerce-hero__copy > span {
  display: block;
  max-width: 610px;
  margin-top: 18px;
  color: #696963;
  font-size: 14px;
  line-height: 1.7;
}

.commerce-hero__aside {
  display: grid;
  min-height: 118px;
  align-content: end;
  padding: 22px 0 6px;
  border-top: 1px solid #aaa69d;
}

.commerce-hero__aside > p {
  margin: 0 0 17px;
  color: var(--gold-dark);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.commerce-hero__aside > strong {
  color: var(--gold-dark);
  font-family: var(--serif);
  font-size: 54px;
  font-weight: 400;
  line-height: 0.85;
}

.commerce-hero__aside > small {
  margin-top: 9px;
  color: #6f6f69;
  font-size: 11px;
}

.commerce-progress {
  display: grid;
  grid-template-columns: max-content minmax(40px, 1fr) max-content minmax(40px, 1fr) max-content;
  align-items: center;
  width: min(calc(100% - 64px), var(--content));
  margin: 0 auto;
  padding: 0 0 20px;
}

.commerce-progress span,
.commerce-progress a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #8b8b84;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.commerce-progress i {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid #cbcac4;
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 11px;
  font-style: normal;
  font-weight: 400;
}

.commerce-progress b {
  height: 1px;
  margin: 0 14px;
  background: #d8d6cf;
}

.commerce-progress .is-current {
  color: var(--ink);
}

.commerce-progress .is-current i {
  border-color: var(--ink);
  background: var(--ink);
  color: white;
}

.commerce-progress .is-complete {
  color: var(--gold-dark);
}

.commerce-progress .is-complete i {
  border-color: var(--gold);
  background: var(--gold-pale);
}

.commerce-body {
  padding: 58px 0 30px;
  background: white;
}

.commerce-body__heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  width: min(calc(100% - 64px), var(--content));
  margin: 0 auto 38px;
  padding-bottom: 25px;
  border-bottom: 1px solid var(--line);
}

.commerce-body__heading p {
  margin: 0 0 8px;
  color: var(--gold-dark);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.commerce-body__heading h2 {
  margin: 0;
  font-size: clamp(32px, 3.25vw, 42px);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1;
}

.commerce-body__note {
  padding-bottom: 4px;
  color: #7b7b75;
  font-size: 11px;
}

.commerce-content {
  width: min(calc(100% - 64px), var(--content));
  margin: 0 auto;
}

.commerce-content .entry-content {
  width: 100%;
}

.commerce-content .woocommerce {
  margin: 0;
}

.commerce-content .wc-block-components-sidebar-layout {
  gap: clamp(38px, 5vw, 72px);
}

.commerce-content .wc-block-components-main {
  padding-right: 0;
}

.commerce-content .wc-block-components-sidebar {
  padding-left: 0;
}

.commerce-content .wc-block-components-checkout-step {
  position: relative;
  margin: 0 0 18px;
  padding: 30px 32px 32px;
  border: 1px solid #dddcd5;
  background: #fff;
  box-shadow: 0 16px 40px rgba(28, 24, 17, 0.035);
  counter-increment: checkout-step;
}

.commerce-content .wc-block-checkout__form {
  counter-reset: checkout-step;
}

.commerce-content .wc-block-components-checkout-step:first-child {
  border-top: 2px solid var(--gold);
}

.commerce-content .wc-block-components-checkout-step__heading {
  margin: 0 0 23px;
}

.commerce-content .wc-block-components-checkout-step__title {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.commerce-content .wc-block-components-checkout-step__heading::before {
  display: block;
  margin-bottom: 8px;
  color: var(--gold-dark);
  content: "STEP 0" counter(checkout-step);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.commerce-content .wc-block-components-checkout-step__description {
  margin-top: 7px;
  color: #777771;
  font-size: 12px;
  line-height: 1.6;
}

.commerce-content .wc-block-components-text-input input,
.commerce-content .wc-block-components-select select,
.commerce-content .wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input,
.commerce-content .wc-block-components-address-form__country select {
  min-height: 52px;
  border: 1px solid #cfcfc8;
  border-radius: 0;
  background: #fbfaf7;
  color: var(--ink);
  font-size: 14px;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

.commerce-content .wc-block-components-text-input input:focus,
.commerce-content .wc-block-components-select select:focus,
.commerce-content .wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input:focus,
.commerce-content .wc-block-components-address-form__country select:focus {
  border-color: var(--gold-dark);
  background: white;
  box-shadow: 0 0 0 1px var(--gold-dark);
  outline: none;
}

.commerce-content .wc-block-components-text-input label,
.commerce-content .wc-block-components-select label {
  color: #72726c;
  font-size: 11px;
}

.commerce-content .wc-block-components-radio-control__option {
  padding: 17px 18px;
  border: 1px solid #d8d7d0;
  background: #fbfaf7;
}

.commerce-content .wc-block-components-radio-control__option:not(:last-child) {
  margin-bottom: 8px;
}

.commerce-content .wc-block-components-radio-control__option--checked {
  border-color: var(--gold-dark);
  background: #fffdf8;
  box-shadow: inset 3px 0 0 var(--gold);
}

.commerce-content .wc-block-components-radio-control__input:checked {
  background: var(--ink);
  border-color: var(--ink);
}

.commerce-content .wc-block-components-checkout-place-order-button,
.commerce-content .wc-block-cart__submit-button {
  min-height: 58px;
  border: 0;
  border-radius: 0;
  background: var(--ink);
  color: white;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    background 180ms ease,
    color 180ms ease;
}

.commerce-content .wc-block-components-checkout-place-order-button:hover,
.commerce-content .wc-block-cart__submit-button:hover {
  background: var(--gold-dark);
  color: white;
}

.commerce-content .wc-block-components-order-summary {
  overflow: hidden;
  padding: 0 !important;
  border: 1px solid #dcdbd4;
  background: #fbfaf7;
}

.commerce-page--checkout .wc-block-components-sidebar {
  position: sticky;
  top: 86px;
  align-self: flex-start;
  padding-top: 0;
}

.commerce-page--checkout .wp-block-woocommerce-checkout-order-summary-block {
  border: 1px solid #dcdbd4;
  background: #fbfaf7;
  box-shadow: 0 18px 45px rgba(28, 24, 17, 0.045);
}

.commerce-page--checkout .wc-block-components-order-summary {
  border: 0;
}

.commerce-content .wc-block-components-order-summary::before {
  display: block;
  padding: 14px 24px;
  background: var(--ink);
  color: var(--gold-soft);
  content: "VAPEOZZO / ORDER SUMMARY";
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.commerce-content .wc-block-components-order-summary-item {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 14px;
  align-items: start;
  width: 100%;
  padding: 20px 18px;
}

.commerce-content .wc-block-components-order-summary-item__quantity {
  background: var(--ink);
  color: white;
}

.commerce-content .wc-block-components-order-summary-item__image {
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 58px;
  margin: 0;
  padding: 0;
}

.commerce-content .wc-block-components-order-summary-item__image > img {
  width: 58px;
  max-width: 58px;
  border: 1px solid #e2e0d8;
}

.commerce-content .wc-block-components-order-summary-item__description {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  padding: 0;
  word-break: normal;
}

.commerce-content .wc-block-components-order-summary-item__description .wc-block-components-product-name {
  display: block;
  max-width: none;
  overflow-wrap: normal;
  word-break: normal;
}

.commerce-content .wc-block-components-order-summary-item__total-price {
  grid-column: 2;
  grid-row: 2;
  margin: 0;
  padding: 8px 0 0;
  text-align: left;
}

.commerce-content .wc-block-components-order-summary-item > .screen-reader-text {
  grid-column: 1 / -1;
  grid-row: auto;
}

.commerce-content .wc-block-components-product-metadata {
  margin-top: 3px;
  color: #7a7a74;
  font-size: 10px;
}

.commerce-content .wc-block-components-product-name {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.35;
}

.commerce-content .wc-block-components-product-price {
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}

.commerce-content .wc-block-components-totals-wrapper {
  margin: 0;
  padding: 20px 24px;
  border-top: 1px solid #e0dfd8;
}

.commerce-content .wc-block-components-totals-item {
  color: #5d5d58;
  font-size: 12px;
}

.commerce-content .wc-block-components-totals-footer-item {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 21px;
}

.commerce-content .wc-block-components-order-summary .wc-block-components-totals-footer-item {
  padding-top: 2px;
}

.commerce-content .wc-block-components-order-summary .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
  color: var(--gold-dark);
  font-size: 27px;
}

.commerce-content .wc-block-components-checkout-step__content .wc-block-components-notice-banner,
.commerce-content .wc-block-components-checkout-payment-method-not-found {
  border-radius: 0;
}

.commerce-content .wc-block-components-checkout-payment-method-not-found {
  border: 1px solid #e2d3be;
  background: #fbf8f1;
  color: #654f31;
}

@media (min-width: 901px) {
  .commerce-page--checkout .wc-block-components-sidebar h2 {
    display: none;
  }
}

.commerce-content
  .wp-block-woocommerce-checkout-order-summary-block
  .wc-block-components-checkout-step {
  counter-increment: none;
}

.commerce-content
  .wp-block-woocommerce-checkout-order-summary-block
  .wc-block-components-checkout-step__heading::before {
  content: "ORDER SUMMARY";
}

.commerce-content .wc-block-components-express-payment {
  margin-bottom: 18px;
  padding: 22px 24px;
  border: 1px solid #e0dfd8;
  background: #fbfaf7;
}

.commerce-content .wc-block-components-express-payment__title {
  font-family: var(--serif);
  font-size: 18px;
}

.commerce-page--cart .wc-block-cart {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 370px;
  align-items: start;
  gap: clamp(38px, 5vw, 72px);
}

.commerce-page--cart .wc-block-cart__main {
  min-width: 0;
  border: 1px solid #dddcd5;
  background: white;
}

.commerce-page--cart .wc-block-cart-items {
  border: 0;
}

.commerce-page--cart .wc-block-cart-items__header {
  display: none;
}

.commerce-page--cart .wc-block-cart-items__row {
  grid-template-columns: 112px 1fr auto;
  gap: 22px;
  min-height: 150px;
  padding: 25px 28px;
  border-bottom: 1px solid #e3e1da;
}

.commerce-page--cart .wc-block-cart-items__row:last-child {
  border-bottom: 0;
}

.commerce-page--cart .wc-block-cart-item__image img {
  border: 1px solid #ebe9e3;
  background: #f8f7f3;
}

.commerce-page--cart .wc-block-components-product-name {
  font-size: 20px;
}

.commerce-page--cart .wc-block-cart-item__quantity {
  align-self: end;
}

.commerce-page--cart .wc-block-components-quantity-selector {
  border: 1px solid #d1d0c8;
  border-radius: 0;
  background: #fbfaf7;
}

.commerce-page--cart .wc-block-components-quantity-selector__button {
  color: var(--ink);
}

.commerce-page--cart .wc-block-components-quantity-selector__input {
  color: var(--ink);
}

.commerce-page--cart .wc-block-cart-item__total {
  align-self: start;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 20px;
}

.commerce-page--cart .wc-block-components-totals-item,
.commerce-page--cart .wc-block-components-totals-footer-item {
  color: var(--ink);
}

.commerce-page--cart .wc-block-cart__submit-container {
  padding: 0;
}

.commerce-page--cart .wc-block-cart__submit-button {
  width: 100%;
}

.commerce-page--cart .wc-block-components-sidebar-layout {
  width: 100%;
  margin: 0;
}

.commerce-page--cart .wc-block-components-sidebar {
  position: sticky;
  top: 86px;
  width: 100%;
  padding: 0;
}

.commerce-page--cart .wc-block-cart__totals-title {
  margin: 0;
  padding: 16px 24px;
  border: 0;
  background: var(--ink);
  color: var(--gold-soft);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.commerce-page--cart .wc-block-components-totals-wrapper {
  margin: 0;
  padding: 18px 24px;
  border-top: 1px solid #e1dfd7;
}

.commerce-page--cart .wc-block-components-totals-footer-item {
  font-family: var(--serif);
  font-size: 20px;
}

.commerce-page--cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
  color: var(--gold-dark);
  font-size: 27px;
}

.commerce-page--cart .wc-block-cart__submit {
  margin: 0;
  padding: 0 24px 24px;
  border-top: 0;
  background: #fbfaf7;
}

.commerce-page--cart .wc-block-cart__main .wc-block-components-button {
  border-radius: 0;
}

.commerce-page--cart .wc-block-cart__main .wp-block-woocommerce-cart-order-summary-block {
  display: none;
}

.commerce-page--cart .wp-block-woocommerce-cart-order-summary-block {
  border: 1px solid #dddcd5;
  background: #fbfaf7;
}

.commerce-page--cart .wc-block-cart__submit-container .wc-block-components-button {
  background: var(--ink);
}

.commerce-page--cart .wp-block-woocommerce-empty-cart-block {
  grid-column: 1 / -1;
  padding: 60px 30px;
  border: 1px solid #dddcd5;
  background: #fbfaf7;
}

.commerce-assurance {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(calc(100% - 64px), var(--content));
  margin: 72px auto 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.commerce-assurance article {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 26px 25px;
  border-right: 1px solid var(--line);
}

.commerce-assurance article:last-child {
  border-right: 0;
}

.commerce-assurance article > span {
  color: var(--gold-dark);
  font-family: var(--serif);
  font-size: 13px;
}

.commerce-assurance strong,
.commerce-assurance small {
  display: block;
}

.commerce-assurance strong {
  font-size: 13px;
}

.commerce-assurance small {
  margin-top: 4px;
  color: #787872;
  font-size: 11px;
}

.commerce-assurance a:hover {
  color: var(--gold-dark);
}

.commerce-page .mobile-buy-bar {
  display: none;
}

@media (max-width: 1050px) {
  .commerce-page--cart .wc-block-cart {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 30px;
  }

  .commerce-page--cart .wc-block-cart-items__row {
    grid-template-columns: 92px 1fr auto;
    padding: 22px;
  }
}

@media (max-width: 900px) {
  .commerce-hero {
    display: block;
    width: 100%;
    padding: 38px 16px 29px;
  }

  .commerce-hero::before,
  .commerce-hero::after {
    display: none;
  }

  .commerce-hero h1 {
    font-size: clamp(38px, 11.5vw, 48px);
    line-height: 0.98;
  }

  .commerce-hero__subtitle {
    margin-top: 7px !important;
    font-size: clamp(18px, 5.4vw, 22px);
  }

  .commerce-hero__copy > span {
    margin-top: 15px;
    font-size: 13px;
  }

  .commerce-hero__aside {
    display: flex;
    min-height: 0;
    align-items: baseline;
    gap: 12px;
    margin-top: 27px;
    padding: 13px 0 0;
  }

  .commerce-hero__aside > p {
    margin: 0 auto 0 0;
  }

  .commerce-hero__aside > strong {
    font-size: 32px;
  }

  .commerce-hero__aside > small {
    margin: 0;
  }

  .commerce-progress {
    grid-template-columns: max-content 1fr max-content 1fr max-content;
    width: calc(100% - 32px);
    padding-bottom: 17px;
  }

  .commerce-progress span,
  .commerce-progress a {
    flex-direction: column;
    gap: 5px;
    font-size: 8px;
    text-align: center;
  }

  .commerce-progress i {
    width: 25px;
    height: 25px;
    font-size: 10px;
  }

  .commerce-progress b {
    margin: 0 8px 15px;
  }

  .commerce-body {
    padding-top: 42px;
  }

  .commerce-body__heading,
  .commerce-content,
  .commerce-assurance {
    width: calc(100% - 32px);
  }

  .commerce-body__heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 26px;
    padding-bottom: 20px;
  }

  .commerce-body__heading h2 {
    font-size: 36px;
  }

  .commerce-content .wc-block-components-checkout-step {
    margin-bottom: 13px;
    padding: 23px 17px 24px;
  }

  .commerce-content .wc-block-components-checkout-step__heading {
    margin-bottom: 18px;
  }

  .commerce-content .wc-block-components-checkout-step__title {
    font-size: 20px;
  }

  .commerce-content .wc-block-components-text-input input,
  .commerce-content .wc-block-components-select select,
  .commerce-content .wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input,
  .commerce-content .wc-block-components-address-form__country select {
    min-height: 50px;
    font-size: 16px;
  }

  .commerce-content .wc-block-components-order-summary::before {
    padding: 13px 18px;
  }

  .commerce-content
    .wp-block-woocommerce-checkout-order-summary-block
    .wc-block-components-checkout-step__heading::before {
    display: none;
  }

  .commerce-content .wc-block-components-order-summary-item {
    grid-template-columns: 52px minmax(0, 1fr);
    column-gap: 12px;
    padding: 16px;
  }

  .commerce-content .wc-block-components-order-summary-item__image,
  .commerce-content .wc-block-components-order-summary-item__image > img {
    width: 52px;
    max-width: 52px;
  }

  .commerce-content .wc-block-components-totals-wrapper {
    padding: 17px 18px;
  }

  .commerce-page--cart .wc-block-cart {
    display: block;
  }

  .commerce-page--cart
    .wc-block-cart
    table.wc-block-cart-items
    .wc-block-cart-items__row {
    grid-template-columns: 84px minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    align-items: start;
    gap: 16px;
    min-height: 180px;
    padding: 18px;
  }

  .commerce-page--cart
    .wc-block-cart
    table.wc-block-cart-items
    .wc-block-cart-items__row
    .wc-block-cart-item__image {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    padding-right: 0;
  }

  .commerce-page--cart
    .wc-block-cart
    table.wc-block-cart-items
    .wc-block-cart-items__row
    .wc-block-cart-item__product {
    grid-column: 2 / 3;
    grid-row: 1;
    justify-self: stretch;
    padding: 0;
  }

  .commerce-page--cart
    .wc-block-cart
    table.wc-block-cart-items
    .wc-block-cart-items__row
    .wc-block-cart-item__total {
    grid-column: 2 / 3;
    grid-row: 2;
    justify-self: start;
    margin-top: 7px;
    font-size: 18px;
    text-align: left;
  }

  .commerce-page--cart
    .wc-block-cart
    table.wc-block-cart-items
    .wc-block-cart-items__row
    .wc-block-cart-item__quantity {
    grid-column: 2 / 3;
    grid-row: 3;
    justify-self: start;
    padding: 0;
  }

  .commerce-page--cart {
    padding-bottom: 86px;
  }

  .commerce-page--cart .wc-block-cart__submit-container--sticky {
    padding: 10px 16px 12px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    background: #191919;
    box-shadow: 0 -12px 30px rgba(0, 0, 0, 0.16);
  }

  .commerce-page--cart .wc-block-cart__submit-container--sticky::before {
    display: none;
  }

  .commerce-page--cart .wc-block-cart__submit-container--sticky .wc-block-cart__submit-button {
    min-height: 52px;
    background: var(--gold);
    color: var(--ink);
  }

  .commerce-page--cart .wc-block-components-sidebar {
    position: relative;
    top: auto;
    margin-top: 18px;
  }

  .commerce-page--checkout .wc-block-components-sidebar {
    position: relative;
    top: auto;
  }

  .commerce-page--cart .wc-block-cart__submit {
    padding: 0 18px 18px;
  }

  .commerce-page--cart .wc-block-components-totals-wrapper {
    padding: 16px 18px;
  }

  .commerce-assurance {
    grid-template-columns: 1fr;
    margin-top: 50px;
  }

  .commerce-assurance article {
    padding: 20px 4px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .commerce-assurance article:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 430px) {
  .commerce-hero h1 {
    font-size: clamp(36px, 10.8vw, 43px);
  }

  .commerce-body__heading h2 {
    font-size: 29px;
  }

  .commerce-page--cart .wc-block-cart-items__row {
    grid-template-columns: 76px 1fr;
    padding: 16px 14px;
  }
}
