/* =========================================================
   BWH ASSET CARDS
   ========================================================= */


/* Image container */
.asset-image-wrap {
    position: relative;
    overflow: hidden;
}


/* Asset image */
.asset-image-wrap img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;

    transition: transform 0.4s ease;
}


/* =========================================================
   HOVER OVERLAY
   ========================================================= */

.asset-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    min-height: 45%;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;

    padding: 18px;

    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.9),
        rgba(0, 0, 0, 0.15)
    );

    color: #ffffff;

    transform: translateY(100%);
    opacity: 0;

    transition:
        transform 0.35s ease,
        opacity 0.35s ease;
}


/* Show overlay on hover */
.asset-image-wrap:hover .asset-overlay {
    transform: translateY(0);
    opacity: 1;
}


/* Slight image zoom on hover */
.asset-image-wrap:hover img {
    transform: scale(1.04);
}


/* =========================================================
   EXCERPT
   ========================================================= */

.bwh-card-excerpt {
    width: 100%;
    margin: 0;

    color: #ffffff;

    font-size: 14px;
    line-height: 1.45;
}


/* =========================================================
   SEE MORE LINK
   ========================================================= */

.asset-see-more {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;

    width: fit-content;

    margin-top: 16px !important;
    padding-bottom: 3px;

    color: #f3ead7 !important;
    text-decoration: none !important;

    font-size: 14px;
    font-weight: 600;

    border-bottom: 1px solid rgba(243, 234, 215, 0.7);

    transition:
        gap 0.25s ease,
        opacity 0.25s ease;
}


/* Add arrow after See More */
.asset-see-more::after {
    content: "→";
}


/* See More hover */
.asset-see-more:hover {
    gap: 10px;

    color: #f3ead7 !important;
    opacity: 0.75;
}


/* =========================================================
   CUSTOM BWH ASSET BROWSER
   ========================================================= */

.bwh-assets-browser {
    display: grid;
    grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
    gap: 70px;
    align-items: start;
}


/* =========================================================
   FILTER PANEL
   ========================================================= */

.bwh-filter-panel {
    padding: 26px;

    border: 1px solid rgba(243, 234, 215, 0.18);
    border-radius: 14px;

    background: rgba(255, 255, 255, 0.015);
}


.bwh-filter-section {
    margin-bottom: 26px;
    padding-bottom: 24px;

    border-bottom: 1px solid rgba(243, 234, 215, 0.10);
}


.bwh-filter-section:last-of-type {
    border-bottom: 0;
}


.bwh-filter-heading {
    display: block;

    margin-bottom: 14px;

    color: #f3ead7;

    font-size: 18px;
    font-weight: 600;
}


/* =========================================================
   SEARCH BAR
   ========================================================= */

#bwh-search.bwh-search[type="search"] {
    width: 100% !important;
    box-sizing: border-box !important;

    padding: 13px 16px 13px 44px !important;

    color: #f3ead7 !important;
    background-color: rgba(255, 255, 255, 0.025) !important;

    border: 1px solid rgba(243, 234, 215, 0.28) !important;
    border-radius: 10px !important;

    font-size: 14px !important;
    font-family: inherit !important;

    outline: none !important;
    box-shadow: none !important;

    -webkit-appearance: none;
    appearance: none;

    /* Search icon */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23f3ead7' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.8-3.8'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: 15px center !important;
    background-size: 18px 18px !important;

    transition:
        border-color 0.25s ease,
        background-color 0.25s ease,
        box-shadow 0.25s ease !important;
}


/* Placeholder */
#bwh-search.bwh-search[type="search"]::placeholder {
    color: rgba(243, 234, 215, 0.42) !important;
    opacity: 1 !important;
}


/* Hover */
#bwh-search.bwh-search[type="search"]:hover {
    border-color: rgba(243, 234, 215, 0.5) !important;
}


/* Active / typing */
#bwh-search.bwh-search[type="search"]:focus {
    color: #f3ead7 !important;
    background-color: rgba(255, 255, 255, 0.04) !important;

    border-color: #f3ead7 !important;

    box-shadow:
        0 0 0 3px rgba(243, 234, 215, 0.06) !important;
}


