@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
*::before,
*::after {
  box-sizing: border-box;
}
html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #0f172a;
  background-color: #f8fafc;
  min-height: 100vh;
  overflow-x: hidden;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-weight: 700;
  line-height: 1.25;
  color: #0f172a;
  margin-bottom: 1rem;
}
h1 {
  font-size: 2.25rem;
}
@media (max-width: 768px) {
  h1 {
    font-size: 1.875rem;
  }
}
h2 {
  font-size: 1.875rem;
}
@media (max-width: 768px) {
  h2 {
    font-size: 1.5rem;
  }
}
h3 {
  font-size: 1.5rem;
}
@media (max-width: 768px) {
  h3 {
    font-size: 1.25rem;
  }
}
h4 {
  font-size: 1.25rem;
}
h5 {
  font-size: 1.125rem;
}
h6 {
  font-size: 1rem;
}
p {
  margin-bottom: 1rem;
}
p:last-child {
  margin-bottom: 0;
}
a {
  color: #2563eb;
  text-decoration: none;
  transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
a:hover {
  color: #1e40af;
}
ul,
ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}
li {
  margin-bottom: 0.5rem;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button {
  cursor: pointer;
  font-family: inherit;
}
input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (max-width: 768px) {
  .container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
}
.main {
  min-height: calc(100vh - 64px - 200px);
  padding: 2rem 0;
}
@media (max-width: 768px) {
  .main {
    padding: 1.5rem 0;
  }
}
.page-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 2rem;
}
@media (max-width: 768px) {
  .page-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }
}
.section {
  margin-bottom: 3rem;
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 2rem;
  }
}
.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}
@media (max-width: 768px) {
  .section-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
  }
}
.card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}
@media (max-width: 768px) {
  .card {
    padding: 1rem;
    border-radius: 0.75rem;
  }
}
.empty-state {
  text-align: center;
  padding: 3rem 1rem;
}
.empty-state p {
  font-size: 1.125rem;
  color: #64748b;
  margin-bottom: 1.5rem;
}
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid #e2e8f0;
  border-top-color: #2563eb;
  border-radius: 9999px;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.text-center {
  text-align: center;
}
.text-left {
  text-align: left;
}
.text-right {
  text-align: right;
}
.text-muted {
  color: #64748b;
}
.text-small {
  font-size: 0.875rem;
}
.text-large {
  font-size: 1.125rem;
}
.font-bold {
  font-weight: 700;
}
.font-medium {
  font-weight: 500;
}
.mt-0 {
  margin-top: 0;
}
.mt-2 {
  margin-top: 0.5rem;
}
.mt-4 {
  margin-top: 1rem;
}
.mt-6 {
  margin-top: 1.5rem;
}
.mt-8 {
  margin-top: 2rem;
}
.mb-0 {
  margin-bottom: 0;
}
.mb-2 {
  margin-bottom: 0.5rem;
}
.mb-4 {
  margin-bottom: 1rem;
}
.mb-6 {
  margin-bottom: 1.5rem;
}
.mb-8 {
  margin-bottom: 2rem;
}
.ml-auto {
  margin-left: auto;
}
.mr-auto {
  margin-right: auto;
}
.d-none {
  display: none;
}
.d-block {
  display: block;
}
.d-flex {
  display: flex;
}
.d-inline-flex {
  display: inline-flex;
}
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 0.5rem;
}
::-webkit-scrollbar-thumb:hover {
  background: #64748b;
}
::selection {
  background-color: rgba(37, 99, 235, 0.2);
  color: #0f172a;
}
::-moz-selection {
  background-color: rgba(37, 99, 235, 0.2);
  color: #0f172a;
}
.header {
  background: #ffffff;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  z-index: 1020;
}
.header .header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1.5rem;
}
@media (max-width: 1024px) {
  .header .header-content {
    flex-wrap: wrap;
    gap: 1rem;
  }
}
.header .logo h1 {
  margin: 0;
  font-size: 1.5rem;
}
@media (max-width: 768px) {
  .header .logo h1 {
    font-size: 1.25rem;
  }
}
.header .logo h1 a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 800;
  transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.header .logo h1 a:hover {
  color: #1e40af;
}
@media (max-width: 1024px) {
  .header .nav {
    order: 3;
    width: 100%;
  }
}
.header .nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 1.5rem;
}
@media (max-width: 1024px) {
  .header .nav ul {
    justify-content: center;
    gap: 1rem;
  }
}
@media (max-width: 768px) {
  .header .nav ul {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
}
.header .nav a {
  color: #0f172a;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.header .nav a:hover,
.header .nav a.active {
  color: #2563eb;
  background: #dbeafe;
}
.header .header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
}
@media (max-width: 1024px) {
  .header .header-actions {
    margin-left: auto;
  }
}
.header .search-box {
  position: relative;
}
@media (max-width: 768px) {
  .header .search-box {
    display: none;
  }
}
.header .search-box input {
  width: 240px;
  padding: 0.5rem 0.75rem;
  padding-right: calc(0.75rem + 32px);
  border: 2px solid #e2e8f0;
  border-radius: 9999px;
  font-size: 0.875rem;
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.header .search-box input:focus {
  width: 320px;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
  outline: none;
}
.header .search-box input::placeholder {
  color: #94a3b8;
}
.header .search-box button {
  position: absolute;
  right: 0.25rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
  color: #ffffff;
  border-radius: 9999px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35), 0 2px 4px rgba(37, 99, 235, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.2);
}
.header .search-box button:focus {
  outline: none;
}
.header .search-box button:hover {
  background: linear-gradient(135deg, #1e40af 0%, #18338c 100%);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45), 0 3px 8px rgba(37, 99, 235, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.25);
}
.header .search-box button:active {
  transform: translateY(-50%) scale(0.95);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3), inset 0 2px 4px rgba(0, 0, 0, 0.15);
}
.header .search-box button svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
  transition: transform 0.2s ease;
}
.header .search-box button:hover svg {
  transform: scale(1.1);
}
.header .cart {
  position: relative;
}
.header .cart a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: #0f172a;
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background: #f1f5f9;
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.header .cart a:hover {
  background: #dbeafe;
  color: #2563eb;
}
.header .cart a #cartCount {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 0.25rem;
  background: #2563eb;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 9999px;
}
.header .auth .auth-buttons {
  display: flex;
  gap: 0.5rem;
}
.header .auth .auth-buttons button {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  white-space: nowrap;
}
@media (max-width: 768px) {
  .header .auth .auth-buttons button {
    padding: 0.5rem 0.75rem;
  }
}
.header .auth .user-menu {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.header .auth .user-menu .user-name {
  font-weight: 500;
  color: #0f172a;
}
@media (max-width: 768px) {
  .header .auth .user-menu .user-name {
    display: none;
  }
}
.header .auth .user-menu .dropdown {
  position: relative;
}
.header .auth .user-menu .dropdown .user-menu-btn {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  padding: 0.5rem 0.75rem;
  color: #0f172a;
  border-radius: 0.5rem;
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.header .auth .user-menu .dropdown .user-menu-btn:focus {
  outline: none;
}
.header .auth .user-menu .dropdown .user-menu-btn:hover {
  background: #dbeafe;
  color: #2563eb;
}
.header .auth .user-menu .dropdown .dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  background: #ffffff;
  min-width: 200px;
  border-radius: 1rem;
  box-shadow: 0 12px 24px 0 rgba(0, 0, 0, 0.15);
  z-index: 1000;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
}
.header .auth .user-menu .dropdown .dropdown-content::before {
  content: '';
  position: absolute;
  top: -6px;
  right: 16px;
  width: 12px;
  height: 12px;
  background: #ffffff;
  transform: rotate(45deg);
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.06);
}
.header .auth .user-menu .dropdown .dropdown-content a {
  display: block;
  padding: 0.75rem 1rem;
  color: #0f172a;
  text-decoration: none;
  font-weight: 500;
  transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
}
.header .auth .user-menu .dropdown .dropdown-content a:hover {
  background: #dbeafe;
  color: #2563eb;
}
.header .auth .user-menu .dropdown .dropdown-content a:first-child {
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
}
.header .auth .user-menu .dropdown .dropdown-content a:last-child {
  border-bottom-left-radius: 1rem;
  border-bottom-right-radius: 1rem;
}
.header .auth .user-menu .dropdown:hover .dropdown-content {
  display: block;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.mobile-menu-toggle {
  display: none;
}
@media (max-width: 1024px) {
  .mobile-menu-toggle {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    font: inherit;
    color: inherit;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0f172a;
    border-radius: 0.5rem;
    transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
  }
  .mobile-menu-toggle:focus {
    outline: none;
  }
  .mobile-menu-toggle:hover {
    background: #f1f5f9;
  }
  .mobile-menu-toggle .hamburger {
    width: 24px;
    height: 20px;
    position: relative;
  }
  .mobile-menu-toggle .hamburger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
  }
  .mobile-menu-toggle .hamburger span:nth-child(1) {
    top: 0;
  }
  .mobile-menu-toggle .hamburger span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
  }
  .mobile-menu-toggle .hamburger span:nth-child(3) {
    bottom: 0;
  }
  .mobile-menu-toggle.active .hamburger span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
  }
  .mobile-menu-toggle.active .hamburger span:nth-child(2) {
    opacity: 0;
  }
  .mobile-menu-toggle.active .hamburger span:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
  }
}
.footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
}
@media (max-width: 768px) {
  .footer {
    padding: 2rem 0 1rem;
    margin-top: 3rem;
  }
}
.footer .footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}
@media (max-width: 768px) {
  .footer .footer-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
  }
}
.footer .footer-section h4 {
  color: #3b82f6;
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.footer .footer-section p {
  font-size: 0.875rem;
  line-height: 1.75;
  color: #cbd5e1;
  margin-bottom: 0.75rem;
}
.footer .footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer .footer-section ul li {
  margin-bottom: 0.5rem;
}
.footer .footer-section ul li:last-child {
  margin-bottom: 0;
}
.footer .footer-section a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.footer .footer-section a:hover {
  color: #3b82f6;
}
.footer .footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}
.footer .footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  color: #cbd5e1;
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.footer .footer-social a:hover {
  background: #2563eb;
  color: #ffffff;
  transform: translateY(-2px);
}
.footer .footer-newsletter .newsletter-form {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}
@media (max-width: 768px) {
  .footer .footer-newsletter .newsletter-form {
    flex-direction: column;
  }
}
.footer .footer-newsletter .newsletter-form input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.footer .footer-newsletter .newsletter-form input:focus {
  outline: none;
  border-color: #2563eb;
  background: rgba(255, 255, 255, 0.1);
}
.footer .footer-newsletter .newsletter-form input::placeholder {
  color: #cbd5e1;
}
.footer .footer-newsletter .newsletter-form button {
  padding: 0.75rem 1.5rem;
  white-space: nowrap;
}
@media (max-width: 768px) {
  .footer .footer-newsletter .newsletter-form button {
    width: 100%;
  }
}
.footer .footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
@media (max-width: 768px) {
  .footer .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
.footer .footer-bottom .copyright {
  font-size: 0.875rem;
  color: #cbd5e1;
}
.footer .footer-bottom .footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .footer .footer-bottom .footer-links {
    justify-content: center;
  }
}
.footer .footer-bottom .footer-links a {
  font-size: 0.875rem;
  color: #cbd5e1;
  text-decoration: none;
  transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.footer .footer-bottom .footer-links a:hover {
  color: #3b82f6;
}
.footer .payment-methods {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .footer .payment-methods {
    justify-content: center;
  }
}
.footer .payment-methods img {
  height: 24px;
  width: auto;
  opacity: 0.7;
  transition: opacity 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.footer .payment-methods img:hover {
  opacity: 1;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.25;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
  gap: 0.5rem;
  white-space: nowrap;
  user-select: none;
}
.btn:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}
.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.btn-xs {
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  min-height: 28px;
  font-weight: 500;
}
.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  min-height: 32px;
}
.btn-md {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  min-height: 42px;
}
.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
  min-height: 50px;
}
.btn-primary {
  background: #2563eb;
  color: #ffffff;
}
.btn-primary:hover:not(:disabled) {
  background: #1e40af;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1);
}
.btn-primary:active:not(:disabled) {
  transform: translateY(0);
}
.btn-secondary {
  background: #64748b;
  color: #ffffff;
}
.btn-secondary:hover:not(:disabled) {
  background: #475569;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1);
}
.btn-secondary:active:not(:disabled) {
  transform: translateY(0);
}
.btn-success {
  background: #10b981;
  color: #ffffff;
}
.btn-success:hover:not(:disabled) {
  background: #059669;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1);
}
.btn-success:active:not(:disabled) {
  transform: translateY(0);
}
.btn-danger {
  background: #ef4444;
  color: #ffffff;
}
.btn-danger:hover:not(:disabled) {
  background: #dc2626;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1);
}
.btn-danger:active:not(:disabled) {
  transform: translateY(0);
}
.btn-warning {
  background: #f59e0b;
  color: #ffffff;
}
.btn-warning:hover:not(:disabled) {
  background: #d97706;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1);
}
.btn-warning:active:not(:disabled) {
  transform: translateY(0);
}
.btn-outline {
  background: transparent;
  color: #2563eb;
  border: 2px solid #2563eb;
}
.btn-outline:hover:not(:disabled) {
  background: #2563eb;
  color: #ffffff;
}
.btn-outline-secondary {
  background: transparent;
  color: #64748b;
  border: 2px solid #64748b;
}
.btn-outline-secondary:hover:not(:disabled) {
  background: #64748b;
  color: #ffffff;
}
.btn-outline-success {
  background: transparent;
  color: #10b981;
  border: 2px solid #10b981;
}
.btn-outline-success:hover:not(:disabled) {
  background: #10b981;
  color: #ffffff;
}
.btn-outline-danger {
  background: transparent;
  color: #ef4444;
  border: 2px solid #ef4444;
}
.btn-outline-danger:hover:not(:disabled) {
  background: #ef4444;
  color: #ffffff;
}
.btn-ghost {
  background: transparent;
  color: #0f172a;
}
.btn-ghost:hover:not(:disabled) {
  background: #f1f5f9;
}
.btn-ghost-primary {
  background: transparent;
  color: #2563eb;
}
.btn-ghost-primary:hover:not(:disabled) {
  background: #dbeafe;
}
.btn-link {
  background: transparent;
  color: #2563eb;
  padding: 0;
  min-height: auto;
  border: none;
}
.btn-link:hover:not(:disabled) {
  color: #1e40af;
  text-decoration: underline;
}
.btn-icon {
  width: 42px;
  height: 42px;
  padding: 0;
}
.btn-icon.btn-xs {
  width: 28px;
  height: 28px;
}
.btn-icon.btn-sm {
  width: 32px;
  height: 32px;
}
.btn-icon.btn-lg {
  width: 50px;
  height: 50px;
}
.btn-block {
  width: 100%;
  display: flex;
}
.btn-rounded {
  border-radius: 9999px;
}
.btn-loading {
  position: relative;
  color: transparent;
  pointer-events: none;
}
.btn-loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 9999px;
  animation: spin 0.6s linear infinite;
}
.btn-group {
  display: inline-flex;
}
.btn-group .btn {
  border-radius: 0;
}
.btn-group .btn:first-child {
  border-top-left-radius: 0.5rem;
  border-bottom-left-radius: 0.5rem;
}
.btn-group .btn:last-child {
  border-top-right-radius: 0.5rem;
  border-bottom-right-radius: 0.5rem;
}
.btn-group .btn:not(:last-child) {
  margin-right: -1px;
}
.fab {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 56px;
  height: 56px;
  border-radius: 9999px;
  background: #2563eb;
  color: #ffffff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 24px 0 rgba(0, 0, 0, 0.15);
  z-index: 1030;
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.fab:hover {
  background: #1e40af;
  transform: scale(1.1);
  box-shadow: 0 20px 40px 0 rgba(0, 0, 0, 0.2);
}
.fab:active {
  transform: scale(1.05);
}
@media (max-width: 768px) {
  .fab {
    bottom: 1rem;
    right: 1rem;
    width: 48px;
    height: 48px;
  }
}
.form-group {
  margin-bottom: 1.25rem;
}
.form-group:last-child {
  margin-bottom: 0;
}
.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 0.5rem;
}
.form-group label .required {
  color: #ef4444;
  margin-left: 0.25rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #0f172a;
  background-color: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 0.5rem;
  transition: border-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
.form-group input:disabled,
.form-group textarea:disabled,
.form-group select:disabled {
  background-color: #f1f5f9;
  color: #94a3b8;
  cursor: not-allowed;
}
.form-group input::placeholder,
.form-group textarea::placeholder,
.form-group select::placeholder {
  color: #94a3b8;
}
.form-group textarea {
  min-height: 120px;
  resize: vertical;
  font-family: inherit;
}
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%2364748b' d='M4.427 6.427l3.396 3.396a.25.25 0 00.354 0l3.396-3.396A.25.25 0 0011.396 6H4.604a.25.25 0 00-.177.427z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}
.form-group .help-text {
  display: block;
  font-size: 0.875rem;
  color: #64748b;
  margin-top: 0.5rem;
}
.form-group .error-message {
  display: block;
  font-size: 0.875rem;
  color: #ef4444;
  margin-top: 0.5rem;
}
.form-group .error-message:empty {
  display: none;
}
.form-group.has-error input,
.form-group.has-error textarea,
.form-group.has-error select {
  border-color: #ef4444;
}
.form-group.has-error input:focus,
.form-group.has-error textarea:focus,
.form-group.has-error select:focus {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}
.form-group.has-error label {
  color: #ef4444;
}
.form-group.has-success input,
.form-group.has-success textarea,
.form-group.has-success select {
  border-color: #10b981;
}
.form-group.has-success input:focus,
.form-group.has-success textarea:focus,
.form-group.has-success select:focus {
  border-color: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}
