/* Theme Extracted CSS */

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

.text-hyper-red {
    color: var(--hyper-accent, #DD5942) !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(--hyper-accent, #DD5942) !important;
    color: var(--hyper-accent, #DD5942) !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;
}

.bg-hyper-red {
    background-color: var(--hyper-accent, #DD5942) !important;
}

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

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

/* Hero Banner Header */

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

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

/* Cards de page-all-locations.php e da taxonomy: ver «.hyper-loc-card», no fim do arquivo (BBQ-28) */

/* 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;
    /* BBQ-23: #888 sobre #f0f0f0 = 3,1:1 em texto de 11,5px. #595959 = 6,1:1. */
    color: #595959;
}

.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;
    /* BBQ-23: sem opacity — ela compõe sobre o fundo (#1e6b4a a 80% virava #46876c, 3,9:1).
       O peso 400 já diferencia do «Open Now». */
    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%);
    animation: hyper-cs-sheen 4.2s ease-in-out infinite;
    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(--hyper-accent, #DD5942);
    flex-shrink: 0;
    box-shadow: 0 0 0 0 rgba(221, 89, 66, 0.6);
    animation: hyper-cs-pulse 2s ease-in-out infinite;
}

@keyframes hyper-cs-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(221, 89, 66, 0.55);
    }
    50% {
        transform: scale(0.85);
        box-shadow: 0 0 0 5px rgba(221, 89, 66, 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(--hyper-accent, #DD5942);
    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(--hyper-accent, #DD5942);
    color: var(--hyper-accent, #DD5942);
    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(--hyper-accent, #DD5942);
    color: #fff;
}

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

a:hover {
    color: var(--hyper-accent, #DD5942) !important;
}

a.bg-hyper-red:hover,
a.btn-red:hover {
    color: #fff !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(--hyper-accent, #DD5942) !important;
    transition: background-color 0.3s !important;
}

.lp-nav-btn:hover {
    background-color: var(--hyper-accent, #DD5942) !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(--hyper-accent, #DD5942) !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(--hyper-accent, #DD5942);
    cursor: pointer;
    transition: background 0.15s;
    border-bottom: 1px solid #fef0ef;
}

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

.wpsl-autocomplete-search-results li:hover,
.wpsl-autocomplete-search-results li.wpsl-active {
    background: #fff5f5;
    color: var(--hyper-accent, #DD5942);
}

.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 color-mix(in srgb, var(--hyper-accent, #DD5942) 35%, transparent) !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 do marcador (circulo preto com texto branco) */
.hyper-store-number {
    background: none;
    color: #000000;
    border-radius: 50%;
    min-width: 20px;
    height: 26px;
    display: inline-flex;
    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(--hyper-accent, #DD5942);
}

/* 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--iw {
    display: flex;
    width: fit-content;
    margin: 4px auto 12px auto;
}

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

.hyper-store-status--closed {
    background: #f0f0f0;
    /* BBQ-23: #888 sobre #f0f0f0 = 3,1:1 em texto de 11,5px. #595959 = 6,1:1. */
    color: #595959;
}

.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;
    /* BBQ-23: sem opacity — ela compõe sobre o fundo (#1e6b4a a 80% virava #46876c, 3,9:1).
       O peso 400 já diferencia do «Open Now». */
    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(--hyper-accent, #DD5942) !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(--hyper-accent, #DD5942) !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;
}

.hyper-btn-details,
.hyper-btn-directions,
.hyper-btn-reservations,
.hyper-btn-order {
    background: var(--hyper-accent, #DD5942);
    color: #fff !important;
    border: 2px solid var(--hyper-accent, #DD5942);
}

.hyper-btn-details:hover,
.hyper-btn-directions:hover,
.hyper-btn-reservations:hover,
.hyper-btn-order:hover {
    background: var(--hyper-accent, #DD5942);
    border-color: var(--hyper-accent, #DD5942);
    color: #fff !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-result-list #wpsl-stores {
        max-height: 720px !important;
    }

    #wpsl-wrap {
        flex-direction: column;
        border-radius: 1rem;
        min-height: auto;
    }

    #wpsl-left-panel {
        width: 100%;
        max-width: 100%;
    }

    #wpsl-gmap {
        display: none !important;
    }
}

/* ---------- INFO WINDOW (popup do mapa) ---------- */
.hyper-info-window {
    font-family: 'Inter', 'Arial', sans-serif;
    min-width: 200px;
    max-width: 260px;
    padding: 4px 2px;
    position: relative;
    /* Para referência do botão de fechar se necessário */
}

.hyper-store-status--iw .hyper-status-next {
    text-align: center;
}

/* Overrides do container padrão do Google Maps para torná-lo mais compacto */
.gm-style-iw-c {
    padding: 0 !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15) !important;
}

.gm-style-iw-d {
    overflow: auto !important;
    padding: 16px !important;
    max-height: none !important;
}

/* Reposiciona o botão de fechar para a mesma linha do nome */
.gm-ui-hover-effect {
    top: 10px !important;
    right: 10px !important;
    width: 26px !important;
    height: 26px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: none !important;
    z-index: 9999;
}

.gm-ui-hover-effect span {
    margin: 0 !important;
}

/* Remove o espaço do header original mas mantém o botão visível */
.gm-style-iw-chr {
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
    border: none !important;
}

/* Garante que o nome tenha espaço para o botão à direita */
.hyper-iw-title {
    padding-right: 30px;
}

.hyper-iw-title {
    display: block;
    color: var(--hyper-accent, #DD5942);
    font-weight: 800;
    font-size: 1rem;
    margin-bottom: 8px;
    line-height: 1.2;
    text-decoration: none;
}

.hyper-iw-title:hover {
    color: var(--hyper-accent, #DD5942) !important;
}

.hyper-iw-row {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin-bottom: 5px;
    font-size: 0.8rem;
    color: #444;
    line-height: 1.4;
}

.hyper-iw-row svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.hyper-iw-phone,
.hyper-iw-address {
    color: #444;
    text-decoration: none;
}

.hyper-iw-phone:hover,
.hyper-iw-address:hover {
    color: var(--hyper-accent, #DD5942) !important;
    text-decoration: underline;
}

.hyper-iw-actions {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.hyper-iw-btn {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    text-decoration: none !important;
    transition: background 0.2s, color 0.2s;
    line-height: 1;
}

.hyper-iw-btn-details {
    background: var(--hyper-accent, #DD5942);
    color: #fff !important;
    border: 2px solid var(--hyper-accent, #DD5942);
}

.hyper-iw-btn-details:hover {
    background: var(--hyper-accent, #DD5942);
    border-color: var(--hyper-accent, #DD5942);
}

.hyper-iw-btn-directions {
    background: var(--hyper-accent, #DD5942);
    color: #fff !important;
    border: 2px solid var(--hyper-accent, #DD5942);
}

.hyper-iw-btn-directions:hover {
    background: var(--hyper-accent, #DD5942);
    border-color: var(--hyper-accent, #DD5942);
}

.hyper-iw-btn-reservations {
    background: var(--hyper-accent, #DD5942);
    color: #fff !important;
    border: 2px solid var(--hyper-accent, #DD5942);
}

.hyper-iw-btn-reservations:hover {
    background: var(--hyper-accent, #DD5942);
    border-color: var(--hyper-accent, #DD5942);
}

.hyper-iw-btn-order {
    background: var(--hyper-accent, #DD5942);
    color: #fff !important;
    border: 2px solid var(--hyper-accent, #DD5942);
}

.hyper-iw-btn-order:hover {
    background: var(--hyper-accent, #DD5942);
    border-color: var(--hyper-accent, #DD5942);
}

/* 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(--hyper-accent, #DD5942);
}

/* 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(--hyper-accent, #DD5942) !important;
}

.ti-widget .ti-read-more:hover,
.ti-widget .ti-show-original-text:hover {
    color: var(--hyper-accent, #DD5942) !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;
}
/* ===== Cards das páginas de localização (BBQ-28) =====
   /all-locations/, estado e cidade usam a MESMA anatomia (a do Hyper, HYP-84): título + linha
   secundária no corpo, ação no rodapé, sempre na base do card. Cartão preto da casa.
   Vermelho: #ED3535, o da marca (.color-RedBbq do «CSS GERAL») — 5,2:1 no preto. O acento do tema
   (--hyper-accent, #991B1F) dá 2,5:1 aqui e o #D92929 do resto do site, 4,3:1 (BBQ-23).
   Título é h2 → Rogbold e meta é p → Roboto, ambos por !important do «CSS GERAL»; a ação é <div>
   e não <span> justamente para escapar do Roboto forçado em todo span.
   O card inteiro clica pelo ::after do link do título; o «Get Directions» fica por cima (z-index).
   Foco: o anel global do ks-accessibility-fixes.php (:focus-visible, !important) já cobre os links.
   Grade em flex-wrap, e não grid, para a última linha incompleta ficar centralizada. */
.hyper-loc-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

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

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

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

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

.hyper-loc-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 24px;
    background: #000000;
    border: 1px solid rgba(255, 255, 255, 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: #D4D4D4;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.hyper-loc-card:hover {
    transform: translateY(-3px);
    border-color: rgba(237, 53, 53, 0.55);
    box-shadow: 0 14px 24px -8px rgba(0, 0, 0, 0.35), 0 4px 6px -2px rgba(0, 0, 0, 0.1);
}

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

/* A Rogbold só tem um peso: 400 evita o negrito sintético que o font-black antigo forçava */
.hyper-loc-card__title {
    margin: 0;
    font-weight: 400;
    font-size: 1.625rem;
    line-height: 1.1;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    text-wrap: balance;
    color: #ED3535;
}

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

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

.hyper-loc-card__meta {
    margin: 6px 0 0;
    font-size: 0.9375rem;
    line-height: 1.45;
    color: #D4D4D4;
}

/* Status: como texto corrido. Em flex, no card estreito, «Closed / Now» quebrava em colunas. */
.hyper-loc-card .hyper-store-status {
    display: block;
    width: fit-content;
    max-width: 100%;
    margin: 12px 0 0;
    padding: 4px 10px;
    border-radius: 12px;
    line-height: 1.45;
}

.hyper-loc-card .hyper-status-dot {
    display: inline-block;
    margin: 0 5px 1px 0;
    vertical-align: middle;
}

/* Chega inline-block e isso apara o espaço antes do «·» («Closed Now· Opens») */
.hyper-loc-card .hyper-status-next {
    display: inline;
}

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

.hyper-loc-card__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 16px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.hyper-loc-card__cta,
.hyper-loc-card__secondary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Rogbold', 'Rogbold Fallback', sans-serif;
    font-size: 1.0625rem;
    line-height: 1;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #ED3535;
}

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

.hyper-loc-card:hover .hyper-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 não ficar com a altura da letra. */
.hyper-loc-card__secondary {
    position: relative;
    z-index: 1;
    padding: 10px 0;
    margin: -10px 0;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.hyper-loc-card__secondary:hover,
.hyper-loc-card__secondary:focus {
    color: #FFFFFF;
    text-decoration: underline;
}

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

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