/* ==============================
   Tasted Beer
   ============================== */

/* Tasted beer button on beer cards - below the save/heart button */
.tasted-beer-btn {
  position: absolute;
  right: 30px;
  bottom: 50px;
  z-index: 2;
  width: 24px;
  height: 24px;
  display: block;
  color: transparent;
  overflow: hidden;
  text-align: center;
  cursor: pointer;
  transition: all 0.4s ease-in-out;
  text-decoration: none;
  border: none;
  background: none;
}

@media (min-width: 1000px) {
  .tasted-beer-btn {
    bottom: auto;
    top: 40px;
    right: 12px;
  }
}

.tasted-beer-btn i {
  font-size: 17px;
  color: #dedede;
  transition: all 0.4s ease-in-out;
}

.tasted-beer-btn:hover i {
  color: #ffd700;
}

.tasted-beer-btn.active i {
  color: #ffd700;
}

/* Toast notification */
.tasted-toast {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #000;
  color: #ffff00;
  padding: 12px 24px;
  border-radius: 10px;
  border-left: 4px solid #ffd700;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
  z-index: 99999;
  opacity: 0;
  transition: all 0.3s ease;
  font-size: 14px;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
}

.tasted-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.tasted-toast i {
  color: #ffd700;
  margin-right: 6px;
}

/* Beer detail page - override positioning */
.beer-detail-actions .tasted-beer-btn {
  position: relative;
  top: auto;
  right: auto;
  bottom: auto;
  width: auto;
  height: auto;
  overflow: visible;
  color: #fff;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 16px;
  font-size: 14px;
}

.beer-detail-actions .tasted-beer-btn i {
  color: #dedede;
  font-size: 14px;
}

.beer-detail-actions .tasted-beer-btn:hover i,
.beer-detail-actions .tasted-beer-btn.active i {
  color: #ffd700;
}

.beer-detail-actions .tasted-beer-btn.active {
  border-color: #ffd700;
  background: rgba(255, 215, 0, 0.15);
}

.beer-detail-actions .save-beer-btn {
  position: relative;
  top: auto;
  right: auto;
  bottom: auto;
  width: auto;
  height: auto;
  overflow: visible;
  border-radius: 8px;
}

.beer-detail-actions .save-beer-btn.active {
  border-color: #dc0c23;
  background: rgba(220, 12, 35, 0.15);
}

/* ==============================
   Public Profile Page
   ============================== */

.public-profile-page {
    max-width: 900px;
    width: 100%;
    margin: 40px auto 0;
    padding: 30px 30px 60px;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    border: 1px solid #fefefe;
}

/* Hero Section */
.pp-hero {
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    border-radius: 20px;
    padding: 40px 32px;
    display: flex;
    align-items: center;
    gap: 28px;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

.pp-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: rgba(255, 215, 0, 0.06);
    border-radius: 50%;
}

.pp-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid #ffd700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
    overflow: hidden;
}

.pp-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.pp-user-info {
    color: #fff;
}

.pp-display-name {
    font-family: "Montserrat", sans-serif;
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 6px;
    color: #fff;
}

.pp-expert-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #1a1a1a;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 8px;
    vertical-align: middle;
}

.pp-member-since {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.pp-member-since i {
    margin-right: 6px;
}

/* Stats Bar */
.pp-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.pp-stat-box {
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    border-radius: 16px;
    padding: 20px 16px;
    text-align: center;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.pp-stat-value {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: #ffd700;
    font-family: "Montserrat", sans-serif;
    line-height: 1.2;
}

.pp-stat-label {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

/* Section Titles */
.pp-section-title {
    font-family: "Montserrat", sans-serif;
    font-size: 20px;
    font-weight: 900;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin: 0 0 18px;
    padding-bottom: 10px;
    border-bottom: 3px solid #1e3a8a;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pp-section-title i {
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Reviews Section */
.pp-reviews {
    margin-bottom: 40px;
}

.pp-review-card {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 16px;
    transition: transform 0.2s;
}

.pp-review-card:hover {
    transform: translateY(-2px);
}

.pp-review-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.pp-review-beer {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: inherit;
}

.pp-review-beer-img {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    object-fit: cover;
    background: #2a2a2a;
}

.pp-review-beer-name {
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}

.pp-review-beer-name:hover {
    color: #3b82f6;
}

.pp-review-date {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 2px;
}

.pp-review-rating {
    display: flex;
    gap: 3px;
}

.pp-review-rating i {
    font-size: 16px;
}

.pp-review-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin-bottom: 10px;
}

.pp-review-footer {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

.pp-review-footer i {
    color: #3b82f6;
}

/* Amulets Section */
.pp-amulets {
    margin-bottom: 40px;
}

.pp-amulets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
}

.pp-amulet-card {
    background: #0a0a0a;
    border: 1px solid #ffd700;
    border-left: 4px solid #ffd700;
    border-radius: 16px;
    padding: 20px 16px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.1);
    transition: transform 0.3s ease;
}

.pp-amulet-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 25px rgba(255, 215, 0, 0.2);
}

.pp-amulet-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
    font-size: 28px;
    color: #ffd700;
    border: 2px solid #333;
    overflow: hidden;
}

.pp-amulet-icon img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.pp-amulet-name {
    font-size: 13px;
    font-weight: 700;
    color: #ffd700;
    font-family: "Montserrat", sans-serif;
    margin-bottom: 4px;
}

.pp-amulet-points {
    display: inline-block;
    background: linear-gradient(135deg, gold, #ffed4e);
    color: #1a1a1a;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
    text-transform: uppercase;
}

.pp-amulet-date {
    display: block;
    margin-top: 6px;
    font-size: 10px;
    color: #4ade80;
}

/* Empty States */
.pp-empty {
    color: #888;
    font-size: 14px;
    padding: 20px;
    text-align: center;
    background: #f5f5f5;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
}

/* 404 */
.pp-not-found {
    text-align: center;
    padding: 80px 20px;
    max-width: 500px;
    margin: 0 auto;
}

.pp-not-found i {
    font-size: 64px;
    color: #ccc;
    margin-bottom: 20px;
}

.pp-not-found h2 {
    font-family: "Montserrat", sans-serif;
    font-size: 24px;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.pp-not-found p {
    color: #888;
    font-size: 16px;
}

/* Responsive */
@media (max-width: 768px) {
    .pp-hero {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }

    .pp-display-name {
        font-size: 22px;
    }

    .pp-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .pp-review-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .pp-amulets-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
}

@media (max-width: 480px) {
    .pp-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .pp-stat-value {
        font-size: 22px;
    }

    .pp-avatar {
        width: 80px;
        height: 80px;
        font-size: 28px;
    }
}

/* ==============================
   Signup - Username Field
   ============================== */

.username-feedback {
    font-size: 12px;
    margin-top: 6px;
    min-height: 18px;
    font-weight: 600;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.username-feedback.available {
    color: #22c55e;
}

.username-feedback.taken,
.username-feedback.error {
    color: #ef4444;
}

.username-feedback.checking {
    color: #f59e0b;
}

.username-feedback .uf-icon i {
    position: static;
    font-size: 12px;
    color: inherit;
    transform: none;
    pointer-events: none;
}

/* ==============================
   Beer Database - Filter Overrides
   ============================== */

.bf-section-header h4 {
    font-size: 16px !important;
}

.bf-checkbox-item label {
    font-size: 15px !important;
}

.bf-checkbox-item input[type="checkbox"] {
    width: 20px !important;
    height: 20px !important;
}

.bf-search-box input {
    font-size: 15px !important;
    padding: 12px 14px 12px 40px !important;
}

.bf-filter-search input {
    font-size: 14px !important;
    padding: 9px 10px 9px 32px !important;
}

.bf-show-toggle {
    font-size: 14px !important;
}

.bf-clear-all {
    font-size: 14px !important;
}

.bf-pill {
    font-size: 13px !important;
    padding: 5px 12px !important;
}

/* ==============================
   Legal Pages
   ============================== */

.legal-page-container {
  max-width: 860px;
  margin: 40px auto 60px;
  padding: 0 20px;
}

.legal-page-inner {
  background: #fff;
  border-radius: 16px;
  padding: 48px 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.legal-page-inner h1 {
  font-family: "Montserrat", sans-serif;
  font-size: 32px;
  font-weight: 900;
  color: #1a1a2e;
  margin: 0 0 8px;
}

.legal-last-updated {
  font-size: 13px;
  color: #888;
  margin-bottom: 28px;
  font-style: italic;
}

.legal-page-inner h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #1e3a8a;
  margin: 32px 0 12px;
  padding-bottom: 6px;
  border-bottom: 2px solid #e5e7eb;
}

.legal-page-inner h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #374151;
  margin: 20px 0 8px;
}

.legal-page-inner p {
  font-size: 15px;
  line-height: 1.7;
  color: #4b5563;
  margin-bottom: 12px;
}

.legal-page-inner ul {
  margin: 8px 0 16px 20px;
  padding: 0;
}

.legal-page-inner ul li {
  font-size: 15px;
  line-height: 1.7;
  color: #4b5563;
  margin-bottom: 6px;
  list-style: disc;
}

.legal-page-inner a {
  color: #1e3a8a;
  text-decoration: underline;
}

.legal-page-inner a:hover {
  color: #3b82f6;
}

/* Footer Legal Links */
.footer-legal-links {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-legal-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-legal-links a:hover {
  color: #ffd700;
}

.footer-legal-links span {
  color: rgba(255, 255, 255, 0.3);
  font-size: 13px;
}

@media (max-width: 768px) {
  .legal-page-inner {
    padding: 30px 20px;
  }

  .legal-page-inner h1 {
    font-size: 26px;
  }

  .legal-page-inner h2 {
    font-size: 18px;
  }
}

/* ==============================
   Email Verification Banner
   ============================== */

.ds-email-verify-banner {
  background-color: #dc2626;
  color: #fff;
  font-size: 14px;
  z-index: 999;
  position: relative;
}

.ds-email-verify-banner__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.ds-email-verify-banner__icon {
  color: #fbbf24;
  font-size: 16px;
  flex-shrink: 0;
}

.ds-email-verify-banner__text {
  text-align: center;
}

.ds-email-verify-banner__link {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  white-space: nowrap;
}

.ds-email-verify-banner__link:hover {
  color: #fbbf24;
}

/* ==============================
   Settings Page
   ============================== */

.settings-section {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 30px;
  margin-top: 20px;
}

.settings-section h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e5e7eb;
}

.settings-verification-status {
  margin-bottom: 20px;
}

.settings-verification-row {
  display: flex;
  align-items: center;
  padding: 10px 0;
  gap: 15px;
}

.settings-label {
  font-weight: 600;
  color: #374151;
  min-width: 80px;
}

.settings-value {
  color: #6b7280;
}

.settings-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}

.settings-badge--verified {
  background: #dcfce7;
  color: #166534;
}

.settings-badge--unverified {
  background: #fee2e2;
  color: #991b1b;
}

.settings-alert {
  padding: 12px 16px;
  border-radius: 6px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.settings-alert--success {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #86efac;
}

.settings-alert--error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

.settings-unverified-notice {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 6px;
  padding: 20px;
}

.settings-unverified-notice p {
  color: #92400e;
  margin-bottom: 15px;
  font-size: 14px;
  line-height: 1.5;
}

.settings-resend-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: #008be6;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.settings-resend-btn:hover {
  background: #0073c4;
}

/* ==============================
   Forgot / Reset Password
   ============================== */

.ds-forgot-alert {
  padding: 16px 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.ds-forgot-alert i {
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.ds-forgot-alert p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

.ds-forgot-alert--success {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #86efac;
}

.ds-forgot-alert--error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

.ds-forgot-instructions {
  color: #6b7280;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.ds-forgot-back-link {
  color: #008be6;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ds-forgot-back-link:hover {
  color: #0073c4;
  text-decoration: underline;
}

/* ==============================
   Login Modal (Fancybox)
   ============================== */

.fancybox-slide--html #loginModal {
  padding: 0;
  max-width: 420px;
}

.ds-login-modal {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  font-family: "Montserrat", "Inter", sans-serif;
}

.ds-login-modal__header {
  padding: 30px 32px 0;
  text-align: center;
}

.ds-login-modal__header h2 {
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
}

.ds-login-modal__body {
  padding: 24px 32px 28px;
}

.ds-login-modal__field {
  margin-bottom: 18px;
}

.ds-login-modal__field label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  color: #374151;
  font-size: 13px;
}

.ds-login-modal__input-wrap {
  position: relative;
}

.ds-login-modal__input-wrap input {
  width: 100%;
  padding: 12px 42px 12px 14px;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  font-size: 14px;
  color: #333;
  background: #f8fafc;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.ds-login-modal__input-wrap input:focus {
  outline: none;
  border-color: #3f66fb;
  box-shadow: 0 0 0 3px rgba(63, 102, 251, 0.1);
  background: #fff;
}

.ds-login-modal__input-wrap i {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 14px;
}

.ds-login-modal__input-wrap input:focus ~ i {
  color: #3f66fb;
}

.ds-login-modal__options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
  font-size: 13px;
}