.input-with-icon {
  position: relative;
}
.input-with-icon .input-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  width: 20px;
  height: 20px;
  pointer-events: none;
}
.input-with-icon input {
  padding-left: calc(1rem + 20px + 0.5rem);
}
.input-with-icon.icon-right .input-icon {
  left: auto;
  right: 1rem;
}
.input-with-icon.icon-right input {
  padding-left: 1rem;
  padding-right: calc(1rem + 20px + 0.5rem);
}
.password-field {
  position: relative;
}
.password-field input {
  padding-right: calc(1rem + 32px);
}
.password-field .toggle-password {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  border-radius: 0.5rem;
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.password-field .toggle-password:focus {
  outline: none;
}
.password-field .toggle-password:hover {
  background: #f1f5f9;
  color: #0f172a;
}
.password-strength {
  margin-top: 0.5rem;
  height: 4px;
  background-color: #e2e8f0;
  border-radius: 9999px;
  overflow: hidden;
}
.password-strength .strength-bar {
  height: 100%;
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 9999px;
}
.password-strength .strength-bar.weak {
  width: 33%;
  background-color: #ef4444;
}
.password-strength .strength-bar.medium {
  width: 66%;
  background-color: #f59e0b;
}
.password-strength .strength-bar.strong {
  width: 100%;
  background-color: #10b981;
}
.password-strength + .strength-text {
  display: block;
  font-size: 0.75rem;
  margin-top: 0.25rem;
  font-weight: 500;
}
.password-strength + .strength-text.weak {
  color: #ef4444;
}
.password-strength + .strength-text.medium {
  color: #f59e0b;
}
.password-strength + .strength-text.strong {
  color: #10b981;
}
.checkbox,
.radio {
  display: flex;
  align-items: center;
  cursor: pointer;
}
.checkbox input[type="checkbox"],
.radio input[type="checkbox"],
.checkbox input[type="radio"],
.radio input[type="radio"] {
  width: 20px;
  height: 20px;
  margin: 0;
  margin-right: 0.5rem;
  cursor: pointer;
  accent-color: #2563eb;
}
.checkbox label,
.radio label {
  margin: 0;
  cursor: pointer;
  font-weight: 400;
}
.switch {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
}
.switch input[type="checkbox"] {
  position: relative;
  width: 48px;
  height: 24px;
  appearance: none;
  background: #cbd5e1;
  border-radius: 9999px;
  cursor: pointer;
  transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.switch input[type="checkbox"]::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background: #ffffff;
  border-radius: 9999px;
  transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.06);
}
.switch input[type="checkbox"]:checked {
  background: #2563eb;
}
.switch input[type="checkbox"]:checked::before {
  transform: translateX(24px);
}
.switch input[type="checkbox"]:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.switch label {
  cursor: pointer;
  font-size: 1rem;
  font-weight: 400;
  margin: 0;
}
.search-box {
  position: relative;
}
.search-box input {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #0f172a;
  background-color: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 0.5rem;
  transition: border-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
  padding-left: calc(1rem + 20px + 0.5rem);
  padding-right: calc(1rem + 32px);
}
.search-box input:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
.search-box input:disabled {
  background-color: #f1f5f9;
  color: #94a3b8;
  cursor: not-allowed;
}
.search-box input::placeholder {
  color: #94a3b8;
}
.search-box .search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  width: 20px;
  height: 20px;
  pointer-events: none;
}
.search-box button {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}
.search-box .clear-search {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  border-radius: 0.5rem;
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  visibility: hidden;
}
.search-box .clear-search:focus {
  outline: none;
}
.search-box .clear-search.show {
  opacity: 1;
  visibility: visible;
}
.search-box .clear-search:hover {
  background: #f1f5f9;
  color: #0f172a;
}
.input-group {
  display: flex;
}
.input-group input {
  border-radius: 0;
}
.input-group input:first-child {
  border-top-left-radius: 0.5rem;
  border-bottom-left-radius: 0.5rem;
}
.input-group input:last-child {
  border-top-right-radius: 0.5rem;
  border-bottom-right-radius: 0.5rem;
}
.input-group input:not(:last-child) {
  border-right: none;
}
.input-group .input-addon {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  background: #f1f5f9;
  border: 2px solid #e2e8f0;
  font-size: 1rem;
  color: #64748b;
  white-space: nowrap;
}
.input-group .input-addon:first-child {
  border-top-left-radius: 0.5rem;
  border-bottom-left-radius: 0.5rem;
  border-right: none;
}
.input-group .input-addon:last-child {
  border-top-right-radius: 0.5rem;
  border-bottom-right-radius: 0.5rem;
  border-left: none;
}
.quantity-controls {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
}
.quantity-controls button {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 0.5rem;
  color: #0f172a;
  font-size: 1.125rem;
  font-weight: 700;
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.quantity-controls button:focus {
  outline: none;
}
.quantity-controls button:hover:not(:disabled) {
  border-color: #2563eb;
  color: #2563eb;
  background: #dbeafe;
}
.quantity-controls button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.quantity-controls .quantity-input {
  width: 60px;
  text-align: center;
  padding: 0.5rem;
  font-weight: 600;
  -moz-appearance: textfield;
}
.quantity-controls .quantity-input::-webkit-inner-spin-button,
.quantity-controls .quantity-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.file-upload {
  position: relative;
}
.file-upload input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
}
.file-upload .file-upload-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem;
  border: 2px dashed #e2e8f0;
  border-radius: 0.75rem;
  background: #f1f5f9;
  color: #64748b;
  cursor: pointer;
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.file-upload .file-upload-label:hover {
  border-color: #2563eb;
  background: #dbeafe;
  color: #2563eb;
}
.file-upload .file-upload-label .file-icon {
  width: 24px;
  height: 24px;
}
.file-upload .file-name {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: #64748b;
}
.dropdown {
  position: relative;
  display: inline-block;
}
.dropdown-toggle,
.dropdown .user-menu-btn {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  padding: 0.5rem 0.75rem;
  font-size: 1rem;
  color: #0f172a;
  border-radius: 0.5rem;
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.dropdown-toggle:focus,
.dropdown .user-menu-btn:focus {
  outline: none;
}
.dropdown-toggle:hover,
.dropdown .user-menu-btn:hover {
  color: #2563eb;
  background-color: #dbeafe;
}
.dropdown-toggle:focus-visible,
.dropdown .user-menu-btn:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}
.dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  background: #ffffff;
  min-width: 200px;
  border-radius: 1rem;
  box-shadow: 0 12px 24px 0 rgba(0, 0, 0, 0.15);
  z-index: 1000;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
}
.dropdown-content::before {
  content: '';
  position: absolute;
  top: -6px;
  right: 16px;
  width: 12px;
  height: 12px;
  background: #ffffff;
  transform: rotate(45deg);
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.06);
}
.dropdown-content a,
.dropdown-content button {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  color: #0f172a;
  text-decoration: none;
  text-align: left;
  background: none;
  border: none;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
}
.dropdown-content a:hover,
.dropdown-content button:hover {
  background-color: #dbeafe;
  color: #2563eb;
}
.dropdown-content a:first-child,
.dropdown-content button:first-child {
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
}
.dropdown-content a:last-child,
.dropdown-content button:last-child {
  border-bottom-left-radius: 1rem;
  border-bottom-right-radius: 1rem;
}
.dropdown-content a.active,
.dropdown-content button.active {
  background-color: #dbeafe;
  color: #2563eb;
  font-weight: 600;
}
.dropdown-content .dropdown-divider {
  height: 1px;
  margin: 0.5rem 0;
  background-color: #e2e8f0;
}
.dropdown:hover .dropdown-content {
  display: block;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.dropdown.show .dropdown-content {
  display: block;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.dropdown-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.dropdown-icon .icon {
  width: 16px;
  height: 16px;
  transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.dropdown-icon.show .icon,
.dropdown-icon:hover .icon {
  transform: rotate(180deg);
}
.dropdown-left .dropdown-content {
  left: 0;
  right: auto;
}
.dropdown-left .dropdown-content::before {
  left: 16px;
  right: auto;
}
.dropdown-center .dropdown-content {
  left: 50%;
  right: auto;
  transform: translateX(-50%) translateY(-8px);
}
.dropdown-center .dropdown-content::before {
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
}
.dropdown-center:hover .dropdown-content,
.dropdown-center.show .dropdown-content {
  transform: translateX(-50%) translateY(0);
}
.user-menu {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.user-menu .user-name {
  font-size: 1rem;
  font-weight: 500;
  color: #0f172a;
}
@media (max-width: 768px) {
  .user-menu .user-name {
    display: none;
  }
}
.user-menu .user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  background: #3b82f6;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.875rem;
}
.filters {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  position: sticky;
  top: calc(64px + 1rem);
}
@media (max-width: 1024px) {
  .filters {
    position: static;
    margin-bottom: 1.5rem;
  }
}
.filters h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #e2e8f0;
}
.filter-form .filter-group {
  margin-bottom: 1.25rem;
}
.filter-form .filter-group:last-of-type {
  margin-bottom: 1.5rem;
}
.filter-form .filter-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.filter-form .filter-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #0f172a;
  background-color: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 0.5rem;
  transition: border-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%2364748b' d='M4.427 6.427l3.396 3.396a.25.25 0 00.354 0l3.396-3.396A.25.25 0 0011.396 6H4.604a.25.25 0 00-.177.427z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}
.filter-form .filter-group select:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
.filter-form .filter-group select:disabled {
  background-color: #f1f5f9;
  color: #94a3b8;
  cursor: not-allowed;
}
.filter-form .filter-group select::placeholder {
  color: #94a3b8;
}
.filter-form .filter-group select:hover {
  border-color: #3b82f6;
}
.filter-form .filter-group select:disabled {
  cursor: not-allowed;
}
.filter-form .filter-group input[type="text"],
.filter-form .filter-group input[type="number"],
.filter-form .filter-group input[type="search"] {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #0f172a;
  background-color: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 0.5rem;
  transition: border-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.filter-form .filter-group input[type="text"]:focus,
.filter-form .filter-group input[type="number"]:focus,
.filter-form .filter-group input[type="search"]:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
.filter-form .filter-group input[type="text"]:disabled,
.filter-form .filter-group input[type="number"]:disabled,
.filter-form .filter-group input[type="search"]:disabled {
  background-color: #f1f5f9;
  color: #94a3b8;
  cursor: not-allowed;
}
.filter-form .filter-group input[type="text"]::placeholder,
.filter-form .filter-group input[type="number"]::placeholder,
.filter-form .filter-group input[type="search"]::placeholder {
  color: #94a3b8;
}
.filter-form .filter-group input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-right: 0.5rem;
  cursor: pointer;
  accent-color: #2563eb;
}
.filter-form .filter-group input[type="radio"] {
  width: 18px;
  height: 18px;
  margin-right: 0.5rem;
  cursor: pointer;
  accent-color: #2563eb;
}
.filter-form .checkbox-group,
.filter-form .radio-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.filter-form .checkbox-group .checkbox-item,
.filter-form .radio-group .checkbox-item,
.filter-form .checkbox-group .radio-item,
.filter-form .radio-group .radio-item {
  display: flex;
  align-items: center;
  padding: 0.5rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.filter-form .checkbox-group .checkbox-item:hover,
.filter-form .radio-group .checkbox-item:hover,
.filter-form .checkbox-group .radio-item:hover,
.filter-form .radio-group .radio-item:hover {
  background-color: #f1f5f9;
}
.filter-form .checkbox-group .checkbox-item label,
.filter-form .radio-group .checkbox-item label,
.filter-form .checkbox-group .radio-item label,
.filter-form .radio-group .radio-item label {
  margin: 0;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
  flex: 1;
}
.filter-form .checkbox-group .checkbox-item .count,
.filter-form .radio-group .checkbox-item .count,
.filter-form .checkbox-group .radio-item .count,
.filter-form .radio-group .radio-item .count {
  font-size: 0.875rem;
  color: #64748b;
  margin-left: auto;
}
.filter-form .price-range {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.filter-form .price-range input {
  flex: 1;
  max-width: none;
}
.filter-form .price-range span {
  color: #94a3b8;
  font-weight: 500;
}
.filter-form input[type="range"] {
  width: 100%;
  height: 6px;
  border-radius: 9999px;
  background: #e2e8f0;
  outline: none;
  -webkit-appearance: none;
}
.filter-form input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 9999px;
  background: #2563eb;
  cursor: pointer;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.06);
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.filter-form input[type="range"]::-webkit-slider-thumb:hover {
  background: #1e40af;
  transform: scale(1.1);
}
.filter-form input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 9999px;
  background: #2563eb;
  cursor: pointer;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.06);
  border: none;
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.filter-form input[type="range"]::-moz-range-thumb:hover {
  background: #1e40af;
  transform: scale(1.1);
}
.filter-form .filter-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e2e8f0;
}
.filter-form .filter-actions button {
  width: 100%;
  min-height: 44px;
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.filter-form .filter-actions button svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.filter-form .filter-actions button[type="submit"],
.filter-form .filter-actions button.btn-primary {
  background: #2563eb;
  color: #ffffff;
  border: 2px solid #2563eb;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.06);
}
.filter-form .filter-actions button[type="submit"]:hover,
.filter-form .filter-actions button.btn-primary:hover {
  background: #1e40af;
  border-color: #1e40af;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1);
}
.filter-form .filter-actions button[type="submit"]:active,
.filter-form .filter-actions button.btn-primary:active {
  transform: translateY(0);
}
.filter-form .filter-actions button#clearFilters,
.filter-form .filter-actions button.btn-secondary {
  background: #ffffff;
  color: #64748b;
  border: 2px solid #e2e8f0;
}
.filter-form .filter-actions button#clearFilters:hover,
.filter-form .filter-actions button.btn-secondary:hover {
  background: #f1f5f9;
  color: #0f172a;
  border-color: #cbd5e1;
}
.filter-form .filter-actions button#clearFilters:active,
.filter-form .filter-actions button.btn-secondary:active {
  background: #e2e8f0;
}
@media (max-width: 768px) {
  .filter-form .filter-actions {
    flex-direction: column;
    gap: 0.5rem;
  }
}
.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.active-filters-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #64748b;
  margin-right: 0.5rem;
}
.active-filters .filter-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  background: #dbeafe;
  color: #1e40af;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 9999px;
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.active-filters .filter-badge:hover {
  background: #3b82f6;
  color: #ffffff;
}
.active-filters .filter-badge .remove-filter {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 9999px;
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.active-filters .filter-badge .remove-filter:focus {
  outline: none;
}
.active-filters .filter-badge .remove-filter:hover {
  background: rgba(255, 255, 255, 0.2);
}
.active-filters .filter-badge .remove-filter::before {
  content: '×';
  font-size: 18px;
  line-height: 1;
}
.active-filters .clear-all-filters {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 500;
  color: #ef4444;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.active-filters .clear-all-filters:focus {
  outline: none;
}
.active-filters .clear-all-filters:hover {
  background: #fee2e2;
}
.filter-results-count {
  font-size: 0.875rem;
  color: #64748b;
  padding: 0.75rem 1rem;
  background: #f1f5f9;
  border-radius: 0.5rem;
  margin-top: 1rem;
  text-align: center;
}
.filter-results-count strong {
  color: #2563eb;
  font-weight: 700;
}
.filters-toggle {
  display: none;
}
@media (max-width: 1024px) {
  .filters-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: #ffffff;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    margin-bottom: 1rem;
    cursor: pointer;
    transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
  }
  .filters-toggle:hover {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1);
  }
  .filters-toggle span {
    font-weight: 600;
    color: #0f172a;
  }
  .filters-toggle .icon {
    width: 20px;
    height: 20px;
    color: #64748b;
  }
}
@media (max-width: 1024px) {
  .filters-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.6);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
  }
  .filters-overlay.show {
    opacity: 1;
    visibility: visible;
  }
}
@media (max-width: 1024px) {
  .filters-mobile {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 320px;
    max-width: 90%;
    background: #ffffff;
    box-shadow: 0 20px 40px 0 rgba(0, 0, 0, 0.2);
    z-index: 1050;
    transform: translateX(100%);
    transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
  }
  .filters-mobile.show {
    transform: translateX(0);
  }
  .filters-mobile .filters-mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    background: #ffffff;
    z-index: 1;
  }
  .filters-mobile .filters-mobile-header h3 {
    margin: 0;
    border: none;
    padding: 0;
  }
  .filters-mobile .filters-mobile-header .close-filters {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    font: inherit;
    color: inherit;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    border-radius: 0.5rem;
    transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
  }
  .filters-mobile .filters-mobile-header .close-filters:focus {
    outline: none;
  }
  .filters-mobile .filters-mobile-header .close-filters:hover {
    background: #f1f5f9;
    color: #0f172a;
  }
}
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1050;
  overflow-y: auto;
  padding: 1rem;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
}
.modal::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.6);
  z-index: -1;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.6);
  z-index: 1040;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: fadeIn 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.modal-content {
  position: relative;
  background: #ffffff;
  border-radius: 1.5rem;
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 40px 0 rgba(0, 0, 0, 0.2);
  z-index: 1050;
  margin: auto;
  animation: scaleIn 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.modal-content::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
.modal-content::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 9999px;
}
.modal-content::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 9999px;
}
.modal-content::-webkit-scrollbar-thumb:hover {
  background: #64748b;
}
@media (max-width: 768px) {
  .modal-content {
    max-width: calc(100% - 1rem);
    max-height: calc(100vh - 1rem);
    border-radius: 1rem;
    margin: 0.5rem;
  }
}
.modal-header {
  padding: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e2e8f0;
}
.modal-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  padding-right: 2rem;
}
@media (max-width: 768px) {
  .modal-header h3 {
    font-size: 1.25rem;
  }
}
.modal-body {
  padding: 1.5rem;
}
@media (max-width: 768px) {
  .modal-body {
    padding: 1rem;
  }
}
.modal-footer {
  padding: 1rem 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
}
@media (max-width: 768px) {
  .modal-footer {
    flex-direction: column-reverse;
  }
  .modal-footer .btn {
    width: 100%;
  }
}
.modal .close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 1.5rem;
  line-height: 1;
  border-radius: 0.5rem;
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}
.modal .close:focus {
  outline: none;
}
.modal .close:hover {
  background: #f1f5f9;
  color: #0f172a;
}
.modal .close::before {
  content: '×';
}
.modal-sm .modal-content {
  max-width: 400px;
}
.modal-md .modal-content {
  max-width: 600px;
}
.modal-lg .modal-content {
  max-width: 800px;
}
.modal-xl .modal-content {
  max-width: 1000px;
}
.modal-fullscreen .modal-content {
  max-width: 100%;
  max-height: 100%;
  border-radius: 0;
}
.auth-form {
  padding: 1.5rem;
}
@media (max-width: 768px) {
  .auth-form {
    padding: 1rem;
  }
}
.auth-form h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 1.5rem 0;
  padding-right: 2rem;
}
@media (max-width: 768px) {
  .auth-form h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
  }
}
.auth-form .form-group {
  margin-bottom: 1.25rem;
}
@media (max-width: 768px) {
  .auth-form .form-group {
    margin-bottom: 1rem;
  }
}
.auth-form .btn {
  width: 100%;
  margin-top: 0.5rem;
}
.auth-form .form-footer {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e2e8f0;
  text-align: center;
}
.auth-form .form-footer p {
  color: #64748b;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}
.auth-form .form-footer a {
  color: #2563eb;
  font-weight: 600;
}
.auth-form .form-footer a:hover {
  text-decoration: underline;
}
.confirmation-dialog .modal-body {
  text-align: center;
  padding: 2rem 1.5rem;
}
.confirmation-dialog .modal-body .icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
}
.confirmation-dialog .modal-body .icon.warning {
  background: #fef3c7;
  color: #d97706;
}
.confirmation-dialog .modal-body .icon.danger {
  background: #fee2e2;
  color: #dc2626;
}
.confirmation-dialog .modal-body .icon.success {
  background: #d1fae5;
  color: #059669;
}
.confirmation-dialog .modal-body .icon.info {
  background: #cffafe;
  color: #0891b2;
}
.confirmation-dialog .modal-body h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.confirmation-dialog .modal-body p {
  color: #64748b;
  font-size: 1rem;
  margin-bottom: 0;
}
.confirmation-dialog .modal-footer {
  justify-content: center;
}
.product-card {
  background: #ffffff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px 0 rgba(0, 0, 0, 0.15);
}
.product-card:hover .product-image img {
  transform: scale(1.05);
}
.product-card .product-image {
  position: relative;
  width: 100%;
  padding-top: 75%;
  overflow: hidden;
  background: #f1f5f9;
}
.product-card .product-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms cubic-bezier(0.4, 0, 0.2, 1);
}
.product-card .product-image .product-image-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
}
.product-card .product-image .product-image-placeholder svg {
  width: 100%;
  height: 100%;
  max-width: 200px;
  max-height: 200px;
  object-fit: contain;
}
.product-card .product-image .product-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  padding: 0.25rem 0.75rem;
  background: #ef4444;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 9999px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1);
}
.product-card .product-image .product-badge.new {
  background: #10b981;
}
.product-card .product-image .product-badge.sale {
  background: #ef4444;
}
.product-card .product-image .product-badge.hot {
  background: #f59e0b;
}
.product-card .product-image .product-favorite {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 9999px;
  color: #64748b;
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.product-card .product-image .product-favorite:focus {
  outline: none;
}
.product-card .product-image .product-favorite:hover,
.product-card .product-image .product-favorite.active {
  background: #ef4444;
  color: #ffffff;
  transform: scale(1.1);
}
.product-card .product-info {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-card .product-category {
  font-size: 0.75rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.product-card .product-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.75rem;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card .product-title a {
  color: inherit;
  transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.product-card .product-title a:hover {
  color: #2563eb;
}
.product-card .product-description {
  font-size: 0.875rem;
  color: #64748b;
  margin-bottom: 1rem;
  line-height: 1.75;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.product-card .product-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: #94a3b8;
}
.product-card .product-meta .meta-item {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.product-card .product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
}
.product-card .product-price-container {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.product-card .product-price {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: #2563eb;
}
.product-card .product-price .price-current {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2563eb;
}
.product-card .product-price .price-old {
  font-size: 1rem;
  color: #94a3b8;
  text-decoration: line-through;
}
.product-card .product-stock-warning {
  font-size: 0.75rem;
  font-weight: 600;
  color: #d97706;
  background: #fef3c7;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  margin: 0;
  white-space: nowrap;
}
.product-card .product-actions {
  display: flex;
  gap: 0.5rem;
}
.product-card .product-actions .btn {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}
.product-card.compact {
  flex-direction: row;
}
.product-card.compact .product-image {
  width: 120px;
  padding-top: 0;
  height: 120px;
  flex-shrink: 0;
}
.product-card.compact .product-info {
  padding: 1rem;
}
.product-card.compact .product-footer {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}
.product-card.horizontal {
  flex-direction: row;
}
.product-card.horizontal .product-image {
  width: 200px;
  padding-top: 0;
  height: auto;
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .product-card.horizontal .product-image {
    width: 140px;
  }
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
  }
}
@media (max-width: 640px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}
.category-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  text-decoration: none;
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
}
.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px 0 rgba(0, 0, 0, 0.15);
  border-color: #3b82f6;
}
.category-card:hover .category-image {
  background: #2563eb;
}
.category-card:hover .category-image .category-icon svg {
  transform: scale(1.1) rotate(5deg);
}
.category-card:hover .category-info h3 {
  color: #2563eb;
}
.category-card .category-image {
  position: relative;
  width: 100%;
  padding-top: 60%;
  overflow: hidden;
  background: #dbeafe;
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.category-card .category-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms cubic-bezier(0.4, 0, 0.2, 1);
}
.category-card .category-image .category-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 9999px;
  box-shadow: 0 12px 24px 0 rgba(0, 0, 0, 0.15);
}
.category-card .category-image .category-icon svg {
  width: 48px;
  height: 48px;
  color: #2563eb;
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.category-card .category-info {
  padding: 1.5rem 1.25rem;
  text-align: center;
  background: #ffffff;
}
@media (max-width: 768px) {
  .category-card .category-info {
    padding: 1rem;
  }
}
.category-card .category-info h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #0f172a;
  transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
@media (max-width: 768px) {
  .category-card .category-info h3 {
    font-size: 1.125rem;
  }
}
.category-card .category-info p {
  font-size: 0.875rem;
  color: #64748b;
  margin: 0;
}
.category-card .category-info .product-count {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.75rem;
  background: #dbeafe;
  color: #1e40af;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 9999px;
  margin-top: 0.5rem;
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
@media (max-width: 768px) {
  .category-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
  }
}
@media (max-width: 640px) {
  .category-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}
.categories-section {
  margin-bottom: 3rem;
}
@media (max-width: 768px) {
  .categories-section {
    margin-bottom: 2rem;
  }
}
.categories-section .section-title {
  font-size: 1.875rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 2rem;
  text-align: center;
}
@media (max-width: 768px) {
  .categories-section .section-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }
}
.slider-section {
  margin-bottom: 3rem;
}
@media (max-width: 768px) {
  .slider-section {
    margin-bottom: 2rem;
  }
}
.slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 1.5rem;
  background: #ffffff;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}
@media (max-width: 768px) {
  .slider {
    border-radius: 1rem;
  }
}
.slider-container {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
}
@media (max-width: 768px) {
  .slider-container {
    height: 400px;
  }
}
@media (max-width: 640px) {
  .slider-container {
    height: 300px;
  }
}
.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: all 400ms cubic-bezier(0.4, 0, 0.2, 1);
}
.slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}
.slide .slide-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  height: 100%;
  padding: 2rem;
  align-items: center;
}
@media (max-width: 1024px) {
  .slide .slide-content {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 1.5rem;
  }
}
@media (max-width: 768px) {
  .slide .slide-content {
    padding: 1rem;
  }
}
.slide .slide-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  z-index: 2;
}
@media (max-width: 1024px) {
  .slide .slide-text {
    align-items: center;
  }
}
.slide .slide-text h2 {
  font-size: 2.25rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  line-height: 1.25;
}
@media (max-width: 768px) {
  .slide .slide-text h2 {
    font-size: 1.875rem;
  }
}
@media (max-width: 640px) {
  .slide .slide-text h2 {
    font-size: 1.5rem;
  }
}
.slide .slide-text p {
  font-size: 1.25rem;
  color: #64748b;
  margin: 0;
  line-height: 1.75;
}
@media (max-width: 768px) {
  .slide .slide-text p {
    font-size: 1.125rem;
  }
}
@media (max-width: 640px) {
  .slide .slide-text p {
    font-size: 1rem;
  }
}
.slide .slide-text .btn {
  align-self: flex-start;
  margin-top: 0.5rem;
}
@media (max-width: 1024px) {
  .slide .slide-text .btn {
    align-self: center;
  }
}
.slide .slide-image {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 1rem;
  background: #dbeafe;
}
@media (max-width: 1024px) {
  .slide .slide-image {
    height: 250px;
  }
}
@media (max-width: 640px) {
  .slide .slide-image {
    height: 200px;
  }
}
.slide .slide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.slide .slide-image .slide-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slide .slide-image .slide-image-placeholder svg {
  width: 100%;
  height: 100%;
  max-width: 400px;
  max-height: 300px;
}
@media (max-width: 768px) {
  .slide .slide-image .slide-image-placeholder svg {
    max-width: 300px;
    max-height: 200px;
  }
}
.slider-arrow {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.95);
  color: #0f172a;
  border-radius: 9999px;
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.12);
  z-index: 10;
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.slider-arrow:focus {
  outline: none;
}
@media (max-width: 768px) {
  .slider-arrow {
    width: 40px;
    height: 40px;
  }
}
.slider-arrow:hover {
  background: #2563eb;
  color: #ffffff;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 12px 24px 0 rgba(0, 0, 0, 0.15);
}
.slider-arrow:active {
  transform: translateY(-50%) scale(1.05);
}
.slider-arrow svg {
  width: 24px;
  height: 24px;
  stroke-width: 2.5;
}
@media (max-width: 768px) {
  .slider-arrow svg {
    width: 20px;
    height: 20px;
  }
}
.slider-arrow.slider-arrow-left {
  left: 1rem;
}
@media (max-width: 768px) {
  .slider-arrow.slider-arrow-left {
    left: 0.5rem;
  }
}
.slider-arrow.slider-arrow-right {
  right: 1rem;
}
@media (max-width: 768px) {
  .slider-arrow.slider-arrow-right {
    right: 0.5rem;
  }
}
.slider-indicators {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}
@media (max-width: 768px) {
  .slider-indicators {
    bottom: 0.5rem;
  }
}
.slider-indicator {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  width: 12px;
  height: 12px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.7);
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}
.slider-indicator:focus {
  outline: none;
}
@media (max-width: 768px) {
  .slider-indicator {
    width: 10px;
    height: 10px;
  }
}
.slider-indicator:hover {
  background: rgba(255, 255, 255, 0.7);
  transform: scale(1.2);
}
.slider-indicator.active {
  background: #ffffff;
  border-color: #ffffff;
  width: 32px;
  border-radius: 9999px;
}
@media (max-width: 768px) {
  .slider-indicator.active {
    width: 24px;
  }
}
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.slide.active .slide-text {
  animation: slideIn 400ms cubic-bezier(0.4, 0, 0.2, 1);
}
.alert {
  padding: 1rem 1.25rem;
  border-radius: 0.75rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  animation: slideUp 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.alert-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  margin-top: 2px;
}
.alert-content {
  flex: 1;
}
.alert-content h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.alert-content p {
  font-size: 0.875rem;
  margin: 0;
}
.alert-close {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  opacity: 0.6;
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.alert-close:focus {
  outline: none;
}
.alert-close:hover {
  opacity: 1;
  background: rgba(15, 23, 42, 0.1);
}
.alert-close::before {
  content: '×';
  font-size: 24px;
  line-height: 1;
}
.alert-success {
  background: #d1fae5;
  color: #059669;
  border-left: 4px solid #10b981;
}
.alert-success .alert-icon {
  color: #10b981;
}
.alert-error,
.alert-danger {
  background: #fee2e2;
  color: #dc2626;
  border-left: 4px solid #ef4444;
}
.alert-error .alert-icon,
.alert-danger .alert-icon {
  color: #ef4444;
}
.alert-warning {
  background: #fef3c7;
  color: #d97706;
  border-left: 4px solid #f59e0b;
}
.alert-warning .alert-icon {
  color: #f59e0b;
}
.alert-info {
  background: #cffafe;
  color: #0891b2;
  border-left: 4px solid #06b6d4;
}
.alert-info .alert-icon {
  color: #06b6d4;
}
.toast-container {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 1070;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 400px;
}
@media (max-width: 768px) {
  .toast-container {
    left: 1rem;
    right: 1rem;
    max-width: none;
  }
}
.toast {
  background: #ffffff;
  border-radius: 0.75rem;
  box-shadow: 0 12px 24px 0 rgba(0, 0, 0, 0.15);
  padding: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  animation: slideInRight 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.toast.hiding {
  animation: slideOutRight 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.toast-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
}
.toast-content {
  flex: 1;
}
.toast-content h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: #0f172a;
}
.toast-content p {
  font-size: 0.875rem;
  color: #64748b;
  margin: 0;
}
.toast-close {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  border-radius: 0.5rem;
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.toast-close:focus {
  outline: none;
}
.toast-close:hover {
  background: #f1f5f9;
  color: #0f172a;
}
.toast-close::before {
  content: '×';
  font-size: 20px;
  line-height: 1;
}
.toast-success {
  border-left: 4px solid #10b981;
}
.toast-success .toast-icon {
  background: #d1fae5;
  color: #10b981;
}
.toast-error {
  border-left: 4px solid #ef4444;
}
.toast-error .toast-icon {
  background: #fee2e2;
  color: #ef4444;
}
.toast-warning {
  border-left: 4px solid #f59e0b;
}
.toast-warning .toast-icon {
  background: #fef3c7;
  color: #f59e0b;
}
.toast-info {
  border-left: 4px solid #06b6d4;
}
.toast-info .toast-icon {
  background: #cffafe;
  color: #06b6d4;
}
@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes slideOutRight {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.badge-primary {
  background: #2563eb;
  color: #ffffff;
}
.badge-secondary {
  background: #64748b;
  color: #ffffff;
}
.badge-success {
  background: #10b981;
  color: #ffffff;
}
.badge-danger {
  background: #ef4444;
  color: #ffffff;
}
.badge-warning {
  background: #f59e0b;
  color: #ffffff;
}
.badge-info {
  background: #06b6d4;
  color: #ffffff;
}
.badge-outline-primary {
  background: transparent;
  color: #2563eb;
  border: 1px solid #2563eb;
}
.badge-outline-secondary {
  background: transparent;
  color: #64748b;
  border: 1px solid #64748b;
}
.badge-outline-success {
  background: transparent;
  color: #10b981;
  border: 1px solid #10b981;
}
.badge-outline-danger {
  background: transparent;
  color: #ef4444;
  border: 1px solid #ef4444;
}
.badge-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border-radius: 9999px;
}
.badge-dot.pulse {
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.2);
  }
}
.catalog-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  align-items: start;
}
@media (max-width: 1024px) {
  .catalog-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }
}
@media (max-width: 1024px) {
  .catalog-sidebar {
    margin-bottom: 1.5rem;
  }
}
.catalog-main {
  min-width: 0;
}
.catalog-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem 1.25rem;
  background: #ffffff;
  border-radius: 1rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}
