/* ============================================================
   PROFFERS CATALOG — 2025
   Bricolage Grotesque + Instrument Serif
   Warm off-white × Near-black × Brand amber #FF9A16
   All classes scoped under .pf-body — zero bleed into admin
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,300;12..96,400;12..96,500;12..96,600;12..96,700;12..96,800&family=Instrument+Serif:ital@0;1&display=swap');

/* ---- Kill Bootstrap 3 blue leaks inside pf-body ---- */
.pf-body a { color: var(--pf-text); }
.pf-body a:hover { color: var(--pf-accent-dark); }
.pf-body .form-control:focus { border-color: var(--pf-accent) !important; box-shadow: 0 0 0 3px rgba(255,154,22,.15) !important; outline: none !important; }
.pf-body .btn-primary { background: var(--pf-nav) !important; border-color: var(--pf-nav) !important; }
.pf-body .btn-primary:hover { background: #222 !important; border-color: #222 !important; }

/* ---- Tokens ---- */
.pf-body {
  --pf-bg:           #F5F4F0;
  --pf-surface:      #FFFFFF;
  --pf-nav:          #0E0E0E;
  --pf-accent:       #FF9A16;
  --pf-accent-dark:  #E8870A;
  --pf-text:         #0E0E0E;
  --pf-text-2:       #6B6875;
  --pf-border:       #E5E2DB;
  --pf-img-bg:       #F8F7F3;
  --pf-success:      #22C55E;
  --pf-radius:       14px;
  --pf-radius-sm:    8px;
  --pf-shadow:       0 2px 8px rgba(14,14,14,.06), 0 1px 2px rgba(14,14,14,.04);
  --pf-shadow-hover: 0 12px 40px rgba(14,14,14,.13), 0 4px 12px rgba(14,14,14,.07);
  --pf-nav-h:        60px;
  --pf-font:         'Bricolage Grotesque', sans-serif;
  --pf-font-serif:   'Instrument Serif', Georgia, serif;
  --pf-ease:         cubic-bezier(.22,.68,0,1.2);
  --pf-ease-out:     cubic-bezier(.16,1,.3,1);

  font-family: var(--pf-font);
  font-size: 15px;
  line-height: 1.55;
  color: var(--pf-text);
  background: var(--pf-bg);
  -webkit-font-smoothing: antialiased;
}

/* ---- Page-load card stagger ---- */
@keyframes pf-rise {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes pf-pop {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.06); }
  100% { transform: scale(1); }
}

/* ============================================================
   NAV
   ============================================================ */
.pf-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--pf-nav-h);
  background: var(--pf-nav);
  display: flex;
  align-items: center;
  transition: box-shadow .3s ease, backdrop-filter .3s ease;
}

.pf-nav.pf-nav--scrolled {
  box-shadow: 0 1px 0 rgba(255,255,255,.06), 0 4px 24px rgba(0,0,0,.28);
}

.pf-nav__inner {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.pf-nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  opacity: 1;
  transition: opacity .2s ease;
}
.pf-nav__logo:hover { opacity: .7; }
.pf-nav__logo img {
  height: 34px;
  width: auto;
  display: block;
  object-fit: contain;
}

.pf-nav__cart {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 22px;
  background: var(--pf-accent);
  color: #0E0E0E;
  font-family: var(--pf-font);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -.01em;
  border-radius: 100px;
  text-decoration: none;
  transition: background .2s ease, transform .2s var(--pf-ease), box-shadow .2s ease;
  flex-shrink: 0;
}
.pf-nav__cart:hover {
  background: var(--pf-accent-dark);
  color: #0E0E0E;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255,154,22,.38);
}
.pf-nav__cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 5px;
  border-radius: 100px;
  background: #0E0E0E;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

/* ============================================================
   PAGE SHELL
   ============================================================ */
.pf-page { min-height: calc(100vh - var(--pf-nav-h)); }

.pf-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 36px 28px 64px;
}

