:root {
    --dw-ease-soft:  cubic-bezier(.22, 1, .36, 1);
    --dw-ease-swing: cubic-bezier(.34, 1.56, .64, 1);
    --dw-brand-primary: #7a4e2b;
    --dw-brand-primary-hover: #643f23;
    --dw-brand-surface: #e7dccf;
    --dw-brand-soft: #ead7bf;
    --dw-brand-text: #2d241b;
}

body {
    color: var(--dw-brand-text);
}

[x-cloak] {
    display: none !important;
}

header a > img.dw-header-logo {
    height: auto !important;
    max-height: 4.25rem !important;
    object-fit: contain !important;
    width: auto !important;
}

.dm-product-card-media > img.dm-product-card-image {
    display: block;
    height: 100% !important;
    inset: 0;
    object-fit: cover !important;
    position: absolute;
    width: 100% !important;
}

.dm-sale-badge {
    background: #9a2f19;
    border: 1px solid rgba(255, 255, 255, .35);
    box-shadow: 0 6px 14px rgba(82, 24, 12, .28);
    color: #fff;
    letter-spacing: .02em;
    text-shadow: 0 1px 1px rgba(0, 0, 0, .18);
}

@media (min-width: 768px) {
    header a > img.dw-header-logo {
        max-height: 8.5rem !important;
    }
}

.dm-product-gallery-wrap .flex-viewport,
.dm-product-gallery-wrap .woocommerce-product-gallery {
    float: none !important;
    margin: 0 !important;
    width: 100% !important;
}

.dm-product-gallery-wrap .woocommerce-product-gallery__wrapper {
    border-radius: 1rem;
    margin: 0 !important;
    overflow: hidden;
    padding: 0 !important;
}

.dm-product-gallery-wrap .woocommerce-product-gallery__image a {
    cursor: pointer;
    display: block;
    margin: 0 !important;
    padding: 0 !important;
}

.dm-product-gallery-wrap .woocommerce-product-gallery__image {
    margin: 0 !important;
    padding: 0 !important;
}

.dm-product-gallery-wrap .woocommerce-product-gallery__image img {
    display: block;
    height: auto;
    margin: 0 !important;
    width: 100%;
}

.dm-product-gallery-wrap .flex-viewport {
    background: #f4efe6;
    border-radius: 1rem;
    overflow: hidden;
    position: relative;
}

.dm-product-gallery-wrap.is-loading {
    pointer-events: none;
}

.dm-product-gallery-wrap.is-loading::before {
    background: rgba(255, 255, 255, .66);
    content: "";
    inset: 0;
    position: absolute;
    z-index: 45;
}

.dm-product-gallery-wrap.is-loading::after {
    animation: dm_gallery_spin .7s linear infinite;
    border: 3px solid rgba(122, 78, 43, .25);
    border-top-color: #7a4e2b;
    border-radius: 9999px;
    content: "";
    height: 2rem;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 2rem;
    z-index: 46;
}

@keyframes dm_gallery_spin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.dm-product-gallery-wrap .woocommerce-product-gallery__trigger {
    display: none !important;
}

.dm-product-gallery-wrap .woocommerce-product-gallery__trigger::before,
.dm-product-gallery-wrap .woocommerce-product-gallery__trigger::after {
    display: none !important;
}

.dm-product-gallery-wrap .flex-control-thumbs {
    background: #f4efe6;
    display: grid !important;
    gap: .75rem !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    list-style: none !important;
    margin-top: .75rem !important;
    border-radius: 1rem;
    padding: 0 !important;
    padding: .75rem !important;
}

.dm-product-gallery-wrap .flex-control-thumbs li {
    float: none !important;
    list-style: none !important;
    margin: 0 !important;
    width: auto !important;
}

.dm-product-gallery-wrap .flex-control-thumbs li img {
    aspect-ratio: 1 / 1;
    border-radius: .75rem;
    cursor: pointer;
    display: block;
    height: auto;
    object-fit: cover;
    width: 100%;
}

.dm-product-gallery-wrap [data-gallery-prev],
.dm-product-gallery-wrap [data-gallery-next] {
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
}

.dm-product-gallery-wrap [data-open-product-gallery] {
    bottom: 1rem;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    right: 1rem;
    transition: opacity .2s ease;
}