@media (max-width: 768px) {
  .catalog-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
}
.catalog-toolbar .sort-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
@media (max-width: 768px) {
  .catalog-toolbar .sort-controls {
    flex-direction: column;
    align-items: stretch;
  }
}
.catalog-toolbar .sort-controls label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #0f172a;
  white-space: nowrap;
}
@media (max-width: 768px) {
  .catalog-toolbar .sort-controls label {
    margin-bottom: 0.25rem;
  }
}
.catalog-toolbar .sort-controls select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #0f172a;
  background-color: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 0.5rem;
  transition: border-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
  min-width: 200px;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%2364748b' d='M4.427 6.427l3.396 3.396a.25.25 0 00.354 0l3.396-3.396A.25.25 0 0011.396 6H4.604a.25.25 0 00-.177.427z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}
.catalog-toolbar .sort-controls select:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
.catalog-toolbar .sort-controls select:disabled {
  background-color: #f1f5f9;
  color: #94a3b8;
  cursor: not-allowed;
}
.catalog-toolbar .sort-controls select::placeholder {
  color: #94a3b8;
}
@media (max-width: 768px) {
  .catalog-toolbar .sort-controls select {
    min-width: auto;
  }
}
.catalog-toolbar .products-count {
  font-size: 0.875rem;
  color: #64748b;
  font-weight: 500;
}
.catalog-toolbar .products-count #productsCount {
  color: #2563eb;
  font-weight: 700;
}
.catalog-toolbar .view-toggle {
  display: flex;
  gap: 0.25rem;
  background: #f1f5f9;
  padding: 0.25rem;
  border-radius: 0.5rem;
}
@media (max-width: 768px) {
  .catalog-toolbar .view-toggle {
    display: none;
  }
}
.catalog-toolbar .view-toggle button {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  border-radius: 0.25rem;
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.catalog-toolbar .view-toggle button:focus {
  outline: none;
}
.catalog-toolbar .view-toggle button:hover {
  color: #0f172a;
  background: rgba(15, 23, 42, 0.05);
}
.catalog-toolbar .view-toggle button.active {
  color: #2563eb;
  background: #ffffff;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}
.layout-flex .product-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.layout-flex .product-grid .product-card {
  flex: 1 1 calc(33.333% - 1rem);
  min-width: 280px;
}
.layout-grid .product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.product-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.product-list .product-card {
  flex-direction: row;
}
.product-list .product-card .product-image {
  width: 200px;
  padding-top: 0;
  height: auto;
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .product-list .product-card .product-image {
    width: 140px;
  }
}
.product-list .product-card .product-info {
  flex: 1;
}
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
  padding: 1rem;
}
@media (max-width: 768px) {
  .pagination {
    flex-wrap: wrap;
    gap: 0.25rem;
  }
}
.pagination a,
.pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 0.75rem;
  color: #0f172a;
  text-decoration: none;
  font-weight: 500;
  border-radius: 0.5rem;
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.pagination a:hover:not(.active):not(.disabled),
.pagination span:hover:not(.active):not(.disabled) {
  background: #dbeafe;
  color: #2563eb;
}
.pagination a.active,
.pagination span.active {
  background: #2563eb;
  color: #ffffff;
  pointer-events: none;
}
.pagination a.disabled,
.pagination span.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}
.pagination a.prev,
.pagination span.prev,
.pagination a.next,
.pagination span.next {
  font-weight: 600;
}
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding: 0.75rem 1rem;
  background: #ffffff;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  flex-wrap: wrap;
}
.breadcrumbs a {
  color: #64748b;
  text-decoration: none;
  transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.breadcrumbs a:hover {
  color: #2563eb;
}
.breadcrumbs .separator {
  color: #94a3b8;
  user-select: none;
}
.breadcrumbs .current {
  color: #0f172a;
  font-weight: 600;
}
.product-quickview .modal-content {
  max-width: 900px;
}
.product-quickview .product-quickview-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 768px) {
  .product-quickview .product-quickview-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
.product-quickview .product-quickview-content .product-images .main-image {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 0.75rem;
  margin-bottom: 1rem;
}
.product-quickview .product-quickview-content .product-images .thumbnail-images {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
}
.product-quickview .product-quickview-content .product-images .thumbnail-images img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 0.5rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.product-quickview .product-quickview-content .product-images .thumbnail-images img:hover,
.product-quickview .product-quickview-content .product-images .thumbnail-images img.active {
  border-color: #2563eb;
}
.product-quickview .product-quickview-content .product-details .product-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.product-quickview .product-quickview-content .product-details .product-price {
  font-size: 1.875rem;
  font-weight: 700;
  color: #2563eb;
  margin-bottom: 1.5rem;
}
.product-quickview .product-quickview-content .product-details .product-description {
  color: #64748b;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}
.product-quickview .product-quickview-content .product-details .product-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: #f1f5f9;
  border-radius: 0.75rem;
}
.product-quickview .product-quickview-content .product-details .product-meta .meta-item {
  font-size: 0.875rem;
}
.product-quickview .product-quickview-content .product-details .product-meta .meta-item strong {
  color: #0f172a;
  display: block;
  margin-bottom: 0.25rem;
}
.product-quickview .product-quickview-content .product-details .product-meta .meta-item span {
  color: #64748b;
}
.product-quickview .product-quickview-content .product-details .product-actions {
  display: flex;
  gap: 0.75rem;
}
@media (max-width: 768px) {
  .product-quickview .product-quickview-content .product-details .product-actions {
    flex-direction: column;
  }
}
.cart-page .cart-content {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 2rem;
  align-items: start;
}
@media (max-width: 1024px) {
  .cart-page .cart-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2rem;
  align-items: start;
}
@media (max-width: 1024px) {
  .cart-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
.cart-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.cart-item {
  display: grid;
  grid-template-columns: 120px 1fr auto auto auto;
  grid-template-areas: "image info quantity total actions";
  gap: 1.25rem;
  align-items: center;
  padding: 1.25rem;
  background: #ffffff;
  border-radius: 1rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.cart-item:hover {
  box-shadow: 0 10px 25px 0 rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}
@media (max-width: 1024px) {
  .cart-item {
    grid-template-columns: 100px 1fr auto;
    grid-template-areas: "image info info" "image quantity total" "actions actions actions";
    gap: 1rem;
    padding: 1rem;
  }
}
@media (max-width: 768px) {
  .cart-item {
    grid-template-columns: 80px 1fr;
    grid-template-areas: "image info" "quantity quantity" "total total" "actions actions";
    gap: 0.75rem;
  }
}
.cart-item-image {
  grid-area: image;
  width: 120px;
  height: 120px;
  border-radius: 0.75rem;
  overflow: hidden;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 1024px) {
  .cart-item-image {
    width: 100px;
    height: 100px;
  }
}
@media (max-width: 768px) {
  .cart-item-image {
    width: 80px;
    height: 80px;
  }
}
.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cart-item-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
}
.cart-item-image-placeholder svg {
  width: 40px;
  height: 40px;
  opacity: 0.5;
}
.cart-item-info {
  grid-area: info;
  min-width: 0;
}
.cart-item-info h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
@media (max-width: 768px) {
  .cart-item-info h3 {
    font-size: 1rem;
  }
}
.cart-item-info h3 a {
  color: #0f172a;
  text-decoration: none;
  transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.cart-item-info h3 a:hover {
  color: #2563eb;
}
.cart-item-price {
  font-size: 0.875rem;
  color: #64748b;
  margin: 0;
}
.cart-item-warning {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: #fef3c7;
  color: #d97706;
  font-size: 0.75rem;
  border-radius: 0.5rem;
}
.cart-item-warning svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.cart-item-quantity {
  grid-area: quantity;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
@media (max-width: 1024px) {
  .cart-item-quantity {
    flex-direction: row;
    align-items: center;
  }
}
@media (max-width: 768px) {
  .cart-item-quantity {
    justify-content: space-between;
  }
}
.cart-item-quantity label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #64748b;
  white-space: nowrap;
}
.cart-item-total {
  grid-area: total;
  text-align: right;
}
@media (max-width: 768px) {
  .cart-item-total {
    text-align: left;
  }
}
.cart-item-total-label {
  font-size: 0.875rem;
  color: #64748b;
  margin-bottom: 0.25rem;
}
.cart-item-total-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: #2563eb;
  margin: 0;
}
@media (max-width: 768px) {
  .cart-item-total-price {
    font-size: 1.125rem;
  }
}
.cart-item-actions {
  grid-area: actions;
  display: flex;
  justify-content: flex-end;
}
@media (max-width: 768px) {
  .cart-item-actions {
    justify-content: center;
    padding-top: 0.75rem;
    border-top: 1px solid #e2e8f0;
  }
}
.btn-remove {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  background: transparent;
  border-radius: 0.5rem;
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-remove:focus {
  outline: none;
}
.btn-remove:hover {
  background: #fee2e2;
  color: #ef4444;
}
.btn-remove svg {
  width: 20px;
  height: 20px;
}
.quantity-controls {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: #f1f5f9;
  border-radius: 0.5rem;
  padding: 0.25rem;
}
.btn-quantity {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: #0f172a;
  border-radius: 0.25rem;
  font-size: 1.125rem;
  font-weight: 700;
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-quantity:focus {
  outline: none;
}
.btn-quantity:hover:not(:disabled) {
  background: #2563eb;
  color: #ffffff;
}
.btn-quantity:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.quantity-input {
  background: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  width: 60px;
  height: 32px;
  text-align: center;
  font-size: 1rem;
  font-weight: 500;
  background: transparent;
  border: none;
  color: #0f172a;
}
.quantity-input:focus {
  outline: none;
}
.quantity-input:focus {
  outline: none;
}
.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.quantity-input[type=number] {
  -moz-appearance: textfield;
}
.cart-summary {
  position: sticky;
  top: calc(64px + 1rem);
}
@media (max-width: 1024px) {
  .cart-summary {
    position: static;
  }
}
.cart-summary-card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}
@media (max-width: 768px) {
  .cart-summary-card {
    padding: 1rem;
  }
}
.cart-summary-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #e2e8f0;
}
.cart-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  font-size: 1rem;
  color: #64748b;
}
.cart-summary-row:first-of-type {
  padding-top: 0;
}
.cart-summary-row span:last-child {
  font-weight: 600;
  color: #0f172a;
}
.cart-summary-row.cart-summary-total {
  padding-top: 1rem;
  margin-top: 1rem;
  border-top: 2px solid #e2e8f0;
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
}
.cart-summary-row.cart-summary-total span:last-child {
  color: #2563eb;
  font-size: 1.5rem;
}
.btn-block {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 0.75rem;
}
.btn-block:last-child {
  margin-bottom: 0;
}
.cart-empty {
  text-align: center;
  padding: 3rem 1rem;
}
.cart-empty .empty-icon {
  width: 120px;
  height: 120px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  border-radius: 9999px;
  color: #94a3b8;
  font-size: 64px;
}
.cart-empty h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.cart-empty p {
  font-size: 1.125rem;
  color: #64748b;
  margin-bottom: 2rem;
}
.cart-recommended {
  margin-top: 3rem;
}
.cart-recommended h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-align: center;
}
.profile-page .profile-content {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 2rem;
  align-items: start;
}
@media (max-width: 1024px) {
  .profile-page .profile-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
.profile-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 2rem;
  align-items: start;
}
@media (max-width: 1024px) {
  .profile-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
.profile-layout .profile-main {
  min-width: 0;
}
@media (max-width: 1024px) {
  .profile-layout .profile-sidebar {
    order: -1;
  }
}
.profile-form {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}
@media (max-width: 768px) {
  .profile-form {
    padding: 1rem;
  }
}
.profile-form h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #e2e8f0;
}
.profile-form .form-section {
  margin-bottom: 2rem;
}
.profile-form .form-section:last-child {
  margin-bottom: 0;
}
.profile-form .form-section h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 1rem;
}
.profile-form .form-actions {
  display: flex;
  gap: 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e2e8f0;
}
@media (max-width: 768px) {
  .profile-form .form-actions {
    flex-direction: column;
  }
}
.profile-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
@media (max-width: 1024px) {
  .profile-sidebar {
    order: -1;
  }
}
.profile-info-card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  text-align: center;
}
@media (max-width: 768px) {
  .profile-info-card {
    padding: 1rem;
  }
}
.profile-card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  margin-bottom: 1.5rem;
}
@media (max-width: 768px) {
  .profile-card {
    padding: 1rem;
    margin-bottom: 1rem;
  }
}
.profile-card:last-child {
  margin-bottom: 0;
}
.profile-card .profile-avatar {
  width: 100px;
  height: 100px;
  margin: 0 auto 1rem;
  border-radius: 9999px;
  background: linear-gradient(to bottom, #3b82f6, #2563eb);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.875rem;
  font-weight: 700;
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.12);
  position: relative;
}
@media (max-width: 768px) {
  .profile-card .profile-avatar {
    width: 80px;
    height: 80px;
    font-size: 1.5rem;
  }
}
.profile-card .profile-avatar .avatar-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
}
.profile-card .profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 9999px;
}
.profile-card .profile-avatar .avatar-upload {
  position: absolute;
  bottom: 0;
  right: 0;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: 9999px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1);
  color: #0f172a;
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.profile-card .profile-avatar .avatar-upload:focus {
  outline: none;
}
.profile-card .profile-avatar .avatar-upload:hover {
  background: #2563eb;
  color: #ffffff;
  transform: scale(1.1);
}
.profile-card .profile-avatar .avatar-upload input[type="file"] {
  display: none;
}
.profile-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #0f172a;
}
.profile-card .profile-email {
  color: #64748b;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}
.profile-card .profile-role {
  color: #64748b;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}
.profile-card .profile-member-since {
  color: #94a3b8;
  font-size: 0.75rem;
  margin: 0;
}
.profile-card .profile-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  background: #dbeafe;
  color: #1e40af;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 9999px;
  letter-spacing: 0.5px;
}
.profile-stats {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.25rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  margin-bottom: 1.5rem;
}
@media (max-width: 768px) {
  .profile-stats {
    padding: 1rem;
  }
}
.profile-stats h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #0f172a;
}
.profile-stats .stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.profile-stats .stat-item {
  text-align: center;
  padding: 1rem;
  background: #f1f5f9;
  border-radius: 0.75rem;
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.profile-stats .stat-item:hover {
  background: #dbeafe;
  transform: translateY(-2px);
}
.profile-stats .stat-item h4 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2563eb;
  margin-bottom: 0.5rem;
}
.profile-stats .stat-item p {
  font-size: 0.875rem;
  color: #64748b;
  margin: 0;
}
.profile-links-card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.25rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}
@media (max-width: 768px) {
  .profile-links-card {
    padding: 1rem;
  }
}
.profile-links-card h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #0f172a;
}
.profile-links-card .profile-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.profile-links-card .profile-links li {
  margin-bottom: 0.25rem;
}
.profile-links-card .profile-links li:last-child {
  margin-bottom: 0;
}
.profile-links-card .profile-links a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  color: #0f172a;
  text-decoration: none;
  border-radius: 0.5rem;
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.profile-links-card .profile-links a:hover {
  background: #dbeafe;
  color: #2563eb;
  transform: translateX(4px);
}
.profile-links-card .profile-links a.active {
  background: #dbeafe;
  color: #2563eb;
  font-weight: 600;
}
.profile-links-card .profile-links a .icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.orders-history {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  margin-top: 2rem;
}
@media (max-width: 768px) {
  .orders-history {
    padding: 1rem;
  }
}
.orders-history h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #e2e8f0;
}
.order-card {
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1.25rem;
  margin-bottom: 1rem;
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.order-card:last-child {
  margin-bottom: 0;
}
.order-card:hover {
  border-color: #3b82f6;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1);
}
@media (max-width: 768px) {
  .order-card {
    padding: 1rem;
  }
}
.order-card .order-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e2e8f0;
}
@media (max-width: 768px) {
  .order-card .order-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}