/* Chrome / Edge clear button */
#bwh-search.bwh-search[type="search"]::-webkit-search-cancel-button {
    cursor: pointer;
    opacity: 0.55;
}


/* =========================================================
   CHECKBOX ROWS
   ========================================================= */

.bwh-filter-section label:not(.bwh-filter-heading) {
    display: flex;
    align-items: center;
    gap: 9px;

    margin-bottom: 9px;

    color: rgba(243, 234, 215, 0.72);

    cursor: pointer;

    transition: color 0.2s ease;
}


.bwh-filter-section label:not(.bwh-filter-heading):hover {
    color: #f3ead7;
}


.bwh-filter-section input[type="checkbox"] {
    accent-color: #f3ead7;
}


/* =========================================================
   NUMBER FIELDS
   ========================================================= */

.bwh-filter-panel input[type="number"] {
    width: 100%;

    box-sizing: border-box;

    padding: 12px 14px;

    color: #f3ead7;
    background: transparent;

    border: 1px solid rgba(243, 234, 215, 0.45);
    border-radius: 8px;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


.bwh-filter-panel input[type="number"]:focus {
    border-color: #f3ead7;

    box-shadow:
        0 0 0 2px rgba(243, 234, 215, 0.08);
}


/* =========================================================
   PRICE FILTER
   ========================================================= */

.bwh-price-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;

    margin-bottom: 18px;
}


.bwh-price-input-wrap {
    display: flex;
    align-items: center;

    min-width: 0;

    padding: 0 12px;

    background-color: rgba(255, 255, 255, 0.025);

    border: 1px solid rgba(243, 234, 215, 0.28);
    border-radius: 10px;

    transition:
        border-color 0.2s ease,
        background-color 0.2s ease,
        box-shadow 0.2s ease;
}


.bwh-price-input-wrap:focus-within {
    border-color: #f3ead7;

    background-color: rgba(255, 255, 255, 0.04);

    box-shadow:
        0 0 0 3px rgba(243, 234, 215, 0.06);
}


.bwh-price-input-wrap span {
    flex: 0 0 auto;

    color: rgba(243, 234, 215, 0.6);

    font-size: 14px;
}


.bwh-price-input-wrap input[type="number"] {
    min-width: 0;
    width: 100%;

    padding: 12px 6px !important;

    color: #f3ead7 !important;
    background: transparent !important;

    border: 0 !important;
    border-radius: 0 !important;

    outline: none !important;
    box-shadow: none !important;

    font-family: inherit;
    font-size: 14px;
}


/* Remove number arrows in Chrome / Edge */
.bwh-price-input-wrap input::-webkit-outer-spin-button,
.bwh-price-input-wrap input::-webkit-inner-spin-button {
    margin: 0;

    -webkit-appearance: none;
}


/* Firefox */
.bwh-price-input-wrap input[type="number"] {
    -moz-appearance: textfield;
}


/* =========================================================
   DUAL PRICE SLIDER
   ========================================================= */

.bwh-price-slider {
    --price-min: 0%;
    --price-max: 100%;

    position: relative;

    height: 28px;

    margin-top: 4px;
}


/* One single visible track */
.bwh-price-slider::before {
    content: "";

    position: absolute;
    left: 0;
    right: 0;
    top: 50%;

    height: 3px;

    transform: translateY(-50%);

    border-radius: 999px;

    background: linear-gradient(
        to right,
        rgba(243, 234, 215, 0.16) 0%,
        rgba(243, 234, 215, 0.16) var(--price-min),

        #f3ead7 var(--price-min),
        #f3ead7 var(--price-max),

        rgba(243, 234, 215, 0.16) var(--price-max),
        rgba(243, 234, 215, 0.16) 100%
    );
}


/* Both native sliders overlap exactly */
.bwh-price-slider input[type="range"] {
    position: absolute;
    left: 0;
    top: 0;

    width: 100%;
    height: 28px;

    margin: 0;
    padding: 0;

    background: transparent !important;

    border: 0 !important;
    outline: none;

    pointer-events: none;

    -webkit-appearance: none;
    appearance: none;
}


/* Hide the native tracks */
.bwh-price-slider input[type="range"]::-webkit-slider-runnable-track {
    height: 3px;

    background: transparent;
    border: 0;
}


