/* The hero photography already includes space for the two slide titles. */
.home :is(#slider-70, #slider-86) .title-wrapper {
    position: relative;
}
.home .xena-maker-badge {
    position: absolute;
    inset-inline-start: 0;
    bottom: calc(100% + 14px);
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 6px 14px 6px 9px;
    border: 1px solid #b59978;
    border-radius: 99px;
    background: #fff8ec;
    color: #493729;
    box-shadow: 0 2px 6px rgb(68 40 20 / 8%);
    font: 600 12px/1.3 var(--wd-text-font, sans-serif);
    letter-spacing: .06em;
    white-space: nowrap;
}
.home .xena-maker-badge::before {
    content: "";
    width: 21px;
    height: 14px;
    border-radius: 2px;
    background:
        linear-gradient(to top right, transparent 44%, #fff 45% 55%, transparent 56%),
        linear-gradient(to bottom right, transparent 44%, #fff 45% 55%, transparent 56%),
        #19649a;
}
.home #slider-86 .xena-maker-badge {
    inset-inline-start: 50%;
    transform: translateX(-50%);
    bottom: calc(100% + 10px);
}
body.home .wd-slide .woodmart-title-container {
    font-family: Georgia, serif;
    font-weight: 400;
    letter-spacing: -.045em;
    line-height: 1.06;
}
@media (min-width: 1025px) {
    .home #slider-70 .wd-slide { min-height: clamp(440px, 39vw, 640px); }
    .home #slider-70 .woodmart-title-container { font-size: clamp(48px, 4.6vw, 74px); }
}

.home .xena-products-background {
    background-color: #fffaf3 !important;
    padding-block: clamp(24px, 4vw, 60px);
}
.home .xh-collection-head {
    display: grid;
    grid-template-columns: 1fr minmax(0, 1.1fr);
    align-items: center;
    gap: clamp(20px, 4vw, 64px);
    border-bottom: 1px solid #dfcdb9;
    padding-bottom: clamp(22px, 3vw, 40px);
}
.home .xh-collection-head h2,
.home :is(.xh-craft, .xh-fragrance, .xh-maker) h2.woodmart-title-container {
    color: #402c22;
    font: 400 clamp(34px, 3.6vw, 56px)/1.08 Georgia, serif;
    letter-spacing: -.04em;
    text-wrap: balance;
}
.home .xh-collection-head h2 { margin: 0 0 10px; }
.home .xh-collection-head p { color: #65554a; margin: 0; max-width: 44ch; }
.home .xh-sizes { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.home .xh-sizes a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    padding: 12px clamp(10px, 1.4vw, 22px);
    background: #f4eceb;
    border: 1px solid #decfca;
    border-radius: 12px;
    color: #402c22;
}
.home .xh-sizes a + a { background: #f0eee2; border-color: #d8d4c2; }
.home .xh-sizes a:is(:hover,:focus-visible) { border-color: #926747; }
.home .xh-sizes a:focus-visible { outline: 2px solid #634024; outline-offset: 3px; }
.home .xh-sizes strong { display: block; font: 400 clamp(23px, 2.2vw, 34px)/1.05 Georgia, serif; }
.home .xh-sizes small { display: block; font-size: 13px; line-height: 1.4; margin-top: 4px; }
.home .xh-sizes img { width: clamp(45px, 5vw, 74px); height: auto; border-radius: 50%; mix-blend-mode: multiply; }
.home .xena-products-background .product-element-top { border: 1px solid #e5d6c8; border-radius: 14px; overflow: hidden; }
.home .xena-products-background .wd-entities-title { font: 400 clamp(17px,1.6vw,24px)/1.23 Georgia, serif; color: #402c22; }
.home .xena-products-background .wd-product-cats { font-size: 13px; }

.home #made-in-hawick {
    scroll-margin-top: calc(80px + var(--wd-admin-bar-h, 0px));
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .9fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(16px, 2.6vw, 40px);
    padding: clamp(40px, 4.4vw, 72px) max(4vw, calc((100% - 1340px) / 2)) !important;
    background: linear-gradient(155deg, #fffaf2, #f6ecdd 65%, #fbf4e9) !important;
}
#made-in-hawick::before, #made-in-hawick::after { display: none; }
#made-in-hawick > .wpb_column { width: 100%; min-width: 0; }
#made-in-hawick > .wpb_column > .vc_column-inner { padding: 0; margin: 0 !important; }
#made-in-hawick > .wpb_column:first-child { grid-column: 1 / -1; }
#made-in-hawick .title-wrapper { margin: 0 !important; }
#made-in-hawick .title-after_title { max-width: 55ch; margin-inline: auto; color: #645143; }
#made-in-hawick .wd-image {
    isolation: isolate;
    position: relative;
    width: min(100%, 310px);
    margin-inline: auto;
}
#made-in-hawick .wd-image::before {
    content: '';
    position: absolute;
    inset: 2% 2% 5%;
    z-index: -1;
    border-radius: 10em 10em 1.5em 1.5em;
    border: 1px solid #ddccb4;
    background: linear-gradient(160deg, #fcf7ed, #edddc6);
}
#made-in-hawick .wd-image img { width: 100%; height: auto; filter: drop-shadow(0 9px 7px #543b2524); }
#made-in-hawick .hawick-cycle > img { opacity: 0; transition: opacity 1.15s ease-in-out; }
#made-in-hawick .hawick-cycle > img + img { position: absolute; inset: 0; pointer-events: none; }
#made-in-hawick .hawick-cycle > .hawick-show { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
    #made-in-hawick .hawick-cycle > img { transition: none; }
}
#made-in-hawick .wpb_wrapper:has(> .info-box-wrapper) {
    display: grid;
    grid-auto-rows: 1fr;
}
#made-in-hawick .info-box-wrapper { display: grid; align-items: center; padding-block: clamp(12px, 1.5vw, 22px); }
#made-in-hawick .info-box-wrapper + .info-box-wrapper { border-top: 1px solid #d9c9b5; }
#made-in-hawick .wd-info-box { margin: 0 !important; align-items: center; gap: 12px; }
#made-in-hawick .box-icon-wrapper { margin: 0; flex: 0 0 auto; }
#made-in-hawick .info-svg-wrapper, #made-in-hawick .info-svg-wrapper img {
    display: block;
    width: var(--hawick-icon, clamp(32px, 3.4vw, 48px)) !important;
    height: var(--hawick-icon, clamp(32px, 3.4vw, 48px)) !important;
    object-fit: contain;
}
#made-in-hawick h3.info-box-title { font: 400 clamp(19px, 1.65vw, 26px)/1.14 Georgia, serif; color: #422f25; margin-bottom: 6px; }
#made-in-hawick .info-box-inner { color: #5d4c40; font-size: 15px; line-height: 1.5; margin: 0; }
#made-in-hawick .info-box-inner p { margin: 0; }
@media (max-width: 767px) {
    .home #made-in-hawick {
        --hawick-icon: 27px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px clamp(16px, 5vw, 32px);
        padding-inline: clamp(16px, 5vw, 32px) !important;
    }
    #made-in-hawick > .wpb_column:has(.wd-image) { grid-area: 2 / 1 / 3 / -1; }
    #made-in-hawick > .wpb_column:has(.info-box-wrapper) { grid-row: 3; align-self: stretch; align-items: stretch; }
    #made-in-hawick .wpb_wrapper:has(> .info-box-wrapper) { height: 100%; }
    #made-in-hawick .info-box-wrapper { align-items: start; }
    #made-in-hawick .wd-info-box { flex-direction: column; gap: 8px; align-items: flex-start; text-align: left; }
    #made-in-hawick .box-icon-wrapper { order: -1; }
    #made-in-hawick .wd-image { width: clamp(160px, 46vw, 224px); }
    #made-in-hawick h3.info-box-title { font-size: clamp(18px, 4vw, 20px); line-height: 1.2; }
    #made-in-hawick .info-box-inner { font-size: 15px; line-height: 1.5; }
    #made-in-hawick .title-after_title { font-size: 16px; line-height: 1.5; }
}
.home .xh-fragrance {
    background-color: #fffbf5 !important;
    padding: clamp(24px, 3vw, 56px) clamp(12px, 3vw, 52px) !important;
}
.home .xh-fragrance ul { padding: 0; list-style: none; border-top: 1px solid #dfd0be; }
.home .xh-fragrance li {
    position: relative;
    padding: 10px 0 10px 22px;
    margin: 0;
    border-bottom: 1px solid #e8dbcd;
    color: #604c40;
    line-height: 1.5;
}
.home .xh-fragrance li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1.05em;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--scent-color, #957557);
}
.home .xh-fragrance .scent-lime { --scent-color: #62815c; }
.home .xh-fragrance .scent-lavender { --scent-color: #8986b9; }
.home .xh-fragrance .scent-rhubarb { --scent-color: #d4a549; }
.home .xh-fragrance .scent-pomegranate { --scent-color: #a2495c; }
.home .xh-fragrance .scent-cherry { --scent-color: #823759; }
.home .xh-fragrance li strong { font: 400 19px/1.25 Georgia, serif; color: #402c22; }
.home .xh-maker {
    background-color: #34302c;
}
.home .xh-maker h2.woodmart-title-container { color: #fff5e8 !important; }
.home .xh-maker .wd-text-block { color: #fff; }
@media (max-width: 900px) {
    .home .xh-collection-head { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
    .home .xh-maker > .wpb_column:first-child { display: none; }
    /* The collection row already supplies the space below the mobile slider. */
    .home .xena-products-background > .wpb_column > .vc_column-inner { padding-top: 0; }
    .home .xh-collection-head { gap: 16px; }
    .home .xh-sizes { gap: 8px; }
    .home .xh-sizes a { padding: 10px; }
    .home .xh-maker .color-scheme-light { width: 100%; }
    .home :is(.xh-maker, .xh-fragrance) .wd-text-block :is(p, li),
    .home #xena-light-it :is(.xli-intro, .xli-product-copy p) { font-size: 16px; line-height: 1.55; }
    .home .xh-sizes small, .home .xena-products-background .wd-product-cats,
    .home :is(.wd-slide, .xena-products-background, .xh-fragrance, .xh-maker) a.btn,
    .home #xena-light-it :is(.xli-helper, .xli-scent) { font-size: 14px; }
    .home .xena-products-background .price { font-size: 16px; }
    .home #xena-light-it :is(.xli-eyebrow, .xli-scene-caption, .xli-wick-label) { font-size: 12px; letter-spacing: .1em; }
    .home #xena-light-it .xli-weight { font-size: 13px; }
    .home .wd-toolbar-label { font-size: 12px; }
}

/* WPBakery inserts a line break between the two style blocks after the maker banner. */
.home .xh-maker ~ .wpb_raw_code + br:has(+ .wpb_raw_code) {
    display: none;
}