/*!
 * Footer Builder V2 — storefront styles (drawn by ftv2-render.js).
 * Every colour and size is a custom property set from the footer's look (see vars() in the
 * renderer); blocks override the same properties for themselves. Everything is scoped to .ftv2
 * so the store's own styles never leak in or out.
 * Breakpoints: tablets below 992px, phones below 768px (the store's own).
 */

.ftv2-root { display: block; position: relative; z-index: 1; }
.ftv2-root:empty { display: none; }

.ftv2 {
    --ft-k: 1;
    --ft-b-bg: transparent;
    --ft-b-pad: 0px;
    --ft-b-r: 0px;
    position: relative;
    display: block;
    margin: 0;
    padding: 0;
    background: var(--ft-bg);
    color: var(--ft-text-c);
    font-family: var(--ft-font, inherit);
    font-size: calc(var(--ft-text-fs) * var(--ft-k));
    line-height: var(--ft-lh);
    border-top: var(--ft-bd-w) solid var(--ft-bd-c);
    border-radius: var(--ft-r-top) var(--ft-r-top) 0 0;
    overflow: hidden;
    text-align: start;
    -webkit-font-smoothing: antialiased;
}
.ftv2 *, .ftv2 *::before, .ftv2 *::after { box-sizing: border-box; }
.ftv2 ul, .ftv2 ol { list-style: none; margin: 0; padding: 0; }
.ftv2 li { margin: 0; padding: 0; }
.ftv2 p { margin: 0; }
.ftv2 a { text-decoration: none; color: inherit; background: none; }
.ftv2 button { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; }
.ftv2 svg { display: block; width: 100%; height: 100%; }
.ftv2 img { display: block; max-width: 100%; border: 0; }
.ftv2 :focus-visible { outline: 2px solid var(--ft-accent); outline-offset: 3px; border-radius: 4px; }
.ftv2-sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.ftv2.has-img::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--ft-img);
    background-size: cover;
    background-position: center;
    z-index: 0;
}
.ftv2.has-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: #000;
    opacity: var(--ft-shade);
    z-index: 0;
}
.ftv2 > * { position: relative; z-index: 1; }

.ftv2-in {
    width: 100%;
    max-width: calc(var(--ft-maxw) + var(--ft-px) * 2);
    margin: 0 auto;
    padding-inline: var(--ft-px);
}
.ftv2-main { padding-top: var(--ft-pt); padding-bottom: var(--ft-pb); }

/* ---------------------------------------------------------------- rows of blocks
 * The renderer groups the blocks into rows for the screen size ("blocks per row") and gives each
 * "Fill the width" row its column widths (grid-template-columns) from the blocks' widths. */

.ftv2-rows { display: grid; row-gap: var(--ft-gy); }
.ftv2-row { min-width: 0; column-gap: var(--ft-gx); align-items: var(--ft-valign); }
.ftv2-row.is-fill { display: grid; }
.ftv2-row.is-between, .ftv2-row.is-packed { display: flex; flex-wrap: wrap; row-gap: var(--ft-gy); }
.ftv2-row.is-between { justify-content: space-between; }
.ftv2-row.is-packed { justify-content: flex-start; }
.ftv2-row.is-between > .ftv2-b, .ftv2-row.is-packed > .ftv2-b { flex: 0 1 auto; max-width: 100%; }
.ftv2-b {
    min-width: 0;
    background: var(--ft-b-bg);
    padding: var(--ft-b-pad);
    border-radius: var(--ft-b-r);
}
.ftv2-b.has-align { text-align: var(--ft-b-align); }
.ftv2-b.has-align .ftv2-soc, .ftv2-b.has-align .ftv2-apps { justify-content: var(--ft-b-align); }
.ftv2-b.has-align .ftv2-logo-wrap { display: flex; justify-content: var(--ft-b-align); }
.ftv2-b.has-align .ftv2-text { margin-inline: auto; }
.ftv2-b.has-align[style*="--ft-b-align:start"] .ftv2-text { margin-inline: 0 auto; }
.ftv2-b.has-align[style*="--ft-b-align:end"] .ftv2-text { margin-inline: auto 0; }

/* ---------------------------------------------------------------- headings */

