/*
 * Merged stylesheet — Reservation Form plugin + Blocksy Child theme
 *
 * Order: plugin styles first, theme styles second.
 * Theme rules take precedence over plugin rules on any conflict
 * because they appear later in the cascade.
 *
 * :root variables from both files are merged into a single block below.
 */

/* =============================================================================
   CSS Custom Properties (merged from both files)
   ============================================================================= */
:root {
    /* -- Calendar / booking palette — derived from #D6C1A8 (warm sandy beige) -- */
    --res-primary:       #C4A98C;
    --res-primary-light: rgba(214, 193, 168, 0.2);
    --res-selected-bg:   #E8DDD1;
    --res-booked-bg:     #ECEAE4;
    --res-booked-text:   #7A7060;
    --res-error-color:   #b91c1c;
    --res-success-color: #15803d;
    --res-border:        #D6C1A8;
    --res-shadow:        none;
    --white:             #fff;

    /* -- Marquee / theme tokens (from stylebo.css) -- */
    --offset:                20vw;
    --move-initial:          calc(-25% + var(--offset));
    --move-final:            calc(-50% + var(--offset));
    --container-width-base:  calc(100vw - 2px) !important;
    --speed:                 10s;
}

/* =============================================================================
   Booking / Calendar styles
   ============================================================================= */

/* ── Step progress indicator ─────────────────────────────────────────────── */

/* ── Base font for the whole booking widget ──────────────────────────────── */

.res-steps,
.res-step,
.selection-info,
.calendar {
    font-family: 'Maison', sans-serif;
    font-size: 0.8rem;
}

.res-step h2 {
    font-family: 'Claren', serif;
    font-size: 1rem;
}

.res-steps {
    display: flex;
    align-items: center;
    padding: 2rem 0 2.5rem;
    gap: 0;
}
.res-steps__step {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    opacity: 0.4;
    transition: opacity 0.2s;
}
.res-steps__step--active,
.res-steps__step--done {
    opacity: 1;
}
.res-steps__num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 0;
    border: 2px solid var(--res-primary);
    color: var(--res-primary);
    font-size: 0.8rem;
    flex-shrink: 0;
    transition: background-color 0.2s, color 0.2s;
}
.res-steps__step--active .res-steps__num {
    background-color: var(--res-primary);
    color: #fff;
}
.res-steps__step--done .res-steps__num {
    background-color: var(--res-primary);
    color: #fff;
}
.res-steps__step--done .res-steps__num::before {
    content: '✓';
}
.res-steps__step--done .res-steps__num {
    font-size: 0;  /* hide the number when done, show checkmark via ::before */
}
.res-steps__step--done .res-steps__num::before {
    font-size: 0.8rem;
}
.res-steps__label {
    font-size: 0.8rem;
    white-space: nowrap;
}

.res-steps__divider {
    flex: 1;
    height: 2px;
    background: var(--res-border);
    margin: 0 0.75rem;
    min-width: 1.5rem;
}

/* ── Back button ─────────────────────────────────────────────────────────── */

.res-back-btn {
    background: none;
    border: none;
    padding: 0;
    margin-bottom: 1.25rem;
    color: var(--res-primary);
    font-size: 0.8rem;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
    display: inline-block;
}
.res-back-btn:hover {
    opacity: 0.75;
}

/* ── Steps ───────────────────────────────────────────────────────────────── */

.res-step {
    padding: 2.5rem 0;
}
.res-step + .res-step {
    border-top: 1px solid var(--res-border);
}

/* ── Property list ───────────────────────────────────────────────────────── */

.success-sent {
    display: none;
    padding: 1.25rem;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 0;
    color: var(--res-success-color);
    font-weight: 500;
    line-height: 1.5;
}

.houses-overview {
    border: 1px solid var(--res-border);
    display: block;
    margin-top: 1.5rem;
    width: 100%;
    border-radius: 0;
    overflow: hidden;
}
.houses-overview__list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.houses-overview__list-item {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    padding: 1rem;
    width: 100%;
}
.houses-overview__list-item + .houses-overview__list-item {
    border-top: 1px solid var(--res-border);
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */

.button {
    appearance: none;
    background: #fff;
    border-radius: 0;
    border: 1px solid currentColor;
    padding: 0.5rem 1.25rem;
    box-sizing: border-box;
    color: #000;
    cursor: pointer;
    display: inline-block;
    font-family: 'Maison', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.03rem;
    line-height: 1.5;
    text-decoration: none;
    transition: background-color 120ms ease, color 120ms ease, border-color 120ms ease;
}
.button--primary {
    background: var(--res-primary);
    border-color: var(--res-primary);
    color: #fff;
}
.button--primary:hover {
    background: #A88F77;
    border-color: #A88F77;
}
.button--primary:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.house-overview__actions {
    display: flex;
    align-items: center;
}
a.button + .house-overview__actions__button {
    margin-left: 1.5rem;
}
.house-overview__actions__button.active {
    background: var(--res-primary);
    border-color: var(--res-primary);
    color: #fff;
}

/* ── Focus rings (accessibility) ─────────────────────────────────────────── */

input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--res-primary);
    outline-offset: 2px;
}
button:focus-visible {
    outline: 2px solid var(--res-primary);
    outline-offset: 3px;
}

/* ── Availability section ────────────────────────────────────────────────── */

.availability-wrapper {
    display: flex;
    flex-wrap: wrap;
}
.availability-wrapper > .column {
    max-width: 50%;
    position: relative;
}

.availability-legend {
    list-style: none;
    margin: 2rem 0;
    padding: 0;
}
.availability-legend__item {
    display: block;
    height: 2.25rem;
    line-height: 2.25rem;
    padding: 0 0 0 2.25rem;
    position: relative;
    color: #5A5248;
    font-size: 0.8rem;
}
.availability-legend__item::before {
    border-radius: 0;
    border: 2px solid currentColor;
    content: "";
    display: block;
    height: 1.25rem;
    left: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 1.25rem;
}
.availability-legend__item--booked {
    color: var(--res-booked-text);
    opacity: 0.8;
}
.availability-legend__item--booked::before {
    background: var(--res-booked-bg);
    border-color: var(--res-booked-text);
}
.availability-legend__item--selection::before {
    background-color: var(--res-primary);
    border-color: var(--res-primary);
}

/* ── Form elements ───────────────────────────────────────────────────────── */

.form__input,
.form__select {
    height: 40px;
}
.form__select {
    background-position: calc(100% - 0.875rem);
    background-size: 1.125rem;
    padding-right: 2.875rem;
}
.form-row,
.form__row {
    margin-bottom: 1rem;
}

input[type=date],
input[type=email],
input[type=number],
input[type=password],
input[type=search],
input[type=tel],
input[type=text],
input[type=url],
select,
textarea {
    border: 1px solid #aaa;
    border-radius: 0;
    transition: border-color 120ms ease;
}
input[type=date]:hover,
input[type=email]:hover,
input[type=tel]:hover,
input[type=text]:hover,
select:hover,
textarea:hover {
    border-color: var(--res-primary);
}

/* ── Booking form inputs — warm beix background ──────────────────────────── */