.ds-login-modal__remember {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #64748b;
  cursor: pointer;
}

.ds-login-modal__remember input[type="checkbox"] {
  accent-color: #3f66fb;
}

.ds-login-modal__forgot {
  color: #3f66fb;
  text-decoration: none;
  font-weight: 500;
}

.ds-login-modal__forgot:hover {
  text-decoration: underline;
}

.ds-login-modal__submit {
  width: 100%;
  padding: 14px;
  background: linear-gradient(to right, #3f66fb, #2a52e0);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
}

.ds-login-modal__submit:hover {
  opacity: 0.9;
}

.ds-login-modal__divider {
  text-align: center;
  margin: 22px 0;
  position: relative;
}

.ds-login-modal__divider::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 1px;
  background: #e2e8f0;
}

.ds-login-modal__divider span {
  position: relative;
  background: #fff;
  padding: 0 14px;
  color: #94a3b8;
  font-size: 13px;
}

.ds-login-modal__social {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ds-login-modal__social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  cursor: pointer;
  transition: background 0.2s;
}

.ds-login-modal__social-btn:hover {
  background: #f8fafc;
}

.ds-login-modal__social-btn i {
  font-size: 16px;
  color: #4285f4;
}

.ds-login-modal__footer {
  text-align: center;
  padding: 16px 32px;
  font-size: 13px;
  color: #64748b;
  background: #f8f9ff;
  border-top: 1px solid #f1f5f9;
}

.ds-login-modal__footer a {
  color: #3f66fb;
  text-decoration: none;
  font-weight: 600;
}

.ds-login-modal__footer a:hover {
  text-decoration: underline;
}

/* ==============================
   Top Rated Page (no filters)
   ============================== */

.top-rated-page {
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px 20px 60px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  border: 1px solid #fefefe;
}

.top-rated-header {
  text-align: center;
  padding: 20px 20px;
  margin-bottom: 30px;
}

.top-rated-header h1 {
  font-size: 44px;
  font-weight: 700;
  font-family: "Montserrat", sans-serif;
  background: linear-gradient(135deg, #1e3a8a, #3b82f6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0;
}

.top-beers-grid--page {
  justify-content: center;
}

.top-beers-grid--page .top-beer-card {
  width: 190px;
  background: #fff;
  border-color: #e5e7eb;
}

.top-beers-grid--page .top-beer-card:hover {
  border-color: #3b82f6;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.top-beers-grid--page .top-beer-name {
  color: #1a1a1a;
}

.top-beers-grid--page .top-beer-img-frame {
  background: #f3f4f6;
}

/* ==============================
   Homepage - Top Beers Section
   ============================== */

.top-beers-section {
  background: #111;
  padding: 60px 20px;
}

.top-beers-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.top-beers-inner > h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 28px;
  font-weight: 900;
  color: #fff;
  text-align: center;
  margin: 0 0 36px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.top-beers-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.top-beer-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 14px;
  padding: 18px 12px 14px;
  text-decoration: none;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  overflow: hidden;
  width: 170px;
  flex-shrink: 0;
}

.top-beer-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  border-color: #3b82f6;
}

.top-beer-rank {
  position: absolute;
  top: 8px;
  left: 8px;
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  font-weight: 800;
  color: #1a1a1a;
  background: #ffd700;
  border-radius: 6px;
  padding: 2px 7px;
  line-height: 1.3;
}

.top-beer-img-frame {
  width: 90px;
  height: 90px;
  border-radius: 14px;
  overflow: hidden;
  background: #252525;
  margin-bottom: 10px;
  flex-shrink: 0;
}

.top-beer-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.top-beer-name {
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  line-height: 1.3;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}

