/*
Theme Name: YOORDASH Delivery
Theme URI: https://yoordash.local/themes/yoordash-delivery
Author: YOORDASH
Author URI: https://yoordash.local
Description: A DoorDash-inspired multi-county delivery marketplace theme for WordPress.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: yoordash-delivery
*/

:root { --red:#eb1700; --ink:#1b1b1b; --muted:#666; --bg:#f6f6f6; --line:#e8e8e8; --card:#fff; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; }
a { color: inherit; }
.site-header { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); padding: 12px 18px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.brand { font-weight: 900; display: flex; align-items: center; gap: 10px; }
.logo { width: 34px; height: 34px; border-radius: 10px; background: var(--red); color: #fff; display: grid; place-items: center; font-size: 13px; }
.address { min-width: 340px; border: 1px solid var(--line); border-radius: 999px; padding: 10px 14px; }
.button { border: 0; border-radius: 999px; padding: 10px 14px; font-weight: 700; cursor: pointer; text-decoration: none; display: inline-block; }
.button-primary { background: var(--red); color: #fff; }
.button-soft { background: #efefef; color: var(--ink); }

.page-wrap { max-width: 1400px; margin: 0 auto; padding: 18px; }
.hero { background: linear-gradient(130deg,#fff,#fff4f2); border:1px solid var(--line); border-radius:16px; padding:16px; }
.hero h1 { margin: 0 0 8px; }
.hero p { margin: 0; color: var(--muted); }
.alert { margin-top:10px; background:#fff2f1; border:1px solid #ffd8d5; color:#7f2018; padding:9px 11px; border-radius:10px; }

.content-grid { display: grid; gap: 18px; grid-template-columns: 1fr 370px; margin-top: 16px; }
.panel { border: 1px solid var(--line); border-radius: 14px; background: #fff; padding: 14px; }
.merchant-list { display: grid; gap: 10px; }
.merchant-item { border: 1px solid var(--line); border-radius: 10px; padding: 10px; }
.muted { color: var(--muted); font-size: .92rem; }

.post-list article { border-bottom: 1px solid var(--line); padding: 12px 0; }
.site-footer { margin-top: 24px; padding: 20px; text-align: center; color: var(--muted); border-top: 1px solid var(--line); }

@media (max-width: 1070px) {
  .content-grid { grid-template-columns: 1fr; }
  .address { min-width: 0; width: 100%; }
}