/* ---- Flash messages ---- */
.pf-flashes { margin-bottom: 24px; }
.pf-flashes .alert {
  font-family: var(--pf-font);
  font-size: 14px;
  border: none;
  border-radius: var(--pf-radius-sm);
  padding: 14px 20px;
  margin-bottom: 10px;
}
.pf-flashes .alert-success { background: #ECFDF5; color: #166534; }
.pf-flashes .alert-danger  { background: #FEF2F2; color: #991B1B; }
.pf-flashes .alert-info    { background: #EFF6FF; color: #1D4ED8; }
.pf-flashes .alert-warning { background: #FFFBEB; color: #92400E; }

/* ============================================================
   SECTION HEADER
   ============================================================ */
.pf-section-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
}

.pf-section-title {
  font-family: var(--pf-font);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--pf-text);
  margin: 0;
  line-height: 1.1;
}

/* ---- Mobile filter toggle ---- */
.pf-filter-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1.5px solid var(--pf-border);
  border-radius: 100px;
  background: var(--pf-surface);
  font-family: var(--pf-font);
  font-size: 14px;
  font-weight: 600;
  color: var(--pf-text);
  cursor: pointer;
  transition: all .2s ease;
  white-space: nowrap;
}
.pf-filter-toggle:hover {
  border-color: var(--pf-text);
  background: var(--pf-text);
  color: #fff;
}

/* ---- View toggle ---- */
.pf-view-toggle {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}
.pf-view-toggle a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 100px;
  border: 1.5px solid var(--pf-border);
  background: var(--pf-surface);
  color: var(--pf-text-2);
  font-family: var(--pf-font);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all .2s ease;
}
.pf-view-toggle a:hover { border-color: var(--pf-text); color: var(--pf-text); text-decoration: none; }
.pf-view-toggle a.pf-active {
  background: var(--pf-text);
  border-color: var(--pf-text);
  color: #fff;
}

/* ============================================================
   LAYOUT: SIDEBAR + MAIN
   ============================================================ */
.pf-layout {
  display: grid;
  grid-template-columns: 228px 1fr;
  gap: 28px;
  align-items: start;
}

/* ---- Main content area ---- */
.pf-main { min-width: 0; }

/* ---- Sidebar overlay (mobile) ---- */
.pf-sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(14,14,14,.45);
  z-index: 190;
  opacity: 0;
  transition: opacity .25s ease;
}
.pf-sidebar-overlay.pf-visible { opacity: 1; }

/* ---- Sidebar ---- */
.pf-sidebar {
  position: sticky;
  top: calc(var(--pf-nav-h) + 16px);
}

.pf-sidebar-panel {
  background: var(--pf-surface);
  border: 1px solid var(--pf-border);
  border-radius: var(--pf-radius);
  overflow: hidden;
  box-shadow: var(--pf-shadow);
}

.pf-sidebar-panel__title {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 20px 14px;
  font-family: var(--pf-font);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--pf-text-2);
  border-bottom: 1px solid var(--pf-border);
}

.pf-sidebar-panel__title::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pf-accent);
  flex-shrink: 0;
}

/* Override Nette TreeFront component output inside sidebar */
.pf-sidebar-nav .panel,
.pf-sidebar-nav .panel-default { background: transparent; border: none; border-radius: 0; box-shadow: none; margin: 0; }
.pf-sidebar-nav .panel-heading { display: none; }
.pf-sidebar-nav .panel-body { padding: 8px 0; }
.pf-sidebar-nav ul { list-style: none; margin: 0; padding: 0; }
.pf-sidebar-nav li { margin: 0; }

.pf-sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 20px;
  font-family: var(--pf-font);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--pf-text);
  text-decoration: none;
  border-left: 2.5px solid transparent;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
  line-height: 1.3;
}

.pf-sidebar-nav a::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--pf-border);
  flex-shrink: 0;
  transition: background .15s ease, transform .15s ease;
}

.pf-sidebar-nav a:hover {
  background: var(--pf-bg);
  color: var(--pf-accent-dark);
  border-left-color: var(--pf-accent);
  text-decoration: none;
}
.pf-sidebar-nav a:hover::before { background: var(--pf-accent); transform: scale(1.4); }

.pf-sidebar-nav a.active,
.pf-sidebar-nav a.selected {
  background: #FFF8EE;
  color: var(--pf-accent-dark);
  font-weight: 600;
  border-left-color: var(--pf-accent);
}
.pf-sidebar-nav a.active::before,
.pf-sidebar-nav a.selected::before { background: var(--pf-accent); }

/* Nested tree levels */
.pf-sidebar-nav ul ul a { padding-left: 32px; font-size: 13px; color: var(--pf-text-2); }
.pf-sidebar-nav ul ul a:hover { color: var(--pf-accent-dark); }

/* ============================================================
   PRODUCT GRID
   ============================================================ */
