:root {
  --primary: #1a6b4a;
  --primary-dark: #0f4d33;
  --primary-light: #e6f2ed;
  --neon: #9b30ff;
  --neon-glow: #b060ff;
  --accent: #ff6b35;
  --bg: #f5f7fa;
  --card: #ffffff;
  --text: #1a1a2e;
  --text-secondary: #6b7280;
  --border: #e5e7eb;
  --success: #10b981;
  --danger: #ef4444;
  --warning: #f59e0b;
  --shadow: 0 2px 12px rgba(0,0,0,0.06);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.1);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { font-size: 16px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

#app { max-width: 480px; margin: 0 auto; padding-bottom: 100px; position: relative; }

/* Header */
.header {
  background: var(--card);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px; max-width: 480px; margin: 0 auto;
}
.header__logo { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.header__logo-icon { display: none; }
.header__logo { cursor: pointer; user-select: none; }
.header__logo-text { font-size: 18px; font-weight: 800; color: var(--text); letter-spacing: -0.3px; }
.header__logo-neon {
  color: var(--neon);
  text-shadow: 0 0 10px rgba(155,48,255,0.4), 0 0 20px rgba(155,48,255,0.2);
}
.header__logo-green { color: var(--primary-dark); }
.header__cart-btn {
  background: none; border: none; position: relative; cursor: pointer;
  color: var(--text-secondary); padding: 8px; border-radius: 10px;
  transition: background var(--transition);
}
.header__cart-btn:hover { background: var(--primary-light); color: var(--primary); }
.header-tagline {
  text-align: center; padding: 8px 20px 6px; font-size: 11px; font-weight: 500;
  color: var(--text-secondary); letter-spacing: 0.2px; line-height: 1.4;
  background: linear-gradient(90deg, rgba(155,48,255,0.04), rgba(15,77,51,0.04));
  border-bottom: 1px solid var(--border); max-width: 480px; margin: 0 auto;
}
.header__cart-badge {
  position: absolute; top: 0; right: 0;
  background: var(--accent); color: #fff;
  font-size: 10px; font-weight: 700; min-width: 18px; height: 18px;
  border-radius: 9px; display: flex; align-items: center; justify-content: center;
  transform: translate(4px, -4px);
}

/* Steps progress */
.steps {
  padding: 16px 20px 12px; background: var(--card);
  border-bottom: 1px solid var(--border);
}
.steps__bar {
  height: 3px; background: #e5e7eb; border-radius: 2px; margin-bottom: 10px; overflow: hidden;
}
.steps__progress {
  height: 100%; background: linear-gradient(90deg, var(--primary), #14b8a6);
  border-radius: 2px; transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.steps__labels {
  display: flex; justify-content: space-between; overflow-x: auto; gap: 4px;
  -webkit-overflow-scrolling: touch;
}
.steps__labels::-webkit-scrollbar { display: none; }
.steps__label {
  font-size: 10px; font-weight: 500; color: var(--text-secondary);
  white-space: nowrap; padding: 2px 6px; border-radius: 6px;
  transition: all var(--transition); flex-shrink: 0;
}
.steps__label.is-active { color: var(--primary); background: var(--primary-light); font-weight: 600; }
.steps__label.is-done { color: var(--primary); }

/* Main */
.main { padding: 0; }

/* Steps */
.step { display: none; padding: 20px; animation: fadeUp 0.4s ease; }
.step.is-active { display: block; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

.step__title { font-size: 22px; font-weight: 700; margin-bottom: 6px; }
.step__desc { font-size: 14px; color: var(--text-secondary); margin-bottom: 20px; }

/* Search hero */
.search-hero { text-align: center; padding: 12px 0 20px; }
.search-hero__title { font-size: 24px; font-weight: 800; margin-bottom: 4px; }
.search-hero__subtitle { font-size: 14px; color: var(--text-secondary); margin-bottom: 20px; }

/* Search box */
.search-box {
  display: flex; align-items: center;
  background: var(--card); border: 2px solid var(--border);
  border-radius: 14px; padding: 0 16px;
  transition: all var(--transition); box-shadow: var(--shadow);
}
.search-box:focus-within { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(13,124,102,0.1); }
.search-box__icon { color: var(--text-secondary); flex-shrink: 0; }
.search-box__input {
  flex: 1; border: none; background: none; padding: 14px 12px;
  font-size: 16px; font-family: inherit; color: var(--text); outline: none;
}
.search-box__input::placeholder { color: #9ca3af; }
.search-box__clear {
  background: none; border: none; color: var(--text-secondary);
  cursor: pointer; padding: 4px; border-radius: 50%; display: none;
  flex-shrink: 0;
}
.search-box__clear.is-visible { display: block; }

/* Search status */
.search-status {
  text-align: center; font-size: 13px; color: var(--text-secondary);
  padding: 8px 0; min-height: 32px;
}

/* Results */
.results { display: flex; flex-direction: column; gap: 12px; padding-bottom: 20px; }

/* Product card */
.product-card {
  background: var(--card); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: transform var(--transition), box-shadow var(--transition);
  display: flex; gap: 14px; padding: 14px;
}
.product-card:active { transform: scale(0.99); }
.product-card__image {
  width: 90px; height: 90px; border-radius: var(--radius-sm);
  object-fit: cover; flex-shrink: 0; background: #f0fdfa;
}
.product-card__body { flex: 1; min-width: 0; }
.product-card__title {
  font-size: 14px; font-weight: 600; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  margin-bottom: 2px;
}
.product-card__producer { font-size: 11px; color: var(--text-secondary); margin-bottom: 4px; }
.product-card__meta { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--text-secondary); margin-bottom: 6px; }
.product-card__rating { display: flex; align-items: center; gap: 2px; color: #f59e0b; }
.product-card__pharmacy { color: var(--primary); }
.product-card__bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.product-card__price {
  font-size: 18px; font-weight: 800; color: var(--primary);
}
.product-card__old-price {
  font-size: 12px; color: var(--text-secondary); text-decoration: line-through;
  margin-left: 4px;
}
.product-card__qty {
  display: flex; align-items: center; gap: 2px;
  background: var(--primary-light); border-radius: 10px; overflow: hidden;
  flex-shrink: 0;
}
.product-card__qty-btn {
  width: 34px; height: 34px; border: none; background: none;
  color: var(--primary); font-size: 18px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition); font-weight: 600;
}
.product-card__qty-btn:hover { background: rgba(13,124,102,0.12); }
.product-card__qty-btn:active { background: rgba(13,124,102,0.2); }
.product-card__qty-value {
  min-width: 28px; text-align: center; font-weight: 700; font-size: 15px; color: var(--text);
}
.product-card__add-btn {
  background: var(--primary); color: #fff; border: none;
  padding: 8px 18px; border-radius: 10px; font-size: 13px; font-weight: 600;
  cursor: pointer; transition: all var(--transition); white-space: nowrap;
}
.product-card__add-btn:hover { background: var(--primary-dark); }
.product-card__add-btn:active { transform: scale(0.96); }

.search-section { margin-bottom: 20px; }
.search-section__title {
  font-size: 15px; font-weight: 700; margin-bottom: 10px; padding-bottom: 6px;
  border-bottom: 2px solid var(--primary-light); color: var(--text);
}
.search-section .product-card { margin-bottom: 10px; }
.product-card--oos { opacity: 0.55; filter: grayscale(0.6); }
.product-card--oos .product-card__add-btn { display: none; }
.product-card__oos-badge {
  display: inline-block; padding: 3px 10px; background: #ef4444; color: #fff;
  border-radius: 10px; font-size: 11px; font-weight: 600; margin-left: 8px;
  vertical-align: middle;
}

/* Cart */
.cart-header {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px;
}
.cart-header__title { font-size: 22px; font-weight: 700; }
.cart-header__clear {
  background: none; border: none; color: var(--danger); font-size: 13px;
  font-weight: 500; cursor: pointer; padding: 6px 12px; border-radius: 8px;
  transition: background var(--transition);
}
.cart-header__clear:hover { background: #fef2f2; }
.cart-items { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.cart-item {
  background: var(--card); border-radius: var(--radius-sm); padding: 12px 14px;
  box-shadow: var(--shadow); display: flex; align-items: center; gap: 12px;
}
.cart-item__image {
  width: 56px; height: 56px; border-radius: 8px; object-fit: cover; flex-shrink: 0;
  background: #f0fdfa;
}
.cart-item__body { flex: 1; min-width: 0; }
.cart-item__title { font-size: 13px; font-weight: 600; margin-bottom: 2px; }
.cart-item__price { font-size: 15px; font-weight: 700; color: var(--primary); }
.cart-item__controls {
  display: flex; align-items: center; gap: 2px;
  background: var(--primary-light); border-radius: 8px; overflow: hidden;
}
.cart-item__btn {
  width: 30px; height: 30px; border: none; background: none;
  color: var(--primary); font-size: 16px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; font-weight: 600;
}
.cart-item__btn:hover { background: rgba(13,124,102,0.1); }
.cart-item__qty { min-width: 24px; text-align: center; font-weight: 700; font-size: 14px; }
.cart-item__remove {
  background: none; border: none; color: #d1d5db; cursor: pointer;
  padding: 4px; border-radius: 6px; transition: all var(--transition);
}
.cart-item__remove:hover { color: var(--danger); background: #fef2f2; }
.cart-total {
  background: var(--card); border-radius: var(--radius-sm); padding: 16px;
  box-shadow: var(--shadow); margin-bottom: 20px;
}
.cart-total__row { display: flex; justify-content: space-between; align-items: center; }
.cart-total__price { font-size: 22px; font-weight: 800; color: var(--primary); }
.cart-discount-badge {
  display: inline-block; margin: 8px 0 0; padding: 4px 12px;
  background: linear-gradient(135deg, #9b30ff, #7c1fd1); color: #fff;
  border-radius: 20px; font-size: 12px; font-weight: 700;
}

/* Buttons */
.step-actions {
  display: flex; gap: 10px; margin-top: 20px;
}
.btn {
  flex: 1; padding: 14px 20px; border-radius: 12px; border: none;
  font-size: 15px; font-weight: 600; cursor: pointer;
  transition: all var(--transition); display: flex; align-items: center;
  justify-content: center; gap: 8px; font-family: inherit;
}
.btn:active { transform: scale(0.98); }
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-dark); }
.btn--primary:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }
.btn--outline {
  background: var(--card); color: var(--text); border: 2px solid var(--border);
}
.btn--outline:hover { border-color: var(--primary); color: var(--primary); }
.btn--large { padding: 16px 24px; font-size: 16px; }
.btn--success { background: var(--success); color: #fff; }
.btn--success:hover { background: #059669; }
.btn--danger { background: var(--danger); color: #fff; }
.btn--danger:hover { background: #dc2626; }

/* Address */
.address-box { margin-bottom: 20px; }
.address-input-wrap {
  display: flex; align-items: center; gap: 10px;
  background: var(--card); border: 2px solid var(--border);
  border-radius: 14px; padding: 0 16px;
  transition: all var(--transition); box-shadow: var(--shadow);
}
.address-input-wrap:focus-within { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(13,124,102,0.1); }
.address-input-wrap__icon { color: var(--text-secondary); flex-shrink: 0; }
.address-input-wrap__input {
  flex: 1; border: none; background: none; padding: 14px 0;
  font-size: 16px; font-family: inherit; color: var(--text); outline: none;
}
.address-suggestions {
  margin-top: 4px; border-radius: var(--radius-sm); overflow: hidden;
  background: var(--card); box-shadow: var(--shadow-lg);
}
.address-suggestion {
  padding: 12px 16px; cursor: pointer; font-size: 14px;
  border-bottom: 1px solid var(--border); transition: background var(--transition);
}
.address-suggestion:last-child { border-bottom: none; }
.address-suggestion:hover { background: var(--primary-light); }
.address-suggestion__main { font-weight: 500; }
.address-suggestion__sub { font-size: 12px; color: var(--text-secondary); margin-top: 2px; }
.address-selected {
  display: none; align-items: center; gap: 10px;
  background: var(--primary-light); border-radius: var(--radius-sm);
  padding: 14px 16px; margin-top: 10px;
}
.address-selected.is-visible { display: flex; }
.address-selected__info { flex: 1; display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; }
.address-selected__change {
  background: none; border: none; color: var(--primary); font-size: 13px;
  font-weight: 600; cursor: pointer; white-space: nowrap;
}

/* Form */
.form-group { margin-bottom: 18px; }
.form-group__label { display: block; font-size: 13px; font-weight: 600; color: var(--text-secondary); margin-bottom: 6px; }
.form-group__input-wrap {
  display: flex; align-items: center; gap: 10px;
  background: var(--card); border: 2px solid var(--border);
  border-radius: 12px; padding: 0 14px; transition: all var(--transition);
}
.form-group__input-wrap:focus-within { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(13,124,102,0.1); }
.form-group__input-wrap svg { color: var(--text-secondary); flex-shrink: 0; }
.form-group__input {
  flex: 1; border: none; background: none; padding: 13px 0;
  font-size: 16px; font-family: inherit; color: var(--text); outline: none;
}
.form-group__checkbox {
  display: flex; align-items: center; gap: 8px; margin-top: 8px;
  font-size: 14px; cursor: pointer; color: var(--text-secondary);
}
.form-group__checkmark {
  width: 18px; height: 18px; border: 2px solid var(--border); border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition); flex-shrink: 0;
}
.form-group__checkbox input:checked + .form-group__checkmark {
  background: var(--primary); border-color: var(--primary);
}
.form-group__checkbox input:checked + .form-group__checkmark::after {
  content: '✓'; color: #fff; font-size: 12px; font-weight: 700;
}
.form-group__textarea {
  width: 100%; border: 2px solid var(--border); border-radius: 12px;
  padding: 13px 14px; font-size: 14px; font-family: inherit; color: var(--text);
  background: var(--card); outline: none; resize: vertical; min-height: 72px;
  transition: all var(--transition); line-height: 1.5;
}
.form-group__textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(13,124,102,0.1); }
.form-group__textarea::placeholder { color: #9ca3af; }
.form-group__checkbox input { display: none; }

/* Pharmacy list */
.pharmacy-loading {
  display: flex; align-items: center; gap: 12px; justify-content: center;
  padding: 40px 0; color: var(--text-secondary); font-size: 14px;
}
.spinner {
  width: 24px; height: 24px; border: 3px solid var(--border);
  border-top-color: var(--primary); border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.pharmacy-list { display: flex; flex-direction: column; gap: 10px; }
.pharmacy-card {
  background: var(--card); border-radius: var(--radius-sm); padding: 14px 16px;
  box-shadow: var(--shadow); cursor: pointer; border: 2px solid transparent;
  transition: all var(--transition);
}
.pharmacy-card:hover { border-color: var(--primary-light); }
.pharmacy-card.is-selected { border-color: var(--primary); background: var(--primary-light); }
.pharmacy-card__name { font-weight: 600; font-size: 14px; margin-bottom: 2px; }
.pharmacy-card__address { font-size: 12px; color: var(--text-secondary); }
.pharmacy-card__distance { font-size: 12px; color: var(--primary); font-weight: 500; margin-top: 4px; }
.pharmacy-card__stock { font-size: 12px; color: var(--success); margin-top: 2px; }

/* Delivery summary */
.delivery-summary { background: var(--card); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); margin-bottom: 16px; }
.delivery-summary__title { font-size: 16px; font-weight: 700; margin-bottom: 14px; }
.delivery-route { position: relative; padding-left: 24px; margin-bottom: 14px; }
.delivery-route::before {
  content: ''; position: absolute; left: 7px; top: 8px; bottom: 8px;
  width: 2px; background: var(--border);
}
.delivery-route__point { position: relative; margin-bottom: 12px; font-size: 13px; }
.delivery-route__point:last-child { margin-bottom: 0; }
.delivery-route__point::before {
  content: ''; position: absolute; left: -17px; top: 5px;
  width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--primary);
  background: var(--card);
}
.delivery-route__point:first-child::before { background: var(--primary); }
.delivery-route__point-label { font-weight: 600; color: var(--text-secondary); font-size: 11px; }
.delivery-route__point-value { font-weight: 500; }
.delivery-cost {
  border-top: 1px solid var(--border); padding-top: 14px; margin-top: 4px;
}
.delivery-cost__row {
  display: flex; justify-content: space-between; font-size: 13px;
  margin-bottom: 6px; color: var(--text-secondary);
}
.delivery-cost__row:last-child { margin-bottom: 0; }
.delivery-cost__total {
  display: flex; justify-content: space-between; font-size: 18px; font-weight: 800;
  color: var(--primary); margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--border);
}
.order-summary {
  background: var(--card); border-radius: var(--radius); padding: 20px;
  box-shadow: var(--shadow); margin-bottom: 16px;
}
.order-summary__title { font-size: 16px; font-weight: 700; margin-bottom: 12px; }
.order-summary__item {
  display: flex; justify-content: space-between; font-size: 13px;
  padding: 6px 0; border-bottom: 1px solid var(--border);
}
.order-summary__item:last-child { border-bottom: none; }
.order-summary__item-name { flex: 1; color: var(--text-secondary); }
.order-summary__item-qty { color: var(--text-secondary); margin: 0 8px; }
.order-summary__item-price { font-weight: 600; }
.order-summary__total {
  display: flex; justify-content: space-between; font-size: 18px; font-weight: 800;
  color: var(--primary); margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--border);
}

/* Warning */
.warning-banner {
  background: #fffbeb; border: 1px solid #fde68a; border-radius: var(--radius);
  padding: 20px; margin-bottom: 20px; display: flex; gap: 12px;
}
.warning-banner svg { flex-shrink: 0; color: #f59e0b; }
.warning-banner__text { font-size: 13px; line-height: 1.6; color: #92400e; }

/* Payment total */
.payment-total {
  background: var(--primary); color: #fff; border-radius: var(--radius);
  padding: 20px; margin-bottom: 20px; text-align: center;
}
.payment-total__label { font-size: 13px; opacity: 0.85; margin-bottom: 4px; }
.payment-total__amount { font-size: 32px; font-weight: 800; }

/* Payment actions */
.payment-actions { display: flex; flex-direction: column; gap: 10px; }
.payment-actions .btn { width: 100%; }

/* Admin */
.admin-section {
  margin-top: 24px; padding: 20px; background: #f0fdf4; border-radius: var(--radius);
  border: 1px solid #bbf7d0;
}
.admin-section h3 { font-size: 16px; font-weight: 700; margin-bottom: 4px; color: #166534; }
.admin-section .step__desc { margin-bottom: 12px; color: #166534; }
.admin-actions { display: flex; gap: 10px; }
.admin-actions .btn { flex: 1; }

/* Success screen */
.success-screen { text-align: center; padding: 32px 0; }
.success-screen__icon { margin-bottom: 16px; }
.success-screen__title { font-size: 24px; font-weight: 800; color: var(--primary); margin-bottom: 6px; }
.success-screen__subtitle { font-size: 14px; color: var(--text-secondary); margin-bottom: 24px; }

/* Timeline */
.timeline { text-align: left; }
.timeline-item {
  display: flex; gap: 12px; padding: 12px 0;
  border-bottom: 1px solid var(--border); align-items: flex-start;
}
.timeline-item:last-child { border-bottom: none; }
.timeline-item__time {
  font-size: 13px; font-weight: 700; color: var(--primary);
  white-space: nowrap; min-width: 52px;
}
.timeline-item__label { font-size: 13px; color: var(--text-secondary); }

/* Modal */
.modal-overlay {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.4);
  z-index: 200; align-items: flex-end; justify-content: center;
}
.modal-overlay.is-open { display: flex; }
.modal {
  background: var(--card); border-radius: 20px 20px 0 0; width: 100%;
  max-width: 480px; max-height: 80vh; overflow-y: auto;
  padding: 24px 20px; animation: slideUp 0.3s ease;
}
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
.modal__close {
  background: none; border: none; cursor: pointer; float: right;
  color: var(--text-secondary); padding: 4px; border-radius: 8px;
}
.modal__close:hover { background: var(--bg); }
.modal__content { clear: both; }
.modal__product-title { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.modal__product-image { width: 100%; max-height: 240px; object-fit: contain; border-radius: var(--radius-sm); margin-bottom: 12px; background: #f0fdfa; }
.modal__product-price { font-size: 24px; font-weight: 800; color: var(--primary); margin-bottom: 8px; }
.modal__product-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 16px; }

/* Toast */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(100px);
  background: var(--text); color: #fff; padding: 12px 24px; border-radius: 12px;
  font-size: 14px; font-weight: 500; opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); z-index: 300;
  white-space: nowrap; max-width: 90vw; text-align: center;
}
.toast.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.is-error { background: var(--danger); }
.toast.is-success { background: var(--success); }

/* Info blocks */
.info-blocks { display: flex; flex-direction: column; gap: 10px; padding-bottom: 16px; }
.info-card {
  background: var(--card); border-radius: var(--radius); padding: 16px 18px;
  box-shadow: var(--shadow); border-left: 3px solid var(--neon);
  animation: fadeUp 0.4s ease; transition: all 0.4s ease;
}
.info-card--hero { border-left-color: var(--primary); background: linear-gradient(135deg, var(--card) 0%, var(--primary-light) 100%); }
.info-card--hero .info-card__icon { color: var(--primary); margin-bottom: 8px; }
.info-card__header {
  font-size: 14px; font-weight: 700; margin-bottom: 6px; color: var(--text);
  line-height: 1.4;
}
.info-card__mark { color: var(--neon); font-weight: 800; margin-right: 2px; }
.info-card__body { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }
.info-card__body p { margin-bottom: 8px; }
.info-card__body p:last-child { margin-bottom: 0; }
.info-card__body strong { color: var(--text); }
.info-card__list { padding-left: 18px; margin-bottom: 8px; }
.info-card__list li { margin-bottom: 4px; }
.info-card.is-hiding { opacity: 0; transform: translateX(-20px); max-height: 0; margin: 0; padding: 0; overflow: hidden; border: none; }
.info-blocks.is-hidden { display: none; }

/* Skeleton */
.skeleton {
  background: linear-gradient(90deg, #e5e7eb 25%, #f3f4f6 50%, #e5e7eb 75%);
  background-size: 200% 100%; animation: shimmer 1.5s infinite;
  border-radius: 8px;
}
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.skeleton-card {
  display: flex; gap: 14px; padding: 14px; background: var(--card);
  border-radius: var(--radius);
}
.skeleton-card__img { width: 90px; height: 90px; border-radius: 10px; flex-shrink: 0; }
.skeleton-card__body { flex: 1; }
.skeleton-card__line { height: 14px; margin-bottom: 8px; }
.skeleton-card__line:last-child { width: 60%; margin-bottom: 0; }

/* Desktop */
@media (min-width: 768px) {
  #app { max-width: 640px; }
  .header__inner { max-width: 640px; }
  .product-card { padding: 18px; }
  .product-card__image { width: 110px; height: 110px; }
}
