/**
* All of the CSS for your public-facing functionality should be
* included in this file.
*/

/* ==========================================================================
   General Layout
   ========================================================================== */
/* Semantic UI fix
   ========================================================================== */

.woms-ui {
  min-height: 650px;
}

.woms-ui a {
  text-decoration: none;
}

/* forms */
.ui.form input[type="text"],
.ui.form input[type="email"],
.ui.form input[type="url"],
.ui.form input[type="password"],
.ui.form input[type="search"],
.ui.form input[type="tel"],
.ui.form input[type="number"],
.ui.form textarea,
.ui.form select,
.ui.form .selection.dropdown {
  border-color: var(--s5o-text-subtle);
  border-width: 2px;
}

.ui.toggle.checkbox label::before {
  background: var(--s5o-content-secondary) !important;
}

.ui.toggle.checkbox input:checked ~ label::before {
  background-color: var(--s5o-signal-green) !important;
}

.ui.form ::placeholder {
  color: var(--s5o-neutral-grey-700) !important;
}

.ui.search.dropdown .search {
  height: 100%;
}

/* ==========================================================================
   FOMANTIC UI - Temporary: needs to be implemented with gulp
   ========================================================================== */
.ui.checkbox label::before {
  border: 2px solid var(--s5o-content-secondary);
}
.ui.checkbox label::before,
.ui.checkbox label::after {
  /*top: 0.4rem;*/
}

.ui.checkbox label:hover::before {
  border-color: var(--s5o-deep-cyan);
}
.ui.checkbox:not(.invisible) label:hover,
.ui.checkbox:not(.invisible) + label:hover {
  color: var(--s5o-deep-cyan);
}

/* labels in price block */
.woms-prod-selector.ui.grid > .column:not(.row) {
  padding-bottom: 0;
}
.woms-price-br {
  margin-bottom: 1rem;
}

/* tag in price block */
.woms-tag.ui.horizontal.label {
  margin: -0.5rem 0 0 1rem;
}

/* other */
.woms-gen h1.wp-block-heading,
.woms-gen h2.wp-block-heading {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 2rem;
  line-height: 2rem;
}
.woms-gen h1 {
  font-weight: normal;
}
.woms-gen h2 {
  font-weight: bold;
}

.yellow.label {
  color: black !important;
}

.woms-ticket-intro,
.woms-ticket-next {
  margin-top: -15px;
  margin-right: -0.875rem;
  margin-left: -0.875rem;
  border-radius: 0.5rem;
  background-image: linear-gradient(
    180deg,
    white 0%,
    var(--s5o-neutral-grey-100) 100%
  );
  padding: 2rem;
  font-size: 1rem;
  line-height: 1.5rem;
}

.woms-ticket-next {
  margin-top: -12px;
  margin-bottom: 1rem;
  border-radius: 0;
  background: var(--s5o-bright-ice);
  padding: 1rem 2rem;
}

.woms-ticket-next h3 {
  text-align: center;
}

.woms-prodtab .s5o-woms-modal-icon {
  vertical-align: unset;
}

/* Menu mobile */
#mega-menu-wrap-slideout
  #mega-menu-slideout
  > li.mega-menu-flyout
  ul.mega-sub-menu
  li.mega-menu-item
  a.mega-menu-link {
  padding: 4px 12px !important;
}

/* Topbar cart item counter
   ========================================================================== */
.woms-minicart {
  display: inline-block;
  margin-right: 0.5rem;
  border: 0px solid white;
  border-radius: 50%;
  width: 1.5rem;
  text-align: center;
}

.woms-minicart .counter {
  display: inline-block;
  margin-right: 0.5rem;
  border: 1px solid white;
  border-radius: 50%;
  width: 1.5rem;
  height: 1.5rem;
  color: white;
  text-align: center;
}

/* ==========================================================================
   Price
   ========================================================================== */
/* #region */
/* Price - text label 
   ========================================================================== */
.woms-prod-selector .woms-price {
  font-size: 1rem;
}
.woms-prod-selector .woms-price {
  color: black;
}
.woms-prod-selector .woms-priceunit {
  font-size: 0.8rem;
}