.order-card .order-header .order-number {
  font-size: 1.125rem;
  font-weight: 700;
  color: #0f172a;
}
.order-card .order-header .order-date {
  font-size: 0.875rem;
  color: #64748b;
}
.order-card .order-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 9999px;
  letter-spacing: 0.5px;
}
.order-card .order-status.status-pending {
  background: #fef3c7;
  color: #d97706;
}
.order-card .order-status.status-confirmed {
  background: #cffafe;
  color: #0891b2;
}
.order-card .order-status.status-shipped {
  background: #e9d5ff;
  color: #7c3aed;
}
.order-card .order-status.status-delivered {
  background: #d1fae5;
  color: #059669;
}
.order-card .order-status.status-cancelled {
  background: #fee2e2;
  color: #dc2626;
}
.order-card .order-items {
  margin-bottom: 1rem;
}
.order-card .order-items .order-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
}
.order-card .order-items .order-item:not(:last-child) {
  border-bottom: 1px solid #f1f5f9;
}
.order-card .order-items .order-item img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 0.5rem;
  flex-shrink: 0;
}
.order-card .order-items .order-item .item-info {
  flex: 1;
  min-width: 0;
}
.order-card .order-items .order-item .item-info h4 {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.order-card .order-items .order-item .item-info .item-meta {
  font-size: 0.875rem;
  color: #64748b;
}
.order-card .order-items .order-item .item-total {
  font-weight: 600;
  color: #0f172a;
}
.order-card .order-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
}
@media (max-width: 768px) {
  .order-card .order-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}
