/* =========================================
   TOPBAR COMPONENT
========================================= */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 200;
  border-bottom: 1px solid var(--border-light);
}

/* Left side â€” hamburger */
.topbar-left {
  width: 64px;
  display: flex;
  align-items: center;
}

/* Center â€” brand name */
.topbar .logo {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 4px;
  text-transform: none;
  color: var(--text-color);
  flex: 1;
  text-align: center;
}

/* Right side â€” icons wrapper */
.topbar-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  width: 64px;
  /* Equal to topbar-left â€” keeps logo perfectly centered on mobile */
}

/* All topbar buttons */
.menu-btn,
.nav-search,
.nav-wishlist,
.nav-profile,
.nav-order {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--text-color);
  -webkit-appearance: none;
}

/* Bootstrap icon sizes & stroke for premium look */
.menu-btn i {
  font-size: 1.55rem;
  -webkit-text-stroke: 0.3px;
}

.nav-search i {
  font-size: 1.25rem;
  -webkit-text-stroke: 0.4px;
}

.nav-wishlist i {
  font-size: 1.25rem;
  -webkit-text-stroke: 0.4px;
}

.nav-profile i {
  font-size: 1.3rem;
  -webkit-text-stroke: 0.3px;
}

/* bi-person needs to be slightly larger but thinner to visually match the others */
.nav-order i {
  font-size: 1.25rem;
  -webkit-text-stroke: 0.4px;
}

@media (max-width: 768px) {
  .desktop-only {
    display: none !important;
  }
}

@media (max-width: 768px) {
  body {
    padding-bottom: 0;
  }
}

/* =========================================
   SIDEMENU COMPONENT
========================================= */
.sidemenu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 3000;
}

.sidemenu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.sidemenu {
  position: fixed;
  top: 0;
  left: -400px;
  width: 320px;
  max-width: 85%;
  height: 100vh;
  background: var(--bg-color);
  z-index: 3001;
  transition: all 0.4s cubic-bezier(0.77, 0, 0.175, 1), visibility 0.4s;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  visibility: hidden;
}

.sidemenu.active {
  left: 0;
  visibility: visible;
}

.sidemenu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
}

.sidemenu-logo {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 4px;
  color: var(--text-color);
}

.sidemenu-close {
  color: var(--text-color);
}

.sidemenu-nav {
  display: flex;
  flex-direction: column;
}

.sidemenu-nav li {
  border-bottom: 1px solid var(--border-light);
}

.sidemenu-nav a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: none;
  color: var(--text-color);
  letter-spacing: 0.5px;
  transition: background 0.3s ease;
}

.sidemenu-nav a:hover {
  background: #fafafa;
}

.sidemenu-nav a span.plus {
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--text-color);
}

/* Accordion sub-menu for parent collections with children */
.sidemenu-nav li.has-children {
  border-bottom: none;
}

/* Split row: name-link (left, navigates) + toggle-btn (right, expands) */
.sidemenu-nav .sidemenu-item-row {
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid var(--border-light);
}

.sidemenu-nav .sidemenu-col-link {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 16px 20px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-color);
  letter-spacing: 0.5px;
  transition: background 0.2s ease;
}
.sidemenu-nav .sidemenu-col-link:hover {
  background: #fafafa;
}

