:root {
    --beyond-primary: var(--beyond-ui-primary);
    --beyond-primary-dark: var(--beyond-ui-primary);
    --beyond-primary-soft: var(--beyond-ui-tone_effaf9);
    --beyond-text: var(--beyond-ui-ink);
    --beyond-border: var(--beyond-ui-border);
}
.beyond-section {
    max-width: 1320px;
    padding: 48px 4%;
    margin: auto;
    color: var(--beyond-text);
    box-sizing: border-box;
}
.beyond-title {
    margin: 0 0 20px;
}
.beyond-intro {
    max-width: 760px;
    margin-bottom: 28px;
}
.beyond-tiles,
.beyond-stores,
.beyond-blog-grid,
.beyond-feature-grid,
.beyond-video-grid,
.beyond-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}
.beyond-tiles article,
.beyond-stores article,
.beyond-note,
.beyond-feature-grid > div {
    padding: 28px;
    border: 1px solid var(--beyond-border);
    border-radius: 16px;
    background: var(--beyond-primary-soft);
}
.beyond-stores h3 {
    font-size: 24px;
    line-height: 1.3;
}
.beyond-stores address {
    font-style: normal;
}
.beyond-status {
    display: inline-block;
    padding: 4px 10px;
    background: var(--beyond-ui-white);
    border-radius: 20px;
    color: var(--beyond-primary-dark);
    font-size: 12px;
}
.beyond-button {
    display: inline-flex;
    min-height: 44px;
    padding: 12px 20px;
    align-items: center;
    justify-content: center;
    background: var(--beyond-primary);
    color: var(--beyond-ui-tone_123c3b);
    border-radius: 9px;
    text-decoration: none;
    font-weight: 600;
}
.beyond-button:hover {
    background: var(--beyond-primary-dark);
    color: var(--beyond-ui-white);
}
.beyond-secondary {
    display: inline-flex;
    margin: 12px;
    min-height: 44px;
    align-items: center;
    color: var(--beyond-primary-dark);
}
.beyond-hero {
    position: relative;
    background: var(--beyond-primary-soft);
    overflow: hidden;
    border-radius: 0 0 24px 24px;
}
.beyond-slide {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 560px;
}
.beyond-slide[hidden] {
    display: none;
}
.beyond-slide > div:first-child {
    padding: 70px 12%;
    align-self: center;
}
.beyond-slide h1,
.beyond-slide h2 {
    font-family: Georgia, serif;
    font-size: clamp(36px, 5vw, 70px);
    font-weight: 400;
    line-height: 1.1;
}
.beyond-hero-media {
    background: var(--beyond-ui-white);
}
.beyond-hero-media img {
    width: 100%;
    height: 560px;
    object-fit: cover;
    object-position: center 25%;
}
.beyond-hero-placeholder {
    height: 100%;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--beyond-primary);
    font:
        700 48px Georgia,
        serif;
}
.beyond-hero-placeholder small {
    font-size: 18px;
}
.beyond-slide-controls {
    position: absolute;
    bottom: 16px;
    right: 16px;
    display: flex;
    gap: 12px;
    align-items: center;
    background: var(--beyond-ui-white);
    padding: 8px;
    border-radius: 12px;
}
.beyond-product-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 10px 0;
}
.beyond-product-actions button {
    min-height: 44px;
    padding: 8px 12px;
    background: var(--beyond-ui-white);
    border: 1px solid var(--beyond-border);
    color: var(--beyond-text);
    border-radius: 9px;
    cursor: pointer;
}
.beyond-product-actions button[aria-pressed="true"] {
    background: var(--beyond-primary);
}
.beyond-filter {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: end;
}
.beyond-filter label {
    flex: 1 1 150px;
}
.beyond-filter input,
.beyond-filter select,
.beyond-search input {
    display: block;
    width: 100%;
}
.beyond-search {
    display: flex;
    gap: 15px;
    align-items: end;
}
.beyond-search label {
    flex: 1;
}
.beyond-accordion details {
    border-bottom: 1px solid var(--beyond-border);
    padding: 18px 0;
}
.beyond-accordion summary {
    cursor: pointer;
    font-weight: 600;
    min-height: 32px;
}
.beyond-accordion details > div {
    padding-top: 16px;
}
.beyond-section table {
    width: 100%;
    border-collapse: collapse;
}
.beyond-section th,
.beyond-section td {
    border: 1px solid var(--beyond-border);
    padding: 12px;
    text-align: left;
}
.beyond-video-grid video {
    width: 100%;
    background: var(--beyond-ui-white);
    border-radius: 16px;
    aspect-ratio: 9/16;
}
.beyond-gallery img,
.beyond-blog-grid img {
    border-radius: 16px;
    max-width: 100%;
    height: auto;
}
.beyond-dialog {
    max-width: 850px;
    width: 94%;
    max-height: 90vh;
    border: 1px solid var(--beyond-border);
    border-radius: 20px;
    background: var(--beyond-ui-white);
    padding: 24px;
    color: var(--beyond-text);
}
.beyond-dialog::backdrop {
    background: rgba(37, 172, 166, 0.2);
}
.beyond-dialog-close {
    float: right;
}
.beyond-quick {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    clear: both;
}
.beyond-quick img {
    max-height: 500px;
    object-fit: contain;
}
.beyond-live {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--beyond-ui-white);
    border: 1px solid var(--beyond-border);
    box-shadow: 0 5px 25px rgba(22, 78, 88, 0.1);
    border-radius: 12px;
    padding: 15px 25px;
    z-index: 1000;
    max-width: 90vw;
}
.beyond-compare-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}
.beyond-compare-list article {
    min-width: 0;
    border: 1px solid var(--beyond-border);
    border-radius: 16px;
    padding: 20px;
}
.beyond-compare-list img {
    max-width: 100%;
    height: auto;
}
.beyond-compare-list h3 {
    font-size: 18px;
    line-height: 1.4;
}
.beyond-section ul.products {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}
.beyond-section ul.products::before,
.beyond-section ul.products::after {
    display: none;
}
.beyond-section ul.products li.product {
    width: 100% !important;
    margin: 0 !important;
}
.beyond-section a,
.beyond-section p,
.beyond-section h3 {
    overflow-wrap: anywhere;
}
@media (max-width: 1024px) {
    .beyond-tiles,
    .beyond-stores,
    .beyond-blog-grid,
    .beyond-section ul.products {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .beyond-slide > div:first-child {
        padding: 50px 8%;
    }
    .beyond-compare-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 650px) {
    .beyond-section {
        padding: 32px 5%;
    }
    .beyond-slide {
        grid-template-columns: 1fr;
    }
    .beyond-slide > div:first-child {
        padding: 36px 7% 24px;
    }
    .beyond-hero-media img {
        height: 400px;
    }
    .beyond-hero-placeholder {
        min-height: 280px;
    }
    .beyond-tiles,
    .beyond-stores,
    .beyond-blog-grid,
    .beyond-video-grid,
    .beyond-feature-grid,
    .beyond-gallery,
    .beyond-quick {
        grid-template-columns: 1fr;
    }
    .beyond-section ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px 12px;
    }
    .beyond-compare-list {
        grid-template-columns: 1fr;
    }
    .beyond-section .woocommerce ul.products li.product {
        width: 100% !important;
    }
    .beyond-search {
        flex-wrap: wrap;
    }
    .beyond-search label {
        flex: 1 1 100%;
    }
    .beyond-dialog {
        padding: 18px;
    }
    .beyond-product-actions button {
        padding: 8px;
        min-width: 44px;
    }
    .beyond-stores h3 {
        font-size: 23px;
    }
}