.dm-product-gallery-wrap.is-gallery-controls-ready:not(.is-loading) [data-open-product-gallery],
.dm-product-gallery-wrap.is-gallery-controls-ready:not(.is-loading) [data-gallery-prev],
.dm-product-gallery-wrap.is-gallery-controls-ready:not(.is-loading) [data-gallery-next] {
    opacity: 1;
    pointer-events: auto;
}

@media (max-width: 767px) {
    .dm-product-gallery-wrap .flex-control-thumbs {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

.single-product .dm-product-gallery-wrap .woocommerce-product-gallery {
    margin: 0 !important;
    width: 100% !important;
}

.single-product .dm-product-gallery-wrap .woocommerce-product-gallery__trigger::before,
.single-product .dm-product-gallery-wrap .woocommerce-product-gallery__trigger::after {
    display: none !important;
}


.dw-btn {
    align-items: center;
    border: 0;
    border-radius: 9999px;
    cursor: pointer;
    display: inline-flex;
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    font-size: 1rem;
    font-weight: 700;
    gap: .5rem;
    justify-content: center;
    padding: .875rem 2rem;
    text-decoration: none;
    transition: transform .2s var(--dw-ease-swing), opacity .2s var(--dw-ease-soft);
}

.dw-btn--primary {
    background: var(--dw-brand-primary);
    color: #ffffff;
}

.dw-btn--secondary {
    background: transparent;
    color: var(--dw-brand-primary);
}

.dw-btn:active {
    transform: translateY(0);
}

.dw-btn:disabled {
    cursor: not-allowed;
    opacity: .4;
    transform: none;
}

.dw-btn:hover {
    transform: translateY(-2px);
}

.dw-float-ticket {
    align-items: center;
    animation: dw-float-idle 3.2s var(--dw-ease-soft) infinite;
    background: var(--dw-brand-primary);
    border-radius: 9999px;
    bottom: 1.25rem;
    color: #ffffff; 
    display: inline-flex;
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    font-size: .95rem;
    font-weight: 700;
    gap: .5rem;
    padding: .875rem 1.25rem;
    position: fixed;
    right: 5.5rem;
    text-decoration: none;
    transition:
        transform .25s var(--dw-ease-swing);
    z-index: 55;
}

.dw-float-ticket:hover,
.dw-float-ticket:focus-visible {
    outline: none;
    transform: translateY(-4px) scale(1.04);
}


.dw-groups-form {
    margin: 0 auto;
    max-width: 720px;
}

.dw-groups-form__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
    margin-top: 2rem;
}

.dw-groups-form__attractions {
    display: grid;
    gap: .75rem;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    margin-top: 1rem;
}

.dw-groups-form__error {
    background: #ffdad6;
    color: #93000a;
}

.dw-groups-form__hint {
    color: #42493e;
    font-size: 1rem;
    margin: 0 0 1.5rem;
}


.dw-groups-form__progress {
    display: flex;
    gap: .5rem;
    margin-bottom: 2rem;
}

.dw-groups-form__progress-bar {
    background: var(--dw-brand-surface);
    border-radius: 9999px;
    flex: 1;
    height: 4px;
    overflow: hidden;
    position: relative;
}

.dw-groups-form__progress-bar.is-active {
    background: linear-gradient(90deg, var(--dw-brand-primary) 50%, var(--dw-brand-surface) 50%);
}

.dw-groups-form__progress-bar.is-complete {
    background: var(--dw-brand-primary);
}

.dw-groups-form__question {
    color: var(--dw-brand-primary);
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 .5rem;
}

.dw-groups-form__step {
    animation: dw-step-in .4s var(--dw-ease-soft);
    display: none;
}

.dw-groups-form__step.is-active {
    display: block;
}

.dw-groups-form__success {
    background: var(--dw-brand-soft);
    color: var(--dw-brand-primary);
}

.dw-groups-form__success,
.dw-groups-form__error {
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
}




@keyframes dw-spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

[data-add-to-cart-ajax].is-cart-loading {
    opacity: .75;
    pointer-events: none;
}

[data-add-to-cart-ajax].is-cart-loading .material-symbols-outlined {
    animation: dw-spin .75s linear infinite;
}

.dw-toast-stack {
    bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: .5rem;
    left: 1rem;
    position: fixed;
    z-index: 120000;
}

.dw-toast {
    align-items: center;
    border-radius: .75rem;
    color: #ffffff;
    display: inline-flex;
    font-size: .9rem;
    font-weight: 700;
    gap: .5rem;
    max-width: min(92vw, 30rem);
    padding: .75rem 1rem;
}

.dw-toast__icon {
    font-family: "Material Symbols Outlined", sans-serif;
    font-size: 1.1rem;
    font-variation-settings: "FILL" 1, "wght" 600, "GRAD" 0, "opsz" 24;
    line-height: 1;
}

.dw-toast--success {
    background: #2f8f2a;
}

.dw-toast--error {
    background: #b23a3a;
}

.dm-checkout-panel-loading {
    pointer-events: none;
    position: relative;
}

.dm-checkout-panel-loading::after {
    animation: dm-checkout-spin .7s linear infinite;
    border: 3px solid rgba(122, 78, 43, .25);
    border-top-color: #7a4e2b;
    border-radius: 9999px;
    content: '';
    height: 2rem;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 2rem;
    z-index: 3;
}

.dm-checkout-panel-loading::before {
    background: rgba(255, 255, 255, .66);
    content: '';
    inset: 0;
    position: absolute;
    z-index: 2;
}

.dm-cart-panel-loading {
    pointer-events: none;
    position: relative;
}

.dm-cart-panel-loading::before {
    background: rgba(255, 255, 255, .66);
    content: '';
    inset: 0;
    position: absolute;
    z-index: 20;
}

.dm-cart-panel-loading::after {
    animation: dm-checkout-spin .7s linear infinite;
    border: 3px solid rgba(122, 78, 43, .25);
    border-top-color: #7a4e2b;
    border-radius: 9999px;
    content: '';
    height: 2.25rem;
    left: 50%;
    position: fixed;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 2.25rem;
    z-index: 21;
}

@keyframes dm-checkout-spin {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}


.dw-parallax {
    transform: translate3d(0, var(--dw-parallax-y, 0px), 0);
    transition: transform .08s linear;
    will-change: transform;
}


.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    height: 1px;
    overflow: hidden;
    position: absolute !important;
    width: 1px;
}

