/*
Theme Name: Pueblo Viejo
Template: twentytwentyfive
Description: Child theme of Twenty Twenty-Five for Pueblo Viejo Porter. Warm Mexican restaurant palette, local fonts, mobile order bar.
Author: Rebelution Technologies
Version: 1.0.0
Text Domain: pueblo-viejo
*/

/* Papel picado style accent strip */
.pv-papel { height: 10px; background: repeating-linear-gradient(90deg, var(--wp--preset--color--accent-1) 0 40px, var(--wp--preset--color--accent-2) 40px 80px, var(--wp--preset--color--accent-3) 80px 120px, var(--wp--preset--color--accent-4) 120px 160px); }

.pv-topbar { font-size: .85rem; }
.pv-topbar a { color: inherit; text-decoration: none; }
.pv-topbar p { margin: 0; }

.site-header.pv-header { position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 10px rgba(43,26,18,.12); }
.pv-header .wp-block-site-title a { text-decoration: none; }
.pv-header .wp-block-navigation a { text-decoration: none; font-weight: 600; }
.pv-header .wp-block-navigation a:hover { color: var(--wp--preset--color--accent-1); }

.wp-block-button.is-style-pv-outline-light .wp-block-button__link { background: transparent; border: 2px solid #fff; color: #fff; }
.wp-block-button__link { transition: transform .15s ease, box-shadow .15s ease; }
.wp-block-button__link:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0,0,0,.18); }

.pv-hero h1 { text-shadow: 0 2px 16px rgba(0,0,0,.45); }
.pv-hero p { text-shadow: 0 1px 8px rgba(0,0,0,.5); }

.pv-card { border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 4px 18px rgba(43,26,18,.10); height: 100%; }
.pv-card .wp-block-image img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.pv-gallery .wp-block-image img { aspect-ratio: 1/1; object-fit: cover; border-radius: 12px; }

table.pv-hours { width: 100%; border-collapse: collapse; font-size: 1rem; }
table.pv-hours th, table.pv-hours td { padding: .45rem .25rem; border-bottom: 1px dashed rgba(43,26,18,.2); text-align: left; }
table.pv-hours th { font-weight: 600; }
table.pv-hours td { text-align: right; }
table.pv-hours tr.is-today th, table.pv-hours tr.is-today td { color: var(--wp--preset--color--accent-1); font-weight: 700; }
.has-contrast-background-color table.pv-hours tr.is-today th, .has-contrast-background-color table.pv-hours tr.is-today td { color: var(--wp--preset--color--accent-2); }
.has-contrast-background-color table.pv-hours th, .has-contrast-background-color table.pv-hours td { border-color: rgba(255,248,236,.2); }
.pv-flag { display: inline-block; font-size: .7rem; text-transform: uppercase; letter-spacing: .05em; background: #FFE08A; color: #5a3b00; border-radius: 4px; padding: 0 .35rem; margin-left: .3rem; vertical-align: middle; }

.pv-map iframe { width: 100%; height: 380px; border: 0; border-radius: 14px; display: block; }
address.pv-address { font-style: normal; }
address.pv-address a, a.pv-phone { color: inherit; }

/* Placeholder boxes: delete each one once the owner confirms */
.pv-placeholder { border: 2px dashed #C98A00; background: #FFF4D6; color: #5a3b00; border-radius: 10px; padding: .9rem 1.1rem; font-size: .95rem; }
.pv-placeholder strong:first-child { text-transform: uppercase; letter-spacing: .04em; }

.pv-menu-section { border-top: 3px solid var(--wp--preset--color--accent-2); padding-top: 1rem; }

/* Mobile sticky order/call bar */
.wp-block-buttons.pv-mobile-bar { display: none; }
@media (max-width: 781px) {
	.wp-block-buttons.pv-mobile-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; margin: 0 !important; gap: 0 !important; box-shadow: 0 -4px 14px rgba(0,0,0,.2); }
	.pv-mobile-bar .wp-block-button { flex: 1 1 50%; margin: 0; }
	.pv-mobile-bar .wp-block-button__link { width: 100%; border-radius: 0 !important; padding: 1rem .5rem; }
	body { padding-bottom: 58px; }
	.pv-header .pv-header-order { display: none; }
	.pv-hero { min-height: 78vh !important; }
	.pv-map iframe { height: 300px; }
}

/* Contact form */
.wpcf7 label { display: block; font-weight: 600; margin-bottom: .8rem; }
.wpcf7 input[type=text], .wpcf7 input[type=email], .wpcf7 input[type=tel], .wpcf7 textarea { width: 100%; max-width: 100%; box-sizing: border-box; margin-top: .3rem; padding: .7rem .8rem; border: 1px solid rgba(43,26,18,.3); border-radius: 8px; background: #fff; font: inherit; font-weight: 400; }
.wpcf7 textarea { height: 140px; }
.wpcf7 input[type=submit] { background: var(--wp--preset--color--accent-1); color: #fff; border: 0; border-radius: 999px; padding: .8rem 1.6rem; font-weight: 700; cursor: pointer; }

/* Contact Form 7: date, select, number, checkboxes (Event Hall Request) */
.wpcf7 input[type=date], .wpcf7 input[type=number], .wpcf7 input[type=tel], .wpcf7 select { width: 100%; max-width: 100%; box-sizing: border-box; margin-top: .3rem; padding: .7rem .8rem; border: 1px solid rgba(43,26,18,.3); border-radius: 8px; background: #fff; font: inherit; font-weight: 400; }
.wpcf7 .wpcf7-checkbox, .wpcf7 .wpcf7-acceptance { display: block; font-weight: 400; margin-top: .35rem; }
.wpcf7 .wpcf7-list-item { display: block; margin: .3rem 0; }
.wpcf7 .wpcf7-list-item-label { font-weight: 400; }

/* Cantaritos late-night page: slightly tighter gold-on-dark hours table already inherited */
.pv-cantaritos-note { letter-spacing: .04em; text-transform: uppercase; font-weight: 700; font-size: .85rem; }

/* Event-hall photos: crop tall shots to a consistent 4:3 so sections stay compact */
.pv-hall-photo img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; border-radius: 12px; }


/* Flyers: show the full 4:5 poster; do not crop */
.pv-flyer img { width: 100%; height: auto; border-radius: 12px; box-shadow: 0 8px 24px rgba(43,26,18,.18); }

/* Home hiring strip: white links on the red bar (theme links are otherwise red) */
.pv-hiring-banner { letter-spacing: .04em; }
.pv-hiring-banner, .pv-hiring-banner p { color: #fff !important; }
.pv-hiring-banner a { font-weight: 700; color: #fff !important; text-decoration: underline; text-underline-offset: 3px; }
.pv-hiring-banner a:hover { color: #FFF8EC !important; }

/* Job application: file input */
.wpcf7 input[type=file] { display: block; margin-top: .35rem; font: inherit; font-weight: 400; }