:root {
  --ink: #172026;
  --muted: #5c6a72;
  --soft: #f3f7f9;
  --teal: #0b7a75;
  --teal-dark: #075d59;
  --gold: rgb(246, 178, 59);
}

body {
  color: var(--ink);
  background: rgb(255, 255, 255);
}

.navbar {
  gap: 18px;
}

.site-navbar {
  position: relative;
}

.navbar-brand {
  color: var(--teal-dark) !important;
  font-size: 1.35rem;
}

.navbar-nav {
  align-items: center;
  flex-direction: row;
  flex-wrap: nowrap;
}

.navbar .nav-link {
  color: var(--muted);
  font-weight: 700;
}

.navbar .nav-link:hover {
  color: var(--teal-dark);
}

.navbar .nav-link.active {
  color: var(--teal-dark) !important;
}

.nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.hamburger-button {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
  background: #eefaf8;
  border: 1px solid #caece7;
  border-radius: 8px;
  cursor: pointer;
}

.hamburger-button span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--teal-dark);
  border-radius: 999px;
  transition: transform 160ms ease, opacity 160ms ease;
}

.nav-toggle:checked+.hamburger-button span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle:checked+.hamburger-button span:nth-child(2) {
  opacity: 0;
}

.nav-toggle:checked+.hamburger-button span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.text-teal,
.link-teal {
  color: var(--teal-dark);
}

.link-teal:hover {
  color: var(--teal);
}

.text-gold {
  color: var(--gold);
}

.bg-soft {
  background: var(--soft);
}

.btn-teal {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--teal);
  --bs-btn-border-color: var(--teal);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--teal-dark);
  --bs-btn-hover-border-color: var(--teal-dark);
  --bs-btn-border-radius: 8px;
  font-weight: 700;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-section {
  min-height: 520px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(10, 22, 29, 0.86) 0%, rgba(10, 22, 29, 0.62) 48%, rgba(10, 22, 29, 0.22) 100%),
    url("https://images.unsplash.com/photo-1550009158-9ebf69173e03?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.hero-card-row {
  margin-top: 18px;
}

.hero-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 128px;
  padding: 18px;
  color: #fff;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  backdrop-filter: blur(10px);
}

.hero-card:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
}

.hero-card span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-card strong {
  max-width: 180px;
  font-size: 1.05rem;
  line-height: 1.25;
}