/* + button — right side, expands/collapses */
.sidemenu-nav .accordion-toggle {
  width: 48px;
  flex-shrink: 0;
  background: none;
  border: none;
  border-left: 1px solid var(--border-light);
  font-size: 1.25rem;
  font-weight: 300;
  color: #aaa;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sidemenu-nav .accordion-toggle:hover,
.sidemenu-nav .accordion-toggle.active {
  background: #f5f5f5;
  color: #333;
}

/* Sub-menu: hidden by default, shown via .open class */
.sidemenu-nav .sub-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  background: #fafafa;
  border-bottom: 1px solid var(--border-light);
  /* Collapsed by default */
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.sidemenu-nav .sub-menu.open {
  max-height: 400px; /* enough for any reasonable sub-list */
}

.sidemenu-nav .sub-item a {
  padding: 12px 20px 12px 34px;
  font-size: 0.82rem;
  font-weight: 400;
  color: #555;
  display: block;
  border-bottom: 1px solid var(--border-light);
  transition: color 0.15s, background 0.15s;
}
.sidemenu-nav .sub-item:last-child a {
  border-bottom: none;
}
.sidemenu-nav .sub-item a:hover {
  color: #000;
  background: #f0f0f0;
}

/* Hide the old .plus span on flat links (no children) */
.sidemenu-nav a span.plus {
  display: none;
}

.sidemenu-footer {
  margin-top: auto;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
}

.btn-signin,
.btn-signup {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 14px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  cursor: pointer;
  border-radius: var(--radius-sm);
  flex: 1;
}

.btn-signin {
  border: 1px solid var(--text-color);
  color: var(--text-color);
  background: transparent;
}

.btn-signin:hover {
  background: #f5f5f5;
}

.btn-signup {
  background: var(--text-color);
  color: var(--bg-color) !important;
  border: 1px solid var(--text-color);
}

.btn-signup:hover {
  background: #333;
}

/* Sidemenu Action Button (Sign In / Sign Out) */
.btn-sidemenu-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-color);
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;
}

.btn-sidemenu-action:hover {
  background: rgba(0, 0, 0, 0.02);
  border-color: var(--text-color);
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

/* =========================================
   CART DRAWER (Right Side)
========================================= */
.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cart-overlay.active {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 90vw;
  max-width: 400px;
  height: 100vh;
  background-color: var(--bg-color);
  z-index: 2000;
  transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1), visibility 0.4s;
  display: flex;
  flex-direction: column;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  visibility: hidden;
}

.cart-drawer.active {
  right: 0;
  visibility: visible;
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  border-bottom: 1px solid var(--border-light);
}

.cart-header h2 {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 1px;
}

.cart-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #333;
}

.cart-items-container {
  flex: 1;
  overflow-y: auto;
  padding: 25px;
}

.cart-item {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
  border-bottom: 1px solid #f5f5f5;
  padding-bottom: 25px;
}

.cart-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.cart-item-image {
  width: 80px;
  height: 100px;
  background: #f8f8f8;
  flex-shrink: 0;
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-details {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  flex: 1;
}

.cart-item-title {
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 5px;
  text-transform: none;
  line-height: 1.4;
}

.cart-item-price {
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 5px;
}

.cart-item-size {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 15px;
}

.cart-item-actions {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 10px;
  margin-top: auto;
}

.cart-item-size-left {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: left;
}

.quantity-selector {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-color);
  height: 32px;
  border-radius: var(--radius-sm);
}

.qty-btn {
  background: none;
  border: none;
  width: 30px;
  height: 100%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.qty-number {
  font-size: 0.85rem;
  font-weight: 500;
  min-width: 30px;
  text-align: center;
}

.cart-item-remove {
  background: #f8f8f8;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.2s ease;
}

.cart-item-remove:hover {
  background: #e0e0e0;
  color: #d32f2f;
}

.cart-footer {
  padding: 25px;
  background-color: #fcfcfc;
  border-top: 1px solid #f0f0f0;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.cart-total-row {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 20px;
}

.btn-checkout {
  width: 100%;
  background-color: var(--text-color);
  color: var(--bg-color);
  border: none;
  padding: 16px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 1px;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: background-color 0.3s ease;
}

.btn-checkout:hover {
  background-color: #333;
}

/* =========================================
   FOOTER COMPONENT
========================================= */
.footer {
  padding: 60px 5%;
  border-top: 1px solid var(--border-color);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  background: var(--bg-color);
}

.footer h3 {
  font-size: 0.9rem;
  margin-bottom: 20px;
  text-transform: none;
  letter-spacing: 1px;
  font-weight: 600;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--text-color);
}

.footer-bottom {
  text-align: center;
  padding: 20px;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: none;
}

/* =========================================
   GLOBAL PRODUCT GRID & CARDS
========================================= */
.product-grid {
  display: grid;
  /* Mobile-first: 2 columns always */
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: #fff;
}

/* Desktop: fixed 4 columns — cards stretch full width, no blank space */
@media (min-width: 769px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.product-card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  background: #fff;
  text-decoration: none;
  color: inherit;
}