.bwh-price-slider input[type="range"]::-moz-range-track {
    height: 3px;

    background: transparent;
    border: 0;
}


/* Chrome / Edge / Safari handles */
.bwh-price-slider input[type="range"]::-webkit-slider-thumb {
    width: 17px;
    height: 17px;

    margin-top: -7px;

    background: #f3ead7;

    border: 2px solid #0f151b;
    border-radius: 50%;

    cursor: grab;

    pointer-events: auto;

    -webkit-appearance: none;
    appearance: none;

    box-shadow:
        0 0 0 1px rgba(243, 234, 215, 0.3);

    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease;
}


/* Firefox handles */
.bwh-price-slider input[type="range"]::-moz-range-thumb {
    width: 17px;
    height: 17px;

    background: #f3ead7;

    border: 2px solid #0f151b;
    border-radius: 50%;

    cursor: grab;

    pointer-events: auto;

    box-shadow:
        0 0 0 1px rgba(243, 234, 215, 0.3);

    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease;
}


/* Hover */
.bwh-price-slider input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.12);

    box-shadow:
        0 0 0 4px rgba(243, 234, 215, 0.08);
}


.bwh-price-slider input[type="range"]::-moz-range-thumb:hover {
    transform: scale(1.12);

    box-shadow:
        0 0 0 4px rgba(243, 234, 215, 0.08);
}


/* =========================================================
   CLEAR FILTERS BUTTON
   ========================================================= */

.bwh-clear-filters {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 0;

    color: rgba(243, 234, 215, 0.75);
    background: transparent;

    border: 0;

    font: inherit;
    font-size: 14px;
    font-weight: 500;

    cursor: pointer;

    transition:
        color 0.2s ease,
        opacity 0.2s ease;
}


.bwh-clear-filters::before {
    content: "↺";
    font-size: 14px;
}


.bwh-clear-filters:hover {
    color: #f3ead7;
    opacity: 0.75;
}


/* =========================================================
   RESULTS HEADER
   ========================================================= */

.bwh-results-header {
    display: flex;
    justify-content: flex-end;

    margin-bottom: 18px;
}


.bwh-results-count {
    color: rgba(243, 234, 215, 0.55);

    font-size: 14px;
}


/* =========================================================
   ASSET GRID
   ========================================================= */

.bwh-assets-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 42px 20px;
}


/* =========================================================
   ASSET CARDS
   ========================================================= */

.bwh-asset-card .asset-image-wrap {
    aspect-ratio: 4 / 5;
}


.bwh-asset-card .asset-image-wrap > a,
.bwh-asset-card .asset-image-wrap img {
    display: block;

    width: 100%;
    height: 100%;
}


/* Card content */
.bwh-card-content {
    padding-top: 14px;

    text-align: center;
}


.bwh-card-title {
    margin: 0 0 8px;

    font-size: 17px;
    line-height: 1.3;
}


.bwh-card-title a {
    color: #f3ead7;
    text-decoration: none;
}


.bwh-card-title a:hover {
    opacity: 0.75;
}


.bwh-card-price {
    color: #ffffff;

    font-size: 14px;
    font-weight: 600;
}


/* =========================================================
   NO RESULTS
   ========================================================= */

