/*
Theme Name: Durga Food Delivery
Theme URI: https://example.com/
Author: Durga Food Delivery
Description: Hindi mobile-first marketplace theme for Durga Food Delivery with customer, restaurant partner and delivery partner dashboard entry cards.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: durga-food-theme-hindi
*/
:root{--orange:#f36b35;--ink:#292522;--muted:#706761;--cream:#fff7f0;--line:#eee5de}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fff;color:var(--ink);font-family:system-ui,-apple-system,"Noto Sans Devanagari","Nirmala UI",sans-serif;line-height:1.65}a{color:var(--orange);text-decoration:none}a:hover{text-decoration:underline}.site-header{background:#fff;position:sticky;top:0;z-index:99;border-bottom:1px solid var(--line)}.header-inner{max-width:1200px;margin:auto;padding:12px 20px;display:flex;align-items:center;justify-content:space-between;gap:22px}.brand{display:flex;align-items:center;gap:10px;color:var(--ink);font-size:22px;font-weight:900}.brand-mark{width:44px;height:44px;border-radius:14px;background:var(--orange);display:grid;place-items:center;color:#fff;font-size:25px;box-shadow:0 5px 14px #f36b3544}.custom-logo{max-height:52px;width:auto}.main-nav ul{display:flex;gap:24px;align-items:center;list-style:none;margin:0;padding:0}.main-nav a{color:#413832;font-size:14px;font-weight:700}.header-cta,.button-primary{background:var(--orange);color:#fff!important;padding:10px 17px;border-radius:10px;font-weight:800}.menu-toggle{display:none;background:#fff;border:1px solid var(--line);border-radius:9px;padding:8px 12px;font-size:21px}.site-main{min-height:55vh}.page-wrap{max-width:1120px;margin:0 auto;padding:38px 20px 60px}.entry-title{font-size:clamp(28px,4vw,42px);line-height:1.2}.entry-content{font-size:17px}.entry-content img{max-width:100%;height:auto;border-radius:12px}.site-footer{background:#28221f;color:#eee3dc;padding:32px 20px}.footer-inner{max-width:1120px;margin:auto;display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}.footer-inner p{margin:0}.footer-inner a{color:#ffc4a5}.home-intro{max-width:1120px;margin:0 auto;padding:32px 20px 0}.home-intro h1{font-size:clamp(28px,4vw,44px);margin:0}.home-intro p{color:var(--muted)}.home-content{max-width:1200px;margin:auto}.pagination{padding:20px}.screen-reader-text{position:absolute;left:-9999px}@media(max-width:760px){.header-inner{padding:10px 13px;flex-wrap:wrap}.brand{font-size:18px}.brand-mark{width:38px;height:38px}.menu-toggle{display:block;margin-left:auto}.header-cta{display:none}.main-nav{display:none;width:100%;order:5}.main-nav.is-open{display:block}.main-nav ul{display:flex;flex-direction:column;align-items:stretch;gap:0}.main-nav li{border-top:1px solid var(--line)}.main-nav a{display:block;padding:12px 4px}.page-wrap{padding:25px 14px 42px}.entry-content{font-size:16px}}

.home-hero{max-width:1400px;margin:0 auto;position:relative;background:#fff3e8;overflow:hidden}.hero-art{display:block;width:100%;height:auto;max-height:680px;object-fit:cover}.hero-copy{position:absolute;left:5%;bottom:9%;max-width:38%;background:rgba(255,255,255,.94);padding:22px 26px;border-radius:18px;box-shadow:0 8px 30px #40200e22}.hero-copy h1{font-size:clamp(25px,3vw,44px);line-height:1.2;margin:0 0 10px}.hero-copy p{font-size:clamp(14px,1.4vw,19px)}@media(max-width:760px){.hero-copy{position:static;max-width:none;border-radius:0;padding:20px}.hero-art{object-fit:contain}.hero-copy h1{font-size:28px}}

/* Marketplace dashboard landing sections */
.marketplace-links{max-width:1200px;margin:28px auto;padding:0 20px 28px}.marketplace-heading{display:flex;align-items:end;justify-content:space-between;gap:15px;margin-bottom:16px}.marketplace-heading h2{font-size:clamp(24px,3vw,34px);margin:0;color:#28221f}.marketplace-heading p{margin:4px 0 0;color:#706761}.dashboard-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.dashboard-card{overflow:hidden;border:1px solid #eee5de;border-radius:18px;background:#fff;box-shadow:0 8px 25px #3b24120c;transition:transform .2s,box-shadow .2s}.dashboard-card:hover{transform:translateY(-3px);box-shadow:0 14px 32px #3b24121a}.dashboard-card-art{height:150px;display:grid;place-items:center;background:linear-gradient(135deg,#fff0e5,#ffe0c7);color:#e85d19}.dashboard-card-art svg{width:118px;height:100px}.dashboard-card:nth-child(2) .dashboard-card-art{background:linear-gradient(135deg,#fff5cf,#ffe8a0);color:#a65b00}.dashboard-card:nth-child(3) .dashboard-card-art{background:linear-gradient(135deg,#e5f8ed,#c8f0d7);color:#16834a}.dashboard-card-body{padding:18px}.dashboard-card h3{margin:0 0 6px;font-size:21px;color:#292522}.dashboard-card p{margin:0 0 15px;color:#706761;font-size:15px}.dashboard-card .button-primary{display:inline-block}.marketplace-categories{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}.marketplace-categories span{background:#fff7f0;border:1px solid #f6e4d7;border-radius:999px;padding:8px 13px;font-weight:700;font-size:14px}.site-header{box-shadow:0 3px 16px #44210b0b}.header-cta{white-space:nowrap}.home-hero{margin-bottom:0}.home-hero .hero-art{width:100%;display:block}.home-hero .hero-copy{background:rgba(255,255,255,.96)}.site-main{overflow:hidden}.entry-content .durga-marketplace,.entry-content .durga-registration,.entry-content .durga-customer-dashboard,.entry-content .durga-shopkeeper-dashboard,.entry-content .durga-delivery-dashboard{max-width:1200px;margin-left:auto;margin-right:auto}@media(max-width:850px){.dashboard-grid{grid-template-columns:1fr 1fr}.dashboard-card-art{height:125px}}@media(max-width:560px){.marketplace-links{padding:0 13px 22px;margin-top:20px}.marketplace-heading{display:block}.dashboard-grid{grid-template-columns:1fr;gap:13px}.dashboard-card{display:grid;grid-template-columns:110px minmax(0,1fr)}.dashboard-card-art{height:100%;min-height:155px}.dashboard-card-art svg{width:88px}.dashboard-card-body{padding:14px}.dashboard-card h3{font-size:18px}.dashboard-card p{font-size:14px}.dashboard-card .button-primary{font-size:14px;padding:8px 10px}}

/* Hindi navigation and marketplace theme refinements */
.brand-name{display:flex;flex-direction:column;line-height:1.05}.brand-name small{font-size:12px;font-weight:700;color:#777}.main-nav a{white-space:nowrap}.site-main{width:100%;overflow:clip}.skip-link{position:absolute;left:-9999px;top:auto}.skip-link:focus{left:10px;top:10px;background:#fff;padding:10px;z-index:9999}.main-nav .current-menu-item>a,.main-nav .current_page_item>a{color:var(--orange)}.footer-inner nav{display:flex;gap:15px;flex-wrap:wrap}.home-extra{max-width:1160px;margin:0 auto 40px;padding:26px 20px;background:#fff7f0;border-radius:18px}.home-extra h2{margin-top:0}.dashboard-card-art{font-size:68px}.text-link{display:inline-block;margin:12px 0 0 10px;font-weight:700}.main-nav ul ul{display:none}.main-nav li{position:relative}.main-nav a{display:inline-block;padding:8px 0}.page-wrap{min-height:40vh}.entry-content .durga-marketplace,.entry-content .durga-registration,.entry-content .durga-customer-dashboard,.entry-content .durga-shopkeeper-dashboard,.entry-content .durga-delivery-dashboard{padding:12px}.site-footer nav a{color:#ffe1d1}@media(max-width:760px){.main-nav ul{padding:4px 0 12px}.main-nav a{padding:12px 4px;display:block}.header-inner{gap:10px}.brand-name{font-size:18px}.menu-toggle span{font-size:14px}.home-extra{margin:18px 13px 28px;padding:20px}.hero-copy{box-shadow:none}.footer-inner nav{flex-direction:column;gap:8px}}

/* Rich decorative layouts for all marketplace and account pages */
body:not(.home) .site-main{background:linear-gradient(180deg,#fffaf6 0,#fff 340px)}
.page-wrap{position:relative;background:transparent}
.page-wrap>article{background:#fff;border:1px solid #f1e4da;border-radius:24px;padding:clamp(18px,3vw,34px);box-shadow:0 14px 40px rgba(88,43,14,.07);position:relative;overflow:hidden}
.page-wrap>article:before{content:"";display:block;height:6px;position:absolute;left:0;right:0;top:0;background:linear-gradient(90deg,#f36b35,#ffb347,#72c58a)}
.entry-title{color:#292522;margin:8px 0 22px;font-weight:900;letter-spacing:-.5px}
.entry-content{color:#51443d}.entry-content h2{font-size:clamp(23px,3vw,32px);margin:28px 0 12px;color:#30251f}.entry-content h3{font-size:21px;color:#49352a}.entry-content p{margin:10px 0 16px}.entry-content a:not(.button-primary){font-weight:750}
.entry-content .dmp-wrap{max-width:none;margin:0;padding:0}.dmp-wrap{--dmp-orange:#f36b35;background:transparent;border-radius:20px}.dmp-hero{background:radial-gradient(circle at 90% 15%,#ffb66e 0,transparent 25%),linear-gradient(125deg,#2c1b13,#6d351a 56%,#f36b35);border-radius:24px;box-shadow:0 18px 40px #7e351b25;position:relative;overflow:hidden}.dmp-hero:after{content:"🍛  🍕  🥗";position:absolute;right:22px;bottom:7px;font-size:clamp(22px,4vw,42px);opacity:.5;letter-spacing:8px;pointer-events:none}.dmp-hero>*{position:relative;z-index:1}.dmp-grid{gap:20px}.dmp-card,.dmp-panel{border:1px solid #f0e1d5;border-radius:20px;box-shadow:0 10px 28px rgba(63,35,18,.07);transition:transform .2s,box-shadow .2s}.dmp-card:hover{transform:translateY(-4px);box-shadow:0 18px 34px rgba(63,35,18,.13)}.dmp-card img{height:190px}.dmp-card>div{padding:18px}.dmp-card h3{font-size:20px;color:#30231c}.dmp-panel{padding:clamp(16px,3vw,26px);background:linear-gradient(145deg,#fff,#fffaf5)}.dmp-panel h3{font-size:22px;color:#34251e;border-bottom:1px solid #f1e3d8;padding-bottom:12px}.dmp-stats>div{background:linear-gradient(135deg,#fff0e4,#fffaf6);border:1px solid #f5ddcb;padding:20px;border-radius:16px;box-shadow:inset 4px 0 #f36b35}.dmp-stats>div:nth-child(2){background:linear-gradient(135deg,#fff7d8,#fffdf5);border-color:#f4e8b8;box-shadow:inset 4px 0 #f4b740}.dmp-stats>div:nth-child(3){background:linear-gradient(135deg,#e7f8ee,#fbfffc);border-color:#d1efdc;box-shadow:inset 4px 0 #39a96b}.dmp-stats b{font-size:30px;color:#30251f}.dmp-wrap input,.dmp-wrap select,.dmp-wrap textarea{font:inherit}.dmp-wrap input:focus,.dmp-wrap select:focus,.dmp-wrap textarea:focus{outline:3px solid #f36b3528;border-color:#f36b35}.dmp-wrap button,.dmp-add{background:linear-gradient(135deg,#f36b35,#e84f18);border-radius:11px;padding:12px 18px;box-shadow:0 5px 12px #e85d192b;transition:transform .15s}.dmp-wrap button:hover,.dmp-add:hover{transform:translateY(-1px);filter:brightness(.97)}.dmp-notice{border:1px solid #b8e6c9;background:#edfff3;color:#17633b;padding:15px 18px;border-radius:12px}.dmp-table{border-radius:12px;overflow:hidden}.dmp-table th{background:#fff0e5;color:#63351f}.dmp-table tr:nth-child(even) td{background:#fffaf6}.dmp-checkout{border:1px solid #f2ddcc;background:linear-gradient(135deg,#fff5ec,#fffdf9);border-radius:20px}.dmp-customer-form{background:#fff;border:1px solid #f0e1d5;border-radius:20px;padding:clamp(18px,3vw,28px);box-shadow:0 12px 32px #55260d0c}.dmp-wrap label{color:#4a3327}.dmp-wrap label input:not([type=checkbox]),.dmp-wrap label textarea,.dmp-wrap label select{min-height:44px;border-color:#e7d8cc;border-radius:10px}.dmp-wrap form{margin-top:14px}.dmp-wrap .dmp-panel form{background:#fff;padding:16px;border:1px solid #f4e8df;border-radius:14px}.dmp-wrap .dmp-panel a{font-weight:750}.entry-content ul:not(.menu),.entry-content ol{padding-left:24px}.entry-content li{margin:7px 0}.entry-content blockquote{margin:20px 0;padding:18px 22px;background:#fff5ec;border-left:5px solid #f36b35;border-radius:0 14px 14px 0}.site-footer{background:radial-gradient(circle at 80% 0,#60331e,#28221f 48%);border-top:5px solid #f36b35}.site-footer strong{color:#fff}.site-footer a:hover{color:#fff;text-decoration:underline}
@media(max-width:760px){.page-wrap{padding:20px 12px 34px}.page-wrap>article{border-radius:17px;padding:18px 13px}.dmp-hero{padding:22px 18px;margin-bottom:20px}.dmp-hero:after{display:none}.dmp-grid{gap:12px}.dmp-card img{height:125px}.dmp-card>div{padding:12px}.dmp-panel{padding:15px;border-radius:15px}.dmp-stats{gap:9px}.dmp-stats>div{padding:14px}.dmp-stats b{font-size:24px}.dmp-table th,.dmp-table td{padding:8px;font-size:14px}}


/* Dashboard page picture banner: account, shopkeeper, delivery partner and registration */
.durga-dashboard-page{padding-top:24px}
.durga-dashboard-banner{position:relative;display:flex;align-items:center;min-height:245px;overflow:hidden;border-radius:24px;margin:0 0 24px;background:#4b2414;box-shadow:0 16px 38px rgba(80,39,17,.18)}
.durga-dashboard-banner>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 45%;opacity:.72}
.durga-dashboard-banner:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(39,22,15,.92),rgba(67,32,15,.66) 48%,rgba(243,107,53,.08))}
.durga-dashboard-banner-copy{position:relative;z-index:1;max-width:620px;padding:30px 36px;color:#fff}
.durga-dashboard-banner-copy .durga-banner-kicker{display:inline-block;background:#fff2e8;color:#b84213;font-size:12px;font-weight:900;letter-spacing:1.4px;border-radius:999px;padding:6px 11px}
.durga-dashboard-banner-copy h2{font-size:clamp(28px,4vw,42px);line-height:1.15;margin:12px 0;color:#fff}
.durga-dashboard-banner-copy p{font-size:16px;color:#fff7f0;margin:0 0 17px}
.durga-dashboard-banner-copy a{display:inline-block;background:#fff;color:#b84213!important;padding:10px 16px;border-radius:10px;font-weight:900;text-decoration:none}
.durga-dashboard-banner-copy a:hover{background:#fff1e6}
.durga-dashboard-page .page-wrap>article{margin-top:0}
@media(max-width:650px){.durga-dashboard-banner{min-height:210px;border-radius:17px;margin-bottom:16px}.durga-dashboard-banner-copy{padding:22px 18px}.durga-dashboard-banner-copy h2{font-size:28px}.durga-dashboard-banner-copy p{font-size:14px;max-width:290px}.durga-dashboard-banner>img{object-position:60% center}}

/* Dashboard layout fix: remove homepage-style hero and place supporting visuals at the sides */
.durga-dashboard-layout{max-width:1500px;margin:26px auto 48px;padding:0 18px;display:grid;grid-template-columns:minmax(145px,220px) minmax(0,1fr) minmax(145px,220px);gap:22px;align-items:start}
.durga-dashboard-content{width:100%;max-width:none;margin:0;padding:0;min-width:0}
.durga-dashboard-content>article{margin:0}
.durga-dashboard-side{position:sticky;top:95px;overflow:hidden;border-radius:18px;background:#fff0e5;border:1px solid #f1dfd1;box-shadow:0 8px 24px #49250d12}
.durga-dashboard-side img{display:block;width:100%;height:230px;object-fit:cover}
.durga-side-left img{object-position:20% center}
.durga-side-right img{object-position:80% center;transform:scaleX(-1)}
.durga-side-caption{padding:14px;display:flex;flex-direction:column;gap:3px;color:#38281e}
.durga-side-caption strong{font-size:16px}.durga-side-caption span{font-size:13px;color:#77665b}
.durga-dashboard-page .durga-dashboard-banner{display:none!important}
@media(max-width:900px){.durga-dashboard-layout{grid-template-columns:1fr;gap:12px;margin:16px auto 30px;padding:0 13px}.durga-dashboard-side{position:relative;top:auto;display:grid;grid-template-columns:100px minmax(0,1fr);align-items:center}.durga-dashboard-side img{height:100px}.durga-side-caption{padding:10px}.durga-side-right{display:none}.durga-dashboard-content{padding:0}.durga-dashboard-content>article{padding:18px}}

/* Strictly isolate all dashboard pages from homepage-only sections */
body.page-my-account .home-hero,
body.page-my-account .hero,
body.page-my-account .hero-section,
body.page-my-account .marketplace-links,
body.page-my-account .marketplace-categories,
body.page-my-account .home-extra,
body.page-my-account .offers-section,
body.page-my-account .special-offers,
body.page-my-account .food-categories,
body.page-my-account .category-section,
body.page-my-account .home-offers,
body.page-my-account .front-page-section,
body.page-my-account section[class*="offer"],
body.page-my-account div[class*="offer"],
body.page-my-account section[class*="categor"],
body.page-my-account div[class*="categor"],
body.page-shopkeeper-dashboard .home-hero,
body.page-shopkeeper-dashboard .marketplace-links,
body.page-shopkeeper-dashboard .marketplace-categories,
body.page-shopkeeper-dashboard .home-extra,
body.page-shopkeeper-dashboard section[class*="offer"],
body.page-shopkeeper-dashboard div[class*="offer"],
body.page-delivery-dashboard .home-hero,
body.page-delivery-dashboard .marketplace-links,
body.page-delivery-dashboard .marketplace-categories,
body.page-delivery-dashboard .home-extra,
body.page-delivery-dashboard section[class*="offer"],
body.page-delivery-dashboard div[class*="offer"] { display:none !important; }
body.page-my-account .durga-dashboard-layout,
body.page-shopkeeper-dashboard .durga-dashboard-layout,
body.page-delivery-dashboard .durga-dashboard-layout { display:grid !important; }