.top-beer-scores {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.top-beer-score {
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.top-beer-score i {
  font-size: 11px;
}

.top-beer-score--expert {
  color: #60a5fa;
}

.top-beer-score--lover {
  color: #fbbf24;
}

.top-beers-cta {
  text-align: center;
  margin-top: 36px;
}

.view-all-btn {
  display: inline-block;
  padding: 14px 40px;
  background: linear-gradient(135deg, #1e3a8a, #3b82f6);
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.view-all-btn:hover {
  background: linear-gradient(135deg, #3b82f6, #1e3a8a);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

@media (max-width: 768px) {
  .top-beers-section {
    padding: 40px 15px;
  }

  .top-beers-inner > h2 {
    font-size: 22px;
    margin-bottom: 28px;
  }

  .top-beers-grid {
    gap: 14px;
  }

  .top-beer-card {
    width: 140px;
    padding: 14px 10px 12px;
  }

  .top-beer-img-frame {
    width: 74px;
    height: 74px;
    border-radius: 12px;
  }

  .top-beer-name {
    font-size: 12px;
  }
}

/* ==============================
   Beer Detail - Beer Lover Score (blue background)
   ============================== */

.beer_details_ofb3 .score.score--beer-lover {
  background: linear-gradient(135deg, #1e3a8a, #3b82f6);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.beer_details_ofb3 .score.score--beer-lover::before {
  background: rgba(255, 215, 0, 0.1);
}

.beer_details_ofb3 .score.score--beer-lover .score-value {
  color: #ffd700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.beer_details_ofb3 .score.score--beer-lover .score-label {
  color: #e0e0e0;
}

/* ==============================
   Mobile Language Switcher (off-canvas)
   ============================== */
.ds-offcanvas__lang-switcher {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 16px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ds-offcanvas__lang-switcher a {
  display: inline-block;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid transparent;
  transition: border-color 0.3s ease;
}

.ds-offcanvas__lang-switcher a:hover {
  border-color: #ffd700;
}

.ds-offcanvas__lang-switcher a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==============================
   Beer Fridge
   ============================== */

.fridge-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.fridge-header h2 {
  margin: 0;
}

.fridge-sort {
  display: flex;
  align-items: center;
  gap: 8px;
}

.fridge-sort label {
  font-size: 14px;
  font-weight: 600;
  color: #6b7280;
  white-space: nowrap;
}

.fridge-sort select {
  padding: 6px 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
  background: #fff;
  color: #1f2937;
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s;
}

.fridge-sort select:focus {
  border-color: #3b82f6;
}

.beer-collection .beer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.fridge-beer-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 18px 12px 14px;
  text-decoration: none;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  overflow: hidden;
  width: 190px;
  flex-shrink: 0;
}

.fridge-beer-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border-color: #3b82f6;
}

.fridge-beer-img-frame {
  width: 90px;
  height: 90px;
  border-radius: 14px;
  overflow: hidden;
  background: #f3f4f6;
  margin-bottom: 10px;
  flex-shrink: 0;
}

.fridge-beer-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fridge-beer-name {
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
  text-align: center;
  line-height: 1.3;
  margin: 0 0 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}

.fridge-beer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-bottom: 4px;
}

.fridge-beer-style {
  font-size: 11px;
  font-weight: 600;
  color: #3b82f6;
  background: #eff6ff;
  padding: 2px 8px;
  border-radius: 10px;
}

.fridge-beer-abv {
  font-size: 11px;
  font-weight: 600;
  color: #d97706;
  background: #fffbeb;
  padding: 2px 8px;
  border-radius: 10px;
}

.fridge-beer-brewery {
  font-size: 11px;
  color: #6b7280;
  text-align: center;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 600px) {
  .fridge-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .fridge-beer-card {
    width: calc(50% - 10px);
  }
}

/* ==============================
   My Reviews
   ============================== */

.my-reviews-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.my-reviews-header h2 {
  margin: 0;
}

.my-reviews-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.my-reviews-filter select,
.my-reviews-sort select {
  padding: 6px 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
  background: #fff;
  color: #1f2937;
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s;
}

.my-reviews-filter select:focus,
.my-reviews-sort select:focus {
  border-color: #3b82f6;
}

.my-reviews-stats {
  margin-bottom: 20px;
}

.my-reviews-count {
  font-size: 14px;
  color: #6b7280;
  font-weight: 500;
}

.my-reviews-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Empty state */
.my-reviews-empty {
  text-align: center;
  padding: 60px 20px;
  color: #9ca3af;
}

.my-reviews-empty i {
  font-size: 48px;
  margin-bottom: 16px;
  display: block;
}

.my-reviews-empty p {
  font-size: 16px;
  margin: 0;
}

/* Review card */
.my-review-card {
  display: flex;
  gap: 20px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 20px;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.my-review-card:hover {
  border-color: #d1d5db;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.my-review-beer-link {
  flex-shrink: 0;
}

.my-review-beer-img {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  object-fit: cover;
  background: #f3f4f6;
  display: block;
}

.my-review-body {
  flex: 1;
  min-width: 0;
}

.my-review-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.my-review-beer-name {
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #1f2937;
  text-decoration: none;
  line-height: 1.3;
}

.my-review-beer-name:hover {
  color: #3b82f6;
}

.my-review-beer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.my-review-style {
  font-size: 11px;
  font-weight: 600;
  color: #3b82f6;
  background: #eff6ff;
  padding: 2px 8px;
  border-radius: 10px;
}

.my-review-abv {
  font-size: 11px;
  font-weight: 600;
  color: #d97706;
  background: #fffbeb;
  padding: 2px 8px;
  border-radius: 10px;
}

.my-review-brewery {
  font-size: 11px;
  color: #6b7280;
}

/* Status badge */
.my-review-status-badge {
  flex-shrink: 0;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.my-review-status-badge.approved {
  background: #dcfce7;
  color: #16a34a;
}

.my-review-status-badge.pending {
  background: #fef9c3;
  color: #a16207;
}

.my-review-status-badge.rejected {
  background: #fee2e2;
  color: #dc2626;
}

/* Rating */
.my-review-rating {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-bottom: 10px;
}

.my-review-rating i {
  font-size: 14px;
  color: #d1d5db;
}

.my-review-rating i.active {
  color: #f59e0b;
}

.my-review-rating-num {
  margin-left: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #6b7280;
}

/* Review text */
.my-review-text {
  font-size: 14px;
  line-height: 1.6;
  color: #4b5563;
  margin: 0 0 12px;
}

/* Review image */
.my-review-image {
  margin-bottom: 12px;
}

.my-review-image img {
  max-width: 200px;
  max-height: 150px;
  border-radius: 10px;
  object-fit: cover;
}

/* Footer */
.my-review-footer {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  color: #9ca3af;
}

.my-review-footer i {
  margin-right: 4px;
}

.my-review-date {
  display: flex;
  align-items: center;
  gap: 4px;
}

.my-review-expert-badge {
  color: #3b82f6;
  font-weight: 600;
}

.my-review-expert-badge i {
  color: #3b82f6;
}

/* Responsive */
@media (max-width: 600px) {
  .my-reviews-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .my-reviews-controls {
    width: 100%;
  }

  .my-reviews-controls select {
    flex: 1;
  }

  .my-review-card {
    flex-direction: column;
    gap: 12px;
  }

  .my-review-beer-img {
    width: 60px;
    height: 60px;
  }

  .my-review-top {
    flex-direction: column;
    gap: 8px;
  }
}

/* ==============================
   Retailer Signup
   ============================== */

.ds-retailer-signup .header {
  padding-bottom: 16px;
}

.ds-retailer-signup__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, #1e3a8a, #3b82f6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ds-retailer-signup__icon i {
  font-size: 28px;
  color: #fff;
}

.ds-retailer-signup__error {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  margin-bottom: 20px;
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
}

.ds-retailer-signup__error i {
  font-size: 18px;
  flex-shrink: 0;
  color: #dc2626;
}

.ds-retailer-signup__success {
  text-align: center;
  padding: 20px 10px;
}

.ds-retailer-signup__success-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  background: #dcfce7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ds-retailer-signup__success-icon i {
  font-size: 36px;
  color: #16a34a;
}

.ds-retailer-signup__success h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 12px;
}

.ds-retailer-signup__success p {
  font-size: 15px;
  color: #4b5563;
  line-height: 1.6;
  margin: 0;
}

.ds-retailer-signup__terms {
  margin: 20px 0 24px;
}

.ds-retailer-signup__checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: #4b5563;
  cursor: pointer;
  line-height: 1.5;
}

.ds-retailer-signup__checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: #3b82f6;
  flex-shrink: 0;
  cursor: pointer;
}

.ds-retailer-signup__checkbox a {
  color: #1e3a8a;
  font-weight: 600;
  text-decoration: underline;
}

.ds-retailer-signup__checkbox a:hover {
  color: #3b82f6;
}

.ds-retailer-signup__member-link {
  margin-top: 12px;
  text-align: center;
  font-size: 13px;
  color: #6b7280;
}

.ds-retailer-signup__member-link a {
  color: #1e3a8a;
  font-weight: 600;
  text-decoration: none;
}

.ds-retailer-signup__member-link a:hover {
  text-decoration: underline;
  color: #3b82f6;
}

/* ==============================
   Public Store Profile (/store/[slug]/)
   ============================== */

.sp-page {
    background: #fdfaf5;
    padding-bottom: 64px;
    font-family: 'Inter', 'Segoe UI', sans-serif;
    color: #1c1917;
}

.sp-wrap {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Hero */
.sp-hero {
    position: relative;
    height: 320px;
    background: linear-gradient(135deg, #fde68a, #fbbf24);
    overflow: hidden;
}

.sp-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sp-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.0) 40%, rgba(28, 25, 23, 0.7) 100%);
}

.sp-hero-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 24px 16px;
    position: relative;
    height: 100%;
}

.sp-hero-back {
    position: absolute;
    top: 24px;
    left: 16px;
    z-index: 2;
}

.sp-hero-back a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: #44403c;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    backdrop-filter: blur(8px);
}

@media (min-width: 640px) {
    .sp-hero {
        height: 380px;
    }
}