.pf-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 18px;
}

/* ============================================================
   PRODUCT CARD
   ============================================================ */
.pf-card {
  background: var(--pf-surface);
  border: 1px solid var(--pf-border);
  border-radius: var(--pf-radius);
  box-shadow: var(--pf-shadow);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  cursor: default;
  transition:
    transform .3s var(--pf-ease-out),
    box-shadow .3s var(--pf-ease-out),
    border-color .3s ease;
  /* Staggered load animation */
  animation: pf-rise .45s var(--pf-ease-out) both;
}

.pf-card:nth-child(1)  { animation-delay: .03s; }
.pf-card:nth-child(2)  { animation-delay: .07s; }
.pf-card:nth-child(3)  { animation-delay: .11s; }
.pf-card:nth-child(4)  { animation-delay: .15s; }
.pf-card:nth-child(5)  { animation-delay: .19s; }
.pf-card:nth-child(6)  { animation-delay: .23s; }
.pf-card:nth-child(7)  { animation-delay: .27s; }
.pf-card:nth-child(8)  { animation-delay: .31s; }
.pf-card:nth-child(9)  { animation-delay: .35s; }
.pf-card:nth-child(10) { animation-delay: .39s; }
.pf-card:nth-child(11) { animation-delay: .43s; }
.pf-card:nth-child(12) { animation-delay: .47s; }

.pf-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--pf-shadow-hover);
  border-color: rgba(255,154,22,.22);
}

/* Image container */
.pf-card__image {
  background: var(--pf-img-bg);
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow: hidden;
  border-bottom: 1px solid var(--pf-border);
  position: relative;
}

.pf-card__image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform .5s var(--pf-ease-out);
  display: block;
  max-width: 100%;
  max-height: 160px;
  width: auto !important;
  height: auto !important;
}

.pf-card:hover .pf-card__image img {
  transform: scale(1.07);
}

/* Card body */
.pf-card__body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pf-card__name {
  font-family: var(--pf-font);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -.015em;
  color: var(--pf-text);
  line-height: 1.4;
  margin: 0 0 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 40px;
}

