/*
Theme Name: Patitas Express
Author: Patitas Express
Version: 1.0.0
Text Domain: patitas-express
*/

:root {
  --cream: #f5f1ea;
  --ink: #3f3a36;
  --sage: #7f9475;
  --pale: #c7ceb0;
  --rose: #d98e98;
  --white: #fffdf8;
  --line: #ddd5c7;
  --muted: #8d857d;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.45;
}
a { color: inherit; text-decoration: none; }
.px-wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.px-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(245, 241, 234, .92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.px-nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.px-brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 1.2rem; }
.px-mark {
  width: 42px; height: 42px; display: grid; place-items: center;
  border-radius: 999px; background: var(--rose); color: var(--white);
  border: 4px solid var(--white); box-shadow: 0 0 0 1px var(--line);
  font-weight: 900;
}
.px-menu { display: flex; align-items: center; gap: 18px; color: var(--muted); font-weight: 700; }
.px-actions { display: flex; align-items: center; gap: 10px; }
.px-btn, .button, button, input[type="submit"], .wp-block-button__link {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 18px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--white); color: var(--ink);
  font-weight: 800; cursor: pointer;
}
.px-btn.primary, .button.alt, .wp-block-button__link {
  background: var(--ink); color: var(--white); border-color: var(--ink);
}
.px-hero {
  min-height: 520px; display: grid; align-items: center;
  background:
    linear-gradient(100deg, rgba(245,241,234,.98) 0%, rgba(245,241,234,.82) 52%, rgba(199,206,176,.44) 100%),
    radial-gradient(circle at 84% 28%, rgba(217,142,152,.38), transparent 28rem);
  border-bottom: 1px solid var(--line);
}
.px-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr); gap: 48px; align-items: center; }
.px-kicker { color: var(--sage); font-weight: 900; letter-spacing: 0; text-transform: uppercase; font-size: .8rem; }
h1 { font-size: clamp(3.3rem, 6vw, 6.8rem); line-height: .9; margin: 14px 0 20px; letter-spacing: 0; }
.px-lead { color: var(--muted); font-size: 1.25rem; max-width: 620px; }
.px-hero-card {
  min-height: 390px; border-radius: 36px; border: 1px solid var(--line);
  background: linear-gradient(140deg, var(--pale), #ece8d9 55%, var(--white));
  position: relative; overflow: hidden;
}
.px-road { position: absolute; inset: 0; opacity: .42; }
.px-road span { position: absolute; display: block; height: 34px; border-radius: 999px; background: #74806f; }
.px-road span:nth-child(1) { width: 82%; transform: rotate(-13deg); left: -8%; top: 42%; }
.px-road span:nth-child(2) { width: 78%; transform: rotate(103deg); left: 16%; top: 34%; }
.px-road span:nth-child(3) { width: 54%; transform: rotate(-64deg); left: 44%; top: 28%; background: var(--sage); }
.px-bubble {
  position: absolute; background: rgba(255,253,248,.92); border: 1px solid var(--line);
  border-radius: 28px; padding: 20px 22px; box-shadow: 0 18px 40px rgba(63,58,54,.08);
}
.px-bubble.one { left: 26px; top: 28px; font-size: 1.15rem; font-weight: 900; }
.px-bubble.two { right: 26px; bottom: 32px; }
.px-pin {
  position: absolute; left: 48%; top: 35%; transform: translate(-50%, -50%);
  width: 94px; height: 94px; display: grid; place-items: center;
  border-radius: 999px; background: var(--rose); color: var(--white);
  border: 6px solid var(--white); font-size: 2rem; font-weight: 900;
}
.px-section { padding: 58px 0; }
.px-section h2 { font-size: clamp(2rem, 4vw, 3.6rem); line-height: 1; margin: 0 0 18px; }
.px-muted { color: var(--muted); }
.px-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.px-tile, .product, .woocommerce ul.products li.product {
  background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 22px;
}
.px-tile strong { display: block; margin: 0 0 8px; font-size: 1.1rem; }
.px-band { background: var(--ink); color: var(--white); padding: 40px 0; }
.px-band .px-muted { color: #d8d0c8; }
.woocommerce ul.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; padding: 0; }
.woocommerce ul.products li.product { width: auto; margin: 0; list-style: none; }
.woocommerce div.product { width: min(1120px, calc(100% - 32px)); margin: 40px auto; }
.price { color: var(--sage); font-weight: 900; }
input, select, textarea {
  width: 100%; min-height: 44px; border: 1px solid var(--line); border-radius: 8px;
  background: var(--white); color: var(--ink); padding: 10px 12px;
}
.px-footer { border-top: 1px solid var(--line); padding: 34px 0; color: var(--muted); }
@media (max-width: 820px) {
  .px-nav { flex-wrap: wrap; padding: 12px 0; }
  .px-menu { order: 3; width: 100%; overflow-x: auto; padding-bottom: 4px; }
  .px-hero-grid, .px-grid, .woocommerce ul.products { grid-template-columns: 1fr; }
  .px-hero { min-height: auto; padding: 46px 0; }
  .px-hero-card { min-height: 320px; }
  h1 { font-size: 4rem; }
}