/* store-sheet.css */

.store-bottom-sheet {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: var(--z-bottom-sheet, 1100);
  background: var(--store-sheet-bg);
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
  transform: translateY(100%);
  transition: var(--store-sheet-transition);
  max-height: var(--store-sheet-max-expanded, 85vh);
  touch-action: pan-y;
  will-change: transform;
}

.store-bottom-sheet.visible {
  transform: translateY(0);
}

/* Drag handle */
.store-sheet-handle {
  display: flex;
  justify-content: center;
  padding: 12px 0 8px;
  cursor: grab;
  touch-action: pan-y;
}
.store-sheet-handle:active {
  cursor: grabbing;
}
.handle-bar {
  width: 45px;
  height: 5px;
  background: var(--store-sheet-handle);
  border-radius: 4px;
  opacity: 0.8;
}

/* Content area */
.store-sheet-body {
  padding: 0 20px calc(20px + var(--safe-b, 0px));
  overflow-y: auto;
  max-height: calc(var(--store-sheet-max-expanded, 85vh) - 40px);
  direction: rtl;
}

.store-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}
.store-logo {
  width: 50px;
  height: 50px;
  background: #eef2ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
  color: var(--c-accent);
  flex-shrink: 0;
}
.store-name {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0;
  color: var(--c-text);
}

/* Description with line clamp */
.store-description {
  color: #4b5563;
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 12px 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Action buttons */
.store-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 20px 0 15px;
}
.action-btn {
  background: #f3f4f6;
  border: none;
  border-radius: 40px;
  padding: 8px 14px;
  font-size: 0.85rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: background 0.2s;
  font-family: inherit;
}
.action-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}
.action-btn.whatsapp { background: #25d36620; color: #075e54; }
.action-btn.facebook { background: #1877f220; color: #1877f2; }
.action-btn.phone { background: #34b7f120; color: #34b7f1; }
.action-btn.share {
  background: var(--c-accent, #3498db);
  color: white;
  width: auto;
  margin-top: 0;
}
.action-btn:active { transform: scale(0.96); }

/* Responsive small screens */
@media (max-width: 480px) {
  .store-actions { gap: 8px; }
  .action-btn { padding: 6px 10px; font-size: 0.75rem; }
  .store-name { font-size: 1.1rem; }
}