.product-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  overflow: hidden;
  background-color: #e5e5e5;
}

.product-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
  z-index: 5;
}

.badge-promo {
  background: #111;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 3px 8px;
  text-transform: uppercase;
}

.badge-tag {
  background: #fff;
  color: #111;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 3px 8px;
  text-transform: uppercase;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.product-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease;
}

.product-image-wrapper .img-hover {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

.badge-soldout {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #fff;
  color: #666;
  padding: 4px 8px;
  font-size: 9px;
  font-weight: 500;
  text-transform: none;
  z-index: 2;
}

.badge-flash {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #fff;
  color: #111;
  padding: 4px 8px;
  font-size: 9px;
  font-weight: 500;
  text-transform: none;
  z-index: 2;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.add-icon,
.love-icon,
.remove-icon {
  position: absolute;
  background: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  color: #000;
  z-index: 10;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.add-icon i,
.love-icon i,
.remove-icon i {
  font-size: 0.9rem;
  line-height: 0;
  margin-top: 2px;
  /* Slight optical adjustment for perfectly centering Bootstrap Icons */
}

.add-icon:hover,
.love-icon:hover,
.remove-icon:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.add-icon {
  bottom: 10px;
  right: 10px;
}

.love-icon,
.remove-icon {
  top: 10px;
  right: 10px;
}

@media (hover: hover) {
  .product-card:hover .img-default {
    opacity: 0;
  }

  .product-card:hover .img-hover {
    opacity: 1;
  }
}

.product-card-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: 15px 12px 25px 12px;
}

.product-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: #000;
  margin-bottom: 6px;
  line-height: 1.4;
  /* Allowing multiple lines */
}

.product-price {
  font-size: 0.9rem;
  font-weight: 500;
  color: #000;
  margin-bottom: 15px;
}

.product-colors {
  font-size: 0.75rem;
  font-weight: 500;
  color: #707070;
}

/* =========================================
   MOBILE BOTTOM BAR
========================================= */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50px;
  /* Match topbar height */
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--border-light);
  z-index: 1000;
  padding: 0;
  align-items: center;
}

.bottom-bar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-color);
  text-decoration: none;
  flex: 1;
}

.bottom-bar-item i {
  font-size: 1.3rem;
  -webkit-text-stroke: 0.4px;
  /* Makes the icons slightly bolder like top bar */
}

@media (max-width: 768px) {
  .mobile-bottom-bar {
    display: flex;
    justify-content: space-around;
  }
}

.nav-order,
.nav-wishlist {
  position: relative;
}

.cart-count-badge,
.wishlist-count-badge {
  position: absolute;
  top: 0px;
  right: -4px;
  background: #000;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 600;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* =========================================
   QUICK ADD TO CART — BOTTOM SHEET
========================================= */
.qa-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 3000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.qa-overlay.active {
  opacity: 1;
  visibility: visible;
}

.qa-sheet {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-radius: 20px 20px 0 0;
  z-index: 3001;
  transform: translateY(105%);
  transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.12);
}

.qa-sheet.active {
  transform: translateY(0);
}

.qa-drag-handle {
  width: 36px;
  height: 4px;
  background: #e0e0e0;
  border-radius: 2px;
  margin: 12px auto 0;
}

.qa-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-bottom: 1px solid #f0f0f0;
}

.qa-product-img-wrap {
  flex-shrink: 0;
  width: 60px;
  height: 72px;
  border-radius: 8px;
  overflow: hidden;
  background: #f5f5f5;
}

.qa-product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.qa-product-meta {
  flex: 1;
  min-width: 0;
}

.qa-product-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #111;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.qa-product-price {
  font-size: 0.88rem;
  color: #555;
  margin-top: 4px;
}

.qa-close-btn {
  flex-shrink: 0;
  background: none;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  color: #555;
  padding: 4px;
  line-height: 1;
}

.qa-section {
  padding: 16px 20px 0;
}

.qa-section-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 10px;
}

.qa-selected-value {
  font-weight: 500;
  text-transform: none;
  color: #111;
  letter-spacing: 0;
}