.res-step input[type=text],
.res-step input[type=email],
.res-step input[type=tel],
.res-step input[type=number],
.res-step input[type=date],
.res-step select,
.res-step textarea {
    background-color: #F5F0EA;
    border-color: var(--res-border);
    font-family: 'Maison', sans-serif;
    font-size: 0.8rem;
}
.res-step input[type=text]:focus,
.res-step input[type=email]:focus,
.res-step input[type=tel]:focus,
.res-step input[type=number]:focus,
.res-step input[type=date]:focus,
.res-step select:focus,
.res-step textarea:focus {
    outline: 2px solid var(--res-primary);
    outline-offset: 2px;
    background-color: #EDE5DB;
}

.form__label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: #5A5248;
}
fieldset {
    border: 0 none;
    padding: 0;
}
.res-form__checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}
.form__checkbox__input {
    flex-shrink: 0;
    margin-top: 3px;
}
label.form__checkbox__label {
    font-size: 0.8rem;
    line-height: 1.4;
}

.house-overview__text {
    font-size: 0.8rem;
    margin-bottom: 0;
}
.house-overview__title {
    margin-bottom: 0;
}
.res-step p {
    font-size: 0.8rem;
}

/* Amaguem la llegenda "Available" — el disseny mostra només Booked i Your Selection */
.availability-legend__item--available {
    display: none;
}

/* ── Inline error ────────────────────────────────────────────────────────── */

.res-form__error {
    color: var(--res-error-color);
    background: #fff5f5;
    border: 1px solid #fecaca;
    border-radius: 0;
    padding: 0.5rem 0.75rem;
    margin: 0.75rem 0;
    font-size: 0.8rem;
    font-weight: 500;
}
.res-form__submit-error {
    color: var(--res-error-color);
    background: #fff5f5;
    border: 1px solid #fecaca;
    border-radius: 0;
    padding: 0.5rem 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.8rem;
}

/* ── Summary table ───────────────────────────────────────────────────────── */

.reservation-summary {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.25rem;
}
.reservation-summary th,
.reservation-summary td {
    padding: 0.5rem 0.25rem;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.8rem;
    text-align: left;
}
.reservation-summary th {
    font-weight: 600;
    width: 45%;
    color: #555;
}
.reservation-summary__total-row th,
.reservation-summary__total-row td {
    font-weight: 700;
    font-size: 0.8rem;
    border-top: 2px solid var(--res-primary);
    border-bottom: none;
    padding-top: 0.75rem;
    color: var(--res-primary);
}

#total_costs::before,
#total_costs_amount::before,
#clean_costs::before {
    content: '€';
}

/* ── Responsive — property list and availability columns ─────────────────── */

@media (min-width: 768px) {
    .selection-info {
        margin-left: 60px;
    }
    .house-overview__title {
        flex: 1 1 0;
    }
    .house-overview__actions {
        flex: 2 1 0;
        justify-content: flex-end;
    }
    .house-overview__text {
        flex: 0 0 calc(50% - 2.5rem);
        margin-left: 1.25rem;
        margin-right: 1.25rem;
    }
}

@media (min-width: 1024px) {
    .houses-overview__list-item {
        padding: 1.5rem;
    }
    .house-overview__text {
        flex-basis: calc(50% - 5rem);
        margin-left: 2.5rem;
        margin-right: 2.5rem;
    }
    .house-overview__actions {
        flex-grow: 1;
    }
}

/* ── Calendar ────────────────────────────────────────────────────────────── */

.calendar {
    height: auto;
    width: 100%;
    max-width: 500px;
    background-color: #F4EDE4;
    padding: 20px;
    position: relative;
    color: #2A2520;
    font-family: 'Maison', sans-serif;
    font-size: 0.8rem;
}
.calendar span {
font-size: 1rem;
font-family: Claren;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0;
    color: #2A2520;
}
.calendar-body {
    padding: 0;
}
.calendar-week-day {
    height: 36px;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    font-weight: 600;
    font-size: 0.8rem;
    margin-left: 0;
    margin-bottom: 4px;
    color: #9A9088;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.calendar-week-day div {
    display: grid;
    place-items: center;
}
.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}
.calendar-days > div {
    width: 100%;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    position: relative;
    cursor: pointer;
    margin: 0;
    transition: background-color 80ms ease;
    font-size: 0.8rem;
}
.calendar-day-hover.selected-date {
    background-color: var(--res-selected-bg) !important;
}
.calendar-days div span {
    display: none;
}

.calendar-days div:not(.booked-date):not(.oldday):not(.range-start):not(.range-end):hover {
    background-color: var(--res-primary-light);
}

.calendar-days div.curr-date:hover {
    background-color: var(--res-primary-light);
}
.calendar-days div.curr-date span {
    display: none;
}

.month-picker {
    padding: 0;
    margin-right: -35px;
    cursor: pointer;
}
.month-picker:hover {
    background-color: var(--res-primary-light);
}

.calendar__arrow__icon.roted {
    transform: rotate(180deg);
}

.year-picker {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding-bottom: 32px;
}
.year-change {
    height: 36px;
    width: 18px;
    display: grid;
    place-items: center;
    margin: 0 8px;
    cursor: pointer;
}
.month-change {
    height: 36px;
    width: 11px;
    display: grid;
    place-items: center;
    margin: 0 8px;
    cursor: pointer;
}
.year-change:hover,
.month-change:hover {
    background-color: var(--res-primary-light);
}

.calendar__arrow__hover-element {
    fill: rgba(0,0,0,0);
    transition: fill 96ms linear;
}

