/* --- Vazirmatn Font (Local) --- */
@font-face { font-family: "Vazirmatn"; src: url("../fonts/Vazirmatn-300.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Vazirmatn"; src: url("../fonts/Vazirmatn-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Vazirmatn"; src: url("../fonts/Vazirmatn-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Vazirmatn"; src: url("../fonts/Vazirmatn-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Vazirmatn"; src: url("../fonts/Vazirmatn-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

/* ================================================
   banowash.com — Complete Standalone CSS
   شامل: Reset + Tailwind Utilities + Custom Styles
   ================================================ */

/* --- Variables --- */
:root {
  --color-primary: #e0457b;
  --color-primary-dark: #c73367;
  --color-primary-rgb: 224,69,123;
  --font-vazir: 'Vazirmatn', Tahoma, Arial, sans-serif;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-vazir); font-size: 14px; color: #1e1e2d; background: #f9fafb; line-height: 1.7; direction: rtl; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea, select, button { font-family: inherit; font-size: inherit; }
ul, ol { list-style: none; }
table { border-collapse: collapse; width: 100%; }

/* --- Display --- */
.block { display: block; }
.inline-block { display: inline-block; }
.inline { display: inline; }
.inline-flex { display: inline-flex; }
.flex { display: flex; }
.grid { display: grid; }
.hidden { display: none !important; }
.table { display: table; }

/* --- Flex --- */
.flex-1 { flex: 1 1 0%; }
.flex-shrink-0 { flex-shrink: 0; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.flex-nowrap { flex-wrap: nowrap; }
.items-start { align-items: flex-start; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.justify-start { justify-content: flex-start; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-x-1 { column-gap: 0.25rem; }
.gap-x-2 { column-gap: 0.5rem; }
.gap-x-4 { column-gap: 1rem; }
.flex-auto { flex: 1 1 auto; }
.self-end { align-self: flex-end; }
.self-start { align-self: flex-start; }
.self-center { align-self: center; }

/* --- Grid --- */
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.col-span-1 { grid-column: span 1 / span 1; }
.col-span-2 { grid-column: span 2 / span 2; }
.col-span-3 { grid-column: span 3 / span 3; }
.col-span-4 { grid-column: span 4 / span 4; }

/* --- Spacing --- */
.p-0 { padding: 0; }
.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.p-10 { padding: 2.5rem; }
.p-12 { padding: 3rem; }
.px-1 { padding-right: 0.25rem; padding-left: 0.25rem; }
.px-2 { padding-right: 0.5rem; padding-left: 0.5rem; }
.px-3 { padding-right: 0.75rem; padding-left: 0.75rem; }
.px-4 { padding-right: 1rem; padding-left: 1rem; }
.px-5 { padding-right: 1.25rem; padding-left: 1.25rem; }
.px-6 { padding-right: 1.5rem; padding-left: 1.5rem; }
.px-8 { padding-right: 2rem; padding-left: 2rem; }
.py-0 { padding-top: 0; padding-bottom: 0; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.pt-0 { padding-top: 0; }
.pt-1 { padding-top: 0.25rem; }
.pt-2 { padding-top: 0.5rem; }
.pt-3 { padding-top: 0.75rem; }
.pt-4 { padding-top: 1rem; }
.pb-1 { padding-bottom: 0.25rem; }
.pb-2 { padding-bottom: 0.5rem; }
.pb-2\.5 { padding-bottom: 0.625rem; }
.pb-3 { padding-bottom: 0.75rem; }
.pb-4 { padding-bottom: 1rem; }
.pb-5 { padding-bottom: 1.25rem; }
.pb-6 { padding-bottom: 1.5rem; }
.pr-2 { padding-right: 0.5rem; }
.pr-3 { padding-right: 0.75rem; }
.pr-4 { padding-right: 1rem; }
.pl-10 { padding-left: 2.5rem; }
.pl-3 { padding-left: 0.75rem; }
.m-0 { margin: 0; }
.m-1 { margin: 0.25rem; }
.m-2 { margin: 0.5rem; }
.m-4 { margin: 1rem; }
.mx-auto { margin-right: auto; margin-left: auto; }
.mx-4 { margin-right: 1rem; margin-left: 1rem; }
.mx-6 { margin-right: 1.5rem; margin-left: 1.5rem; }
.my-2 { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.my-4 { margin-top: 1rem; margin-bottom: 1rem; }
.mt-0 { margin-top: 0; }
.mt-0\.5 { margin-top: 0.125rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-1\.5 { margin-top: 0.375rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; }
.mb-0\.5 { margin-bottom: 0.125rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-1\.5 { margin-bottom: 0.375rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mr-0 { margin-right: 0; }
.mr-0\.5 { margin-right: 0.125rem; }
.mr-1 { margin-right: 0.25rem; }
.mr-2 { margin-right: 0.5rem; }
.mr-3 { margin-right: 0.75rem; }
.mr-4 { margin-right: 1rem; }
.mr-auto { margin-right: auto; }
.ml-0 { margin-left: 0; }
.ml-0\.5 { margin-left: 0.125rem; }
.ml-1 { margin-left: 0.25rem; }
.ml-2 { margin-left: 0.5rem; }
.ml-auto { margin-left: auto; }

/* --- Width & Height --- */
.w-full { width: 100%; }
.w-auto { width: auto; }
.w-4 { width: 1rem; }
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.w-7 { width: 1.75rem; }
.w-8 { width: 2rem; }
.w-9 { width: 2.25rem; }
.w-10 { width: 2.5rem; }
.w-11 { width: 2.75rem; }
.w-12 { width: 3rem; }
.w-14 { width: 3.5rem; }
.w-16 { width: 4rem; }
.w-20 { width: 5rem; }
.w-24 { width: 6rem; }
.w-32 { width: 8rem; }
.w-36 { width: 9rem; }
.w-40 { width: 10rem; }
.w-48 { width: 12rem; }
.w-56 { width: 14rem; }
.w-60 { width: 15rem; }
.w-64 { width: 16rem; }
.w-80 { width: 20rem; }
.w-2\/3 { width: 66.666667%; }
.h-1 { height: 0.25rem; }
.h-2 { height: 0.5rem; }
.h-2\.5 { height: 0.625rem; }
.h-3 { height: 0.75rem; }
.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-7 { height: 1.75rem; }
.h-8 { height: 2rem; }
.h-9 { height: 2.25rem; }
.h-10 { height: 2.5rem; }
.h-11 { height: 2.75rem; }
.h-12 { height: 3rem; }
.h-14 { height: 3.5rem; }
.h-16 { height: 4rem; }
.h-20 { height: 5rem; }
.h-24 { height: 6rem; }
.h-32 { height: 8rem; }
.h-40 { height: 10rem; }
.h-44 { height: 11rem; }
.h-48 { height: 12rem; }
.h-56 { height: 14rem; }
.h-64 { height: 16rem; }
.h-80 { height: 20rem; }
.h-full { height: 100%; }
.h-screen { height: 100vh; }
.min-h-screen { min-height: 100vh; }
.min-h-0 { min-height: 0; }
.max-h-40 { max-height: 10rem; }
.max-h-48 { max-height: 12rem; }
.max-h-80 { max-height: 20rem; }
.max-h-96 { max-height: 24rem; }
.max-h-\[600px\] { max-height: 600px; }
.max-w-sm { max-width: 24rem; }
.max-w-md { max-width: 28rem; }
.max-w-lg { max-width: 32rem; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-7xl { max-width: 80rem; }
.max-w-none { max-width: none; }
.min-w-0 { min-width: 0; }
.min-w-48 { min-width: 12rem; }

/* --- Position --- */
.static { position: static; }
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-0 { top: 0; }
.top-1 { top: 0.25rem; }
.top-1\/2 { top: 50%; }
.top-2 { top: 0.5rem; }
.top-3 { top: 0.75rem; }
.top-4 { top: 1rem; }
.top-5 { top: 1.25rem; }
.top-full { top: 100%; }
.bottom-0 { bottom: 0; }
.bottom-4 { bottom: 1rem; }
.bottom-5 { bottom: 1.25rem; }
.bottom-6 { bottom: 1.5rem; }
.right-0 { right: 0; }
.right-1 { right: 0.25rem; }
.right-2 { right: 0.5rem; }
.right-3 { right: 0.75rem; }
.right-4 { right: 1rem; }
.right-12 { right: 3rem; }
.left-0 { left: 0; }
.left-1 { left: 0.25rem; }
.left-2 { left: 0.5rem; }
.left-3 { left: 0.75rem; }
.left-4 { left: 1rem; }
.left-1\/2 { left: 50%; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-30 { z-index: 30; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }
.z-\[999\] { z-index: 999; }
.z-\[9999\] { z-index: 9999; }

/* --- Typography --- */
.font-vazir { font-family: var(--font-vazir); }
.font-light { font-weight: 300; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-black { font-weight: 900; }
.font-mono { font-family: ui-monospace, monospace; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-8xl { font-size: 6rem; line-height: 1; }
.text-right { text-align: right; }
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-justify { text-align: justify; }
.leading-none { line-height: 1; }
.leading-tight { line-height: 1.25; }
.leading-snug { line-height: 1.375; }
.leading-normal { line-height: 1.5; }
.leading-relaxed { line-height: 1.625; }
.leading-loose { line-height: 2; }
.tracking-wide { letter-spacing: 0.025em; }
.uppercase { text-transform: uppercase; }
.lowercase { text-transform: lowercase; }
.capitalize { text-transform: capitalize; }
.truncate { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.whitespace-nowrap { white-space: nowrap; }
.line-clamp-1 { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; }
.line-clamp-2 { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.line-clamp-3 { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.underline { text-decoration: underline; }
.line-through { text-decoration: line-through; }
.no-underline { text-decoration: none; }
.italic { font-style: italic; }
.not-italic { font-style: normal; }

/* --- Colors --- */
.text-white { color: #ffffff; }
.text-black { color: #000000; }
.text-gray-300 { color: #d1d5db; }
.text-gray-400 { color: #9ca3af; }
.text-gray-500 { color: #6b7280; }
.text-gray-600 { color: #4b5563; }
.text-gray-700 { color: #374151; }
.text-gray-800 { color: #1f2937; }
.text-gray-900 { color: #111827; }
.text-primary { color: var(--color-primary); }
.text-primary-dark { color: var(--color-primary-dark); }
.text-red-400 { color: #f87171; }
.text-red-500 { color: #ef4444; }
.text-red-600 { color: #dc2626; }
.text-green-500 { color: #22c55e; }
.text-green-600 { color: #16a34a; }
.text-green-700 { color: #15803d; }
.text-blue-500 { color: #3b82f6; }
.text-blue-600 { color: #2563eb; }
.text-blue-700 { color: #1d4ed8; }
.text-yellow-400 { color: #facc15; }
.text-yellow-500 { color: #eab308; }
.text-yellow-700 { color: #a16207; }
.text-orange-500 { color: #f97316; }
.text-indigo-700 { color: #4338ca; }
.text-purple-700 { color: #7e22ce; }

/* --- Backgrounds --- */
.bg-white { background-color: #ffffff; }
.bg-black { background-color: #000000; }
.bg-transparent { background-color: transparent; }
.bg-gray-50 { background-color: #f9fafb; }
.bg-gray-100 { background-color: #f3f4f6; }
.bg-gray-200 { background-color: #e5e7eb; }
.bg-gray-800 { background-color: #1f2937; }
.bg-gray-900 { background-color: #111827; }
.bg-primary { background-color: var(--color-primary); }
.bg-primary-dark { background-color: var(--color-primary-dark); }
.bg-red-50 { background-color: #fef2f2; }
.bg-red-100 { background-color: #fee2e2; }
.bg-red-500 { background-color: #ef4444; }
.bg-green-50 { background-color: #f0fdf4; }
.bg-green-100 { background-color: #dcfce7; }
.bg-green-500 { background-color: #22c55e; }
.bg-green-600 { background-color: #16a34a; }
.bg-blue-50 { background-color: #eff6ff; }
.bg-blue-100 { background-color: #dbeafe; }
.bg-blue-500 { background-color: #3b82f6; }
.bg-yellow-50 { background-color: #fefce8; }
.bg-yellow-100 { background-color: #fef9c3; }
.bg-orange-50 { background-color: #fff7ed; }
.bg-orange-500 { background-color: #f97316; }
.bg-purple-50 { background-color: #faf5ff; }
.bg-purple-100 { background-color: #f3e8ff; }
.bg-indigo-100 { background-color: #e0e7ff; }
.bg-gradient-to-br { background-image: linear-gradient(to bottom right, var(--tw-gradient-stops)); }
.from-primary { --tw-gradient-from: var(--color-primary); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }
.to-primary-dark { --tw-gradient-to: var(--color-primary-dark); }

/* Primary with opacity */
.bg-primary\/5  { background-color: rgba(224,69,123,0.05); }
.bg-primary\/10 { background-color: rgba(224,69,123,0.10); }
.bg-primary\/20 { background-color: rgba(224,69,123,0.20); }
.bg-black\/60   { background-color: rgba(0,0,0,0.60); }
.bg-black\/90   { background-color: rgba(0,0,0,0.90); }
.bg-white\/10   { background-color: rgba(255,255,255,0.10); }
.bg-white\/60   { background-color: rgba(255,255,255,0.60); }
.bg-white\/80   { background-color: rgba(255,255,255,0.80); }
.bg-white\/90   { background-color: rgba(255,255,255,0.90); }

/* --- Borders --- */
.border { border: 1px solid #e5e7eb; }
.border-0 { border: 0; }
.border-2 { border: 2px solid #e5e7eb; }
.border-4 { border: 4px solid #e5e7eb; }
.border-t { border-top: 1px solid #e5e7eb; }
.border-b { border-bottom: 1px solid #e5e7eb; }
.border-b-2 { border-bottom: 2px solid #e5e7eb; }
.border-r { border-right: 1px solid #e5e7eb; }
.border-l { border-left: 1px solid #e5e7eb; }
.border-r-2 { border-right: 2px solid; }
.border-r-4 { border-right: 4px solid; }
.border-none { border: none; }
.border-dashed { border-style: dashed; }
.border-gray-100 { border-color: #f3f4f6; }
.border-gray-200 { border-color: #e5e7eb; }
.border-gray-300 { border-color: #d1d5db; }
.border-primary { border-color: var(--color-primary); }
.border-primary\/30 { border-color: rgba(224,69,123,0.30); }
.border-red-200 { border-color: #fecaca; }
.border-green-200 { border-color: #bbf7d0; }
.border-orange-200 { border-color: #fed7aa; }
.border-blue-400 { border-color: #60a5fa; }
.border-transparent { border-color: transparent; }
.divide-y > * + * { border-top: 1px solid #e5e7eb; }
.divide-x > * + * { border-right: 1px solid #e5e7eb; }

/* --- Border Radius --- */
.rounded { border-radius: 0.25rem; }
.rounded-sm { border-radius: 0.125rem; }
.rounded-md { border-radius: 0.375rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-full { border-radius: 9999px; }
.rounded-none { border-radius: 0; }
.rounded-t-lg { border-top-left-radius: 0.5rem; border-top-right-radius: 0.5rem; }
.rounded-b-lg { border-bottom-left-radius: 0.5rem; border-bottom-right-radius: 0.5rem; }
.rounded-r-none { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.rounded-l-none { border-top-left-radius: 0; border-bottom-left-radius: 0; }

/* --- Shadows --- */
.shadow { box-shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06); }
.shadow-sm { box-shadow: 0 1px 2px rgba(0,0,0,0.05); }
.shadow-md { box-shadow: 0 4px 6px rgba(0,0,0,0.1), 0 2px 4px rgba(0,0,0,0.06); }
.shadow-lg { box-shadow: 0 10px 15px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.05); }
.shadow-xl { box-shadow: 0 20px 25px rgba(0,0,0,0.1), 0 10px 10px rgba(0,0,0,0.04); }
.shadow-none { box-shadow: none; }

/* --- Opacity --- */
.opacity-0 { opacity: 0; }
.opacity-25 { opacity: 0.25; }
.opacity-40 { opacity: 0.4; }
.opacity-50 { opacity: 0.5; }
.opacity-60 { opacity: 0.6; }
.opacity-75 { opacity: 0.75; }
.opacity-100 { opacity: 1; }

/* --- Overflow --- */
.overflow-hidden { overflow: hidden; }
.overflow-auto { overflow: auto; }
.overflow-x-auto { overflow-x: auto; }
.overflow-y-auto { overflow-y: auto; }
.overflow-scroll { overflow: scroll; }

/* --- Object Fit --- */
.object-cover { object-fit: cover; }
.object-contain { object-fit: contain; }
.object-center { object-position: center; }

/* --- Aspect Ratio --- */
.aspect-square { aspect-ratio: 1 / 1; }
.aspect-video { aspect-ratio: 16 / 9; }

/* --- Cursor --- */
.cursor-pointer { cursor: pointer; }
.cursor-not-allowed { cursor: not-allowed; }
.cursor-default { cursor: default; }

/* --- Pointer Events --- */
.pointer-events-none { pointer-events: none; }
.select-none { user-select: none; }

/* --- Transforms --- */
.translate-x-full { transform: translateX(100%); }
.-translate-x-full { transform: translateX(-100%); }
.-translate-x-1\/2 { transform: translateX(-50%); }
.-translate-y-1\/2 { transform: translateY(-50%); }
.translate-y-full { transform: translateY(100%); }
.rotate-180 { transform: rotate(180deg); }
.scale-105 { transform: scale(1.05); }

/* --- Transitions --- */
.transition { transition: all 0.2s ease; }
.transition-all { transition: all 0.15s ease; }
.transition-colors { transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease; }
.transition-opacity { transition: opacity 0.15s ease; }
.transition-transform { transition: transform 0.15s ease; }
.duration-300 { transition-duration: 300ms; }
.duration-500 { transition-duration: 500ms; }
.ease-in { transition-timing-function: ease-in; }
.ease-out { transition-timing-function: ease-out; }

/* --- Animations --- */
.animate-spin { animation: spin 1s linear infinite; }
.animate-pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
.animate-bounce { animation: bounce 1s infinite; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
@keyframes bounce { 0%, 100% { transform: translateY(-25%); } 50% { transform: translateY(0); } }

/* --- Misc --- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.not-sr-only { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
.container { width: 100%; margin-right: auto; margin-left: auto; padding-right: 1rem; padding-left: 1rem; }
.space-y-0\.5 > * + * { margin-top: 0.125rem; }
.space-y-1 > * + * { margin-top: 0.25rem; }
.space-y-1\.5 > * + * { margin-top: 0.375rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-5 > * + * { margin-top: 1.25rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-x-1 > * + * { margin-left: 0.25rem; }
.space-x-2 > * + * { margin-left: 0.5rem; }
.resize-none { resize: none; }
.resize { resize: both; }
.appearance-none { appearance: none; }
.outline-none { outline: none; }
.ring-2 { box-shadow: 0 0 0 2px var(--color-primary); }

/* --- Responsive --- */
@media (min-width: 768px) {
  .md\:block { display: block; }
  .md\:hidden { display: none; }
  .md\:flex { display: flex; }
  .md\:grid { display: grid; }
  .md\:inline { display: inline; }
  .md\:inline-block { display: inline-block; }
  .md\:flex-row { flex-direction: row; }
  .md\:col-span-2 { grid-column: span 2 / span 2; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .md\:w-60 { width: 15rem; }
  .md\:col-span-2 { grid-column: span 2 / span 2; }
  .md\:inline { display: inline; }
  .md\:mr-64 { margin-right: 16rem; }
  .md\:p-6 { padding: 1.5rem; }
  .container { max-width: 1280px; }
}
@media (min-width: 1024px) {
  .lg\:block { display: block; }
  .lg\:hidden { display: none; }
  .lg\:flex { display: flex; }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg\:col-span-2 { grid-column: span 2 / span 2; }
}
@media (min-width: 1280px) {
  .xl\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .xl\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* --- Hover States --- */
.hover\:bg-gray-50:hover { background-color: #f9fafb; }
.hover\:bg-gray-100:hover { background-color: #f3f4f6; }
.hover\:bg-gray-200:hover { background-color: #e5e7eb; }
.hover\:bg-primary:hover { background-color: var(--color-primary); }
.hover\:bg-primary-dark:hover { background-color: var(--color-primary-dark); }
.hover\:bg-green-200:hover { background-color: #bbf7d0; }
.hover\:bg-red-200:hover { background-color: #fecaca; }
.hover\:bg-green-600:hover { background-color: #16a34a; }
.hover\:text-primary:hover { color: var(--color-primary); }
.hover\:text-gray-700:hover { color: #374151; }
.hover\:text-gray-600:hover { color: #4b5563; }
.hover\:text-red-500:hover { color: #ef4444; }
.hover\:text-red-600:hover { color: #dc2626; }
.hover\:text-white:hover { color: #ffffff; }
.hover\:underline:hover { text-decoration: underline; }
.hover\:shadow-md:hover { box-shadow: 0 4px 6px rgba(0,0,0,0.1); }
.hover\:border-primary:hover { border-color: var(--color-primary); }
.hover\:scale-105:hover { transform: scale(1.05); }
.group:hover .group-hover\:block { display: block; }
.group:hover .group-hover\:flex { display: flex; }
.group:hover .group-hover\:scale-105 { transform: scale(1.05); }

/* --- Focus States --- */
.focus\:outline-none:focus { outline: none; }
.focus\:border-primary:focus { border-color: var(--color-primary); }
.focus\:ring-2:focus { box-shadow: 0 0 0 2px var(--color-primary); }

/* --- Input/Form Styles --- */
input[type="text"], input[type="email"], input[type="password"], input[type="number"],
input[type="url"], input[type="tel"], input[type="date"], input[type="datetime-local"],
textarea, select {
  width: 100%;
  outline: none;
  background: #fff;
}
input[type="checkbox"], input[type="radio"] {
  width: auto;
  accent-color: var(--color-primary);
  cursor: pointer;
}
input:disabled, textarea:disabled, select:disabled { background: #f9fafb; cursor: not-allowed; }
input[type="number"]::-webkit-inner-spin-button { opacity: 0.5; }
::placeholder { color: #9ca3af; }

/* ===== CUSTOM COMPONENTS ===== */

/* --- Primary color utilities --- */
.text-primary { color: var(--color-primary); }
.bg-primary { background-color: var(--color-primary); }
.border-primary { border-color: var(--color-primary); }
.hover\:bg-primary-dark:hover { background-color: var(--color-primary-dark); }

/* --- Product Card --- */
.product-card { background:#fff; border-radius:1rem; border:1px solid #e5e7eb; overflow:hidden; transition:box-shadow .2s, transform .2s; }
.product-card:hover { box-shadow:0 4px 20px rgba(0,0,0,.10); transform:translateY(-2px); }
.product-card .card-image { position:relative; overflow:hidden; aspect-ratio:1; background:#fafafa; }
.product-card .card-image img { width:100%; height:100%; object-fit:cover; transition:transform .4s; }
.product-card:hover .card-image img { transform:scale(1.05); }

/* --- Badge --- */
.badge { display:inline-flex; align-items:center; padding:2px 8px; border-radius:20px; font-size:11px; font-weight:600; }
.badge-discount { background:var(--color-primary); color:#fff; }
.badge-new { background:#10b981; color:#fff; }
.badge-out { background:#6b7280; color:#fff; }

/* --- Sidebar Admin --- */
.sidebar-link { display:flex; align-items:center; gap:0.75rem; padding:0.625rem 0.75rem; border-radius:0.5rem; color:#4b5563; transition:all .15s; position:relative; }
.sidebar-link:hover { background:#f3f4f6; color:#1f2937; }
.sidebar-link.active { background:rgba(224,69,123,0.12); color:var(--color-primary); }
.sidebar-link.active::before { content:''; position:absolute; right:0; top:0; bottom:0; width:3px; background:var(--color-primary); border-radius:0 3px 3px 0; }

/* --- Slider --- */
.slider-wrapper { position:relative; overflow:hidden; border-radius:1rem; }
.slider-track { display:flex; transition:transform .5s cubic-bezier(.4,0,.2,1); }
.slider-slide { flex-shrink:0; width:100%; }
.slider-btn { position:absolute; top:50%; transform:translateY(-50%); z-index:10; background:rgba(255,255,255,.9); border:1px solid #e5e7eb; border-radius:50%; width:40px; height:40px; display:flex; align-items:center; justify-content:center; box-shadow:0 1px 3px rgba(0,0,0,.1); cursor:pointer; }
.slider-btn:hover { background:#fff; }
.slider-prev { right:12px; }
.slider-next { left:12px; }
.slider-dots { display:flex; justify-content:center; gap:6px; margin-top:10px; }
.slider-dot { width:8px; height:8px; border-radius:4px; background:#e5e7eb; border:none; cursor:pointer; transition:all .3s; }
.slider-dot.active { background:var(--color-primary); width:20px; }

/* --- Gallery Thumb --- */
.gallery-thumb { cursor:pointer; border:2px solid transparent; border-radius:0.5rem; overflow:hidden; transition:border-color .2s; }
.gallery-thumb.active, .gallery-thumb:hover { border-color:var(--color-primary); }

/* --- Star Rating --- */
.star-rating { direction:ltr; display:inline-flex; }
.stars { color:#f59e0b; }
.stars-empty { color:#d1d5db; }

/* --- Wishlist Button --- */
.wishlist-btn { position:absolute; top:8px; left:8px; width:32px; height:32px; border-radius:50%; background:#fff; border:1px solid #e5e7eb; display:flex; align-items:center; justify-content:center; transition:all .2s; box-shadow:0 1px 3px rgba(0,0,0,.1); cursor:pointer; }
.wishlist-btn:hover, .wishlist-btn.active { background:var(--color-primary); border-color:var(--color-primary); color:#fff; }

/* --- Popup --- */
.popup-overlay { position:fixed; inset:0; background:rgba(0,0,0,.6); z-index:1000; display:flex; align-items:center; justify-content:center; padding:1rem; }
.popup-box { background:#fff; border-radius:1.5rem; max-width:480px; width:100%; overflow:hidden; position:relative; }
.popup-close { position:absolute; top:.75rem; left:.75rem; width:30px; height:30px; border-radius:50%; background:rgba(0,0,0,.1); border:none; font-size:16px; cursor:pointer; display:flex; align-items:center; justify-content:center; }

/* --- Toast --- */
.toast { position:fixed; top:1.25rem; left:50%; transform:translateX(-50%); z-index:9999; padding:.75rem 1.5rem; border-radius:12px; font-size:.875rem; font-weight:500; color:#fff; box-shadow:0 4px 16px rgba(0,0,0,.15); }
.toast-success { background:#10b981; }
.toast-error { background:#ef4444; }
.toast-info { background:#3b82f6; }

/* --- Lightbox --- */
.lightbox { position:fixed; inset:0; background:rgba(0,0,0,.92); z-index:9999; display:flex; align-items:center; justify-content:center; padding:1rem; }
.lightbox img { max-width:90vw; max-height:90vh; border-radius:8px; }
.lightbox-close { position:absolute; top:1rem; left:1rem; color:#fff; background:rgba(255,255,255,.15); border:none; border-radius:50%; width:36px; height:36px; font-size:18px; cursor:pointer; display:flex; align-items:center; justify-content:center; }

/* --- Blog Content --- */
.blog-content h2 { font-size:1.25rem; margin:1.5rem 0 .75rem; }
.blog-content h3 { font-size:1.1rem; margin:1.25rem 0 .5rem; }
.blog-content p { margin-bottom:1rem; line-height:1.9; }
.blog-content ul { list-style:disc; padding-right:1.5rem; margin-bottom:1rem; }
.blog-content ol { list-style:decimal; padding-right:1.5rem; margin-bottom:1rem; }
.blog-content img { max-width:100%; border-radius:12px; margin:1rem 0; }
.blog-content a { color:var(--color-primary); text-decoration:underline; }
.blog-content blockquote { border-right:4px solid var(--color-primary); padding:.75rem 1rem; background:#fdf2f7; border-radius:0 8px 8px 0; margin:1rem 0; }

/* --- Sticky Cart --- */
.sticky-cart { position:fixed; bottom:1.5rem; left:1.5rem; z-index:40; background:var(--color-primary); color:#fff; padding:.75rem 1.25rem; border-radius:2rem; box-shadow:0 4px 20px rgba(224,69,123,.4); display:flex; align-items:center; gap:.5rem; font-weight:600; font-size:.875rem; transition:transform .2s; }
.sticky-cart:hover { transform:scale(1.04); color:#fff; }

/* --- Notification Badge --- */
.notif-badge { position:absolute; top:-4px; left:-4px; min-width:18px; height:18px; background:var(--color-primary); color:#fff; font-size:10px; border-radius:9px; display:flex; align-items:center; justify-content:center; font-weight:700; }

/* --- Admin Top Bar --- */
#admin-sidebar { position:fixed; top:0; right:0; height:100%; width:16rem; background:#fff; border-left:1px solid #e5e7eb; display:flex; flex-direction:column; overflow-y:auto; z-index:40; box-shadow:1px 0 4px rgba(0,0,0,.05); }
#admin-main { margin-right:16rem; display:flex; flex-direction:column; min-height:100vh; }

/* --- Tables --- */
th { text-align:right; font-weight:600; }
td { text-align:right; }

/* --- Flash --- */
#flash-success, #flash-error { animation: fadeIn .3s ease; }
@keyframes fadeIn { from { opacity:0; transform:translateY(-8px); } to { opacity:1; transform:translateY(0); } }

/* --- Scrollbar --- */
::-webkit-scrollbar { width:6px; height:6px; }
::-webkit-scrollbar-track { background:#f1f1f1; }
::-webkit-scrollbar-thumb { background:#d1d5db; border-radius:3px; }

/* --- Mobile --- */
@media (max-width: 767px) {
  #admin-sidebar { transform: translateX(100%); transition: transform .3s ease; }
  #admin-sidebar.open { transform: translateX(0); }
  #admin-main { margin-right: 0; }
  .container { padding-right: 1rem; padding-left: 1rem; }
}

/* --- Prose --- */
.prose { max-width: 65ch; line-height: 1.75; }
.prose.max-w-none { max-width: none; }

/* --- Peer/Has selectors for toggles --- */
.peer:checked ~ .peer-checked\:bg-primary { background-color: var(--color-primary); }
.peer:checked ~ div.peer-checked\:bg-primary { background-color: var(--color-primary); }

/* Toggle Switch */
.toggle-switch { position:relative; display:inline-flex; align-items:center; }
.toggle-switch input { position:absolute; opacity:0; width:0; height:0; }
.toggle-switch .slider { width:44px; height:24px; background:#e5e7eb; border-radius:12px; cursor:pointer; transition:background .2s; display:flex; align-items:center; padding:2px; }
.toggle-switch input:checked + .slider { background:var(--color-primary); }
.toggle-switch .slider::after { content:''; width:20px; height:20px; background:#fff; border-radius:50%; transition:transform .2s; }
.toggle-switch input:checked + .slider::after { transform:translateX(20px); }

/* sr only for tailwind toggle */
.sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); }

/* ===== MISSING UTILITIES ===== */

/* Margin right/left large values */
.mr-64 { margin-right: 16rem; }
.mr-60 { margin-right: 15rem; }
.ml-64 { margin-left: 16rem; }

/* overflow-y-auto for sidebar */
.overflow-y-auto { overflow-y: auto; }
.overflow-x-hidden { overflow-x: hidden; }

/* top/h full for fixed sidebar */
.top-0 { top: 0; }
.h-full { height: 100%; }

/* z-index */
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }

/* Admin layout fix */
#admin-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: 16rem;
  height: 100%;
  background: #ffffff;
  border-left: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  z-index: 40;
  box-shadow: -2px 0 8px rgba(0,0,0,0.05);
}

#admin-main {
  margin-right: 16rem;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  flex: 1;
}

/* sticky top */
.sticky { position: sticky; }
.top-0 { top: 0; }
.top-24 { top: 6rem; }

/* shadow-sm for header */
.shadow-sm { box-shadow: 0 1px 2px rgba(0,0,0,0.05); }

/* border-b for topbar */
.border-b { border-bottom: 1px solid #e5e7eb; }

/* Admin sidebar nav */
.admin-nav-group {
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  color: #9ca3af;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.5rem;
}

/* max-h for sidebar overflow */
.max-h-\[600px\] { max-height: 600px; }

/* divide utilities */
.divide-y > * + * { border-top: 1px solid #e5e7eb; }

/* gap large */
.gap-6 { gap: 1.5rem; }

/* grid for admin */
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }

/* space-y */
.space-y-0\.5 > * + * { margin-top: 0.125rem; }

/* flex-col for main area */
.flex-col { flex-direction: column; }
.flex-1 { flex: 1 1 0%; }

/* peer for toggle switches */
.peer { position: relative; }

/* Toggle switch (sr-only input + visual div) */
input[type="checkbox"].sr-only + div {
  width: 2.75rem;
  height: 1.5rem;
  background-color: #e5e7eb;
  border-radius: 9999px;
  position: relative;
  cursor: pointer;
  transition: background-color 0.2s;
}
input[type="checkbox"].sr-only:checked + div {
  background-color: var(--color-primary);
}
input[type="checkbox"].sr-only + div::after {
  content: '';
  position: absolute;
  top: 2px;
  right: 2px;
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 50%;
  transition: transform 0.2s;
}
input[type="checkbox"].sr-only:checked + div::after {
  transform: translateX(-20px);
}

/* Scrollbar for sidebar */
#admin-sidebar::-webkit-scrollbar { width: 4px; }
#admin-sidebar::-webkit-scrollbar-thumb { background: #e5e7eb; border-radius: 2px; }

/* Mobile admin */
@media (max-width: 1023px) {
  #admin-sidebar {
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }
  #admin-sidebar.open {
    transform: translateX(0);
  }
  #admin-main {
    margin-right: 0;
  }
}

/* Admin table */
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th { background: #f9fafb; font-weight: 600; font-size: 0.875rem; color: #374151; }
.admin-table td, .admin-table th { padding: 0.75rem 1rem; text-align: right; border-bottom: 1px solid #f3f4f6; }
.admin-table tr:hover td { background: #f9fafb; }

/* Status badges */
.badge-pending  { background: #fef9c3; color: #a16207; }
.badge-paid     { background: #dbeafe; color: #1d4ed8; }
.badge-shipped  { background: #f3e8ff; color: #7e22ce; }
.badge-delivered { background: #dcfce7; color: #15803d; }
.badge-cancelled { background: #fee2e2; color: #dc2626; }

/* Active sidebar link */
.sidebar-link.active {
  background: rgba(224, 69, 123, 0.10);
  color: #e0457b;
}
.sidebar-link.active svg {
  color: #e0457b;
}
.sidebar-link.active::before {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #e0457b;
  border-radius: 0 3px 3px 0;
}

/* px variations needed */
.px-1\.5 { padding-right: 0.375rem; padding-left: 0.375rem; }
.py-0\.5 { padding-top: 0.125rem; padding-bottom: 0.125rem; }

/* w-5 h-5 for icons */
.w-5 { width: 1.25rem; }
.h-5 { height: 1.25rem; }

/* inline-flex for badges */
.inline-flex { display: inline-flex; }
.items-center { align-items: center; }

/* rounded-full for badges */
.rounded-full { border-radius: 9999px; }

/* text-xs for badges */
.text-xs { font-size: 0.75rem; line-height: 1rem; }

/* font-medium */
.font-medium { font-weight: 500; }

/* ===== ADMIN RESPONSIVE FIXES ===== */

/* جداول - overflow افقی */
.admin-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 0.875rem;
    border: 1px solid #e5e7eb;
}
.admin-table-wrap table {
    min-width: 700px;
    width: 100%;
}

/* دکمه‌های عملیات در جداول */
.admin-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
    white-space: nowrap;
}
.admin-actions a,
.admin-actions button {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-family: inherit;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}
.admin-btn-edit   { background: #f3f4f6; color: #374151; }
.admin-btn-edit:hover { background: #e5e7eb; }
.admin-btn-delete { background: #fef2f2; color: #dc2626; }
.admin-btn-delete:hover { background: #fee2e2; }
.admin-btn-view   { background: #eff6ff; color: #2563eb; }
.admin-btn-view:hover { background: #dbeafe; }

/* mobile ادمین */
@media (max-width: 1023px) {
    #admin-main { margin-right: 0 !important; }
    .admin-table-wrap table { min-width: 600px; }
}

/* فیلد جستجو و ابزار بالای جدول */
.admin-toolbar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}
.admin-toolbar input[type="text"],
.admin-toolbar input[type="search"],
.admin-toolbar select {
    height: 38px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 0 12px;
    font-size: 13px;
    outline: none;
}
.admin-toolbar input:focus,
.admin-toolbar select:focus { border-color: var(--color-primary); }

/* کارت‌های آمار داشبورد */
.admin-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}
@media (max-width: 1024px) { .admin-stat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .admin-stat-grid { grid-template-columns: 1fr; } }

/* فرم‌های دو ستونه ادمین */
.admin-form-grid {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 20px;
}
@media (max-width: 1024px) { .admin-form-grid { grid-template-columns: 1fr; } }

/* ===== HOME BANNERS ===== */
.bw-banners-section {
    margin-top: 2rem;
}
.bw-banners-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.bw-banner-link {
    display: block;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,.08);
    transition: box-shadow .35s ease, transform .35s ease;
}
.bw-banner-link:hover {
    box-shadow: 0 10px 32px rgba(0,0,0,.16);
    transform: translateY(-4px);
}
.bw-banner-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform .45s ease;
}
.bw-banner-link:hover .bw-banner-img {
    transform: scale(1.04);
}
@media (max-width: 480px) {
    .bw-banners-grid { gap: 10px; }
}

/* ===== HOME BLOG SECTION ===== */
.bw-blog-section {
    margin-top: 3rem;
    margin-bottom: 3rem;
    background: #fff;
    padding: 2.5rem 0;
    border-top: 1px solid #f3f4f6;
}
.bw-section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.bw-section-title { font-size: 1.1rem; font-weight: 700; color: #1f2937; margin: 0; }
.bw-section-link { font-size: 0.875rem; color: var(--color-primary); }
.bw-section-link:hover { text-decoration: underline; }
.bw-blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .bw-blog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .bw-blog-grid { grid-template-columns: 1fr; } }
.bw-blog-card { display: flex; flex-direction: column; background: #fff; border-radius: 16px; border: 1px solid #e5e7eb; overflow: hidden; transition: box-shadow .25s, transform .25s; }
.bw-blog-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,.10); transform: translateY(-4px); }
.bw-blog-img-wrap { overflow: hidden; aspect-ratio: 16/9; }
.bw-blog-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.bw-blog-card:hover .bw-blog-img { transform: scale(1.05); }
.bw-blog-img-placeholder { aspect-ratio: 16/9; background: #f3f4f6; display: flex; align-items: center; justify-content: center; color: #d1d5db; }
.bw-blog-body { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.bw-blog-date { font-size: 12px; color: #9ca3af; margin-bottom: 8px; }
.bw-blog-title { font-size: 14px; font-weight: 700; color: #1f2937; line-height: 1.6; margin: 0 0 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bw-blog-summary { font-size: 13px; color: #6b7280; line-height: 1.7; flex: 1; margin: 0 0 12px; }
.bw-blog-read { font-size: 13px; color: var(--color-primary); font-weight: 600; margin-top: auto; }

/* ===== SMART RELATED ===== */
.bw-smart-related { margin-bottom: 2.5rem; background: linear-gradient(135deg, #fff5f9 0%, #fff 100%); border: 1px solid rgba(224,69,123,.12); border-radius: 16px; padding: 1.5rem; }
.bw-smart-related-title { display: flex; align-items: center; gap: 8px; font-size: 1rem; font-weight: 700; color: #1f2937; margin-bottom: 1.25rem; }
.bw-smart-related-title svg { color: var(--color-primary); flex-shrink: 0; }
