/*
Theme Name: unbox
Theme URI: https://unbox.co.il
Author: unbox
Description: Hebrew RTL storefront, game events, places, brands and knowledge base.
Version: 2.0.0
Requires at least: 7.1.2
Requires PHP: 8.1
Text Domain: sp-theme
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/* Base layout defaults */
*,
*::before,
*::after {
    box-sizing: border-box;
}

img {
    display: block;
    max-width: 100%;
}

body {
    font-family: "Heebo", Arial, sans-serif;
    margin: 0;
    background: #F6F7F9;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Heebo", Arial, sans-serif;
}

/*WordPress Core*/
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%;
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #eee;
    clip: auto !important;
    clip-path: none;
    color: #444;
    display: block;
    font-size: 1em;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

.gallery-caption {
    display: block;
}

.bypostauthor {
    display: block;
}

/* Common page wrapper */
.sp-main-content {
    width: 100%;
    padding: 0 0 5rem;
}

.sp-page-breadcrumbs {
    color: #8f8f8f;
    font-size: 14px;
    line-height: 20px;
    margin: 20px 0;
}

.sp-page-breadcrumbs a {
    color: #525252;
    text-decoration: none;
}

.sp-page-breadcrumbs a:hover {
    text-decoration: underline;
}

.sp-header {
    background: #ffffff;
    padding: 20px 0;
    position: relative;
    z-index: 1001;
}

.sp-header__inner {
    width: 100%;
}