.ftv2 .ftv2-h {
    margin: 0 0 var(--ft-title-gap);
    padding: 0;
    color: var(--ft-title-c);
    font-family: inherit;
    font-size: calc(var(--ft-title-fs) * var(--ft-k));
    font-weight: var(--ft-title-fw);
    line-height: 1.25;
    letter-spacing: var(--ft-title-ls);
    text-transform: var(--ft-title-tt);
    border: 0;
    background: none;
}
.ftv2[dir="rtl"] .ftv2-h { letter-spacing: 0; }
.ftv2-h-btn { display: none; }

/* ---------------------------------------------------------------- logo & text */

.ftv2-logo { display: inline-flex; align-items: center; max-width: 100%; }
.ftv2-logo img { height: var(--ft-logo-h); width: auto; max-width: min(100%, 320px); object-fit: contain; }
.ftv2-logo-text { font-size: calc(var(--ft-title-fs) * var(--ft-k)); font-weight: 700; color: var(--ft-label-c); }
.ftv2-logo-wrap { margin-bottom: var(--ft-logo-gap); }
.ftv2-logo-row { display: flex; margin-bottom: var(--ft-gy); }
.ftv2-logo-row.is-center { justify-content: center; }
.ftv2-logo-row.is-end { justify-content: flex-end; }

.ftv2 .ftv2-text {
    color: var(--ft-text-c);
    font-size: calc(var(--ft-text-fs) * var(--ft-k));
    line-height: var(--ft-lh);
    max-width: var(--ft-text-max);
}
.ftv2-text + .ftv2-soc, .ftv2-text + .ftv2-news, .ftv2-text + .ftv2-btn { margin-top: 24px; }

/* ---------------------------------------------------------------- links */

.ftv2-links { display: grid; gap: var(--ft-link-gap); }
.ftv2 .ftv2-a, .ftv2 .ftv2-ba {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    color: var(--ft-link-c);
    font-size: calc(var(--ft-link-fs) * var(--ft-k));
    font-weight: var(--ft-link-fw);
    line-height: 1.35;
    transition: color .2s ease, transform .2s ease, opacity .2s ease;
}
.ftv2 .ftv2-a.is-plain { cursor: default; }
.ftv2 .ftv2-a:hover, .ftv2 .ftv2-a:focus-visible { color: var(--ft-link-h); }
.ftv2.is-hover-underline .ftv2-a:hover span { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.ftv2.is-hover-slide .ftv2-a:hover { transform: translateX(4px); }
.ftv2.is-hover-slide[dir="rtl"] .ftv2-a:hover { transform: translateX(-4px); }

/* ---------------------------------------------------------------- contact */

.ftv2-contact { display: grid; gap: var(--ft-contact-gap); }
.ftv2-ci { display: flex; align-items: flex-start; gap: 12px; }
.ftv2-ci-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ftv2 .ftv2-label {
    color: var(--ft-label-c);
    font-size: calc(var(--ft-label-fs) * var(--ft-k));
    font-weight: var(--ft-label-fw);
    line-height: 1.35;
}
.ftv2 .ftv2-value {
    color: var(--ft-value-c);
    font-size: calc(var(--ft-value-fs) * var(--ft-k));
    line-height: 1.5;
    overflow-wrap: anywhere;
    transition: color .2s ease;
}
.ftv2 a.ftv2-value:hover { color: var(--ft-link-h); }
.ftv2-contact.is-icons .ftv2-ci-body { gap: 2px; }
.ftv2-ci-ic { flex: none; width: 20px; height: 20px; margin-top: 3px; color: var(--ft-icon-c); }

/* ---------------------------------------------------------------- social */

.ftv2-soc { display: flex; flex-wrap: wrap; gap: var(--ft-soc-gap); }
.ftv2 .ftv2-soc a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--ft-soc-size);
    height: var(--ft-soc-size);
    border-radius: var(--ft-soc-r);
    background: var(--ft-soc-bg);
    color: var(--ft-soc-c);
    border: 1px solid var(--ft-soc-bd);
    transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.ftv2-soc .ftv2-ic { display: block; width: var(--ft-soc-icon); height: var(--ft-soc-icon); }