.calendar-footer {
    padding: 10px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.month-list {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: #F4EDE4;
    padding: 20px;
    grid-template-columns: repeat(3, auto);
    gap: 5px;
    display: grid;
    transform: scale(1.5);
    visibility: hidden;
    pointer-events: none;
}
.month-list.show {
    transform: scale(1);
    visibility: visible;
    pointer-events: auto;
    transition: all 0.2s ease-in-out;
}
.month-list > div {
    display: grid;
    place-items: center;
}
.month-list > div > div {
    width: 100%;
    padding: 6px 12px;
    text-align: center;
    cursor: pointer;
    font-family: 'Maison', sans-serif;
    font-size: 0.8rem;
}
.month-list > div > div:hover {
    background-color: var(--res-primary-light);
    color: var(--res-primary);
}

/* ── Booked / unavailable dates — clearly styled, not just faded ─────────── */

.calendar-day-hover.booked-date {
    background-color: var(--res-booked-bg) !important;
    opacity: 0.75;
    pointer-events: none;
    cursor: default;
    position: relative;
}
.calendar-day-hover.booked-date .data-date {
    text-decoration: line-through;
    color: var(--res-booked-text);
}

.calendar__day--is-booked,
.calendar__day--not-available {
    opacity: 0.3;
}

@keyframes to-top {
    0%   { transform: translateY(100%); opacity: 0; }
    100% { transform: translateY(0);    opacity: 1; }
}

.oldday {
    opacity: 0.25;
    cursor: default;
    pointer-events: none;
}

.today {
    font-weight: 700;
}

/* ── Range picker ──────────────────────────────────────────────────────────── */

/* Check-in and check-out days: filled gold circle */
.calendar-day-hover.range-start,
.calendar-day-hover.range-end {
    background-color: var(--res-primary) !important;
    z-index: 1;
}
.calendar-day-hover.range-start .data-date,
.calendar-day-hover.range-end   .data-date {
    color: #fff;
    font-weight: 700;
}

/* Days between check-in and check-out: cream fill, no border-radius */
.calendar-day-hover.range-mid.selected-date {
    background-color: var(--res-selected-bg) !important;
    border-radius: 0 !important;
}

/* Hover preview: faint beige tint on potential range days */
.calendar-day-hover.hover-preview {
    background-color: rgba(214, 193, 168, 0.2) !important;
}

/* Potential check-out day on hover: stronger beige tint */
.calendar-day-hover.hover-end {
    background-color: rgba(214, 193, 168, 0.5) !important;
}

/* Cursor hint while picking the end date */
.calendar.picking-end .calendar-day-hover:not(.booked-date):not(.oldday) {
    cursor: crosshair;
}

/* ── Selection status hint ─────────────────────────────────────────────────── */

.res-selection-status {
    font-size: 0.8rem;
    color: #6A6258;
    margin: 0 0 1rem;
    padding: 0.65rem 0.875rem;
    background: #F5F0EA;
    line-height: 1.4;
}

/* ── Date range summary card ───────────────────────────────────────────────── */

.res-date-range-display {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    padding: 0.875rem 1rem;
    background: var(--res-selected-bg);
    margin-bottom: 1.25rem;
}
.res-date-range-display__item {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.res-date-range-display__label {
    font-size: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0;
    color: #888;
}
.res-date-range-display__value {
	font-size: 1.3rem;
	color: black;
	font-family: Claren;
}

.res-date-range-display__arrow {
    font-size: 0.8rem;
    color: var(--res-primary);
    font-weight: 700;
}
.res-date-range-display__nights {
    margin-left: auto;
    font-size: 0.8rem;
    color: var(--res-primary);
    white-space: nowrap;
}

#start-of-stay {
    color: var(--res-primary);
    font-size: 0.8rem;
    padding-top: 0.5rem;
}

.calendar-day-hover.weeks.selected-date.get_next::after {
    right: 0;
    opacity: 0;
}
.calendar-day-hover.weeks.selected-date:first-of-type::before {
    opacity: 0;
    left: 0;
}

/* ── Nightly price tooltip ───────────────────────────────────────────────── */

.cost-per-night {
    padding: 4px 10px;
    background: var(--res-selected-bg);
    position: absolute;
    top: calc(100% + 4px);
    left: 50%;
    transform: translateX(-50%);
    display: none;
    z-index: 200;
    min-width: 110px;
    font-size: 12px;
    text-align: center;
    box-shadow: none;
    white-space: nowrap;
}
.calendar-day-hover > div.data-date {
    z-index: 10;
}
.calendar-days .cost-per-night span {
    position: relative !important;
    width: auto !important;
    background: transparent;
    height: auto !important;
    font-size: 12px !important;
}

.cost-per-night + .cost-per-night {
    display: none !important;
}

.link {
    text-decoration: underline !important;
    margin-bottom: 1.5rem;
    display: inline-block;
    color: var(--res-primary);
    font-family: 'Maison', sans-serif;
    font-size: 0.8rem;
}

.booking-form input[type="date"]::-webkit-inner-spin-button,
.booking-form input[type="date"]::-webkit-calendar-picker-indicator {
    display: none;
    -webkit-appearance: none;
}

/* ── Responsive — mobile layout ──────────────────────────────────────────── */

@media only screen and (max-width: 767px) {
    .availability-wrapper > .column,
    .summary-wrapper > .column {
        max-width: 100%;
    }
    .calendar,
    .summary-wrapper > .column:first-of-type {
        margin-bottom: 2.5rem;
    }
    .res-steps__label {
        display: none;  /* show numbers only on small screens */
    }
    .cost-per-night {
        /* on small screens, anchor to left edge so it never overflows right */
        left: 0;
        transform: none;
    }
}

/* =============================================================================
   Theme / site-wide styles  (stylebo.css — takes precedence over rules above)
   ============================================================================= */

.otgs-development-site-front-end,
p:empty {
    display: none;
}

article > .entry-content > *:not(.alignwide):not(.alignfull) {
    width: 100% !important;
}

[data-sidebar] {
    grid-row-gap: 0 !important;
}

.stk-block-text__text a span.stk-highlight {
    border-radius: 0;
    padding: 0;
}

/* Marquee */
#home-cafe-marquee  { --speed: 4s; }
#marquee-home-suscribe { --speed: 4s; }

.marquee {
    transition: all 0.5s;
    overflow: hidden;
}
.marquee.running .marquee-inner,
.marquee:hover .marquee-inner {
    animation-play-state: running;
}
.marquee span {
    position: relative;
    top: initial;
    left: initial;
    height: 30px;
    margin-left: -1px !important;
    white-space: nowrap;
}
.marquee-inner {
    width: fit-content;
    display: flex !important;
    position: relative;
    transform: translate3d(var(--move-initial), 0, 0);
    animation: marquee var(--speed) linear infinite;
    animation-play-state: paused;
}

@keyframes marquee {
    0%   { transform: translateX(var(--move-initial)); }
    100% { transform: translateX(var(--move-final)); }
}

@media (max-width: 1024px) {
    #wrapper-home-cafe-marquee .stk-column-wrapper > .stk-block-content.stk-inner-blocks,
    #wrapper-footer-home .stk-column-wrapper > .stk-block-content.stk-inner-blocks {
        height: auto !important;
    }
    #marquee-home-suscribe { order: -1; }
    #wrapper-footer-home .stk-block-image img {
        max-height: 100% !important;
    }
}

#marquee-home-suscribe .stk-block-content .wp-block-stackable-image {
    float: left !important;
}

/* WooCommerce */
.sale-price del { font-size: 100% !important; }
.price {
    --fontSize: 15px;
    --fontWeight: 400 !important;
}

/* Header & bottom bar menu */
@media (max-width: 689.98px) {
    #header [data-column-set='2'] > div.ct-container-fluid {
        width: auto;
        margin: 0 10px;
    }
}
#header { z-index: 9999999 !important; }
#header [data-row*='bottom'] {
    position: fixed !important;
    bottom: 0;
    width: 100vw;
}
#header [data-row*='bottom'] .menu-button-icon {
    width: 28px;
    overflow: hidden;
    display: flex;
    justify-content: flex-start;
    margin: 2px 0;
    padding: 1px;
}

/* Footer */
.footer-content .wp-block-navigation ul { gap: 3px; }
.footer-content .wp-block-navigation ul li {
    margin: 0;
    text-transform: uppercase;
    font-weight: 500;
}
footer .ct-widget > p { display: none; }

/* Paneles menú */
footer.ct-footer .menu-panel {
    position: fixed;
    top: 48px;
    right: 0;
    bottom: 53px;
    left: 0;
    display: flex;
    opacity: 0;
    visibility: hidden;
    transform: translate3d(-20%, 0, 0);
    transition: all 0.3s ease-in-out;
    z-index: 9999;
}
footer.ct-footer .menu-panel.active {
    display: flex;
    opacity: 1;
    visibility: visible;
    transform: translate3d(0, 0, 0);
}
footer.ct-footer .menu-panel > div > div { overflow-y: auto; }

