/*
Theme Name: Rangoli
Theme URI: https://wordpress.org/themes/rangoli/
Author: Rangoli Themes
Description: A warm, festive theme for sweet shops, bakeries and local food stores. Devanagari-ready.
Version: 2.1.0
Requires at least: 6.2
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: rangoli
*/

:root {
  --maroon: #7a1f2b;
  --saffron: #f28c28;
  --gold: #d9a441;
  --cream: #fff8ec;
  --ink: #2b1a14;
  --soft: #6b5446;
  --line: #f0dfc7;
  --leaf: #2f6b3a;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 18px/1.8 "Noto Sans Devanagari", "Nirmala UI", "Mangal", "Segoe UI", Arial, sans-serif;
}
a { color: var(--maroon); }
a:hover { color: #561520; }
img, svg { max-width: 100%; display: block; }
h1, h2, h3 { color: var(--maroon); line-height: 1.35; }
h1 { font-size: 2.3rem; margin: 0 0 .4em; }
h2 { font-size: 1.6rem; margin: 1.5em 0 .5em; }
h3 { font-size: 1.2rem; margin: 1.2em 0 .3em; }
p { margin: 0 0 1em; }

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 10px; top: 10px; background: #fff; padding: 8px 12px; z-index: 9; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 760px; }

.festive-bar { background: var(--maroon); color: #ffe7c2; text-align: center; font-size: .9rem; padding: 7px 12px; }

.shop-head { background: #fff; border-bottom: 4px solid var(--saffron); box-shadow: 0 2px 10px rgba(122,31,43,.06); }
.head-row { display: flex; justify-content: space-between; align-items: center; gap: 18px; min-height: 84px; flex-wrap: wrap; }
.shop-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--maroon); }
.shop-logo b { display: block; font-size: 1.45rem; line-height: 1.1; }
.shop-logo small { color: var(--soft); font-size: .85rem; }
.logo-diya { width: 34px; height: 34px; border-radius: 0 0 50% 50%; background: var(--gold); position: relative; flex: none; margin-top: 14px; }
.logo-diya::after { content: ""; position: absolute; left: 12px; top: -14px; width: 10px; height: 16px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; background: var(--saffron); }
.shop-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; flex-wrap: wrap; }
.shop-nav a { display: block; padding: 6px 14px; border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 600; }
.shop-nav a:hover { background: #fdeccf; color: var(--maroon); }

.site-main { padding-bottom: 50px; }

.hero { background: radial-gradient(circle at 80% 30%, #ffe2b0 0, var(--cream) 55%); padding: 56px 0 48px; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero .lead { color: var(--soft); font-size: 1.15rem; }
.badge { display: inline-block; background: #fdeccf; color: var(--maroon); border-radius: 999px; padding: 3px 14px; font-size: .85rem; font-weight: 700; margin-bottom: 12px; }
.notice { background: #fff; border: 1px dashed var(--saffron); border-radius: 12px; padding: 12px 16px; font-size: .95rem; color: var(--soft); margin-top: 18px; }
.btn { display: inline-block; background: var(--maroon); color: #fff; text-decoration: none; padding: 10px 22px; border-radius: 999px; font-weight: 700; }
.btn:hover { background: #561520; color: #fff; }

.section { padding-top: 46px; }
.section-title { text-align: center; margin: 0 0 6px; }
.section-sub { text-align: center; color: var(--soft); margin-bottom: 26px; }

.page-head { padding: 44px 0 18px; }
.page-head .lead { color: var(--soft); font-size: 1.1rem; }
.crumbs { font-size: .85rem; color: var(--soft); margin-bottom: 8px; }
.crumbs a { color: var(--soft); }

.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: center; }
.info-box { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; }
.info-box h3 { margin-top: 0; }

.post-list { list-style: none; padding: 0; margin: 0; }
.post-list li { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; margin-bottom: 14px; }
.post-list h3 { margin: 0 0 .3em; }
.post-list h3 a { text-decoration: none; }
.post-list .date { color: var(--soft); font-size: .85rem; }
.entry ul, .entry ol { padding-left: 1.4em; }
.entry li { margin-bottom: .4em; }
.tip { background: #fdeccf; border-radius: 12px; padding: 14px 18px; margin: 1.3em 0; }

.form-box { max-width: 600px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px 24px; }
.form-box .field { margin-bottom: 14px; }
.form-box label { display: block; font-weight: 700; font-size: .95rem; margin-bottom: 4px; }
.form-box input, .form-box textarea { width: 100%; border: 1px solid #e3cba8; border-radius: 10px; padding: 9px 12px; font: inherit; background: #fffdf8; }
.form-box textarea { min-height: 130px; }
.form-box button { background: var(--maroon); color: #fff; border: 0; border-radius: 999px; padding: 10px 24px; font: inherit; font-weight: 700; cursor: pointer; }
.small { color: var(--soft); font-size: .88rem; }

.lost { text-align: center; padding: 80px 0 30px; }
.lost h1 { font-size: 3.2rem; }

.shop-foot { background: var(--maroon); color: #f7dcc0; margin-top: 50px; padding: 40px 0 18px; font-size: .95rem; }
.foot-cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 30px; }
.foot-name { color: #fff; font-weight: 800; font-size: 1.25rem; margin-bottom: 6px; }
.foot-head { color: var(--gold); font-weight: 700; }
.foot-small { font-size: .85rem; color: #e9c3a3; }
.shop-foot ul { list-style: none; padding: 0; margin: 0; }
.shop-foot li { margin-bottom: 5px; }
.shop-foot a { color: #fff3e3; text-decoration: none; }
.shop-foot a:hover { text-decoration: underline; }
.foot-legal { border-top: 1px solid #94404b; margin-top: 22px; padding-top: 12px; font-size: .82rem; color: #e1b79a; }

@media (max-width: 860px) {
  .hero-grid, .story-grid { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  h1 { font-size: 1.8rem; }
  .foot-cols { grid-template-columns: 1fr; }
  .shop-nav a { padding: 4px 10px; font-size: .95rem; }
}