.qa-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.qa-swatch {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease;
  outline: 2px solid transparent;
  outline-offset: 3px;
  flex-shrink: 0;
}

.qa-swatch.active {
  outline-color: #111;
}

.qa-swatch:hover {
  transform: scale(1.12);
}

.qa-size-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.qa-size-btn {
  min-width: 44px;
  height: 36px;
  padding: 0 12px;
  border: 1.5px solid #ddd;
  border-radius: 6px;
  background: #fff;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
  color: #222;
}

.qa-size-btn:hover:not(:disabled) {
  border-color: #111;
}

.qa-size-btn.active {
  background: #111;
  color: #fff;
  border-color: #111;
}

.qa-size-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  text-decoration: line-through;
}

.qa-qty-row {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid #ddd;
  height: 36px;
  border-radius: 6px;
  background: #fff;
}

.qa-qty-btn {
  background: transparent;
  border: none;
  width: 40px;
  height: 100%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #222;
  transition: background 0.15s ease;
}

.qa-qty-btn:hover {
  background: #f5f5f5;
}

#qa-qty-display {
  font-size: 0.9rem;
  font-weight: 600;
  min-width: 36px;
  text-align: center;
  color: #111;
}

.qa-add-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: calc(100% - 40px);
  margin: 20px 20px 20px;
  height: 48px;
  background: #111;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.qa-add-btn:hover {
  background: #333;
}

.qa-add-btn:active {
  transform: scale(0.98);
}

.qa-add-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
}

/* ═══════════════════════════════════════
   SEARCH OVERLAY
═══════════════════════════════════════ */
.search-overlay {
    position: fixed; inset: 0;
    background: #fff;
    z-index: 4000;
    transform: translateY(-100%);
    transition: transform 0.35s cubic-bezier(0.77, 0, 0.175, 1), visibility 0.35s;
    overflow-y: auto;
    display: flex; flex-direction: column;
    visibility: hidden;
}
.search-overlay.is-open {
    transform: translateY(0);
    visibility: visible;
}

.search-overlay-header {
    display: flex; align-items: center; gap: 16px;
    padding: 14px 20px;
    border-bottom: 1px solid #eee;
    position: sticky; top: 0; background: #fff; z-index: 1;
}
.search-input-wrapper { flex: 1; display: flex; align-items: center; gap: 10px; }
.search-input-icon { color: #999; font-size: 0.9rem; }
.search-input {
    flex: 1; border: none; outline: none;
    font-size: 1rem; color: #000; background: transparent;
    font-family: var(--font-primary);
}
.search-input::placeholder { color: #bbb; }
.search-close-btn {
    background: none; border: none; cursor: pointer;
    font-size: 1.1rem; color: #000; padding: 4px;
    display: flex; align-items: center;
}

/* Recent searches */
.search-recents { padding: 16px 20px; }
.search-recents-label {
    font-size: 0.75rem; font-weight: 600; letter-spacing: 0.05em;
    text-transform: uppercase; color: #999; margin-bottom: 10px;
}
.search-recent-item {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 0; cursor: pointer; color: #333; font-size: 0.88rem;
    border-bottom: 1px solid #f5f5f5;
}
.search-recent-item i { color: #bbb; font-size: 0.85rem; }
.search-recent-item:hover { color: #000; }

/* Results */
.search-results { padding: 8px 0; flex: 1; }
.search-result-item {
    display: flex; align-items: center; gap: 14px;
    padding: 12px 20px; text-decoration: none; color: #000;
    border-bottom: 1px solid #f5f5f5;
    transition: background 0.15s ease;
}
.search-result-item:hover { background: #f9f9f9; }
.search-result-item.is-focused { background: #f5f5f5; }
.search-result-img {
    width: 52px; height: 64px;
    object-fit: cover; object-position: top; flex-shrink: 0;
    background: #f0f0f0;
}
.search-result-info { display: flex; flex-direction: column; gap: 4px; }
.search-result-name { font-size: 0.88rem; font-weight: 500; }
.search-result-name mark { background: none; color: #000; font-weight: 700; }
.search-result-price { font-size: 0.8rem; color: #666; }
.search-status { padding: 24px 20px; color: #999; font-size: 0.85rem; }