/*
Theme Name: OrderWithMe Namibia
Theme URI: https://orderwithmenamibia.com
Author: OrderWithMe Namibia
Author URI: https://orderwithmenamibia.com
Description: A premium multi-vendor marketplace theme for OrderWithMe Namibia. Supports WooCommerce, Dokan Multivendor, and a custom Driver Delivery Management System.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: Proprietary
License URI: https://orderwithmenamibia.com/license
Text Domain: owm-namibia
Tags: e-commerce, multivendor, woocommerce, dokan, marketplace, namibia
*/

/* ============================================================
   BRAND DESIGN TOKENS
   Primary:   #C4622D (Rust / Terracotta — from "Namibia" wordmark)
   Dark:      #1A1A1A (Logo background / main dark)
   Sandy:     #C8A87E (Hand/roof shape in logo)
   Green:     #006633 (Namibian flag green)
   Red:       #CC0000 (Namibian flag red)
   ============================================================ */

:root {
  --owm-primary:        #C4622D;
  --owm-primary-dark:   #A8491A;
  --owm-primary-light:  #E88050;
  --owm-primary-fade:   #F9EDE6;
  --owm-dark:           #1A1A1A;
  --owm-dark-alt:       #2C2C2C;
  --owm-sandy:          #C8A87E;
  --owm-sandy-light:    #F0E8DC;
  --owm-green:          #006633;
  --owm-green-light:    #E8F5EE;
  --owm-green-dark:     #004D26;
  --owm-red:            #CC0000;
  --owm-red-light:      #FFECEC;
  --owm-white:          #FFFFFF;
  --owm-bg:             #F9F5F0;
  --owm-bg-alt:         #F2EDE6;
  --owm-card:           #FFFFFF;
  --owm-border:         #E8E0D8;
  --owm-border-dark:    #D4C8BC;
  --owm-text:           #1A1A1A;
  --owm-text-secondary: #5A4A3A;
  --owm-text-muted:     #8A7A6A;
  --owm-shadow-sm:      0 1px 4px rgba(0,0,0,.08);
  --owm-shadow:         0 4px 16px rgba(0,0,0,.10);
  --owm-shadow-lg:      0 8px 32px rgba(0,0,0,.14);
  --owm-radius-sm:      6px;
  --owm-radius:         10px;
  --owm-radius-lg:      16px;
  --owm-radius-xl:      24px;
  --owm-transition:     all .22s ease;
  --owm-font:           'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --owm-font-heading:   'Poppins', var(--owm-font);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--owm-font);
  font-size: 15px;
  line-height: 1.65;
  color: var(--owm-text);
  background: var(--owm-bg);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--owm-primary); text-decoration: none; transition: var(--owm-transition); }
