/*
Theme Name: ZonaPC Academy Unified
Theme URI: https://zonapc.ar/
Author: ZonaPC Academy
Description: Tema independiente para ZonaPC Academy con portada original, compatibilidad con Tutor LMS y WooCommerce.
Version: 3.5.0
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: zonapc-academy
*/
:root{--zpc-orange:#f47723;--zpc-navy:#15113f}*,*:before,*:after{box-sizing:border-box}body{margin:0;font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif;color:#182438;background:#fff}a{color:#d35b14}img{max-width:100%;height:auto} .zpc-site-header{background:#05070d;padding:12px 24px;text-align:center}.zpc-site-header img{max-width:190px;max-height:70px}.zpc-site-nav{display:flex;justify-content:center;gap:20px;flex-wrap:wrap;background:#15113f;padding:10px}.zpc-site-nav a{color:#fff;text-decoration:none;font-weight:600}.zpc-site-main{max-width:1160px;margin:30px auto;padding:0 20px;min-height:55vh}.zpc-site-footer{background:#15113f;color:white;text-align:center;padding:24px}.zpc-site-footer a{color:#fff} .woocommerce .button,.woocommerce button.button,.woocommerce input.button,.wc-block-components-checkout-place-order-button{background:#f47723!important;color:white!important;border-radius:8px!important;font-weight:700!important}.woocommerce-checkout .wc-block-checkout,.woocommerce-checkout form.checkout{background:#fff;color:#192338}.woocommerce-checkout .wc-block-checkout :is(h2,h3,label,p,span,strong,small),.woocommerce-checkout .wc-block-components-order-summary :is(span,strong,div),.woocommerce-checkout .wc-block-components-radio-control :is(label,span,p,strong){color:#192338!important}.woocommerce-checkout .wc-block-components-radio-control,.woocommerce-checkout .wc-block-components-order-summary,.woocommerce-checkout #payment{background:#f5f7fb!important;color:#192338!important}.woocommerce-checkout .wc-block-checkout input,.woocommerce-checkout .wc-block-checkout select,.woocommerce-checkout .wc-block-checkout textarea{background:#fff!important;color:#192338!important}.woocommerce-checkout .wc-block-components-checkout-place-order-button :is(span,div){color:white!important}.woocommerce-checkout .woocommerce form .form-row input.input-text{background:#fff;color:#192338}.woocommerce-checkout #payment :is(label,p,span,strong){color:#192338!important}.woocommerce-checkout #payment div.payment_box{background:#e8edf5!important;color:#192338!important}

/* v1.4 - identidad visual coherente para paginas internas, campus y checkout */
body:not(.home){background:#f5f7fb;color:#182638;}
body:not(.home) .zpc-site-header{background:#fff;border-bottom:1px solid #e5eaf0;padding:12px 20px;}
body:not(.home) .zpc-site-header img{max-width:190px;max-height:64px;object-fit:contain;}
body:not(.home) .zpc-site-nav{background:#fff;border-bottom:1px solid #e5eaf0;padding:12px 16px;gap:24px;}
body:not(.home) .zpc-site-nav a{color:#24334a;}
body:not(.home) .zpc-site-nav a:hover{color:#e66e24;}
body:not(.home) .zpc-site-main{background:#fff;border:1px solid #e8edf3;border-radius:16px;max-width:1160px;padding:28px;margin:30px auto;min-height:50vh;}
body:not(.home) .zpc-site-footer{background:#132338;color:#e7edf5;padding:22px 16px;}
body:not(.home) .zpc-site-footer a{color:#ffab75;}
body:not(.home) .zpc-site-main h1{color:#17263a;line-height:1.2;font-size:clamp(26px,3vw,38px);}
body:not(.home) .zpc-site-main :is(input,select,textarea){max-width:100%;}
body.woocommerce-checkout .zpc-site-main,body.woocommerce-cart .zpc-site-main{max-width:1180px;}
body.woocommerce-checkout .wc-block-checkout,body.woocommerce-checkout .wp-block-woocommerce-checkout,body.woocommerce-checkout .woocommerce-checkout{background:#fff!important;color:#1b2b40!important;}
body.woocommerce-checkout .wc-block-components-sidebar,body.woocommerce-checkout .wc-block-components-main,body.woocommerce-checkout .wc-block-components-order-summary,body.woocommerce-checkout .wc-block-components-radio-control,body.woocommerce-checkout .wc-block-components-radio-control__option,body.woocommerce-checkout .wc-block-components-radio-control-accordion-content{background:#f8fafc!important;color:#1b2b40!important;}
body.woocommerce-checkout .wc-block-checkout :is(label,p,span,strong,small,h2,h3,h4),body.woocommerce-checkout .wc-block-components-sidebar :is(label,p,span,strong,small,div),body.woocommerce-checkout .wc-block-components-radio-control :is(label,p,span,strong,small),body.woocommerce-checkout .wc-block-components-totals-wrapper :is(span,strong,div){color:#1b2b40!important;}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button :is(span,div){color:#fff!important;}
body.woocommerce-checkout .wc-block-checkout :is(input,select,textarea){background:#fff!important;color:#1b2b40!important;}
@media(max-width:767px){body:not(.home) .zpc-site-main{margin:12px 10px;padding:16px;border-radius:12px;}body:not(.home) .zpc-site-nav{gap:14px;font-size:13px;}body:not(.home) .zpc-site-header img{max-width:155px;}}

/* v1.7 - cabecera interna limpia y logo visible */
body:not(.home) .zpc-site-header{background:#fff!important;border-bottom:1px solid #e5eaf0!important;padding:14px 16px!important;text-align:center!important;}
body:not(.home) .zpc-site-header a{display:inline-flex;align-items:center;justify-content:center;}
body:not(.home) .zpc-site-header img{display:block;width:260px!important;max-width:min(260px,85vw)!important;max-height:none!important;height:auto!important;object-fit:contain;}
@media(max-width:767px){body:not(.home) .zpc-site-header{padding:14px 12px!important;}body:not(.home) .zpc-site-header img{width:225px!important;max-width:80vw!important;max-height:none!important;}}


/* ZonaPC 1.8 - catálogo de cursos, sin afectar checkout ni portada */
.tutor-course-card {background:#fff!important;border:1px solid #e6eaf0!important;border-radius:18px!important;overflow:hidden!important;box-shadow:0 10px 32px rgba(17,32,53,.09)!important;max-width:520px;margin-left:auto;margin-right:auto;}
.tutor-course-card .tutor-course-thumbnail img {display:block;width:100%!important;height:260px!important;object-fit:cover!important;}
.tutor-course-card .tutor-course-name,.tutor-course-card .tutor-course-name a {font-size:clamp(21px,2.5vw,27px)!important;line-height:1.25!important;font-weight:800!important;color:#142238!important;}
.tutor-course-card .tutor-course-card-body {padding:20px!important;}
.tutor-course-card .tutor-course-card-footer {display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:14px!important;padding:18px 20px 22px!important;border-top:1px solid #edf0f4!important;}
.tutor-course-card .tutor-course-card-footer .tutor-btn,.tutor-course-card .tutor-course-card-footer a.zpc-course-buy,.tutor-course-card a.zpc-course-buy,.woocommerce a.zpc-course-buy {display:inline-flex!important;justify-content:center!important;align-items:center!important;min-height:52px!important;width:100%!important;padding:13px 18px!important;border-radius:11px!important;background:#f47723!important;color:#fff!important;border:0!important;font-size:16px!important;font-weight:800!important;text-align:center!important;text-decoration:none!important;box-shadow:0 5px 14px rgba(244,119,35,.18)!important;}
.tutor-course-card .tutor-course-price,.tutor-course-card .tutor-course-price span {font-size:23px!important;font-weight:800!important;color:#15243b!important;}
@media(max-width:767px){.tutor-course-card{max-width:100%!important}.tutor-course-card .tutor-course-thumbnail img{height:210px!important}.tutor-course-card .tutor-course-card-body{padding:16px!important}.tutor-course-card .tutor-course-card-footer{padding:16px!important}}

/* ZonaPC 1.9: formulario compacto, checkout clásico */
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 18px}
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row{width:100%;float:none;margin:0}
.woocommerce-checkout #billing_email_field,.woocommerce-checkout #billing_country_field{grid-column:1/-1}
.woocommerce-checkout .woocommerce-billing-fields h3{font-size:1.4rem}
@media(max-width:650px){.woocommerce-checkout .woocommerce-billing-fields__field-wrapper{grid-template-columns:1fr}}

/* ZonaPC 2.0 - Checkout clásico más claro y compacto */
body.woocommerce-checkout .woocommerce form.checkout{max-width:1050px;margin:0 auto;background:#fff!important;padding:clamp(14px,3vw,30px)!important;border-radius:16px;color:#17263a}
body.woocommerce-checkout .woocommerce-billing-fields h3,body.woocommerce-checkout #order_review_heading{font-size:clamp(20px,2.5vw,26px);font-weight:800;color:#17263a;margin:14px 0 22px}
body.woocommerce-checkout .woocommerce form .form-row label{font-weight:650;color:#23344b;margin-bottom:7px}
body.woocommerce-checkout .woocommerce form .form-row input.input-text,body.woocommerce-checkout .woocommerce form .form-row select,body.woocommerce-checkout .select2-container .select2-selection--single{border:1px solid #cbd5e1!important;border-radius:10px!important;min-height:46px;background:#fff!important;color:#17263a!important;padding:9px 12px!important;box-shadow:none!important}
body.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__rendered{line-height:27px;color:#17263a}
body.woocommerce-checkout .woocommerce-checkout-review-order-table{border:1px solid #e2e8f0!important;border-radius:12px!important;overflow:hidden;background:#fff}
body.woocommerce-checkout .woocommerce-checkout-review-order-table th,body.woocommerce-checkout .woocommerce-checkout-review-order-table td{padding:14px!important;color:#17263a;border-color:#e2e8f0}
body.woocommerce-checkout #payment{background:#f8fafc!important;border:1px solid #e2e8f0;border-radius:12px;padding:14px!important}
body.woocommerce-checkout #payment ul.payment_methods{background:transparent!important;border-bottom:1px solid #e2e8f0}
body.woocommerce-checkout #payment ul.payment_methods li{padding:8px 0;color:#17263a}
body.woocommerce-checkout #payment ul.payment_methods label{color:#17263a!important;font-weight:650}
body.woocommerce-checkout #payment div.payment_box{background:#edf2f8!important;border-radius:8px!important;color:#17263a!important}
body.woocommerce-checkout #payment #place_order{background:#f47723!important;color:#fff!important;border-radius:10px!important;min-height:52px;padding:14px 24px!important;font-size:16px;font-weight:800;float:none;width:100%}
@media(max-width:650px){body.woocommerce-checkout .woocommerce form.checkout{padding:12px!important}body.woocommerce-checkout .woocommerce-checkout-review-order-table th,body.woocommerce-checkout .woocommerce-checkout-review-order-table td{padding:10px!important}}

/* ZonaPC 2.2 - aclaración de precio en dólares */
.zpc-usd-price-note{display:block;font-size:12px;line-height:1.45;font-weight:400;color:#667085;margin:6px 0 10px;max-width:38ch}
.woocommerce ul.products li.product .zpc-usd-price-note,.tutor-course-card .zpc-usd-price-note{margin-top:6px;margin-bottom:10px}
.zpc-usd-checkout-note td{padding-top:6px!important;font-size:12px!important;color:#667085!important}
.zpc-usd-checkout-note .zpc-usd-price-note{max-width:none}


/* ZonaPC 2.3 — tarjeta de inscripción: precio, aclaración y CTA en filas separadas */
.tutor-course-card .tutor-course-card-footer{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:0!important;padding:20px!important;}
.tutor-course-card .zpc-course-price-block{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:7px!important;width:100%!important;min-width:0!important;margin:0 0 18px!important;}
.tutor-course-card .zpc-course-price-block .tutor-course-price,
.tutor-course-card .zpc-course-price-block .tutor-course-price-wrapper,
.tutor-course-card .zpc-course-price-block .price{display:block!important;width:100%!important;font-size:27px!important;font-weight:800!important;line-height:1.2!important;color:#142238!important;margin:0!important;}
.tutor-course-card .zpc-course-price-block .zpc-usd-price-note{display:block!important;position:static!important;float:none!important;clear:both!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;font-size:12px!important;line-height:1.55!important;font-weight:400!important;color:#64748b!important;letter-spacing:normal!important;}
.tutor-course-card .tutor-course-card-footer .zpc-course-primary-cta{display:flex!important;position:static!important;float:none!important;flex:0 0 auto!important;align-self:stretch!important;width:100%!important;max-width:none!important;min-height:52px!important;white-space:normal!important;line-height:1.3!important;text-align:center!important;margin:0!important;padding:14px 18px!important;}
@media(max-width:767px){.tutor-course-card .tutor-course-card-footer{padding:18px!important}.tutor-course-card .zpc-course-price-block{margin-bottom:16px!important}}

/* ZonaPC 2.4 — ficha de curso premium, solo catálogo */
.tutor-course-card.zpc-premium-card{max-width:600px!important;border-radius:22px!important;box-shadow:0 15px 40px rgba(16,38,69,.12)!important}
.tutor-course-card.zpc-premium-card .tutor-course-card-body{padding:18px 24px 22px!important}
.tutor-course-card.zpc-premium-card .tutor-course-thumbnail img{height:245px!important}
.tutor-course-card.zpc-premium-card .tutor-course-card-body .zpc-card-title{margin:0 0 16px!important;padding:0!important;line-height:1.2!important}
.tutor-course-card.zpc-premium-card .tutor-course-card-body .zpc-card-title a{text-decoration:none!important}
.tutor-course-card.zpc-premium-card .tutor-course-card-body :is(.tutor-course-duration,.tutor-course-author,.tutor-course-meta,.tutor-course-card-meta,.tutor-course-card-author,.tutor-meta){display:none!important}
.tutor-course-card.zpc-premium-card .zpc-benefits{margin-top:18px!important}
.tutor-course-card.zpc-premium-card .zpc-benefits-title{display:inline-block;background:linear-gradient(105deg,#0879b7,#123b84);border-radius:9px;color:white!important;padding:8px 15px;font-size:15px;font-weight:800;line-height:1.3}
.tutor-course-card.zpc-premium-card .zpc-benefits-list{list-style:none!important;padding:0!important;margin:15px 0 0!important;display:grid;gap:10px}
.tutor-course-card.zpc-premium-card .zpc-benefits-list li{display:flex;align-items:flex-start;gap:11px;color:#15263d!important;font-size:14px!important;line-height:1.45!important;margin:0!important;padding:0!important}
.tutor-course-card.zpc-premium-card .zpc-benefit-check{flex:0 0 22px;width:22px;height:22px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:#32a852;color:#fff!important;font-weight:900;font-size:15px}
.tutor-course-card.zpc-premium-card .tutor-course-card-footer{display:flex!important;flex-direction:column!important;gap:16px!important;padding:20px 24px 24px!important;background:#fff!important;border-top:1px solid #e8edf4!important}
.tutor-course-card.zpc-premium-card .zpc-price-panel{display:flex!important;align-items:stretch!important;gap:0!important;width:100%!important;border-radius:12px;overflow:hidden;background:#eef5fd}
.tutor-course-card.zpc-premium-card .zpc-price-amount{display:flex!important;align-items:center!important;justify-content:center!important;flex:0 0 40%;background:linear-gradient(120deg,#0664a8,#102e69);color:white!important;padding:18px 10px!important;font-weight:900!important;font-size:clamp(21px,3vw,32px)!important;white-space:nowrap}
.tutor-course-card.zpc-premium-card .zpc-price-amount :is(span,bdi,ins,.tutor-course-price,.price,.woocommerce-Price-amount){color:#fff!important;font-size:inherit!important;font-weight:900!important;line-height:1.2!important;margin:0!important}
.tutor-course-card.zpc-premium-card .zpc-price-explanation{flex:1;min-width:0;display:flex;align-items:center;padding:12px 15px!important}
.tutor-course-card.zpc-premium-card .zpc-price-explanation .zpc-usd-price-note{color:#29405c!important;font-size:12px!important;line-height:1.5!important;font-weight:400!important;max-width:none!important;margin:0!important}
.tutor-course-card.zpc-premium-card .tutor-course-card-footer .zpc-course-primary-cta{display:flex!important;width:100%!important;min-height:58px!important;font-size:17px!important;border-radius:12px!important;background:#f47723!important;color:white!important;box-shadow:0 6px 16px rgba(244,119,35,.22)!important}
@media(max-width:600px){.tutor-course-card.zpc-premium-card .tutor-course-thumbnail img{height:210px!important}.tutor-course-card.zpc-premium-card .tutor-course-card-body{padding:16px 18px 20px!important}.tutor-course-card.zpc-premium-card .tutor-course-card-footer{padding:18px!important}.tutor-course-card.zpc-premium-card .zpc-price-panel{flex-direction:column!important}.tutor-course-card.zpc-premium-card .zpc-price-amount{padding:13px!important;font-size:27px!important}.tutor-course-card.zpc-premium-card .zpc-price-explanation{padding:12px 14px!important}}


/* ZonaPC 2.5: catálogo propio, sin depender del HTML de Tutor LMS. */
.zpc-cursados{max-width:1100px;margin:0 auto;padding:12px 0 45px;color:#102443}
.zpc-cursados-heading{text-align:center;margin:0 0 30px}
.zpc-cursados-heading span{color:#ed6e1c;font-size:12px;letter-spacing:1.5px;font-weight:800}
.zpc-cursados-heading h1{font-size:clamp(27px,4vw,43px);margin:10px 0 8px;color:#102443}
.zpc-cursados-heading p{margin:0;color:#63738a}
.zpc-cursados-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,370px),1fr));gap:26px;justify-content:center}
.zpc-cursado-card{background:white;border:1px solid #e7eaf0;border-radius:22px;overflow:hidden;box-shadow:0 15px 38px rgba(12,31,66,.09)}
.zpc-cursado-image img{display:block;width:100%;aspect-ratio:16/7.5;object-fit:cover}
.zpc-cursado-main{padding:26px 30px 30px}
.zpc-cursado-main h2{font-size:clamp(23px,2.6vw,31px);line-height:1.15;letter-spacing:-.6px;margin:0 0 25px;color:#0d2446}
.zpc-cursado-benefits{margin:0 0 28px}
.zpc-cursado-benefits h3{display:inline-block;margin:0 0 15px;background:#0b448c;color:white;padding:8px 14px;border-radius:8px;font-size:16px}
.zpc-cursado-benefits ul{list-style:none;padding:0;margin:0;display:grid;gap:12px}
.zpc-cursado-benefits li{display:flex;align-items:flex-start;gap:11px;font-size:15px;line-height:1.35;color:#26364b}
.zpc-cursado-benefits li span{flex:none;display:grid;place-items:center;background:#32ad39;color:#fff;font-size:13px;font-weight:900;width:21px;height:21px;border-radius:50%}
.zpc-cursado-price-row{display:grid;grid-template-columns:minmax(125px,38%) 1fr;gap:0;align-items:stretch;background:#eff5fd;border-radius:13px;overflow:hidden;margin:0 0 18px}
.zpc-cursado-price{background:linear-gradient(125deg,#0a66c2,#092a60);color:#fff;padding:20px 12px;display:flex;align-items:center;justify-content:center;font-size:clamp(22px,3vw,32px);font-weight:900;white-space:nowrap}
.zpc-cursado-price *{color:#fff!important}
.zpc-cursado-price-row p{padding:14px;margin:0;font-size:12px;line-height:1.55;color:#314b6b}
.zpc-cursado-cta{display:flex;align-items:center;justify-content:center;gap:10px;text-align:center;background:linear-gradient(180deg,#ff862b,#f46a0d);border-radius:13px;color:#fff!important;text-decoration:none!important;font-size:19px;font-weight:800;padding:17px 15px;box-shadow:0 7px 17px rgba(244,106,13,.2)}
.zpc-cursado-cta:hover{background:#df5900}
@media(max-width:550px){.zpc-cursado-main{padding:20px 18px 23px}.zpc-cursado-price-row{grid-template-columns:1fr}.zpc-cursado-price{padding:15px}.zpc-cursado-price-row p{padding:12px 14px}.zpc-cursados-heading{margin-bottom:18px}}