.sp-header__main {
    align-items: center;
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.sp-header__logo-link {
    align-items: center;
    color: #ffffff;
    display: inline-flex;
    justify-content: center;
    min-height: 54px;
    min-width: 150px;
    text-decoration: none;
}

.sp-header__logo-image {
    display: block;
    max-height: 54px;
    width: auto;
}

.sp-header__logo-text {
    color: #ffffff;
    font-family: "Heebo", Arial, sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: 32px;
}

.sp-header__controls {
    align-items: center;
    display: flex;
    gap: 40px;
}

.sp-footer {
    background: #2b2b2b;
    color: #f1f1f1;
    margin-top: 70px;
    padding: 80px 0 100px;
}

.sp-footer__inner {
    display: flex;
    gap: 40px;
    justify-content: space-between;
}

.sp-footer__brand {
    max-width: 438px;
    background: #fff;
    padding: 10px;
    border-radius: 20px;
}

.sp-footer__logo-link {
    align-items: center;
    display: inline-flex;
    height: 60px;
    text-decoration: none;
    width: 210px;
}

.sp-footer__logo-image {
    max-height: 48px;
    width: auto;
}

.sp-footer__logo-text {
    color: #a12c2f;
    font-size: 16px;
    line-height: 24px;
}

.sp-footer__description {
    color: #000;
    font-size: 1rem;
    line-height: 1.5;
    margin: 18px 0 0;
}

.sp-footer__columns {
    display: grid;
    gap: 20px;
    grid-template-columns: 230px 230px minmax(220px, 1fr);
    width: 100%;
}

.sp-footer__column h3 {
    color: #f1f1f1;
    font-family: "Heebo", Arial, sans-serif;
    font-size: 24px;
    line-height: 40px;
    margin: 0 0 12px;
}

.sp-footer__column ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sp-footer__column li {
    margin-bottom: 12px;
}

.sp-footer__column a,
.sp-footer__copyright {
    color: #f1f1f1;
    font-size: 1rem;
    text-decoration: none;
    transition: 0.3s;
}

.sp-footer__column a:hover {
    color: #a12c2f;
}

.sp-footer__socials {
    display: flex;
    gap: 8px;
    margin-top: 4px;
}

.sp-footer__social {
    align-items: center;
    border-radius: 8px;
    color: #181818 !important;
    display: inline-flex;
    font-size: 20px;
    height: 40px;
    justify-content: center;
    line-height: 1;
    text-decoration: none !important;
}

.sp-footer__social i {
    font-size: 24px;
    color: #fff;
}

.sp-footer__copyright {
    margin: 0;
}

@media (max-width: 1199px) {
    .sp-footer__inner {
        flex-direction: column;
    }

    .sp-footer__columns {
        grid-template-columns: repeat(2, minmax(220px, 1fr));
    }

    .sp-footer__column--legal {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767px) {
    .sp-footer {
        padding: 42px 0 56px;
    }

    .sp-footer__columns {
        grid-template-columns: 1fr;
    }

    .sp-footer__logo-link {
        width: 180px;
    }
}

.sp-header__menu {
    align-items: center;
    display: flex;
    gap: 40px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.sp-header__menu a {
    color: #181818;
    font-family: "Heebo", Arial, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    text-decoration: none;
    white-space: nowrap;
}

.sp-header__menu a:hover,
.sp-header__menu .current-menu-item > a {
    color: #a12c2f;
}

.sp-header__cart {
    align-items: center;
    background: transparent;
    border: 0;
    color: #222222;
    cursor: pointer;
    display: inline-flex;
    justify-content: center;
    min-height: 30px;
    min-width: 30px;
    padding: 0;
    position: relative;
    text-decoration: none;
}

.sp-header__cart-badge {
    align-items: center;
    background: #a12c2f;
    border-radius: 50%;
    color: #ffffff;
    display: inline-flex;
    font-family: "Heebo", Arial, sans-serif;
    font-size: 8px;
    height: 14px;
    justify-content: center;
    line-height: 1;
    min-width: 14px;
    position: absolute;
    right: -5px;
    top: -3px;
}

.sp-header__cart-badge--empty {
    display: none;
}

.sp-header__cta {
    align-items: center;
    background: #a12c2f;
    border-radius: 12px;
    color: #ffffff;
    display: inline-flex;
    font-family: "Heebo", Arial, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    justify-content: center;
    line-height: 24px;
    min-height: 44px;
    min-width: 210px;
    padding: 10px 18px;
    text-decoration: none;
}

.sp-header__cta:hover {
    background: #8d2629;
    color: #ffffff;
}

/* Mobile nav: burger + full-height drawer (same wp_nav_menu as desktop) */
.sp-header__burger {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 10px;
    color: #181818;
    cursor: pointer;
    display: none;
    flex-shrink: 0;
    height: 44px;
    justify-content: center;
    margin: 0;
    padding: 0;
    position: relative;
    width: 44px;
    -webkit-tap-highlight-color: transparent;
}

.sp-header__burger:focus-visible {
    outline: 2px solid #a12c2f;
    outline-offset: 2px;
}

.sp-header__burger-bar {
    background: currentColor;
    border-radius: 1px;
    display: block;
    height: 2.5px;
    left: 50%;
    margin-left: -11px;
    position: absolute;
    transition: transform 0.3s ease, opacity 0.25s ease, top 0.3s ease;
    width: 22px;
}

.sp-header__burger-bar:nth-child(2) {
    top: 16px;
}

.sp-header__burger-bar:nth-child(3) {
    top: 21px;
}

.sp-header__burger-bar:nth-child(4) {
    top: 26px;
}

.sp-header--nav-open .sp-header__burger-bar:nth-child(2) {
    top: 21px;
    transform: rotate(45deg);
}

.sp-header--nav-open .sp-header__burger-bar:nth-child(3) {
    opacity: 0;
    transform: scaleX(0);
}

.sp-header--nav-open .sp-header__burger-bar:nth-child(4) {
    top: 21px;
    transform: rotate(-45deg);
}

.sp-header__nav-shell {
    display: block;
}

.sp-header__drawer-contacts {
    display: none;
}

.sp-header__drawer-bar {
    display: none;
}

@media screen and (max-width: 1200px) {
    .sp-header__controls {
        gap: 24px;
    }

    .sp-header__menu {
        gap: 24px;
    }
}

@media screen and (max-width: 991px) {
    .sp-header__branding {
        flex: 1 1 auto;
        min-width: 0;
        position: relative;
        z-index: 1002;
    }

    .sp-header__cart,
    .sp-header__burger {
        position: relative;
        z-index: 1002;
    }

    .sp-header__burger {
        display: inline-flex;
    }

    .sp-header__cta--desktop-only {
        display: none !important;
    }

    .sp-header__main {
        align-items: center;
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 12px;
        justify-content: space-between;
    }

    .sp-header__controls {
        align-items: center;
        flex-shrink: 0;
        flex-wrap: nowrap;
        gap: 8px;
    }

    .sp-header__drawer-bar {
        align-items: center;
        display: flex;
        flex-shrink: 0;
        gap: 12px;
        margin-top: 12px;
        padding-top: 20px;
    }

    .sp-header__cta--drawer {
        flex: 1 1 auto;
        justify-content: center;
        min-width: 0;
        text-align: center;
        width: auto;
    }

    .sp-header__drawer-close {
        align-items: center;
        background: #f3f4f6;
        border: 0;
        border-radius: 12px;
        color: #181818;
        cursor: pointer;
        display: inline-flex;
        flex-shrink: 0;
        height: 48px;
        justify-content: center;
        margin: 0;
        padding: 0;
        width: 48px;
        -webkit-tap-highlight-color: transparent;
    }

    .sp-header__drawer-close:hover {
        background: #e5e7eb;
        color: #a12c2f;
    }

    .sp-header__drawer-close:focus-visible {
        outline: 2px solid #a12c2f;
        outline-offset: 2px;
    }

    .sp-header__nav-shell {
        background: #ffffff;
        box-shadow: 0 -8px 40px rgba(24, 24, 24, 0.08);
        display: flex;
        flex-direction: column;
        inset: 0;
        max-height: none;
        min-height: 100vh;
        min-height: 100dvh;
        overflow-x: hidden;
        overflow-y: auto;
        padding: calc(env(safe-area-inset-top, 0px) + 88px) 24px calc(env(safe-area-inset-bottom, 0px) + 24px);
        pointer-events: none;
        position: fixed;
        transform: translateX(100%);
        transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0.38s;
        visibility: hidden;
        width: 100%;
        z-index: 1000;
    }

    .sp-header--nav-open .sp-header__nav-shell {
        pointer-events: auto;
        touch-action: pan-y;
        transform: translateX(0);
        transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0s;
        visibility: visible;
    }

    .sp-header__nav {
        flex: 0 0 auto;
    }

    .sp-header__menu {
        align-items: stretch;
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 0;
    }

    .sp-header__menu li {
        border-bottom: 1px solid #eceef1;
    }

    .sp-header__menu a {
        font-size: 18px;
        line-height: 26px;
        display: block;
        padding: 16px 4px;
        white-space: normal;
    }

    .sp-header__drawer-contacts {
        border-top: 1px solid #e5e7eb;
        display: block;
        flex-shrink: 0;
        margin-top: 24px;
        padding-top: 24px;
    }

    .sp-header__drawer-contacts-title {
        color: #6b7280;
        font-family: "Heebo", Arial, sans-serif;
        font-size: 13px;
        font-weight: 500;
        letter-spacing: 0.06em;
        margin: 0 0 12px;
        text-transform: uppercase;
    }

    .sp-header__drawer-contacts-list {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .sp-header__drawer-contacts-list li {
        margin-bottom: 10px;
    }

    .sp-header__drawer-contacts-list a {
        color: #181818;
        font-size: 16px;
        line-height: 24px;
        text-decoration: none;
    }

    .sp-header__drawer-contacts-list a:hover {
        color: #a12c2f;
    }

    .sp-header__drawer-socials {
        display: flex;
        gap: 10px;
        margin-top: 16px;
    }

    .sp-header__drawer-social {
        align-items: center;
        background: #f3f4f6;
        border-radius: 10px;
        color: #181818;
        display: inline-flex;
        font-size: 20px;
        height: 48px;
        justify-content: center;
        text-decoration: none;
        width: 48px;
    }

    .sp-header__drawer-social:hover {
        background: #a12c2f;
        color: #ffffff;
    }

}

body.sp-mobile-nav-open {
    overflow: hidden;
}

@media screen and (min-width: 992px) {
    .sp-header__burger {
        display: none !important;
    }
}
.home-map-filters__body{
    display: grid;
    grid-template-columns: minmax(0, 325px) minmax(0, 1fr);
    gap: 1.25rem;
}
.home-map-filters__map{
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    overflow: hidden;
}
#sp-home-places-map{
    width: 100%;
    height: 420px;
}
.home-filters-sidebar{
    align-self: start;
}

.wc-block-cart-item__product .wc-block-components-product-name{
    text-decoration: none;
    color: #a12c2f;
    font-size: 1rem!important;
}
.wc-block-cart-item__product .wc-block-cart-item__remove-link svg{
    fill: #a12c2f!important;
}
.wc-block-cart-item__product .wc-block-cart-item__prices{
    font-size: 1rem!important;
}