@media (max-width: 1024px) {
    footer.ct-footer .menu-panel > div > div {
        max-height: calc(100vh - 74px);
    }
}
@media (min-width: 1024px) {
    footer.ct-footer .menu-panel > div:after {
        content: '';
        position: absolute;
        right: 0;
        width: 20px;
        height: 100%;
        background: #FAF3C6;
        z-index: 999;
    }
    #login-form-panel > div:after,
    #register-form-panel > div:after,
    #login-panel > div:after {
        background: #FFFBE4;
    }
}

.ct-language-switcher ul {
    display: flex;
    flex-direction: column;
}

/* Paneles menú — Clientes */
#locations-panel .countries {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding-right: 25px;
    font-weight: 500;
    text-transform: uppercase;
    --linkHoverColor: var(--paletteColor1);
}
#locations-panel .countries.active { flex-direction: row; }
#locations-panel .countries a { font-size: 50px; }
#locations-panel .countries.active > a,
#locations-panel .countries a.active span { display: none; }
#locations-panel .countries a.all {
    order: 100;
    font-size: 17px;
}
#locations-panel .countries.active a.active,
#locations-panel .countries.active a.all {
    order: 0;
    display: block;
    padding: 12px 0;
    font-size: 17px;
    font-weight: 500;
    cursor: pointer;
}
#locations-panel .countries.active a.all:after {
    content: '/';
    margin: 0 1ch;
}
#locations-panel .slowmov_locations.active { display: block !important; }
#locations-panel .slowmov_locations .stk-block-posts__items { justify-content: space-between; }
#locations-panel .slowmov_locations .stk-block-posts__items .stk-block-posts__item {
    flex: 0 0 calc(50% - 5px);
}
#locations-panel .slowmov_locations .stk-block-posts__items .stk-block-posts__item > div { margin: 0; }
#locations-panel .slowmov_locations .stk-img-wrapper {
    margin: 0 !important;
}
#locations-panel .slowmov_locations .stk-img-wrapper:before {
    content: '';
    display: block;
    padding-bottom: 100%;
}
#locations-panel .slowmov_locations .stk-img-wrapper img {
    position: absolute;
    top: 0;
}
#locations-panel .slowmov_locations .stk-block-posts__title {
    margin: 0;
    padding: 18px;
    padding-bottom: 0;
}
#locations-panel .slowmov_locations .stk-block-posts__excerpt {
    padding: 18px;
    padding-top: 0;
}
#locations-panel .slowmov_locations .stk-block-posts__excerpt p { margin: 0; }

@media (max-width: 1024px) {
    #locations-panel .countries {
        align-items: flex-start;
        padding: 0 10px;
    }
    #locations-panel .slowmov_locations .stk-block-posts__title {
        padding: 8px;
        padding-bottom: 0;
    }
    #locations-panel .slowmov_locations .stk-block-posts__excerpt {
        padding: 8px;
        padding-top: 0;
    }
}

/* Paneles Menú — Carrito */
#cart-panel .stk-column-wrapper > .stk-block-content.stk-inner-blocks {
    max-height: calc(100vh - 100px);
    height: calc(100vh - 100px);
    overflow: auto;
}
#cart-panel #carrito-slowmov-cart-panel-count { flex: 0 0 auto; }
#cart-panel p.cart-empty.woocommerce-info {
    background: none;
    justify-content: center;
    align-items: center;
    margin: 0;
    font-size: 17px;
    font-weight: 400;
    text-align: center;
}
#cart-panel p.cart-empty.woocommerce-info:before { content: none; }
#cart-panel p.return-to-shop { text-align: center; }
#cart-panel p.return-to-shop a {
    padding: 9px 40px;
    background: #FFFBE4;
    font-size: 17px;
    text-transform: none;
}
#cart-panel .woocommerce {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
#cart-panel .ct-cart-form {
    display: flex;
    flex-flow: column;
    justify-content: space-between;
    flex: 1 0 100%;
}
#cart-panel tbody {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}
#cart-panel tbody tr {
    --table-border-width: 0;
    flex: 1 0 49%;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    max-width: 50%;
}
#cart-panel tbody tr td.product-thumbnail {
    order: 1;
    flex: 1 0 100%;
    padding: 0;
}
#cart-panel tbody tr td.product-thumbnail img { width: 100%; }
#cart-panel tbody tr td.product-name {
    order: 2;
    flex: 1;
    padding: 4px 10px;
}
#cart-panel tbody tr td.product-name dl.variation { display: none; }
#cart-panel tbody tr td.product-subtotal {
    order: 3;
    display: block;
    padding: 4px 10px;
}
#cart-panel tbody tr td.product-quantity {
    order: 4;
    flex: 1 0 100%;
    display: block;
    padding: 0;
    text-align: right;
}
#cart-panel tbody tr td.product-quantity .quantity { width: 65px; }
#cart-panel tbody tr td.product-quantity .quantity input { padding: 0 5px !important; }
#cart-panel tbody tr td.product-remove {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 0;
}
#cart-panel tbody tr td.product-remove a {
    display: block;
    width: 22px;
    height: 22px;
    background: url('images/remove.svg') no-repeat;
}
#cart-panel .cart_totals {
    width: 100%;
    border: none;
    padding: 20px;
}
#cart-panel .cart_totals .wc-proceed-to-checkout { margin-top: 0; }
#cart-panel .cart_totals .wc-proceed-to-checkout a { background: #FFFBE4; }
#cart-panel thead,
#cart-panel tbody tr:last-child td > button,
#cart-panel tbody tr td.product-name .price,
#cart-panel tbody tr td.product-name .product-mobile-actions,
#cart-panel tbody tr td.product-remove a svg,
#cart-panel .cart_totals h2,
#cart-panel .woocommerce ~ div { display: none; }
#cart-panel tbody tr:last-child {
    display: flex;
    justify-content: center;
    min-width: 100%;
}
#cart-panel tbody tr:last-child .coupon { float: none; }
#cart-panel .cart-product-item {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 50%;
}
#cart-panel .cart-product-item > a { flex: 1 0 100%; }
#cart-panel .cart-product-item > span {
    display: none;
    flex: 0 0 auto;
    font-size: 25px;
}

/* Paneles Menú — Login */
#login-panel > .stk-inner-blocks {
    flex-flow: column nowrap;
    height: 100vh;
}
#login-panel .login-button {
    width: 168px;
    height: 30px;
    margin: 0 auto;
    border-radius: 0;
    line-height: 30px;
    background-color: #FAF3C6;
}
.menu-panel.form-panel label,
.menu-panel.form-panel a#log-in,
.menu-panel.form-panel a#lost-password,
.menu-panel.form-panel a.lost_password_link,
.menu-panel.form-panel a.register_link { display: none !important; }
span.woocommerce-input-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
}
.menu-panel.form-panel input,
.menu-panel.form-panel textarea {
    max-width: 412px;
    width: 100%;
    padding: 0 23px;
    background-color: white;
    font-size: 25px;
}
.menu-panel.form-panel input:focus,
.menu-panel.form-panel textarea:focus { background-color: #ffffff80; }
.menu-panel.form-panel [type="submit"] {
    width: 100%;
    background-color: #FAF3C6;
}
.menu-panel.form-panel #wwlc-registration-form form {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.menu-panel.form-panel p {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    flex: 0 0 49%;
    margin-bottom: 12px;
}
.menu-panel.form-panel .field-set.form-controls-section { flex: 1 0 100%; }