.bwh-no-results {
    padding: 50px 20px;

    color: rgba(243, 234, 215, 0.7);

    text-align: center;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .bwh-assets-browser {
        gap: 40px;
    }

    .bwh-assets-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {

    .bwh-assets-browser {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .bwh-assets-grid {
        grid-template-columns: 1fr;
    }

    /*
     * Mobile devices do not have a reliable hover state.
     * Keep the overlay hidden.
     */
    .asset-overlay {
        display: none;
    }

    /*
     * Disable zoom on touch devices.
     */
    .asset-image-wrap:hover img {
        transform: none;
    }

}

/* =========================================================
   BWH SINGLE ASSET PAGE
   ========================================================= */


/* ---------------------------------------------------------
   REMOVE DEFAULT WORDPRESS / ASTRA POST ELEMENTS
   --------------------------------------------------------- */

.bwh-asset-single-page .entry-header,
.bwh-asset-single-page .entry-meta,
.bwh-asset-single-page .post-navigation {
    display: none !important;
}


.bwh-asset-single-page .entry-content {
    margin-top: 0 !important;
}


/* ---------------------------------------------------------
   MAIN ASSET WRAPPER
   --------------------------------------------------------- */

.bwh-single-asset {
    width: 100%;
    max-width: 1200px;

    margin: 0 auto;
    padding: 40px 0 80px;

    color: #ffffff;
}


/* ---------------------------------------------------------
   BREADCRUMB / EYEBROW
   --------------------------------------------------------- */

.bwh-single-eyebrow {
    margin-bottom: 24px;

    color: rgba(243, 234, 215, 0.55);

    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}


.bwh-single-eyebrow a,
.bwh-single-eyebrow a:visited,
.bwh-single-eyebrow a:hover,
.bwh-single-eyebrow a:focus,
.bwh-single-eyebrow a:active {
    color: #f3ead7 !important;
    text-decoration: none !important;
}


.bwh-single-eyebrow a:hover {
    opacity: 0.7;
}


/* ---------------------------------------------------------
   MAIN TITLE
   --------------------------------------------------------- */

.bwh-single-heading {
    margin-bottom: 40px;
}


.bwh-single-heading h1 {
    max-width: 950px;

    margin: 0;

    color: #f3ead7;

    font-size: clamp(42px, 5vw, 72px);
    font-weight: 400;
    line-height: 1.05;
}


/* ---------------------------------------------------------
   HERO SECTION
   --------------------------------------------------------- */

.bwh-single-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.7fr);
    gap: 40px;

    align-items: stretch;

    margin-bottom: 80px;
}


/* Main listing photograph */

.bwh-single-hero-image {
    overflow: hidden;

    aspect-ratio: 4 / 3;

    background: rgba(255, 255, 255, 0.02);
}


.bwh-single-hero-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* ---------------------------------------------------------
   HERO DETAILS PANEL
   --------------------------------------------------------- */

.bwh-single-details {
    display: flex;
    flex-direction: column;

    padding: 34px;

    border: 1px solid rgba(243, 234, 215, 0.16);
    border-radius: 12px;

    background: rgba(255, 255, 255, 0.015);
}


/* Price */

.bwh-single-price {
    margin-bottom: 32px;

    color: #f3ead7;

    font-size: 34px;
    font-weight: 500;
    line-height: 1.1;
}


/* ---------------------------------------------------------
   SPECIFICATIONS
   --------------------------------------------------------- */

.bwh-single-specs {
    margin: 0 0 36px;
}


.bwh-single-spec {
    display: flex;
    justify-content: space-between;
    gap: 20px;

    margin: 0;
    padding: 14px 0;

    border-bottom: 1px solid rgba(243, 234, 215, 0.10);
}


.bwh-single-spec:first-child {
    border-top: 1px solid rgba(243, 234, 215, 0.10);
}


.bwh-single-spec dt,
.bwh-single-spec dd {
    margin: 0;
}


.bwh-single-spec dt {
    color: rgba(243, 234, 215, 0.5);

    font-size: 13px;
    font-weight: 500;

    text-transform: uppercase;
    letter-spacing: 0.05em;
}


.bwh-single-spec dd {
    color: #f3ead7;

    font-size: 15px;
    font-weight: 500;

    text-align: right;
}


/* ---------------------------------------------------------
   ENQUIRY BUTTON
   --------------------------------------------------------- */

.bwh-single-enquire,
.bwh-single-enquire:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: fit-content;

    margin-top: auto;
    padding: 12px 22px;

    color: #f3ead7 !important;
    background: transparent;

    border: 1px solid rgba(243, 234, 215, 0.7);
    border-radius: 999px;

    text-decoration: none !important;

    font-size: 14px;
    font-weight: 600;

    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease;
}


.bwh-single-enquire:hover,
.bwh-single-enquire:focus,
.bwh-single-enquire:active {
    color: #0f151b !important;
    background: #f3ead7;

    border-color: #f3ead7;
}


/* ---------------------------------------------------------
   SECTION LABELS
   --------------------------------------------------------- */

.bwh-single-section-label {
    margin-bottom: 18px;

    color: rgba(243, 234, 215, 0.5);

    font-size: 13px;
    font-weight: 600;

    letter-spacing: 0.08em;
    text-transform: uppercase;
}


