/* Product pages use the same palette, typography and spacing as Corsify. */
.corsify-shop-shell{padding-top:34px;padding-bottom:76px;font-family:var(--font);color:var(--ink)}
/* WooCommerce's #content selectors otherwise shrink each grid column to 48%. */
.single-product #content .corsify-shop-shell{width:min(calc(100% - 80px),1400px);max-width:none}
.single-product #content .corsify-shop-shell>div.product>div.woocommerce-product-gallery,
.single-product #content .corsify-shop-shell>div.product>div.summary{float:none;width:100%;max-width:none;min-width:0}
.single-product #content .corsify-shop-shell .summary .product_title{max-width:none}
@media(max-width:700px){.single-product #content .corsify-shop-shell{width:calc(100% - 34px)}}
.corsify-shop-shell .woocommerce-breadcrumb{margin:0 0 38px;color:#62666d;font-size:14px;line-height:1.7}
.corsify-shop-shell .woocommerce-breadcrumb a{color:var(--ink);text-decoration:none}
.single-product .corsify-shop-shell>.product{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);column-gap:clamp(28px,5vw,72px);row-gap:30px;align-items:start;position:relative}
.single-product .corsify-shop-shell>.product::before,.single-product .corsify-shop-shell>.product::after{display:none;content:none}
.single-product .corsify-shop-shell>.product>.woocommerce-product-gallery{float:none;width:100%;margin:0!important;position:sticky;top:135px;align-self:start;border-radius:var(--radius-l);background:var(--paper);overflow:hidden}
.single-product .corsify-shop-shell .woocommerce-product-gallery__wrapper{margin:0}
.single-product .corsify-shop-shell .woocommerce-product-gallery__image img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain;border-radius:var(--radius-l)}
.single-product .corsify-shop-shell .woocommerce-product-gallery__trigger{border:1px solid var(--line);background:var(--white);box-shadow:var(--shadow-s)}
.single-product .corsify-shop-shell>.product>.summary{float:none;width:100%;margin:0;min-width:0;padding-top:10px}
.corsify-product-eyebrow{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:0 0 22px;color:var(--blue);font-size:12px;line-height:1.5;font-weight:600;letter-spacing:.09em;text-transform:uppercase}
.corsify-product-period{padding:7px 12px;border-radius:999px;background:var(--blue-soft);color:#164a7a;letter-spacing:0;text-transform:none;font-size:13px}
.single-product .corsify-shop-shell .summary .product_title{margin:0 0 20px;font:500 clamp(34px,3.7vw,54px)/1.04 var(--font);letter-spacing:-.045em;color:var(--ink);overflow-wrap:break-word}
.corsify-product-lead{margin:0 0 26px;color:#565c63;font-size:18px;line-height:1.6;max-width:43ch}
.single-product .corsify-shop-shell .summary p.price{margin:0 0 26px;font:500 clamp(30px,3vw,42px)/1.25 var(--font);letter-spacing:-.04em;color:var(--ink)}
.single-product .corsify-shop-shell .summary p.price del{margin-right:12px;color:#777;font-size:.58em;font-weight:400;opacity:1}
.single-product .corsify-shop-shell .summary p.price ins{background:none;text-decoration:none;color:var(--blue);font-weight:500}
.single-product .corsify-shop-shell .summary p.price .woocommerce-price-suffix{display:block;margin:8px 0 0;color:#62666d;font-size:13px;letter-spacing:0;font-weight:400}
.single-product .corsify-shop-shell .summary form.cart{display:flex;align-items:stretch;flex-wrap:wrap;gap:12px;margin:0 0 28px;padding-top:25px;border-top:1px solid var(--line)}
.single-product .corsify-shop-shell .summary form.cart .quantity{float:none;margin:0}
.single-product .corsify-shop-shell .summary .quantity .qty{width:76px;min-height:56px;padding:12px;border:1px solid #d3d7dc;background:var(--white);border-radius:14px;font:500 16px var(--font);color:var(--ink);text-align:center}
.single-product .corsify-shop-shell .summary button.single_add_to_cart_button{flex:1;float:none;min-width:180px;min-height:56px;padding:17px 24px;border:1px solid var(--blue);border-radius:14px;background:var(--blue);color:#fff;font:600 16px/1.35 var(--font);transition:background .18s,transform .18s;white-space:normal}
.single-product .corsify-shop-shell .summary button.single_add_to_cart_button:hover{background:var(--blue-dark);border-color:var(--blue-dark);transform:translateY(-1px)}
.single-product .corsify-shop-shell .summary button.single_add_to_cart_button:disabled{opacity:.55;transform:none}
.corsify-shop-shell a:focus-visible,.corsify-shop-shell button:focus-visible,.corsify-shop-shell summary:focus-visible,.corsify-shop-shell input:focus-visible{outline:3px solid var(--blue);outline-offset:4px}
.corsify-product-scope{margin:0 0 20px;border:1px solid var(--line);border-radius:16px;background:var(--white)}
.corsify-product-scope>summary{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:60px;padding:18px 20px;font-size:16px;font-weight:600;cursor:pointer;list-style:none}
.corsify-product-scope>summary::-webkit-details-marker{display:none}
.corsify-product-scope>summary>span{font-size:25px;color:var(--blue);font-weight:400;transition:transform .18s}
.corsify-product-scope[open]>summary>span{transform:rotate(45deg)}
.corsify-product-scope-content{padding:0 20px 22px}
.corsify-product-scope-content .woocommerce-product-details__short-description{font-size:15px;line-height:1.75;color:#4d545c}
.corsify-product-scope-content .comparativa-pricing{display:grid;grid-template-columns:1fr;gap:24px}
.corsify-shop-shell .comparativa-pricing .card-titulo{margin:0 0 14px;font-size:19px;line-height:1.3;letter-spacing:-.02em}
.corsify-shop-shell .comparativa-pricing .card-lista{display:grid;gap:10px;margin:0;padding-left:20px;list-style:disc}
.corsify-shop-shell .comparativa-pricing .card-lista li::marker{color:var(--blue)}
.single-product .corsify-shop-shell .summary .product_meta{display:flex;flex-wrap:wrap;gap:10px 20px;padding:14px 0;border-top:1px solid var(--line);font-size:12px;color:#62666d}
.single-product .corsify-shop-shell .summary .product_meta a{color:#465564;text-decoration:none}
.corsify-product-help{margin:18px 0 0;color:#62666d;font-size:13px;line-height:1.7}
.corsify-product-help a{color:var(--blue);font-weight:600;text-decoration:none}
.single-product .corsify-shop-shell>.product>.woocommerce-tabs,.single-product .corsify-shop-shell>.product>.related,.single-product .corsify-shop-shell>.product>.upsells{grid-column:1/-1;float:none;clear:both;width:100%;margin-top:30px}
.single-product .corsify-shop-shell .woocommerce-tabs ul.tabs{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 28px;padding:0 0 18px;border-bottom:1px solid var(--line)}
.single-product .corsify-shop-shell .woocommerce-tabs ul.tabs::before,.single-product .corsify-shop-shell .woocommerce-tabs ul.tabs li::before,.single-product .corsify-shop-shell .woocommerce-tabs ul.tabs li::after{display:none;content:none}
.single-product .corsify-shop-shell .woocommerce-tabs ul.tabs li{margin:0;padding:0;border:0;border-radius:999px;background:transparent}
.single-product .corsify-shop-shell .woocommerce-tabs ul.tabs li a{padding:12px 20px;color:#565c63;font-size:15px;font-weight:500;text-decoration:none}
.single-product .corsify-shop-shell .woocommerce-tabs ul.tabs li.active{background:var(--blue-soft)}
.single-product .corsify-shop-shell .woocommerce-tabs ul.tabs li.active a{color:#164a7a}
.single-product .corsify-shop-shell .woocommerce-Tabs-panel{margin:0;padding:30px;border:1px solid var(--line);border-radius:var(--radius);background:var(--white);font-size:16px;line-height:1.75}
.single-product .corsify-shop-shell .woocommerce-Tabs-panel>h2{margin-top:0;font-size:28px;letter-spacing:-.03em}
.single-product .corsify-shop-shell .woocommerce-Tabs-panel .comparativa-pricing{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:36px}
.corsify-shop-shell ul.products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:24px 0 0;padding:0}
.corsify-shop-shell ul.products::before,.corsify-shop-shell ul.products::after{display:none;content:none}
.corsify-shop-shell ul.products li.product{float:none;width:auto!important;margin:0!important;padding:16px 16px 20px;border:1px solid var(--line);border-radius:24px;background:var(--white);list-style:none}
.corsify-shop-shell ul.products li.product a img{margin-bottom:20px;border-radius:16px;aspect-ratio:1;object-fit:contain;background:var(--paper)}
.corsify-shop-shell ul.products li.product .woocommerce-loop-product__title{padding:0;margin:0 0 12px;font:500 22px/1.2 var(--font);letter-spacing:-.03em;color:var(--ink)}
.corsify-shop-shell ul.products li.product .price{font:500 19px/1.4 var(--font);color:var(--ink)}
.corsify-shop-shell ul.products li.product .button{padding:12px 18px;background:var(--blue-soft);border-radius:12px;color:#164a7a;font-size:14px}
.corsify-shop-shell .related>h2,.corsify-shop-shell .upsells>h2{margin-bottom:24px;font-size:clamp(28px,3vw,40px);font-weight:500;letter-spacing:-.04em}
.corsify-shop-shell .onsale{z-index:3;top:16px!important;left:16px!important;right:auto!important;min-height:0!important;min-width:0!important;padding:9px 14px!important;border-radius:999px!important;background:var(--blue)!important;font-size:12px!important;line-height:1.4!important}
@media(max-width:900px){.single-product .corsify-shop-shell>.product{column-gap:30px}.single-product .corsify-shop-shell .summary .product_title{font-size:36px}.corsify-product-lead{font-size:16px}.corsify-shop-shell ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.corsify-shop-shell{padding-top:24px;padding-bottom:44px}.corsify-shop-shell .woocommerce-breadcrumb{margin-bottom:24px;font-size:12px}.single-product .corsify-shop-shell>.product{grid-template-columns:minmax(0,1fr);row-gap:28px}.single-product .corsify-shop-shell>.product>.woocommerce-product-gallery{position:relative;top:auto;border-radius:22px}.single-product .corsify-shop-shell .woocommerce-product-gallery__image img{border-radius:22px}.single-product .corsify-shop-shell>.product>.summary{padding:0}.corsify-product-eyebrow{margin-bottom:16px}.single-product .corsify-shop-shell .summary .product_title{font-size:38px}.single-product .corsify-shop-shell .woocommerce-Tabs-panel{padding:22px}.single-product .corsify-shop-shell .woocommerce-Tabs-panel .comparativa-pricing{grid-template-columns:1fr;gap:26px}.single-product .corsify-shop-shell>.product>.woocommerce-tabs,.single-product .corsify-shop-shell>.product>.related{margin-top:12px}.corsify-shop-shell ul.products{gap:14px}.corsify-shop-shell ul.products li.product{padding:10px 10px 16px;border-radius:18px}.corsify-shop-shell ul.products li.product .woocommerce-loop-product__title{font-size:18px}.corsify-shop-shell ul.products li.product .price{font-size:16px}}
@media(prefers-reduced-motion:reduce){.single-product .corsify-shop-shell .summary button.single_add_to_cart_button,.corsify-product-scope>summary>span{transition:none}}


/* Keep the gallery within the product hero instead of over the reviews row. */
.single-product #content .corsify-shop-shell>div.product>div.woocommerce-product-gallery{position:relative;top:auto}
/* Override the native WooCommerce tab and review rules at the same scope. */
.single-product #content .corsify-shop-shell div.product .woocommerce-tabs{position:relative;z-index:1;min-width:0;padding-top:12px}
.single-product #content .corsify-shop-shell div.product .woocommerce-tabs ul.tabs{display:flex;flex-wrap:wrap;gap:10px;padding:0 0 20px;margin:0 0 24px;border:0;border-bottom:1px solid var(--line);overflow:visible}
.single-product #content .corsify-shop-shell div.product .woocommerce-tabs ul.tabs::before,
.single-product #content .corsify-shop-shell div.product .woocommerce-tabs ul.tabs li::before,
.single-product #content .corsify-shop-shell div.product .woocommerce-tabs ul.tabs li::after{display:none;content:none}
.single-product #content .corsify-shop-shell div.product .woocommerce-tabs ul.tabs li{float:none;margin:0;padding:0;border:0;border-radius:999px;background:transparent}
.single-product #content .corsify-shop-shell div.product .woocommerce-tabs ul.tabs li a{display:block;padding:12px 22px;font:500 15px/1.5 var(--font);color:#565c63}
.single-product #content .corsify-shop-shell div.product .woocommerce-tabs ul.tabs li.active{background:var(--blue-soft)}
.single-product #content .corsify-shop-shell div.product .woocommerce-tabs ul.tabs li.active a{color:#164a7a}
.single-product #content .corsify-shop-shell div.product .woocommerce-tabs .panel{box-sizing:border-box;margin:0;padding:clamp(24px,4vw,52px);border:1px solid var(--line);border-radius:24px;background:var(--white);font:400 16px/1.75 var(--font)}
.single-product #content .corsify-shop-shell #reviews{max-width:960px;width:100%;margin:0 auto}
.single-product #content .corsify-shop-shell #reviews #comments h2{margin:0 0 22px;font:500 clamp(26px,3vw,36px)/1.2 var(--font);letter-spacing:-.035em}
.single-product #content .corsify-shop-shell #reviews .woocommerce-noreviews{margin:0 0 28px;color:#62666d}
.single-product #content .corsify-shop-shell #review_form_wrapper{margin-top:28px;padding-top:28px;border-top:1px solid var(--line)}
.single-product #content .corsify-shop-shell #review_form #respond{margin:0;padding:0}
.single-product #content .corsify-shop-shell #review_form #respond .comment-reply-title{display:block;margin:0 0 20px;font:500 20px/1.4 var(--font);letter-spacing:-.02em}
.single-product #content .corsify-shop-shell #review_form #commentform{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 24px;margin:0}
.single-product #content .corsify-shop-shell #review_form #commentform>p,
.single-product #content .corsify-shop-shell #review_form #commentform>.comment-form-rating{grid-column:1/-1;min-width:0;margin:0}
.single-product #content .corsify-shop-shell #review_form #commentform>.comment-form-author{grid-column:1}
.single-product #content .corsify-shop-shell #review_form #commentform>.comment-form-email{grid-column:2}
.single-product #content .corsify-shop-shell #review_form label{display:block;margin:0 0 8px;font-size:14px;font-weight:500;color:var(--ink)}
.single-product #content .corsify-shop-shell #review_form textarea,
.single-product #content .corsify-shop-shell #review_form input[type="text"],
.single-product #content .corsify-shop-shell #review_form input[type="email"]{display:block;box-sizing:border-box;width:100%;max-width:100%;margin:0;padding:14px 16px;border:1px solid #cfd5dc;border-radius:12px;background:#fbfcfe;color:var(--ink);font:400 16px/1.6 var(--font)}
.single-product #content .corsify-shop-shell #review_form #respond textarea{min-height:160px;height:160px;resize:vertical}
.single-product #content .corsify-shop-shell #review_form .comment-form-rating p.stars{margin:10px 0 0;font-size:22px;line-height:1.5}
.single-product #content .corsify-shop-shell #review_form .comment-form-rating p.stars a{color:var(--blue)}
.single-product #content .corsify-shop-shell #review_form #commentform .comment-form-cookies-consent{display:flex;align-items:flex-start;gap:10px;font-size:13px}
.single-product #content .corsify-shop-shell #review_form .comment-form-cookies-consent input{flex:none;width:18px;height:18px;margin-top:4px;accent-color:var(--blue)}
.single-product #content .corsify-shop-shell #review_form .comment-form-cookies-consent label{margin:0;font-size:13px;font-weight:400;line-height:1.6;color:#62666d}
.single-product #content .corsify-shop-shell #review_form #respond .form-submit input#submit{display:inline-block;width:auto;min-width:150px;min-height:48px;margin:4px 0 0;padding:13px 24px;border:1px solid var(--blue);border-radius:12px;background:var(--blue);color:#fff;font:600 15px/1.4 var(--font);cursor:pointer}
.single-product #content .corsify-shop-shell #review_form #respond .form-submit input#submit:hover{background:var(--blue-dark);border-color:var(--blue-dark)}
@media(max-width:680px){
.single-product #content .corsify-shop-shell div.product .woocommerce-tabs .panel{padding:24px 20px;border-radius:18px}
.single-product #content .corsify-shop-shell #review_form #commentform{grid-template-columns:minmax(0,1fr);gap:20px}
.single-product #content .corsify-shop-shell #review_form #commentform>.comment-form-author,
.single-product #content .corsify-shop-shell #review_form #commentform>.comment-form-email{grid-column:1}
.single-product #content .corsify-shop-shell #review_form #respond .form-submit input#submit{width:100%}
}


/* Center the action inside each catalogue and related-product card. */
#content .corsify-shop-shell ul.products li.product>a.button{
    display:flex;align-items:center;justify-content:center;
    float:none;width:fit-content;max-width:100%;min-height:48px;
    margin:20px auto 0;padding:14px 20px;
    line-height:1.4;text-align:center;
}
#content .corsify-shop-shell ul.products li.product>a.added_to_cart{
    display:block;width:fit-content;margin:12px auto 0;text-align:center;
}
