.fp-header-link { color: var(--bs-gray-800); font-weight: 600; font-size: .95rem; }
.fp-header-link:hover { color: var(--bs-primary); }
[data-bs-theme="dark"] .fp-header-link { color: rgba(226,232,240,.9); }
[data-bs-theme="dark"] .fp-header-link:hover { color: #93c5fd; }

.fp-search-pill { border-radius: 999px !important; }
.input-group .fp-search-pill {
  border-top-right-radius: 999px !important;
  border-bottom-right-radius: 999px !important;
  padding-right: 3rem;
}
.fp-header-icon-btn { width: 38px; height: 38px; border-radius: 50%; }

.fp-front-sticky-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 120;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: linear-gradient(180deg, rgba(255,255,255,.82), rgba(248,252,255,.74));
  border-bottom-color: rgba(148,163,184,.24) !important;
  box-shadow: 0 .45rem 1.2rem rgba(15,23,42,.08);
}
body.fp-with-fixed-header main { margin-top: var(--fp-header-offset, 0px); }
.fp-front-sticky-header > .py-4,
.fp-front-sticky-header > .py-5,
.fp-front-sticky-header > .py-6,
.fp-front-sticky-header > .bg-body,
.fp-front-sticky-header > .bg-white {
  background-color: transparent !important;
}
[data-bs-theme="dark"] .fp-front-sticky-header {
  background: linear-gradient(180deg, rgba(17,24,39,.84), rgba(15,23,42,.78));
  border-bottom-color: rgba(71,85,105,.45) !important;
  box-shadow: 0 .55rem 1.4rem rgba(2,6,23,.45);
}
[data-bs-theme="dark"] .fp-front-sticky-header .btn-light {
  background-color: rgba(30,41,59,.72) !important;
  border-color: rgba(71,85,105,.55) !important;
  color: #e2e8f0 !important;
}
[data-bs-theme="dark"] .fp-front-sticky-header .form-control,
[data-bs-theme="dark"] .fp-front-sticky-header .form-control.form-control-solid {
  background-color: rgba(15,23,42,.75) !important;
  border-color: rgba(71,85,105,.45) !important;
  color: #e2e8f0 !important;
}
[data-bs-theme="dark"] .fp-front-sticky-header .input-group-text { color: rgba(148,163,184,.9) !important; }

.fp-header-topline { background: var(--bs-success); color: var(--bs-white); }
.fp-header-compactline { background: var(--bs-primary); color: var(--bs-white); }
.fp-header-tealbar { background: var(--bs-info); color: var(--bs-white); }
.fp-header-beigebar { background: var(--bs-warning-bg-subtle); color: var(--bs-gray-900); }
.fp-header-search-btn { min-width: 150px; }
.fp-header-brand-logo { max-height: 46px; }
.fp-logo-dark { display: none; }
[data-bs-theme="dark"] .fp-logo-light { display: none !important; }
[data-bs-theme="dark"] .fp-logo-dark { display: inline-block !important; }
.fp-header-mainmenu { row-gap: .75rem; }

.fp-style1-categories-collapse { border-top: 1px solid var(--bs-gray-300); }
.fp-style1-categories-grid-cards { display: flex; flex-wrap: wrap; align-items: flex-start; gap: .75rem 1rem; }
.fp-style1-category-card { text-decoration: none; color: var(--bs-gray-800); display: flex; flex-direction: column; align-items: center; }
.fp-style1-categories-grid-cards .fp-style1-category-card { width: 92px; }
.fp-style1-category-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bs-gray-200);
  border: 1px solid var(--bs-gray-300);
  display: flex;
  align-items: center;
  justify-content: center;
}
.fp-style1-category-circle img { width: 100%; height: 100%; object-fit: cover; }
.fp-style1-category-name {
  margin-top: .5rem;
  font-size: .82rem;
  font-weight: 700;
  text-align: center;
  color: var(--bs-gray-800);
  line-height: 1.15;
}
.fp-style1-category-card:hover .fp-style1-category-name { color: var(--bs-primary); }
.fp-style1-nav-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; }
.fp-style1-nav-center { justify-content: center; }
.fp-style1-nav-right { justify-self: end; display: flex; align-items: center; gap: .75rem; }