/* Price - table
   ========================================================================== */
table.woms-price {
  color: black;
}

table.woms-price th {
  font-size: 0.875rem;
}

table.woms-price th.prodprice {
  text-align: right !important;
}

table.woms-price .proddescription {
  font-size: 0.875rem;
}

table.woms-price .prodprice {
  font-weight: bold;
  text-align: right !important;
}

.woms-price.table > tbody > tr > td,
.ui.table > tr > td.produnit {
  font-size: 0.875rem;
}

/* scaled table inside table */
table.woms-price-scaled .title {
  text-align: left !important;
}

table.woms-price-scaled .qty {
  text-align: right !important;
}

table.woms-price-scaled .price {
  font-weight: bold;
}

table.woms-price-scaled p {
  line-height: 1rem;
}

table.woms-price .prodprice .scaled {
  margin: 0;
  border: none;
}

table.woms-price .prodprice .scaled td {
  border: none;
  padding: 0 0 0 1rem;
  width: 50%;
  font-weight: normal;
}

table.woms-price-scaled td s {
  font-weight: normal;
}

/* legend */
.woms-pricetable-footer {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  font-size: 0.875rem;
}

.woms-pricetable-footer ul {
  margin: 0 !important;
  list-style-type: none !important;
}

/* scaled table inside table */
table.woms-price-multi th.product {
  text-align: left !important;
}
table.woms-price-multi th.price {
  text-align: right !important;
}

/* Price - storage table
   ========================================================================== */
.woms-storage-overview,
.woms-shipping-overview {
  font-size: 0.875rem;
  line-height: normal;
}

.woms-storage-overview .woms-price,
.woms-storage-overview .woms-variant,
.woms-shipping-overview .woms-price,
.woms-shipping-overview .woms-variant {
  text-align: right !important;
}

.woms-storage-overview .woms-price,
.woms-shipping-overview .woms-price {
  text-align: right;
}

.woms-storage-overview .woms-variant,
.woms-shipping-overview .woms-variant {
  text-align: right;
}

/* price table
   ========================================================================== */
.woms-price-big th {
  border-bottom: 2px solid black !important;
}

.woms-price-pdf th {
  background: var(--s5o-neutral-grey-400) !important;
}

th.prodtitle .prodtitle-sub {
  font-weight: 500 !important;
}

td.prodtitle a {
  color: black;
}

tr.s5o-product-type {
  background-color: var(--s5o-neutral-grey-100);
}

tr.s5o-product-type td {
  font-weight: bold;
  text-transform: uppercase;
}

.woms-price-scaled th {
  font-weight: bold;
  font-size: smaller;
}

/* Shortcode pricebox */
.woms-pricebox h2 {
  margin: 0;
  background: var(--s5o-brand-secondary);
  padding: 20px 5px;
  color: white;
  font-size: 2.5rem;
  text-align: center;
}

.woms-pricebox h3 {
  margin: 0;
  padding: 0px 5px 10px 5px;
  color: black;
  font-size: 1.25rem;
  text-align: center;
}

.woms-pricebox h4 {
  margin: 0;
  background: var(--s5o-brand-secondary);
  padding: 0.5rem;
  color: white;
  font-size: 1.25rem;
  text-align: center;
}

/* #endregion */
/* ==========================================================================
   Product
   ========================================================================== */
/* #region */
/* Order tabs
   ========================================================================== */
.js_woms-hide,
.woms-hide {
  display: none !important;
}

/* Hide all steps by default: */
.woms-prodtab {
  display: none;
}

label .s5o-description {
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.75rem;
}

/* product price box
   ========================================================================== */
.woms-pricebox {
  margin-bottom: 1rem;
  border: 1px solid var(--s5o-brand-secondary);
  border-radius: 0.375rem;
  background-color: var(--s5o-surface-white);
  padding: 0;
}

.woms-pricebox p {
  padding: 10px;
}

.woms-pricebox table.woms-price-scaled {
  margin: 1rem 0 1rem;
}