.beyond-section-product-carousel .woocommerce ul.products,
.beyond-section-category-carousel .woocommerce ul.products,
.beyond-section-blog-carousel .beyond-blog-grid {
    display: flex !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 8px 0 20px;
    gap: 24px;
}
.beyond-section-product-carousel .woocommerce ul.products li.product,
.beyond-section-category-carousel .woocommerce ul.products li.product,
.beyond-section-blog-carousel .beyond-blog-grid article {
    flex: 0 0 clamp(210px, 25vw, 300px);
    width: clamp(210px, 25vw, 300px) !important;
    scroll-snap-align: start;
    min-width: 0;
}
.beyond-carousel-controls {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}
.beyond-tabs [role="tablist"] {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.beyond-tabs [role="tab"][aria-selected="true"] {
    background: var(--beyond-primary-dark);
    color: var(--beyond-ui-white);
}
.beyond-tabs [role="tabpanel"] {
    padding: 24px 0;
}
.beyond-hotspots {
    position: relative;
}
.beyond-hotspots > img {
    width: 100%;
    height: auto;
    border-radius: 16px;
}
.beyond-hotspot {
    position: absolute;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    background: var(--beyond-ui-white);
    border: 2px solid var(--beyond-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--beyond-text);
    box-shadow: 0 3px 20px rgba(22, 78, 88, 0.12);
}
.beyond-hotspot span {
    display: none;
    position: absolute;
    bottom: 50px;
    background: var(--beyond-ui-white);
    padding: 12px;
    border-radius: 9px;
    min-width: 150px;
    font-size: 14px;
}
.beyond-hotspot:hover span,
.beyond-hotspot:focus-visible span {
    display: block;
}
.beyond-section-sticky-add-to-cart {
    position: sticky;
    bottom: 0;
    z-index: 30;
    background: var(--beyond-ui-white);
    border: 1px solid var(--beyond-border);
    box-shadow: 0 -3px 20px rgba(22, 78, 88, 0.06);
    padding: 16px 4%;
    border-radius: 12px;
}
.beyond-section-sticky-add-to-cart .beyond-title {
    font-size: 20px;
    margin-bottom: 10px;
}
@supports (color: color-mix(in srgb, red, white)) {
    :root {
        --beyond-primary-dark: color-mix(
            in srgb,
            var(--beyond-primary) 55%,
            var(--beyond-ui-ink)
        );
        --beyond-primary-soft: color-mix(in srgb, var(--beyond-primary) 7%, white);
        --beyond-border: color-mix(in srgb, var(--beyond-primary) 18%, white);
    }
}
