/* Ángel Puchi · HORECA v0.3.1 · Tipografía corporativa */
:root{--ph-font:"Gotham Rounded",sans-serif;--ph-ink:#24211e;--ph-beige:#eee8da;--ph-beige-2:#f5f0e7;--ph-taupe:#8d8170;--ph-line:#ddd3c4;--ph-paper:#fff;--ph-muted:#77716a;--ph-danger:#9e3a2f;--ph-success:#25683a;--ph-max:1120px}
*{box-sizing:border-box}.ph-portal-body{margin:0;background:#fff;color:var(--ph-ink);font-family:var(--ph-font);font-size:16px;line-height:1.55}.ph-portal-body button,.ph-portal-body input,.ph-portal-body select,.ph-portal-body textarea{font-family:var(--ph-font)!important}.ph-portal-body a{color:inherit}.ph-portal-header{height:300px;background:var(--ph-beige);position:relative;display:flex;align-items:flex-start;justify-content:center;padding:28px 52px}.ph-brand{display:flex;flex-direction:column;align-items:center;text-decoration:none;max-width:390px;text-align:center}.ph-brand img{display:block;max-width:330px;max-height:160px;width:auto;height:auto;object-fit:contain}.ph-brand>span{font-family:var(--ph-font)!important;font-weight:600;font-style:normal;letter-spacing:.02em;font-size:24px;margin-top:8px}.ph-logo-fallback{font-family:"Brush Script MT","Segoe Script",cursive!important;font-size:72px!important;line-height:1!important;font-weight:500!important;font-style:normal!important;letter-spacing:-.05em!important}.ph-header-order{position:absolute;right:7%;top:55px;background:var(--ph-taupe);color:#fff!important;text-decoration:none;border-radius:999px;padding:11px 30px;font-size:19px;font-weight:700;letter-spacing:.02em}.ph-header-order:hover{opacity:.9}.ph-private-nav{border-bottom:1px solid #eee;background:#fff}.ph-private-nav-inner{max-width:var(--ph-max);margin:0 auto;min-height:72px;display:flex;align-items:center;justify-content:space-between;gap:28px;padding:0 18px}.ph-hello{text-transform:none;font-size:15px}.ph-private-nav nav{display:flex;align-items:center;gap:22px}.ph-private-nav nav a{text-decoration:none;font-size:14px;font-weight:650}.ph-private-nav nav a:hover{text-decoration:underline}.ph-nav-cart b{display:inline-grid;place-items:center;min-width:22px;height:22px;border-radius:50%;background:var(--ph-ink);color:#fff;font-size:11px;margin-left:4px}.ph-public-main,.ph-private-main{max-width:var(--ph-max);margin:0 auto;padding:74px 22px 90px}.ph-breadcrumb{font-size:13px;color:#5e5953;margin-bottom:22px}.ph-breadcrumb a{text-decoration:none}.ph-eyebrow{display:block;text-transform:uppercase;letter-spacing:.14em;font-size:12px;font-weight:800;color:var(--ph-muted);margin-bottom:7px}.ph-page-heading h1,.ph-welcome-row h1,.ph-request-intro h1{font-size:38px;line-height:1.15;margin:0 0 22px;letter-spacing:-.02em}.ph-section-block{margin-top:58px}.ph-section-title{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:18px}.ph-section-title h2{margin:0;font-size:28px}.ph-section-title a{font-size:14px}.ph-portal-footer{border-top:1px solid #eee;max-width:var(--ph-max);margin:0 auto;padding:26px 22px 45px;display:flex;justify-content:space-between;gap:20px;font-size:12px;color:#777}.ph-portal-footer a{text-decoration:none}

/* Login / solicitud */
.ph-login-layout{padding-top:95px}.ph-auth-grid{display:grid;grid-template-columns:1fr 1fr;gap:120px}.ph-auth-grid h1,.ph-auth-grid h2{font-size:32px;margin:0 0 30px}.ph-auth-card{border:1px solid #d9d5ce;padding:24px;background:#fff}.ph-auth-card label:not(.ph-check),.ph-request-form label:not(.ph-check),.ph-final-form>label{display:block;margin-bottom:16px}.ph-auth-card label>span,.ph-request-form label>span,.ph-final-form>label>span,.ph-variation-select>span{display:block;font-size:12px;font-weight:750;margin-bottom:6px}.ph-auth-card input[type=text],.ph-auth-card input[type=password],.ph-request-form input,.ph-request-form textarea,.ph-final-form input,.ph-final-form textarea,.ph-variation-select select{width:100%;border:1px solid #cfcac2;background:#fff;padding:12px 13px;border-radius:0;font:inherit}.ph-check{display:flex!important;align-items:flex-start;gap:8px;font-size:12px;margin:8px 0 14px}.ph-check input{width:auto!important;margin-top:3px}.ph-portal-button,.ph-secondary-button,.ph-table-button{display:inline-flex;align-items:center;justify-content:center;border:0;text-decoration:none;background:var(--ph-taupe);color:#fff!important;padding:11px 20px;min-height:42px;font-weight:750;cursor:pointer;font-family:inherit}.ph-portal-button.ph-dark{background:#29241f}.ph-secondary-button{background:#fff;color:var(--ph-ink)!important;border:1px solid var(--ph-line)}.ph-small-link{display:block;margin-top:10px;font-size:11px;text-decoration:none}.ph-request-teaser{min-height:235px}.ph-request-teaser p{margin-top:0;margin-bottom:20px}.ph-request-page{max-width:900px}.ph-request-intro{max-width:720px;margin-bottom:36px}.ph-request-form{border:1px solid var(--ph-line);padding:30px}.ph-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.ph-span-2{grid-column:1/-1}.ph-honeypot{position:absolute;left:-99999px;width:1px;height:1px;overflow:hidden}.ph-privacy{margin:18px 0}.ph-portal-notice{border:1px solid var(--ph-line);background:#faf8f3;padding:18px 20px;margin-bottom:24px}.ph-portal-notice.ph-error{border-color:#e4bdb7;background:#fff5f3;color:#7d2d25}.ph-portal-notice.ph-success{border-color:#b8d6bf;background:#f4fbf5;color:#245c34}

/* navegación/dash */
.ph-welcome-row{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:38px}.ph-quick-actions{display:flex;gap:14px}.ph-quick-actions a{font-size:14px}.ph-dashboard-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:58px}.ph-dashboard-card{border:1px solid var(--ph-line);padding:24px;text-decoration:none;min-height:150px;display:flex;flex-direction:column;background:#fff}.ph-dashboard-card>span{font-size:12px;color:var(--ph-muted);margin-bottom:24px}.ph-dashboard-card strong{font-size:20px;margin-bottom:7px}.ph-dashboard-card small{font-size:13px;color:var(--ph-muted);line-height:1.4}.ph-dashboard-card:hover{background:var(--ph-beige-2)}

/* franja productos */
.ph-product-strip-section{margin:54px 0}.ph-product-strip-section h2{display:inline-block;background:#ded0b8;border-radius:999px;padding:7px 20px;font-size:24px;line-height:1.2;margin:0 0 25px}.ph-product-strip-section.is-compact-title{display:inline-block;vertical-align:top;margin:38px 46px 24px 0}.ph-product-strip-section.is-compact-title h2{font-size:20px}.ph-product-strip-section.is-compact-title .ph-product-strip,.ph-product-strip-section.is-compact-title .ph-empty-strip{display:none}.ph-product-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px}.ph-product-strip>a{text-decoration:none;text-align:center}.ph-strip-image{height:160px;display:flex;align-items:center;justify-content:center;margin-bottom:10px}.ph-strip-image img{max-width:100%;max-height:150px;width:auto;height:auto;object-fit:contain}.ph-product-strip strong{display:block;font-size:14px}.ph-empty-strip{color:var(--ph-muted);font-size:14px;margin-top:-8px}

/* tienda */
.ph-shop-main{padding-top:105px}.ph-shop-tools{display:grid;grid-template-columns:1fr 285px;gap:30px;align-items:center;border-top:1px solid #ddd;border-bottom:0;padding-top:30px}.ph-category-nav{display:flex;gap:10px 23px;flex-wrap:wrap;align-items:center}.ph-category-nav a{text-decoration:none;font-weight:750;font-size:16px}.ph-category-nav a.is-active{background:#ded0b8;border-radius:999px;padding:8px 22px}.ph-search-form{border:1px solid #d9d4cd;border-radius:999px;display:flex;align-items:center;height:48px;overflow:hidden}.ph-search-form input{border:0;background:transparent;outline:0;flex:1;padding:0 12px 0 18px;font:inherit;font-size:14px;min-width:0}.ph-search-form button{border:0;background:transparent;font-size:24px;padding:0 14px;cursor:pointer;color:#777}.ph-results-row{display:flex;justify-content:space-between;align-items:center;gap:30px;margin:50px 0 15px;color:#777;font-size:14px}.ph-order-form select{border:0;background:#fff;color:#777;padding:10px 28px 10px 10px;font:inherit}.ph-shop-grid-section{margin-top:42px}.ph-product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:45px 30px}.ph-store-product{min-width:0}.ph-store-image{display:flex;height:250px;align-items:center;justify-content:center;text-decoration:none;background:#fff}.ph-store-image img{max-width:100%;max-height:230px;width:auto;height:auto;object-fit:contain}.ph-store-product-body{text-align:center;padding:12px 5px}.ph-store-product-body h3{font-size:17px;margin:0 0 4px}.ph-store-product-body h3 a{text-decoration:none}.ph-store-product-body>span{font-size:11px;color:#888}.ph-add-to-order{margin-top:16px}.ph-add-to-order.is-compact{max-width:240px;margin:15px auto 0}.ph-add-controls{display:flex;gap:8px;justify-content:center}.ph-add-controls input{width:66px;border:1px solid #d2ccc4;padding:8px;font:inherit;text-align:center}.ph-add-controls button{border:0;background:var(--ph-taupe);color:#fff;padding:8px 14px;font-weight:700;cursor:pointer;font-family:inherit}.ph-variation-select{display:block;text-align:left;margin-bottom:9px}.ph-variation-select select{font-size:13px;padding:8px}.ph-pagination{display:flex;justify-content:center;gap:6px;margin-top:45px}.ph-pagination a{min-width:38px;height:38px;border:1px solid var(--ph-line);display:grid;place-items:center;text-decoration:none}.ph-pagination a.is-active{background:var(--ph-taupe);color:#fff}

/* producto */
.ph-product-detail{display:grid;grid-template-columns:1.05fr .95fr;gap:70px;align-items:start;margin-top:35px}.ph-product-detail-image{min-height:420px;display:flex;align-items:center;justify-content:center}.ph-product-detail-image img{max-width:100%;max-height:500px;width:auto;height:auto;object-fit:contain}.ph-product-detail-info h1{font-size:42px;line-height:1.05;margin:8px 0 12px}.ph-ref{font-size:13px;color:#777;margin-bottom:24px}.ph-product-description{font-size:15px;margin-bottom:22px}.ph-price-message,.ph-payment-box,.ph-address-box{background:var(--ph-beige-2);padding:16px 18px;margin:20px 0}.ph-subtle{font-size:12px;color:#777;margin-top:18px}.ph-stock-message{padding:12px;background:#fff4f1;color:var(--ph-danger);margin-top:20px}

/* checkout */
.ph-checkout-main{max-width:1000px}.ph-checkout-products{border:1px solid var(--ph-line);border-radius:18px;overflow:hidden;margin:26px 0 28px}.ph-checkout-table{width:100%;border-collapse:collapse}.ph-checkout-table th{background:var(--ph-beige-2);font-size:12px;letter-spacing:.1em;text-transform:uppercase}.ph-checkout-table th,.ph-checkout-table td{padding:18px 20px;border-right:1px solid var(--ph-line);text-align:left}.ph-checkout-table th:last-child,.ph-checkout-table td:last-child{border-right:0}.ph-checkout-table td{border-top:1px solid var(--ph-line)}.ph-checkout-table tbody tr:first-child td{border-top:0}.ph-checkout-table input[type=number]{width:80px;border:1px solid #ddd;padding:12px;font:inherit}.ph-remove-link{border:0;background:none;color:var(--ph-danger);text-decoration:underline;font:inherit;font-weight:700;cursor:pointer}.ph-checkout-update{padding:18px 20px;border-top:1px solid var(--ph-line)}.ph-complete-order{border:1px solid var(--ph-line);border-radius:18px;padding:30px;margin-top:22px}.ph-complete-order h2{font-size:40px;line-height:1.1;margin:7px 0 10px}.ph-lead{font-weight:600;max-width:760px}.ph-final-form{max-width:800px}.ph-final-form>label{margin-top:22px}.ph-final-form small{display:block;font-size:12px;color:#777;margin-top:5px}.ph-payment-box strong{display:block;font-size:20px;margin-bottom:5px}.ph-payment-box p{margin:0;font-size:14px}.ph-final-actions{display:flex;align-items:center;gap:18px;margin-top:26px}.ph-final-actions>span{font-size:13px;color:#777}.ph-clear-order{text-align:right;margin-top:18px}

/* pedidos */
.ph-orders-table-wrap{border:1px solid var(--ph-line);overflow-x:auto}.ph-orders-table{width:100%;border-collapse:collapse}.ph-orders-table th,.ph-orders-table td{padding:16px 14px;border-right:1px solid var(--ph-line);border-bottom:1px solid var(--ph-line);text-align:left;font-size:14px}.ph-orders-table th{background:#f7f5f1;color:#777;font-size:12px}.ph-orders-table th:last-child,.ph-orders-table td:last-child{border-right:0}.ph-orders-table tr:last-child td{border-bottom:0}.ph-table-button{background:#fff!important;color:var(--ph-ink)!important;border:1px solid #8c8780;padding:8px 18px;min-height:auto}.ph-order-summary-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin:28px 0}.ph-order-summary-grid>div{background:var(--ph-beige-2);padding:18px}.ph-order-summary-grid span{display:block;font-size:11px;color:#777;text-transform:uppercase;letter-spacing:.08em;margin-bottom:5px}.ph-order-detail-items{border:1px solid var(--ph-line)}.ph-order-detail-items>div{display:flex;justify-content:space-between;gap:20px;padding:16px 18px;border-bottom:1px solid var(--ph-line)}.ph-order-detail-items>div:last-child{border-bottom:0}.ph-order-detail-items small{display:block;color:#777;margin-top:4px}.ph-note-box{background:var(--ph-beige-2);padding:20px;margin-top:22px}.ph-note-box p{margin-bottom:0}

/* confirmación */
.ph-confirm-card{max-width:800px;margin:10px auto;text-align:center;border:1px solid var(--ph-line);padding:45px}.ph-confirm-check{width:62px;height:62px;border-radius:50%;display:grid;place-items:center;background:#e9f4eb;color:var(--ph-success);font-size:32px;font-weight:800;margin:0 auto 18px}.ph-confirm-card h1{font-size:36px;margin:7px 0 12px}.ph-payment-note{background:var(--ph-beige-2);padding:16px;margin:24px 0}.ph-confirm-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap}

/* Shortcodes antiguos */
.ph-legacy-box{max-width:760px;margin:30px auto;padding:24px;border:1px solid var(--ph-line);font-family:var(--ph-font)}.ph-btn{display:inline-block;padding:10px 15px;background:var(--ph-ink);color:#fff!important;text-decoration:none;font-weight:700}

@media(max-width:900px){.ph-portal-header{height:240px}.ph-brand img{max-width:270px;max-height:130px}.ph-header-order{right:28px;top:34px;font-size:15px}.ph-private-nav-inner{align-items:flex-start;flex-direction:column;padding-top:15px;padding-bottom:15px;gap:10px}.ph-private-nav nav{gap:13px;flex-wrap:wrap}.ph-auth-grid{grid-template-columns:1fr;gap:55px}.ph-dashboard-cards{grid-template-columns:1fr}.ph-product-strip{grid-template-columns:repeat(2,1fr)}.ph-shop-tools{grid-template-columns:1fr}.ph-search-form{max-width:360px}.ph-product-grid{grid-template-columns:repeat(2,1fr)}.ph-product-detail{grid-template-columns:1fr;gap:30px}.ph-order-summary-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){.ph-portal-header{height:205px;padding:24px 16px;justify-content:flex-start}.ph-brand{max-width:225px}.ph-brand img{max-width:210px;max-height:105px}.ph-brand>span{font-size:18px}.ph-logo-fallback{font-size:48px!important}.ph-header-order{right:16px;top:28px;padding:9px 16px;font-size:13px}.ph-public-main,.ph-private-main{padding:48px 16px 65px}.ph-private-nav nav a{font-size:12px}.ph-page-heading h1,.ph-welcome-row h1,.ph-request-intro h1{font-size:31px}.ph-welcome-row{align-items:flex-start;flex-direction:column}.ph-auth-grid h1,.ph-auth-grid h2{font-size:28px}.ph-auth-card,.ph-request-form{padding:18px}.ph-form-grid{grid-template-columns:1fr}.ph-span-2{grid-column:auto}.ph-product-strip{grid-template-columns:1fr 1fr;gap:18px}.ph-strip-image{height:120px}.ph-product-strip-section h2{font-size:19px}.ph-product-strip-section.is-compact-title{display:block;margin:26px 0 12px}.ph-category-nav{gap:9px 14px}.ph-category-nav a{font-size:14px}.ph-results-row{align-items:flex-start;flex-direction:column;margin-top:32px}.ph-product-grid{grid-template-columns:1fr 1fr;gap:30px 16px}.ph-store-image{height:170px}.ph-store-image img{max-height:160px}.ph-store-product-body h3{font-size:14px}.ph-add-to-order.is-compact{display:none}.ph-product-detail-info h1{font-size:34px}.ph-checkout-products{border-radius:12px}.ph-checkout-table,.ph-checkout-table tbody,.ph-checkout-table tr,.ph-checkout-table td{display:block;width:100%}.ph-checkout-table thead{display:none}.ph-checkout-table tr{border-bottom:1px solid var(--ph-line);padding:10px 0}.ph-checkout-table tr:last-child{border-bottom:0}.ph-checkout-table td{border:0!important;display:flex;justify-content:space-between;gap:16px;padding:8px 15px}.ph-checkout-table td:before{content:attr(data-label);font-size:11px;text-transform:uppercase;color:#777;font-weight:700}.ph-checkout-table td:last-child:before{content:""}.ph-complete-order{padding:20px}.ph-complete-order h2{font-size:32px}.ph-final-actions{align-items:flex-start;flex-direction:column}.ph-orders-table,.ph-orders-table tbody,.ph-orders-table tr,.ph-orders-table td{display:block;width:100%}.ph-orders-table thead{display:none}.ph-orders-table tr{padding:10px 0;border-bottom:1px solid var(--ph-line)}.ph-orders-table td{border:0!important;display:flex;justify-content:space-between;gap:14px;padding:8px 14px}.ph-orders-table td:before{content:attr(data-label);font-size:11px;font-weight:700;color:#777;text-transform:uppercase}.ph-order-summary-grid{grid-template-columns:1fr 1fr}.ph-confirm-card{padding:30px 18px}.ph-portal-footer{padding:22px 16px 35px;flex-direction:column}}
@media(max-width:430px){.ph-brand{max-width:180px}.ph-brand img{max-width:175px}.ph-header-order{padding:8px 12px;font-size:12px}.ph-product-grid{grid-template-columns:1fr}.ph-product-strip{grid-template-columns:1fr}.ph-order-summary-grid{grid-template-columns:1fr}}

/* v0.3.2 · La intranet carga wp_head() para reutilizar las fuentes reales de la web.
   Estas reglas se imprimen después del CSS del theme para conservar el aspecto HORECA. */
html body.ph-portal-body,
html body.ph-portal-body *:not(.ph-logo-fallback):not(.ph-logo-fallback *){font-family:"Gotham Rounded",sans-serif}
html body.ph-portal-body .ph-brand>span{font-family:"Gotham Rounded",sans-serif!important;font-weight:600!important;font-style:normal!important}
html body.ph-portal-body{margin:0!important;background:#fff!important;color:var(--ph-ink)!important}
