/* La Pastaiola website. Brand tokens taken from the original Shopify "Refresh" theme. */
:root {
  --navy: #0e1b4d;
  --steel: #305f80;
  --blue: #4770db;
  --red: #e32402;
  --bg: #ffffff;
  --bg-soft: #eff0f5;
  --line: rgba(14, 27, 77, 0.14);
  --text: #0e1b4d;
  --muted: #4b5578;
  --radius-card: 18px;
  --radius-media: 20px;
  --head: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Questrial", "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--steel); }
a:hover { color: var(--navy); }
h1, h2, h3 { font-family: var(--head); font-weight: 700; line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding-inline: 20px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 10; }

/* header */
.announce { background: var(--steel); color: #fff; text-align: center; font-size: .9rem; padding: 8px 16px; }
.announce a { color: #fff; }
.site-header { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 5; }
.header-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding-block: 10px; }
.brand img { width: 150px; height: auto; }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 10px; }

/* language switcher */
.lang { position: relative; }
.lang summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 10px; border: 1px solid var(--line); border-radius: 40px; color: var(--navy); font-size: .9rem; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover, .lang[open] summary { border-color: var(--steel); }
.lang-panel { position: absolute; right: 0; top: calc(100% + 6px); z-index: 20; list-style: none; margin: 0; padding: 6px; min-width: 170px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 10px 28px rgba(14,27,77,.16); }
.lang-panel a { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 10px; color: var(--navy); text-decoration: none; }
.lang-panel a b { font-family: var(--head); font-size: .78rem; width: 22px; color: var(--steel); }
.lang-panel a:hover { background: var(--bg-soft); }
.lang-panel a[aria-current] { background: var(--bg-soft); font-weight: 700; }
@media (max-width: 480px) { .lang summary span { display: none; } .lang summary { padding: 0 9px; } .brand img { width: 120px; } .header-cta { padding: 0 14px; } }
.desktop-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 26px; padding-bottom: 12px; }
.desktop-nav a, .menu-panel a { color: var(--navy); text-decoration: none; font-size: .98rem; }
.desktop-nav a:hover, .desktop-nav a[aria-current] { text-decoration: underline; text-underline-offset: 5px; }
.menu { justify-self: start; }
.menu summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: grid; place-content: center; gap: 5px; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span { display: block; width: 22px; height: 2px; background: var(--navy); }
.menu-panel { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; padding: 8px 20px 16px; }
.menu-panel a { padding: 12px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .menu { visibility: hidden; } .brand img { width: 180px; } }
@media (max-width: 899px) { .desktop-nav { display: none; } }