.fp-footer-dark { background: var(--bs-gray-900); color: var(--bs-gray-300); }
.fp-footer-dark a { color: var(--bs-gray-400); }
.fp-footer-cream { background: #f3f1eb; }
.fp-footer-dark .fp-footer-links-title,
.fp-footer-dark .text-gray-700,
.fp-footer-dark .text-gray-800,
.fp-footer-dark .text-muted { color: #cbd5e1 !important; }
.fp-footer-dark .fp-footer-link { color: #cbd5e1; }
.fp-footer-dark .fp-footer-link:hover,
.fp-footer-dark a:hover { color: #93c5fd !important; }
.fp-footer-dark .border-top { border-color: rgba(148,163,184,.25) !important; }
[data-bs-theme="dark"] .fp-footer-cream { background: #0f172a; color: #cbd5e1; }
[data-bs-theme="dark"] .fp-footer-cream .fp-footer-links-title,
[data-bs-theme="dark"] .fp-footer-cream .text-gray-700,
[data-bs-theme="dark"] .fp-footer-cream .text-gray-800,
[data-bs-theme="dark"] .fp-footer-cream .text-muted,
[data-bs-theme="dark"] .fp-footer-cream .fp-footer-link,
[data-bs-theme="dark"] .fp-footer-cream a { color: #cbd5e1 !important; }
[data-bs-theme="dark"] .fp-footer-cream .fp-footer-link:hover,
[data-bs-theme="dark"] .fp-footer-cream a:hover { color: #93c5fd !important; }
[data-bs-theme="dark"] .fp-footer-cream .border-top { border-color: rgba(148,163,184,.25) !important; }

.fp-footer-links-title { font-weight: 700; font-size: .95rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1rem; color: var(--bs-gray-900); }
.fp-footer-link { display: block; color: var(--bs-gray-800); margin-bottom: .7rem; line-height: 1.45; text-decoration: none; }
.fp-footer-link:hover { color: var(--bs-primary); }
.fp-social-pill {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(148,163,184,.2);
  color: var(--bs-gray-700);
  border: 1px solid rgba(100,116,139,.24);
}
.fp-social-pill:hover { color: var(--bs-primary); background: rgba(59,130,246,.12); }
.fp-newsletter-input { border-radius: 999px !important; min-height: 44px; }
.fp-newsletter-wrap { max-width: 420px; }
.fp-footer-style-1 .fp-footer-columns { row-gap: 2rem; }
.fp-footer-style-1 .fp-footer-newsletter { padding-left: .5rem; }
.fp-footer-style-2 .fp-footer-col { min-height: 100%; }
.fp-footer-style-2 .fp-footer-col-center { text-align: center; }
.fp-footer-style-2 .fp-footer-col-right { text-align: right; }
.fp-footer-style-2 .fp-footer-newsletter { margin-left: auto; }
.fp-footer-style-3 .fp-footer-main { row-gap: 2rem; }
.fp-footer-style-3 .fp-footer-bottom { min-height: 56px; }
.fp-footer-payments { max-height: 32px; width: auto; }

.front-cart-offcanvas {
  width: min(420px, 96vw) !important;
  border-left: 1px solid rgba(255,255,255,.55);
  background: linear-gradient(165deg, rgba(255,255,255,.78), rgba(243,248,255,.68));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: -1rem 0 2rem rgba(15,23,42,.16);
}
[data-bs-theme="dark"] .front-cart-offcanvas {
  border-left-color: rgba(71,85,105,.55);
  background: linear-gradient(165deg, rgba(15,23,42,.9), rgba(30,41,59,.84));
  box-shadow: -1rem 0 2rem rgba(2,6,23,.45);
}
.front-cart-offcanvas .offcanvas-header {
  border-bottom: 1px solid rgba(255,255,255,.55);
  background: linear-gradient(135deg, rgba(255,255,255,.56), rgba(255,255,255,.2));
}
[data-bs-theme="dark"] .front-cart-offcanvas .offcanvas-header {
  border-bottom-color: rgba(71,85,105,.45);
  background: linear-gradient(135deg, rgba(30,41,59,.62), rgba(15,23,42,.45));
}
[data-bs-theme="dark"] .front-cart-offcanvas .offcanvas-title { color: #f8fafc; }
.front-cart-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .7rem;
  border: 1px solid rgba(148,163,184,.22);
  border-radius: .8rem;
  background: rgba(255,255,255,.75);
}
[data-bs-theme="dark"] .front-cart-item {
  border-color: rgba(71,85,105,.45);
  background: rgba(30,41,59,.62);
}
.front-cart-thumb {
  width: 54px;
  height: 54px;
  border-radius: .65rem;
  object-fit: cover;
  background: var(--bs-gray-200);
  border: 1px solid rgba(148,163,184,.25);
}
.front-cart-name { font-weight: 700; font-size: .92rem; color: var(--bs-gray-900); line-height: 1.2; }
.front-cart-meta { font-size: .8rem; color: var(--bs-gray-700); }
.front-cart-price { font-weight: 700; color: var(--bs-primary); white-space: nowrap; }
[data-bs-theme="dark"] .front-cart-name { color: #f1f5f9; }
[data-bs-theme="dark"] .front-cart-meta { color: rgba(148,163,184,.95); }
[data-bs-theme="dark"] #frontCartSubtotal { color: #60a5fa !important; }
[data-bs-theme="dark"] #frontCartEmpty {
  background-color: rgba(30,41,59,.55) !important;
  color: #cbd5e1 !important;
  border-color: rgba(71,85,105,.4) !important;
}
.offcanvas-backdrop.show { backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); background-color: rgba(15,23,42,.18); }

@media (max-width: 767px) {
  .fp-style1-categories-grid-cards { gap: .6rem .75rem; }
  .fp-style1-categories-grid-cards .fp-style1-category-card { width: 84px; }
}
@media (max-width: 991px) {
  .fp-style1-nav-row { grid-template-columns: 1fr; }
  .fp-style1-nav-center { justify-content: flex-start; }
  .fp-style1-nav-right { justify-self: start; }
  .fp-footer-style-2 .fp-footer-col,
  .fp-footer-style-2 .fp-footer-col-right,
  .fp-footer-style-2 .fp-footer-col-center { text-align: left; }
  .fp-footer-style-1 .fp-footer-newsletter { padding-left: 0; }
}

.fp-mobile-app-header,
.fp-mobile-bottom-nav {
  display: none;
}
.front-mobile-profile-drawer {
  width: 100vw !important;
  max-width: 100vw;
  border-right: 1px solid rgba(148,163,184,.28);
}
.offcanvas.offcanvas-start {
  transition: transform .42s cubic-bezier(.22,.61,.36,1) !important;
}
.front-mobile-profile-head {
  text-align: center;
  padding: 1.4rem 1rem 1rem;
}
.front-mobile-profile-avatar {
  width: 108px;
  height: 108px;
  border-radius: 999px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed rgba(244, 63, 94, .45);
  background: var(--bs-gray-100);
  color: var(--bs-primary);
  font-size: 2.4rem;
}
.front-mobile-profile-login-btn {
  border-radius: 999px;
  min-height: 48px;
  font-weight: 700;
}
.front-mobile-profile-list .list-group-item {
  border-left: 0;
  border-right: 0;
  border-radius: 0;
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: .75rem;
  font-weight: 600;
}
.front-mobile-profile-list .list-group-item i {
  font-size: 1.22rem;
  color: var(--bs-gray-600);
}

@media (max-width: 991.98px) {
  :root {
    --fp-mobile-header-height: 84px;
    --fp-mobile-bottom-height: 88px;
  }
  .fp-front-sticky-header {
    display: none !important;
  }
  body.fp-with-fixed-header main {
    margin-top: calc(var(--fp-mobile-header-height) + env(safe-area-inset-top));
    padding-bottom: calc(var(--fp-mobile-bottom-height) + env(safe-area-inset-bottom));
  }
  .fp-mobile-app-header {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 140;
    background: var(--bs-body-bg);
    border-bottom: 1px solid var(--bs-border-color);
    padding-top: calc(.5rem + env(safe-area-inset-top));
    padding-bottom: .55rem;
  }
  .fp-mobile-app-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    margin-bottom: .55rem;
  }
  .fp-mobile-app-logo {
    max-height: 34px;
    width: auto;
  }
  .fp-mobile-app-search .input-group {
    border-radius: .75rem;
    overflow: hidden;
  }
  .fp-mobile-bottom-nav {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 145;
    background: var(--bs-body-bg);
    height: 76px;
    min-height: 76px;
    max-height: 76px;
    padding: 0 1rem calc(.5rem + env(safe-area-inset-bottom));
    align-items: flex-end;
    justify-content: space-between;
    box-shadow: 0 -0.45rem 1rem rgba(15,23,42,.1);
    overflow: visible;
    border-radius: 50px;
    margin: 10px;
  }
  .fp-mobile-bottom-nav::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 1px;
    z-index: 0;
    pointer-events: none;
    background-color: transparent !important;
  }
  .fp-mobile-bottom-link {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .2rem;
    min-width: 64px;
    color: var(--bs-gray-700);
    text-decoration: none;
    font-size: .72rem;
    font-weight: 700;
    background: transparent;
    border: 0;
    padding: .2rem .25rem;
    border-radius: .7rem;
    position: relative;
    z-index: 2;
  }
  .fp-mobile-bottom-link i {
    font-size: 1.6rem;
    line-height: 1;
  }
  .fp-mobile-bottom-link.is-active {
    color: var(--bs-primary);
    background: transparent;
  }
  .fp-mobile-bottom-center {
    width: 78px;
    display: flex;
    justify-content: center;
    transform: translateY(-54px);
    position: relative;
    z-index: 3;
    top: 25px;
  }
  .fp-mobile-bottom-cart {
    width: 66px;
    height: 66px;
    border-radius: 999px;
    border: 0;
    background: var(--bs-primary);
    color: var(--bs-white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 .45rem .95rem rgba(15, 23, 42, .25);
  }
  .fp-mobile-bottom-cart-count {
    position: absolute;
    top: 4px;
    right: 4px;
    min-width: 18px;
    height: 18px;
    border-radius: 999px;
    background: var(--bs-danger);
    color: var(--bs-white);
    font-size: .63rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 .2rem;
  }
  .front-mobile-profile-drawer {
    display: block;
  }
}

@media (max-width: 575.98px) {
  .fp-mobile-bottom-nav {
    padding-left: .7rem;
    padding-right: .7rem;
  }
  .fp-mobile-bottom-link {
    min-width: 58px;
    font-size: .68rem;
  }
  .fp-mobile-bottom-center {
    width: 70px;
  }
}