.catalog-hero {
  background:
    linear-gradient(90deg, rgba(10, 22, 29, 0.9) 0%, rgba(10, 22, 29, 0.72) 52%, rgba(10, 22, 29, 0.42) 100%),
    url("https://images.unsplash.com/photo-1550745165-9bc0b252726f?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.cart-hero {
  background:
    linear-gradient(90deg, rgba(10, 22, 29, 0.9) 0%, rgba(10, 22, 29, 0.72) 54%, rgba(10, 22, 29, 0.38) 100%),
    url("https://images.unsplash.com/photo-1588508065123-287b28e013da?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.checkout-hero {
  background:
    linear-gradient(90deg, rgba(10, 22, 29, 0.9) 0%, rgba(10, 22, 29, 0.72) 54%, rgba(10, 22, 29, 0.38) 100%),
    url("https://images.unsplash.com/photo-1556742502-ec7c0e9f34b1?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.account-hero {
  background:
    linear-gradient(90deg, rgba(10, 22, 29, 0.9) 0%, rgba(10, 22, 29, 0.72) 54%, rgba(10, 22, 29, 0.38) 100%),
    url("https://images.unsplash.com/photo-1551836022-d5d88e9218df?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.account-hero-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  backdrop-filter: blur(10px);
}

.cart-progress {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  box-shadow: 0 16px 44px rgba(16, 32, 42, 0.16);
}

.cart-progress div {
  display: grid;
  place-items: center;
  min-height: 44px;
  color: var(--muted);
  background: var(--soft);
  border-radius: 8px;
  font-weight: 800;
}

.cart-progress .active {
  color: #fff;
  background: var(--teal);
}

.catalog-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.catalog-stats div {
  padding: 18px;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  backdrop-filter: blur(10px);
}

.catalog-stats strong,
.catalog-stats span {
  display: block;
}

.catalog-stats strong {
  font-size: 1.8rem;
  line-height: 1;
}

.catalog-stats span {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  font-weight: 700;
}

.catalog-filter,
.catalog-toolbar-card {
  box-shadow: 0 12px 36px rgba(16, 32, 42, 0.06);
}

.catalog-toolbar-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  color: var(--teal-dark);
  background: #eefaf8;
  border: 1px solid #caece7;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 800;
}

.catalog-product .card-body {
  display: flex;
  flex-direction: column;
}

.product-image-wrap {
  position: relative;
  overflow: hidden;
}

.catalog-product .card-img-top {
  transition: transform 180ms ease;
}

.catalog-product:hover .card-img-top {
  transform: scale(1.04);
}

.small-badge {
  top: 12px;
  left: 12px;
  padding: 7px 10px;
  font-size: 0.75rem;
}

.sale-badge {
  background: #b42318;
}

.product-description {
  min-height: 48px;
  color: var(--muted);
  font-size: 0.95rem;
}

.rating-mini {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  min-height: 30px;
  color: #6b4400;
  background: #fff3cd;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 900;
}

.pagination {
  gap: 8px;
}

.pagination .page-link {
  min-width: 42px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-dark);
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(16, 32, 42, 0.05);
}

.pagination .page-link:hover {
  color: #fff;
  background: var(--teal);
  border-color: var(--teal);
}

.pagination .page-item.active .page-link {
  color: #fff;
  background: var(--teal);
  border-color: var(--teal);
}

.pagination .page-item.disabled .page-link {
  color: #9aa6ad;
  background: #f8f9fa;
  border-color: #e8ecef;
  box-shadow: none;
}

.category-card {
  position: relative;
  display: block;
  height: 230px;
  overflow: hidden;
  color: #fff;
  border-radius: 8px;
}

.category-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  transition: transform 180ms ease;
}

.category-card:hover img {
  transform: scale(1.04);
}

.category-card span {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 8px 12px;
  background: rgba(10, 22, 29, 0.78);
  border-radius: 8px;
  font-weight: 800;
}

.product-card {
  overflow: hidden;
  border-radius: 8px;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 45px rgba(16, 32, 42, 0.12);
}

.product-card .card-img-top {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.product-meta {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.price {
  color: var(--teal-dark);
  font-size: 1.25rem;
  font-weight: 900;
}

.filter-panel {
  position: sticky;
  top: 92px;
}

.sort-select {
  max-width: 220px;
}

.detail-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.product-showcase {
  box-shadow: 0 18px 55px rgba(16, 32, 42, 0.08);
}

.product-gallery {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: var(--soft);
}

.product-hero-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.product-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  padding: 8px 12px;
  color: #fff;
  background: var(--teal);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
}

.product-thumb {
  width: 100%;
  height: 112px;
  object-fit: cover;
  border: 1px solid #dee2e6;
  border-radius: 8px;
}

.purchase-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.rating-pill,
.stock-pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 800;
}

.rating-pill {
  color: #6b4400;
  background: #fff3cd;
}

.stock-pill {
  color: var(--teal-dark);
  background: #d8f3ee;
}

.color-swatch {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  box-shadow: 0 0 0 3px #fff, 0 0 0 4px #dee2e6;
}

.config-card {
  padding: 12px;
  text-align: center;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  font-weight: 800;
}

.config-card.active {
  color: var(--teal-dark);
  border-color: var(--teal);
  background: #eefaf8;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.trust-grid div,
.feature-tile {
  padding: 14px;
  background: var(--soft);
  border-radius: 8px;
}

.trust-grid strong,
.trust-grid span,
.feature-tile strong,
.feature-tile span {
  display: block;
}

.trust-grid strong,
.feature-tile strong {
  margin-bottom: 4px;
}

.trust-grid span,
.feature-tile span {
  color: var(--muted);
  font-size: 0.9rem;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid #dee2e6;
}

.spec-row:last-child {
  border-bottom: 0;
}

.spec-row span {
  color: var(--muted);
}

.cart-list-card,
.order-summary-card,
.checkout-card,
.account-sidebar,
.account-panel,
.account-stat {
  box-shadow: 0 12px 36px rgba(16, 32, 42, 0.06);
}

.account-sidebar {
  position: sticky;
  top: 96px;
}

.account-menu {
  display: grid;
  gap: 8px;
}

.account-menu a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  color: var(--muted);
  text-decoration: none;
  background: var(--soft);
  border-radius: 8px;
  font-weight: 800;
}

.account-menu a:hover,
.account-menu a.active {
  color: #fff;
  background: var(--teal);
}

.account-stat span,
.account-stat strong {
  display: block;
}

.account-stat span {
  color: var(--muted);
  font-weight: 800;
}

.account-stat strong {
  margin-top: 6px;
  color: var(--teal-dark);
  font-size: 2rem;
  line-height: 1;
}

.order-card {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
  border-top: 1px solid #dee2e6;
}

.order-card strong,
.order-card span {
  display: block;
}

.order-card span {
  margin-top: 4px;
  color: var(--muted);
}

.step-number {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  color: #fff;
  background: var(--teal);
  border-radius: 50%;
  font-weight: 900;
}

.payment-detail {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid #dee2e6;
}

.payment-detail:first-child {
  padding-top: 0;
}

.payment-detail span {
  color: var(--muted);
}

.payment-detail strong {
  text-align: right;
}

.checkout-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid #dee2e6;
}