.woms-pricebox table.woms-price-scaled,
.woms-pricebox table.woms-price-scaled td,
.woms-pricebox table.woms-price-scaled th {
  border-color: var(--s5o-surface-white);
  color: var(--s5o-brand-secondary);
  font-size: 1rem;
  line-height: 1rem;
}

.woms-price-cheapest-unit {
  font-size: 1rem;
}

/* product bottom navigation bar
   ========================================================================== */
form#woms-prod .ui.grid.woms-prodnav {
  /* sticky bar */
  position: sticky;
  bottom: 0;
  left: 0;
  justify-content: flex-end;
  z-index: 600;
  margin: 4rem 0 0 0;
  box-shadow: 2px 2px 16px 0px rgba(0, 0, 0, 0.4);
  border-radius: 0.75rem 0.75rem 0 0;
  background-color: var(--s5o-neutral-grey-100);
  padding: 1rem 0 !important;
  width: 100%;
}

/* #endregion */
/* ==========================================================================
   Cart
   ========================================================================== */
/* #region */
.woms-cart-nav {
  margin: 1rem -0.875rem 1rem -0.875rem !important;
  background-color: var(--s5o-neutral-grey-100);
  padding: 2rem !important;
}

.woms-cart.woms-ticket {
  margin-top: 2rem;
}

.card.s5o-woms-product .header {
  font-size: 1.5rem !important;
  line-height: 1.5rem !important;
  font-family: var(--s5o-f-text-cond);
  text-align: center;
}

.card.s5o-woms-product .header img {
  margin-bottom: 1rem;
}

.woms-cart-products.ui.table > thead > tr > th,
.woms-cart-products.ui.table > tbody > tr > td {
  padding: 0.5rem !important;
  line-height: 1.2rem;
}
.woms-cart-products.ui.table > thead > tr > th {
  line-height: 1rem !important;
}

.woms-cart-products.ui.table > tbody > tr.woms-row-product > td {
  border-top: 2px solid black;
}

.woms-cart-products.ui.table > tbody > tr.woms-row-pricelist > td {
  background-color: var(--s5o-surface-white);
}

.woms-cart-products.ui.table > tbody > tr.woms-row-total-first > td {
  border-top: 4px solid;
}

.woms-cart-products table.woms-relayprice .relay,
.woms-cart-products table.woms-relayprice .price {
  padding: 0 !important;
  font-size: 0.875rem !important;
  text-align: right !important;
}

.woms-cart-products table.woms-relayprice .price-obligatory {
  padding: 0 !important;
  font-size: 0.875rem !important;
  text-align: right !important;
  border-top: none;
}

.woms-cart-products table.woms-relayprice .price-obligatory-first {
  padding: 0 !important;
  font-size: 0.875rem !important;
  text-align: right !important;
  border-top: none;
}

.woms-cart-products table.woms-relayprice .relay-heading {
  background-color: var(--s5o-neutral-grey-100) !important;
  padding: 0 !important;
  font-weight: bold;
  font-size: 0.875rem !important;
  text-align: right !important;
}

.woms-cart-products td.woms-col-control {
  background-color: var(--s5o-neutral-grey-100);
}

.woms-cart-products td.woms-col-option-included {
  color: var(--s5o-text-subtle);
}

.woms-cart-products table.woms-prod-options td {
  padding: 0 !important;
  font-size: 0.875rem !important;
}

table.woms td.price,
table.woms td.weight,
table.woms td.capacity {
  text-align: right !important;
}
/* #endregion */
/* ==========================================================================
   Cart Products Nav
   ========================================================================== */
/* #region */
.s5o-woms-cart .woms-products-cards .ui.basic.cards > .yellow.card {
  background: var(--s5o-cta-warn);
}
.s5o-woms-cart .woms-products-cards .ui.basic.cards > .yellow.card:hover {
  background: var(--s5o-surface-sand);
}
.s5o-woms-cart .woms-products-cards .ui.basic.cards > .orange.card {
  background: var(--s5o-signal-orange);
}
.s5o-woms-cart .woms-products-cards .ui.basic.cards > .orange.card:hover {
  background: var(--s5o-surface-apricot);
}
.s5o-woms-cart .woms-products-cards .ui.basic.cards > .blue.card {
  background: var(--s5o-cta-highlight);
}
.s5o-woms-cart .woms-products-cards .ui.basic.cards > .blue.card:hover {
  background: var(--s5o-surface-ice);
}