@media (max-width: 1024px) {
    .menu-panel.form-panel p { flex: 1 0 100%; }
    #cart-panel tbody tr span.woocommerce-Price-amount.amount {
        font-size: 14px;
        margin-left: 1ch;
    }
    #cart-panel .woocommerce-cart-form__contents .actions .button,
    #cart-panel .cart_totals .wc-proceed-to-checkout a { font-size: 17px; }
    #cart-panel .cart_totals {
        position: fixed;
        top: auto;
        right: 5px;
        bottom: 8px;
        left: 5px;
        width: calc(100vw - 10px);
        padding: 0 10px;
    }
}

/* Search */
body.search-results ul.entry-meta { display: none; }

/* Error 404 */
body.error404 #main { padding: 10%; }
body.error404 #main h1 { font-size: 6vh; }

/* Mobile menu */
#offcanvas {
    top: 48px;
    bottom: 53px;
    z-index: 99999999;
}
#offcanvas .ct-panel-content { padding: 10px 15px; }
#offcanvas .ct-panel-actions { display: none; }
#offcanvas .ct-panel-content > *:last-child { margin-top: auto; }
#offcanvas [data-id="mobile-menu-secondary"] { margin-top: 0; }
#offcanvas #menu-mobile-secondary {
    display: flex;
    padding-top: 20px;
}
#offcanvas #menu-mobile-secondary li { margin-right: 1em; }

/* Home */
@media (min-width: 1024px) {
    html.home { scroll-snap-type: y mandatory; }
    html.home .section {
        min-height: 100vh;
        width: 100vw;
        scroll-snap-align: start;
        -webkit-scroll-snap-align: start;
    }
}
html.home footer.ct-footer .footer-content { display: none; }

/* Pages — Subscribe */
#slowmov_suscribe_form,
#slowmov_suscribe_form .variations,
#slowmov_suscribe_form .single_variation_wrap {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    width: 100%;
}
#slowmov_suscribe_form .ct-cart-actions .quantity,
#slowmov_suscribe_form .woocommerce-variation-availability { display: none !important; }
#slowmov_suscribe_form .variations > * {
    width: 48%;
    height: 50px;
    background-color: #ffffff80;
    text-transform: uppercase;
    font-size: 25px;
}
#slowmov_suscribe_form .woocommerce-variation.single_variation { margin: 0; }
#slowmov_suscribe_form .woocommerce-variation-price .price {
    display: flex;
    align-items: center;
    height: 50px;
    font-size: 25px;
}
#slowmov_suscribe_form .woocommerce-variation-price .price .subscription-details { display: none; }
#slowmov_suscribe_form .woocommerce-variation-add-to-cart { flex: 1 0 100%; }
#slowmov_suscribe_form .woocommerce-variation-add-to-cart input { margin: 0; }
#slowmov_suscribe_form .variations #variations_list {
    pointer-events: none;
    touch-action: none;
    width: auto;
    padding: 0;
    border: none;
    background: none;
    text-align: center;
}

@media (max-width: 1024px) {
    #slowmov_suscribe_form .variations > *,
    #slowmov_suscribe_form .woocommerce-variation-price .price {
        height: 28px;
        font-size: 17px;
    }
    #slowmov_suscribe_form .woocommerce-variation-add-to-cart input {
        min-height: 34px;
        font-size: 17px;
    }
}

/* Pages — Shop */
body.woocommerce #main .ct-container {
    display: flex;
    flex-flow: column;
    grid-row-gap: 20px;
    width: 100%;
    margin: 0;
    padding: 25px 0;
}
.stk-block-button-group .stk-row { overflow: hidden; }
body #main .ct-container .ct-sidebar .stk-button-group a.current_page {
    background-color: var(--paletteColor5) !important;
}
body #main .ct-container .ct-sidebar .stk-button-group a.current_page:before { border: none !important; }
body.woocommerce #main .ct-container .ct-sidebar .widget-title { display: none; }
body.woocommerce #main .ct-container .ct-sidebar .wp-block-tag-cloud { padding: 0 10px 15px; }
body.woocommerce #main .ct-container .ct-sidebar .wp-block-tag-cloud a {
    margin: 0;
    margin-right: 5px;
    border: none;
    padding: 0;
    color: #aeaeae;
    font-size: 14px !important;
    font-weight: 500;
    text-decoration: none;
}
body.woocommerce #main .ct-container .ct-sidebar .wp-block-tag-cloud a:before { content: '#'; }
body.woocommerce #main .ct-container .ct-sidebar .wp-block-tag-cloud a.current_page,
body.woocommerce #main .ct-container .ct-sidebar .wp-block-tag-cloud a:hover {
    background: none;
    color: #EDD950;
}

@media (max-width: 1024px) {
    body.woocommerce #main .ct-container { padding: 12px 0; }
}

/* Grid productos */
ul.products { grid-row-gap: 0; }
ul.products .woocommerce-loop-product__link {
    flex-flow: row wrap;
    justify-content: space-between;
}
@media (max-width: 1024px) {
    ul.products .woocommerce-loop-product__link { padding-bottom: 25px; }
}

/* Marquee in products */
ul.products .woocommerce-loop-product__link .marquee {
    position: relative;
    width: 100%;
    height: 11px;
    margin-top: -11px;
    z-index: 1;
}

/* Badges */
ul.products .woocommerce-loop-product__link .onsale,
ul.products .woocommerce-loop-product__link .out-of-stock-badge {
    height: 11px;
    font-size: 11px;
    font-weight: 400;
    text-transform: uppercase;
}
ul.products .ct-image-container { margin-bottom: 0; }
ul.products h2.woocommerce-loop-product__title,
ul.products span.price {
    margin: 0 !important;
    padding: 0 5px;
    line-height: 30px;
    font-weight: 400;
    color: #000;
    font-size: 17px;
}

/* Product overlay tag cloud */
#home-best-sellers ul.products h2.woocommerce-loop-product__title,
ul.products .tag_wrapper {
    position: absolute;
    display: none;
    padding: 25px;
    font-size: 30px;
    line-height: 36px;
    color: #fff;
    z-index: 99;
}
#home-best-sellers ul.products h2.woocommerce-loop-product__title {
    order: 1;
    padding-top: 25px;
    text-decoration: underline;
}
#home-best-sellers ul.products .tag_wrapper { padding: 0; }

@media (min-width: 1024px) {
    ul.products .woocommerce-loop-product__link .marquee {
        height: 30px;
        margin-top: -30px;
    }
    #home-best-sellers ul.products li:hover h2.woocommerce-loop-product__title,
    ul.products li:hover .tag_wrapper { display: block; }
    ul.products h2.woocommerce-loop-product__title { font-size: 17px; }
    ul.products .woocommerce-loop-product__link .onsale,
    ul.products .woocommerce-loop-product__link .out-of-stock-badge {
        height: 30px;
        font-size: 17px;
    }
}

