/* Theme Extracted CSS */

/*h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Libre Bodoni", Sans-serif !important;
}*/

.text-hyper-red {
    color: var(--ouro, #CAA55F) !important;
}

.text-hyper-green {
    color: #000000 !important;
}

.text-hyper-amarelo {
    color: #F2C75C !important;
}

.text-hyper-cream {
    color: #F9F9F9 !important;
}

.bg-hyper-cream {
    background-color: #F9F9F9 !important;
}

.fill-hyper-orange {
    fill: var(--ouro, #CAA55F) !important;
    color: var(--ouro, #CAA55F) !important;
}

.fill-hyper-orange path,
.fill-hyper-orange circle,
.fill-hyper-orange rect,
.fill-hyper-orange polygon {
    /*fill: #F97316 !important;*/
}

.text-black a {
    color: #000000 !important;
    text-decoration: none !important;
}

/* PCG: dourado com texto escuro, 8,2:1 (era o coral do Kingdom com texto branco) */
.bg-hyper-red {
    background-color: var(--ouro, #CAA55F) !important;
    color: var(--fundo, #120F0C) !important;
}

.bg-hyper-green {
    background-color: #000000 !important;
}

.hover\:text-hyper-dark-red:hover {
    color: var(--ouro, #CAA55F) !important;
}

/* Hero Banner Header */

.hyper-hero-title {
    font-size: 40px !important;
}

.hyper-hero-banner a:hover {
    color: var(--ouro, #CAA55F) !important;
}

/* ===== Cards de /all-locations/, estado e cidade (KGS-73) =====
   Os três níveis usam a MESMA anatomia (mesmo padrão do Hyper, HYP-84): título + linha
   secundária no corpo, ação no rodapé sempre na base. O card inteiro clica pelo ::after do link
   do título; o «Get Directions» do card de loja fica por cima (z-index). Grade em flex-wrap, e
   não grid, para a última linha incompleta ficar centralizada sob o hero centralizado.
   Card escuro (#1a1a1a, o «escuro» da marca) — era #000 nos dois cards antigos. */
.ks-loc-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ks-loc-grid > .ks-loc-card {
    flex: 0 0 100%;
}

@media (min-width: 640px) {
    .ks-loc-grid > .ks-loc-card {
        flex-basis: calc((100% - 24px) / 2);
    }
}

@media (min-width: 1024px) {
    .ks-loc-grid--3 > .ks-loc-card {
        flex-basis: calc((100% - 48px) / 3);
    }

    .ks-loc-grid--4 > .ks-loc-card {
        flex-basis: calc((100% - 72px) / 4);
    }
}

.ks-loc-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 24px;
    background: #1a1a1a;
    border: 1px solid rgba(250, 249, 247, 0.08);
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2), 0 2px 4px -1px rgba(0, 0, 0, 0.1);
    color: rgba(250, 249, 247, 0.72);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.ks-loc-card:hover {
    transform: translateY(-3px);
    border-color: rgba(202, 165, 95, 0.55);
    box-shadow: 0 14px 24px -10px rgba(0, 0, 0, 0.35), 0 4px 6px -2px rgba(0, 0, 0, 0.1);
}

.ks-loc-card__body {
    margin-bottom: 20px;
}

/* Libre Bodoni vem da regra global de h1–h6 (!important); aqui só tamanho, peso e cor */
.ks-loc-card__title {
    margin: 0;
    font-size: 1.375rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0;
    text-wrap: balance;
    color: #faf9f7;
    transition: color 0.3s ease;
}

.ks-loc-card:hover .ks-loc-card__title {
    color: var(--ouro-vivo, #E2C07A);
}

.ks-loc-card__link,
.ks-loc-card__link:hover,
.ks-loc-card__link:focus {
    color: inherit;
    text-decoration: none;
}

.ks-loc-card__link::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 12px;
}

/* O anel global (ks-custom.css, :root body :focus-visible) desenharia em volta só do texto do
   título; aqui ele passa para o card inteiro, com as mesmas cores. */
:root body .ks-loc-card__link:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}

.ks-loc-card__link:focus-visible::after {
    outline: 3px solid var(--ouro, #CAA55F);
    outline-offset: 2px;
    box-shadow: 0 0 0 2px #fff;
}

.ks-loc-card__meta {
    margin: 6px 0 0;
    font-size: 0.9375rem;
    line-height: 1.5;
    color: rgba(250, 249, 247, 0.72);
}

.ks-loc-card .hyper-store-status,
.ks-loc-card .hyper-coming-soon-tag {
    margin: 12px 0 0;
}

.ks-loc-card__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 12px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid rgba(250, 249, 247, 0.12);
}

/* Poppins só tem o 400 carregado: peso maior sairia em negrito sintético.
   12px/.08em para «Store Details» e «Get Directions» caberem lado a lado no card de 3 colunas
   (249px de rodapé; com 13px/.1em davam 264px e quebravam em duas linhas). */
.ks-loc-card__cta,
.ks-loc-card__secondary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ouro-vivo, #E2C07A);
}

.ks-loc-card__cta svg {
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.ks-loc-card:hover .ks-loc-card__cta svg {
    transform: translateX(3px);
}

/* Link próprio dentro de um card clicável: sublinhado para se ler como alvo separado, e
   10px de respiro vertical para o alvo de toque */
.ks-loc-card__secondary {
    position: relative;
    z-index: 1;
    padding: 10px 0;
    margin: -10px 0;
    color: #faf9f7;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.ks-loc-card__secondary:hover,
.ks-loc-card__secondary:focus {
    color: var(--ouro-vivo, #E2C07A);
    text-decoration: underline;
    text-decoration-thickness: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .ks-loc-card,
    .ks-loc-card__title,
    .ks-loc-card__cta svg {
        transition: none;
    }

    .ks-loc-card:hover,
    .ks-loc-card:hover .ks-loc-card__cta svg {
        transform: none;
    }
}

/* From taxonomy-wpsl_store_category.php */

.hyper-store-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 20px;
    letter-spacing: 0.02em;
}

.hyper-store-status--open {
    background: #e8f8f3;
    color: #1e6b4a;
}

.hyper-store-status--closed {
    background: #f0f0f0;
    color: #6b6b6b; /* #888 dava 3,0:1 (KGS-68) */
}

.hyper-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.hyper-store-status--open .hyper-status-dot {
    background: #6ECEB2 !important;
}

.hyper-store-status--closed .hyper-status-dot {
    background: #bbb !important;
}

.hyper-status-next {
    font-weight: 400;
    /* sem opacity: o 0.8 clareava o verde para 3,9:1 (KGS-68) */
    font-size: 0.68rem;
}

/* ===== Coming Soon Tag ===== */
#wpsl-stores .hyper-coming-soon-tag,
.wpsl-info-window .hyper-coming-soon-tag,
.hyper-coming-soon-tag {
    display: inline-flex !important;
    align-items: center;
    flex-wrap: nowrap;
    gap: 7px;
    background: #262626;
    color: #fff;
    padding: 6px 12px;
    border-radius: 3px;
    margin-bottom: 20px;
    line-height: 1;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04),
                0 1px 2px rgba(38, 38, 38, 0.18);
    isolation: isolate;
    vertical-align: middle;
}

.hyper-coming-soon-tag::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg,
        transparent 30%,
        rgba(255, 255, 255, 0.08) 50%,
        transparent 70%);
    transform: translateX(-100%);
    display: none; /* brilho infinito saiu (2.2.2, PCGBUR-6) */
    pointer-events: none;
    z-index: -1;
}

@keyframes hyper-cs-sheen {
    0%, 60% { transform: translateX(-100%); }
    80%, 100% { transform: translateX(100%); }
}

.wpsl-info-window .hyper-coming-soon-tag .hyper-cs-dot,
.hyper-coming-soon-tag .hyper-cs-dot {
    display: inline-block !important;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--ouro, #CAA55F);
    flex-shrink: 0;
    box-shadow: 0 0 0 0 rgba(202, 165, 95, 0.6);
}

@keyframes hyper-cs-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(202, 165, 95, 0.55);
    }
    50% {
        transform: scale(0.85);
        box-shadow: 0 0 0 5px rgba(202, 165, 95, 0);
    }
}

.hyper-coming-soon-tag .hyper-cs-icon {
    flex-shrink: 0;
    color: #fff;
    opacity: 0.85;
    display: block;
}

.wpsl-info-window .hyper-coming-soon-tag .hyper-cs-label,
.hyper-coming-soon-tag .hyper-cs-label {
    display: inline-block !important;
    font-family: 'Poppins', 'Inter', sans-serif;
    font-weight: 700;
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #fff;
    line-height: 1;
    white-space: nowrap;
    /* Optical centering — uppercase tracked-out text reads slightly low */
    transform: translateY(0.5px);
}

.hyper-coming-soon-tag--iw {
    margin-bottom: 8px;
    padding: 5px 10px;
    gap: 6px;
}

.wpsl-info-window .hyper-coming-soon-tag--iw .hyper-cs-label,
.hyper-coming-soon-tag--iw .hyper-cs-label {
    font-size: 0.64rem;
    letter-spacing: 0.13em;
}

@media (prefers-reduced-motion: reduce) {
    .hyper-coming-soon-tag::after,
    .hyper-coming-soon-tag .hyper-cs-dot {
        animation: none;
    }
}

/* Inverted variant for use on dark/black cards */
.hyper-coming-soon-tag.hyper-coming-soon-tag--on-dark {
    background: #f4ece1;
    color: #1a1a1a;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04),
                0 1px 2px rgba(0, 0, 0, 0.25);
}

.hyper-coming-soon-tag.hyper-coming-soon-tag--on-dark::after {
    background: linear-gradient(110deg,
        transparent 30%,
        rgba(255, 255, 255, 0.45) 50%,
        transparent 70%);
}

.hyper-coming-soon-tag.hyper-coming-soon-tag--on-dark .hyper-cs-icon {
    color: #1a1a1a;
    opacity: 0.75;
}

.hyper-coming-soon-tag.hyper-coming-soon-tag--on-dark .hyper-cs-label {
    color: #1a1a1a;
}

/* ===== Coming Soon Status (single location page) ===== */
.ks-cs-status-display {
    font-family: 'Libre Bodoni', 'Bodoni Moda', serif;
    font-weight: 700;
    font-size: clamp(2.25rem, 4.5vw, 3rem);
    line-height: 0.95;
    letter-spacing: -0.01em;
    color: #1a1a1a;
    margin: 0 0 18px;
}

.ks-cs-status-display em {
    font-style: italic;
    color: var(--ouro, #CAA55F);
    font-weight: 700;
}

.ks-cs-status-body {
    font-family: 'Poppins', 'Inter', sans-serif;
    font-size: 0.875rem;
    line-height: 1.6;
    color: #6b6b6b;
    margin: 0;
    max-width: 32ch;
}

/* From single-wpsl_stores.php */

/* Scoped styles just for this template to match the mockup */
.store-page-content {
    font-family: 'Inter', sans-serif;
    /* Adjusted to match theme if needed */
    color: #1f2933;
}

.store-title {
    font-family: urby, sans-serif;
    font-weight: 700;
}

.store-hours-list dt {
    float: left;
    width: 120px;
    font-weight: 500;
}

.store-hours-list dd {
    margin-left: 120px;
    margin-bottom: 0.5rem;
}

/* Buttons */
.btn-outline-red {
    border: 2px solid var(--ouro, #CAA55F);
    color: var(--ouro, #CAA55F);
    padding: 10px 24px;
    border-radius: 9999px;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s;
    display: inline-block;
}

.btn-outline-red:hover {
    background-color: var(--ouro, #CAA55F);
    color: var(--fundo, #120F0C);
}

.btn-join-rewards:hover {
    background-color: #ffffff;
    color: #000000 !important;
}

a:hover {
    color: var(--ouro, #CAA55F) !important;
}

a.bg-hyper-red:hover,
a.btn-red:hover {
    color: var(--fundo, #120F0C) !important;
}

/* Hyper Hours Table Customization */
.hyper-h-table table {
    width: max-content !important;
    border-collapse: separate !important;
    border-spacing: 0 2px !important;
    background-color: transparent !important;
}

.hyper-h-table tr,
.hyper-h-table dl,
.hyper-h-table dd,
.hyper-h-table dt {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.hyper-h-table td,
.hyper-h-table th {
    background-color: transparent !important;
    color: #000000 !important;
    border: none !important;
    box-shadow: none !important;
    padding: 4px 12px !important;
    vertical-align: middle;
    font-weight: 700;
}

.hyper-h-table th {
    text-align: left;
}

.hyper-h-table td {
    text-align: right;
}

.hyper-h-table strong,
.hyper-h-table b {
    font-weight: 900 !important;
    font-size: 1rem !important;
    color: inherit !important;
}

/* Remove any striped rows if present */
.hyper-h-table tr:nth-child(odd) td,
.hyper-h-table tr:nth-child(even) td,
.hyper-h-table tr:nth-child(odd) th,
.hyper-h-table tr:nth-child(even) th {
    background-color: transparent !important;
}

/* Pill style for today */
.hyper-h-table tr.hyper-today-row td,
.hyper-h-table tr.hyper-today-row th {
    background-color: #000000 !important;
    color: #ffffff !important;
}

.hyper-h-table tr.hyper-today-row td *,
.hyper-h-table tr.hyper-today-row th * {
    color: #ffffff !important;
}

.hyper-h-table tr.hyper-today-row td:first-child,
.hyper-h-table tr.hyper-today-row th:first-child {
    border-top-left-radius: 9999px !important;
    border-bottom-left-radius: 9999px !important;
}

.hyper-h-table tr.hyper-today-row td:last-child,
.hyper-h-table tr.hyper-today-row th:last-child {
    border-top-right-radius: 9999px !important;
    border-bottom-right-radius: 9999px !important;
}

@media (max-width: 768px) {
    .store-hours-list dt {
        float: none;
        width: auto;
        text-align: center;
        text-decoration: underline;
        margin-bottom: 2px;
    }

    .store-hours-list dd {
        margin-left: 0;
        text-align: center;
        margin-bottom: 1rem;
    }

    .hyper-h-table table {
        margin: 0 auto;
    }

    .hyper-h-table td,
    .hyper-h-table th,
    .hyper-h-table tr {
        text-align: center !important;
    }

    /* FAQ Mobile Centering */
    details summary span:first-child {
        flex: 1;
        text-align: center;
    }

    details p {
        text-align: center !important;
    }
}

#locationPhotosModal {
    z-index: 1000 !important;
    --tw-bg-opacity: 0.8 !important;
}

.lp-nav-btn {
    background-color: var(--ouro, #CAA55F) !important;
    color: var(--fundo, #120F0C) !important;
    transition: background-color 0.3s !important;
}

.lp-nav-btn:hover {
    background-color: var(--ouro-vivo, #E2C07A) !important;
}

.lp-close-btn {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    color: #ffffff !important;
}

.lp-close-btn:hover,
.lp-close-btn:focus {
    background: transparent !important;
    border: none !important;
    color: #ffffff !important;
}

/* Custom Promo Modal Width */
.custom-promo-modal-width {
    max-width: 90vw !important;
}

.w-6 {
    width: 1.5rem;
}

.h-6 {
    height: 1.5rem;
}

@media (min-width: 768px) {
    .custom-promo-modal-width {
        max-width: 65vw !important;
    }
}

@media (min-width: 1024px) {
    .custom-promo-modal-width {
        max-width: 45vw !important;
    }
}

/* From single-wpsl_stores.php */

.custom-next-arrow,
.custom-prev-arrow {
    color: var(--ouro, #CAA55F) !important;
    /* Hyper Red */
    width: 30px !important;
    height: 30px !important;
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 50 !important;
    cursor: pointer !important;
    background: transparent !important;
    border: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: transform 0.2s ease;
}

.custom-next-arrow:hover,
.custom-prev-arrow:hover {
    transform: translateY(-50%) scale(1.1) !important;
}

.custom-next-arrow svg,
.custom-prev-arrow svg {
    width: 24px;
    height: 24px;
    stroke-width: 3px;
}

.custom-next-arrow {
    right: -5px !important;
}

.custom-prev-arrow {
    left: -5px !important;
}

/* From custom.php */

/* =============================================
     HYPER STORE LOCATOR - CUSTOM TEMPLATE
  ============================================= */

#wpsl-wrap {
    display: flex;
    align-items: stretch;
    gap: 0;
    width: 100%;
    min-height: 830px;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.13);
    margin: 0 !important;
    position: relative;
}

/* ---------- PAINEL ESQUERDO ---------- */
#wpsl-left-panel {
    width: 340px;
    min-width: 300px;
    max-width: 360px;
    display: flex;
    flex-direction: column;
    background: #fff;
    flex-shrink: 0;
    z-index: 2;
}

/* Header vermelho */
#wpsl-search-header {
    background: #000000;
    padding: 18px 20px 14px;
}

#wpsl-search-header label {
    display: block;
    color: #fff;
    font-family: 'Obvia', 'Arial Black', sans-serif;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

#wpsl-search-input {
    width: 100%;
    padding: 10px 14px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    outline: none;
    box-sizing: border-box;
    background: #fff;
    color: #333;
    margin-bottom: 0 !important;
}

#wpsl-search-input::placeholder {
    color: #bbb;
}

/* ---------- AUTOCOMPLETE DROPDOWN ---------- */

/* O JS wrapa o input neste container — ele é a âncora do dropdown */
.wpsl-autocomplete-search-container {
    position: relative;
    width: 100%;
}

.wpsl-autocomplete-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #fff;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    margin: 0;
    padding: 4px 0;
    list-style: none;
    max-height: 260px;
    overflow-y: auto;
}

.wpsl-autocomplete-search-results ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.wpsl-autocomplete-search-results li {
    padding: 10px 16px;
    font-size: 0.88rem;
    color: var(--ouro-escuro, #7D6024); /* lista branca: dourado escuro, 5,9:1 (PCGBUR-6) */
    cursor: pointer;
    transition: background 0.15s;
    border-bottom: 1px solid #f1eadc;
}

.wpsl-autocomplete-search-results li:last-child {
    border-bottom: none;
}

.wpsl-autocomplete-search-results li:hover,
.wpsl-autocomplete-search-results li.wpsl-active {
    background: #faf6ee;
    color: var(--ouro-escuro, #7D6024);
}

.wpsl-autocomplete-highlight {
    font-weight: 800;
}

/* Botão de busca oculto (busca ao pressionar Enter) */
#wpsl-search-btn {
    display: none;
}

/* ---------- LISTA DE RESULTADOS ---------- */
#wpsl-result-list {
    flex: 1;
    overflow-y: auto;
    padding: 0;
    width: 100% !important;
    box-sizing: border-box;
}

.hyper-use-location-icon {
    width: 1.3em !important;
}


#wpsl-result-list #wpsl-stores {
    height: 100% !important;
    max-height: 690px !important;
}

#wpsl-wrap #wpsl-result-list ul li {
    border: none !important;
    border-bottom: 2px solid rgba(202, 165, 95, .35) !important;
    padding-bottom: 10px;
}

#wpsl-wrap #wpsl-result-list ul li:last-child {
    border-bottom: none !important;
}

#wpsl-stores ul,
#wpsl-direction-details ul {
    list-style: none;
    margin: 0;
    padding: 0 10px;
}

#wpsl-wrap #wpsl-result-list li {
    padding: 0 !important;
}