/* #endregion */
/* ==========================================================================
   Checkout
   ========================================================================== */
/* #region */

.woms-checkout p {
  font-size: 1rem;
}
.woms-checkout .s5o-infobox p {
  font-size: 1rem;
}

.woms-checkout-nav {
  margin: 1rem -0.875rem 1rem -0.875rem !important;
  background-color: var(--s5o-neutral-grey-100);
  padding: 2rem !important;
}

.woms-checkout-nav .s5o-infobox {
  margin-top: 1rem;
}

.woms-checkout .ui.form label small {
  font-weight: 500;
  font-size: 1rem;
}

.woms-legal-check .woms-multiline label {
  font-weight: normal;
  line-height: 1.5rem;
}
.woms-legal-check .ui.huge.checkbox.woms-multiline label::before {
  margin-top: 0.25rem;
}
.woms-legal-check .ui.huge.checkbox.woms-multiline label::after {
  margin-top: -0.25rem;
}

.ui.error.message {
  font-size: 1.5rem;
  line-height: 1.5rem;
}

@keyframes blink-red {
  to {
    color: #ff1493;
  }
}
.ui.ui.form .field.error label {
  animation: blink-red 1s steps(2, start) infinite;
}

/* #endregion */
/* ==========================================================================
   Offer
   ========================================================================== */
/* #region */
.woms-offer-generated .ui.segments:not(.horizontal) > .segment:first-child {
  min-height: 10rem !important;
}

.woms-order-code-ticket {
  position: relative;
  box-sizing: border-box;
  box-shadow: 2px 2px 16px 0px rgba(0, 0, 0, 0.4);
  border-radius: 10px;
  background: var(--s5o-signal-yellow);
  padding: 20px;
  width: 100%;
}

.woms-order-code-ticket:before,
.woms-order-code-ticket:after {
  position: absolute;
  left: 5px;
  width: 98%;
  height: 6px;
  content: "";
}

.woms-order-code-ticket:before {
  top: -5px;
  background: radial-gradient(
      circle,
      transparent,
      transparent 50%,
      var(--s5o-signal-yellow) 50%,
      var(--s5o-signal-yellow) 100%
    ) -7px -8px/16px
    16px repeat-x !important;
}

.woms-order-code-ticket:after {
  bottom: -5px;
  background: radial-gradient(
      circle,
      transparent,
      transparent 50%,
      var(--s5o-signal-yellow) 50%,
      var(--s5o-signal-yellow) 100%
    ) -7px -2px/16px
    16px repeat-x !important;
}

.woms-order-code-ticket-content {
  box-sizing: border-box;
  border: 6px solid var(--s5o-signal-yellow);
  padding: 1rem 0;
  width: 100%;
  height: 100%;
  text-align: center;
}

.woms-offer-generated code {
  padding: 0;
  font-size: 3rem;
  font-family: var(--s5o-f-text-mono);
  font-variant-numeric: slashed-zero;
  text-transform: uppercase;
}

.woms-offer-generated .woms-height-expand {
  height: 100% !important;
}

.woms-offer-generated .ui.segments:not(.horizontal) > .segment:last-child {
  min-height: 450px !important;
  align-items: normal;
  justify-content: normal;
  padding-top: 2rem;
}

p.woms-shipping-address {
  font-size: 1.625rem !important;
  text-transform: uppercase;
}

.woms-shipping-address pre {
  font-size: 1.625rem !important;
  text-transform: uppercase;
}

.woms-shipping-labels h2 {
  margin-bottom: 1rem;
}
.woms-shipping-labels h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.woms-shipping-labels p.woms-shipping-price {
  font-size: 2rem;
  line-height: 2rem;
}

/* #endregion */
/* ========================================================================== 
   Layout
   ========================================================================== */