/* Header card */
.sp-header-card {
    background: #fff;
    border: 1px solid #e7e5e4;
    border-radius: 16px;
    margin-top: -56px;
    position: relative;
    z-index: 2;
    padding: 20px 20px 18px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.sp-logo {
    width: 84px;
    height: 84px;
    border-radius: 14px;
    border: 3px solid #fff;
    background: #fafaf9;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    object-fit: cover;
    flex-shrink: 0;
    margin-top: -44px;
}

.sp-logo-fallback {
    width: 84px;
    height: 84px;
    border-radius: 14px;
    border: 3px solid #fff;
    background: linear-gradient(135deg, #fbbf24, #d97706);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
    margin-top: -44px;
}

.sp-header-main {
    flex: 1;
    min-width: 0;
}

.sp-name {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.sp-tagline {
    color: #78716c;
    font-size: 14.5px;
    margin-top: 4px;
}

.sp-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.sp-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.sp-badge--open {
    background: #dcfce7;
    color: #15803d;
}

.sp-badge--closed {
    background: #f5f5f4;
    color: #57534e;
}

.sp-badge--type {
    background: #fef3c7;
    color: #92400e;
}

.sp-badge--verified {
    background: #dbeafe;
    color: #1d4ed8;
}

.sp-badge--partner {
    background: #faf5ff;
    color: #7e22ce;
}

.sp-badge .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.sp-badge--open .dot {
    animation: sp-ping 1.5s infinite;
}

@keyframes sp-ping {
    0%, 100% { opacity: 1; }
    50% { opacity: .4; }
}

.sp-header-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.sp-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 14px;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 500;
    text-decoration: none;
    transition: all .15s;
    cursor: pointer;
    border: none;
}

.sp-btn--primary {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    box-shadow: 0 4px 10px rgba(217, 119, 6, .3);
}

.sp-btn--primary:hover {
    box-shadow: 0 6px 16px rgba(217, 119, 6, .4);
    transform: translateY(-1px);
}

.sp-btn--ghost {
    background: #fafaf9;
    color: #44403c;
    border: 1px solid #e7e5e4;
}

.sp-btn--ghost:hover {
    background: #f5f5f4;
}

/* Follow button — Section 12 */
.sp-follow-btn {
    cursor: pointer;
    transition: background-color .15s, color .15s, border-color .15s;
}
.sp-follow-btn[disabled] { opacity: .6; cursor: progress; }
.sp-follow-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 18px;
    padding: 0 6px;
    margin-left: 6px;
    background: rgba(30, 58, 138, .08);
    color: #1e3a8a;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}
.sp-btn--gold {
    background: linear-gradient(135deg, #ffea71, gold);
    color: #1e3a8a;
    border: 1px solid #ffd700;
    box-shadow: 0 2px 6px rgba(251, 191, 36, .3);
}
.sp-btn--gold:hover {
    background: linear-gradient(135deg, gold, #ffea71);
}
.sp-btn--gold .sp-follow-count {
    background: rgba(30, 58, 138, .18);
    color: #1e3a8a;
}
.sp-follow-icon {
    transition: fill .15s;
}

@media (max-width: 640px) {
    .sp-header-card {
        flex-direction: column;
    }

    .sp-header-actions {
        width: 100%;
    }

    .sp-btn {
        flex: 1;
        justify-content: center;
    }
}

/* Quick info bar */
.sp-quickbar {
    background: #fff;
    border: 1px solid #e7e5e4;
    border-radius: 14px;
    margin-top: 16px;
    padding: 14px 18px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
}

.sp-quickbar-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    min-width: 0;
}

.sp-quickbar-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #fef3c7;
    color: #b45309;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sp-quickbar-label {
    margin: 0;
    font-size: 11.5px;
    color: #a8a29e;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.sp-quickbar-value {
    margin: 2px 0 0 0;
    font-size: 14px;
    color: #1c1917;
    font-weight: 500;
    word-break: break-word;
}

.sp-quickbar-value a {
    color: #1c1917;
    text-decoration: none;
}

.sp-quickbar-value a:hover {
    color: #d97706;
}

/* Layout */
.sp-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
}

@media (min-width: 980px) {
    .sp-grid {
        grid-template-columns: 1fr 360px;
    }
}

.sp-card {
    background: #fff;
    border: 1px solid #e7e5e4;
    border-radius: 14px;
    padding: 22px;
}

.sp-card h2 {
    font-size: 18px;
    font-weight: 700;
    color: #1c1917;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sp-card h2 .icn {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #fef3c7;
    color: #b45309;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* About */
.sp-about p {
    color: #57534e;
    line-height: 1.7;
    font-size: 14.5px;
    white-space: pre-line;
}

/* Tap list */
.sp-tap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
}

.sp-tap-card {
    display: flex;
    gap: 12px;
    padding: 12px;
    border: 1px solid #f5f5f4;
    border-radius: 12px;
    transition: all .15s;
    text-decoration: none;
    color: inherit;
}

.sp-tap-card:hover {
    border-color: #fcd34d;
    background: #fffbeb;
}

.sp-tap-img {
    width: 54px;
    height: 54px;
    border-radius: 10px;
    object-fit: cover;
    background: #f5f5f4;
    flex-shrink: 0;
}

.sp-tap-fallback {
    width: 54px;
    height: 54px;
    border-radius: 10px;
    background: #f5f5f4;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a8a29e;
}

.sp-tap-name {
    font-size: 14px;
    font-weight: 600;
    color: #1c1917;
    line-height: 1.3;
    word-break: break-word;
}

.sp-tap-brewery {
    font-size: 12px;
    color: #78716c;
    margin-top: 2px;
}

.sp-tap-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
    align-items: center;
}

.sp-tap-tag {
    font-size: 10.5px;
    padding: 2px 6px;
    border-radius: 5px;
    font-weight: 600;
}

.sp-tap-tag--ontap {
    background: #fef3c7;
    color: #92400e;
}

.sp-tap-tag--instock {
    background: #dcfce7;
    color: #15803d;
}

.sp-tap-tag--bottle {
    background: #dbeafe;
    color: #1d4ed8;
}

.sp-tap-tag--can {
    background: #dcfce7;
    color: #15803d;
}

.sp-tap-tag--growler {
    background: #faf5ff;
    color: #7e22ce;
}

.sp-tap-tag--limited {
    background: #fef9c3;
    color: #854d0e;
}

.sp-tap-tag--soldout {
    background: #fee2e2;
    color: #991b1b;
}

.sp-tap-tag--seasonal {
    background: #cffafe;
    color: #0e7490;
}

.sp-tap-tag--discontinued {
    background: #e7e5e4;
    color: #44403c;
    text-decoration: line-through;
}

.sp-tap-price {
    font-size: 12.5px;
    font-weight: 700;
    color: #44403c;
    margin-left: auto;
}

/* Gallery */
.sp-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 8px;
}

.sp-gallery a {
    display: block;
    aspect-ratio: 1/1;
    overflow: hidden;
    border-radius: 10px;
}

.sp-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s;
}

.sp-gallery a:hover img {
    transform: scale(1.05);
}

/* Lightbox */
.sp-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(12, 10, 9, .92);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s;
}

.sp-lightbox.is-open {
    opacity: 1;
    pointer-events: auto;
}

.sp-lightbox img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 8px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, .5);
}

.sp-lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .15);
    color: #fff;
    border: none;
    font-size: 20px;
    cursor: pointer;
}

/* Amenities */
.sp-amenities {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
}

.sp-amenity {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #fafaf9;
    border: 1px solid #f5f5f4;
}

.sp-amenity-icon {
    font-size: 20px;
}

.sp-amenity-label {
    font-size: 13px;
    color: #44403c;
    font-weight: 500;
}

/* Payments */
.sp-payments {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.sp-pay-tag {
    padding: 5px 12px;
    border-radius: 999px;
    background: #f5f5f4;
    color: #44403c;
    font-size: 12.5px;
    font-weight: 500;
}

/* Hours */
.sp-hours-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sp-hours-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13.5px;
}

.sp-hours-row.is-today {
    background: #fffbeb;
    font-weight: 600;
}

.sp-hours-row .day {
    color: #44403c;
}

.sp-hours-row .time {
    color: #78716c;
}

.sp-hours-row.is-closed .time {
    color: #a8a29e;
    font-style: italic;
}

/* Map */
#sp-map {
    width: 100%;
    height: 280px;
    border-radius: 12px;
    z-index: 0;
}

.sp-map-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}
.sp-map-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 13px;
    background: #fafaf9;
    border: 1px solid #e7e5e4;
    border-radius: 100px;
    font-size: 12.5px;
    font-weight: 600;
    color: #57534e;
    text-decoration: none;
    transition: background-color .15s, border-color .15s, color .15s;
}
.sp-map-action:hover {
    background: #fef3c7;
    border-color: #fbbf24;
    color: #92400e;
}
.sp-map-action svg { color: #d97706; }

.sp-map-popup {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    min-width: 180px;
}

.sp-map-popup strong {
    display: block;
    font-size: 14px;
    color: #1c1917;
    line-height: 1.3;
}

.sp-map-popup-addr {
    font-size: 12.5px;
    color: #78716c;
    margin-top: 4px;
    line-height: 1.4;
}

.sp-map-popup-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
    padding: 6px 12px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(217, 119, 6, .3);
    transition: transform .15s, box-shadow .15s;
}

.sp-map-popup-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(217, 119, 6, .4);
    color: #fff !important;
}

.leaflet-popup-content-wrapper {
    border-radius: 10px;
}

.leaflet-popup-content {
    margin: 12px 14px;
}

/* Sidebar (sticky) */
.sp-sidebar {
    position: sticky;
    top: 24px;
    align-self: flex-start;
}

/* Social */
.sp-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sp-social-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 10px;
    background: #fafaf9;
    color: #44403c;
    border: 1px solid #e7e5e4;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all .15s;
}

.sp-social-btn:hover {
    background: #fef3c7;
    border-color: #fcd34d;
    color: #92400e;
}

.sp-social-btn svg {
    width: 14px;
    height: 14px;
}

/* Empty state */
.sp-empty {
    text-align: center;
    padding: 36px 16px;
    color: #a8a29e;
    font-size: 13.5px;
}

/* Disabled placeholders */
.sp-soon-card {
    background: #fafaf9;
    border: 1px dashed #d6d3d1;
    border-radius: 12px;
    padding: 18px;
    text-align: center;
    color: #78716c;
    font-size: 13px;
}

/* ----- Promotions & Events ----- */
.sp-promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}

.sp-promo-card {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e7e5e4;
    transition: transform .25s ease, box-shadow .25s ease, border-color .2s ease;
}

.sp-promo-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
    border-color: #fcd34d;
}

.sp-promo-card__media {
    position: relative;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    overflow: hidden;
}

.sp-promo-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sp-promo-card__media--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
}

.sp-promo-card__icon {
    font-size: 42px;
    line-height: 1;
}

.sp-promo-card__type {
    position: absolute;
    top: 10px;
    left: 10px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 100px;
    background: rgba(255, 255, 255, .92);
    color: #92400e;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .02em;
    text-transform: uppercase;
    backdrop-filter: blur(4px);
}

.sp-promo-card__status {
    position: absolute;
    top: 10px;
    right: 10px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .02em;
    text-transform: uppercase;
    backdrop-filter: blur(4px);
}

.sp-promo-card__status--live {
    background: rgba(220, 252, 231, .95);
    color: #14532d;
}

.sp-promo-card__status--live .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #16a34a;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, .2);
    animation: sp-promo-pulse 1.8s ease-in-out infinite;
}

@keyframes sp-promo-pulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(34, 197, 94, .2); }
    50%      { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
}

.sp-promo-card__status--upcoming {
    background: rgba(219, 234, 254, .95);
    color: #1d4ed8;
}

.sp-promo-card__media--empty .sp-promo-card__status {
    position: static;
    margin-top: 4px;
}

.sp-promo-card__media--empty .sp-promo-card__type {
    position: static;
    background: rgba(255, 255, 255, .75);
}