.checkout-item img {
  width: 72px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
}

.checkout-item strong {
  color: var(--teal-dark);
}

.cart-item-card {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px 0;
  border-top: 1px solid #dee2e6;
}

.cart-item-card img {
  width: 132px;
  height: 112px;
  object-fit: cover;
  border-radius: 8px;
}

.cart-item-price {
  text-align: right;
}

.cart-item-price span,
.secure-note span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
}

.cart-item-price strong {
  display: block;
  margin-top: 4px;
  color: var(--teal-dark);
  font-size: 1.25rem;
}

.static-qty {
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid #dee2e6;
  border-radius: 8px;
}

.static-qty span,
.static-qty strong {
  display: grid;
  place-items: center;
  min-width: 38px;
  min-height: 36px;
}

.static-qty span {
  color: var(--muted);
  background: var(--soft);
  font-weight: 900;
}

.static-qty strong {
  background: #fff;
}

.order-summary-card {
  position: sticky;
  top: 96px;
}

.secure-note {
  padding: 14px;
  background: var(--soft);
  border-radius: 8px;
}

.secure-note strong {
  display: block;
  margin-bottom: 4px;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid #dee2e6;
}

.summary-line.total {
  color: var(--teal-dark);
  font-size: 1.25rem;
  font-weight: 900;
  border-bottom: 0;
}

.qr-box {
  display: grid;
  place-items: center;
  padding: 18px;
  background: var(--soft);
  border: 1px solid #dee2e6;
  border-radius: 8px;
}

.qr-box img {
  width: min(280px, 100%);
  aspect-ratio: 1 / 1;
}

.auth-page {
  min-height: calc(100vh - 154px);
  display: grid;
  place-items: center;
}

.auth-card {
  width: min(100%, 560px);
}

.account-avatar {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  color: #fff;
  background: var(--teal);
  border-radius: 50%;
  font-size: 1.35rem;
  font-weight: 900;
}

.site-footer {
  margin-top: 24px;
}

.footer-brand {
  color: var(--teal-dark);
  font-size: 1.6rem;
  font-weight: 900;
  text-decoration: none;
}

.footer-brand:hover {
  color: var(--teal);
}