.order-card .order-footer .order-total {
  font-size: 1.25rem;
  font-weight: 700;
}
.order-card .order-footer .order-total span {
  color: #2563eb;
}
.order-card .order-footer .order-actions {
  display: flex;
  gap: 0.5rem;
}
@media (max-width: 768px) {
  .order-card .order-footer .order-actions {
    width: 100%;
  }
  .order-card .order-footer .order-actions .btn {
    flex: 1;
  }
}
.orders-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (max-width: 768px) {
  .orders-list {
    gap: 0.75rem;
  }
}
.order-card {
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1.25rem;
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
@media (max-width: 768px) {
  .order-card {
    padding: 1rem;
  }
}
.order-card:hover {
  border-color: #3b82f6;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}
.order-card .order-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #f1f5f9;
}
@media (max-width: 768px) {
  .order-card .order-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
  }
}
.order-card .order-header .order-number {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.order-card .order-header .order-number strong {
  font-size: 1.125rem;
  font-weight: 700;
  color: #0f172a;
}
@media (max-width: 768px) {
  .order-card .order-header .order-number strong {
    font-size: 1rem;
  }
}
.order-card .order-header .order-number .order-date {
  font-size: 0.875rem;
  color: #64748b;
}
.order-card .order-header .order-status .badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 9999px;
  letter-spacing: 0.5px;
}
.order-card .order-header .order-status .badge.badge-pending {
  background: #fef3c7;
  color: #d97706;
}
.order-card .order-header .order-status .badge.badge-confirmed {
  background: #cffafe;
  color: #0891b2;
}
.order-card .order-header .order-status .badge.badge-shipped {
  background: #e9d5ff;
  color: #7c3aed;
}
.order-card .order-header .order-status .badge.badge-delivered {
  background: #d1fae5;
  color: #059669;
}
.order-card .order-header .order-status .badge.badge-cancelled {
  background: #fee2e2;
  color: #dc2626;
}
.order-card .order-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (max-width: 768px) {
  .order-card .order-body {
    gap: 0.75rem;
  }
}
.order-card .order-body .order-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.order-card .order-body .order-info p {
  font-size: 0.875rem;
  color: #64748b;
  margin: 0;
}
.order-card .order-body .order-info p strong {
  color: #0f172a;
  font-weight: 600;
}
.order-card .order-body .order-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .order-card .order-body .order-actions {
    width: 100%;
  }
}
.order-card .order-body .order-actions .btn {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  min-height: 32px;
}
@media (max-width: 768px) {
  .order-card .order-body .order-actions .btn {
    flex: 1;
    min-width: 0;
  }
}
@media (max-width: 768px) {
  .order-card .order-body .order-actions .btn.btn-outline {
    order: 1;
  }
}
@media (max-width: 768px) {
  .order-card .order-body .order-actions .btn.btn-danger {
    order: 2;
  }
}
.empty-state {
  text-align: center;
  padding: 4rem 1rem;
  background: #ffffff;
  border-radius: 1rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}