a:hover { color: var(--owm-primary-dark); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
input, textarea, select, button { font-family: inherit; font-size: inherit; }
h1,h2,h3,h4,h5,h6 { font-family: var(--owm-font-heading); font-weight: 600; line-height: 1.2; color: var(--owm-dark); }

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.container--wide { max-width: 1440px; }
.container--narrow { max-width: 960px; }
.section-pad { padding: 72px 0; }
.section-pad--sm { padding: 48px 0; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.grid { display: grid; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }
.gap-4 { gap: 32px; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.text-primary { color: var(--owm-primary); }
.text-muted { color: var(--owm-text-muted); }
.text-sm { font-size: 13px; }
.text-lg { font-size: 18px; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: 20px; font-size: 12px; font-weight: 600; letter-spacing: .02em;
}
.badge--primary { background: var(--owm-primary-fade); color: var(--owm-primary-dark); }
.badge--success { background: var(--owm-green-light); color: var(--owm-green-dark); }
.badge--warning { background: #FFF8E6; color: #8A6200; }
.badge--danger  { background: var(--owm-red-light); color: var(--owm-red); }
.badge--dark    { background: var(--owm-dark); color: var(--owm-white); }
.star-rating { color: #F5A623; font-size: 13px; letter-spacing: 1px; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 24px; border-radius: var(--owm-radius); font-size: 15px; font-weight: 600;
  cursor: pointer; border: 2px solid transparent; transition: var(--owm-transition);
  white-space: nowrap; line-height: 1;
}
.btn--primary {
  background: var(--owm-primary); color: var(--owm-white); border-color: var(--owm-primary);
}
.btn--primary:hover { background: var(--owm-primary-dark); border-color: var(--owm-primary-dark); color: #fff; }
.btn--outline {
  background: transparent; color: var(--owm-primary); border-color: var(--owm-primary);
}
.btn--outline:hover { background: var(--owm-primary); color: var(--owm-white); }
.btn--dark {
  background: var(--owm-dark); color: var(--owm-white); border-color: var(--owm-dark);
}
.btn--dark:hover { background: var(--owm-dark-alt); color: #fff; }
.btn--white {
  background: var(--owm-white); color: var(--owm-primary); border-color: var(--owm-white);
}
.btn--white:hover { background: var(--owm-sandy-light); color: var(--owm-primary-dark); }
.btn--green {
  background: var(--owm-green); color: var(--owm-white); border-color: var(--owm-green);
}
.btn--green:hover { background: var(--owm-green-dark); color: #fff; }
.btn--lg { padding: 14px 32px; font-size: 16px; }
.btn--sm { padding: 7px 16px; font-size: 13px; }
.btn--full { width: 100%; }
.btn--icon { width: 40px; height: 40px; padding: 0; border-radius: 50%; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* ============================================================
   FORM ELEMENTS
   ============================================================ */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 13px; font-weight: 600; color: var(--owm-text-secondary); margin-bottom: 6px; text-transform: uppercase; letter-spacing: .04em; }
.form-control {
  width: 100%; padding: 11px 14px; border: 1.5px solid var(--owm-border);
  border-radius: var(--owm-radius-sm); background: var(--owm-white); color: var(--owm-text);
  font-size: 15px; transition: var(--owm-transition); outline: none;
}
.form-control:focus { border-color: var(--owm-primary); box-shadow: 0 0 0 3px var(--owm-primary-fade); }
.form-control::placeholder { color: var(--owm-text-muted); }
select.form-control { cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 100px; }
.form-control--error { border-color: var(--owm-red); }
.form-hint { font-size: 12px; color: var(--owm-text-muted); margin-top: 4px; }

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--owm-card); border-radius: var(--owm-radius-lg);
  border: 1px solid var(--owm-border); overflow: hidden;
  transition: var(--owm-transition);
}
.card:hover { box-shadow: var(--owm-shadow); transform: translateY(-2px); }
.card__img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.card__body { padding: 16px 20px; }
.card__title { font-size: 15px; font-weight: 600; margin-bottom: 6px; color: var(--owm-text); }
.card__subtitle { font-size: 13px; color: var(--owm-text-muted); }
.card__footer { padding: 12px 20px; border-top: 1px solid var(--owm-border); background: var(--owm-bg); }

/* ============================================================
   TOP BAR
   ============================================================ */
.topbar {
  background: var(--owm-dark); color: rgba(255,255,255,.8);
  font-size: 12.5px; padding: 7px 0;
}
.topbar a { color: rgba(255,255,255,.8); }
.topbar a:hover { color: var(--owm-sandy); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topbar__links { display: flex; align-items: center; gap: 20px; }
.topbar__sep { opacity: .3; }

/* ============================================================
   HEADER / NAVBAR
   ============================================================ */
.site-header {
  background: var(--owm-white); border-bottom: 1px solid var(--owm-border);
  position: sticky; top: 0; z-index: 1000; box-shadow: var(--owm-shadow-sm);
}
.header__inner {
  display: grid; align-items: center; gap: 16px; padding: 14px 0;
  grid-template-columns: auto 1fr auto;
}
.header__logo img { height: 54px; width: auto; }
.header__logo .logo-text { font-family: var(--owm-font-heading); font-size: 22px; font-weight: 700; color: var(--owm-dark); }
.header__logo .logo-text span { color: var(--owm-primary); }

/* Search */
.header__search { position: relative; }
.header__search-form { display: flex; border: 2px solid var(--owm-border); border-radius: var(--owm-radius-lg); overflow: hidden; transition: var(--owm-transition); }
.header__search-form:focus-within { border-color: var(--owm-primary); box-shadow: 0 0 0 3px var(--owm-primary-fade); }
.header__search-cat {
  padding: 0 14px; background: var(--owm-bg); border-right: 1px solid var(--owm-border);
  font-size: 13px; font-weight: 600; color: var(--owm-text-secondary); cursor: pointer; border: none;
  white-space: nowrap;
}
.header__search-input { flex: 1; padding: 12px 16px; border: none; outline: none; font-size: 14px; background: transparent; }
.header__search-btn { padding: 0 20px; background: var(--owm-primary); color: var(--owm-white); border: none; cursor: pointer; font-size: 18px; transition: var(--owm-transition); }
.header__search-btn:hover { background: var(--owm-primary-dark); }

/* Header Actions */
.header__actions { display: flex; align-items: center; gap: 6px; }
.header__action-btn {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 8px 12px; border-radius: var(--owm-radius-sm); background: transparent;
  border: none; cursor: pointer; color: var(--owm-text); transition: var(--owm-transition);
  position: relative; font-size: 12px; font-weight: 600;
}
.header__action-btn:hover { background: var(--owm-bg); color: var(--owm-primary); }
.header__action-btn .icon { font-size: 22px; line-height: 1; }
.header__action-btn .count {
  position: absolute; top: 4px; right: 8px;
  background: var(--owm-primary); color: white; font-size: 10px; font-weight: 700;
  width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-nav { background: var(--owm-dark); }
.nav__inner { display: flex; align-items: center; gap: 0; }
.nav__item { position: relative; }
.nav__link {
  display: flex; align-items: center; gap: 6px;
  padding: 14px 18px; color: rgba(255,255,255,.88); font-size: 14px; font-weight: 600;
  transition: var(--owm-transition); white-space: nowrap; border-bottom: 3px solid transparent;
}
.nav__link:hover, .nav__item:hover > .nav__link { color: var(--owm-sandy); border-bottom-color: var(--owm-primary); }
.nav__link--highlight { color: var(--owm-primary) !important; }
.nav__item--all { background: var(--owm-primary); }
.nav__item--all .nav__link { color: white; }
.nav__item--all:hover { background: var(--owm-primary-dark); }

/* Mega menu */
.mega-menu {
  position: absolute; top: 100%; left: 0; min-width: 220px;
  background: var(--owm-white); border-radius: 0 0 var(--owm-radius) var(--owm-radius);
  box-shadow: var(--owm-shadow-lg); border: 1px solid var(--owm-border); border-top: 3px solid var(--owm-primary);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: var(--owm-transition);
  z-index: 200;
}
.nav__item:hover .mega-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-menu__item a {
  display: flex; align-items: center; gap: 10px; padding: 11px 20px;
  color: var(--owm-text); font-size: 14px; font-weight: 500; border-bottom: 1px solid var(--owm-border);
  transition: var(--owm-transition);
}
.mega-menu__item:last-child a { border-bottom: none; }
.mega-menu__item a:hover { background: var(--owm-bg); color: var(--owm-primary); padding-left: 26px; }
.mega-menu__icon { font-size: 20px; }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  background: linear-gradient(135deg, var(--owm-dark) 0%, #2C1810 50%, #3A1F0A 100%);
  position: relative; overflow: hidden; min-height: 520px;
  display: flex; align-items: center;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url('assets/images/hero-pattern.svg') center/cover;
  opacity: .06;
}
.hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 72px 0; }
.hero__text { }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 8px; background: rgba(196,98,45,.2); color: var(--owm-sandy); padding: 6px 14px; border-radius: 20px; font-size: 13px; font-weight: 600; margin-bottom: 20px; border: 1px solid rgba(196,98,45,.3); }
.hero__title { font-size: clamp(32px, 4vw, 52px); font-weight: 800; color: var(--owm-white); line-height: 1.1; margin-bottom: 16px; }
.hero__title span { color: var(--owm-primary); }
.hero__subtitle { font-size: 17px; color: rgba(255,255,255,.72); line-height: 1.7; margin-bottom: 32px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__stats { display: flex; gap: 32px; margin-top: 40px; }
.hero__stat-num { font-size: 28px; font-weight: 800; color: var(--owm-white); font-family: var(--owm-font-heading); }
.hero__stat-label { font-size: 13px; color: rgba(255,255,255,.6); margin-top: 2px; }
.hero__search-wrap { background: var(--owm-white); padding: 28px 32px; border-radius: var(--owm-radius-xl); box-shadow: var(--owm-shadow-lg); }
.hero__search-title { font-size: 20px; font-weight: 700; margin-bottom: 20px; color: var(--owm-dark); }
.hero__search-tabs { display: flex; gap: 6px; margin-bottom: 20px; background: var(--owm-bg); border-radius: var(--owm-radius-sm); padding: 4px; }
.hero__search-tab { flex: 1; padding: 8px 12px; border: none; border-radius: 6px; background: transparent; font-size: 13px; font-weight: 600; cursor: pointer; color: var(--owm-text-muted); transition: var(--owm-transition); }
.hero__search-tab.active { background: var(--owm-white); color: var(--owm-primary); box-shadow: var(--owm-shadow-sm); }
.hero__search-row { display: flex; gap: 10px; }
.hero__search-row .form-control { flex: 1; }
.hero__popular { margin-top: 16px; }
.hero__popular-label { font-size: 12px; color: var(--owm-text-muted); margin-bottom: 8px; font-weight: 600; text-transform: uppercase; }
.hero__popular-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.hero__popular-tag { padding: 4px 12px; background: var(--owm-bg); border: 1px solid var(--owm-border); border-radius: 20px; font-size: 12px; color: var(--owm-text-secondary); cursor: pointer; transition: var(--owm-transition); }
.hero__popular-tag:hover { border-color: var(--owm-primary); color: var(--owm-primary); }

/* ============================================================
   CATEGORY STRIP
   ============================================================ */
.category-strip { background: var(--owm-white); border-bottom: 1px solid var(--owm-border); padding: 28px 0; }
.category-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); gap: 12px; }
.category-item {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 16px 12px; border-radius: var(--owm-radius); border: 1.5px solid var(--owm-border);
  cursor: pointer; transition: var(--owm-transition); text-decoration: none; background: var(--owm-white);
}
.category-item:hover { border-color: var(--owm-primary); background: var(--owm-primary-fade); transform: translateY(-2px); }
.category-item:hover .category-item__icon { transform: scale(1.1); }
.category-item__icon { font-size: 32px; line-height: 1; transition: var(--owm-transition); }
.category-item__name { font-size: 12px; font-weight: 600; color: var(--owm-text-secondary); text-align: center; }
.category-item__count { font-size: 11px; color: var(--owm-text-muted); }

/* ============================================================
   SECTION HEADINGS
   ============================================================ */
.section-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 32px; }
.section-title { font-size: clamp(22px, 3vw, 30px); font-weight: 700; color: var(--owm-dark); }
.section-title span { color: var(--owm-primary); }
.section-subtitle { font-size: 15px; color: var(--owm-text-muted); margin-top: 6px; }
.section-link { font-size: 14px; font-weight: 600; color: var(--owm-primary); white-space: nowrap; }
.section-link:hover { color: var(--owm-primary-dark); }
.section-eyebrow { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--owm-primary); margin-bottom: 8px; }

/* ============================================================
   PRODUCT CARDS
   ============================================================ */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.product-card {
  background: var(--owm-card); border-radius: var(--owm-radius-lg);
  border: 1px solid var(--owm-border); overflow: hidden; transition: var(--owm-transition);
  position: relative;
}
.product-card:hover { box-shadow: var(--owm-shadow); transform: translateY(-3px); }
.product-card__badges { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; gap: 6px; z-index: 1; }
.product-card__wishlist { position: absolute; top: 12px; right: 12px; z-index: 1; width: 34px; height: 34px; border-radius: 50%; background: white; border: 1px solid var(--owm-border); display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 18px; transition: var(--owm-transition); opacity: 0; }
.product-card:hover .product-card__wishlist { opacity: 1; }
.product-card__wishlist:hover { background: var(--owm-red-light); border-color: var(--owm-red); }
.product-card__img-wrap { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--owm-bg); }
.product-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.product-card:hover .product-card__img { transform: scale(1.04); }
.product-card__quick-add {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: var(--owm-dark); color: white; text-align: center;
  padding: 10px; font-size: 13px; font-weight: 600; cursor: pointer;
  transform: translateY(100%); transition: var(--owm-transition);
}
.product-card:hover .product-card__quick-add { transform: translateY(0); }
.product-card__body { padding: 14px 16px; }
.product-card__vendor { font-size: 12px; color: var(--owm-primary); font-weight: 600; margin-bottom: 4px; }
.product-card__title { font-size: 14px; font-weight: 600; color: var(--owm-text); margin-bottom: 6px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-card__rating { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
.product-card__price { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.product-card__price-current { font-size: 18px; font-weight: 700; color: var(--owm-primary); }
.product-card__price-old { font-size: 13px; color: var(--owm-text-muted); text-decoration: line-through; }
.product-card__footer { padding: 12px 16px; border-top: 1px solid var(--owm-border); background: var(--owm-bg); display: flex; align-items: center; justify-content: space-between; }
.product-card__delivery { font-size: 12px; color: var(--owm-green); font-weight: 600; display: flex; align-items: center; gap: 4px; }

/* ============================================================
   VENDOR CARDS
   ============================================================ */
.vendor-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.vendor-card {
  background: var(--owm-card); border-radius: var(--owm-radius-lg); border: 1px solid var(--owm-border);
  overflow: hidden; transition: var(--owm-transition);
}
.vendor-card:hover { box-shadow: var(--owm-shadow); transform: translateY(-2px); }
.vendor-card__banner { height: 100px; background: linear-gradient(135deg, var(--owm-dark), var(--owm-dark-alt)); position: relative; }
.vendor-card__avatar {
  position: absolute; bottom: -28px; left: 20px;
  width: 60px; height: 60px; border-radius: var(--owm-radius-sm);
  border: 3px solid var(--owm-white); background: var(--owm-white); overflow: hidden;
  box-shadow: var(--owm-shadow-sm);
}
.vendor-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.vendor-card__verified { position: absolute; bottom: -14px; left: 64px; background: var(--owm-green); color: white; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 10px; }
.vendor-card__body { padding: 42px 20px 18px; }
.vendor-card__name { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.vendor-card__location { font-size: 13px; color: var(--owm-text-muted); margin-bottom: 8px; display: flex; align-items: center; gap: 4px; }
.vendor-card__meta { display: flex; gap: 16px; font-size: 13px; color: var(--owm-text-secondary); border-top: 1px solid var(--owm-border); padding-top: 14px; margin-top: 14px; }
.vendor-card__meta-item { display: flex; flex-direction: column; align-items: center; }
.vendor-card__meta-val { font-weight: 700; color: var(--owm-dark); font-size: 15px; }
.vendor-card__meta-key { font-size: 11px; color: var(--owm-text-muted); }

/* ============================================================
   PROMO BANNERS
   ============================================================ */
.promo-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 16px; }
.promo-banner {
  border-radius: var(--owm-radius-lg); overflow: hidden; position: relative;
  min-height: 180px; display: flex; align-items: flex-end; padding: 24px;
  background: var(--owm-dark);
}
.promo-banner--tall { min-height: 280px; }
.promo-banner__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.promo-banner__content { position: relative; z-index: 1; }
.promo-banner__label { font-size: 12px; font-weight: 700; text-transform: uppercase; color: var(--owm-sandy); letter-spacing: .06em; margin-bottom: 6px; }
.promo-banner__title { font-size: 22px; font-weight: 800; color: white; line-height: 1.2; margin-bottom: 12px; }
.promo-banner--sm .promo-banner__title { font-size: 18px; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-it-works { background: var(--owm-white); }
.hiw-tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 48px; background: var(--owm-bg); padding: 6px; border-radius: var(--owm-radius-xl); max-width: 480px; margin-left: auto; margin-right: auto; }
.hiw-tab { flex: 1; padding: 10px 20px; border: none; border-radius: var(--owm-radius-lg); background: transparent; font-size: 14px; font-weight: 600; cursor: pointer; color: var(--owm-text-muted); transition: var(--owm-transition); }
.hiw-tab.active { background: var(--owm-primary); color: white; box-shadow: 0 4px 12px rgba(196,98,45,.3); }
.hiw-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.hiw-step { text-align: center; position: relative; }
.hiw-step + .hiw-step::before {
  content: '→'; position: absolute; top: 28px; left: -16px;
  font-size: 24px; color: var(--owm-border); font-weight: 300;
}
.hiw-step__num {
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--owm-primary-fade); color: var(--owm-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin: 0 auto 16px; border: 2px solid var(--owm-primary);
  font-weight: 800;
}
.hiw-step__title { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.hiw-step__desc { font-size: 13px; color: var(--owm-text-muted); line-height: 1.6; }

/* ============================================================
   DRIVER RECRUITMENT BANNER
   ============================================================ */
.driver-banner {
  background: linear-gradient(135deg, var(--owm-dark) 0%, #1F0A00 100%);
  padding: 64px 0; position: relative; overflow: hidden;
}
.driver-banner::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 70% 50%, rgba(196,98,45,.25), transparent 60%); }
.driver-banner__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.driver-banner__title { font-size: 36px; font-weight: 800; color: white; line-height: 1.2; margin-bottom: 16px; }
.driver-banner__title span { color: var(--owm-primary); }
.driver-banner__text { font-size: 16px; color: rgba(255,255,255,.7); margin-bottom: 28px; line-height: 1.7; }
.driver-perks { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.driver-perk { display: flex; align-items: flex-start; gap: 12px; padding: 14px; background: rgba(255,255,255,.06); border-radius: var(--owm-radius); border: 1px solid rgba(255,255,255,.1); }
.driver-perk__icon { font-size: 24px; flex-shrink: 0; }
.driver-perk__title { font-size: 14px; font-weight: 700; color: white; margin-bottom: 2px; }
.driver-perk__desc { font-size: 12px; color: rgba(255,255,255,.6); }

/* ============================================================
   VENDOR CTA
   ============================================================ */
.vendor-cta { background: var(--owm-sandy-light); border-top: 3px solid var(--owm-primary); }
.vendor-cta__inner { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; padding: 48px 0; }
.vendor-cta__title { font-size: 28px; font-weight: 700; color: var(--owm-dark); margin-bottom: 8px; }
.vendor-cta__text { font-size: 15px; color: var(--owm-text-secondary); }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials { background: var(--owm-bg); }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.testimonial-card { background: var(--owm-white); border-radius: var(--owm-radius-lg); padding: 24px; border: 1px solid var(--owm-border); }
.testimonial-card__stars { color: #F5A623; font-size: 16px; margin-bottom: 12px; }
.testimonial-card__text { font-size: 14px; color: var(--owm-text-secondary); line-height: 1.7; margin-bottom: 16px; font-style: italic; }
.testimonial-card__author { display: flex; align-items: center; gap: 12px; }
.testimonial-card__avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--owm-primary-fade); overflow: hidden; flex-shrink: 0; }
.testimonial-card__name { font-weight: 700; font-size: 14px; }
.testimonial-card__role { font-size: 12px; color: var(--owm-text-muted); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--owm-dark); color: rgba(255,255,255,.72); padding: 64px 0 0; }
.footer__inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer__brand-logo { margin-bottom: 16px; height: 50px; }
.footer__brand-desc { font-size: 13px; line-height: 1.7; opacity: .7; margin-bottom: 20px; }
.footer__socials { display: flex; gap: 10px; }
.footer__social { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; font-size: 18px; transition: var(--owm-transition); color: white; }
.footer__social:hover { background: var(--owm-primary); color: white; }
.footer__title { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--owm-sandy); margin-bottom: 16px; }
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__link { font-size: 13px; color: rgba(255,255,255,.65); transition: var(--owm-transition); }
.footer__link:hover { color: var(--owm-sandy); padding-left: 6px; }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; font-size: 12px; opacity: .55; flex-wrap: wrap; gap: 12px; }
.footer__payment-icons { display: flex; gap: 8px; align-items: center; }
.footer__payment-icon { background: white; border-radius: 4px; padding: 4px 8px; font-size: 11px; font-weight: 700; color: var(--owm-dark); }
.footer__app-links { display: flex; gap: 10px; margin-top: 16px; }
.footer__app-btn { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: var(--owm-radius-sm); padding: 8px 14px; color: white; font-size: 12px; display: flex; align-items: center; gap: 8px; transition: var(--owm-transition); }
.footer__app-btn:hover { background: rgba(255,255,255,.18); color: white; }
.footer__app-btn .big { font-size: 14px; font-weight: 700; display: block; }

/* ============================================================
   DASHBOARD LAYOUTS
   ============================================================ */
.dashboard { min-height: calc(100vh - 200px); background: var(--owm-bg); }
.dashboard__layout { display: grid; grid-template-columns: 260px 1fr; min-height: inherit; }
.dashboard__sidebar { background: var(--owm-white); border-right: 1px solid var(--owm-border); padding: 24px 0; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.dashboard__main { padding: 32px; overflow-x: hidden; }
.sidebar__header { padding: 0 20px 20px; border-bottom: 1px solid var(--owm-border); margin-bottom: 8px; }
.sidebar__avatar { width: 54px; height: 54px; border-radius: 50%; background: var(--owm-primary-fade); border: 3px solid var(--owm-primary); margin-bottom: 10px; overflow: hidden; }
.sidebar__name { font-weight: 700; font-size: 15px; }
.sidebar__role { font-size: 12px; color: var(--owm-text-muted); }
.sidebar__tier { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; }
.sidebar__nav { padding: 8px 12px; }
.sidebar__nav-title { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--owm-text-muted); padding: 12px 8px 6px; }
.sidebar__nav-item { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: var(--owm-radius-sm); color: var(--owm-text-secondary); font-size: 14px; font-weight: 500; cursor: pointer; transition: var(--owm-transition); border: none; background: transparent; width: 100%; text-align: left; text-decoration: none; }
.sidebar__nav-item:hover { background: var(--owm-bg); color: var(--owm-primary); }
.sidebar__nav-item.active { background: var(--owm-primary-fade); color: var(--owm-primary); font-weight: 700; }
.sidebar__nav-item .nav-icon { font-size: 18px; flex-shrink: 0; width: 22px; }
.sidebar__nav-item .nav-badge { margin-left: auto; background: var(--owm-primary); color: white; font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 10px; }

/* Dashboard Stats */
.dash-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-bottom: 28px; }
.stat-card { background: var(--owm-white); border: 1px solid var(--owm-border); border-radius: var(--owm-radius-lg); padding: 20px 24px; position: relative; overflow: hidden; }
.stat-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--owm-primary); }
.stat-card--green::before { background: var(--owm-green); }
.stat-card--blue::before { background: #3B82F6; }
.stat-card--orange::before { background: #F59E0B; }
.stat-card__icon { font-size: 32px; margin-bottom: 10px; }
.stat-card__label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--owm-text-muted); margin-bottom: 4px; }
.stat-card__value { font-size: 28px; font-weight: 800; color: var(--owm-dark); font-family: var(--owm-font-heading); }
.stat-card__change { font-size: 12px; margin-top: 6px; }
.stat-card__change--up { color: var(--owm-green); }
.stat-card__change--down { color: var(--owm-red); }