/* #region */
/* Ticket look
   ========================================================================== */
.woms-ticket {
  position: relative;
  box-sizing: border-box;
  margin-top: 0rem;
  margin-bottom: 2rem;
  box-shadow: 2px 2px 16px 0px rgba(0, 0, 0, 0.4);
  border-radius: 0.5rem;
  background: white;
  padding: 16px 0.875rem 16px 0.875rem;
}

.woms-ticket:before,
.woms-ticket:after {
  position: absolute;
  left: 5px;
  width: 99%;
  height: 6px;
  content: "";
}

.woms-ticket:before {
  top: -5px;
  background: radial-gradient(
      circle,
      transparent,
      transparent 50%,
      white 50%,
      white 100%
    ) -7px -8px/16px
    16px repeat-x;
}

.woms-ticket:after {
  bottom: -5px;
  background: radial-gradient(
      circle,
      transparent,
      transparent 50%,
      white 50%,
      white 100%
    ) -7px -2px/16px
    16px repeat-x;
}

/* ticket divider */
.woms-ticket-divider-wrap {
  margin: 1rem -0.875rem 1rem -0.875rem;
}

.woms-ticket-divider.slash {
  margin: 1rem -0.875rem;
  background-image: linear-gradient(
    -45deg,
    transparent,
    transparent 25%,
    currentColor 25%,
    currentColor 50%,
    transparent 50%,
    transparent 75%,
    currentColor 75%
  );
  background-size: 25px 25px;
  height: 20px;
  color: var(--s5o-neutral-grey-100);
}

/* ticket intro styles */
.woms-ticket-intro {
  border-radius: 0.5rem 0.5rem 0 0;
}

.woms-ticket-accent {
  margin-right: -0.875rem;
  margin-left: -0.875rem;
  border-radius: 0;
}

.woms-ticket-intro.woms-ticket .woms-ticket-intro {
  margin-right: -0.875rem;
  margin-left: -0.875rem;
  border-radius: 0.5rem 0.5rem 0 0;
}

.woms-ticket.woms-intro:before {
}

.woms-ticket.woms-ticket-intro {
  padding-top: 0 !important;
}

/* ticket expert */
.woms-ticket-expert {
  margin-top: -1.375rem;
  box-shadow: 2px 2px 16px 0px rgba(0, 0, 0, 0.4);
  background-color: var(--s5o-signal-yellow);
}

.woms-ticket-expert:before {
  top: -5px;
  background: radial-gradient(
      circle,
      transparent,
      transparent 50%,
      var(--s5o-signal-yellow) 50%,
      var(--s5o-signal-yellow) 100%
    ) -7px -8px/16px
    16px repeat-x;
}

.woms-ticket-expert:after {
  bottom: -5px;
  background: radial-gradient(
      circle,
      transparent,
      transparent 50%,
      var(--s5o-signal-yellow) 50%,
      var(--s5o-signal-yellow) 100%
    ) -7px -2px/16px
    16px repeat-x;
}

.woms-ticket-expert .woms-ticket-divider.slash:first-of-type {
  margin-top: 0;
  color: black;
}

.woms-noticket {
  margin-top: -2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--s5o-text-subtle);
  background-color: var(--s5o-surface-body);
  padding: 16px 0.875rem 16px 0.875rem;
}

.woms-prod-pro-block {
  margin: 1rem 0;
  border-radius: 8px;
  background: white;
  padding: 1rem;
}

/*
.woms-ticket-divider.dots {
color: var(--s5o-bright-ice);
border-width: 0 0 8px;
border-style: solid;
border-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2 1" width="8" height="4"><circle fill="orange" cx="1" cy="0.5" r="0.5"/></svg>')
0 0 100% repeat;
margin: 1rem -0.875rem;
}
*/
.woms-ticket-separation {
  margin-top: -1.5rem !important;
}

/* #endregion */
/* ==========================================================================
   Shortcodes
   ==========================================================================  */
/* ========================================================================== 
   Other
   ==========================================================================  */
/* #region */
input#voucher-code {
  margin-bottom: 0;
  text-transform: uppercase;
}