@media (max-width: 768px) {
  .empty-state {
    padding: 3rem 1rem;
  }
}
.empty-state .empty-state-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}
@media (max-width: 768px) {
  .empty-state .empty-state-icon {
    font-size: 2.25rem;
  }
}
.empty-state h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.5rem;
}
@media (max-width: 768px) {
  .empty-state h2 {
    font-size: 1.25rem;
  }
}
.empty-state p {
  font-size: 1rem;
  color: #64748b;
  margin-bottom: 1.5rem;
}
@media (max-width: 768px) {
  .empty-state p {
    margin-bottom: 1rem;
  }
}
.empty-state .btn {
  padding: 0.75rem 1.5rem;
}
.order-detail-page {
  padding: 1.5rem 0;
}
.order-detail-page .page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid #f1f5f9;
}
@media (max-width: 768px) {
  .order-detail-page .page-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
  }
}
.order-detail-page .page-header .page-header-content {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.order-detail-page .page-header .page-title {
  font-size: 1.875rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}
@media (max-width: 768px) {
  .order-detail-page .page-header .page-title {
    font-size: 1.5rem;
  }
}
.order-detail-page .page-header .order-status-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 9999px;
  letter-spacing: 0.5px;
}
.order-detail-page .page-header .order-status-badge.status-pending {
  background: #fef3c7;
  color: #d97706;
}
.order-detail-page .page-header .order-status-badge.status-confirmed {
  background: rgba(37, 99, 235, 0.15);
  color: #1e40af;
}
.order-detail-page .page-header .order-status-badge.status-shipped {
  background: rgba(59, 130, 246, 0.15);
  color: #1e40af;
}
.order-detail-page .page-header .order-status-badge.status-delivered {
  background: #d1fae5;
  color: #059669;
}
.order-detail-page .page-header .order-status-badge.status-cancelled {
  background: #fee2e2;
  color: #dc2626;
}
.order-detail-page .order-detail-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 1.5rem;
}
@media (max-width: 1024px) {
  .order-detail-page .order-detail-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
.order-detail-page .order-main-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.order-detail-page .order-card {
  background: #ffffff;
  border-radius: 1.5rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  overflow: hidden;
  border: 1px solid #f1f5f9;
}
.order-detail-page .order-card .order-card-header {
  padding: 1.5rem;
  border-bottom: 1px solid #f1f5f9;
  background: #f1f5f9;
}
@media (max-width: 768px) {
  .order-detail-page .order-card .order-card-header {
    padding: 1rem;
  }
}
.order-detail-page .order-card .order-card-header h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}
@media (max-width: 768px) {
  .order-detail-page .order-card .order-card-header h2 {
    font-size: 1.125rem;
  }
}
.order-detail-page .order-card .order-card-body {
  padding: 1.5rem;
}
@media (max-width: 768px) {
  .order-detail-page .order-card .order-card-body {
    padding: 1rem;
  }
}
.order-detail-page .order-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
@media (max-width: 768px) {
  .order-detail-page .order-info-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}