ul.products li:hover .ct-image-container:before,
ul.products li:hover .marquee:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: #F2E37E99;
    z-index: 999;
    backdrop-filter: blur(10px);
}
ul.products .tag_wrapper a {
    font-size: 30px;
    color: #fff;
}

#logo-big-home { flex: 1; }
#logo-big-home a {
    max-width: 100%;
    margin-top: 25px;
}
#logo-big-home a img {
    display: block !important;
    max-height: 30vh !important;
    margin: 0 !important;
    object-fit: contain;
    width: 100vw !important;
}

#home-best-sellers-prevArrow,
#home-best-sellers-nextArrow { cursor: pointer; }
#home-best-sellers ul.products {
    --shop-columns: 2;
    width: calc(100vw + 7px);
    margin-left: 10px;
    overflow: hidden;
}
#home-best-sellers ul.products > div { margin-left: -90px; }
#home-best-sellers ul.products li { margin-right: 7px; }
#home-best-sellers ul.products .marquee {
    position: relative;
    padding-right: 15px;
}
#home-best-sellers ul.products span.price { display: none; }

@media (min-width: 1024px) {
    #home-best-sellers ul.products li { margin-right: 15px; }
    #home-best-sellers ul.products > div { margin-left: 0; }
}

/* Single product */
body.single-product #main article {
    display: flex;
    flex-direction: column;
}
body.single-product .woocommerce-notices-wrapper {
    order: 1;
    margin-top: 45px;
}
body.single-product .woocommerce-notices-wrapper .woocommerce-message { display: none; }
body.single-product .wp-block-stackable-columns { order: 2; }
body.single-product .hero-section {
    width: 100%;
    margin: 0;
    padding: 12px 15px;
}
body.single-product .hero-section li.meta-categories a {
    min-height: auto;
    border-radius: 0;
    text-transform: lowercase;
}
body.single-product .hero-section h1.page-title {
    margin: 0;
    padding: 12px 0;
}
body.single-product .slowmov_price { margin: 0; }
body.single-product .product-entry-wrapper { width: 100% !important; }
body.single-product .product-entry-wrapper .woocommerce-product-gallery {
    top: 0;
    margin: 0;
}
body.single-product .product-entry-wrapper .woocommerce-product-gallery .flexy span {
    opacity: 1;
    --translate-x: 0;
}
body.single-product .product-entry-wrapper .woocommerce-product-gallery .flexy span:before { background: none !important; }
body.single-product .product-entry-wrapper .woocommerce-product-gallery .flexy-pills { display: none; }
body.single-product .entry-summary {
    display: flex;
    flex-direction: column;
    top: 0;
}
body.single-product .entry-summary .entry-title,
body.single-product .entry-summary .entry-meta-categories,
body.single-product .single_variation .woocommerce-variation-availability,
body.single-product .entry-summary > .price,
body.single-product .entry-summary p.first-payment-date { display: none; }
body.single-product .entry-summary > .price {
    order: 3;
    margin: 0;
    padding: 10px;
}
body.single-product .entry-summary .woocommerce-product-details__short-description {
    order: 3;
    padding: 10px;
    padding-right: 50px;
    text-align: justify;
}
body.single-product .entry-summary .woocommerce-product-details__short-description p {
    margin: 0;
    line-height: 1.3em;
}
body.single-product .entry-summary .entry-meta.entry-meta-tags {
    order: 4;
    margin-bottom: 20px;
    padding: 0 10px;
}
body.single-product .entry-summary .entry-meta.entry-meta-tags li { margin-right: 5px; }
body.single-product form.variations_form.cart {
    order: 5;
    margin: 0 !important;
    padding: 0 10px !important;
    border: 0 !important;
    margin-top: auto !important;
}
body.single-product table.variations tr {
    flex-direction: row !important;
    margin: 0 !important;
}
body.single-product table.variations td.label label {
    width: 150px;
    font-size: 25px;
    font-weight: 400;
    text-transform: uppercase;
}
body.single-product table.variations td.value {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 5px;
}
body.single-product table.variations td.value input { display: none; }
body.single-product table.variations td.value label {
    min-width: 75px;
    border: 1px solid black;
    padding: 0 8px;
    border-radius: 0;
    text-align: center;
    font-size: 13px;
    line-height: 23px;
}
body.single-product table.variations td.value input:disabled + label { opacity: 0; }
body.single-product table.variations td.value input:checked + label {
    background-color: #FEF2A5;
    border-color: #FEF2A5;
}
body.single-product table.variations a.reset_variations { display: none !important; }
body.single-product .single_variation_wrap {
    position: relative;
    font-size: 25px;
}
body.single-product .single_variation_wrap .slowmov-variations-selected {
    position: relative;
    bottom: -12px;
    display: none;
    align-items: center;
    width: 100%;
    min-height: 52px;
    border-top: 1px solid;
}
body.single-product .single_variation_wrap .slowmov-variations-selected.visible { display: flex; }
body.single-product .single_variation_wrap .single_variation {
    position: relative;
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    min-height: 52px;
    margin: 0 !important;
    margin-top: -45px !important;
    padding: 5px 0;
    font-size: 25px;
}
body.single-product .single_variation_wrap .single_variation .price { margin-bottom: 0; }
body.single-product .single_variation_wrap .ct-cart-actions > * {
    flex: 1 0 100%;
    margin: 0;
}
body.single-product .single_variation_wrap .ct-cart-actions .quantity {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    border-top: 1px solid;
    font-size: 11px;
}
body.single-product .single_variation_wrap .ct-cart-actions .quantity span {
    position: relative;
    top: 0; bottom: 0; right: 0; left: 0;
    font-size: 11px;
}
body.single-product .single_variation_wrap .ct-cart-actions .quantity span.slowmov_label_qty {
    order: 1;
    margin-right: auto;
    font-size: 25px !important;
}
body.single-product .single_variation_wrap .ct-cart-actions .quantity span.ct-increase { order: 2; }
body.single-product .single_variation_wrap .ct-cart-actions .quantity span.ct-decrease { order: 4; }
body.single-product .single_variation_wrap .ct-cart-actions .quantity input {
    order: 3;
    width: 1ch;
    border: none;
    padding: 0 !important;
}
body.single-product .single_variation_wrap .ct-cart-actions .quantity input:focus {
    border: none;
    background: none;
}
body.single-product .single_variation_wrap .ct-cart-actions a.added_to_cart.wc-forward {
    min-height: 30px;
    font-size: 17px;
}

@media (max-width: 1024px) {
    body.single-product .entry-summary .woocommerce-product-details__short-description { padding: 12px 10px !important; }
    body.single-product .entry-summary .woocommerce-product-details__short-description p { font-size: 14px; }
    body.single-product .entry-summary .entry-meta.entry-meta-tags li a {
        padding: 0;
        background: none;
        color: #A3A3A3;
        font-size: 14px;
        font-weight: 500;
    }
    body.single-product table.variations tr { flex-wrap: wrap; }
    body.single-product table.variations td.label { flex: 1 0 100%; }
    body.single-product table.variations td.label label { font-size: 15px !important; }
    body.single-product .single_variation_wrap .single_variation,
    body.single-product .single_variation_wrap .slowmov-variations-selected,
    body.single-product .single_variation_wrap .ct-cart-actions .quantity span.slowmov_label_qty { font-size: 15px !important; }
    body.single-product .single_variation_wrap .ct-cart-actions > button {
        font-size: 17px;
        min-height: 32px;
    }
    body.single-product .woocommerce-notices-wrapper { margin-top: 27px; }
    #atributos-producto .stk-block-column {
        width: 33% !important;
        flex: 0 0 33%;
        margin-bottom: 20px;
    }
}