/* Dashboard panels */
.dash-panel { background: var(--owm-white); border: 1px solid var(--owm-border); border-radius: var(--owm-radius-lg); overflow: hidden; margin-bottom: 24px; }
.dash-panel__header { padding: 18px 24px; border-bottom: 1px solid var(--owm-border); display: flex; align-items: center; justify-content: space-between; }
.dash-panel__title { font-size: 16px; font-weight: 700; }
.dash-panel__body { padding: 24px; }

/* Tables */
.dash-table { width: 100%; border-collapse: collapse; }
.dash-table th { background: var(--owm-bg); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--owm-text-muted); padding: 10px 16px; text-align: left; border-bottom: 1px solid var(--owm-border); }
.dash-table td { padding: 14px 16px; border-bottom: 1px solid var(--owm-border); font-size: 14px; color: var(--owm-text); vertical-align: middle; }
.dash-table tr:last-child td { border-bottom: none; }
.dash-table tr:hover td { background: var(--owm-bg); }

/* Order status pills */
.status { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status--pending   { background: #FFF8E6; color: #8A6200; }
.status--processing { background: #EEF2FF; color: #3730A3; }
.status--completed { background: var(--owm-green-light); color: var(--owm-green); }
.status--cancelled { background: var(--owm-red-light); color: var(--owm-red); }
.status--delivered { background: var(--owm-green-light); color: var(--owm-green); }
.status--pickup    { background: #FFF0E6; color: #C4622D; }
.status--online    { background: var(--owm-green-light); color: var(--owm-green); }
.status--offline   { background: #F3F4F6; color: #6B7280; }

/* ============================================================
   DRIVER DASHBOARD SPECIFICS
   ============================================================ */
.driver-map-placeholder { height: 320px; background: var(--owm-bg); border-radius: var(--owm-radius); display: flex; align-items: center; justify-content: center; font-size: 48px; border: 2px dashed var(--owm-border); flex-direction: column; gap: 12px; }
.driver-earnings-chart { height: 200px; background: var(--owm-bg); border-radius: var(--owm-radius-sm); display: flex; align-items: center; justify-content: center; color: var(--owm-text-muted); }
.tier-progress { margin-bottom: 20px; }
.tier-progress__bar-wrap { background: var(--owm-border); border-radius: 10px; height: 10px; overflow: hidden; margin: 8px 0; }
.tier-progress__bar { height: 100%; border-radius: 10px; background: linear-gradient(90deg, var(--owm-primary), var(--owm-primary-light)); transition: width .6s ease; }
.driver-toggle { display: flex; align-items: center; gap: 12px; padding: 16px 20px; background: var(--owm-bg); border-radius: var(--owm-radius-lg); border: 1px solid var(--owm-border); margin-bottom: 20px; }
.toggle-switch { position: relative; width: 52px; height: 28px; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background: var(--owm-border-dark); border-radius: 28px; transition: var(--owm-transition); }
.toggle-slider::before { content: ''; position: absolute; height: 22px; width: 22px; left: 3px; bottom: 3px; background: white; border-radius: 50%; transition: var(--owm-transition); box-shadow: 0 2px 6px rgba(0,0,0,.2); }
input:checked + .toggle-slider { background: var(--owm-green); }
input:checked + .toggle-slider::before { transform: translateX(24px); }

/* ============================================================
   DELIVERY TRACKING
   ============================================================ */
.tracking-timeline { position: relative; padding-left: 32px; }
.tracking-timeline::before { content: ''; position: absolute; left: 11px; top: 4px; bottom: 4px; width: 2px; background: var(--owm-border); }
.tracking-step { position: relative; margin-bottom: 24px; }
.tracking-step__dot { position: absolute; left: -32px; width: 24px; height: 24px; border-radius: 50%; background: var(--owm-border-dark); border: 3px solid var(--owm-white); display: flex; align-items: center; justify-content: center; font-size: 12px; }
.tracking-step.done .tracking-step__dot { background: var(--owm-green); }
.tracking-step.active .tracking-step__dot { background: var(--owm-primary); animation: pulse 1.6s infinite; }
.tracking-step__title { font-weight: 700; font-size: 14px; margin-bottom: 2px; }
.tracking-step__time { font-size: 12px; color: var(--owm-text-muted); }
@keyframes pulse { 0%,100%{box-shadow:0 0 0 0 rgba(196,98,45,.4)} 50%{box-shadow:0 0 0 8px rgba(196,98,45,0)} }

/* ============================================================
   PRODUCT SINGLE PAGE
   ============================================================ */
.product-single { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: 40px 0; }
.product-gallery { position: sticky; top: 100px; }
.product-gallery__main { border-radius: var(--owm-radius-lg); overflow: hidden; border: 1px solid var(--owm-border); aspect-ratio: 1; margin-bottom: 12px; }
.product-gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.product-gallery__thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.product-gallery__thumb { border-radius: var(--owm-radius-sm); border: 2px solid var(--owm-border); overflow: hidden; cursor: pointer; transition: var(--owm-transition); aspect-ratio: 1; }
.product-gallery__thumb.active, .product-gallery__thumb:hover { border-color: var(--owm-primary); }
.product-info__vendor { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--owm-border); }
.product-info__vendor-logo { width: 42px; height: 42px; border-radius: var(--owm-radius-sm); overflow: hidden; border: 1px solid var(--owm-border); }
.product-info__title { font-size: clamp(22px, 2.5vw, 28px); font-weight: 700; margin-bottom: 10px; }
.product-info__rating-row { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.product-info__price { font-size: 32px; font-weight: 800; color: var(--owm-primary); margin-bottom: 8px; }
.product-info__price-old { font-size: 18px; color: var(--owm-text-muted); text-decoration: line-through; margin-left: 12px; }
.product-info__savings { background: var(--owm-green-light); color: var(--owm-green); font-size: 13px; font-weight: 700; padding: 4px 12px; border-radius: 20px; display: inline-block; margin-bottom: 20px; }
.quantity-selector { display: flex; align-items: center; gap: 0; border: 2px solid var(--owm-border); border-radius: var(--owm-radius-sm); overflow: hidden; width: fit-content; }
.qty-btn { width: 42px; height: 42px; border: none; background: var(--owm-bg); cursor: pointer; font-size: 20px; font-weight: 600; transition: var(--owm-transition); display: flex; align-items: center; justify-content: center; }
.qty-btn:hover { background: var(--owm-primary); color: white; }
.qty-input { width: 60px; height: 42px; border: none; border-left: 1px solid var(--owm-border); border-right: 1px solid var(--owm-border); text-align: center; font-size: 15px; font-weight: 600; outline: none; }

/* ============================================================
   CART & CHECKOUT
   ============================================================ */
.cart-layout { display: grid; grid-template-columns: 1fr 380px; gap: 28px; padding: 40px 0; }
.cart-item { display: grid; grid-template-columns: 90px 1fr auto; gap: 16px; align-items: start; padding: 20px 0; border-bottom: 1px solid var(--owm-border); }
.cart-item__img { width: 90px; height: 90px; border-radius: var(--owm-radius-sm); object-fit: cover; border: 1px solid var(--owm-border); }
.cart-item__title { font-weight: 600; font-size: 15px; margin-bottom: 4px; }
.cart-item__vendor { font-size: 12px; color: var(--owm-primary); font-weight: 600; margin-bottom: 6px; }
.cart-item__remove { font-size: 12px; color: var(--owm-red); cursor: pointer; border: none; background: none; margin-top: 8px; }
.cart-summary { background: var(--owm-white); border: 1px solid var(--owm-border); border-radius: var(--owm-radius-lg); padding: 24px; position: sticky; top: 100px; }
.cart-summary__title { font-size: 18px; font-weight: 700; margin-bottom: 20px; }
.cart-summary__row { display: flex; justify-content: space-between; font-size: 14px; padding: 10px 0; border-bottom: 1px solid var(--owm-border); }
.cart-summary__row--total { font-size: 18px; font-weight: 800; border-bottom: none; padding-top: 16px; }
.cart-summary__delivery { background: var(--owm-green-light); border-radius: var(--owm-radius-sm); padding: 10px 14px; font-size: 13px; color: var(--owm-green-dark); margin: 16px 0; font-weight: 600; display: flex; align-items: center; gap: 8px; }

/* ============================================================
   CHECKOUT
   ============================================================ */
.checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 28px; padding: 40px 0; }
.checkout-section { background: var(--owm-white); border: 1px solid var(--owm-border); border-radius: var(--owm-radius-lg); padding: 24px; margin-bottom: 20px; }
.checkout-section__title { font-size: 16px; font-weight: 700; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--owm-border); display: flex; align-items: center; gap: 10px; }
.checkout-section__num { width: 28px; height: 28px; border-radius: 50%; background: var(--owm-primary); color: white; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; flex-shrink: 0; }
.payment-method { display: flex; align-items: center; gap: 12px; padding: 14px; border: 2px solid var(--owm-border); border-radius: var(--owm-radius-sm); cursor: pointer; margin-bottom: 10px; transition: var(--owm-transition); }
.payment-method.selected { border-color: var(--owm-primary); background: var(--owm-primary-fade); }
.payment-method__icon { font-size: 24px; }
.payment-method__label { font-weight: 600; font-size: 14px; }
.payment-method__desc { font-size: 12px; color: var(--owm-text-muted); }

/* ============================================================
   SEARCH / ARCHIVE
   ============================================================ */
.archive-layout { display: grid; grid-template-columns: 280px 1fr; gap: 28px; padding: 40px 0; }
.filter-panel { background: var(--owm-white); border: 1px solid var(--owm-border); border-radius: var(--owm-radius-lg); padding: 24px; position: sticky; top: 100px; height: fit-content; }
.filter-section { margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--owm-border); }
.filter-section:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.filter-section__title { font-size: 14px; font-weight: 700; margin-bottom: 14px; display: flex; justify-content: space-between; align-items: center; }
.filter-section__clear { font-size: 12px; color: var(--owm-primary); cursor: pointer; font-weight: 600; }
.filter-option { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; cursor: pointer; }
.filter-option input[type=checkbox] { width: 16px; height: 16px; accent-color: var(--owm-primary); cursor: pointer; }
.filter-option label { font-size: 14px; color: var(--owm-text-secondary); cursor: pointer; }
.price-range { display: flex; gap: 10px; align-items: center; }
.price-range input { flex: 1; padding: 8px 10px; border: 1.5px solid var(--owm-border); border-radius: var(--owm-radius-sm); font-size: 13px; }
.archive-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; flex-wrap: wrap; gap: 12px; }
.archive-toolbar__count { font-size: 14px; color: var(--owm-text-muted); }
.archive-toolbar__sort { display: flex; align-items: center; gap: 8px; font-size: 14px; }

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; padding: 16px 0; }
.breadcrumb__item { color: var(--owm-text-muted); }
.breadcrumb__item a { color: var(--owm-text-muted); }
.breadcrumb__item a:hover { color: var(--owm-primary); }
.breadcrumb__sep { color: var(--owm-border-dark); font-size: 10px; }
.breadcrumb__current { color: var(--owm-text); font-weight: 600; }