/* ---------------------------------------------------------
   ABOUT SECTION
   --------------------------------------------------------- */

.bwh-single-about {
    display: grid;
    grid-template-columns: minmax(150px, 0.35fr) minmax(0, 1fr);
    gap: 50px;

    margin-bottom: 80px;
    padding: 50px 0;

    border-top: 1px solid rgba(243, 234, 215, 0.12);
    border-bottom: 1px solid rgba(243, 234, 215, 0.12);
}


.bwh-single-about .bwh-single-section-label {
    margin: 0;
}


.bwh-single-description {
    max-width: 760px;

    color: rgba(255, 255, 255, 0.82);

    font-size: 17px;
    line-height: 1.75;
}


.bwh-single-description p:first-child {
    margin-top: 0;
}


.bwh-single-description p:last-child {
    margin-bottom: 0;
}


/* Links within description */

.bwh-single-description a,
.bwh-single-description a:visited {
    color: #f3ead7 !important;
}


.bwh-single-description a:hover {
    opacity: 0.75;
}


/* ---------------------------------------------------------
   SECONDARY IMAGE PAIR
   --------------------------------------------------------- */

.bwh-single-image-pair {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;

    margin-bottom: 24px;
}


.bwh-single-image-pair > div {
    overflow: hidden;

    aspect-ratio: 4 / 3;
}


.bwh-single-image-pair img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* ---------------------------------------------------------
   FINAL FULL-WIDTH IMAGE
   --------------------------------------------------------- */

.bwh-single-final-image {
    overflow: hidden;

    aspect-ratio: 4 / 3;

    margin-bottom: 90px;
}


.bwh-single-final-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* ---------------------------------------------------------
   FINAL ENQUIRY CTA
   --------------------------------------------------------- */

.bwh-single-footer-cta {
    display: flex;
    flex-direction: column;
    align-items: center;

    padding: 60px 30px;

    border-top: 1px solid rgba(243, 234, 215, 0.12);

    text-align: center;
}


.bwh-single-footer-cta .bwh-single-section-label {
    margin-bottom: 20px;

    color: #f3ead7;

    font-size: 17px;

    letter-spacing: normal;
    text-transform: none;
}


