/**
* All of the CSS for your public-facing functionality should be
* included in this file.
*/
/* ==========================================================================
   General Layout
   ========================================================================== */
/* Semantic UI fix
   ========================================================================== */

.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-c-grey-medium-1);
  border-width: 2px;
}

.ui.toggle.checkbox label::before {
  background: rgba(115, 102, 93, 0.37) !important;
}

.ui.toggle.checkbox input:checked ~ label::before {
  background-color: #16ab39 !important;
}

.ui.form ::placeholder {
  color: rgba(96, 96, 96, 0.87) !important;
}

.ui.search.dropdown .search {
  height: 100%;
}

/* 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;
  color: var(--s5o-c-grey-dark-5);
}
.woms-gen h2 {
  font-weight: bold;
  color: var(--s5o-c-grey-dark-5);
}

.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,
    #ffffff 0%,
    rgb(239, 239, 236) 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-c-blue-bright-1);
  padding: 1rem 2rem;
}

.woms-ticket-next h3 {
  text-align: center;
}

.woms-prodtab .s5o-woms-modal-icon {
  vertical-align: unset;
}

.bod-block-popup-wrap .bod-block-popup {
  padding: 2rem;
}

/* Host locally twemoji flags from fomantic package
   ========================================================================== */
i.flag.de::before,
i.flag.germany::before {
  background-image: url("/wp-content/themes/generatepress_child/lib/twemoji/svg/1f1e9-1f1ea.svg");
}

i.flag.at::before,
i.flag.austria::before {
  background-image: url("/wp-content/themes/generatepress_child/lib/twemoji/svg/1f1e6-1f1f9.svg");
}

i.flag.ch::before,
i.flag.switzerland::before {
  background-image: url("/wp-content/themes/generatepress_child/lib/twemoji/svg/1f1e8-1f1ed.svg");
}

/* 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 
   ========================================================================== */
.ui.label.woms-price {
}

/* Price - table
   ========================================================================== */
table.woms-price {
  color: #000;
}

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: #aaaaaa !important;
}

th.prodtitle .prodtitle-sub {
  font-weight: 500 !important;
}

td.prodtitle a {
  color: black;
}

tr.s5o-product-type {
  background-color: var(--s5o-c-grey-bright-1);
}

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-c-hks50);
  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-c-hks50);
  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-c-hks50);
  border-radius: 0.375rem;
  background-color: var(--s5o-c-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-c-white);
  color: var(--s5o-c-hks50);
  font-size: 1rem;
  line-height: 1rem;
}

.woms-price-cheapest-unit {
  font-size: 1rem;
}

/*
form#woms-prod .ui.grid.woms-prodnav {
  margin: -2rem 0 0 0;
  padding: 3rem 0 !important;
}
*/

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: 0 -5px 20px 5px rgba(0, 0, 0, 0.2);
  border-radius: 0.75rem 0.75rem 0 0;
  background-color: var(--s5o-c-grey-bright-1);
  padding: 1rem 0 !important;
  width: 100%;
}

/* #endregion */
/* ==========================================================================
   Cart
   ========================================================================== */
/* #region */
.woms-cart-nav {
  margin: 1rem -0.875rem 1rem -0.875rem !important;
  background-color: var(--s5o-c-grey-bright-1);
  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-c-grey-bright-3);
}

.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-c-grey-bright-1) !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-c-grey-bright-1);
}

.woms-cart-products td.woms-col-option-included {
  color: var(--s5o-c-grey-medium-1);
}

.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 */
/* ==========================================================================
   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-c-grey-bright-1);
  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 label {
  font-weight: normal;
  line-height: 1.5rem;
}

.ui.error.message {
  font-size: 1.5rem;
  line-height: 1.5rem;
}

@keyframes blink-red {
  to {
    color: red;
  }
}
.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 15px 0px #ab9b0d;
  border-radius: 10px;
  background: #fff007;
  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%,
      #fff007 50%,
      #fff007 100%
    ) -7px -8px/16px 16px repeat-x !important;
}

.woms-order-code-ticket:after {
  bottom: -5px;
  background: radial-gradient(
      circle,
      transparent,
      transparent 50%,
      #fff007 50%,
      #fff007 100%
    ) -7px -2px/16px 16px repeat-x !important;
}

.woms-order-code-ticket-content {
  box-sizing: border-box;
  border: 6px solid #fffea5;
  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 15px 0px var(--s5o-c-grey-dark-1);
  border-radius: 0.5rem;
  background: #ffffff;
  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%,
      #ffffff 50%,
      #ffffff 100%
    ) -7px -8px/16px 16px repeat-x;
}

.woms-ticket:after {
  bottom: -5px;
  background: radial-gradient(
      circle,
      transparent,
      transparent 50%,
      #ffffff 50%,
      #ffffff 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-c-grey-bright-1);
}

/* 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 15px 0px #ab9b0d;
  background-color: var(--s5o-c-yellow-1);
}

.woms-ticket-expert:before {
  top: -5px;
  background: radial-gradient(
      circle,
      transparent,
      transparent 50%,
      #fff007 50%,
      #fff007 100%
    ) -7px -8px/16px 16px repeat-x;
}

.woms-ticket-expert:after {
  bottom: -5px;
  background: radial-gradient(
      circle,
      transparent,
      transparent 50%,
      #fff007 50%,
      #fff007 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-c-grey-medium-1);
  background-color: var(--s5o-c-grey-bright-2);
  padding: 16px 0.875rem 16px 0.875rem;
}

.woms-prod-pro-block {
  margin: 1rem 0;
  border-radius: 8px;
  background: #fff;
  padding: 1rem;
}

/*
.woms-ticket-divider.dots {
color: var(--s5o-c-blue-bright-1);
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 {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.woms-cart-voucher-list {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

/* #endregion */
.cards.s5o-woms-shipping-labels {
  background: var(--s5o-c-grey-bright-1);
}

/* 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(128, 128, 128, 0.3);
  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;
}

.woms-card-unlocked:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.s5o-woms-cart h3:first-of-type {
  text-align: center;
}

a.gb-button-cta {
  display: inline-flex;
  margin-bottom: 2rem;
  box-shadow: 5px 5px 10px 0 rgba(0, 0, 0, 0.1);
  border-radius: 5em;
  background-color: var(--s5o-c-yellow-1);
  padding: 0.5em 1.5em;
  color: var(--s5o-c-black) !important;
  font-size: 1.5rem;
  text-decoration: none;
}

/* fomantic fix */
.ui.accordion .accordion > .title,
.ui.accordion.menu .item > .title,
.ui.accordion > .title {
  font-size: 1rem;
}

@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;
  }
}
