/* YRH eSIM on WordPress: what the Shopify stylesheets did not need.
   Payment badges, notices, contact/affiliate forms, page content blocks, WooCommerce cart/checkout/account. */

/* ---------- payment badges (text instead of Shopify's card icons) ---------- */
.yrh-pays{gap:6px}
.yrh-pay{display:inline-flex;align-items:center;height:24px;padding:0 8px;border:1px solid var(--y7-line);border-radius:4px;background:var(--y7-paper);color:var(--y7-ink-2);font:600 11px/1 var(--y7-font);letter-spacing:.02em;white-space:nowrap}
.y7-ft .yrh-pay{border-color:#2b384b;background:#121b29;color:#c9d3e2}
.y7-sum .yrh-pay{border-color:#2b384b;background:#121b29;color:#c9d3e2}

/* ---------- honeypots ---------- */
.yrh-hp,.yrh-aff .hp{position:absolute!important;left:-9999px;width:1px;height:1px;overflow:hidden}

/* ---------- WooCommerce notices on our own templates ---------- */
.yrh-notices:empty{display:none}
.yrh-notices{margin-bottom:18px}
.yrh-notices .woocommerce-message,.yrh-notices .woocommerce-info,.yrh-notices .woocommerce-error,
.yrh-store .woocommerce-message,.yrh-store .woocommerce-info,.yrh-store .woocommerce-error{
  display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;margin:0 0 12px;padding:14px 18px;list-style:none;
  border:1px solid var(--y7-line);border-inline-start:4px solid var(--y7-go);border-radius:var(--y7-r-m);background:var(--y7-paper);color:var(--y7-ink);font-size:16px}
.yrh-notices .woocommerce-error,.yrh-store .woocommerce-error{border-inline-start-color:var(--y7-warn)}
.yrh-notices .woocommerce-info,.yrh-store .woocommerce-info{border-inline-start-color:var(--y7-brand)}
.yrh-notices .button,.yrh-store .woocommerce-message .button{order:2;margin-inline-start:auto;color:var(--y7-brand);font-weight:600;text-decoration:underline;text-underline-offset:3px}
.yrh-notices .woocommerce-message::before,.yrh-notices .woocommerce-info::before,.yrh-notices .woocommerce-error::before{display:none}

/* ---------- text pages ---------- */
.y7-prose h2{margin:1.6em 0 .5em;font:600 clamp(26px,2.6vw,32px)/1.05 var(--y7-display);color:var(--y7-ink)}
.y7-prose h3{margin:1.4em 0 .35em;font:600 20px/1.25 var(--y7-font);color:var(--y7-ink)}
.y7-prose h2:first-child,.y7-prose h3:first-child{margin-top:0}
.y7-prose a{color:var(--y7-brand);font-weight:600;text-decoration:underline;text-underline-offset:3px}
.y7-prose ul,.y7-prose ol{padding-inline-start:1.3em}
.y7-prose li+li{margin-top:.35em}
.y7-prose img{height:auto;border-radius:var(--y7-r-m)}
.yrh-contact{margin-top:clamp(32px,5vw,56px);padding-top:clamp(28px,4vw,40px);border-top:1px solid var(--y7-line)}
.y7-prose .yrh-contact .y7-label{color:var(--y7-ink-2)}

/* ---------- affiliate sign-up ---------- */
.yrh-aff{max-width:620px;font-size:17px;line-height:1.6}
.yrh-aff .box{margin:20px 0;padding:18px 22px;border:1px solid var(--y7-line);border-radius:var(--y7-r-m);background:var(--y7-hall)}
.yrh-aff ul{margin:8px 0;padding-inline-start:20px}
.yrh-aff form{display:grid;gap:16px;margin-top:8px}
.yrh-aff label{display:grid;gap:6px;color:var(--y7-ink);font-weight:600;font-size:15px}
.yrh-aff label span{font-weight:400;font-size:.9em;color:var(--y7-mute)}
.yrh-aff input,.yrh-aff textarea{width:100%;min-height:50px;padding:12px 16px;border:1.5px solid var(--y7-line);border-radius:var(--y7-r-s);background:var(--y7-paper);color:var(--y7-ink);font:500 17px/1.3 var(--y7-font)}
.yrh-aff input:focus,.yrh-aff textarea:focus{outline:none;border-color:var(--y7-brand);box-shadow:0 0 0 3px color-mix(in srgb,var(--y7-brand) 22%,transparent)}
.yrh-aff button{justify-self:start;min-height:50px;padding:0 24px;border:0;border-radius:var(--y7-r-s);background:var(--y7-brand);color:#fff;font:600 17px/1 var(--y7-font);cursor:pointer}
.yrh-aff .small{font-size:14px;color:var(--y7-mute)}

/* ---------- cart, checkout and account (WooCommerce blocks and classic) ---------- */
.yrh-storepage{max-width:1120px}
.yrh-storepage .y7-pagetitle{margin-bottom:clamp(18px,3vw,32px)}
.yrh-storebody{font-family:var(--y7-font);color:var(--y7-ink)}
.yrh-storebody .wp-block-woocommerce-cart,.yrh-storebody .wp-block-woocommerce-checkout{max-width:none;margin:0}
.yrh-storebody .wc-block-components-sidebar-layout{margin:0}
.yrh-storebody .wc-block-components-main,.yrh-storebody .wc-block-components-sidebar{box-sizing:border-box}
.yrh-storebody .wc-block-components-sidebar,.yrh-storebody .wc-block-checkout__sidebar{padding:20px 22px;border:1px solid var(--y7-line);border-radius:var(--y7-r-l);background:var(--y7-paper)}
.yrh-storebody .wc-block-cart-items,.yrh-storebody .wc-block-components-checkout-step{background:transparent}
.yrh-storebody .wp-block-woocommerce-checkout-order-summary-block,.yrh-storebody .wc-block-components-totals-wrapper{border-color:var(--y7-line)}
.yrh-storebody .wc-block-components-product-name{color:var(--y7-ink);font-weight:600;text-decoration:none}
.yrh-storebody .wc-block-components-product-metadata{color:var(--y7-mute)}
.yrh-storebody .wc-block-components-title,.yrh-storebody .wc-block-components-checkout-step__title{font:600 24px/1.1 var(--y7-display);color:var(--y7-ink)}
.yrh-storebody .wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
.yrh-storebody .wc-block-components-totals-footer-item .wc-block-components-totals-item__label{font:600 22px/1.2 var(--y7-display)}
.yrh-storebody .wc-block-components-button:not(.is-link),
.yrh-storebody .wp-element-button,
.yrh-storebody .button,
.yrh-storebody button[type="submit"]:not(.wc-block-components-panel__button){
  min-height:52px;border:0;border-radius:var(--y7-r-s);background:var(--y7-brand);color:#fff;font:600 17px/1.1 var(--y7-font);box-shadow:none;text-decoration:none}
.yrh-storebody .wc-block-cart__submit-button,
.yrh-storebody .wc-block-components-checkout-place-order-button{background:var(--y7-signal);color:var(--y7-signal-ink)}
.yrh-storebody .wc-block-components-button:not(.is-link):hover{filter:brightness(1.06)}
.yrh-storebody .wc-block-components-text-input input,
.yrh-storebody .wc-block-components-combobox .wc-block-components-combobox-control input,
.yrh-storebody .wc-blocks-components-select select,
.yrh-storebody input.input-text,.yrh-storebody select,.yrh-storebody textarea{border-radius:var(--y7-r-s);font-family:var(--y7-font)}
.yrh-storebody a{color:var(--y7-brand)}
.yrh-storebody .wc-block-components-quantity-selector{border-radius:var(--y7-r-s)}
.yrh-storebody .wc-block-cart__empty-cart__title,.yrh-storebody .wp-block-woocommerce-empty-cart-block h2{font:600 34px/1 var(--y7-display)}
/* the empty cart block suggests products in a grid we do not style; keep it to the message and a link */
.yrh-storebody .wp-block-woocommerce-empty-cart-block .wp-block-separator,
.yrh-storebody .wp-block-woocommerce-empty-cart-block .wp-block-heading:not(.wc-block-cart__empty-cart__title),
.yrh-storebody .wp-block-woocommerce-empty-cart-block .wp-block-woocommerce-product-new,
.yrh-storebody .wp-block-woocommerce-empty-cart-block .wp-block-product-new{display:none}
.yrh-storebody .yrh-emptycta{margin-top:18px}

/* classic account pages */
.yrh-storebody .woocommerce-MyAccount-navigation ul{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 24px;padding:0;list-style:none}
.yrh-storebody .woocommerce-MyAccount-navigation a{display:inline-flex;min-height:40px;align-items:center;padding:0 14px;border:1px solid var(--y7-line);border-radius:999px;background:var(--y7-paper);color:var(--y7-ink);font-weight:600;font-size:15px;text-decoration:none}
.yrh-storebody .woocommerce-MyAccount-navigation .is-active a{border-color:var(--y7-ink);background:var(--y7-ink);color:#fff}
.yrh-storebody .woocommerce-MyAccount-navigation,.yrh-storebody .woocommerce-MyAccount-content{float:none;width:auto}
.yrh-storebody .woocommerce form.login,.yrh-storebody .woocommerce form.register{border-color:var(--y7-line);border-radius:var(--y7-r-l);background:var(--y7-paper)}

/* the block editor's page content inside our layout */
.y7-prose .wp-block-buttons{display:flex;flex-wrap:wrap;gap:12px}
.y7-prose .alignwide,.y7-prose .alignfull{max-width:none}

/* ---------- WhatsApp: a real person, always one tap away ---------- */
.yrh-wa{position:fixed;z-index:60;inset-inline-end:16px;bottom:calc(16px + env(safe-area-inset-bottom));display:inline-flex;align-items:center;gap:10px;min-height:56px;padding:0 18px 0 14px;border-radius:999px;background:#1fa855;color:#fff;box-shadow:0 10px 28px rgba(0,0,0,.25);font:600 15px/1.15 var(--y7-font);text-decoration:none;transition:transform .2s var(--y7-ease),box-shadow .2s}
.yrh-wa:hover{transform:translateY(-2px);box-shadow:0 14px 34px rgba(0,0,0,.3);color:#fff}
.yrh-wa:focus-visible{outline:3px solid #fff;outline-offset:2px;box-shadow:0 0 0 6px #1fa855}
.yrh-wa svg{flex:none}
.yrh-wa__txt{display:grid}
.yrh-wa__txt small{font-weight:500;font-size:12px;opacity:.9}
@media (max-width:700px){
  .yrh-wa{min-height:56px;width:56px;padding:0;justify-content:center}
  .yrh-wa__txt{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
}
/* keep clear of the sticky buy bar on plan pages */
@media (max-width:899px){.single-product .yrh-wa{bottom:calc(92px + env(safe-area-inset-bottom))}}
@media print{.yrh-wa{display:none}}
