* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Inter', sans-serif;
  background: #f1f3f5;
  color: #1a1a1a;
}

.site-header {
  background: #e9ecef;
  padding: 30px 0 0;
  border-bottom: 1px solid #ced4da;
}

.logo-wrap {
  text-align: center;
  padding: 10px 20px;
}

.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(48px, 10vw, 120px);
  font-weight: 600;
  letter-spacing: 4px;
  color: #1a1a1a;
}

.main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 40px;
  position: relative;
  flex-wrap: wrap;
  gap: 20px;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.main-nav a {
  text-decoration: none;
  color: #1a1a1a;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s;
}

.main-nav a:hover { color: #4a6b8a; }

.nav-icons {
  display: flex;
  gap: 20px;
  font-size: 18px;
  cursor: pointer;
  justify-content: flex-end;
  padding-right: 40px;
  align-items: center;
}

.hero {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(180deg, #e9ecef, #f1f3f5);
}

.hero h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 52px;
  font-weight: 600;
  margin-bottom: 15px;
}

.hero p { font-size: 18px; color: #666; }

/* Banner */
.banner {
  background: linear-gradient(135deg, #1a1a1a 0%, #2c3e50 50%, #1a1a1a 100%);
  padding: 50px 40px;
  position: relative;
  overflow: hidden;
}

.banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(192,192,192,0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(192,192,192,0.08) 0%, transparent 50%);
  pointer-events: none;
}

.banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.banner-card {
  flex: 1;
  text-align: center;
  padding: 20px 30px;
}

.banner-icon {
  font-size: 36px;
  margin-bottom: 14px;
  filter: grayscale(30%);
}

.banner-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.banner-card p {
  font-size: 13px;
  color: #adb5bd;
  line-height: 1.5;
}

.banner-divider {
  width: 1px;
  height: 80px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.2), transparent);
}

@media (max-width: 768px) {
  .banner-inner {
    flex-direction: column;
    gap: 10px;
  }
  .banner-divider {
    width: 60px;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.2), transparent);
  }
  .banner-card { padding: 15px 20px; }
}

.results-bar {
  max-width: 1400px;
  margin: 40px auto 20px;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
}

.results-actions {
  flex-shrink: 0;
}

.search-box {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid #ced4da;
  border-radius: 24px;
  padding: 0 16px;
  gap: 8px;
  flex: 1;
  max-width: 260px;
}

.search-icon {
  font-size: 14px;
  color: #888;
}

.search-box input {
  border: none;
  outline: none;
  font-size: 14px;
  font-family: inherit;
  padding: 10px 0;
  flex: 1;
  background: transparent;
  color: #1a1a1a;
}

