html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* ===== Contact Page Styles ===== */
.contact-page { padding: 60px 0; }
.contact-header { text-align: center; margin-bottom: 50px; }
.contact-header h2 { font-size: 32px; font-weight: 700; color: #333; margin-bottom: 10px; }
.contact-header p { color: #777; font-size: 16px; }
.store-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin-bottom: 30px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}
.store-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}
.store-card-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 25px 30px;
}
.store-card-header h3 {
    margin: 0 0 5px 0;
    font-size: 22px;
    font-weight: 600;
}
.store-card-header .store-type {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 13px;
}
.store-card-body { padding: 25px 30px; }
.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}
.contact-info-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.contact-info-item .icon {
    width: 36px;
    height: 36px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
    color: #667eea;
    font-size: 16px;
}
.contact-info-item .info { flex: 1; }
.contact-info-item .info .label { font-size: 12px; color: #999; margin-bottom: 2px; }
.contact-info-item .info .value { font-size: 15px; color: #333; word-break: break-all; }
.contact-info-item .info .value a { color: #667eea; text-decoration: none; }
.contact-info-item .info .value a:hover { text-decoration: underline; }
.store-description {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}
.store-image { margin-top: 15px; }
.store-image img { width: 100%; border-radius: 8px; }
.store-map { margin-top: 15px; margin-bottom: 15px; border-radius: 8px; overflow: hidden; border: 1px solid #e0e0e0; }
.store-map img { width: 100%; display: block; }
.qrcode-img { max-width: 120px; border-radius: 8px; margin-top: 5px; }
.no-stores { text-align: center; padding: 80px 0; color: #999; }
.no-stores i { font-size: 48px; margin-bottom: 20px; display: block; color: #ddd; }
.social-links { display: flex; gap: 10px; flex-wrap: wrap; }
.social-links .badge-custom {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 13px;
    text-decoration: none;
    color: #fff;
}
.badge-wechat { background: #07c160; }
.badge-xiaohongshu { background: #fe2c55; }
.badge-douyin { background: #000; }
.badge-public { background: #1aad19; }