/*
Theme Name: Supera Glass
Text Domain: supera-glass
Description: Diseño Supera Hospitales, adaptable y compatible con WooCommerce.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
WPVibe: yes
*/
:root{--color-primary:#9a79cf;--color-secondary:#597cdd;--color-neutral:#45536a;--color-background:#f6f7fa;--font-sans:system-ui,-apple-system,"Segoe UI",sans-serif}
html{scroll-behavior:smooth}
/* Reserve icon dimensions before the draft stylesheet is compiled. */
svg{width:24px;height:24px}
.site-logo>img{width:190px;height:63px;object-fit:contain}
.compact-logo-symbol{display:none}
[hidden]{display:none!important}

/* Readable legal documents, scoped to the two legal pages. */
body:is(.page-id-568,.page-id-563) main.sg-content {
  box-sizing: border-box;
  width: 800px !important;
  max-width: calc(100% - 40px) !important;
  padding: 44px 0 64px;
  font-size: 18px;
  line-height: 1.65;
  color: #354257;
  overflow-wrap: break-word;
}
body:is(.page-id-568,.page-id-563) main.sg-content > h1 {
  color: #493c5d;
  font-size: clamp(29px, 4vw, 38px);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -.025em;
  margin: 0 0 32px;
  padding-bottom: 22px;
  border-bottom: 1px solid #ded7e9;
}
body:is(.page-id-568,.page-id-563) main.sg-content h2 {
  color: #493c5d;
  font-size: 23px;
  line-height: 1.35;
  font-weight: 700;
  margin: 0 0 20px;
}
body:is(.page-id-568,.page-id-563) main.sg-content h3 {
  color: #493c5d;
  font-size: 21px;
  line-height: 1.4;
  font-weight: 700;
  margin: 32px 0 12px;
}
body:is(.page-id-568,.page-id-563) main.sg-content :is(p,li,div) {
  font-size: inherit;
  line-height: inherit;
}
body:is(.page-id-568,.page-id-563) main.sg-content .markdown > div,
body:is(.page-id-568,.page-id-563) main.sg-content p { margin: 0 0 16px; }
body:is(.page-id-568,.page-id-563) main.sg-content p:empty { display: none; }
body:is(.page-id-568,.page-id-563) main.sg-content :is(ul,ol) {
  padding-left: 24px;
  margin: 12px 0 22px;
}
body:is(.page-id-568,.page-id-563) main.sg-content ul { list-style: disc; }
body:is(.page-id-568,.page-id-563) main.sg-content ol { list-style: decimal; }
body:is(.page-id-568,.page-id-563) main.sg-content li { padding-left: 4px; margin-bottom: 10px; }
body:is(.page-id-568,.page-id-563) main.sg-content :is(b,strong) { color: #493c5d; font-weight: 650; }
body:is(.page-id-568,.page-id-563) main.sg-content a { color: #67509a; text-decoration: underline; text-underline-offset: 3px; }
@media(max-width: 767px) {
  body:is(.page-id-568,.page-id-563) main.sg-content {
    max-width: calc(100% - 32px) !important;
    padding-top: 28px;
    font-size: 17px;
    line-height: 1.65;
  }
  body:is(.page-id-568,.page-id-563) main.sg-content h2 { font-size: 21px; }
  body:is(.page-id-568,.page-id-563) main.sg-content h3 { font-size: 19px; margin-top: 28px; }
}


/* Clearer hospital choices and add-to-cart action. */
body.single-product .pd-branch{border-radius:14px!important;}
body.single-product .single_add_to_cart_button.button{font-size:20px!important;font-weight:800!important;line-height:1.2!important;}

/* Full-width primary cart checkout action. */
body.woocommerce-cart .wc-proceed-to-checkout{width:100%;}
body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button{display:flex!important;align-items:center;justify-content:center;width:100%!important;box-sizing:border-box;min-height:58px;font-size:22px!important;font-weight:800!important;line-height:1.2!important;text-align:center;}

/* Full-width primary checkout order action. */
body.woocommerce-checkout #place_order{display:flex!important;align-items:center;justify-content:center;width:100%!important;box-sizing:border-box;min-height:58px;font-size:22px!important;font-weight:800!important;line-height:1.2!important;text-align:center;}

/* Keep native Stripe express payments below the order action. */
body.woocommerce-checkout form.checkout #wc-stripe-express-checkout__order-attribution-inputs,
body.woocommerce-checkout form.checkout #wc-stripe-express-checkout-button-separator{display:none!important;}
body.woocommerce-checkout form.checkout #wc-stripe-express-checkout-element{align-self:start;width:100%;min-width:0;margin-top:18px!important;}
@media(min-width:768px){
 body.woocommerce-checkout form.checkout{grid-template-rows:auto auto 1fr!important;}
 body.woocommerce-checkout form.checkout #customer_details{grid-column:1!important;grid-row:1 / span 3!important;}
 body.woocommerce-checkout form.checkout #order_review_heading{grid-column:2!important;grid-row:1!important;}
 body.woocommerce-checkout form.checkout #order_review{grid-column:2!important;grid-row:2!important;}
 body.woocommerce-checkout form.checkout #wc-stripe-express-checkout-element{grid-column:2!important;grid-row:3!important;}
}
@media(max-width:767px){
 body.woocommerce-checkout form.checkout #customer_details{order:1;grid-column:1!important;grid-row:1!important;}
 body.woocommerce-checkout form.checkout #order_review_heading{order:2;grid-column:1!important;grid-row:2!important;}
 body.woocommerce-checkout form.checkout #order_review{order:3;grid-column:1!important;grid-row:3!important;}
 body.woocommerce-checkout form.checkout #wc-stripe-express-checkout-element{order:4;grid-column:1!important;grid-row:4!important;}
}

/* Supera account forms and account navigation. */
body.woocommerce-account main.sg-content{padding-top:36px;padding-bottom:56px;color:#354257;}
body.woocommerce-account:not(.logged-in) main.sg-content{width:520px!important;max-width:calc(100% - 32px)!important;margin-inline:auto;}
body.woocommerce-account main.sg-content>h1{font-size:32px;line-height:1.2;font-weight:750;color:#493c5d;margin:0 0 24px;}
body.woocommerce-account main.sg-content>p:has(>img),body.woocommerce-account main.sg-content>p:empty{display:none;}
body.woocommerce-account .woocommerce>h2{font-size:23px;font-weight:700;color:#493c5d;margin:0 0 16px;}
body.woocommerce-account .woocommerce form:is(.login,.register,.lost_reset_password,.edit-account){background:rgba(255,255,255,.94);border:1px solid #e0d9ea;border-radius:20px;box-shadow:0 10px 32px rgba(74,55,103,.06);padding:28px;margin:0;box-sizing:border-box;}
body.woocommerce-account .woocommerce form .form-row{padding:0;margin:0 0 20px;float:none;width:100%;box-sizing:border-box;}
body.woocommerce-account .woocommerce form .form-row br{display:none;}
body.woocommerce-account .woocommerce form label{display:block;font-size:16px;font-weight:650;line-height:1.45;color:#493c5d;margin-bottom:8px;}
body.woocommerce-account .woocommerce form input:is([type=text],[type=email],[type=password],[type=tel]),body.woocommerce-account .woocommerce form textarea{width:100%;max-width:100%;box-sizing:border-box;min-height:50px;border:1px solid #dcd5e8;border-radius:12px;background:#fff;padding:12px 14px;font:400 17px/1.4 system-ui,-apple-system,'Segoe UI',sans-serif;color:#29364b;transition:border-color .2s,box-shadow .2s;}
body.woocommerce-account .woocommerce form input:focus{outline:none;border-color:#9a79cf;box-shadow:0 0 0 3px rgba(154,121,207,.15);}
body.woocommerce-account .woocommerce .password-input{display:block;position:relative;}
body.woocommerce-account .woocommerce .password-input input{padding-right:52px;}
body.woocommerce-account .woocommerce .show-password-input{position:absolute!important;right:5px!important;top:5px!important;width:40px!important;height:40px!important;min-height:0!important;padding:0!important;display:grid!important;place-items:center;background:transparent!important;box-shadow:none!important;border:0!important;border-radius:8px!important;color:#69577d!important;font-size:18px!important;transform:none!important;}
body.woocommerce-account .woocommerce .show-password-input:before{margin:0!important;}
body.woocommerce-account .woocommerce form label.woocommerce-form-login__rememberme{display:flex;align-items:center;gap:9px;margin:4px 0 20px;font-size:15px;font-weight:500;}
body.woocommerce-account input[type=checkbox]{appearance:auto!important;width:18px!important;height:18px!important;min-height:0!important;margin:0!important;accent-color:#9175c8;flex:0 0 18px;}
body.woocommerce-account .woocommerce form button[type=submit]{display:flex;align-items:center;justify-content:center;width:100%;min-height:52px;padding:12px 20px;border:0;border-radius:14px;background:linear-gradient(120deg,#bd7fb8,#637ddd);color:#fff;font-size:19px;font-weight:750;line-height:1.25;float:none;margin:0;}
body.woocommerce-account .woocommerce .lost_password{margin:20px 0 0;font-size:15px;line-height:1.5;}
body.woocommerce-account .woocommerce .lost_password a{color:#7255a1;text-underline-offset:3px;}
body.woocommerce-account .woocommerce-MyAccount-navigation ul{list-style:none;padding:0;margin:0;display:grid;gap:10px;}
body.woocommerce-account .woocommerce-MyAccount-navigation a{display:block;border:1px solid #e0d9ea;border-radius:12px;padding:12px 16px;background:#fff;color:#604c7b;font-weight:650;}
body.woocommerce-account .woocommerce-MyAccount-navigation .is-active a{background:linear-gradient(120deg,#bd7fb8,#637ddd);color:#fff;}
@media(max-width:767px){body.woocommerce-account main.sg-content{padding-top:26px;padding-bottom:36px;}body.woocommerce-account main.sg-content>h1{font-size:28px;}body.woocommerce-account .woocommerce form:is(.login,.register,.lost_reset_password,.edit-account){padding:22px 18px;}body.woocommerce-account .woocommerce-MyAccount-navigation{margin-bottom:24px;}}