.order-detail-page .order-info-grid .info-item.full-width {
  grid-column: 1 / -1;
}
.order-detail-page .order-info-grid .info-item .info-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.order-detail-page .order-info-grid .info-item .info-value {
  font-size: 1rem;
  color: #0f172a;
  line-height: 1.75;
}
.order-detail-page .order-products-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.order-detail-page .order-product-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 1rem;
  padding: 1rem;
  background: #f1f5f9;
  border-radius: 0.75rem;
  align-items: center;
}
@media (max-width: 768px) {
  .order-detail-page .order-product-item {
    grid-template-columns: 60px 1fr;
    gap: 0.75rem;
    padding: 0.75rem;
  }
}
.order-detail-page .order-product-item .product-item-image {
  width: 80px;
  height: 80px;
  border-radius: 0.5rem;
  overflow: hidden;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 768px) {
  .order-detail-page .order-product-item .product-item-image {
    width: 60px;
    height: 60px;
  }
}
.order-detail-page .order-product-item .product-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.order-detail-page .order-product-item .product-item-image .product-placeholder {
  font-size: 1.875rem;
  opacity: 0.5;
}
.order-detail-page .order-product-item .product-item-details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
@media (max-width: 768px) {
  .order-detail-page .order-product-item .product-item-details {
    grid-column: 2;
  }
}
.order-detail-page .order-product-item .product-item-details .product-name {
  font-size: 1rem;
  font-weight: 600;
  color: #0f172a;
  margin: 0;
}
@media (max-width: 768px) {
  .order-detail-page .order-product-item .product-item-details .product-name {
    font-size: 0.875rem;
  }
}
.order-detail-page .order-product-item .product-item-details .product-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #64748b;
}
.order-detail-page .order-product-item .product-item-details .product-meta .product-separator {
  opacity: 0.5;
}
.order-detail-page .order-product-item .product-item-total {
  font-size: 1.25rem;
  font-weight: 700;
  color: #2563eb;
  text-align: right;
}
@media (max-width: 768px) {
  .order-detail-page .order-product-item .product-item-total {
    grid-column: 2;
    font-size: 1.125rem;
    text-align: right;
    margin-top: 0.5rem;
  }
}
@media (max-width: 1024px) {
  .order-detail-page .order-sidebar {
    max-width: 100%;
  }
}
.order-detail-page .order-summary {
  position: sticky;
  top: 1.5rem;
}
@media (max-width: 1024px) {
  .order-detail-page .order-summary {
    position: static;
  }
}
.order-detail-page .order-summary .summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  font-size: 1rem;
  color: #64748b;
}
.order-detail-page .order-summary .summary-row:not(:last-of-type) {
  border-bottom: 1px solid #f1f5f9;
}
.order-detail-page .order-summary .summary-divider {
  height: 1px;
  background: #e2e8f0;
  margin: 1rem 0;
}
.order-detail-page .order-summary .summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}
.order-detail-page .order-summary .summary-total span {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
}
.order-detail-page .order-summary .summary-total span.total-amount {
  color: #2563eb;
  font-size: 1.5rem;
}
.order-detail-page .order-summary .btn {
  margin-top: 1rem;
}
.checkout-page {
  padding: 2rem 0;
  min-height: 60vh;
}
.checkout-page-header {
  margin-bottom: 2rem;
}
.checkout-page-header .back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #64748b;
  font-size: 0.875rem;
  text-decoration: none;
  margin-bottom: 1rem;
  transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.checkout-page-header .back-link:hover {
  color: #2563eb;
}
.checkout-page-header h1 {
  font-size: 2.25rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}
@media (max-width: 768px) {
  .checkout-page-header h1 {
    font-size: 1.5rem;
  }
}
.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 2rem;
  align-items: start;
}
@media (max-width: 1024px) {
  .checkout-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
.checkout-form-section {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.checkout-block {
  background: #ffffff;
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  overflow: hidden;
}
.checkout-block .block-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: #f1f5f9;
  border-bottom: 1px solid #e2e8f0;
}
@media (max-width: 768px) {
  .checkout-block .block-header {
    padding: 1rem;
  }
}
.checkout-block .block-header .block-number {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #2563eb;
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: 9999px;
}
.checkout-block .block-header h2 {
  font-size: 1.125rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}
.checkout-block .block-content {
  padding: 1.5rem;
}
@media (max-width: 768px) {
  .checkout-block .block-content {
    padding: 1rem;
  }
}
.checkout-block .form-group {
  margin-bottom: 1.25rem;
}
.checkout-block .form-group:last-child {
  margin-bottom: 0;
}
.checkout-block .form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 0.5rem;
}
.checkout-block .form-group label .required {
  color: #ef4444;
  margin-left: 0.25rem;
}
.checkout-block .form-group textarea {
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 0.75rem;
  resize: vertical;
  min-height: 100px;
  font-family: inherit;
  transition: border-color box-shadow cubic-bezier(0.4, 0, 0.2, 1);
}
.checkout-block .form-group textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}
.checkout-block .form-group textarea::placeholder {
  color: #94a3b8;
}
.delivery-option {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 0.75rem;
  cursor: pointer;
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.delivery-option:hover {
  border-color: #3b82f6;
}
.delivery-option.selected {
  border-color: #2563eb;
  background: rgba(37, 99, 235, 0.03);
}
.delivery-option.selected .option-radio .radio-dot {
  background: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}
.delivery-option .option-radio {
  width: 20px;
  height: 20px;
  border: 2px solid #cbd5e1;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.delivery-option .option-radio .radio-dot {
  width: 10px;
  height: 10px;
  border-radius: 9999px;
  background: transparent;
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.delivery-option .option-info {
  flex: 1;
}
.delivery-option .option-info strong {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 0.25rem;
}
.delivery-option .option-info span {
  font-size: 0.875rem;
  color: #64748b;
}
.delivery-option .option-price {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
}
.delivery-option .option-price.free {
  color: #10b981;
}
.delivery-option .option-icon {
  color: #94a3b8;
}
@media (max-width: 1024px) {
  .checkout-summary-section {
    order: -1;
  }
}
.order-summary-sticky {
  position: sticky;
  top: calc(64px + 1rem);
}
@media (max-width: 1024px) {
  .order-summary-sticky {
    position: static;
  }
}
.summary-card {
  background: #ffffff;
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
}
@media (max-width: 768px) {
  .summary-card {
    padding: 1.25rem;
  }
}
.summary-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 1.25rem 0;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e2e8f0;
}
.summary-items {
  margin-bottom: 1.25rem;
  max-height: 280px;
  overflow-y: auto;
}
.summary-items::-webkit-scrollbar {
  width: 4px;
}
.summary-items::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 9999px;
}
.summary-product {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid #f1f5f9;
}
.summary-product:last-child {
  border-bottom: none;
}
.summary-product .product-image {
  width: 56px;
  height: 56px;
  border-radius: 0.5rem;
  overflow: hidden;
  background: #f1f5f9;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.summary-product .product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.summary-product .product-image-placeholder {
  color: #94a3b8;
}
.summary-product .product-details {
  flex: 1;
  min-width: 0;
}
.summary-product .product-details .product-name {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #0f172a;
  margin-bottom: 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.summary-product .product-details .product-qty {
  font-size: 0.75rem;
  color: #64748b;
}
.summary-product .product-price {
  font-size: 0.875rem;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
}
.summary-totals {
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
  margin-bottom: 1.25rem;
}
.total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  font-size: 0.875rem;
  color: #64748b;
}
.total-row .free-delivery {
  color: #10b981;
  font-weight: 500;
}
.total-row.total-final {
  padding-top: 1rem;
  margin-top: 0.75rem;
  border-top: 2px solid #e2e8f0;
}
.total-row.total-final span {
  font-size: 1.125rem;
  font-weight: 700;
  color: #0f172a;
}
.total-row.total-final .final-price {
  font-size: 1.5rem;
  color: #2563eb;
}
.btn-submit-order {
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  background: #2563eb;
  border: none;
  border-radius: 0.75rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-submit-order:hover {
  background: #1e40af;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}
.btn-submit-order:active {
  transform: translateY(0);
}
.btn-submit-order:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}
.btn-submit-order .spinner {
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.summary-guarantees {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid #f1f5f9;
}
.guarantee-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: #64748b;
}
.guarantee-item svg {
  color: #10b981;
  flex-shrink: 0;
}
.admin-page h1 {
  font-size: 1.875rem;
  margin-bottom: 2rem;
}
.admin-nav {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .admin-nav {
    flex-direction: column;
    gap: 0.5rem;
  }
}
@media (max-width: 768px) {
  .admin-nav .btn {
    width: 100%;
    justify-content: flex-start;
  }
}
.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}
@media (max-width: 768px) {
  .admin-stats {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
  }
}
.stat-card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px 0 rgba(0, 0, 0, 0.15);
}
@media (max-width: 768px) {
  .stat-card {
    padding: 1rem;
  }
}
.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(to right, #3b82f6, #2563eb);
}
.stat-card .stat-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #dbeafe;
  color: #2563eb;
  border-radius: 0.75rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}