/* WooCommerce account, checkout */
.woocommerce.ct-woo-account,
.ct-customer-details {
    flex-direction: column-reverse;
    padding: 25px 3vw;
}
.ct-order-review {
    top: 25px;
    right: 3vw;
    border: 0px solid;
    background-color: #FEF2A5;
}
.ct-customer-details select,
.ct-customer-details textarea,
.ct-customer-details input,
.ct-customer-details span.select2-container .select2-selection--single { border-radius: 0 !important; }
.ct-acount-nav,
.woocommerce-MyAccount-navigation ul li a,
.woocommerce-MyAccount-navigation ul li:hover a,
.woocommerce-MyAccount-navigation ul li.is-active a {
    background: none !important;
    color: black !important;
}

/* Recetas */
@media (min-width: 1000px) {
    [data-sidebar='left'] { --grid-template-columns: 465px auto !important; }
}
body.post-type-archive-recetas article .card-content {
    align-self: flex-start !important;
    margin: 50px 15px;
}
body.post-type-archive-recetas article .card-content .entry-excerpt { visibility: hidden; }
body.post-type-archive-recetas article .card-content h2 a {
    border-radius: 0;
    padding: 0 8px;
    background-color: var(--paletteColor5, #FEF2A5);
}
@media (max-width: 1024px) {
    body.post-type-archive-recetas article.entry-card { flex-direction: row; }
    body.post-type-archive-recetas article.entry-card a.ct-image-container {
        flex: 0 0 50%;
        margin-bottom: 0 !important;
    }
    body.post-type-archive-recetas article .card-content { margin: 0 15px; }
    body.post-type-archive-recetas article .card-content * {
        margin: 0 !important;
        font-size: 14px;
    }
}

/* Contacta */
@media (min-width: 1024px) {
    .sidebar-izquierda { min-width: 465px !important; }
}
.wpforms-container label.wpforms-error { padding: 0 15px; }
.wpforms-container .wpforms-field { padding: 6px 0; }
.wpforms-field-container input,
.wpforms-field-container input::placeholder,
.wpforms-field-container input::-webkit-input-placeholder,
.wpforms-field-container textarea,
.wpforms-field-container textarea::placeholder {
    min-height: 37px;
    border-radius: 0 !important;
    opacity: 1 !important;
    font-size: 14px !important;
    line-height: 14px;
}
.wpforms-field-container input::-webkit-input-placeholder,
.wpforms-field-container textarea::-webkit-input-placeholder { line-height: normal !important; }
.wpforms-container .wpforms-submit {
    width: 100%;
    font-size: 16px;
}

/* Wholesale */
#wwof_access_denied > h2.content-title,
#wwof_access_denied > p { display: none; }
#wwof_access_denied .menu-panel {
    display: flex;
    min-height: calc(100vh - 100px);
}
@media (min-width: 1000px) {
    #wwof_access_denied .menu-panel { min-height: 100vh; }
}
#wwof_product_listing_container {
    grid-template-columns: 100% !important;
    grid-column-gap: 0;
    margin: 0 !important;
}
#wwof_product_listing_filter {
    display: flex !important;
    justify-content: center;
    margin: 20px 0;
}
#wwof_product_listing_filter input {
    max-width: 115px;
    min-height: 26px;
    height: 26px;
    margin: 0 2px !important;
    padding: 0 !important;
    text-align: center;
    text-transform: uppercase;
    font-size: 16px;
    line-height: 16px;
}
#wwof_product_listing_filter input[type=text] {
    background: none;
    border: 1px solid #000;
}
#wwof_product_listing_filter input[type=text]::placeholder { color: #000; }
#wwof_product_search_category_filter { display: none; }
#wwof_product_listing_ajax_content { min-height: calc(100vh - 100px) !important; }
#wwof_product_listing_table { border: none; }
#wwof_product_listing_table .mobile-label,
#wwof_product_listing_table .product_variations_label { display: none !important; }
#wwof_product_listing_table tr {
    display: flex !important;
    border: none !important;
    border-top: 1px solid #00000020 !important;
    padding: 0 !important;
    background: none !important;
}
#wwof_product_listing_table td {
    display: flex !important;
    margin: 0 !important;
    padding: 0 !important;
    border-width: 0 !important;
}
#wwof_product_listing_table td.product_image_col {
    flex: 0 0 auto;
    max-width: 30%;
}
#wwof_product_listing_table td.product_image_col img {
    height: 100%;
    object-fit: cover;
    margin: 0;
}
#wwof_product_listing_table td.product_price_col {
    flex: 1 0 45%;
    flex-direction: column;
    padding: 10px 5px !important;
    font-size: 16px;
}
#wwof_product_listing_table td.product_price_col select {
    height: 26px;
    background: none;
    background-image: url('images/arrow-down.png');
    background-repeat: no-repeat;
    background-position: calc(100% - 8px) center;
    border: 1px solid #000;
}
#wwof_product_listing_table td.product_row_action {
    flex: 1 0 25%;
    flex-direction: column;
    justify-content: flex-end;
    padding: 10px 5px !important;
}
#wwof_product_listing_table .product_row_action .spinner {
    display: none !important;
    visibility: hidden !important;
    max-width: 0 !important;
    max-height: 0 !important;
}
#wwof_product_listing_table td.product_row_action .quantity {
    display: flex !important;
    width: auto !important;
    height: auto !important;
}
#wwof_product_listing_table td.product_row_action .quantity input {
    order: 2;
    width: 1ch;
    border: none;
    padding: 0 !important;
}
#wwof_product_listing_table td.product_row_action .quantity span {
    position: relative;
    font-size: 16px;
}
#wwof_product_listing_table td.product_row_action .quantity span.ct-decrease { order: 1; }
#wwof_product_listing_table td.product_row_action .quantity span.ct-increase { order: 3; }
#wwof_product_listing_table td.product_row_action .single_add_to_cart_button {
    display: block;
    max-width: 90px;
    min-height: 26px;
    height: 26px;
    padding: 0 12px 0 38px !important;
    background-image: url('images/elipse-add.png');
    background-repeat: no-repeat;
    background-position: 14px center;
    font-size: 16px;
    line-height: 16px;
}
#wwof_product_listing_table td.product_row_action .added_to_cart {
    position: fixed;
    bottom: 65px;
    left: 0;
    display: flex !important;
    width: 100%;
}

/* Pagination */
.prev.page-numbers,
.next.page-numbers { display: none !important; }
.page-numbers {
    flex: 0 0 auto !important;
    width: auto !important;
    margin: 0 !important;
    font-size: 30px;
    font-weight: 400;
    background: none !important;
    border: none !important;
}
.page-numbers:after { content: '.'; }
a.page-numbers:last-of-type:after { content: none; }