.sp-promo-card__body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sp-promo-card__title {
    font-size: 15px;
    font-weight: 700;
    color: #1c1917;
    line-height: 1.35;
    margin: 0;
}

.sp-promo-card__when {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #d97706;
    font-size: 12.5px;
    font-weight: 600;
    margin: 0;
}

.sp-promo-card__desc {
    font-size: 13px;
    color: #57534e;
    line-height: 1.55;
    margin: 0;
}

.sp-promo-card__terms {
    font-size: 11.5px;
    color: #a8a29e;
    line-height: 1.5;
    margin-top: 4px;
    padding-top: 8px;
    border-top: 1px dashed #e7e5e4;
}

.sp-promo-card__terms strong {
    color: #78716c;
    font-weight: 600;
}

/* ----- Featured tap list (poster cards) ----- */
.sp-feat-section h2 {
    flex-wrap: wrap;
    row-gap: 4px;
}

.sp-feat-subtitle {
    font-size: 12px;
    font-weight: 500;
    color: #a8a29e;
    letter-spacing: .01em;
    margin-left: 4px;
}

.sp-feat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 14px;
}

.sp-feat-card {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #f5f5f4;
    text-decoration: none;
    color: inherit;
    transition: transform .25s ease, box-shadow .25s ease, border-color .2s ease;
    isolation: isolate;
}

.sp-feat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 2;
    background: #fcd34d;
}