/* buttons */
.pill { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 26px; border-radius: 40px; background: var(--blue); color: #fff; border: 1px solid var(--blue); text-decoration: none; font: 1rem var(--body); cursor: pointer; transition: transform .15s, box-shadow .15s; }
.pill:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(14,27,77,.18); }
.pill-sm { min-height: 38px; padding: 0 18px; font-size: .92rem; }
.pill-outline { background: transparent; color: var(--steel); border-color: var(--steel); }
.pill-outline:hover { color: var(--navy); }
.pill-light { background: #fff; color: var(--navy); border-color: #fff; }
.pill-light:hover { color: var(--navy); }
.pill-ghost { background: transparent; color: #fff; border-color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.actions.center { justify-content: center; }

/* hero */
.hero { background-color: var(--navy); background-position: center; background-size: cover; background-repeat: no-repeat; color: #fff; min-height: min(78vh, 640px); display: grid; align-items: end; }
.hero-sm { min-height: 340px; }
.hero-inner { max-width: 1200px; margin: 0 auto; width: 100%; padding: 48px 20px; }
.hero h1 { max-width: 760px; color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,.25); }

/* sections */
.section { padding-block: clamp(40px, 6vw, 80px); }
.section-title { text-align: center; margin-bottom: 1.2em; }
.section-title.small { text-align: left; margin-top: 2.5em; }
.band { background: var(--steel); color: #fff; }
.band h2, .band a:not(.pill) { color: #fff; }
.band-light { background: var(--bg-soft); }
.page-title { margin-bottom: .5em; }
.lead { font-size: 1.12rem; color: var(--muted); }
.band .lead { color: #fff; }
.split { display: grid; gap: clamp(24px, 5vw, 56px); align-items: center; }
.split > img { border-radius: var(--radius-media); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.split-tight { margin-top: 40px; }
@media (min-width: 820px) { .split { grid-template-columns: 1fr 1fr; } }
.crumbs { font-size: .92rem; color: var(--muted); }

/* tiles and features */
.tiles { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-bottom: 28px; }
.tile { position: relative; border-radius: var(--radius-media); overflow: hidden; aspect-ratio: 1; text-decoration: none; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.tile:hover img { transform: scale(1.04); }
.tile span { position: absolute; left: 14px; bottom: 14px; background: #fff; color: var(--navy); padding: 8px 18px; border-radius: 40px; font-family: var(--head); font-weight: 700; }
.three { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.feature { text-decoration: none; color: var(--text); border: 1px solid var(--line); border-radius: var(--radius-card); overflow: hidden; background: #fff; }
.feature img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.feature h3, .feature p { padding-inline: 18px; }
.feature h3 { margin-top: 16px; }
.feature p { color: var(--muted); }

/* product grid */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 8px; }
.chips a { border: 1px solid var(--line); border-radius: 40px; padding: 8px 16px; text-decoration: none; color: var(--navy); font-size: .95rem; }
.chips a:hover { border-color: var(--steel); }
.shop-group { padding-top: 28px; scroll-margin-top: 150px; }
.shop-group h2 a { color: var(--navy); text-decoration: none; }
.grid { display: grid; gap: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 720px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card { border: 1px solid var(--line); border-radius: var(--radius-card); overflow: hidden; text-decoration: none; color: var(--text); background: #fff; display: flex; flex-direction: column; transition: box-shadow .2s; }
.card:hover { box-shadow: 0 8px 22px rgba(14,27,77,.12); color: var(--text); }
.card-media { aspect-ratio: 1; background: var(--bg-soft); }
.card-media { overflow: hidden; }
.card-media img { width: 100%; aspect-ratio: 1; height: auto; object-fit: cover; }
.card-body { padding: 12px 14px 16px; }
.card-body h3 { font-size: 1rem; margin-bottom: .3em; }
.price { color: var(--steel); margin: 0; }
.price-lg { font-size: 1.35rem; margin-bottom: 14px; }

/* product page */
.product { display: grid; gap: clamp(24px, 4vw, 48px); }
@media (min-width: 860px) { .product { grid-template-columns: 1.05fr 1fr; align-items: start; } }
.product-media img { border-radius: var(--radius-media); width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--bg-soft); }
.variants { border-collapse: collapse; width: 100%; margin: 0 0 18px; }
.variants caption { text-align: left; font-family: var(--head); font-weight: 700; padding-bottom: 6px; }
.variants th, .variants td { border-top: 1px solid var(--line); padding: 8px 0; text-align: left; font-weight: 400; }
.variants td { text-align: right; color: var(--steel); }
.note { background: var(--bg-soft); border-radius: 12px; padding: 10px 14px; font-size: .95rem; }
.order-box { border: 1px solid var(--line); border-radius: var(--radius-card); padding: 18px 20px; margin: 18px 0 24px; background: #fff; }
.order-box p { margin: 0; }
.rte ul { padding-left: 1.2em; }
.rte li { margin-bottom: .4em; }

/* contact, hours, quotes, gallery */
.contact-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); margin-top: 24px; }
.panel { border: 1px solid var(--line); border-radius: var(--radius-card); padding: 18px 20px; background: #fff; }
.panel h2 { font-size: 1.1rem; }
.big { font-size: 1.15rem; word-break: break-word; }
.hours { border-collapse: collapse; width: 100%; max-width: 340px; font-size: .95rem; }
.hours th, .hours td { text-align: left; padding: 3px 0; font-weight: 400; }
.hours td { text-align: right; }
.quotes { display: grid; gap: 14px; }
blockquote { margin: 0; background: #fff; border-radius: var(--radius-card); border: 1px solid var(--line); padding: 18px 20px; font-size: 1.05rem; }
cite { display: block; margin-top: 8px; font-style: normal; color: var(--muted); font-size: .92rem; }
.gallery { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); margin: 24px 0 28px; }
@media (min-width: 720px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.gallery img { border-radius: 14px; aspect-ratio: 1; object-fit: cover; width: 100%; }

/* request form */
.request { display: grid; gap: 14px; grid-template-columns: 1fr; margin-top: 16px; }
@media (min-width: 640px) { .request { grid-template-columns: 1fr 1fr; } .field-wide, .request .hint, .request button { grid-column: 1 / -1; } }
.field label { display: block; font-size: .92rem; margin-bottom: 4px; }
.field input, .field textarea { width: 100%; font: inherit; color: var(--text); border: 1px solid var(--line); border-radius: 12px; padding: 11px 13px; background: #fff; }
.field input:focus, .field textarea:focus, .pill:focus-visible, a:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.request button { justify-self: start; }
.hint { font-size: .9rem; color: var(--muted); }

/* footer */
.site-footer { background: var(--navy); color: #fff; padding-top: 48px; margin-top: 0; }
.site-footer a { color: #fff; }
.site-footer h2 { font-size: 1.05rem; color: #fff; }
.footer-grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); padding-bottom: 32px; }
.site-footer .hours { color: #fff; }
.plain { list-style: none; padding: 0; margin: 0; }
.plain li { margin-bottom: 6px; }
.legal { border-top: 1px solid rgba(255,255,255,.18); padding-block: 16px 24px; font-size: .88rem; color: rgba(255,255,255,.75); }