.bwh-single-footer-cta .bwh-single-enquire {
    margin-top: 0;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {

    .bwh-single-hero {
        grid-template-columns: 1fr;
    }

    .bwh-single-details {
        padding: 28px;
    }

    .bwh-single-about {
        grid-template-columns: 1fr;
        gap: 20px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {

    .bwh-single-asset {
        padding-top: 20px;
    }


    .bwh-single-heading {
        margin-bottom: 28px;
    }


    .bwh-single-heading h1 {
        font-size: 42px;
    }


    .bwh-single-hero {
        gap: 20px;
        margin-bottom: 50px;
    }


    .bwh-single-details {
        padding: 22px;
    }


    .bwh-single-price {
        font-size: 28px;
    }


    .bwh-single-about {
        margin-bottom: 50px;
        padding: 35px 0;
    }


    .bwh-single-image-pair {
        grid-template-columns: 1fr;
        gap: 18px;
    }


    .bwh-single-final-image {
        margin-bottom: 55px;
    }


    .bwh-single-footer-cta {
        padding: 45px 20px;
    }

}

/* =========================================================
   BWH ASSET IMAGE LIGHTBOX
   ========================================================= */


/* ---------------------------------------------------------
   CLICKABLE LISTING IMAGES

   Remove all default button styling so the images continue
   to look like normal photographs on the listing page.
   --------------------------------------------------------- */

.bwh-lightbox-trigger {
    display: block;

    width: 100%;
    height: 100%;

    margin: 0;
    padding: 0;

    background: transparent !important;

    border: 0 !important;
    border-radius: 0 !important;

    outline: none;

    cursor: zoom-in;

    overflow: hidden;

    font: inherit;

    appearance: none;
    -webkit-appearance: none;
}


/* Image itself */
.bwh-lightbox-trigger .bwh-listing-image {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
}


/* Subtle indication that the image is clickable */
@media (hover: hover) and (pointer: fine) {

    .bwh-lightbox-trigger:hover .bwh-listing-image {
        transform: scale(1.015);
        opacity: 0.92;
    }

}


/* Keyboard focus */
.bwh-lightbox-trigger:focus-visible {
    outline: 1px solid #f3ead7;
    outline-offset: 4px;
}


/* ---------------------------------------------------------
   PREVENT PAGE SCROLL WHILE VIEWER IS OPEN
   --------------------------------------------------------- */

body.bwh-lightbox-open {
    overflow: hidden;
}


/* ---------------------------------------------------------
   LIGHTBOX
   --------------------------------------------------------- */

.bwh-lightbox {
    position: fixed;

    inset: 0;

    z-index: 999999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 30px;
}


/* Ensure hidden actually means hidden */
.bwh-lightbox[hidden] {
    display: none !important;
}


/* ---------------------------------------------------------
   DARK BACKDROP
   --------------------------------------------------------- */

.bwh-lightbox-backdrop {
    position: absolute;

    inset: 0;

    background:
        rgba(5, 8, 10, 0.96);

    cursor: zoom-out;
}


/* ---------------------------------------------------------
   VIEWER
   --------------------------------------------------------- */

.bwh-lightbox-viewer {
    position: relative;
    z-index: 1;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;

    min-width: 0;
}


/* ---------------------------------------------------------
   FULL-SIZE IMAGE
   --------------------------------------------------------- */

.bwh-lightbox-image-wrap {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;

    min-width: 0;
}


.bwh-lightbox-image {
    display: block;

    width: auto;
    height: auto;

    max-width: 92vw;
    max-height: 88vh;

    object-fit: contain;

    user-select: none;
    -webkit-user-select: none;
}


/* ---------------------------------------------------------
   CLOSE BUTTON
   --------------------------------------------------------- */

.bwh-lightbox-close {
    position: absolute;

    top: 0;
    right: 0;

    z-index: 3;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 46px;
    height: 46px;

    padding: 0;

    color: #f3ead7 !important;
    background: rgba(15, 21, 27, 0.7) !important;

    border: 1px solid rgba(243, 234, 215, 0.25) !important;
    border-radius: 50% !important;

    font-family: inherit;
    font-size: 30px;
    font-weight: 300;
    line-height: 1;

    cursor: pointer;

    appearance: none;
    -webkit-appearance: none;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}


.bwh-lightbox-close:hover,
.bwh-lightbox-close:focus-visible {
    background: rgba(243, 234, 215, 0.10) !important;

    border-color: #f3ead7 !important;

    transform: scale(1.05);
}


/* ---------------------------------------------------------
   PREVIOUS / NEXT CONTROLS
   --------------------------------------------------------- */

.bwh-lightbox-prev,
.bwh-lightbox-next {
    position: absolute;

    top: 50%;

    z-index: 3;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 50px;
    height: 50px;

    padding: 0;

    transform: translateY(-50%);

    color: #f3ead7 !important;
    background: rgba(15, 21, 27, 0.7) !important;

    border: 1px solid rgba(243, 234, 215, 0.22) !important;
    border-radius: 50% !important;

    font-family: inherit;
    font-size: 34px;
    font-weight: 300;
    line-height: 1;

    cursor: pointer;

    appearance: none;
    -webkit-appearance: none;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease;
}


.bwh-lightbox-prev {
    left: 0;
}


.bwh-lightbox-next {
    right: 0;
}


.bwh-lightbox-prev:hover,
.bwh-lightbox-next:hover,
.bwh-lightbox-prev:focus-visible,
.bwh-lightbox-next:focus-visible {
    background: rgba(243, 234, 215, 0.10) !important;

    border-color: #f3ead7 !important;
}


/* ---------------------------------------------------------
   IMAGE COUNTER
   --------------------------------------------------------- */

.bwh-lightbox-counter {
    position: absolute;

    left: 50%;
    bottom: 0;

    z-index: 3;

    transform: translateX(-50%);

    padding: 8px 12px;

    color: rgba(243, 234, 215, 0.72);

    background: rgba(15, 21, 27, 0.65);

    border-radius: 999px;

    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.04em;
}


/* =========================================================
   LIGHTBOX MOBILE
   ========================================================= */

@media (max-width: 768px) {

    .bwh-lightbox {
        padding: 16px;
    }


    .bwh-lightbox-image {
        max-width: 96vw;
        max-height: 82vh;
    }


    .bwh-lightbox-close {
        top: 4px;
        right: 4px;

        width: 44px;
        height: 44px;

        font-size: 28px;
    }


    .bwh-lightbox-prev,
    .bwh-lightbox-next {
        width: 44px;
        height: 44px;

        font-size: 30px;

        background: rgba(15, 21, 27, 0.82) !important;
    }


    .bwh-lightbox-prev {
        left: 4px;
    }


    .bwh-lightbox-next {
        right: 4px;
    }


    .bwh-lightbox-counter {
        bottom: 4px;
    }

}

/* =========================================================
   BWH CONTACT PAGE
   ========================================================= */


/* ---------------------------------------------------------
   REMOVE DEFAULT PAGE TITLE / SPACING
   --------------------------------------------------------- */

.bwh-contact-page .entry-header {
    display: none !important;
}


.bwh-contact-page .entry-content {
    margin: 0 !important;
}


/* ---------------------------------------------------------
   MAIN WRAPPER
   --------------------------------------------------------- */

.bwh-contact {
    width: 100%;

    color: #ffffff;
}


/* =========================================================
   MAIN CONTENT
   ========================================================= */

.bwh-contact-main {
    width: 100%;
    max-width: 1200px;

    margin: 0 auto;

    padding: 90px 30px 110px;
}


/* ---------------------------------------------------------
   INTRO
   --------------------------------------------------------- */

.bwh-contact-intro {
    max-width: 800px;

    margin-bottom: 70px;
}


.bwh-contact-eyebrow,
.bwh-contact-section-label {
    margin-bottom: 18px;

    color: rgba(243, 234, 215, 0.55);

    font-size: 13px;
    font-weight: 600;

    letter-spacing: 0.08em;
    text-transform: uppercase;
}


.bwh-contact-intro p {
    margin: 0;

    color: rgba(255, 255, 255, 0.88);

    font-size: clamp(22px, 2.4vw, 32px);
    font-weight: 400;
    line-height: 1.45;
}


/* =========================================================
   CONTACT GRID
   ========================================================= */

.bwh-contact-grid {
    display: grid;

    grid-template-columns:
        minmax(260px, 0.75fr)
        minmax(0, 1.45fr);

    gap: 70px;

    align-items: start;
}


/* =========================================================
   DIRECT CONTACT
   ========================================================= */

.bwh-contact-details {
    padding: 34px;

    border: 1px solid rgba(243, 234, 215, 0.16);
    border-radius: 12px;

    background: rgba(255, 255, 255, 0.015);
}


.bwh-contact-detail {
    padding: 22px 0;

    border-bottom:
        1px solid rgba(243, 234, 215, 0.10);
}


.bwh-contact-detail:first-of-type {
    border-top:
        1px solid rgba(243, 234, 215, 0.10);
}


.bwh-contact-detail-label {
    margin-bottom: 8px;

    color: rgba(243, 234, 215, 0.5);

    font-size: 12px;
    font-weight: 600;

    letter-spacing: 0.06em;
    text-transform: uppercase;
}


.bwh-contact-detail-value {
    margin: 0;

    color: #f3ead7 !important;

    font-size: 16px;
    font-style: normal;
    line-height: 1.7;

    text-decoration: none !important;
}


a.bwh-contact-detail-value:hover {
    opacity: 0.7;
}


/* ---------------------------------------------------------
   RETURN TO COLLECTION
   --------------------------------------------------------- */

.bwh-contact-collection-link {
    margin-top: 28px;
}


.bwh-contact-collection-link a {
    display: inline-flex;
    align-items: center;

    gap: 7px;

    color: rgba(243, 234, 215, 0.72) !important;

    font-size: 14px;
    font-weight: 500;

    text-decoration: none !important;

    transition:
        color 0.2s ease,
        gap 0.2s ease;
}


.bwh-contact-collection-link a::after {
    content: "→";
}


.bwh-contact-collection-link a:hover {
    gap: 11px;

    color: #f3ead7 !important;
}


/* =========================================================
   FORM PANEL
   ========================================================= */

.bwh-contact-form-panel {
    padding: 34px;

    border: 1px solid rgba(243, 234, 215, 0.16);
    border-radius: 12px;

    background: rgba(255, 255, 255, 0.015);
}


.bwh-contact-form-intro {
    max-width: 600px;

    margin-bottom: 28px;

    color: rgba(255, 255, 255, 0.7);

    font-size: 15px;
    line-height: 1.6;
}


/* =========================================================
   SUREFORMS
   ========================================================= */

.bwh-contact-form input:not(
    [type="checkbox"]
):not(
    [type="radio"]
):not(
    [type="submit"]
):not(
    [type="tel"]
),
.bwh-contact-form textarea,
.bwh-contact-form select {

    width: 100% !important;

    box-sizing: border-box;

    padding: 14px 16px !important;

    color: #f3ead7 !important;

    background:
        rgba(255, 255, 255, 0.025) !important;

    border:
        1px solid rgba(243, 234, 215, 0.25) !important;

    border-radius: 9px !important;

    outline: none !important;

    font-family: inherit !important;
    font-size: 15px !important;

    box-shadow: none !important;

    transition:
        border-color 0.2s ease,
        background-color 0.2s ease,
        box-shadow 0.2s ease;
}


/* Focus */

.bwh-contact-form input:focus,
.bwh-contact-form textarea:focus,
.bwh-contact-form select:focus {

    border-color: #f3ead7 !important;

    background:
        rgba(255, 255, 255, 0.04) !important;

    box-shadow:
        0 0 0 3px
        rgba(243, 234, 215, 0.06) !important;
}


/* Labels */

.bwh-contact-form label {
    color: rgba(243, 234, 215, 0.78) !important;

    font-family: inherit !important;
}


/* Placeholder */

.bwh-contact-form input::placeholder,
.bwh-contact-form textarea::placeholder {

    color:
        rgba(243, 234, 215, 0.36) !important;

    opacity: 1;
}


/* Text area */

.bwh-contact-form textarea {
    min-height: 150px;

    resize: vertical;
}

/* =========================================================
   SUREFORMS TELEPHONE FIELD

   Let SureForms / intl-tel-input control the left padding
   needed for the flag and international dialling code.
   ========================================================= */

.bwh-contact-form input[type="tel"],
.bwh-contact-form input.srfm-input-phone {

    width: 100% !important;

    box-sizing: border-box;

    /* Intentionally do NOT set padding-left */
    padding-top: 14px !important;
    padding-right: 16px !important;
    padding-bottom: 14px !important;

    color: #f3ead7 !important;

    background:
        rgba(255, 255, 255, 0.025) !important;

    border:
        1px solid rgba(243, 234, 215, 0.25) !important;

    border-radius: 9px !important;

    outline: none !important;

    font-family: inherit !important;
    font-size: 15px !important;

    box-shadow: none !important;

    transition:
        border-color 0.2s ease,
        background-color 0.2s ease,
        box-shadow 0.2s ease;
}

/* ---------------------------------------------------------
   FORM BUTTON
   --------------------------------------------------------- */

.bwh-contact-form button[type="submit"],
.bwh-contact-form input[type="submit"] {

    display: inline-flex !important;

    align-items: center;
    justify-content: center;

    width: auto !important;

    padding: 13px 24px !important;

    color: #f3ead7 !important;

    background: transparent !important;

    border:
        1px solid rgba(243, 234, 215, 0.7) !important;

    border-radius: 999px !important;

    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 600 !important;

    cursor: pointer;

    box-shadow: none !important;

    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease;
}


.bwh-contact-form button[type="submit"]:hover,
.bwh-contact-form input[type="submit"]:hover {

    color: #0f151b !important;

    background: #f3ead7 !important;

    border-color: #f3ead7 !important;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 950px) {

    .bwh-contact-grid {
        grid-template-columns: 1fr;

        gap: 30px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {

    .bwh-contact-main {
        padding:
            60px 22px 80px;
    }


    .bwh-contact-intro {
        margin-bottom: 45px;
    }


    .bwh-contact-intro p {
        font-size: 22px;
    }


    .bwh-contact-details,
    .bwh-contact-form-panel {
        padding: 24px;
    }

}