/* Tablet */
@media (min-width: 690px) {
    #offcanvas,
    footer.ct-footer .menu-panel {
        top: 70px;
        bottom: 80px;
    }
}
@media (max-width: 999px) {
    #header [data-row*='bottom'] [data-items] { justify-content: space-around; }
    #header [data-row*='bottom'] [data-items='primary'] { max-height: 0; }
}

/* Desktop */
#cart-panel tbody tr.cart-subtotal,
#cart-panel tbody tr.woocommerce-shipping-totals.shipping { display: none; }

@media (min-width: 1000px) {
    #header [data-items] { flex-direction: column; }
    #header [data-items] > * { margin: 0; }
    #header [data-row*='bottom'] {
        top: 0;
        width: 52px;
        height: 100vw;
    }
    #header [data-row*='bottom'] .ct-container {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 100vh;
        padding: 25px 0;
    }
    #header [data-column='middle'] { justify-content: center; }
    .ct-language-switcher ul {
        top: -25%;
        flex-direction: row;
        margin-left: 52px;
    }
    footer.ct-footer { z-index: 999999; }
    #offcanvas .ct-panel-content { padding: 15px 25px; }
    #offcanvas,
    footer.ct-footer .menu-panel {
        top: 0;
        right: 0;
        bottom: 0;
        left: 52px;
        padding-right: 50% !important;
        background-color: #ffffff47 !important;
        -webkit-backdrop-filter: blur(7px);
        backdrop-filter: blur(7px);
        cursor: pointer;
    }
    #locations-panel .countries a {
        margin: 0;
        font-size: 75px;
    }
    #locations-panel .countries { align-items: flex-end; }
    article.page .entry-content > #cart-panel { max-width: 60vw; }
    #cart-panel .stk-column-wrapper > .stk-block-content.stk-inner-blocks {
        max-height: 100vh;
        height: 100%;
    }
    #cart-panel tbody tr.cart-subtotal * {
        padding: 10px 4px;
        font-size: 25px;
    }
    #cart-panel tbody tr td.product-name *,
    #cart-panel tbody tr td.product-subtotal * { font-size: 15px; }
    #cart-panel .stk-column-wrapper > .stk-block-content.stk-inner-blocks .wp-block-group { margin: 0 -32px; }
    #cart-panel .cart-product-item > span { display: block; }
    #login-panel .login-button {
        width: 220px;
        height: 40px;
        font-size: 25px;
        line-height: 40px;
    }
    #main,
    footer.ct-footer { padding-left: 52px; }
    body.woocommerce #main .ct-container .ct-sidebar .wp-block-tag-cloud { padding: 25px; }
    body.woocommerce #main .ct-container .ct-sidebar .wp-block-tag-cloud a { font-size: 30px !important; }

    /* Grid productos */
    ul.products h2.woocommerce-loop-product__title,
    ul.products span.price {
        padding: 10px;
        padding-bottom: 30px;
        font-size: 28px;
    }

    body.single-product .hero-section { display: none; }
    body.single-product .product-entry-wrapper .woocommerce-product-gallery a { height: 100vh; }
    body.single-product .entry-summary {
        min-height: 100vh;
        padding: 25px;
    }
    body.single-product .entry-summary .entry-title {
        order: 2;
        display: block;
        margin: 30px 0 10px 0 !important;
    }
    body.single-product .entry-summary > .price { display: block; }
    body.single-product .entry-summary .entry-meta-categories {
        order: 1;
        display: block;
    }
    body.single-product .entry-summary .entry-meta-categories a {
        border-radius: 0;
        text-transform: lowercase;
        min-height: 25px;
        padding: 0 8px;
        background-color: var(--paletteColor5);
        font-size: 20px;
    }
    body.single-product .entry-summary .entry-meta-tags a {
        padding: 0;
        background: none;
        color: #A3A3A3;
        font-size: 20px;
    }
    body.single-product .single_variation_wrap .ct-cart-actions button {
        min-height: 52px;
        margin-top: 45px;
        font-size: 25px;
    }

    .wpforms-field-container input,
    .wpforms-field-container input::placeholder,
    .wpforms-field-container input::-webkit-input-placeholder,
    .wpforms-field-container textarea,
    .wpforms-field-container textarea::placeholder {
        min-height: 50px;
        font-size: 25px !important;
        line-height: 25px;
    }
    .wpforms-field-container input::placeholder,
    .wpforms-field-container input::-webkit-input-placeholder { line-height: 4em !important; }
    .wpforms-field-container textarea { min-height: 300px; }
    .wpforms-container .wpforms-submit {
        height: 55px;
        font-size: 30px;
    }

    /* Wholesale */
    #wwof_product_listing_filter { margin: 25px 0 !important; }
    #wwof_product_listing_filter input {
        max-width: 300px;
        width: 300px;
        min-height: 52px;
        font-size: 30px;
    }
    #wwof_product_listing_table td.product_image_col { flex: 0 0 20%; }
    #wwof_product_listing_table td.product_image_col img { height: 19vw; }
    #wwof_product_listing_table td.product_price_col {
        flex-direction: row;
        flex-wrap: wrap;
        flex: 0 0 40%;
        padding: 30px 20px !important;
        font-size: 30px;
    }
    #wwof_product_listing_table td.product_price_col a.product_link {
        max-width: 50%;
        margin-right: auto;
    }
    #wwof_product_listing_table td.product_price_col select {
        height: 55px;
        margin-top: auto;
        font-size: 30px;
        line-height: 35px;
    }
    #wwof_product_listing_table td.product_price_col .price { font-size: 30px; }
    #wwof_product_listing_table td.product_row_action {
        flex-wrap: wrap;
        flex-direction: row;
        justify-content: flex-start;
        padding: 30px 35px !important;
    }
    #wwof_product_listing_table td.product_row_action .quantity {
        flex: 1 0 auto;
        justify-content: center;
        align-items: flex-start;
    }
    #wwof_product_listing_table td.product_row_action .quantity span {
        top: 0;
        right: auto;
        left: auto;
    }
    #wwof_product_listing_table td.product_row_action .quantity span:before,
    #wwof_product_listing_table td.product_row_action .quantity span:after { font-size: 14px; }
    #wwof_product_listing_table td.product_row_action .quantity input {
        width: 2ch;
        font-size: 30px;
    }
    #wwof_product_listing_table td.product_row_action .single_add_to_cart_button {
        max-width: 205px;
        width: 205px;
        height: 65px;
        margin-left: auto;
        background-image: url('images/elipse-add-big.png');
        background-size: 35px center;
        font-size: 30px;
    }
    #wwof_product_listing_table td.product_row_action .added_to_cart {
        position: relative;
        bottom: 0;
        width: auto;
        display: flex !important;
        flex: 1 0 100%;
        height: 55px;
        margin-top: auto;
    }
}

@media (min-width: 1100px) {
    #slowmov_suscribe_form,
    #slowmov_suscribe_form .variations,
    #slowmov_suscribe_form .single_variation_wrap {
        flex-wrap: nowrap;
        width: auto;
    }
    #slowmov_suscribe_form .variations > * { width: 200px; }
}