/* ============================================================
   Niyoshop — Pure HTML / CSS / JS  (No Backend)
   ============================================================ */
@import url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/Vazirmatn-font-face.css');

/* ---------- Reset & Root ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --brand: #ed1560; --brand-dark: #c80c50; --brand-light: #fff1f5;
  --purple: #9333ea; --purple-dark: #7e22ce;
  --slate-50: #f8fafc; --slate-100: #f1f5f9; --slate-200: #e2e8f0;
  --slate-300: #cbd5e1; --slate-400: #94a3b8; --slate-500: #64748b;
  --slate-600: #475569; --slate-700: #334155; --slate-800: #1e293b; --slate-900: #0f172a;
  --green: #10b981; --red: #ef4444; --amber: #f59e0b;
  --radius: 14px; --radius-lg: 22px; --radius-xl: 30px;
  --shadow: 0 2px 12px rgba(0,0,0,.07); --shadow-lg: 0 10px 40px rgba(0,0,0,.12);
  --transition: .25s cubic-bezier(.4,0,.2,1);
}
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Vazirmatn', system-ui, sans-serif;
  direction: rtl; background: var(--slate-50); color: var(--slate-900); line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: 2rem; left: 50%; transform: translateX(-50%) translateY(100px);
  background: var(--slate-900); color: #fff; padding: .75rem 1.5rem;
  border-radius: 50px; font-weight: 600; font-size: .875rem;
  transition: transform var(--transition); z-index: 9999; white-space: nowrap;
}
.toast.toast-error { background: var(--red); }
.toast.show { transform: translateX(-50%) translateY(0); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .75rem 1.5rem; border-radius: var(--radius); font-weight: 700;
  font-size: 1rem; transition: var(--transition); cursor: pointer;
}
.btn-primary {
  background: linear-gradient(to left, var(--brand), var(--purple));
  color: #fff; box-shadow: 0 4px 14px rgba(237,21,96,.3);
}
.btn-primary:hover { transform: scale(1.04); box-shadow: 0 6px 20px rgba(237,21,96,.45); }
.btn-outline {
  border: 2px solid var(--slate-200); color: var(--slate-700); background: #fff;
}
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }
.btn-ghost { color: var(--slate-600); }
.btn-ghost:hover { background: var(--slate-100); }
.btn-danger { background: var(--red); color: #fff; }
.btn-lg { padding: 1rem 2rem; font-size: 1.075rem; border-radius: var(--radius-lg); }
.btn-full { width: 100%; }
.btn-round { border-radius: 50px; }
.btn-cart {
  width: 100%; margin-top: .75rem; padding: .65rem;
  background: var(--slate-900); color: #fff; border-radius: var(--radius); font-size: .875rem;
}
.btn-cart:hover { background: var(--brand); }

/* ---------- Container ---------- */
.container { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }

/* ===================== HEADER ===================== */
.header {
  background: rgba(255,255,255,.9); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-100); position: sticky; top: 0; z-index: 100;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; height: 68px;
}
.logo { display: flex; align-items: center; gap: .5rem; }
.logo-icon {
  width: 44px;
  height: 44px;
  background: url('image/niyoshop-logo.svg') center/cover no-repeat;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  font-size: 0;
  box-shadow: 0 0 18px rgba(237, 21, 96, .28);
  flex-shrink: 0;
}
.logo-text {
  font-size: 1.5rem; font-weight: 800;
  background: linear-gradient(to left, var(--brand), var(--purple));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.header-nav { display: flex; align-items: center; gap: .25rem; }
.nav-link {
  padding: .5rem 1rem; color: var(--slate-700); font-weight: 500;
  border-radius: var(--radius); transition: var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--brand); background: var(--brand-light); }
.header-actions { display: flex; align-items: center; gap: .75rem; }
.cart-btn {
  position: relative; width: 42px; height: 42px; border-radius: 50%;
  background: var(--slate-100); display: flex; align-items: center; justify-content: center;
  color: var(--slate-700); transition: var(--transition);
}
.cart-btn:hover { background: var(--brand-light); color: var(--brand); }
.cart-badge {
  position: absolute; top: -4px; left: -4px; min-width: 20px; height: 20px;
  background: var(--brand); color: #fff; font-size: .7rem; font-weight: 700;
  border-radius: 50px; display: none; align-items: center; justify-content: center; padding: 0 4px;
}
.user-menu { display: flex; align-items: center; gap: .5rem; }
.user-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--purple));
  color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.burger {
  display: none; flex-direction: column; gap: 5px; width: 36px; padding: 6px;
  cursor: pointer;
}
.burger span { display: block; height: 2px; background: var(--slate-700); border-radius: 2px; transition: var(--transition); }
.mobile-menu { display: none; }
.mobile-menu.open { display: block; }