.site-footer h2 {
  margin-bottom: 14px;
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer a:not(.footer-brand) {
  display: block;
  width: fit-content;
  margin-bottom: 10px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
}

.site-footer a:not(.footer-brand):hover {
  color: var(--teal-dark);
}

.payment-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.payment-pills span {
  padding: 7px 11px;
  color: var(--teal-dark);
  background: #eefaf8;
  border: 1px solid #caece7;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
}

.footer-bottom {
  padding: 16px 0;
  color: var(--muted);
  background: var(--soft);
  border-top: 1px solid #dee2e6;
  font-size: 0.92rem;
  font-weight: 700;
}

@media (max-width: 991px) {
  .filter-panel {
    position: static;
  }
}

@media (max-width: 575px) {
  .site-navbar {
    flex-wrap: wrap;
    padding-top: 14px !important;
    padding-bottom: 14px !important;
  }

  .hamburger-button {
    display: inline-flex;
  }

  .nav-menu {
    display: none;
    width: 100%;
    margin-top: 12px;
    padding: 12px;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(16, 32, 42, 0.08);
  }

  .nav-toggle:checked~.nav-menu {
    display: flex;
  }

  .navbar-nav.nav-menu {
    align-items: stretch;
    flex-direction: column;
    gap: 8px !important;
    font-size: 0.92rem;
  }

  .navbar .nav-link {
    width: 100%;
    min-height: 40px;
    justify-content: center;
    padding-inline: 12px !important;
    color: #000000;
  }

  .hero-section {
    min-height: auto;
  }

  .cart-item-card {
    grid-template-columns: 86px minmax(0, 1fr);
  }

  .cart-item-card img {
    width: 86px;
    height: 76px;
  }

  .cart-item-price {
    grid-column: 1 / -1;
    text-align: left;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .product-thumb {
    height: 82px;
  }

  .catalog-stats,
  .catalog-toolbar-card {
    grid-template-columns: 1fr;
  }

  .catalog-toolbar-card {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* ==========================================================================
   6. Form Focus Optimization Rules (Contact Page Extensions)
   ========================================================================== */
.form-input-custom {
  background-color: var(--surface-card-bg) !important;
  border: 1px solid var(--border-color-fallback) !important;
  color: var(--text-heading) !important;
  border-radius: 6px;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

/* Enhances accessibility focus states with brand teal glow metrics */
.form-input-custom:focus {
  border-color: var(--brand-teal) !important;
  box-shadow: 0 0 0 0.25rem rgba(11, 122, 117, 0.18) !important;
}

/* Custom placeholder visibility treatment across light/dark profiles */
.form-input-custom::placeholder {
  color: var(--text-muted-alt) !important;
  opacity: 0.6;
}

/* Adjust validation border markers slightly to keep layout clean */
.was-validated .form-control:invalid:focus,
.was-validated .form-select:invalid:focus {
  box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.15) !important;
}

/* ==========================================================================
   7. Micro-Interactions & CSS Animation Timelines
   ========================================================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.animate-fade-in {
  animation: fadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-fade-in-up {
  opacity: 0;
  /* Base state targets transition trigger initialization */
  animation: fadeInUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Scroll context setup parameters inside summary item boxes */
.checkout-items-scroll {
  scrollbar-width: thin;
  scrollbar-color: var(--brand-teal) transparent;
}

/* ==========================================================================
   9. Authentication Centering Layout Tweaks
   ========================================================================== */
.min-vh-75 {
  min-height: 75vh;
}

@media (min-width: 768px) {
  .min-vh-75 {
    min-height: 75vh;
  }
}

/* ==========================
   ACCOUNT PAGE ANIMATIONS
========================== */

.account-panel,
.account-stat,
.account-sidebar,
.order-card {
  transition: all .35s ease;
}

.account-panel:hover,
.account-stat:hover,
.account-sidebar:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, .08);
}

.order-card:hover {
  transform: scale(1.02);
  background: #f8fafc;
}

.account-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg,
      #0d9488,
      #14b8a6);
  color: white;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
}

.account-menu a {
  display: block;
  padding: 12px 16px;
  margin-bottom: 8px;
  border-radius: 10px;
  text-decoration: none;
  transition: .3s;
}

.account-menu a:hover {
  background: #0d9488;
  color: white;
  padding-left: 25px;
}

.account-menu .active {
  background: #0d9488;
  color: white;
}

.account-hero {
  background: linear-gradient(135deg,
      #0f172a,
      #0d9488);
  position: relative;
  overflow: hidden;
}

.account-hero::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, .05);
  border-radius: 50%;
  top: -150px;
  right: -100px;
  animation: floating 8s infinite linear;
}