.ftv2 .ftv2-soc a:hover, .ftv2 .ftv2-soc a:focus-visible { background: var(--ft-soc-hbg); color: var(--ft-soc-hc); border-color: var(--ft-soc-hbg); }
.ftv2.is-plain-soc .ftv2-soc a:hover { border-color: transparent; }
.ftv2.is-brand-hover .ftv2-soc a[style]:hover { background: var(--ft-brand); color: var(--ft-brand-on); border-color: var(--ft-brand); }
.ftv2.is-brand-hover.is-plain-soc .ftv2-soc a[style]:hover { background: transparent; color: var(--ft-brand); }
.ftv2-soc.is-small { --ft-soc-size: 36px; --ft-soc-icon: 16px; gap: 8px; }

/* ---------------------------------------------------------------- newsletter & buttons */

.ftv2-news { position: relative; display: flex; gap: 8px; flex-wrap: wrap; max-width: 460px; }
.ftv2-news.is-stacked { flex-direction: column; }
.ftv2 .ftv2-news input {
    flex: 1 1 200px;
    min-width: 0;
    height: 48px;
    padding: 0 16px;
    margin: 0;
    background: var(--ft-in-bg);
    color: var(--ft-in-c);
    border: 1px solid var(--ft-in-bd);
    border-radius: var(--ft-f-r);
    font: inherit;
    font-size: 15px;
    box-shadow: none;
    outline: none;
}
.ftv2 .ftv2-news input::placeholder { color: var(--ft-in-c); opacity: .55; }
.ftv2 .ftv2-news input:focus { border-color: var(--ft-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ft-accent) 30%, transparent); }
.ftv2 .ftv2-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    background: var(--ft-btn-bg);
    color: var(--ft-btn-c);
    border-radius: var(--ft-f-r);
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    transition: filter .2s ease, transform .2s ease;
}
.ftv2 .ftv2-btn:hover { filter: brightness(1.08); }
.ftv2 .ftv2-btn:active { transform: translateY(1px); }
.ftv2 .ftv2-btn:disabled { opacity: .6; cursor: default; }
.ftv2-news-msg { flex-basis: 100%; font-size: 14px; min-height: 0; }
.ftv2-news-msg:empty { display: none; }
.ftv2-news-msg.is-ok { color: var(--ft-label-c); }
.ftv2-news-msg.is-error { color: #f87171; }

/* ---------------------------------------------------------------- app badges */

.ftv2-apps { display: flex; flex-wrap: wrap; gap: 10px; }
.ftv2 .ftv2-app {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 6px 16px 6px 12px;
    background: var(--ft-chip-bg);
    color: var(--ft-chip-c);
    border: 1px solid var(--ft-chip-bd);
    border-radius: 10px;
    transition: border-color .2s ease, transform .2s ease;
}
.ftv2[dir="rtl"] .ftv2-app { padding: 6px 12px 6px 16px; }
.ftv2 .ftv2-app:hover { border-color: var(--ft-chip-c); }
.ftv2-app-ic { flex: none; width: 24px; height: 24px; }
.ftv2-app-t { display: flex; flex-direction: column; line-height: 1.1; text-align: start; }
.ftv2-app-t small { font-size: 10px; opacity: .8; }
.ftv2-app-t strong { font-size: 16px; font-weight: 600; }


/* ---------------------------------------------------------------- call to action */

.ftv2-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px 24px;
    padding-bottom: clamp(40px, 6vw, 88px);
    margin-bottom: clamp(40px, 6vw, 88px);
    border-bottom: 1px solid var(--ft-line);
}
.ftv2-cta-k { color: var(--ft-cta-k); font-size: calc(20px * var(--ft-k)); }
.ftv2 .ftv2-cta-t {
    display: inline-flex;
    align-items: center;
    gap: .3em;
    color: var(--ft-cta-c);
    font-size: clamp(28px, 6vw, calc(var(--ft-cta-fs) * var(--ft-k)));
    font-weight: 650;
    line-height: 1.05;
    letter-spacing: -.02em;
    transition: color .2s ease;
}
.ftv2[dir="rtl"] .ftv2-cta-t { letter-spacing: 0; }
.ftv2 a.ftv2-cta-t:hover { color: var(--ft-cta-h); }
.ftv2-cta-ic { display: block; width: .8em; height: .8em; transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.ftv2 a.ftv2-cta-t:hover .ftv2-cta-ic { transform: translateX(.15em); }
.ftv2[dir="rtl"] .ftv2-cta-ic { transform: scaleX(-1); }
.ftv2[dir="rtl"] a.ftv2-cta-t:hover .ftv2-cta-ic { transform: scaleX(-1) translateX(.15em); }

/* ---------------------------------------------------------------- big store name */

.ftv2-mark { padding-inline: clamp(20px, 4vw, 64px); text-align: var(--ft-mark-align); margin-top: clamp(24px, 4vw, 56px); }
.ftv2-mark.is-spread { text-align: center; }
.ftv2-word {
    font-size: min(calc(var(--ft-mark-vw) * 1vw), 21rem);
    font-weight: var(--ft-mark-fw);
    line-height: 1;
    margin: -.1em 0 0;
    padding-bottom: .06em;
    overflow: hidden;
}
.ftv2-word.is-normal { display: block; white-space: nowrap; text-align: var(--ft-mark-align); letter-spacing: var(--ft-mark-ls); }
.ftv2-word.is-spread { display: flex; justify-content: space-between; letter-spacing: 0; direction: ltr; }
.ftv2-word-l, .ftv2-word-one {
    display: inline-block;
    padding-block: .04em .14em;
    background: linear-gradient(180deg, var(--ft-mark-from) 25%, var(--ft-mark-to) 95%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.ftv2-word-sp { display: inline-block; width: .25em; }
.ftv2-word-sub {
    margin-top: clamp(10px, 1.6vw, 22px) !important;
    color: var(--ft-mark-sub);
    font-size: clamp(12px, 2.2vw, 32px);
    letter-spacing: var(--ft-mark-sub-ls);
    margin-inline-end: calc(-1 * var(--ft-mark-sub-ls)) !important;
    text-transform: uppercase;
    font-weight: 400;
}

/* ---------------------------------------------------------------- bottom bar */

.ftv2-bottom { background: var(--ft-bt-bg); color: var(--ft-bt-c); font-size: var(--ft-bt-fs); line-height: 1.5; }
.ftv2-bottom-in {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
    padding-block: var(--ft-bt-pad);
    border-top: 1px solid var(--ft-bt-line);
}
.ftv2.is-full-line .ftv2-bottom { border-top: 1px solid var(--ft-bt-line); }
.ftv2.is-full-line .ftv2-bottom-in { border-top: 0; }
.ftv2-bt-start, .ftv2-bt-end { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; }
.ftv2-bt-logo .ftv2-logo img { height: calc(var(--ft-logo-h) * .6); }
.ftv2 .ftv2-copy, .ftv2 .ftv2-tag { color: var(--ft-bt-c); }
.ftv2 .ftv2-tag { font-style: italic; }
.ftv2-blinks { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.ftv2 .ftv2-ba { color: var(--ft-bt-link); font-size: var(--ft-bt-fs); }
.ftv2 .ftv2-ba:hover { color: var(--ft-bt-h); }
.ftv2 .ftv2-top {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    color: var(--ft-bt-link);
    font-weight: 600;
    transition: color .2s ease;
}
.ftv2 .ftv2-top:hover { color: var(--ft-bt-h); }
.ftv2-top-ic { width: 16px; height: 16px; transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.ftv2 .ftv2-top:hover .ftv2-top-ic { transform: translateY(-3px); }

/* center layout of the bottom bar: Classic `bottom_align` = center */
.ftv2-bottom.is-center .ftv2-bottom-in { justify-content: center; text-align: center; }

/* ---------------------------------------------------------------- themes */

.ftv2--modern .ftv2 .ftv2-h, .ftv2--modern .ftv2-h { line-height: 1.4; }
.ftv2--modern .ftv2-links { gap: var(--ft-link-gap); }
.ftv2--modern .ftv2-b--brand .ftv2-text { color: var(--ft-text-c); }

/* ---------------------------------------------------------------- tablets */

@media (max-width: 991.98px) {
    .ftv2 { --ft-k: var(--ft-k-t); }
}

/* ---------------------------------------------------------------- phones */

@media (max-width: 767.98px) {
    .ftv2 { --ft-k: var(--ft-k-m); --ft-gx: 20px; }
    .ftv2 { padding-bottom: 48px; } /* room for the store's bottom tab bar, in the footer's colour */
    .ftv2-main { padding-top: var(--ft-pt-m); padding-bottom: calc(var(--ft-pb) * .7); }
    .ftv2-in { padding-inline: min(var(--ft-px), 20px); }
    .ftv2-rows { row-gap: min(var(--ft-gy), 36px); }
    .ftv2-logo img { height: var(--ft-logo-h-m); }
    .ftv2 .ftv2-a { min-height: 32px; }
    .ftv2 .ftv2-soc a { width: min(var(--ft-soc-size), 48px); height: min(var(--ft-soc-size), 48px); }
    .ftv2-news { max-width: none; }
    .ftv2-bottom-in { flex-direction: column; align-items: flex-start; }
    .ftv2-bt-start, .ftv2-bt-end { width: 100%; }

    /* centered on phones */
    .ftv2.is-center-m .ftv2-b, .ftv2.is-center-m .ftv2-bottom-in { text-align: center; }
    .ftv2.is-center-m .ftv2-bottom-in { align-items: center; }
    .ftv2.is-center-m .ftv2-bt-start, .ftv2.is-center-m .ftv2-bt-end,
    .ftv2.is-center-m .ftv2-soc, .ftv2.is-center-m .ftv2-apps,
    .ftv2.is-center-m .ftv2-blinks, .ftv2.is-center-m .ftv2-logo-wrap { justify-content: center; }
    .ftv2.is-center-m .ftv2-logo-wrap { display: flex; }
    .ftv2.is-center-m .ftv2-text { margin-inline: auto; }
    .ftv2.is-center-m .ftv2-links { justify-items: center; }
    .ftv2.is-center-m .ftv2-ci { justify-content: center; text-align: center; }
    .ftv2.is-center-m .ftv2-ci-body { align-items: center; }
    .ftv2.is-center-m .ftv2-news { margin-inline: auto; }

    /* folding link columns (one column on phones) */
    .ftv2.is-acc .ftv2-rows { row-gap: 0; }
    .ftv2.is-acc .ftv2-row.is-fold-row { border-bottom: 1px solid var(--ft-line); padding-block: 4px; }
    .ftv2.is-acc .ftv2-row.is-fold-row + .ftv2-row:not(.is-fold-row) { margin-top: 32px; }
    .ftv2.is-acc .ftv2-row:not(.is-fold-row) + .ftv2-row.is-fold-row { margin-top: 24px; border-top: 1px solid var(--ft-line); }
    .ftv2.is-acc .ftv2-row:not(.is-fold-row) { padding-bottom: 8px; }
    .ftv2.is-acc .ftv2-b.is-foldable .ftv2-h { margin: 0; }
    .ftv2.is-acc .ftv2-b.is-foldable .ftv2-h-text { display: none; }
    .ftv2.is-acc .ftv2-h-btn {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        width: 100%;
        min-height: 56px;
        text-align: start;
        font: inherit;
        color: inherit;
        letter-spacing: inherit;
        text-transform: inherit;
    }
    .ftv2-chev { flex: none; width: 20px; height: 20px; transition: transform .25s ease; }
    .ftv2.is-acc .ftv2-b.is-open .ftv2-chev { transform: rotate(180deg); }
    .ftv2.is-acc .ftv2-b.is-foldable .ftv2-fold { display: none; padding: 4px 0 20px; }
    .ftv2.is-acc .ftv2-b.is-foldable.is-open .ftv2-fold { display: block; }
    .ftv2.is-acc.is-center-m .ftv2-h-btn { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
    .ftv2 *, .ftv2 *::before, .ftv2 *::after { transition: none !important; }
}

/* ---------------------------------------------------------------- builder preview */

.ftv2-root.is-solo { padding-top: 56px; }
.ftv2-root.is-solo .ftv2 { padding-bottom: 0; }
.ftv2-root.is-solo::before {
    content: "";
    position: absolute;
    top: 16px;
    inset-inline: 16px;
    height: 24px;
    border-radius: 6px;
    background: repeating-linear-gradient(90deg, #d7dae2 0 72px, transparent 72px 88px);
    opacity: .7;
}
.ftv2-root.is-preview .ftv2-b { cursor: pointer; transition: outline-color .15s ease; outline: 2px dashed transparent; outline-offset: 6px; }
.ftv2-root.is-preview .ftv2-b:hover { outline-color: color-mix(in srgb, var(--ft-accent) 45%, transparent); }
.ftv2-root.is-preview .ftv2-b.is-focus { outline-color: var(--ft-accent); }