.sp-feat-card--st1::before { background: linear-gradient(90deg, #fbbf24, #f59e0b); }
.sp-feat-card--st2::before { background: linear-gradient(90deg, #60a5fa, #2563eb); }
.sp-feat-card--st3::before { background: linear-gradient(90deg, #4ade80, #16a34a); }
.sp-feat-card--st4::before { background: linear-gradient(90deg, #c084fc, #7e22ce); }

.sp-feat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px -12px rgba(120, 53, 15, .22);
    border-color: #fcd34d;
}

.sp-feat-card__media {
    position: relative;
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 60%, #fbbf24 100%);
    overflow: hidden;
}

.sp-feat-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.sp-feat-card:hover .sp-feat-card__media img {
    transform: scale(1.05);
}

.sp-feat-card__media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, .25) 100%);
    pointer-events: none;
}

.sp-feat-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(146, 64, 14, .55);
}

.sp-feat-card__type {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1;
    font-size: 10.5px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 999px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .12);
    letter-spacing: .02em;
}

.sp-feat-card__price {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1;
    background: rgba(28, 25, 23, .92);
    color: #fef3c7;
    font-weight: 700;
    font-size: 12.5px;
    padding: 4px 11px;
    border-radius: 999px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
}

.sp-feat-card__body {
    padding: 12px 14px 14px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.sp-feat-card__name {
    font-size: 14.5px;
    font-weight: 700;
    color: #1c1917;
    line-height: 1.3;
    word-break: break-word;
}

.sp-feat-card__brewery {
    font-size: 12px;
    color: #78716c;
    margin-top: 3px;
}

.sp-feat-card__foot {
    margin-top: auto;
    padding-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.sp-feat-card__size {
    font-size: 11px;
    color: #a8a29e;
    margin-left: auto;
}

.sp-feat-updated {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    padding: 5px 11px;
    background: #fafaf9;
    border: 1px solid #f5f5f4;
    border-radius: 999px;
    font-size: 11.5px;
    color: #78716c;
}

.sp-feat-updated svg {
    color: #b45309;
}

/* ----- Full inventory section ----- */
.sp-inv-count {
    margin-left: auto;
    font-size: 11.5px;
    font-weight: 600;
    color: #b45309;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    padding: 3px 12px;
    border-radius: 999px;
    border: 1px solid #fde68a;
}

.sp-inv-filters {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 18px;
    padding: 12px;
    background: #fafaf9;
    border: 1px solid #f5f5f4;
    border-radius: 14px;
}

@media (min-width: 480px) {
    .sp-inv-filters {
        grid-template-columns: 1fr 1fr;
    }

    .sp-inv-input-wrap {
        grid-column: 1 / -1;
    }
}

.sp-inv-input-wrap {
    position: relative;
    min-width: 0;
}

.sp-inv-input-wrap > svg {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #a8a29e;
    pointer-events: none;
}

.sp-inv-filters .sp-inv-input {
    box-sizing: border-box;
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 9px 12px;
    border: 1px solid #e7e5e4;
    border-radius: 10px;
    background: #fff;
    color: #1c1917;
    font-size: 13.5px;
    font-family: inherit;
    outline: none;
    transition: border-color .15s, box-shadow .15s;
    -webkit-appearance: none;
    appearance: none;
}

.sp-inv-filters .sp-inv-input--search {
    padding-left: 34px;
}

.sp-inv-input--search::-webkit-search-decoration,
.sp-inv-input--search::-webkit-search-cancel-button,
.sp-inv-input--search::-webkit-search-results-button,
.sp-inv-input--search::-webkit-search-results-decoration {
    -webkit-appearance: none;
    display: none;
}

.sp-inv-filters select.sp-inv-input {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23a8a29e' viewBox='0 0 24 24'><path stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/></svg>");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 14px 14px;
    padding-right: 32px;
    cursor: pointer;
}

.sp-inv-filters .sp-inv-input:focus {
    border-color: #fcd34d;
    box-shadow: 0 0 0 3px rgba(252, 211, 77, .25);
}

.sp-inv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 10px;
}

.sp-inv-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px 11px 16px;
    background: #fff;
    border: 1px solid #f5f5f4;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, background .15s ease;
    overflow: hidden;
}

.sp-inv-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: #d6d3d1;
    transition: background .15s;
}

.sp-inv-card[data-availability="1"]::before { background: #22c55e; }
.sp-inv-card[data-availability="2"]::before { background: #eab308; }
.sp-inv-card[data-availability="3"]::before { background: #ef4444; }
.sp-inv-card[data-availability="4"]::before { background: #06b6d4; }
.sp-inv-card[data-availability="5"]::before { background: #a8a29e; }

.sp-inv-card:hover {
    border-color: #fcd34d;
    background: #fffdf5;
    box-shadow: 0 6px 14px -8px rgba(120, 53, 15, .18);
    transform: translateX(2px);
}

.sp-inv-card__img,
.sp-inv-card__fallback {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    flex-shrink: 0;
    background: #f5f5f4;
}

.sp-inv-card__img {
    object-fit: cover;
}

.sp-inv-card__fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a8a29e;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
}

.sp-inv-card__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.sp-inv-card__name {
    font-size: 14px;
    font-weight: 600;
    color: #1c1917;
    line-height: 1.3;
    word-break: break-word;
}

.sp-inv-card__brewery {
    font-size: 12px;
    color: #78716c;
    margin-top: 2px;
}

.sp-inv-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
    align-items: center;
}

.sp-inv-card__size {
    font-size: 11px;
    color: #a8a29e;
}

.sp-inv-card__price {
    font-size: 13.5px;
    font-weight: 700;
    color: #92400e;
    background: #fef3c7;
    padding: 4px 10px;
    border-radius: 8px;
    flex-shrink: 0;
    align-self: center;
}

/* Mobile tuning for the public store profile */
@media (max-width: 640px) {
    .sp-wrap {
        padding: 0 12px;
    }

    .sp-hero {
        height: 220px;
    }

    .sp-hero-back a {
        padding: 5px 12px;
        font-size: 12.5px;
    }

    .sp-header-card {
        margin-top: -40px;
        padding: 16px;
        gap: 14px;
    }

    .sp-logo,
    .sp-logo-fallback {
        width: 64px;
        height: 64px;
        margin-top: -32px;
    }

    .sp-logo-fallback {
        font-size: 24px;
    }

    .sp-name {
        font-size: 22px;
        word-break: break-word;
    }

    .sp-tagline {
        font-size: 13.5px;
    }

    /* Buttons wrap to a new row instead of squeezing */
    .sp-header-actions .sp-btn {
        flex: 1 1 130px;
        padding: 8px 12px;
        font-size: 13px;
    }

    .sp-quickbar {
        padding: 12px;
        gap: 10px;
    }

    /* Smaller amber chip on mobile, top-aligned with the label */
    .sp-quickbar-item {
        gap: 10px;
    }

    .sp-quickbar-icon {
        width: 26px;
        height: 26px;
        border-radius: 8px;
        /* color + amber background inherited from desktop rule */
    }

    .sp-quickbar-icon svg {
        width: 14px;
        height: 14px;
    }

    .sp-quickbar-label {
        font-size: 11px;
    }

    .sp-quickbar-value {
        font-size: 13.5px;
    }

    .sp-grid {
        gap: 14px;
        margin-top: 14px;
    }

    .sp-card {
        padding: 16px;
    }

    /* Allow card titles with trailing badges/counts to wrap */
    .sp-card h2 {
        font-size: 16px;
        margin-bottom: 12px;
        flex-wrap: wrap;
        row-gap: 6px;
    }

    .sp-inv-count {
        font-size: 11px;
        padding: 2px 8px;
    }

    #sp-map {
        height: 220px;
    }

    .sp-tap-card {
        padding: 10px;
        gap: 10px;
    }

    .sp-feat-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 10px;
    }

    .sp-feat-card__body {
        padding: 10px 12px 12px;
    }

    .sp-feat-card__name {
        font-size: 13.5px;
    }

    .sp-feat-card__price {
        font-size: 11.5px;
        padding: 3px 9px;
    }

    .sp-feat-subtitle {
        flex-basis: 100%;
        margin-left: 0;
    }

    .sp-inv-grid {
        grid-template-columns: 1fr;
    }

    .sp-inv-card {
        padding: 10px 12px 10px 14px;
        gap: 10px;
    }

    .sp-inv-card__img,
    .sp-inv-card__fallback {
        width: 50px;
        height: 50px;
    }

    .sp-inv-card__price {
        font-size: 12.5px;
        padding: 3px 8px;
    }

    .sp-inv-filters {
        padding: 10px;
    }
}

/* =====================================================
   Support ticket system  (light theme — matches Beer People / Beer Pro)
   ===================================================== */
.support-page-wrapper {
    background: #f4f6f9;
    min-height: 70vh;
    padding: 64px 16px;
    font-family: "Montserrat", sans-serif;
}
.support-container {
    max-width: 780px;
    margin: 0 auto;
}
.support-header {
    text-align: center;
    margin-bottom: 36px;
}
.support-header h1 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 900;
    line-height: 1.15;
    margin: 0 0 14px;
    font-family: "Montserrat", sans-serif;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.support-header p {
    color: #555;
    font-size: 16px;
    line-height: 1.7;
    margin: 0 auto 16px;
    max-width: 560px;
}
.support-track-link,
.support-back {
    display: inline-block;
    color: #1e3a8a;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.support-track-link:hover,
.support-back:hover { color: #3b82f6; }
.support-back { margin-bottom: 6px; }

.support-form {
    background: #fff;
    border: 1px solid #eef1f5;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}
.support-form-row {
    display: flex;
    gap: 18px;
}
.support-form-row .support-form-group { flex: 1; }
.support-form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}
.support-form-group label {
    color: #1f2937;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 7px;
}
.support-form-group small {
    color: #888;
    font-size: 12px;
    margin-top: 6px;
}
.support-form-group input[type=text],
.support-form-group input[type=email],
.support-form-group select,
.support-form-group textarea {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    color: #1f2937;
    padding: 12px 14px;
    font-size: 15px;
    width: 100%;
    box-sizing: border-box;
    font-family: "Montserrat", sans-serif;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.support-form-group textarea { resize: vertical; }
.support-form-group input:focus,
.support-form-group select:focus,
.support-form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}
.support-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.support-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #111;
    color: #ffd700;
    font-family: "Montserrat", sans-serif;
    font-weight: 800;
    font-size: 14px;
    border: 1px solid #111;
    border-radius: 50px;
    padding: 14px 32px;
    cursor: pointer;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.25s ease;
}
.support-btn:hover {
    background: #ffd700;
    color: #111;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.support-btn-block {
    width: 100%;
    margin-top: 6px;
}
.support-errors {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 22px;
}
.support-errors ul { margin: 0; padding-left: 18px; }
.support-flash-success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #15803d;
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 22px;
    font-weight: 600;
}
.support-success {
    background: #fff;
    border: 1px solid #eef1f5;
    border-radius: 16px;
    padding: 56px 28px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}
.support-success i {
    color: #16a34a;
    font-size: 56px;
    margin-bottom: 16px;
}
.support-success h2 {
    font-size: clamp(24px, 3.5vw, 34px);
    font-weight: 900;
    margin: 0 0 12px;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.support-success p { color: #555; margin: 0 0 20px; }
.support-ticket-code {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 3px;
    color: #1f2937;
    background: #fffbe6;
    border: 1px dashed #ffd700;
    border-radius: 12px;
    padding: 16px;
    margin: 0 auto 24px;
    max-width: 340px;
}

/* Ticket view / thread */
.support-ticket-view {
    background: #fff;
    border: 1px solid #eef1f5;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}
.support-ticket-head h1 {
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 900;
    margin: 10px 0 12px;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.support-ticket-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 8px;
}
.support-ticket-code-inline {
    font-family: monospace;
    color: #1e3a8a;
    font-size: 14px;
    font-weight: 700;
}
.support-cat, .support-date {
    color: #888;
    font-size: 13px;
}
.support-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.support-badge.st-open { background: #dbeafe; color: #1d4ed8; }
.support-badge.st-in-progress { background: #fef3c7; color: #b45309; }
.support-badge.st-waiting-customer { background: #ffedd5; color: #c2410c; }
.support-badge.st-resolved { background: #dcfce7; color: #15803d; }
.support-badge.st-closed { background: #f1f5f9; color: #64748b; }

.support-thread {
    margin: 24px 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.support-msg {
    border-radius: 14px;
    padding: 16px 18px;
    border: 1px solid #eef1f5;
}
.support-msg-user { background: #f8fafc; }
.support-msg-admin {
    background: #eff6ff;
    border-color: #bfdbfe;
    border-left: 4px solid #3b82f6;
}
.support-msg-author {
    font-size: 13px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 6px;
}
.support-msg-author span {
    font-weight: 400;
    color: #888;
    margin-left: 8px;
}
.support-msg-body {
    color: #444;
    font-size: 15px;
    line-height: 1.6;
}
.support-attach {
    display: inline-block;
    margin-top: 10px;
    color: #1e3a8a;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}
.support-attach:hover { text-decoration: underline; }
.support-reply-form { margin-top: 8px; }
.support-closed-note {
    margin-top: 18px;
    color: #888;
    font-style: italic;
    text-align: center;
}

/* My Tickets (account area) */
.my-tickets-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 22px;
}
.my-tickets-header h2 {
    margin: 0;
    font-weight: 900;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.my-tickets-empty {
    text-align: center;
    padding: 56px 20px;
    color: #888;
    background: #fff;
    border: 1px solid #eef1f5;
    border-radius: 16px;
}
.my-tickets-empty i { font-size: 44px; margin-bottom: 12px; color: #cbd5e1; }
.my-tickets-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.my-ticket-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    background: #fff;
    border: 1px solid #eef1f5;
    border-left: 4px solid #ffd700;
    border-radius: 14px;
    padding: 18px 20px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}
.my-ticket-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
    border-color: #eef1f5;
    border-left-color: #ffd700;
}
.my-ticket-main {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}
.my-ticket-code {
    font-family: monospace;
    color: #1e3a8a;
    font-size: 13px;
    font-weight: 700;
}
.my-ticket-subject {
    color: #1f2937;
    font-size: 15px;
    font-weight: 700;
}
.my-ticket-cat { color: #888; font-size: 13px; }
.my-ticket-side {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-end;
}
.my-ticket-date { color: #888; font-size: 12px; }

/* ============================================================
   BEER DETAIL — "Where to Buy" section
   Themed to match the beer details page: blue/gold accents,
   Montserrat headings, gold-tinted left accent.
   ============================================================ */
.where-to-buy {
    margin: 28px 0 36px;
    padding: 22px 24px 24px;
    background: #fff;
    border: 1px solid #e7e5e4;
    border-radius: 16px;
    border-left: 4px solid #ffd700;
    box-shadow: 0 8px 20px rgba(30, 58, 138, .06);
}
.wtb-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f5f5f4;
}
.wtb-title {
    margin: 0;
    font-family: 'Montserrat', 'Segoe UI', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #1e3a8a;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -.01em;
}
.wtb-title i { color: #ffd700; }
.wtb-all {
    font-size: 13px;
    font-weight: 600;
    color: #3b82f6;
    text-decoration: none;
}
.wtb-all:hover { color: #1e40af; text-decoration: underline; }
.wtb-empty {
    padding: 16px;
    background: #fafaf9;
    border: 1px dashed #d6d3d1;
    border-radius: 10px;
    color: #57534e;
    font-size: 13.5px;
    text-align: center;
}
.wtb-empty a { color: #3b82f6; font-weight: 600; }
.wtb-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 12px;
}
.wtb-item {
    display: flex;
    align-items: stretch;
    background: #fff;
    border: 1px solid #e7e5e4;
    border-radius: 12px;
    overflow: hidden;
    transition: border-color .15s, box-shadow .15s, transform .15s;
}
.wtb-item:hover {
    border-color: #3b82f6;
    box-shadow: 0 6px 18px rgba(30, 58, 138, .12);
    transform: translateY(-1px);
}
.wtb-item__main {
    flex: 1;
    display: flex;
    gap: 12px;
    padding: 12px;
    text-decoration: none;
    color: inherit;
    min-width: 0;
}
.wtb-logo {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    object-fit: cover;
    background: #fff;
    flex-shrink: 0;
}
.wtb-logo--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    background: linear-gradient(135deg, #ffea71, #ffd700);
    color: #1e3a8a;
}
.wtb-item__body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    flex: 1;
}
.wtb-item__top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
}
.wtb-name {
    color: #1e3a8a;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    min-width: 0;
}
.wtb-cat {
    font-size: 11px;
    color: #57534e;
    background: rgba(30, 58, 138, .06);
    border: 1px solid rgba(30, 58, 138, .15);
    border-radius: 100px;
    padding: 1px 8px;
    white-space: nowrap;
    flex-shrink: 0;
}
.wtb-addr {
    margin: 0;
    color: #78716c;
    font-size: 12px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.wtb-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 4px;
}
.wtb-tag {
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 100px;
    background: #f5f5f4;
    color: #57534e;
}
.wtb-tag--instock { background: #dcfce7; color: #15803d; }
.wtb-tag--limited { background: #fff8d8; color: #1e3a8a; }
.wtb-tag--soldout { background: #fee2e2; color: #b91c1c; }
.wtb-tag--seasonal { background: #dbeafe; color: #1d4ed8; }
.wtb-tag--discontinued { background: #e7e5e4; color: #57534e; }
.wtb-tag--price {
    background: linear-gradient(135deg, #ffea71, gold);
    color: #1e3a8a;
}
.wtb-tag--serve { background: #fff; border: 1px solid #e7e5e4; }
.wtb-tag--size { background: #fff; border: 1px solid #e7e5e4; }

.wtb-dir {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    background: #fff;
    border-left: 1px solid #e7e5e4;
    color: #78716c;
    font-size: 16px;
    text-decoration: none;
    transition: background-color .15s, color .15s;
}
.wtb-dir:hover {
    background: linear-gradient(135deg, #ffea71, gold);
    color: #1e3a8a;
}

/* ============================================================
   STORE / BEER FINDER (public)
   Themed to match the beer details page — blue/gold palette,
   Montserrat headings, deep shadows.
   ============================================================ */
.sf-page {
    background: #f6f7fb;
    min-height: 100vh;
}

.sf-page-head {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 60%, #3b82f6 100%);
    color: #fff;
    padding: 42px 20px 36px;
    position: relative;
    overflow: hidden;
}
.sf-page-head::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(255, 215, 0, .18), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.sf-page-head--beer {
    background: linear-gradient(135deg, #0f1e4a 0%, #1e3a8a 50%, #1e40af 100%);
}
.sf-page-head__inner {
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.sf-page-head h1 {
    font-family: 'Roboto', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px;
    position: relative;
    display: inline-block;
}
.sf-page-head h1::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #ffd700, #ffea71);
    border-radius: 2px;
}
.sf-page-head p {
    margin: 14px 0 0;
    color: rgba(255, 255, 255, .88);
    font-size: 15px;
    max-width: 640px;
    line-height: 1.55;
}

/* Filter bar */
.sf-filters {
    max-width: 1280px;
    margin: -20px auto 0;
    padding: 16px 20px 0;
    position: relative;
    z-index: 2;
}
.sf-filters__primary {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    background: #fff;
    border: 1px solid #e7e5e4;
    border-radius: 16px;
    padding: 12px;
    box-shadow: 0 12px 32px rgba(30, 58, 138, .12);
}
.sf-search-input {
    position: relative;
    flex: 1 1 280px;
    min-width: 220px;
}

.sf-location-picker select {
    padding: 9px 32px 9px 36px;
    border: 1px solid #d6d3d1;
    border-radius: 9px;
    font-size: 13.5px;
    background: #fff url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%231e40af' stroke-width='2' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M17.657 16.657L13.414 20.9a1.998 1.998 0 01-2.827 0l-4.244-4.243a8 8 0 1111.314 0z'/%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M15 11a3 3 0 11-6 0 3 3 0 016 0z'/%3E%3C/svg%3E") no-repeat 10px center / 16px,
                url("data:image/svg+xml,%3Csvg viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231e3a8a' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 10px center / 10px,
                #fff;
    color: #1e3a8a;
    font-weight: 500;
    cursor: pointer;
    appearance: none;
    outline: none;
    min-width: 170px;
}
.sf-location-picker select:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, .18);
}

/* Active location banner */
.sf-active-location {
    max-width: 1280px;
    margin: 14px auto 0;
    padding: 0 20px;
}
.sf-active-location__inner {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px 8px 12px;
    background: linear-gradient(135deg, #ffea71, gold);
    border: 1px solid rgba(255, 215, 0, .6);
    border-radius: 100px;
    font-size: 13px;
    color: #1e3a8a;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(251, 191, 36, .25);
}
.sf-active-location__inner svg { color: #1e3a8a; }
.sf-active-location__inner strong { color: #0f1e4a; font-weight: 800; }
.sf-active-location__saved {
    color: #1e40af;
    font-size: 10.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    background: rgba(30, 58, 138, .12);
    padding: 2px 8px;
    border-radius: 100px;
}
.sf-active-location__clear {
    background: transparent;
    border: 0;
    border-left: 1px solid rgba(30, 58, 138, .25);
    margin-left: 4px;
    padding: 0 0 0 10px;
    color: #1e40af;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
}
.sf-active-location__clear:hover { color: #0f1e4a; text-decoration: underline; }
.sf-search-input > svg {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #1e40af;
    pointer-events: none;
}
.sf-search-input input[type="search"],
.sf-search-input input[type="text"] {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px 10px 36px;
    border: 1px solid #d6d3d1;
    border-radius: 9px;
    font-size: 14px;
    outline: none;
    color: #1e3a8a;
    transition: border-color .15s, box-shadow .15s;
}
.sf-search-input input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, .18);
}

.sf-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    border-radius: 9px;
    border: 1px solid transparent;
    background: transparent;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color .15s, border-color .15s, color .15s, transform .15s, box-shadow .15s;
    line-height: 1;
    text-decoration: none;
    color: inherit;
    font-family: 'Montserrat', 'Segoe UI', sans-serif;
}
.sf-btn--primary {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    color: #fff;
    box-shadow: 0 4px 12px rgba(59, 130, 246, .35);
}
.sf-btn--primary:hover {
    background: linear-gradient(135deg, #1e40af, #1e3a8a);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(30, 64, 175, .45);
}
.sf-btn--primary:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.sf-btn--ghost {
    border-color: #d6d3d1;
    background: #fff;
    color: #1e3a8a;
}
.sf-btn--ghost:hover { background: #f6f7fb; border-color: #3b82f6; color: #1e40af; }
.sf-btn--ghost.is-active {
    background: linear-gradient(135deg, #ffea71, gold);
    border-color: #ffd700;
    color: #1e3a8a;
    box-shadow: 0 4px 10px rgba(251, 191, 36, .3);
}
.sf-btn--text {
    background: transparent;
    color: #78716c;
    font-weight: 600;
}
.sf-btn--text:hover { color: #1e40af; }

.sf-filters__secondary {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    padding: 12px 4px 0;
}
.sf-filters__secondary select {
    padding: 7px 30px 7px 12px;
    border: 1px solid #d6d3d1;
    border-radius: 8px;
    background: #fff url("data:image/svg+xml,%3Csvg viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231e3a8a' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 10px center / 10px;
    font-size: 13px;
    color: #1e3a8a;
    font-weight: 500;
    appearance: none;
    outline: none;
    cursor: pointer;
}
.sf-filters__secondary select:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, .18);
}
.sf-filters__secondary select:disabled { opacity: .5; cursor: not-allowed; }

.sf-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border: 1px solid #d6d3d1;
    border-radius: 100px;
    background: #fff;
    font-size: 12.5px;
    color: #57534e;
    cursor: pointer;
    user-select: none;
    transition: background-color .15s, border-color .15s, color .15s;
}
.sf-chip input { display: none; }
.sf-chip:hover { background: #f6f7fb; }
.sf-chip:has(input:checked) {
    background: linear-gradient(135deg, #ffea71, gold);
    border-color: #ffd700;
    color: #1e3a8a;
    font-weight: 700;
}

.sf-amenities-wrap {
    position: relative;
}
.sf-amenities-wrap summary {
    list-style: none;
    cursor: pointer;
    padding: 7px 14px;
    border: 1px solid #d6d3d1;
    border-radius: 100px;
    background: #fff;
    font-size: 12.5px;
    color: #57534e;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.sf-amenities-wrap summary::-webkit-details-marker { display: none; }
.sf-amenities-count {
    background: #3b82f6;
    color: #fff;
    border-radius: 100px;
    font-size: 10.5px;
    padding: 1px 7px;
    font-weight: 700;
}
.sf-amenities-grid {
    margin-top: 10px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 6px;
    padding: 12px;
    background: #fff;
    border: 1px solid #e7e5e4;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(30, 58, 138, .12);
    position: absolute;
    z-index: 30;
    min-width: 460px;
    max-width: min(640px, 90vw);
}
.sf-chip--amenity {
    width: 100%;
    justify-content: flex-start;
}

/* Body: list + map split */
.sf-body {
    max-width: 1280px;
    margin: 18px auto 0;
    padding: 0 20px 60px;
    display: grid;
    grid-template-columns: minmax(0, 420px) 1fr;
    gap: 20px;
    align-items: stretch;
}
.sf-list {
    background: transparent;
    min-width: 0;
}
.sf-list-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 6px 12px;
}
.sf-list-head p {
    margin: 0;
    font-size: 13.5px;
    color: #57534e;
}
.sf-list-head strong { color: #1e3a8a; }
.sf-list-tabs {
    display: none;
    background: #e7e5e4;
    border-radius: 100px;
    padding: 3px;
}
.sf-list-tab {
    border: 0;
    background: transparent;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 12.5px;
    font-weight: 600;
    color: #57534e;
    cursor: pointer;
}
.sf-list-tab.is-active {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    color: #fff;
    box-shadow: 0 2px 6px rgba(30, 64, 175, .25);
}

.sf-cards {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: calc(100vh - 240px);
    overflow-y: auto;
    padding-right: 4px;
}
.sf-card {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 12px;
    background: #fff;
    border: 1px solid #e7e5e4;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color .15s, box-shadow .15s, transform .15s;
}
.sf-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 8px 24px rgba(30, 58, 138, .14);
    transform: translateY(-1px);
}
.sf-card.is-active {
    border-color: #ffd700;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, .35), 0 8px 24px rgba(30, 58, 138, .14);
}

.sf-card__media {
    position: relative;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    min-height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #ffd700;
}
.sf-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.sf-card__media img.is-logo {
    width: 70%;
    height: 70%;
    object-fit: contain;
}
.sf-card__media-empty {
    font-size: 36px;
}
.sf-card__promo-tag {
    position: absolute;
    top: 7px;
    left: 7px;
    background: linear-gradient(135deg, #ffea71, gold);
    border-radius: 100px;
    padding: 3px 9px;
    font-size: 10.5px;
    font-weight: 800;
    color: #1e3a8a;
    text-transform: uppercase;
    letter-spacing: .04em;
    box-shadow: 0 2px 6px rgba(251, 191, 36, .35);
}

.sf-card__body {
    padding: 12px 14px 12px 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}
.sf-card__top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
}
.sf-card__name {
    color: #1e3a8a;
    font-weight: 700;
    font-size: 14.5px;
    line-height: 1.3;
    text-decoration: none;
    font-family: 'Montserrat', 'Segoe UI', sans-serif;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.sf-card__name:hover { color: #3b82f6; }
.sf-card__distance {
    font-size: 12px;
    color: #1e40af;
    font-weight: 800;
    flex-shrink: 0;
    background: rgba(59, 130, 246, .08);
    padding: 2px 8px;
    border-radius: 100px;
}
.sf-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    align-items: center;
}
.sf-card__type, .sf-card__badge, .sf-card__avail, .sf-card__serve, .sf-card__price {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 100px;
    background: rgba(30, 58, 138, .06);
    color: #1e3a8a;
}
.sf-card__badge--verified { background: #dcfce7; color: #15803d; }
.sf-card__badge--partner {
    background: linear-gradient(135deg, #ffea71, gold);
    color: #1e3a8a;
}
.sf-card__avail--instock { background: #dcfce7; color: #15803d; }
.sf-card__avail--limited { background: #fff8d8; color: #92400e; }
.sf-card__avail--soldout { background: #fee2e2; color: #b91c1c; }
.sf-card__avail--seasonal { background: #dbeafe; color: #1d4ed8; }
.sf-card__avail--discontinued { background: #e7e5e4; color: #57534e; }
.sf-card__price {
    background: linear-gradient(135deg, #ffea71, gold);
    color: #1e3a8a;
    font-weight: 700;
}

.sf-card__addr {
    margin: 0;
    color: #78716c;
    font-size: 12px;
    line-height: 1.4;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.sf-card__actions {
    display: flex;
    gap: 12px;
    margin-top: 2px;
}
.sf-link {
    color: #3b82f6;
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none;
}
.sf-link:hover { color: #1e40af; text-decoration: underline; }
.sf-link--muted { color: #78716c; font-weight: 600; }
.sf-link--muted:hover { color: #1e40af; }

.sf-empty {
    background: #fff;
    border: 1px dashed #d6d3d1;
    border-radius: 16px;
    padding: 36px 24px;
    text-align: center;
    color: #57534e;
}
.sf-empty svg { color: #c7d2fe; margin: 0 auto 12px; }
.sf-empty h3 {
    margin: 0 0 6px;
    color: #1e3a8a;
    font-size: 17px;
    font-family: 'Montserrat', 'Segoe UI', sans-serif;
    font-weight: 700;
}
.sf-empty p { margin: 0 0 16px; font-size: 13.5px; }

/* Map column */
.sf-map {
    position: sticky;
    top: 20px;
    height: calc(100vh - 220px);
    min-height: 480px;
    border-radius: 16px;
    overflow: hidden;
    background: #e7e5e4;
    border: 1px solid #e7e5e4;
    box-shadow: 0 8px 24px rgba(30, 58, 138, .08);
}
.sf-map-empty {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #a8a29e;
    text-align: center;
    padding: 20px;
}
.sf-map-empty svg { margin-bottom: 10px; color: #c7d2fe; }
.sf-map-empty p { margin: 0; font-size: 13.5px; }

/* Leaflet pins */
.sf-pin {
    background: #fff;
    border: 2px solid #3b82f6;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(30, 58, 138, .25);
}
.sf-pin > span {
    transform: rotate(45deg);
    font-size: 16px;
    line-height: 1;
}
.sf-pin--promo { border-color: #ffd700; background: linear-gradient(135deg, #ffea71, gold); }
.sf-pin--user { border-color: #1e40af; background: #dbeafe; }
.sf-pin--instock { border-color: #16a34a; }
.sf-pin--limited { border-color: #d97706; }
.sf-pin--soldout { border-color: #dc2626; }
.sf-pin--seasonal { border-color: #2563eb; }
.sf-pin--discontinued { border-color: #78716c; }

.sf-popup {
    min-width: 200px;
    font-family: inherit;
}
.sf-popup__head {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 8px;
}
.sf-popup__logo {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    object-fit: cover;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
}
.sf-popup__logo--icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #ffd700;
}
.sf-popup strong {
    color: #1e3a8a;
    font-size: 14px;
    font-family: 'Montserrat', 'Segoe UI', sans-serif;
}
.sf-popup p {
    margin: 2px 0 0;
    font-size: 11.5px;
    color: #78716c;
}
.sf-popup__price {
    color: #1e3a8a !important;
    font-weight: 800;
    margin: 4px 0 !important;
    font-size: 13px !important;
    background: linear-gradient(135deg, #ffea71, gold);
    display: inline-block;
    padding: 2px 10px;
    border-radius: 100px;
}
.sf-popup__promo {
    display: inline-block;
    background: linear-gradient(135deg, #ffea71, gold);
    color: #1e3a8a;
    padding: 2px 8px;
    border-radius: 100px;
    font-size: 10.5px;
    font-weight: 800;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.sf-popup__cta {
    display: inline-block;
    color: #3b82f6;
    font-weight: 700;
    font-size: 12.5px;
    text-decoration: none;
    margin-top: 4px;
}
.sf-popup__cta:hover { color: #1e40af; text-decoration: underline; }

/* Beer finder picker */
.fb-picker { position: relative; }
.fb-picker__selected {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 36px 6px 10px;
    background: linear-gradient(135deg, rgba(255, 234, 113, .4), rgba(255, 215, 0, .3));
    border: 1px solid #ffd700;
    border-radius: 9px;
    position: relative;
}
.fb-picker__selected img {
    width: 36px;
    height: 36px;
    object-fit: cover;
    border-radius: 6px;
    background: #fff;
    flex-shrink: 0;
}
.fb-picker__selected-text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; flex: 1; }
.fb-picker__selected-text strong { font-size: 13.5px; color: #1e3a8a; font-family: 'Montserrat', 'Segoe UI', sans-serif; }
.fb-picker__selected-text span { font-size: 11.5px; color: #57534e; }
.fb-picker__clear {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: 0;
    font-size: 20px;
    color: #1e40af;
    cursor: pointer;
    line-height: 1;
    padding: 4px 8px;
}
.fb-picker__clear:hover { color: #dc2626; }

.fb-picker__results {
    position: absolute;
    z-index: 50;
    list-style: none;
    margin: 4px 0 0;
    padding: 4px;
    background: #fff;
    border: 1px solid #e7e5e4;
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(30, 58, 138, .18);
    width: 100%;
    max-height: 320px;
    overflow-y: auto;
}
.fb-picker__result {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 8px;
    cursor: pointer;
}
.fb-picker__result:hover { background: rgba(59, 130, 246, .06); }
.fb-picker__result img,
.fb-picker__placeholder {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    object-fit: cover;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    color: #ffd700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}
.fb-picker__result-text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.fb-picker__result-text strong { font-size: 13.5px; color: #1e3a8a; font-family: 'Montserrat', 'Segoe UI', sans-serif; }
.fb-picker__result-text em { font-size: 11.5px; color: #78716c; font-style: normal; }
.fb-picker__no-results { padding: 14px; color: #a8a29e; font-size: 13px; text-align: center; }

.fb-price-range {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    border: 1px solid #d6d3d1;
    border-radius: 9px;
    padding: 3px 8px;
}
.fb-price-range input {
    border: 0;
    width: 70px;
    padding: 5px 4px;
    outline: none;
    font-size: 13px;
    color: #1e3a8a;
    font-weight: 500;
}
.fb-price-range input::-webkit-outer-spin-button,
.fb-price-range input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.fb-price-range span { color: #1e40af; font-size: 13px; font-weight: 700; }

.fb-prompt {
    max-width: 540px;
    margin: 60px auto;
    text-align: center;
    padding: 0 20px;
    color: #57534e;
}
.fb-prompt svg { color: #c7d2fe; margin: 0 auto 18px; }
.fb-prompt h2 {
    color: #1e3a8a;
    font-size: 26px;
    font-weight: 800;
    margin: 0 0 10px;
    font-family: 'Montserrat', 'Segoe UI', sans-serif;
    letter-spacing: -.02em;
}
.fb-prompt p { margin: 0 0 4px; font-size: 14.5px; line-height: 1.55; }
.fb-prompt__alt { margin-top: 18px !important; }
.fb-prompt__alt a { color: #3b82f6; font-weight: 700; }

/* Mobile responsive */
.sf-mobile-only { display: none; }

@media (max-width: 900px) {
    .sf-body {
        grid-template-columns: 1fr;
    }
    .sf-list-tabs { display: inline-flex; }
    .sf-mobile-only { display: inline-flex; }
    .sf-body[data-mobile-view="map"] .sf-list .sf-cards,
    .sf-body[data-mobile-view="map"] .sf-empty { display: none; }
    .sf-body[data-mobile-view="list"] .sf-map { display: none; }
    .sf-body:not([data-mobile-view="map"]) .sf-map {
        display: none;
    }
    .sf-cards { max-height: none; }
    .sf-map { position: static; height: 60vh; min-height: 380px; }
    .sf-filters__secondary {
        max-height: 0;
        overflow: hidden;
        padding: 0 4px;
        transition: max-height .25s ease;
    }
    .sf-filters__secondary.is-open {
        max-height: 600px;
        padding: 12px 4px 0;
        overflow: visible;
    }
    .sf-amenities-grid { min-width: 0; left: 0; right: 0; }
}

@media (max-width: 600px) {
    .sf-page-head { padding: 28px 16px 24px; }
    .sf-page-head h1 { font-size: 22px; }
    .sf-page-head p { font-size: 13.5px; }
    .sf-filters { padding: 12px 14px 0; }
    .sf-body { padding: 0 14px 40px; }
    .sf-card { grid-template-columns: 90px 1fr; }
    .sf-card__media { min-height: 90px; }
}

@media (max-width: 600px) {
    .support-form-row { flex-direction: column; gap: 0; }
    .support-form { padding: 22px; }
    .support-page-wrapper { padding: 40px 14px; }
}