/* ============================================================
   NOTIFICATIONS
   ============================================================ */
.notification-dropdown { position: absolute; top: calc(100% + 8px); right: 0; width: 340px; background: var(--owm-white); border: 1px solid var(--owm-border); border-radius: var(--owm-radius-lg); box-shadow: var(--owm-shadow-lg); overflow: hidden; z-index: 500; }
.notification-item { display: flex; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--owm-border); transition: var(--owm-transition); cursor: pointer; }
.notification-item:hover { background: var(--owm-bg); }
.notification-item.unread { background: var(--owm-primary-fade); }
.notification-item__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--owm-primary); margin-top: 5px; flex-shrink: 0; }
.notification-item__title { font-size: 13px; font-weight: 600; margin-bottom: 2px; }
.notification-item__time { font-size: 11px; color: var(--owm-text-muted); }

/* ============================================================
   VENDOR STOREFRONT
   ============================================================ */
.vendor-storefront__hero { height: 220px; background: linear-gradient(135deg, var(--owm-dark), var(--owm-dark-alt)); position: relative; overflow: hidden; }
.vendor-storefront__banner { width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.vendor-storefront__header { background: var(--owm-white); border-bottom: 1px solid var(--owm-border); padding: 0; }
.vendor-storefront__profile { display: flex; align-items: flex-end; gap: 20px; padding: 0 0 20px; margin-top: -40px; position: relative; z-index: 1; }
.vendor-storefront__logo { width: 80px; height: 80px; border-radius: var(--owm-radius); border: 4px solid white; overflow: hidden; box-shadow: var(--owm-shadow); flex-shrink: 0; }
.vendor-storefront__tabs { display: flex; gap: 0; border-top: 1px solid var(--owm-border); margin-top: 20px; }
.vendor-storefront__tab { padding: 14px 20px; font-size: 14px; font-weight: 600; color: var(--owm-text-muted); cursor: pointer; border-bottom: 3px solid transparent; transition: var(--owm-transition); }
.vendor-storefront__tab.active { color: var(--owm-primary); border-bottom-color: var(--owm-primary); }

/* ============================================================
   ALERTS & MODALS
   ============================================================ */
.alert { padding: 14px 18px; border-radius: var(--owm-radius-sm); font-size: 14px; margin-bottom: 16px; display: flex; align-items: flex-start; gap: 10px; }
.alert--success { background: var(--owm-green-light); color: var(--owm-green-dark); border-left: 4px solid var(--owm-green); }
.alert--warning { background: #FFF8E6; color: #7A5A00; border-left: 4px solid #F59E0B; }
.alert--danger  { background: var(--owm-red-light); color: #8B0000; border-left: 4px solid var(--owm-red); }
.alert--info    { background: #EEF2FF; color: #3730A3; border-left: 4px solid #6366F1; }
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 9000; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal { background: var(--owm-white); border-radius: var(--owm-radius-xl); max-width: 520px; width: 100%; max-height: 90vh; overflow-y: auto; }
.modal__header { padding: 24px 28px; border-bottom: 1px solid var(--owm-border); display: flex; align-items: center; justify-content: space-between; }
.modal__title { font-size: 20px; font-weight: 700; }
.modal__close { width: 32px; height: 32px; border: none; background: var(--owm-bg); border-radius: 50%; cursor: pointer; font-size: 18px; display: flex; align-items: center; justify-content: center; }
.modal__body { padding: 28px; }
.modal__footer { padding: 20px 28px; border-top: 1px solid var(--owm-border); display: flex; gap: 12px; justify-content: flex-end; }

/* ============================================================
   PAGE HEADER (inner pages)
   ============================================================ */
.page-header { background: linear-gradient(135deg, var(--owm-dark) 0%, #2C1810 100%); padding: 40px 0; border-bottom: 3px solid var(--owm-primary); }
.page-header__title { font-size: clamp(24px, 3vw, 36px); font-weight: 800; color: white; margin-bottom: 6px; }
.page-header__subtitle { font-size: 15px; color: rgba(255,255,255,.65); }

/* ============================================================
   REGISTER / LOGIN PAGES
   ============================================================ */
.auth-page { min-height: calc(100vh - 160px); display: flex; align-items: center; justify-content: center; padding: 40px 20px; background: var(--owm-bg); }
.auth-card { background: var(--owm-white); border-radius: var(--owm-radius-xl); border: 1px solid var(--owm-border); padding: 40px; max-width: 460px; width: 100%; box-shadow: var(--owm-shadow); }
.auth-card__logo { display: flex; justify-content: center; margin-bottom: 24px; }
.auth-card__logo img { height: 60px; }
.auth-card__title { font-size: 24px; font-weight: 800; text-align: center; margin-bottom: 6px; }
.auth-card__subtitle { font-size: 14px; color: var(--owm-text-muted); text-align: center; margin-bottom: 28px; }
.auth-tabs { display: flex; background: var(--owm-bg); border-radius: var(--owm-radius-sm); padding: 4px; margin-bottom: 28px; }
.auth-tab { flex: 1; padding: 9px; border: none; background: transparent; border-radius: 6px; font-size: 14px; font-weight: 600; cursor: pointer; color: var(--owm-text-muted); transition: var(--owm-transition); }
.auth-tab.active { background: var(--owm-white); color: var(--owm-primary); box-shadow: var(--owm-shadow-sm); }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; color: var(--owm-text-muted); font-size: 13px; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--owm-border); }
.social-login { display: flex; gap: 10px; margin-bottom: 20px; }
.social-login-btn { flex: 1; padding: 11px; border: 1.5px solid var(--owm-border); border-radius: var(--owm-radius-sm); background: white; cursor: pointer; font-size: 14px; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 8px; transition: var(--owm-transition); }
.social-login-btn:hover { border-color: var(--owm-primary); background: var(--owm-primary-fade); }

/* ============================================================
   WOOCOMMERCE OVERRIDES
   ============================================================ */
.woocommerce-page .woocommerce { margin: 0; }
.woocommerce .button, .woocommerce-page .button { background: var(--owm-primary) !important; color: white !important; border-radius: var(--owm-radius-sm) !important; font-weight: 600 !important; transition: var(--owm-transition) !important; }
.woocommerce .button:hover { background: var(--owm-primary-dark) !important; }
.woocommerce form .form-row label { font-size: 13px; font-weight: 600; color: var(--owm-text-secondary); text-transform: uppercase; letter-spacing: .04em; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row select { border: 1.5px solid var(--owm-border); border-radius: var(--owm-radius-sm); padding: 11px 14px; transition: var(--owm-transition); }
.woocommerce form .form-row input.input-text:focus { border-color: var(--owm-primary); box-shadow: 0 0 0 3px var(--owm-primary-fade); }

/* ============================================================
   DOKAN OVERRIDES
   ============================================================ */
.dokan-dashboard .dokan-dash-header { background: linear-gradient(135deg, var(--owm-dark), #2C1810) !important; }
.dokan-btn-theme, .dokan-btn { background: var(--owm-primary) !important; border-color: var(--owm-primary) !important; }
.dokan-btn-theme:hover { background: var(--owm-primary-dark) !important; }
.dokan-dashboard-menu > li.active > a { border-left-color: var(--owm-primary) !important; color: var(--owm-primary) !important; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
  .footer__inner { grid-template-columns: 1fr 1fr 1fr; }
  .promo-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__search-wrap { max-width: 100%; }
  .header__inner { grid-template-columns: auto 1fr auto; }
  .dashboard__layout { grid-template-columns: 1fr; }
  .dashboard__sidebar { position: static; height: auto; }
  .archive-layout { grid-template-columns: 1fr; }
  .filter-panel { position: static; }
  .checkout-layout, .cart-layout { grid-template-columns: 1fr; }
  .product-single { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .container { padding: 0 16px; }
  .section-pad { padding: 48px 0; }
  .header__search { display: none; }
  .nav__inner { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 28px; }
  .hiw-steps { grid-template-columns: 1fr 1fr; }
  .driver-banner__inner { grid-template-columns: 1fr; }
  .vendor-cta__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__stats { gap: 20px; }
  .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
  .driver-perks { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .vendor-grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .hiw-steps { grid-template-columns: 1fr; }
  .hiw-step + .hiw-step::before { display: none; }
  .auth-card { padding: 24px 20px; }
  .header__actions { gap: 2px; }
  .header__action-btn { padding: 6px 8px; font-size: 11px; }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp   { from { opacity:0; transform:translateY(16px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeIn   { from { opacity:0; } to { opacity:1; } }
@keyframes slideIn  { from { transform:translateX(-16px); opacity:0; } to { transform:translateX(0); opacity:1; } }
@keyframes spin     { to { transform: rotate(360deg); } }
.animate-fade-up  { animation: fadeUp .4s ease forwards; }
.animate-fade-in  { animation: fadeIn .3s ease forwards; }
.loading-spinner  { width: 24px; height: 24px; border: 3px solid var(--owm-border); border-top-color: var(--owm-primary); border-radius: 50%; animation: spin .7s linear infinite; }