/* ===================== HERO ===================== */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #fff1f5 0%, #fff 50%, #f3e8ff 100%);
  padding: 5rem 0 6rem;
}
.hero-blob {
  position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none;
}
.hero-blob-1 { width: 480px; height: 480px; background: rgba(237,21,96,.12); top: -80px; right: -80px; }
.hero-blob-2 { width: 480px; height: 480px; background: rgba(147,51,234,.1); bottom: -80px; left: -80px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; position: relative; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--brand-light); color: var(--brand-dark);
  padding: .5rem 1.25rem; border-radius: 50px; font-size: .875rem; font-weight: 700;
  margin-bottom: 1.5rem;
}
.hero-title { font-size: clamp(2.25rem, 4vw, 3.5rem); font-weight: 800; line-height: 1.2; margin-bottom: 1.25rem; }
.hero-title .grad {
  display: block;
  background: linear-gradient(to left, var(--brand), var(--purple));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-desc { font-size: 1.1rem; color: var(--slate-500); margin-bottom: 2rem; max-width: 30rem; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-img-wrap { position: relative; max-width: 26rem; margin: 0 auto; }
.hero-img-ring {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--brand), var(--purple));
  border-radius: 2.5rem; transform: rotate(6deg);
  animation: float 6s ease-in-out infinite;
}
.hero-img {
  position: relative; border-radius: 2.5rem; overflow: hidden;
  aspect-ratio: 3/4; box-shadow: var(--shadow-lg);
}
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-rating {
  position: absolute; bottom: -1.5rem; left: -1.5rem;
  background: #fff; border-radius: var(--radius); padding: 1rem 1.25rem;
  display: flex; align-items: center; gap: .75rem; box-shadow: var(--shadow-lg);
}
.hero-rating-star { color: var(--amber); font-size: 1.5rem; }
@keyframes float { 0%,100%{transform:translateY(0) rotate(6deg)} 50%{transform:translateY(-14px) rotate(6deg)} }