.search-box input::placeholder { color: #aaa; }

.search-clear {
  background: none;
  border: none;
  font-size: 14px;
  color: #999;
  cursor: pointer;
  padding: 0;
}

.search-clear:hover { color: #1a1a1a; }

.results-count {
  font-size: 14px;
  color: #1a1a1a;
  font-weight: 500;
}

.results-actions {
  display: flex;
  gap: 12px;
}

.results-btn {
  background: #fff;
  border: 1px solid #ced4da;
  padding: 10px 20px;
  font-size: 13px;
  border-radius: 24px;
  cursor: pointer;
  font-family: inherit;
  color: #1a1a1a;
  transition: background 0.2s;
}

.results-btn:hover { background: #f1f3f5; }
.results-btn.active { background: #1a1a1a; color: #fff; border-color: #1a1a1a; }

.dropdown-wrap { position: relative; }

.dropdown {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  background: #fff;
  border: 1px solid #ced4da;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  padding: 18px;
  min-width: 260px;
  z-index: 100;
}

.dropdown.open { display: block; }

.dropdown h5 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 8px 0 6px;
  color: #666;
}
.dropdown h5:first-child { margin-top: 0; }

.dropdown select, .dropdown input[type="number"] {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid #ced4da;
  border-radius: 4px;
  font-family: inherit;
  font-size: 13px;
}

.range-row {
  display: flex;
  gap: 8px;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0 4px;
  font-size: 13px;
  cursor: pointer;
}

.dropdown-actions {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.dropdown-actions button {
  flex: 1;
  padding: 9px;
  background: #1a1a1a;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 12px;
  cursor: pointer;
  font-family: inherit;
  letter-spacing: 0.5px;
}

.dropdown-actions .btn-secondary {
  background: #fff;
  color: #1a1a1a;
  border: 1px solid #ced4da;
}

.dropdown-actions button:hover { background: #4a6b8a; color: #fff; }

.sort-opt {
  display: block;
  width: 100%;
  background: none;
  border: none;
  padding: 10px 12px;
  text-align: left;
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
  color: #1a1a1a;
  border-radius: 4px;
}

.sort-opt:hover { background: #f1f3f5; }
.sort-opt.active { background: #1a1a1a; color: #fff; font-weight: 500; }

.products {
  max-width: 1400px;
  margin: 0 auto 60px;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 4px;
  background: #dee2e6;
  border-top: 1px solid #dee2e6;
  border-left: 1px solid #dee2e6;
}

.product-card {
  background: #fff;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  padding: 16px 16px 20px;
  transition: box-shadow 0.2s;
}

.product-card:hover { box-shadow: 0 2px 12px rgba(0,0,0,0.08); }

.product-card.out-of-stock .slider { opacity: 0.5; }

.badge-sold-out {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #c0392b;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 3px;
  z-index: 4;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.sold-out-btn {
  background: #aaa !important;
  cursor: not-allowed !important;
}

.sold-out-btn:hover { background: #aaa !important; }

.fav-icon {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 20px;
  color: #1a1a1a;
  cursor: pointer;
  background: none;
  border: none;
  z-index: 2;
  transition: transform 0.2s;
}

.fav-icon:hover { transform: scale(1.15); }
.fav-icon.active { color: #c00; }

.product-image {
  width: 100%;
  height: 240px;
  object-fit: contain;
  background: #fff;
  display: block;
}

/* Slider */
.slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  background: #f8f9fa;
  border-radius: 4px;
}

.slider-track {
  display: flex;
  transition: transform 0.35s ease;
  will-change: transform;
}

.slider-track .slide {
  min-width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: #f8f9fa;
}

.slider-track .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.85);
  color: #1a1a1a;
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s;
  line-height: 1;
  padding: 0;
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}

.product-card:hover .slider-arrow { opacity: 1; }

.slider-arrow.left { left: 8px; }
.slider-arrow.right { right: 8px; }

.slider-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 3;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(0,0,0,0.2);
  transition: all 0.2s;
}

.dot.active {
  background: #1a1a1a;
  width: 18px;
  border-radius: 3px;
}

@media (max-width: 600px) {
  .slider-arrow { opacity: 0.8; width: 26px; height: 26px; font-size: 16px; }
  .slider-track .slide { aspect-ratio: 1/1; }
}

.product-info {
  padding: 20px 0 0;
  text-align: left;
}

.badge-new {
  font-size: 11px;
  color: #6b8e23;
  font-weight: 500;
  display: block;
  margin-bottom: 6px;
}

.product-info h4 {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
  color: #1a1a1a;
  line-height: 1.4;
}

.product-desc {
  font-size: 12px;
  color: #888;
  margin-bottom: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-info .price {
  font-size: 16px;
  color: #1a1a1a;
  font-weight: 600;
  margin-bottom: 14px;
}

.add-btn {
  background: #1a1a1a;
  color: #fff;
  border: none;
  padding: 10px 22px;
  font-size: 12px;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background 0.2s;
  border-radius: 2px;
}

.add-btn:hover { background: #4a6b8a; }

.cart-panel {
  position: fixed;
  top: 0;
  right: -400px;
  width: 380px;
  max-width: 90vw;
  height: 100vh;
  background: #fff;
  box-shadow: -5px 0 20px rgba(0,0,0,0.1);
  transition: right 0.3s;
  z-index: 1000;
  display: flex;
  flex-direction: column;
}

.cart-panel.open { right: 0; }

.cart-header {
  padding: 25px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-header h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
}

.cart-header button {
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
}

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

.cart-item {
  display: flex;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid #eee;
  align-items: center;
}

.cart-item img {
  width: 70px;
  height: 70px;
  object-fit: cover;
}

.cart-item-info { flex: 1; }
.cart-item-info h5 { font-size: 14px; margin-bottom: 4px; }
.cart-item-info span { font-size: 13px; color: #4a6b8a; }

.cart-qty {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
}

.qty-btn {
  background: #f8f9fa;
  border: none;
  width: 30px;
  height: 30px;
  font-size: 16px;
  cursor: pointer;
  color: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}

.qty-btn:hover { background: #e9ecef; }

.qty-val {
  width: 30px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
}

.cart-remove {
  background: none;
  border: none;
  color: #c00;
  cursor: pointer;
  font-size: 16px;
  padding: 0 4px;
  flex-shrink: 0;
}

.cart-footer {
  padding: 25px;
  border-top: 1px solid #eee;
}

.cart-subtotal, .cart-shipping {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #666;
  margin-bottom: 6px;
}

.cart-shipping.free { color: #25d366; font-weight: 500; }

.cart-total {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  display: flex;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid #eee;
}

.checkout-btn {
  width: 100%;
  background: #1a1a1a;
  color: #fff;
  border: none;
  padding: 15px;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
}

.checkout-btn:hover { background: #4a6b8a; }

.overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.4);
  z-index: 999;
}

.overlay.active { display: block; }

footer {
  text-align: center;
  padding: 40px;
  background: #e9ecef;
  color: #666;
  font-size: 14px;
  margin-top: 60px;
  position: relative;
}

footer .icon-admin {
  display: inline-block;
  margin-top: 12px;
  font-size: 16px;
  cursor: pointer;
  opacity: 0.4;
  transition: opacity 0.2s;
}

footer .icon-admin:hover {
  opacity: 1;
}

.category-bar {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 15px 20px;
  flex-wrap: wrap;
  border-top: 1px solid #dee2e6;
  background: #f1f3f5;
}

.cat-chip {
  background: #fff;
  border: 1px solid #ced4da;
  padding: 8px 18px;
  font-size: 13px;
  border-radius: 20px;
  cursor: pointer;
  color: #1a1a1a;
  transition: all 0.2s;
}

.cat-chip:hover { background: #e9ecef; }
.cat-chip.active { background: #1a1a1a; color: #fff; border-color: #1a1a1a; }

.admin-panel {
  position: fixed;
  top: 0;
  right: -450px;
  width: 430px;
  max-width: 95vw;
  height: 100vh;
  background: #fff;
  box-shadow: -5px 0 20px rgba(0,0,0,0.15);
  transition: right 0.3s;
  z-index: 1001;
  display: flex;
  flex-direction: column;
}

.admin-panel.open { right: 0; }

.admin-header {
  padding: 22px 25px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #1a1a1a;
  color: #fff;
}

.admin-header h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
}

.admin-header button {
  background: none;
  border: none;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}

.admin-login {
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.admin-login p { color: #555; font-size: 14px; }
.admin-login small { color: #999; font-size: 12px; }
.admin-login code { background: #f1f3f5; padding: 2px 6px; border-radius: 3px; }

.admin-panel input, .admin-panel select {
  padding: 11px 14px;
  border: 1px solid #ced4da;
  border-radius: 4px;
  font-size: 14px;
  font-family: inherit;
  width: 100%;
}

.admin-panel input:focus, .admin-panel select:focus {
  outline: none;
  border-color: #4a6b8a;
}

.admin-panel button {
  padding: 11px 16px;
  background: #1a1a1a;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 13px;
  cursor: pointer;
  letter-spacing: 0.5px;
  font-family: inherit;
}

.admin-panel button:hover { background: #4a6b8a; }

.admin-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 25px 80px;
}

.admin-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 20px;
  border-bottom: 2px solid #eee;
}

.tab-btn {
  background: none !important;
  color: #666 !important;
  border-radius: 0 !important;
  border-bottom: 2px solid transparent !important;
  margin-bottom: -2px;
  flex: 1;
  padding: 12px !important;
}

.tab-btn.active {
  color: #1a1a1a !important;
  border-bottom-color: #1a1a1a !important;
  font-weight: 600;
}

.tab-content h4 {
  font-size: 14px;
  margin: 18px 0 10px;
  color: #1a1a1a;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tab-content > input, .tab-content > select, .tab-content > button {
  margin-bottom: 10px;
}

.admin-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}

.admin-list-item {
  background: #f8f9fa;
  padding: 12px;
  border-radius: 4px;
  border: 1px solid #e9ecef;
}

.admin-list-item .row {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-bottom: 6px;
}

.admin-list-item .row:last-child { margin-bottom: 0; }

.admin-list-item img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 4px;
  background: #eee;
}

.admin-list-item input, .admin-list-item select {
  font-size: 12px !important;
  padding: 6px 8px !important;
}

.admin-list-item .name {
  flex: 1;
  font-size: 13px;
  font-weight: 500;
}

/* Orders */
.order-tab-bar {
  display: flex;
  gap: 0;
  margin-bottom: 14px;
  overflow-x: auto;
  border-bottom: 2px solid #eee;
  -webkit-overflow-scrolling: touch;
}

.order-tab {
  background: none !important;
  color: #888 !important;
  border: none !important;
  border-bottom: 2px solid transparent !important;
  margin-bottom: -2px;
  padding: 8px 12px !important;
  font-size: 12px !important;
  white-space: nowrap;
  cursor: pointer;
  font-family: inherit;
}

.order-tab.active {
  color: #1a1a1a !important;
  border-bottom-color: #1a1a1a !important;
  font-weight: 600;
}

.order-tab:hover { color: #1a1a1a !important; }

.order-card {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 6px;
  padding: 14px;
  margin-bottom: 8px;
}

.order-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  flex-wrap: wrap;
  gap: 6px;
}

.order-id {
  font-size: 12px;
  font-weight: 600;
  color: #4a6b8a;
  word-break: break-all;
}

.order-date {
  font-size: 11px;
  color: #999;
}

.order-status {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
}

.order-status.paid { background: #25d366; }
.order-status.pending { background: #f0ad4e; }
.order-status.preparing { background: #5bc0de; }
.order-status.shipped { background: #4a6b8a; }
.order-status.delivered { background: #2a7; }
.order-status.cancelled { background: #999; }
.order-status.failed { background: #c0392b; }

.order-buyer {
  font-size: 13px;
  margin-bottom: 6px;
  line-height: 1.6;
}

.order-address {
  font-size: 13px;
  padding: 8px 10px;
  background: #e8f5e9;
  border-radius: 4px;
  margin-bottom: 6px;
  line-height: 1.5;
  border-left: 3px solid #25d366;
}

.order-note {
  font-size: 12px;
  color: #666;
  padding: 6px 10px;
  background: #fff8e1;
  border-radius: 4px;
  margin-bottom: 6px;
  border-left: 3px solid #f0ad4e;
}

.order-items-list {
  font-size: 12px;
  color: #555;
  margin-bottom: 8px;
  padding: 8px;
  background: #fff;
  border-radius: 4px;
}

.order-item-row {
  display: flex;
  justify-content: space-between;
  padding: 3px 0;
  border-bottom: 1px solid #f1f3f5;
}

.order-item-row:last-child { border: none; }

.order-total {
  font-size: 14px;
  font-weight: 600;
  text-align: right;
  margin-bottom: 8px;
}

.order-actions {
  display: flex;
  gap: 6px;
  align-items: center;
}

.order-actions select {
  flex: 1;
  padding: 6px 8px;
  font-size: 12px;
  border: 1px solid #ced4da;
  border-radius: 4px;
  font-family: inherit;
}

.admin-field-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 4px;
}

.field-label {
  font-size: 10px;
  font-weight: 600;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.mini-btn {
  padding: 6px 10px !important;
  font-size: 11px !important;
  background: #4a6b8a !important;
}

.mini-btn.danger { background: #c0392b !important; }

/* Image Upload Area */
.img-upload-area {
  border: 1px dashed #ced4da;
  border-radius: 6px;
  padding: 14px;
  margin: 8px 0;
}

.img-upload-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #666;
  margin-bottom: 10px;
}

.img-preview-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
  min-height: 10px;
}

.img-preview-item {
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid #dee2e6;
  cursor: pointer;
}

.img-preview-item.main {
  border-color: #4a6b8a;
}

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

.img-preview-item .remove-img {
  position: absolute;
  top: 2px;
  right: 2px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.img-preview-item .main-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: #4a6b8a;
  color: #fff;
  font-size: 9px;
  text-align: center;
  padding: 2px 0;
}

.img-upload-buttons {
  display: flex;
  gap: 8px;
}

.upload-btn {
  flex: 1;
  padding: 10px;
  background: #f1f3f5;
  border: 1px solid #ced4da;
  border-radius: 4px;
  font-size: 12px;
  cursor: pointer;
  text-align: center;
  transition: background 0.2s;
  font-family: inherit;
}

.upload-btn:hover { background: #e9ecef; }

.camera-btn { background: #e8f5e9; border-color: #a5d6a7; }
.camera-btn:hover { background: #c8e6c9; }

.logout-btn {
  margin-top: 25px;
  margin-bottom: 20px;
  width: 100%;
  background: #c0392b !important;
  color: #fff !important;
  padding: 14px !important;
  font-size: 14px !important;
  border-radius: 4px;
}

/* User Icon */
.icon-user {
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  background: #1a1a1a;
  color: #fff;
  padding: 8px 16px;
  border-radius: 20px;
  transition: background 0.2s;
  white-space: nowrap;
}

.icon-user:hover { background: #4a6b8a; }

/* User Panel */
.user-panel {
  position: fixed;
  top: 0;
  right: -450px;
  width: 420px;
  max-width: 95vw;
  height: 100vh;
  background: #fff;
  box-shadow: -5px 0 20px rgba(0,0,0,0.15);
  transition: right 0.3s;
  z-index: 1001;
  display: flex;
  flex-direction: column;
}

.user-panel.open { right: 0; }

.user-panel-header {
  padding: 22px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #4a6b8a;
  color: #fff;
}

.user-panel-header h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
}

.user-panel-header button {
  background: none;
  border: none;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}

.user-form {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.user-form-inner {
  flex: 1;
  padding: 28px 25px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.user-subtitle {
  color: #555;
  font-size: 14px;
  margin-bottom: 6px;
}

.user-form label {
  font-size: 13px;
  font-weight: 500;
  color: #333;
  margin-top: 4px;
}

.user-form input,
.user-form textarea {
  padding: 11px 14px;
  border: 1px solid #ced4da;
  border-radius: 4px;
  font-size: 14px;
  font-family: inherit;
  width: 100%;
}

.user-form textarea { resize: vertical; }

.user-form input:focus,
.user-form textarea:focus {
  outline: none;
  border-color: #4a6b8a;
}

.user-form input:disabled {
  background: #f1f3f5;
  color: #888;
}

.form-section-title {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #4a6b8a;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #eee;
}

.user-btn-primary {
  padding: 13px 16px;
  background: #1a1a1a;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
  letter-spacing: 0.5px;
  margin-top: 8px;
  transition: background 0.2s;
}

.user-btn-primary:hover { background: #4a6b8a; }

.user-btn-danger {
  padding: 13px 16px;
  background: #c0392b;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
  margin-top: 6px;
  transition: background 0.2s;
}

.user-btn-danger:hover { background: #a93226; }

.user-btn-link {
  background: none;
  border: none;
  color: #4a6b8a;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  text-decoration: underline;
  padding: 0;
}

.user-btn-link:hover { color: #1a1a1a; }

.user-form-footer {
  padding: 20px 25px;
  border-top: 1px solid #eee;
  text-align: center;
  background: #f8f9fa;
}

.user-form-footer p {
  font-size: 13px;
  color: #888;
  margin-bottom: 6px;
}

/* Profile Card */
.profile-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  background: #f8f9fa;
  border-radius: 8px;
  margin-bottom: 6px;
}

.profile-avatar-circle {
  font-size: 36px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e9ecef;
  border-radius: 50%;
}

.profile-card strong {
  display: block;
  font-size: 16px;
  margin-bottom: 2px;
}

.profile-card small {
  color: #888;
  font-size: 13px;
}

/* Checkout Panel */
.checkout-panel {
  position: fixed;
  top: 0;
  right: -450px;
  width: 420px;
  max-width: 95vw;
  height: 100vh;
  background: #fff;
  box-shadow: -5px 0 20px rgba(0,0,0,0.15);
  transition: right 0.3s;
  z-index: 1002;
  display: flex;
  flex-direction: column;
}

.checkout-panel.open { right: 0; }

.checkout-header {
  padding: 22px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #1a1a1a;
  color: #fff;
}

.checkout-header h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
}

.checkout-header button {
  background: none;
  border: none;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}

.checkout-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 25px 80px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.checkout-body label {
  font-size: 13px;
  font-weight: 500;
  color: #333;
  margin-top: 4px;
}

.checkout-body input,
.checkout-body textarea {
  padding: 11px 14px;
  border: 1px solid #ced4da;
  border-radius: 4px;
  font-size: 14px;
  font-family: inherit;
  width: 100%;
  box-sizing: border-box;
}

.checkout-body textarea {
  resize: vertical;
  min-height: 60px;
  line-height: 1.5;
}

/* Autocomplete dropdown */
.autocomplete-wrap {
  position: relative;
}

.autocomplete-list {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #ced4da;
  border-top: none;
  border-radius: 0 0 6px 6px;
  max-height: 180px;
  overflow-y: auto;
  z-index: 50;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.autocomplete-list div {
  padding: 10px 14px;
  font-size: 14px;
  cursor: pointer;
  border-bottom: 1px solid #f1f3f5;
}

.autocomplete-list div:hover,
.autocomplete-list div.highlighted {
  background: #f1f3f5;
}

.autocomplete-list div:last-child { border-bottom: none; }

.checkout-body input:focus,
.checkout-body textarea:focus {
  outline: none;
  border-color: #4a6b8a;
}

.checkout-summary {
  background: #f8f9fa;
  border-radius: 6px;
  padding: 14px;
  margin-bottom: 8px;
}

.checkout-summary .co-item {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 4px 0;
  border-bottom: 1px solid #eee;
}

.checkout-summary .co-item:last-child { border: none; }

.checkout-total {
  font-size: 18px;
  text-align: right;
  padding: 16px 0 8px;
  border-top: 1px solid #eee;
  margin-top: 8px;
}

/* Payment Options */
.payment-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 8px;
}

.payment-option {
  display: block;
  cursor: pointer;
  border: 2px solid #dee2e6;
  border-radius: 8px;
  padding: 14px;
  transition: border-color 0.2s;
}

.payment-option input { display: none; }

.payment-option.selected {
  border-color: #1a1a1a;
  background: #f8f9fa;
}

.payment-option-inner {
  display: flex;
  align-items: center;
  gap: 12px;
}

.payment-icon { font-size: 24px; }

.payment-option-inner strong {
  display: block;
  font-size: 14px;
  margin-bottom: 2px;
}

.payment-option-inner small {
  color: #888;
  font-size: 12px;
}

/* Card Form */
.card-form {
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 8px;
  background: #f8f9fa;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card-form label {
  font-size: 12px;
  font-weight: 500;
  color: #555;
  margin-top: 2px;
}

.card-form input,
.card-form select {
  padding: 11px 14px;
  border: 1px solid #ced4da;
  border-radius: 4px;
  font-size: 14px;
  font-family: inherit;
  width: 100%;
  background: #fff;
}

.card-form input:focus,
.card-form select:focus {
  outline: none;
  border-color: #4a6b8a;
}

.card-row {
  display: flex;
  gap: 10px;
}

.card-field { flex: 1; display: flex; flex-direction: column; gap: 4px; }

.card-expiry {
  display: flex;
  gap: 6px;
}

.card-expiry select { flex: 1; }

.checkout-confirm-btn {
  width: 100%;
  padding: 15px;
  background: #25d366;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  letter-spacing: 0.5px;
  transition: background 0.2s;
}

.checkout-confirm-btn:hover { background: #1da851; }

/* EFT Info */
.eft-info {
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 8px;
  background: #f8f9fa;
}

.eft-bank {
  font-size: 15px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #dee2e6;
}

.eft-detail {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
}

.eft-detail div {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.iban-copy {
  background: #1a1a1a;
  color: #fff;
  border: none;
  padding: 4px 10px;
  border-radius: 3px;
  font-size: 11px;
  cursor: pointer;
  font-family: inherit;
}

.iban-copy:hover { background: #4a6b8a; }

.eft-note {
  margin-top: 12px;
  font-size: 12px;
  color: #888;
  line-height: 1.5;
}

.checkout-confirm-btn.eft-mode { background: #2c3e50; }
.checkout-confirm-btn.eft-mode:hover { background: #34495e; }

.checkout-confirm-btn.card-mode { background: #1a1a1a; }
.checkout-confirm-btn.card-mode:hover { background: #4a6b8a; }

/* WhatsApp Button */
.whatsapp-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(37,211,102,0.4);
  z-index: 998;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37,211,102,0.5);
}

@media (max-width: 600px) {
  .nav-icons { position: static; justify-content: center; padding-right: 0; }
  .results-bar { padding: 0 12px; gap: 8px; }
  .search-box { max-width: none; min-width: 0; padding: 0 10px; }
  .search-box input { font-size: 13px; padding: 8px 0; }
  .results-btn { padding: 8px 12px; font-size: 12px; white-space: nowrap; }
  .results-actions { gap: 6px; }
}