@media (max-width: 768px) {
  .stat-card .stat-icon {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
  }
}
.stat-card h3 {
  font-size: 1.875rem;
  font-weight: 800;
  color: #2563eb;
  margin-bottom: 0.5rem;
}
@media (max-width: 768px) {
  .stat-card h3 {
    font-size: 1.5rem;
  }
}
.stat-card p {
  font-size: 0.875rem;
  color: #64748b;
  margin: 0;
  font-weight: 500;
}
.stat-card .stat-change {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
}
.stat-card .stat-change.positive {
  color: #10b981;
}
.stat-card .stat-change.negative {
  color: #ef4444;
}
.admin-section {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  margin-bottom: 1.5rem;
}
@media (max-width: 768px) {
  .admin-section {
    padding: 1rem;
  }
}
.admin-section h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #e2e8f0;
}
.admin-section:last-child {
  margin-bottom: 0;
}
.admin-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
@media (max-width: 768px) {
  .admin-actions {
    flex-direction: column;
    align-items: stretch;
  }
}
.admin-actions .search-box {
  flex: 1;
  max-width: 400px;
}
@media (max-width: 768px) {
  .admin-actions .search-box {
    max-width: none;
  }
}
.admin-actions .action-buttons {
  display: flex;
  gap: 0.5rem;
}
@media (max-width: 768px) {
  .admin-actions .action-buttons {
    flex-direction: column;
  }
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
}
@media (max-width: 768px) {
  .admin-table {
    display: block;
    overflow-x: auto;
  }
}
.admin-table thead {
  background: #f1f5f9;
}
.admin-table thead th {
  padding: 1rem;
  text-align: left;
  font-size: 0.875rem;
  font-weight: 600;
  color: #0f172a;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid #e2e8f0;
  white-space: nowrap;
}
.admin-table thead th:first-child {
  border-top-left-radius: 0.75rem;
}
.admin-table thead th:last-child {
  border-top-right-radius: 0.75rem;
}
.admin-table tbody tr {
  border-bottom: 1px solid #e2e8f0;
  transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.admin-table tbody tr:hover {
  background: #f1f5f9;
}
.admin-table tbody tr:last-child {
  border-bottom: none;
}
.admin-table tbody td {
  padding: 1rem;
  font-size: 0.875rem;
  color: #0f172a;
}
.admin-table tbody td.actions {
  white-space: nowrap;
}
.admin-table tbody td.actions .btn {
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
}
.user-card {
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1.25rem;
  margin-bottom: 1rem;
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.user-card:last-child {
  margin-bottom: 0;
}
.user-card:hover {
  border-color: #3b82f6;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1);
}
@media (max-width: 768px) {
  .user-card {
    padding: 1rem;
  }
}
.user-card .user-card-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
@media (max-width: 768px) {
  .user-card .user-card-content {
    flex-direction: column;
    align-items: flex-start;
  }
}
.user-card .user-info {
  flex: 1;
}
.user-card .user-info h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.user-card .user-info p {
  font-size: 0.875rem;
  color: #64748b;
  margin-bottom: 0.25rem;
}
.user-card .user-info p:last-child {
  margin-bottom: 0;
}
.user-card .user-info p strong {
  color: #0f172a;
  font-weight: 500;
}
.user-card .user-role {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 9999px;
  letter-spacing: 0.5px;
}
.user-card .user-role.role-admin {
  background: #fee2e2;
  color: #dc2626;
}
.user-card .user-role.role-seller {
  background: #cffafe;
  color: #0891b2;
}
.user-card .user-role.role-buyer {
  background: #d1fae5;
  color: #059669;
}
.user-card .user-actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .user-card .user-actions {
    width: 100%;
  }
  .user-card .user-actions .btn {
    flex: 1;
  }
}
.admin-form .form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
@media (max-width: 768px) {
  .admin-form .form-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}
.admin-form .form-grid .form-group-full {
  grid-column: 1 / -1;
}
.admin-form .form-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e2e8f0;
}
@media (max-width: 768px) {
  .admin-form .form-actions {
    flex-direction: column;
  }
}
.image-upload-preview {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 0.75rem;
  margin-top: 0.75rem;
}
.image-upload-preview .preview-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 2px solid #e2e8f0;
}
.image-upload-preview .preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.image-upload-preview .preview-item .remove-image {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  position: absolute;
  top: 0.25rem;
  right: 0.25rem;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(239, 68, 68, 0.9);
  color: #ffffff;
  border-radius: 9999px;
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.image-upload-preview .preview-item .remove-image:focus {
  outline: none;
}
.image-upload-preview .preview-item .remove-image:hover {
  background: #ef4444;
  transform: scale(1.1);
}
.order-details .order-info-section,
.order-details .order-address-section,
.order-details .order-notes-section,
.order-details .order-items-section {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e2e8f0;
}
.order-details .order-info-section:last-child,
.order-details .order-address-section:last-child,
.order-details .order-notes-section:last-child,
.order-details .order-items-section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.order-details .order-info-section h3,
.order-details .order-address-section h3,
.order-details .order-notes-section h3,
.order-details .order-items-section h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.order-details .info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (max-width: 768px) {
  .order-details .info-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}
.order-details .info-grid .info-item strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.order-details .info-grid .info-item span {
  font-size: 1rem;
  color: #0f172a;
}
.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
@media (max-width: 768px) {
  .toolbar {
    flex-direction: column;
    align-items: stretch;
  }
}
.filter-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
@media (max-width: 768px) {
  .filter-group {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }
}
.filter-group label {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: #0f172a;
  white-space: nowrap;
}
@media (max-width: 768px) {
  .filter-group label {
    font-size: 1rem;
  }
}
.form-select {
  width: 100%;
  font-size: 1rem;
  line-height: 1.5;
  color: #0f172a;
  background-color: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 0.5rem;
  transition: border-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
  min-width: 200px;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%2364748b' d='M4.427 6.427l3.396 3.396a.25.25 0 00.354 0l3.396-3.396A.25.25 0 0011.396 6H4.604a.25.25 0 00-.177.427z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}
.form-select:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
.form-select:disabled {
  background-color: #f1f5f9;
  color: #94a3b8;
  cursor: not-allowed;
}
.form-select::placeholder {
  color: #94a3b8;
}
@media (max-width: 768px) {
  .form-select {
    min-width: auto;
  }
}
.form-select:hover {
  border-color: #3b82f6;
}
.stats-summary {
  font-size: 1rem;
  color: #64748b;
  font-weight: 500;
}
@media (max-width: 768px) {
  .stats-summary {
    width: 100%;
    text-align: center;
    padding: 0.75rem;
    background: #f1f5f9;
    border-radius: 0.5rem;
  }
}
.stats-summary strong {
  color: #2563eb;
  font-weight: 700;
  font-size: 1.125rem;
}
.status-select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #0f172a;
  background-color: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 0.5rem;
  transition: border-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  min-width: 160px;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 16 16'%3E%3Cpath fill='%2364748b' d='M4.427 6.427l3.396 3.396a.25.25 0 00.354 0l3.396-3.396A.25.25 0 0011.396 6H4.604a.25.25 0 00-.177.427z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  padding-right: 2rem;
  cursor: pointer;
  font-weight: 500;
}
.status-select:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
.status-select:disabled {
  background-color: #f1f5f9;
  color: #94a3b8;
  cursor: not-allowed;
}
.status-select::placeholder {
  color: #94a3b8;
}
.status-select:hover {
  border-color: #2563eb;
}
.status-select:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
.action-buttons {
  display: flex;
  gap: 0.5rem;
}
@media (max-width: 768px) {
  .action-buttons {
    flex-direction: column;
  }
}
.action-buttons .btn {
  white-space: nowrap;
}
@media (max-width: 768px) {
  .action-buttons .btn {
    width: 100%;
  }
}
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
@media (max-width: 768px) {
  .table-responsive {
    margin: 0 -1rem;
  }
  .table-responsive .admin-table {
    min-width: 800px;
  }
}
.empty-state {
  text-align: center;
  padding: 4rem 1.5rem;
}
@media (max-width: 768px) {
  .empty-state {
    padding: 3rem 1rem;
  }
}
.empty-state-icon {
  font-size: 64px;
  margin-bottom: 1rem;
  opacity: 0.5;
}
@media (max-width: 768px) {
  .empty-state-icon {
    font-size: 48px;
  }
}
.empty-state h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.75rem 0;
}
@media (max-width: 768px) {
  .empty-state h2 {
    font-size: 1.25rem;
  }
}
.empty-state p {
  font-size: 1rem;
  color: #64748b;
  margin: 0;
}
.admin-notification {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  padding: 1rem 1.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 20px 40px 0 rgba(0, 0, 0, 0.2);
  z-index: 9999;
  font-size: 1rem;
  font-weight: 500;
  max-width: 400px;
  opacity: 0;
  transform: translateX(100%);
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
@media (max-width: 768px) {
  .admin-notification {
    top: 1rem;
    right: 1rem;
    left: 1rem;
    max-width: none;
  }
}
.admin-notification.show {
  opacity: 1;
  transform: translateX(0);
}
.admin-notification-success {
  background: #d1fae5;
  color: #059669;
  border-left: 4px solid #10b981;
}
.admin-notification-error {
  background: #fee2e2;
  color: #dc2626;
  border-left: 4px solid #ef4444;
}
.admin-notification-info {
  background: #cffafe;
  color: #0891b2;
  border-left: 4px solid #06b6d4;
}
.admin-notification-warning {
  background: #fef3c7;
  color: #d97706;
  border-left: 4px solid #f59e0b;
}
.hero {
  position: relative;
  text-align: center;
  padding: 4rem 0;
  background: linear-gradient(135deg, #2563eb, #1e40af);
  color: #ffffff;
  margin-bottom: 3rem;
  border-radius: 1.5rem;
  overflow: hidden;
}
@media (max-width: 768px) {
  .hero {
    padding: 3rem 0;
    margin-bottom: 2rem;
    border-radius: 1rem;
  }
}
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.3;
}
.hero .hero-content {
  position: relative;
  z-index: 1;
}
.hero h2 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
@media (max-width: 768px) {
  .hero h2 {
    font-size: 1.875rem;
  }
}
.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 768px) {
  .hero p {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
  }
}
.hero .hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.hero .hero-actions .btn {
  padding: 1rem 2rem;
  font-size: 1.125rem;
  font-weight: 600;
}
.hero .hero-actions .btn-primary {
  background: #ffffff;
  color: #2563eb;
}
.hero .hero-actions .btn-primary:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
}
.hero .hero-actions .btn-outline {
  border-color: #ffffff;
  color: #ffffff;
}
.hero .hero-actions .btn-outline:hover {
  background: #ffffff;
  color: #2563eb;
}
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}
@media (max-width: 768px) {
  .features {
    gap: 1rem;
    margin-bottom: 2rem;
  }
}
.features .feature-card {
  text-align: center;
  padding: 2rem 1rem;
  background: #ffffff;
  border-radius: 1rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.features .feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px 0 rgba(0, 0, 0, 0.15);
}
.features .feature-card .feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #dbeafe;
  color: #2563eb;
  border-radius: 9999px;
  font-size: 1.875rem;
}
.features .feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}
.features .feature-card p {
  color: #64748b;
  line-height: 1.75;
  margin: 0;
}
.scroll-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #2563eb;
  color: #ffffff;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1030;
}
.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
}
.scroll-to-top:hover {
  background: #1e40af;
  transform: translateY(-4px);
  box-shadow: 0 12px 24px 0 rgba(0, 0, 0, 0.15);
}
@media (max-width: 768px) {
  .scroll-to-top {
    bottom: 1rem;
    right: 1rem;
    width: 44px;
    height: 44px;
  }
}
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.6);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.overlay.show {
  opacity: 1;
  visibility: visible;
}
.skeleton {
  background: linear-gradient(90deg, #f1f5f9 0%, #f1f5f9 50%, #f1f5f9 100%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s ease-in-out infinite;
  border-radius: 0.5rem;
}
.skeleton-text {
  height: 1em;
  margin-bottom: 0.5rem;
}
.skeleton-text:last-child {
  margin-bottom: 0;
  width: 80%;
}
.skeleton-avatar {
  width: 48px;
  height: 48px;
  border-radius: 9999px;
}
.skeleton-card {
  height: 300px;
  border-radius: 1rem;
}
@keyframes skeleton-loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
@media print {
  .header,
  .footer,
  .filters,
  .admin-nav,
  .btn,
  .fab,
  .scroll-to-top {
    display: none !important;
  }
  body {
    background: white;
  }
  .card,
  .product-card,
  .order-card {
    box-shadow: none;
    border: 1px solid #e2e8f0;
  }
}