.gb-container-woms {
  margin-right: auto;
  margin-left: auto;
  max-width: 1200px;
}

/* Unhide in BE
   ========================================================================== */
.woms-naming-scheme-variables {
  column-count: 1;
  font-size: 0.875rem;
  font-family: var(--s5o-f-text-mono);
}

.woms-naming-scheme-variables small {
  font-size: 0.875rem;
  font-family: var(--s5o-f-text-cond);
}

.large.checkbox label:before {
  transform: scale(2) !important;
}

.large.checkbox label::after {
  transform: scale(2) !important;
}

.woms-cart-voucher {
}

.woms-cart-voucher-list {
}

/* #endregion */
.cards.s5o-woms-shipping-labels {
  background: var(--s5o-surface-white);
}

/* Locked shipping label card styling */
.woms-card-locked {
  position: relative;
  opacity: 0.5;
  cursor: not-allowed !important;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.woms-card-locked::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.5);
  z-index: 5;
  border-radius: inherit;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.woms-card-locked .ui.button {
  pointer-events: none;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.woms-card-locked:hover {
  transform: none !important;
  box-shadow: none !important;
}

/* Ensure tooltip can still appear on locked cards */
.woms-card-locked[data-tooltip] {
  pointer-events: auto;
}

/* Unlocked shipping label card styling */
.woms-card-unlocked {
  opacity: 1;
  cursor: pointer;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.woms-card-unlocked::before {
  opacity: 0;
}

.woms-card-unlocked .ui.button {
  pointer-events: auto;
  opacity: 1;
}

.s5o-woms-cart h3:first-of-type {
  text-align: center;
}

/* Fomantic UI Address Search Dropdown Styling
   ========================================================================== */
.ui.search.selection.dropdown.address-search {
  min-width: 100%;
}

.ui.search.selection.dropdown.address-search > .search {
  width: 100%;
}

.ui.search.selection.dropdown.address-search .menu {
  max-height: 200px;
  overflow-y: auto;
}

.ui.search.selection.dropdown.address-search .menu .item {
  padding: 0.75rem 1rem !important;
  border-bottom: 1px solid var(--s5o-neutral-grey-100);
  white-space: normal;
  line-height: 1.3;
}

.ui.search.selection.dropdown.address-search .menu .item:last-child {
  border-bottom: none;
}

.ui.search.selection.dropdown.address-search .menu .item:hover {
  background-color: var(--s5o-bright-ice) !important;
  color: white !important;
}

.ui.search.selection.dropdown.address-search .menu .item.selected {
  background-color: var(--s5o-deep-cyan) !important;
  color: white !important;
}

/* Mobile responsiveness for address dropdown */
@media only screen and (max-width: 768px) {
  .ui.search.selection.dropdown.address-search .menu {
    max-height: 150px;
  }

  .ui.search.selection.dropdown.address-search .menu .item {
    padding: 0.6rem 0.8rem !important;
    font-size: 0.9rem;
  }
}

/* fomantic fix */
.ui.accordion .accordion > .title,
.ui.accordion.menu .item > .title,
.ui.accordion > .title {
  font-size: 1rem;
}

/* Cart Share Info */
.woms-cart-share-info {
  margin-top: 1em;
  font-size: 0.9em;
  color: var(--s5o-text-subtle);
}

/* ==========================================================================
   Email Status Icon (Typo Detection & MX Verification)
   ========================================================================== */
/* Email input wrapper for status icon */
.woms-email-input-wrapper.ui.right.icon.input {
  width: 100%;
}

.woms-email-input-wrapper.ui.right.icon.input > input {
  padding-right: 2.5em !important;
}

.woms-email-input-wrapper .woms-email-status-icon {
  position: absolute;
  right: 0;
  top: 0;
  margin: 0;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5em;
  opacity: 1;
  pointer-events: none;
  font-size: 1em;
}

/* Icon color states */
.woms-email-input-wrapper .woms-email-status-icon.grey {
  color: var(--s5o-content-secondary) !important;
}

.woms-email-input-wrapper .woms-email-status-icon.green {
  color: var(--s5o-signal-green) !important;
}

.woms-email-input-wrapper .woms-email-status-icon.orange {
  color: var(--s5o-content-gold) !important;
}

.woms-email-input-wrapper .woms-email-status-icon.red {
  color: var(--s5o-signal-red) !important;
}

/* Email warning messages - uses Fomantic UI .ui.warning.message styling */
/* Links inside warning messages */
.woms-email-typo-warning a,
.woms-email-verify-warning a {
  color: inherit;
  text-decoration: underline;
}

.woms-email-typo-warning .woms-typo-suggestion {
  font-weight: bold;
}

/* ==========================================================================
   Offer Success Page Styles
   ========================================================================== */
/* Copy button styling */
.woms-order-code-ticket-content {
  text-align: center;
}

.woms-copy-btn-wrapper {
  text-align: center;
  margin-top: 1rem;
}

.woms-copy-btn {
  margin-top: 0 !important;
}

.woms-copy-btn.positive {
  background-color: var(--s5o-signal-green) !important;
  color: white !important;
}

/* No printer hint accordion */
.woms-no-printer-hint {
  margin-top: 1rem;
  padding: 0.5rem;
  background: var(--s5o-neutral-grey-50);
  border-radius: 4px;
}

.woms-no-printer-hint summary {
  cursor: pointer;
  padding: 0.25rem 0;
}

.woms-no-printer-hint p {
  margin-top: 0.5rem;
  margin-bottom: 0;
}

/* Next steps message */
.woms-next-steps {
  margin-top: 2rem !important;
}

/* Hero image with overlaid heading */
.woms-offer-hero {
  position: relative;
  width: 100%;
  margin: 0 0 2rem 0;
  overflow: hidden;
}

.woms-offer-hero .woms-success-img {
  max-height: 500px;
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.woms-offer-hero .woms-hero-header {
  position: absolute;
  top: 1.5rem;
  left: 0;
  right: 0;
  margin: 0;
  padding: 0;
  width: 100%;
  text-align: center;
}

.woms-offer-hero .woms-hero-header .entry-title {
  color: var(--s5o-text-primary);
  font-size: 3rem;
  line-height: 1.3;
  background: var(--s5o-bright-gold-tint-80);
  padding: 0.5rem 2rem;
  display: inline-block;
}

.s5o-offer-complete.ui.positive.message {
  background-color: var(--s5o-signal-green-dark);
  color: var(--s5o-text-inverse);
}

.s5o-offer-complete.ui.positive.message a {
  color: var(--s5o-surface-cream);
}

.s5o-offer-complete.ui.warning.message {
  background-color: var(--s5o-signal-yellow);
  color: var(--s5o-text-primary);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .woms-offer-hero .woms-hero-header {
    top: 1rem;
    left: 0;
    right: 0;
    width: 100%;
  }

  .woms-offer-hero .woms-hero-header .entry-title {
    font-size: 1.3rem;
  }

  .woms-offer-hero .woms-success-img {
    max-height: 200px;
  }
}

@media only screen and (max-width: 768px) {
  .ui.huge.buttons .button,
  .ui.huge.buttons .dropdown,
  .ui.huge.buttons .dropdown .menu > .item,
  .ui.huge.buttons .or,
  .ui.ui.ui.ui.huge.button {
    font-size: 1rem !important;
  }

  /* Cart
   ========================================================================== */
  .woms-cart-nav {
    padding: 0 !important;
  }

  .ui.table.woms-cart-products:not(.unstackable) > thead {
    display: none !important;
  }

  /* mobile card spacing */
  .ui.five.doubling.cards > .card {
    margin-right: 0.25rem;
    margin-left: 0.25rem;
    width: calc(50% - 0.5rem);
  }

  .ui.cards > .card {
    display: flex;
    float: none;
    margin: 0.25rem 0.25rem;
  }
  .card.s5o-woms-product .header {
    font-size: 1.25rem !important;
    font-family: var(--s5o-f-text) !important;
  }

  .s5o-woms-cart.woms-ticket h1 {
    text-align: center;
  }
}