/* ===================== SECTION ===================== */
.section { padding: 5rem 0; }
.section.bg-white { background: #fff; }
.section.bg-slate { background: var(--slate-50); }
.section-header { text-align: center; max-width: 36rem; margin: 0 auto 3.5rem; }
.section-label { color: var(--brand); font-weight: 700; font-size: .875rem; }
.section-title { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 800; margin: .5rem 0 1rem; }
.section-desc { color: var(--slate-500); font-size: 1.1rem; }

/* ===================== STATS ===================== */
.stats { background: #fff; border-top: 1px solid var(--slate-100); border-bottom: 1px solid var(--slate-100); padding: 2.5rem 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.stat-num {
  font-size: 2.25rem; font-weight: 800;
  background: linear-gradient(to left, var(--brand), var(--purple));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-lbl { color: var(--slate-500); font-weight: 500; margin-top: .25rem; }

/* ===================== FEATURES ===================== */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.feature-card {
  background: #fff; border-radius: var(--radius-lg); padding: 2rem;
  border: 1px solid var(--slate-100); transition: var(--transition);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.feature-icon {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, var(--brand-light), #ede9fe);
  color: var(--brand); border-radius: var(--radius); display: flex;
  align-items: center; justify-content: center; margin-bottom: 1.25rem;
}
.feature-title { font-size: 1.15rem; font-weight: 700; margin-bottom: .5rem; }
.feature-desc { color: var(--slate-500); font-size: .95rem; }

/* ===================== CATEGORIES ===================== */
.categories-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.cat-hero-card {
  position: relative; border-radius: var(--radius-xl); overflow: hidden;
  aspect-ratio: 4/5; cursor: pointer;
}
.cat-hero-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.cat-hero-card:hover img { transform: scale(1.06); }
.cat-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,23,42,.75) 0%, transparent 60%); }
.cat-hero-text { position: absolute; bottom: 0; right: 0; left: 0; padding: 1.5rem; color: #fff; }
.cat-hero-title { font-size: 1.5rem; font-weight: 800; }

/* ===================== PRODUCT CARD ===================== */
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.product-card {
  background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--slate-100); box-shadow: var(--shadow);
  transition: var(--transition); cursor: pointer;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.product-img-wrap { position: relative; aspect-ratio: 4/5; background: var(--slate-100); overflow: hidden; }
.product-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.product-card:hover .product-img-wrap img { transform: scale(1.06); }
.product-badge {
  position: absolute; top: .75rem; left: .75rem;
  background: rgba(255,255,255,.92); color: var(--brand-dark);
  font-size: .7rem; font-weight: 700; padding: .3rem .75rem; border-radius: 50px;
}
.product-badge-feat {
  position: absolute; top: .75rem; right: .75rem;
  background: var(--amber); color: #fff;
  font-size: .7rem; font-weight: 700; padding: .3rem .75rem; border-radius: 50px;
}
.product-body { padding: 1.1rem; }
.product-cat {
  display: inline-block; background: var(--brand-light); color: var(--brand);
  font-size: .72rem; font-weight: 700; padding: .2rem .65rem; border-radius: 50px; margin-bottom: .5rem;
}
.product-name { font-weight: 700; font-size: .95rem; margin-bottom: .6rem; color: var(--slate-900); line-height: 1.4; }
.product-price-row { display: flex; align-items: baseline; gap: .6rem; flex-wrap: wrap; }
.product-price { font-size: 1rem; font-weight: 800; color: var(--slate-900); }
.product-old { font-size: .8rem; color: var(--slate-400); text-decoration: line-through; }
.empty-msg { text-align: center; padding: 4rem; color: var(--slate-400); font-size: 1.1rem; grid-column: 1/-1; }

/* ===================== PRODUCT DETAIL ===================== */
.product-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.product-detail-img { position: relative; border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 4/5; background: var(--slate-100); }
.product-detail-img img { width: 100%; height: 100%; object-fit: cover; }
.product-badge.big { font-size: .85rem; padding: .5rem 1rem; }
.product-detail-name { font-size: 2rem; font-weight: 800; margin: .5rem 0 1rem; }
.product-price-row.big .product-price { font-size: 1.75rem; color: var(--brand); }
.product-desc { color: var(--slate-600); line-height: 1.8; margin: 1rem 0 1.5rem; }
.option-group { margin-bottom: 1.25rem; }
.option-label { display: block; font-weight: 700; margin-bottom: .6rem; }
.option-btns { display: flex; gap: .5rem; flex-wrap: wrap; }
.opt-btn {
  padding: .5rem 1rem; border: 2px solid var(--slate-200); border-radius: var(--radius);
  font-weight: 600; font-size: .875rem; transition: var(--transition); background: #fff;
}
.opt-btn.active { border-color: var(--brand); background: var(--brand-light); color: var(--brand); }
.opt-btn:hover { border-color: var(--brand); }
.qty-row { margin-bottom: 1.5rem; }
.qty-ctrl { display: flex; align-items: center; gap: 1rem; }
.qty-ctrl button {
  width: 40px; height: 40px; border: 2px solid var(--slate-200); border-radius: var(--radius);
  font-size: 1.25rem; font-weight: 700; transition: var(--transition);
}
.qty-ctrl button:hover { border-color: var(--brand); color: var(--brand); }
.qty-ctrl span { font-size: 1.25rem; font-weight: 700; min-width: 2rem; text-align: center; }
.detail-actions { display: flex; gap: 1rem; }

/* ===================== SHOP FILTER ===================== */
.shop-hero-section {
  background: linear-gradient(135deg, var(--slate-900), var(--brand-dark));
  color: #fff; padding: 3.5rem 0;
}
.shop-hero-title { font-size: 2.5rem; font-weight: 800; margin-bottom: .75rem; }
.filter-bar { background: #fff; padding: 1.25rem 0; border-bottom: 1px solid var(--slate-100); position: sticky; top: 68px; z-index: 50; }
.filter-inner { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.cat-btn {
  padding: .6rem 1.25rem; border-radius: 50px; border: 2px solid var(--slate-200);
  font-weight: 600; font-size: .875rem; transition: var(--transition); white-space: nowrap;
  background: #fff; color: var(--slate-700);
}
.cat-btn:hover { border-color: var(--brand); color: var(--brand); }
.cat-btn.active { background: var(--slate-900); color: #fff; border-color: var(--slate-900); }
.search-box {
  flex: 1; min-width: 200px; max-width: 320px;
  padding: .65rem 1.1rem; border: 2px solid var(--slate-200);
  border-radius: 50px; outline: none; transition: var(--transition);
}
.search-box:focus { border-color: var(--brand); }
.shop-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.shop-meta h2 { font-size: 1.5rem; font-weight: 800; }

/* ===================== CART ===================== */
.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 2rem; align-items: start; }
.cart-item {
  background: #fff; border-radius: var(--radius-lg); padding: 1.25rem;
  border: 1px solid var(--slate-100); display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem;
}
.cart-item-img { width: 80px; height: 96px; border-radius: var(--radius); object-fit: cover; flex-shrink: 0; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-info h3 { font-weight: 700; margin-bottom: .25rem; }
.cart-item-info h3 a:hover { color: var(--brand); }
.cart-item-meta { font-size: .8rem; color: var(--slate-400); margin-bottom: .35rem; }
.cart-item-price { color: var(--brand); font-weight: 700; }
.cart-item-qty { display: flex; align-items: center; gap: .6rem; }
.cart-item-qty button {
  width: 32px; height: 32px; border: 2px solid var(--slate-200); border-radius: var(--radius);
  font-weight: 700; transition: var(--transition);
}
.cart-item-qty button:hover { border-color: var(--brand); color: var(--brand); }
.cart-item-qty span { font-weight: 700; }
.cart-item-total { font-weight: 800; min-width: 100px; text-align: left; color: var(--slate-900); }
.cart-item-del { color: var(--red); padding: .5rem; border-radius: var(--radius); transition: var(--transition); }
.cart-item-del:hover { background: #fef2f2; }
.cart-summary-box {
  background: #fff; border-radius: var(--radius-lg); padding: 1.5rem;
  border: 1px solid var(--slate-100); position: sticky; top: 90px;
}
.cart-summary-box h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 1rem; }
.summary-row { display: flex; justify-content: space-between; padding: .6rem 0; border-bottom: 1px solid var(--slate-100); color: var(--slate-600); }
.summary-row.total { font-weight: 800; font-size: 1.1rem; color: var(--slate-900); border: none; }
.empty-cart { text-align: center; padding: 4rem 2rem; background: #fff; border-radius: var(--radius-xl); border: 1px solid var(--slate-100); }
.empty-cart p { color: var(--slate-400); font-size: 1.1rem; margin: 1rem 0 2rem; }

/* ===================== CHECKOUT ===================== */
.checkout-layout { display: grid; grid-template-columns: 1fr 360px; gap: 2rem; align-items: start; }
.checkout-card { background: #fff; border-radius: var(--radius-xl); padding: 2rem; border: 1px solid var(--slate-100); }
.checkout-card h2 { font-size: 1.35rem; font-weight: 800; margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-size: .875rem; font-weight: 700; color: var(--slate-700); margin-bottom: .5rem; }
.form-input {
  width: 100%; padding: .85rem 1rem; border: 2px solid var(--slate-200); border-radius: var(--radius);
  font-size: 1rem; outline: none; transition: var(--transition);
}
.form-input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(237,21,96,.1); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.co-item { display: flex; justify-content: space-between; padding: .65rem 0; border-bottom: 1px solid var(--slate-100); font-size: .9rem; }
.co-item span:first-child { color: var(--slate-600); }
.co-item.total { font-weight: 800; font-size: 1rem; border: none; color: var(--brand); }

/* ===================== AUTH ===================== */
.auth-page { display: flex; min-height: 100vh; }
.auth-deco {
  flex: 1; display: flex; align-items: center; justify-content: center; padding: 3rem;
  background: linear-gradient(135deg, var(--brand), var(--purple));
  position: relative; overflow: hidden;
}
.auth-deco::before, .auth-deco::after {
  content: ''; position: absolute; border-radius: 50%; filter: blur(80px);
}
.auth-deco::before { width: 400px; height: 400px; background: rgba(255,255,255,.1); top: -60px; right: -60px; }
.auth-deco::after  { width: 400px; height: 400px; background: rgba(255,255,255,.1); bottom: -60px; left: -60px; }
.auth-deco-inner { position: relative; z-index: 1; text-align: center; color: #fff; max-width: 28rem; }
.auth-deco-icon {
  width: 90px; height: 90px; margin: 0 auto 1.5rem;
  background: rgba(255,255,255,.15); border-radius: 1.5rem;
  display: flex; align-items: center; justify-content: center; backdrop-filter: blur(8px);
}
.auth-deco h2 { font-size: 2.25rem; font-weight: 800; margin-bottom: 1rem; }
.auth-deco p { font-size: 1.05rem; line-height: 1.75; opacity: .9; }
.auth-form-side {
  flex: 1; display: flex; align-items: center; justify-content: center;
  padding: 3rem; background: #fff;
}
.auth-form-box { width: 100%; max-width: 28rem; }
.auth-title { font-size: 1.875rem; font-weight: 800; margin-bottom: .35rem; }
.auth-sub { color: var(--slate-500); margin-bottom: 1.5rem; }
.form-hint { font-size: .75rem; color: var(--slate-400); margin-top: .4rem; }
.form-error { display: none; color: var(--red); font-size: .875rem; padding: .65rem 1rem; background: #fef2f2; border: 1px solid #fecaca; border-radius: var(--radius); margin-bottom: 1rem; }
.otp-display-box {
  display: none; background: linear-gradient(to left, #fffbeb, #fff7ed);
  border: 2px solid #fcd34d; border-radius: var(--radius-lg); padding: 1.25rem; margin-bottom: 1.25rem;
}
.otp-display-header { display: flex; align-items: center; gap: .5rem; margin-bottom: .5rem; }
.otp-display-icon {
  width: 32px; height: 32px; background: var(--amber); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: #fff;
}
.otp-display-title { font-weight: 700; color: #92400e; }
.otp-code-box {
  background: #fff; border: 2px solid #fde68a; border-radius: var(--radius);
  padding: 1rem 1.25rem; margin-top: .75rem; cursor: pointer; transition: var(--transition);
  display: flex; align-items: center; justify-content: space-between;
}
.otp-code-box:hover { background: #fffbeb; }
.otp-code { font-size: 2rem; font-weight: 800; color: #d97706; letter-spacing: .4rem; direction: ltr; }
.otp-click-hint { font-size: .75rem; color: #92400e; font-weight: 700; }
.otp-hint { font-size: .75rem; color: #92400e; margin-top: .75rem; }
.otp-input { text-align: center; font-size: 1.5rem; font-weight: 700; letter-spacing: .4rem; }
.countdown { font-size: .875rem; color: var(--slate-500); display: none; }
.countdown-time { font-weight: 700; color: var(--brand); direction: ltr; display: inline-block; }
.resend-btn { display: none; color: var(--brand); font-weight: 600; cursor: pointer; text-decoration: underline; background: none; border: none; }
.back-btn { display: flex; align-items: center; gap: .4rem; color: var(--slate-600); font-weight: 600; margin-bottom: 1.5rem; font-size: .9rem; cursor: pointer; background: none; border: none; }
.back-btn:hover { color: var(--brand); }
.auth-divider { text-align: center; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--slate-100); }
.auth-divider a { color: var(--slate-500); font-size: .875rem; }

/* ===================== DASHBOARD ===================== */
.dashboard-wrap { padding: 2.5rem 0; background: var(--slate-50); min-height: calc(100vh - 68px); }
.dash-banner {
  background: linear-gradient(to left, var(--brand), var(--purple));
  border-radius: var(--radius-xl); padding: 2rem; color: #fff;
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 2rem;
  position: relative; overflow: hidden;
}
.dash-banner::before { content:''; position:absolute; inset:0; background:rgba(255,255,255,.05); }
.dash-user-info { display: flex; align-items: center; gap: 1rem; position: relative; }
.dash-avatar {
  width: 60px; height: 60px; border-radius: 1rem;
  background: rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem; font-weight: 800;
}
.dash-banner h1 { font-size: 1.75rem; font-weight: 800; }
.dash-banner p { opacity: .85; }
.dash-grid { display: grid; grid-template-columns: 220px 1fr; gap: 2rem; }
.dash-sidebar { background: #fff; border-radius: var(--radius-xl); padding: 1rem; height: fit-content; position: sticky; top: 90px; border: 1px solid var(--slate-100); }
.dash-tab-btn {
  display: flex; align-items: center; gap: .75rem; width: 100%;
  padding: .85rem 1rem; border-radius: var(--radius); font-weight: 600;
  transition: var(--transition); color: var(--slate-600); margin-bottom: .25rem;
}
.dash-tab-btn:hover { background: var(--slate-50); }
.dash-tab-btn.active { background: linear-gradient(to left, var(--brand), var(--purple)); color: #fff; }
.dash-content { background: #fff; border-radius: var(--radius-xl); padding: 1.75rem; border: 1px solid var(--slate-100); }
.dash-tab { display: none; }
.dash-tab.active { display: block; }
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 1.5rem; }
.stat-card { background: var(--slate-50); border-radius: var(--radius-lg); padding: 1.25rem; border: 1px solid var(--slate-100); }
.stat-card-icon {
  width: 48px; height: 48px; border-radius: var(--radius); display: flex;
  align-items: center; justify-content: center; margin-bottom: 1rem;
}
.stat-card-num { font-size: 2rem; font-weight: 800; margin-bottom: .25rem; }
.stat-card-lbl { color: var(--slate-500); font-size: .875rem; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.info-box { background: var(--slate-50); border-radius: var(--radius); padding: 1rem; border: 1px solid var(--slate-100); }
.info-box-label { font-size: .8rem; color: var(--slate-400); margin-bottom: .35rem; }
.info-box-val { font-weight: 700; }
.order-card { background: var(--slate-50); border-radius: var(--radius-lg); padding: 1.25rem; border: 1px solid var(--slate-100); margin-bottom: 1rem; }
.order-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: .5rem; }
.order-id { font-weight: 700; color: var(--brand); }
.order-status { font-size: .75rem; font-weight: 700; padding: .3rem .75rem; border-radius: 50px; }
.order-meta { display: flex; gap: 1rem; font-size: .8rem; color: var(--slate-400); margin-bottom: .5rem; }
.order-total { font-weight: 700; font-size: 1.05rem; }
.empty-orders { text-align: center; padding: 3rem 1rem; }
.empty-orders p { color: var(--slate-400); margin: 1rem 0 2rem; }

/* ===================== CTA ===================== */
.cta-box {
  background: linear-gradient(135deg, var(--brand), var(--purple));
  border-radius: var(--radius-xl); padding: 4rem 2rem; text-align: center; color: #fff;
  position: relative; overflow: hidden;
}
.cta-box::before, .cta-box::after {
  content:''; position:absolute; border-radius:50%; filter:blur(60px);
}
.cta-box::before { width:300px; height:300px; background:rgba(255,255,255,.1); top:0; left:0; }
.cta-box::after  { width:300px; height:300px; background:rgba(255,255,255,.1); bottom:0; right:0; }
.cta-inner { position: relative; }
.cta-title { font-size: 2.25rem; font-weight: 800; margin-bottom: 1rem; }
.cta-desc { font-size: 1.05rem; opacity: .9; max-width: 32rem; margin: 0 auto 2rem; }
.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-white { background: #fff; color: var(--brand); }
.btn-white:hover { transform: scale(1.05); }
.btn-glass { background: rgba(255,255,255,.12); color: #fff; border: 2px solid rgba(255,255,255,.3); backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgba(255,255,255,.22); }

/* ===================== FAQ ===================== */
.faq-hero {
  background: linear-gradient(135deg, var(--slate-900), var(--brand-dark));
  color: #fff;
  padding: 4rem 0;
}
.faq-hero-card {
  max-width: 48rem;
}
.faq-kicker {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.14);
  color: #fff;
  padding: .45rem 1rem;
  border-radius: 50px;
  font-weight: 800;
  font-size: .85rem;
  margin-bottom: 1rem;
  backdrop-filter: blur(10px);
}
.faq-page-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 1rem;
}
.faq-page-desc {
  color: rgba(255,255,255,.82);
  font-size: 1.05rem;
  max-width: 40rem;
}
.faq-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  align-items: start;
}
.faq-side-card {
  position: sticky;
  top: 92px;
  background: #fff;
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-xl);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}
.faq-side-card h2 {
  font-size: 1rem;
  font-weight: 900;
  margin-bottom: .85rem;
}
.faq-side-card a {
  display: block;
  padding: .75rem .9rem;
  border-radius: var(--radius);
  color: var(--slate-600);
  font-weight: 700;
  font-size: .9rem;
  transition: var(--transition);
}
.faq-side-card a:hover {
  color: var(--brand);
  background: var(--brand-light);
}
.faq-content {
  display: grid;
  gap: 1.5rem;
}
.faq-group {
  scroll-margin-top: 105px;
}
.faq-group-title {
  font-size: 1.35rem;
  font-weight: 900;
  margin-bottom: 1rem;
  color: var(--slate-900);
}
.faq-preview-grid {
  max-width: 56rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.faq-item:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 1.25rem;
  font-weight: 900;
  color: var(--slate-800);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand-light);
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  flex-shrink: 0;
  transition: var(--transition);
}
.faq-item[open] summary::after {
  content: "−";
  background: var(--brand);
  color: #fff;
}
.faq-answer {
  padding: 0 1.25rem 1.15rem;
  color: var(--slate-600);
  line-height: 1.9;
  font-size: .95rem;
}

/* ===================== SUCCESS ===================== */
.success-box { background: #fff; border-radius: var(--radius-xl); padding: 4rem 2rem; text-align: center; max-width: 36rem; margin: 4rem auto; border: 1px solid var(--slate-100); }
.success-icon { width: 80px; height: 80px; background: #dcfce7; color: var(--green); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; }
.success-title { font-size: 2rem; font-weight: 800; margin-bottom: 1rem; }
.success-desc { color: var(--slate-500); margin-bottom: 2rem; }
.success-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ===================== FOOTER ===================== */
.footer { background: var(--slate-900); color: #fff; padding: 4rem 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; }
.footer-logo .logo-text { color: #fff; background: none; -webkit-text-fill-color: #fff; }
.footer-desc { color: var(--slate-400); margin-top: .75rem; max-width: 24rem; font-size: .95rem; line-height: 1.75; }
.footer-title { font-weight: 700; font-size: 1rem; margin-bottom: 1rem; }
.footer-list { list-style: none; }
.footer-list li { margin-bottom: .6rem; }
.footer-list a { color: var(--slate-400); transition: var(--transition); font-size: .9rem; }
.footer-list a:hover { color: var(--brand-light); }
.footer-contact-item { display: flex; align-items: center; gap: .5rem; color: var(--slate-400); font-size: .9rem; margin-bottom: .65rem; }
.footer-bottom { border-top: 1px solid #1e293b; margin-top: 3rem; padding-top: 1.75rem; text-align: center; color: var(--slate-500); font-size: .875rem; }

/* ===================== BREADCRUMB ===================== */
.breadcrumb { display: flex; align-items: center; gap: .5rem; color: var(--slate-400); font-size: .875rem; margin-bottom: 1.5rem; }
.breadcrumb a { color: var(--slate-500); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb-sep { color: var(--slate-300); }

/* ===================== PAGE HEADER ===================== */
.page-header { padding: 2.5rem 0; }
.page-title { font-size: 2rem; font-weight: 800; }
.page-sub { color: var(--slate-500); margin-top: .35rem; }

/* ===================== MOBILE MENU / RESPONSIVE ===================== */
body.menu-open { overflow: hidden; }
.mobile-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, .48);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
  z-index: 180;
}
.mobile-backdrop.open { opacity: 1; visibility: visible; }
.mobile-menu {
  display: block;
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 200;
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s ease;
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu-panel {
  height: 100%;
  width: 100%;
  background: rgba(255, 255, 255, .98);
  backdrop-filter: blur(18px);
  box-shadow: -18px 0 55px rgba(15, 23, 42, .18);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
  transform: translateX(100%);
  transition: transform .32s cubic-bezier(.4,0,.2,1);
}
.mobile-menu.open .mobile-menu-panel {
  transform: translateX(0);
}
.mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--slate-100);
}
.mobile-close {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--slate-100);
  color: var(--slate-700);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.mobile-close:hover { background: var(--brand-light); color: var(--brand); }
.mobile-user-card {
  margin: 1rem 0;
  padding: 1rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--brand), var(--purple));
  color: white;
  align-items: center;
  gap: .85rem;
}
.mobile-user-avatar {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  background: rgba(255,255,255,.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.15rem;
  flex-shrink: 0;
}
.mobile-user-name { font-weight: 800; line-height: 1.4; word-break: break-word; }
.mobile-user-phone { font-size: .78rem; opacity: .82; direction: ltr; text-align: right; word-break: break-all; }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: .45rem;
  padding: .5rem 0 1rem;
}
.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: .75rem;
  width: 100%;
  min-height: 50px;
  padding: .75rem .9rem;
  border-radius: var(--radius);
  color: var(--slate-700);
  font-weight: 700;
  transition: var(--transition);
  position: relative;
}
.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--brand);
  background: var(--brand-light);
}
.mobile-nav-link .mobile-cart-badge {
  position: static;
  margin-right: auto;
  min-width: 24px;
  height: 24px;
  font-size: .75rem;
}
.mobile-actions {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--slate-100);
  display: grid;
  gap: .75rem;
}
.burger {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  background: var(--slate-100);
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: var(--transition);
}
.burger:hover { background: var(--brand-light); }
.burger span {
  width: 20px;
  height: 2px;
  background: var(--slate-800);
  transform-origin: center;
}
.burger.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ===================== RESPONSIVE ===================== */
/* All responsive styles moved to css/responsive.css */
/* Loaded after niyoshop.css for proper cascade override */

/* ===================== OWNER PANEL ===================== */
.owner-wrap { padding: 2rem 0 3rem; background: var(--slate-50); min-height: 100vh; }
.owner-header {
  background: linear-gradient(135deg, var(--slate-900), var(--brand-dark));
  color: #fff; padding: 1.5rem; border-radius: var(--radius-xl);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  margin-bottom: 1.5rem; flex-wrap: wrap;
}
.owner-header-info { display: flex; align-items: center; gap: 1rem; }
.owner-badge {
  width: 56px; height: 56px; border-radius: 16px; flex-shrink: 0;
  background: rgba(255,255,255,.15); display: flex; align-items: center; justify-content: center;
}
.owner-header h1 { font-size: 1.5rem; font-weight: 900; }
.owner-header p { opacity: .8; font-size: .9rem; }
.owner-logout-btn {
  background: rgba(255,255,255,.15); color: #fff; padding: .6rem 1.2rem;
  border-radius: 50px; font-weight: 700; transition: var(--transition);
}
.owner-logout-btn:hover { background: rgba(255,255,255,.28); }

.owner-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 1.5rem; }
.owner-stat-card {
  background: #fff; border: 1px solid var(--slate-100); border-radius: var(--radius-lg);
  padding: 1.25rem; box-shadow: var(--shadow);
}
.owner-stat-icon {
  width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  margin-bottom: .75rem;
}
.owner-stat-num { font-size: 1.5rem; font-weight: 900; color: var(--slate-900); }
.owner-stat-lbl { color: var(--slate-500); font-size: .85rem; }

.owner-tabs {
  display: flex; gap: .5rem; background: #fff; padding: 5px; border-radius: 16px;
  margin-bottom: 1.5rem; border: 1px solid var(--slate-100); width: fit-content; flex-wrap: wrap;
}
.owner-tab-btn {
  padding: .7rem 1.4rem; border-radius: 12px; font-weight: 800; font-size: .92rem;
  color: var(--slate-500); transition: var(--transition);
}
.owner-tab-btn.active { background: linear-gradient(to left, var(--brand), var(--purple)); color: #fff; }
.owner-tab { display: none; }
.owner-tab.active { display: block; }

.owner-card {
  background: #fff; border: 1px solid var(--slate-100); border-radius: var(--radius-xl);
  padding: 1.5rem; box-shadow: var(--shadow); margin-bottom: 1.5rem;
}
.owner-card h2 { font-size: 1.2rem; font-weight: 900; margin-bottom: 1.25rem; }
.owner-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.owner-form-full { grid-column: 1 / -1; }
.owner-check-row { display: flex; align-items: center; gap: .6rem; }
.owner-check-row input { width: 20px; height: 20px; accent-color: var(--brand); }

.owner-product-row {
  display: flex; align-items: center; gap: 1rem; padding: .85rem;
  border: 1px solid var(--slate-100); border-radius: var(--radius-lg); margin-bottom: .75rem;
  background: var(--slate-50);
}
.owner-product-img { width: 54px; height: 54px; border-radius: 12px; object-fit: cover; flex-shrink: 0; background: #fff; }
.owner-product-info { flex: 1; min-width: 0; }
.owner-product-info h4 { font-weight: 800; font-size: .95rem; margin-bottom: .2rem; }
.owner-product-cat { font-size: .78rem; color: var(--brand); background: var(--brand-light); padding: .15rem .6rem; border-radius: 50px; }
.owner-product-price { font-weight: 800; color: var(--slate-900); white-space: nowrap; }
.owner-del-btn {
  width: 38px; height: 38px; border-radius: 10px; background: #fee2e2; color: var(--red);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: var(--transition);
}
.owner-del-btn:hover { background: var(--red); color: #fff; }

.owner-order-card {
  border: 1px solid var(--slate-100); border-radius: var(--radius-lg); padding: 1rem;
  margin-bottom: .75rem; background: var(--slate-50);
}
.owner-order-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .5rem; }
.owner-order-total { font-weight: 800; color: var(--brand); }
.owner-order-body p { margin-bottom: .2rem; }
.owner-empty { text-align: center; padding: 2.5rem 1rem; color: var(--slate-500); }

@media (max-width: 640px) {
  .owner-stats { grid-template-columns: 1fr; }
  .owner-form-grid { grid-template-columns: 1fr; }
  .owner-tabs { width: 100%; }
  .owner-tab-btn { flex: 1; text-align: center; padding: .7rem .5rem; }
  .owner-product-row { flex-wrap: wrap; }
  .owner-product-price { width: 100%; }
}

/* ===================== IMAGE UPLOAD ===================== */
.image-upload-wrapper {
  position: relative; width: 100%; height: 220px;
  border: 2px dashed var(--slate-300); border-radius: var(--radius-lg);
  background: var(--slate-50); display: flex; align-items: center; justify-content: center;
  cursor: pointer; overflow: hidden; transition: var(--transition);
}
.image-upload-wrapper:hover {
  border-color: var(--brand); background: var(--brand-light);
}
.image-upload-preview {
  display: flex; flex-direction: column; align-items: center;
  color: var(--slate-500); pointer-events: none; z-index: 1;
}
.image-upload-preview img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  background: #fff; z-index: 2;
}
.hidden-file-input {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; cursor: pointer; z-index: 5;
}

/* ===================== ORDER STATUS V2 (Dashboard) ===================== */
.order-card-v2 {
  background: #fff; border: 1px solid var(--slate-100); border-radius: var(--radius-lg);
  padding: 1.25rem; margin-bottom: 1rem; box-shadow: var(--shadow);
  transition: var(--transition);
}
.order-card-v2:hover { box-shadow: var(--shadow-lg); }
.order-card-v2.cancelled { opacity: .75; border-color: #fecaca; background: #fef2f2; }
.order-card-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem;
  margin-bottom: 1rem; flex-wrap: wrap;
}
.order-card-head .order-id { font-weight: 800; color: var(--slate-900); font-size: 1rem; display: block; }
.order-card-head .order-date { font-size: .8rem; color: var(--slate-400); margin-top: .2rem; }
.order-status-tag {
  padding: .35rem .9rem; border-radius: 50px; font-weight: 800; font-size: .8rem;
  white-space: nowrap;
}
.order-progress {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: .25rem;
  padding: 1.25rem 0 .75rem; position: relative;
}
.order-progress::before {
  content: ''; position: absolute; top: calc(1.25rem + 14px); right: 5%; left: 5%;
  height: 3px; background: var(--slate-200); border-radius: 50px; z-index: 0;
}
.progress-step {
  position: relative; z-index: 1; display: flex; flex-direction: column;
  align-items: center; gap: .35rem; text-align: center;
}
.progress-dot {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--slate-100); color: var(--slate-400);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: .85rem; transition: var(--transition);
  border: 3px solid #fff;
}
.progress-step.done .progress-dot {
  background: var(--brand); color: #fff;
}
.progress-step.current .progress-dot {
  background: var(--brand); color: #fff;
  box-shadow: 0 0 0 4px var(--brand-light);
  transform: scale(1.15);
}
.progress-label {
  font-size: .65rem; color: var(--slate-500); font-weight: 600; line-height: 1.3;
}
.progress-step.done .progress-label, .progress-step.current .progress-label {
  color: var(--brand); font-weight: 800;
}
.order-card-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding-top: .75rem; border-top: 1px dashed var(--slate-200); flex-wrap: wrap;
}
.order-total-v2 { font-weight: 800; color: var(--brand); font-size: 1.05rem; }
.order-updated { font-size: .75rem; color: var(--slate-400); }

/* ===================== OWNER ORDER CARD V2 ===================== */
.owner-order-card-v2 {
  background: #fff; border: 1px solid var(--slate-100); border-radius: var(--radius-lg);
  padding: 1.25rem; margin-bottom: 1rem; transition: var(--transition);
}
.owner-order-card-v2.finished {
  background: linear-gradient(to left, #f0fdf4, #fff);
  border-color: #bbf7d0;
}
.owner-order-card-v2.cancelled {
  background: linear-gradient(to left, #fef2f2, #fff);
  border-color: #fecaca; opacity: .85;
}
.owner-order-top {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--slate-100);
  margin-bottom: 1rem; flex-wrap: wrap;
}
.order-id-v2 { font-weight: 900; color: var(--slate-900); font-size: 1.05rem; }
.owner-order-date { font-size: .8rem; color: var(--slate-400); margin-top: .2rem; }
.owner-status-tag {
  padding: .4rem 1rem; border-radius: 50px; font-weight: 800; font-size: .82rem;
  white-space: nowrap;
}
.owner-order-customer {
  background: var(--slate-50); border-radius: var(--radius);
  padding: .85rem; margin-bottom: 1rem; display: grid; gap: .35rem;
}
.owner-order-row-info {
  display: flex; gap: 1.2rem; font-size: .88rem; color: var(--slate-700);
  flex-wrap: wrap;
}
.owner-order-items {
  background: #fff; border: 1px dashed var(--slate-200); border-radius: var(--radius);
  padding: .75rem 1rem; margin-bottom: 1rem; font-size: .85rem;
}
.owner-order-items strong { display: block; margin-bottom: .4rem; color: var(--slate-700); }
.owner-order-items ul { list-style: none; padding: 0; }
.owner-order-items li {
  padding: .2rem 0; color: var(--slate-600);
}
.owner-order-foot {
  display: flex; justify-content: flex-start; padding-bottom: 1rem;
  border-bottom: 1px dashed var(--slate-200); margin-bottom: 1rem;
}
.owner-order-total-big {
  font-size: 1.25rem; font-weight: 900; color: var(--brand);
}
.owner-order-actions { display: flex; flex-direction: column; gap: .75rem; }
.owner-status-label { font-size: .85rem; color: var(--slate-600); font-weight: 700; }
.owner-status-buttons { display: flex; gap: .4rem; flex-wrap: wrap; }
.status-btn {
  padding: .5rem .9rem; border-radius: 50px; border: 1.5px solid var(--slate-200);
  background: #fff; color: var(--slate-600); font-weight: 700; font-size: .8rem;
  cursor: pointer; transition: var(--transition);
}
.status-btn:hover { border-color: var(--brand); color: var(--brand); }
.status-btn.active { transform: scale(1.03); }
.owner-order-final-actions {
  display: flex; gap: .6rem; padding-top: .85rem; border-top: 1px solid var(--slate-100);
  margin-top: .5rem; flex-wrap: wrap;
}
.btn-finish {
  flex: 1; min-width: 200px; padding: .8rem; border-radius: var(--radius);
  background: linear-gradient(135deg, #10b981, #059669); color: #fff;
  font-weight: 800; display: flex; align-items: center; justify-content: center; gap: .5rem;
  cursor: pointer; transition: var(--transition); border: none;
  box-shadow: 0 4px 14px rgba(16, 185, 129, .3);
}
.btn-finish:hover { transform: scale(1.02); box-shadow: 0 6px 20px rgba(16, 185, 129, .45); }
.btn-cancel {
  padding: .8rem 1.1rem; border-radius: var(--radius); background: #fff;
  color: var(--red); border: 1.5px solid #fecaca; font-weight: 800; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: .4rem;
  transition: var(--transition);
}
.btn-cancel:hover { background: var(--red); color: #fff; border-color: var(--red); }
.owner-order-final-msg {
  background: var(--slate-50); border-radius: var(--radius); padding: .85rem 1rem;
  font-weight: 800; color: var(--slate-700); text-align: center;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  flex-wrap: wrap;
}
.btn-tiny {
  padding: .35rem .85rem; border-radius: 50px; font-size: .75rem; font-weight: 700;
  cursor: pointer; transition: var(--transition); border: none;
}
.btn-tiny-danger { background: var(--red); color: #fff; }
.btn-tiny-danger:hover { background: #b91c1c; }

/* Responsive */
@media (max-width: 640px) {
  .order-progress { grid-template-columns: repeat(3, 1fr); gap: .8rem 0; }
  .order-progress::before { display: none; }
  .progress-step { padding: .35rem; background: var(--slate-50); border-radius: var(--radius); }
  .progress-step.done, .progress-step.current { background: var(--brand-light); }
  .progress-label { font-size: .7rem; }
  .owner-status-buttons { flex-direction: column; }
  .status-btn { width: 100%; text-align: center; }
  .owner-order-final-actions { flex-direction: column; }
  .btn-finish, .btn-cancel { width: 100%; }
}