.pf-card__price {
  font-family: var(--pf-font);
  font-size: 13px;
  color: var(--pf-text-2);
  margin: 0 0 4px;
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.pf-card__price strong {
  font-size: 17px;
  font-weight: 700;
  color: var(--pf-text);
  letter-spacing: -.02em;
}

.pf-card__points {
  font-size: 12px;
  color: var(--pf-text-2);
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.pf-card__points::before {
  content: '◆';
  font-size: 8px;
  color: var(--pf-accent);
}

.pf-card__actions {
  margin-top: auto;
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ============================================================
   BUTTONS
   ============================================================ */

/* Mark button */
.pf-btn-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 11px 18px;
  background: var(--pf-accent);
  color: #0E0E0E;
  border: 2px solid var(--pf-accent);
  border-radius: var(--pf-radius-sm);
  font-family: var(--pf-font);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: -.01em;
  cursor: pointer;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease, transform .2s var(--pf-ease), box-shadow .2s ease;
}
.pf-btn-mark:hover,
.pf-btn-mark:focus {
  background: var(--pf-accent-dark);
  border-color: var(--pf-accent-dark);
  color: #0E0E0E;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(255,154,22,.35);
}
.pf-btn-mark.pf-marked {
  background: var(--pf-success);
  border-color: var(--pf-success);
  color: #fff;
  cursor: default;
}
.pf-btn-mark.pf-marked:hover {
  background: var(--pf-success);
  border-color: var(--pf-success);
  transform: none;
  box-shadow: none;
}

/* Detail button */
.pf-btn-detail {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px 18px;
  background: transparent;
  color: var(--pf-text);
  border: 1.5px solid var(--pf-border);
  border-radius: var(--pf-radius-sm);
  font-family: var(--pf-font);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: all .2s ease;
}
.pf-btn-detail:hover,
.pf-btn-detail:focus {
  background: var(--pf-nav);
  border-color: var(--pf-nav);
  color: #fff;
  text-decoration: none;
}

/* Back button */
.pf-btn-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  background: var(--pf-surface);
  border: 1.5px solid var(--pf-border);
  border-radius: 100px;
  color: var(--pf-text);
  font-family: var(--pf-font);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all .2s ease;
  margin-bottom: 28px;
}
.pf-btn-back:hover {
  background: var(--pf-nav);
  border-color: var(--pf-nav);
  color: #fff;
  text-decoration: none;
}

/* ============================================================
   PAGINATION
   ============================================================ */
.pf-pagination {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}
.pf-pagination .pagination {
  display: flex;
  gap: 5px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.pf-pagination .pagination > li > a,
.pf-pagination .pagination > li > span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border-radius: var(--pf-radius-sm);
  border: 1.5px solid var(--pf-border);
  background: var(--pf-surface);
  color: var(--pf-text);
  font-family: var(--pf-font);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all .18s ease;
}
.pf-pagination .pagination > li > a:hover { background: var(--pf-nav); border-color: var(--pf-nav); color: #fff; text-decoration: none; }
.pf-pagination .pagination > li.active > a,
.pf-pagination .pagination > li.active > span {
  background: var(--pf-accent);
  border-color: var(--pf-accent);
  color: #0E0E0E;
  font-weight: 700;
}

/* ============================================================
   PRODUCT DETAIL
   ============================================================ */
.pf-detail {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 48px;
  align-items: start;
  background: var(--pf-surface);
  border: 1px solid var(--pf-border);
  border-radius: var(--pf-radius);
  box-shadow: var(--pf-shadow);
  padding: 44px;
  animation: pf-rise .4s var(--pf-ease-out) both;
}

.pf-detail__image-box {
  background: var(--pf-img-bg);
  border: 1px solid var(--pf-border);
  border-radius: 12px;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  overflow: hidden;
}
.pf-detail__image-box img {
  max-width: 100%;
  max-height: 280px;
  object-fit: contain;
  mix-blend-mode: multiply;
  display: block;
}

.pf-detail__name {
  font-family: var(--pf-font-serif);
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 400;
  font-style: italic;
  color: var(--pf-text);
  margin: 0 0 10px;
  line-height: 1.2;
}

.pf-detail__name-plain {
  font-family: var(--pf-font);
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 700;
  letter-spacing: -.03em;
  color: var(--pf-text);
  margin: 0 0 10px;
  line-height: 1.2;
}

.pf-detail__description {
  background: var(--pf-bg);
  border-radius: var(--pf-radius-sm);
  padding: 18px 22px;
  margin: 20px 0 28px;
  font-size: 14px;
  color: var(--pf-text);
  line-height: 1.75;
  border-left: 3px solid var(--pf-accent);
}

.pf-detail__specs {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
}
.pf-detail__specs li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--pf-border);
  font-size: 14px;
}
.pf-detail__specs li:first-child { border-top: 1px solid var(--pf-border); }
.pf-detail__spec-label { color: var(--pf-text-2); font-weight: 500; flex-shrink: 0; }
.pf-detail__spec-value { color: var(--pf-text); font-weight: 700; text-align: right; letter-spacing: -.01em; }

/* ============================================================
   CART PAGE
   ============================================================ */
.pf-cart-header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 28px;
}
.pf-cart-title {
  font-family: var(--pf-font);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--pf-text);
  margin: 0;
}

.pf-cart-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 18px 22px;
  background: var(--pf-surface);
  border: 1px solid var(--pf-border);
  border-radius: var(--pf-radius);
  box-shadow: var(--pf-shadow);
  margin-bottom: 24px;
  align-items: center;
}
.pf-cart-actions::before {
  content: 'Export:';
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--pf-text-2);
  margin-right: 4px;
}

.pf-btn-export {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border: 1.5px solid var(--pf-border);
  border-radius: 100px;
  background: var(--pf-bg);
  color: var(--pf-text);
  font-family: var(--pf-font);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all .18s ease;
}
.pf-btn-export:hover { background: var(--pf-nav); border-color: var(--pf-nav); color: #fff; text-decoration: none; }

.pf-cart-grid {
  background: var(--pf-surface);
  border: 1px solid var(--pf-border);
  border-radius: var(--pf-radius);
  box-shadow: var(--pf-shadow);
  overflow: hidden;
}

/* ============================================================
   GRID VIEW (Grido table)
   ============================================================ */
.pf-grid-wrap {
  background: var(--pf-surface);
  border: 1px solid var(--pf-border);
  border-radius: var(--pf-radius);
  box-shadow: var(--pf-shadow);
  overflow: hidden;
  animation: pf-rise .35s var(--pf-ease-out) both;
}

/* ============================================================
   LOGIN PAGE
   ============================================================ */
.pf-login-page {
  min-height: calc(100vh - var(--pf-nav-h));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 20px;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(255,154,22,.10) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(255,154,22,.07) 0%, transparent 50%),
    var(--pf-bg);
}

