/* Generated by scripts/build-rtl.js (rtlcss). Do not edit; edit the LTR source and rebuild. */
/* RIVISTA WooCommerce shared safety layer */

.woocommerce img,
.woocommerce-page img {
  max-width: 100%;
  height: auto;
}

.woocommerce .woocommerce-notices-wrapper {
  width: min(1480px, calc(100% - 48px));
  margin: 24px auto 0;
}

.woocommerce .woocommerce-error,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-message {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 68px;
  border: 1px solid var(--line);
  border-top: 1px solid var(--line);
  background: var(--paper-2);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.55;
  list-style: none;
  margin: 0 0 24px;
  padding: 16px 18px !important;
  text-align: start;
  overflow-wrap: anywhere;
}

.woocommerce .woocommerce-error::before,
.woocommerce .woocommerce-info::before,
.woocommerce .woocommerce-message::before {
  position: static !important;
  inset: auto !important;
  transform: none !important;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  margin: 0 !important;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent, var(--terra)) 14%, var(--paper));
  color: var(--accent, var(--terra));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
}

.woocommerce .woocommerce-message::before {
  content: "\2713" !important;
}

.woocommerce .woocommerce-info::before {
  content: "i" !important;
}

.woocommerce .woocommerce-error::before {
  content: "!" !important;
  color: var(--terra);
  background: color-mix(in srgb, var(--terra) 14%, var(--paper));
}

.woocommerce .woocommerce-error li,
.woocommerce .woocommerce-info li,
.woocommerce .woocommerce-message li {
  margin: 0;
}

.woocommerce .woocommerce-error a:not(.button),
.woocommerce .woocommerce-info a:not(.button),
.woocommerce .woocommerce-message a:not(.button) {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.woocommerce .woocommerce-error .button,
.woocommerce .woocommerce-info .button,
.woocommerce .woocommerce-message .button,
.woocommerce .woocommerce-error a.button,
.woocommerce .woocommerce-info a.button,
.woocommerce .woocommerce-message a.button {
  order: 2;
  flex: 0 0 auto;
  min-width: 96px;
  min-height: 36px;
  margin: 0 auto 0 0 !important;
  padding: 0 18px !important;
  border: 1px solid var(--ink) !important;
  border-radius: 999px !important;
  background: var(--ink) !important;
  color: var(--paper) !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1;
  text-align: center;
  text-decoration: none !important;
  text-transform: uppercase;
  white-space: nowrap;
}

.woocommerce .woocommerce-error .button:hover,
.woocommerce .woocommerce-info .button:hover,
.woocommerce .woocommerce-message .button:hover,
.woocommerce .woocommerce-error a.button:hover,
.woocommerce .woocommerce-info a.button:hover,
.woocommerce .woocommerce-message a.button:hover {
  border-color: var(--terra) !important;
  background: var(--terra) !important;
  color: var(--paper) !important;
}

.woocommerce .rivista-notice-product,
.woocommerce-page .rivista-notice-product {
  text-align: start;
  unicode-bidi: plaintext;
}

.woocommerce .rivista-notice-product-quote,
.woocommerce-page .rivista-notice-product-quote {
  text-align: start;
  unicode-bidi: plaintext;
}

.woocommerce .button,
.woocommerce-page .button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}

.woocommerce .button:hover,
.woocommerce-page .button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  background: var(--terra);
  color: var(--paper);
}

/* Product grids and cards are styled in woocommerce-archive.css (archive
   layout) and custom-cards.css (the card component, used on every page). */

.woocommerce .price,
.woocommerce-page .price {
  /* Prices stay left-to-right in RTL layouts too. */
  direction: ltr;
  unicode-bidi: isolate;
  justify-self: start;
}

.woocommerce form.cart::before,
.woocommerce form.cart::after {
  content: none;
  display: none;
}

.woocommerce form.cart .quantity,
.woocommerce div.product form.cart .button {
  float: none;
}

.woocommerce form.cart .qty {
  box-sizing: border-box;
}

@media (max-width: 760px) {
  .woocommerce .woocommerce-notices-wrapper {
    width: min(100% - 28px, 1480px);
  }
}

/* ---------------------------------------------------------------------------
   Sale prices — coordinate the struck original price and the discounted price
   as one vertically-centred pair on a single line, everywhere they appear
   (shop, single, related, widgets, cart). The sale price (<ins>) also
   gets its default underline / highlight reset so it reads as a price.
   Product-card prices (.cgc-price) are set in custom-cards.css.
--------------------------------------------------------------------------- */
.woocommerce .price,
.woocommerce-page .price,
.pd-price {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  column-gap: .1em;
}

.woocommerce .price ins,
.woocommerce-page .price ins,
.pd-price ins {
  text-decoration: none;
  background: transparent;
}

/* ============================================================
   Order confirmation ("Order received") and My account > View order.
   WooCommerce renders these with its classic templates; restyle them
   in the theme's hairline language instead of the default boxed tables.
   ============================================================ */
.woocommerce-order {
  max-width: 880px;
  font-family: var(--sans);
  color: var(--ink-2);
}