@keyframes floating {

  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }

}

.account-panel,
.account-sidebar,
.account-stat {
  animation: fadeUp .8s ease forwards;
}

@keyframes fadeUp {

  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }

}

.product-image-wrap {

  overflow: hidden;
  position: relative;
}

.product-image-wrap img {

  transition: .5s ease;
}

.product-card:hover img {

  transform: scale(1.12);
}

.product-badge {

  position: absolute;

  top: 15px;
  left: 15px;

  z-index: 2;

  background: linear-gradient(135deg,
      #f59e0b,
      #f97316);

  color: white;

  padding: 8px 12px;

  border-radius: 50px;

  font-size: 12px;
  font-weight: 700;


}

.catalog-hero {

  background:
    linear-gradient(135deg,
      #0f172a,
      #0d9488);

  position: relative;

  overflow: hidden;
}

.catalog-hero::before {

  content: '';

  position: absolute;

  width: 500px;
  height: 500px;

  background:
    rgba(255, 255, 255, .05);

  border-radius: 50%;

  right: -150px;
  top: -150px;

  animation: rotateHero 15s linear infinite;
}

@keyframes rotateHero {

  from {
    transform: rotate(0);
  }

  to {
    transform: rotate(360deg);
  }
}

.catalog-filter {

  transition: .4s;
}

.catalog-filter:hover {

  box-shadow:
    0 10px 30px rgba(0, 0, 0, .08);
}

.filter-chip {

  background: #e2e8f0;

  padding: 8px 14px;

  border-radius: 50px;

  font-size: 14px;

  transition: .3s;
}

.filter-chip:hover {

  background: #0d9488;

  color: white;

  cursor: pointer;
}

.product-card {

  animation: fadeUp .8s ease forwards;
}

@keyframes fadeUp {

  from {

    opacity: 0;

    transform:
      translateY(30px);

  }

  to {

    opacity: 1;

    transform:
      translateY(0);
  }
}

.catalog-toolbar-card {

  backdrop-filter: blur(12px);

  border-radius: 20px;

  background:
    rgba(255, 255, 255, .75);
}

.rating-mini {

  color: #f59e0b;

  text-shadow:
    0 0 10px rgba(245, 158, 11, .4);
}

/* ==========================
   PRODUCT DETAIL
========================== */

.premium-showcase {

  background: white;

  border-radius: 24px;

  padding: 2rem;

  overflow: hidden;

  position: relative;

  box-shadow:
    0 20px 50px rgba(0, 0, 0, .08);
}

.product-gallery {

  border-radius: 24px;

  overflow: hidden;

  background:
    linear-gradient(135deg,
      #f8fafc,
      #eef2ff);
}

.product-gallery img {

  transition: all .6s ease;
}

.product-gallery:hover img {

  transform: scale(1.15) rotate(2deg);
}

.purchase-panel {

  backdrop-filter: blur(15px);

  background:
    rgba(255, 255, 255, .85);

  border-radius: 20px;

  padding: 10px;
}

.price {

  animation:
    priceGlow 2s infinite alternate;
}

@keyframes priceGlow {

  from {

    text-shadow:
      0 0 5px rgba(13, 148, 136, .2);
  }

  to {

    text-shadow:
      0 0 20px rgba(13, 148, 136, .6);
  }
}

.bg-teal {

  background:
    linear-gradient(135deg,
      #0d9488,
      #14b8a6) !important;

  animation:
    pulseBadge 2s infinite;
}

@keyframes pulseBadge {

  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.08);
  }

  100% {
    transform: scale(1);
  }
}

.btn-teal {

  background:
    linear-gradient(135deg,
      #0d9488,
      #14b8a6);

  border: none;

  transition: .3s;
}

.btn-teal:hover {

  transform:
    translateY(-3px);

  box-shadow:
    0 15px 25px rgba(20, 184, 166, .35);
}

.product-showcase {

  animation:
    fadeUp .8s ease;
}

@keyframes fadeUp {

  from {

    opacity: 0;

    transform:
      translateY(40px);
  }

  to {

    opacity: 1;

    transform:
      translateY(0);
  }
}

.product-card {

  border-radius: 20px;

  overflow: hidden;

  transition: .4s;
}

.product-card:hover {

  transform:
    translateY(-10px);

  box-shadow:
    0 20px 40px rgba(0, 0, 0, .12);
}

.product-card img {

  transition: .5s;
}

.product-card:hover img {

  transform:
    scale(1.1);
}

.premium-showcase::before {

  content: '';

  position: absolute;

  width: 400px;
  height: 400px;

  border-radius: 50%;

  background:
    rgba(20, 184, 166, .05);

  top: -150px;
  right: -100px;

  animation:
    rotateCircle 15s linear infinite;
}

@keyframes rotateCircle {

  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* ==========================
   FILTER SIDEBAR
========================== */

.modern-filter-panel {

  background: rgba(255, 255, 255, .9);

  backdrop-filter: blur(20px);

  border-radius: 24px;

  padding: 25px;

  box-shadow:
    0 15px 40px rgba(0, 0, 0, .08);

  position: sticky;

  top: 100px;

  animation: slideIn .6s ease;
}

/* Header */

.filter-header {

  display: flex;

  justify-content: space-between;

  align-items: center;

  margin-bottom: 25px;
}

.filter-header h2 {

  font-size: 1.3rem;

  font-weight: 700;

  margin: 0;
}

.reset-btn {

  color: #0d9488;

  text-decoration: none;

  font-size: .9rem;

  font-weight: 600;

  transition: .3s;
}

.reset-btn:hover {

  color: #14b8a6;

  transform: rotate(15deg);
}

/* Group */

.filter-group {

  margin-bottom: 20px;
}

.filter-group label {

  font-weight: 600;

  margin-bottom: 8px;

  display: block;
}

/* Select */

.modern-select {

  border-radius: 14px;

  border: 1px solid #e5e7eb;

  padding: 12px;

  transition: .3s;
}

.modern-select:focus {

  border-color: #14b8a6;

  box-shadow:
    0 0 0 4px rgba(20, 184, 166, .15);
}

/* Checkbox */

.custom-check {

  display: flex;

  align-items: center;

  gap: 10px;

  margin-bottom: 12px;
}

.custom-check input {

  display: none;
}

.custom-check span {

  width: 22px;
  height: 22px;

  border: 2px solid #14b8a6;

  border-radius: 6px;

  transition: .3s;
}

.custom-check input:checked+span {

  background: #14b8a6;

  box-shadow:
    0 0 10px rgba(20, 184, 166, .4);
}

/* Button */

.filter-btn {

  background:
    linear-gradient(135deg,
      #0d9488,
      #14b8a6);

  color: white;

  border: none;

  border-radius: 14px;

  padding: 12px;

  font-weight: 600;

  transition: .3s;
}

.filter-btn:hover {

  transform: translateY(-3px);

  box-shadow:
    0 10px 25px rgba(20, 184, 166, .35);
}

/* Animation */

@keyframes slideIn {

  from {

    opacity: 0;

    transform:
      translateX(-30px);
  }

  to {

    opacity: 1;

    transform:
      translateX(0);
  }
}

/* ==========================================
   MODERN FILTER SIDEBAR 
========================================== */

.modern-filter-panel {
  background: #fff;
  border-radius: 24px;
  padding: 28px;
  box-shadow:
    0 10px 30px rgba(0, 0, 0, .05),
    0 1px 3px rgba(0, 0, 0, .08);
  border: 1px solid #e5e7eb;
  position: sticky;
  top: 100px;
}

.filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 18px;
  border-bottom: 1px solid #eef2f7;
}

.filter-header h2 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  color: #0f172a;
}

.reset-btn {
  text-decoration: none;
  color: #0d9488;
  font-weight: 600;
  font-size: .9rem;
  transition: .3s;
}

.reset-btn:hover {
  color: #0f766e;
}

.filter-group {
  margin-bottom: 24px;
}

.filter-group label {
  display: block;
  font-size: .9rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 10px;
}

/* ==========================================
   MODERN SELECT
========================================== */

.modern-select {
  border: 2px solid #e2e8f0;
  border-radius: 14px;
  padding: 12px 15px;
  background: #f8fafc;
  transition: .3s;
  font-weight: 500;
}

.modern-select:hover {
  border-color: #0d9488;
}

.modern-select:focus {
  border-color: #0d9488;
  box-shadow: 0 0 0 4px rgba(13, 148, 136, .15);
  background: #fff;
}

/* ==========================================
   CUSTOM CHECKBOX
========================================== */

.custom-check {
  display: flex;
  align-items: center;
  margin-bottom: 14px;
  position: relative;
}

.custom-check input {
  position: absolute;
  opacity: 0;
}

.custom-check span {
  width: 22px;
  height: 22px;
  border: 2px solid #cbd5e1;
  border-radius: 8px;
  margin-right: 12px;
  transition: .3s;
  position: relative;
}

.custom-check input:checked+span {
  background: #0d9488;
  border-color: #0d9488;
}

.custom-check input:checked+span::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 13px;
  font-weight: bold;
}

.custom-check label {
  margin: 0;
  cursor: pointer;
  font-weight: 500;
  color: #475569;
}

/* ==========================================
   APPLY BUTTON
========================================== */

.filter-btn {
  background: linear-gradient(135deg,
      #0d9488,
      #14b8a6);
  color: white;
  border: none;
  border-radius: 14px;
  padding: 13px;
  font-weight: 700;
  letter-spacing: .5px;
  transition: .3s;
}

.filter-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(13, 148, 136, .25);
  color: white;
}

/* ==========================================
   DARK CARD EFFECT
========================================== */

.modern-filter-panel:hover {
  box-shadow:
    0 20px 40px rgba(0, 0, 0, .08),
    0 5px 10px rgba(0, 0, 0, .05);
}

/* ==========================================
   MOBILE
========================================== */

@media(max-width:991px) {

  .modern-filter-panel {
    position: relative;
    top: auto;
    margin-bottom: 25px;
  }

}

/* ==========================================
   FORGOT PASSWORD PAGE
========================================== */

.forgot-wrapper {
  background: #f8fafc;
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: 60px 0;
}

.forgot-card {
  background: #fff;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .08);
  display: grid;
  grid-template-columns: 1fr 1fr;
}

/* LEFT PANEL */

.forgot-info {
  background: linear-gradient(135deg,
      #0f172a,
      #1e293b,
      #0d9488);

  color: #fff;
  padding: 60px;
}

.forgot-icon {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .15);

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 2rem;
  margin-bottom: 25px;
}

.forgot-info h2 {
  font-weight: 700;
  margin-bottom: 15px;
}

.forgot-info p {
  color: rgba(255, 255, 255, .75);
  margin-bottom: 35px;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.feature-item i {
  font-size: 1.2rem;
  color: #fbbf24;
}

/* RIGHT PANEL */

.forgot-form {
  padding: 60px;
}

.eyebrow {
  color: #0d9488;
  font-weight: 700;
  letter-spacing: 2px;
  font-size: .8rem;
}

.input-group-text {
  background: #f8fafc;
  border-right: none;
}

.form-control {
  border-left: none;
  padding: 14px;
}

.form-control:focus {
  box-shadow: none;
  border-color: #0d9488;
}

.btn-teal {
  background: #0d9488;
  border: none;
  color: #fff;
  font-weight: 600;
}

.btn-teal:hover {
  background: #0f766e;
  color: #fff;
}

.back-login {
  text-decoration: none;
  color: #0d9488;
  font-weight: 600;
}

.back-login:hover {
  color: #0f766e;
}

/* MOBILE */

@media(max-width:992px) {

  .forgot-card {
    grid-template-columns: 1fr;
  }

  .forgot-info,
  .forgot-form {
    padding: 40px;
  }

}