.wp-block-post-content li {
    margin: revert;
}

.wp-block-post-content ul,
.wp-block-post-content ol {
    list-style: revert;
    margin: revert;
    padding: revert;
}

[data-reveal-stagger] > * {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity .8s var(--dw-ease-soft),
        transform .8s var(--dw-ease-soft);
}

[data-reveal-stagger].is-visible > *:nth-child(1) {
    opacity: 1;
    transform: none;
    transition-delay: .00s;
}

[data-reveal-stagger].is-visible > *:nth-child(2) {
    opacity: 1;
    transform: none;
    transition-delay: .10s;
}

[data-reveal-stagger].is-visible > *:nth-child(3) {
    opacity: 1;
    transform: none;
    transition-delay: .20s;
}

[data-reveal-stagger].is-visible > *:nth-child(4) {
    opacity: 1;
    transform: none;
    transition-delay: .30s;
}

[data-reveal-stagger].is-visible > *:nth-child(5) {
    opacity: 1;
    transform: none;
    transition-delay: .40s;
}

[data-reveal-stagger].is-visible > *:nth-child(n+6) {
    opacity: 1;
    transform: none;
    transition-delay: .50s;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity .9s var(--dw-ease-soft),
        transform .9s var(--dw-ease-soft);
    will-change: opacity, transform;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

[data-reveal="fade"] {
    transform: none;
}

[data-reveal="left"] {
    transform: translateX(-32px);
}

[data-reveal="right"] {
    transform: translateX(32px);
}

@media (max-width: 1023px) {
    [data-reveal-stagger] > * {
        opacity: 1;
        transform: none;
        transition: none;
    }
    [data-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

@keyframes dw-float-idle {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-4px);
    }
}

@keyframes dw-step-in {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}


@media (max-width: 480px) {
    .dw-float-ticket {
        padding: .875rem;
        right: 5rem;
    }
    .dw-float-ticket__label {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {

    .dw-parallax {
        transform: none !important;
    }
    [data-reveal-stagger] > * {
        opacity: 1;
        transform: none;
    }
    [data-reveal] {
        opacity: 1;
        transform: none;
    }
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .001ms !important;
    }
}

body {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