.woocommerce-order .woocommerce-thankyou-order-received {
  margin: 0 0 32px;
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 30px);
  font-style: italic;
  line-height: 1.3;
  color: var(--ink);
}

.woocommerce ul.order_details.woocommerce-order-overview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0;
  margin: 0 0 48px;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.woocommerce ul.order_details.woocommerce-order-overview::before,
.woocommerce ul.order_details.woocommerce-order-overview::after {
  display: none;
}

.woocommerce ul.order_details.woocommerce-order-overview li {
  float: none;
  margin: 0;
  padding: 20px 0 20px 24px;
  border: 0;
  font-family: var(--display);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.woocommerce ul.order_details.woocommerce-order-overview li + li {
  padding-right: 24px;
  border-right: 1px solid var(--line);
}

.woocommerce ul.order_details.woocommerce-order-overview li strong {
  display: block;
  margin-top: 8px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.01em;
  text-transform: none;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.woocommerce-order > p:not([class]) {
  margin: 0 0 40px;
  font-size: 15px;
}

.woocommerce .woocommerce-order-details,
.woocommerce .woocommerce-customer-details {
  margin: 0 0 48px;
}

.woocommerce .woocommerce-order-details__title,
.woocommerce .woocommerce-column__title,
.woocommerce .woocommerce-customer-details h2 {
  margin: 0 0 18px;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
}

.woocommerce table.shop_table.order_details {
  width: 100%;
  margin: 0;
  border: 0;
  border-collapse: collapse;
  border-radius: 0;
  font-size: 15px;
}

.woocommerce table.shop_table.order_details th,
.woocommerce table.shop_table.order_details td {
  padding: 16px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: none;
  text-align: right;
  font-weight: 400;
  color: var(--ink-2);
}

.woocommerce table.shop_table.order_details thead th {
  padding-top: 0;
  border-bottom-color: var(--ink);
  font-family: var(--display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.woocommerce table.shop_table.order_details th:last-child,
.woocommerce table.shop_table.order_details td:last-child {
  text-align: left;
  font-variant-numeric: tabular-nums;
}

.woocommerce table.shop_table.order_details td.product-name a {
  color: var(--ink);
  text-decoration: none;
}

.woocommerce table.shop_table.order_details td.product-name a:hover {
  color: var(--accent);
}

.woocommerce table.shop_table.order_details .product-quantity {
  font-weight: 400;
  color: var(--ink-3);
}

.woocommerce table.shop_table.order_details tfoot th {
  font-family: var(--display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.woocommerce table.shop_table.order_details tfoot tr:last-child th,
.woocommerce table.shop_table.order_details tfoot tr:last-child td {
  border-bottom: 0;
}

/* The grand total, found by its tag (inc/commerce-features.php) rather than
   its position: WooCommerce may print the payment method after it. */
.woocommerce table.shop_table.order_details tfoot tr:has(.rivista-order-total) th,
.woocommerce table.shop_table.order_details tfoot tr:has(.rivista-order-total) td {
  padding-top: 20px;
  padding-bottom: 20px;
  color: var(--ink);
}

.woocommerce table.shop_table.order_details .rivista-order-total {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--ink);
}

.woocommerce table.shop_table.order_details .rivista-order-total small {
  display: block;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--ink-3);
}

.woocommerce .woocommerce-customer-details address {
  margin: 0;
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
  font-style: normal;
  line-height: 1.7;
  color: var(--ink-2);
}

.woocommerce .woocommerce-customer-details address p,
.woocommerce .woocommerce-customer-details address .woocommerce-customer-details--email,
.woocommerce .woocommerce-customer-details address .woocommerce-customer-details--phone {
  margin: 12px 0 0;
  padding-right: 0;
}

.woocommerce .woocommerce-customer-details address p::before,
.woocommerce .woocommerce-customer-details address .woocommerce-customer-details--email::before,
.woocommerce .woocommerce-customer-details address .woocommerce-customer-details--phone::before {
  display: none;
}

.woocommerce .woocommerce-customer-details .woocommerce-columns--addresses {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.woocommerce .woocommerce-customer-details .woocommerce-columns--addresses::before,
.woocommerce .woocommerce-customer-details .woocommerce-columns--addresses::after {
  display: none;
}

.woocommerce .woocommerce-customer-details .woocommerce-column {
  float: none;
  width: auto;
  max-width: none;
}

@media (max-width: 640px) {
  .woocommerce ul.order_details.woocommerce-order-overview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .woocommerce ul.order_details.woocommerce-order-overview li,
  .woocommerce ul.order_details.woocommerce-order-overview li + li {
    padding: 16px 0 16px 12px;
    border-right: 0;
  }

  .woocommerce ul.order_details.woocommerce-order-overview li:nth-child(even) {
    padding-right: 16px;
    border-right: 1px solid var(--line);
  }

  .woocommerce .woocommerce-customer-details .woocommerce-columns--addresses {
    grid-template-columns: minmax(0, 1fr);
  }
}