@media (max-width: 768px) {
    #wpsl-wrap #wpsl-result-list ul li {
        padding-left: 10px !important;
    }
}

/* ---------- CARDS DE RESULTADO ---------- */

#wpsl-stores ul li {
    overflow: hidden;
}

/* New header area: Number + Title + Distance */
.hyper-store-new-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}

.hyper-store-header-left {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Número sequencial do card: OCULTO de propósito (KGS-61). Segue no DOM, preenchido por
   updateStoreNumbers() em templates/custom.php; para voltar a exibir, display: inline-flex. */
.hyper-store-number {
    background: none;
    color: #000000;
    border-radius: 50%;
    min-width: 20px;
    height: 26px;
    display: none;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.93rem;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Distância na barra */
.hyper-store-distance {
    color: #000000;
    font-size: 0.8rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
    margin-top: 5px;
}

/* Corpo do card */
.hyper-store-body {
    padding: 14px 10px;
    margin-top: 5px;
    margin-bottom: 5px;
}

/* Nome da loja */
.hyper-store-name {
    color: #000000;
    font-weight: 800;
    font-size: 1.3rem;
    margin-bottom: 0;
    line-height: normal;
    display: block;
    text-decoration: none !important;
}

a.hyper-store-name:hover {
    color: var(--ouro, #CAA55F);
}

/* Endereço com ícone */
.hyper-store-address {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    font-size: 0.82rem;
    color: #555;
    margin-bottom: 12px;
    line-height: 1.4;
}

.hyper-icon-pin {
    flex-shrink: 0;
    margin-top: 2px;
}

/* Status Open/Closed */
.hyper-store-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}

.hyper-store-status--open {
    background: #e8f8f3;
    color: #1e6b4a;
}

.hyper-store-status--closed {
    background: #f0f0f0;
    color: #6b6b6b; /* #888 dava 3,0:1 (KGS-68) */
}

.hyper-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.hyper-store-status--open .hyper-status-dot {
    background: #000000;
}

.hyper-store-status--closed .hyper-status-dot {
    background: #bbb;
}

.hyper-status-next {
    font-weight: 400;
    /* sem opacity: o 0.8 clareava o verde para 3,9:1 (KGS-68) */
    font-size: 0.68rem;
}

/* Endereço clicável (Google Business Profile) */
.hyper-store-address-link {
    color: #555;
    text-decoration: none;
    line-height: 1.4;
}

.hyper-store-address-link:hover {
    color: var(--ouro, #CAA55F) !important;
    text-decoration: underline;
}

/* Telefone */
.hyper-store-phone {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: #555;
    margin-bottom: 12px;
}

.hyper-icon-phone {
    flex-shrink: 0;
}

.hyper-store-phone-link {
    color: #555;
    text-decoration: none;
}

.hyper-store-phone-link:hover {
    color: var(--ouro, #CAA55F) !important;
    text-decoration: underline;
}

/* Store Types (Walk-in / Drive-thru) */
.hyper-store-types {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.hyper-store-type-item,
.hyper-store-type-item {
    display: flex !important;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    color: #444;
    font-weight: 400;
}

.hyper-store-type-item svg {
    flex-shrink: 0;
    margin-top: -1px;
}

/* Botões */
.hyper-store-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.hyper-btn-details,
.hyper-btn-directions,
.hyper-btn-reservations,
.hyper-btn-order {
    display: inline-block;
    padding: 7px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none !important;
    transition: background 0.2s, color 0.2s;
    cursor: pointer;
    line-height: 1;
}

/* PCG: dourado com texto escuro, 8,2:1 (era o coral do Kingdom com texto branco) */
.hyper-btn-details,
.hyper-btn-directions,
.hyper-btn-reservations,
.hyper-btn-order {
    background: var(--ouro, #CAA55F);
    color: var(--fundo, #120F0C) !important;
    border: 2px solid var(--ouro, #CAA55F);
}

.hyper-btn-details:hover,
.hyper-btn-directions:hover,
.hyper-btn-reservations:hover,
.hyper-btn-order:hover {
    background: var(--ouro-vivo, #E2C07A);
    border-color: var(--ouro-vivo, #E2C07A);
    color: var(--fundo, #120F0C) !important;
}

/* Créditos */
.wpsl-provided-by {
    padding: 8px 18px;
    font-size: 0.72rem;
    color: #aaa;
    text-align: center;
    border-top: 1px solid #f0f0f0;
}

.wpsl-provided-by a {
    color: #000000;
}

/* ---------- MAPA ---------- */
#wpsl-gmap {
    flex: 1;
    /* Sobrescreve o height inline que o plugin injeta */
    height: auto !important;
    min-height: 100% !important;
    align-self: stretch;
    border-radius: 0 !important;
}

/* O canvas do Google Maps precisa preencher o pai */
#wpsl-gmap>div,
#wpsl-gmap .wpsl-gmap-canvas>div {
    height: 100% !important;
}

/* ---------- RESPONSIVO ---------- */
@media (max-width: 768px) {
    #wpsl-wrap {
        flex-direction: column;
        border-radius: 1rem;
        min-height: auto;
    }

    /* Achata o painel esquerdo para que seus filhos virem itens flex diretos
       de #wpsl-wrap. Assim conseguimos intercalar o mapa entre os filtros e
       a lista usando a propriedade `order`. */
    #wpsl-left-panel {
        display: contents;
        width: 100%;
        max-width: 100%;
    }

    #wpsl-search-header        { order: 1; }
    #ks-type-filter-bar        { order: 2; }
    .wpsl-category-filters     { order: 3; }

    #wpsl-gmap {
        display: block !important;
        order: 4;
        width: 100%;
        height: 320px !important;
        min-height: 320px !important;
        align-self: stretch;
    }

    #wpsl-result-list {
        order: 5;
        flex: 0 0 auto;
        max-height: 540px;
        overflow-y: auto;
    }

    #wpsl-result-list #wpsl-stores {
        height: auto !important;
        max-height: none !important;
    }

    .wpsl-provided-by { order: 6; }
}

/* INFO WINDOW (popup do mapa): o balão é do tema PCG, em themes/pcgburgers/assets/css/paginas/locations.css */

/* From custom.php */

/* Input com autocomplete aberto — remove bordas inferiores */
#wpsl-search-input.wpsl-autocomplete-open {
    border-radius: 6px 6px 0 0 !important;
}

/* Wrapper do input para posicionar o botão */
.hyper-search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

/* Botão de localização */
#hyper-use-location {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    transition: color 0.2s;
}

#hyper-use-location:hover {
    color: var(--ouro, #CAA55F);
}

/* Ajusta padding do input para não cobrir o botão */
#wpsl-search-input {
    padding-right: 42px !important;
    width: 100% !important;
}

/* =============================================
   TRUSTINDEX REVIEWS WIDGET — TEXT OVERRIDES
   Corrige textos brancos invisíveis sobre fundo claro
   ============================================= */

/* Cabeçalho do widget: rating geral, nota e total de reviews */
.ti-widget .ti-header-rating-text,
.ti-widget .ti-header-rating,
.ti-widget .ti-header-rating-reviews {
    color: #1a1a1a !important;
}

/* Nome do reviewer */
.ti-widget .ti-name,
.ti-widget .ti-name a {
    color: #1a1a1a !important;
}

/* Texto da review */
.ti-widget .ti-review-text-container,
.ti-widget .ti-review-content,
.ti-widget .ti-text,
.ti-widget .ti-review-body {
    color: #444444 !important;
}

/* Links "read more" e "see original" */
.ti-widget .ti-read-more,
.ti-widget .ti-show-original-text {
    color: var(--ouro-escuro, #7D6024) !important;
}

.ti-widget .ti-read-more:hover,
.ti-widget .ti-show-original-text:hover {
    color: var(--ouro-escuro, #7D6024) !important;
    text-decoration: underline;
}

/* Containers que herdam branco — garantia extra */
.ti-widget .ti-inner,
.ti-widget .ti-review-item,
.ti-widget .ti-widget-container {
    color: #444444 !important;
}
/* Foco nos controles do diálogo de fotos da unidade (PCGBUR-6): o .lp-close-btn zerava o outline com !important
   e o .lp-nav-btn vem com focus:outline-none do Tailwind — Esc e setas funcionavam sem anel nenhum */
.lp-close-btn:focus-visible,
.lp-nav-btn:focus-visible {
    outline: 3px solid var(--ouro-vivo, #E2C07A) !important;
    outline-offset: 3px;
}