.pf-login-card {
  background: var(--pf-surface);
  border: 1px solid var(--pf-border);
  border-radius: 20px;
  padding: 52px 48px;
  width: 100%;
  max-width: 430px;
  box-shadow: 0 24px 80px rgba(14,14,14,.12), 0 4px 16px rgba(14,14,14,.06);
  animation: pf-rise .5s var(--pf-ease-out) both;
}

.pf-login-card__logo {
  text-align: center;
  margin-bottom: 36px;
}
.pf-login-card__logo img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.pf-login-card__heading {
  font-family: var(--pf-font);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--pf-text);
  text-align: center;
  margin: 0 0 32px;
}

.pf-login-card .form-group { margin-bottom: 14px; }

.pf-login-card .form-control,
.pf-login-card input[type="text"],
.pf-login-card input[type="email"],
.pf-login-card input[type="password"] {
  width: 100%;
  height: 50px;
  padding: 0 18px;
  background: var(--pf-bg);
  border: 1.5px solid var(--pf-border);
  border-radius: var(--pf-radius-sm);
  font-family: var(--pf-font);
  font-size: 15px;
  color: var(--pf-text);
  display: block;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
  box-shadow: none;
  outline: none;
  -webkit-appearance: none;
}
.pf-login-card .form-control:focus,
.pf-login-card input[type="text"]:focus,
.pf-login-card input[type="email"]:focus,
.pf-login-card input[type="password"]:focus {
  border-color: var(--pf-accent);
  background: #FFFFFF;
  box-shadow: 0 0 0 4px rgba(255,154,22,.13);
  outline: none;
}

.pf-login-card__submit {
  display: block;
  width: 100%;
  height: 52px;
  margin-top: 10px;
  background: var(--pf-nav);
  color: #fff;
  border: none;
  border-radius: var(--pf-radius-sm);
  font-family: var(--pf-font);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.01em;
  cursor: pointer;
  transition: background .2s ease, transform .2s var(--pf-ease), box-shadow .2s ease;
}
.pf-login-card__submit:hover {
  background: #1a1a1a;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(14,14,14,.22);
}
.pf-login-card__submit:active { transform: translateY(0); }

/* ============================================================
   FOOTER
   ============================================================ */
.pf-footer {
  background: var(--pf-nav);
  padding: 24px 28px;
  font-family: var(--pf-font);
  font-size: 13px;
  color: rgba(255,255,255,.4);
  text-align: center;
}
.pf-footer a { color: rgba(255,255,255,.6); text-decoration: none; font-weight: 600; transition: color .2s ease; }
.pf-footer a:hover { color: var(--pf-accent); }
.pf-footer p { margin: 0; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .pf-layout { grid-template-columns: 200px 1fr; }
}

@media (max-width: 860px) {
  .pf-filter-toggle { display: inline-flex; }

  .pf-layout {
    grid-template-columns: 1fr;
  }

  /* Sidebar becomes fixed drawer */
  .pf-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 280px;
    z-index: 195;
    background: var(--pf-surface);
    border-right: 1px solid var(--pf-border);
    box-shadow: 4px 0 32px rgba(14,14,14,.15);
    transform: translateX(-100%);
    transition: transform .3s var(--pf-ease-out);
    overflow-y: auto;
    padding-top: 20px;
    overscroll-behavior: contain;
  }

  .pf-sidebar.pf-sidebar--open {
    transform: translateX(0);
  }

  .pf-sidebar-overlay { display: block; }

  .pf-sidebar-panel {
    border: none;
    border-radius: 0;
    box-shadow: none;
  }

  .pf-section-header {
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
  }

  .pf-section-title { font-size: 20px; }

  .pf-container { padding: 24px 16px 48px; }

  .pf-nav__inner { padding: 0 16px; }

  .pf-detail {
    grid-template-columns: 1fr;
    padding: 24px;
    gap: 24px;
  }

  .pf-products-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
  }

  .pf-login-card { padding: 36px 28px; }
}

@media (max-width: 520px) {
  .pf-products-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .pf-card__image { height: 160px; }
  .pf-nav__cart-label { display: none; }
}

@media (max-width: 380px) {
  .pf-products-grid { grid-template-columns: 1fr; }
}
