/*
 * iPhone form focus and reCAPTCHA correction.
 * Keep this at the very top of Additional CSS.
 */
@media only screen and (max-width: 767px) {

	/*
	 * Stop iOS Safari zooming editable fields.
	 * Do not put spaces between the :not() conditions.
	 */
	input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="hidden"]):not([type="file"]),
	select,
	textarea,
	.select2-search__field {
		font-size: 16px !important;
		box-sizing: border-box !important;
		max-width: 100% !important;
	}

	/* Keep the page within the visible mobile viewport. */
	html,
	body,
	#c27-site-wrapper {
		width: 100% !important;
		max-width: 100% !important;
		overflow-x: hidden !important;
	}

	/* Google reCAPTCHA is fixed at 304px; scale it into the 300px form. */
	.google-recaptcha {
		display: block !important;
		width: 100% !important;
		max-width: 100% !important;
		height: 75px !important;
		overflow: visible !important;
	}

	.google-recaptcha > div {
		width: 304px !important;
		height: 78px !important;
		max-width: none !important;
		transform: scale(0.96) !important;
		transform-origin: left top !important;
	}
}

/* Extra adjustment for narrower effective iPhone viewports. */
@media only screen and (max-width: 360px) {

	.google-recaptcha {
		height: 71px !important;
	}

	.google-recaptcha > div {
		transform: scale(0.90) !important;
	}
}
/* =========================================================
   HKArtsNetUK — submission forms
   ========================================================= */

/* Hide the system-managed Source field from submission forms. */
.add-listing-form .form-group:has(#source),
.job-manager-form .form-group:has(#source) {
	display: none !important;
}

/* Hide the TinyMCE status bar. */
.job-manager-form .mce-statusbar {
	display: none !important;
}


/* =========================================================
   HKArtsNetUK — public author profiles
   ========================================================= */

/*
 * Hide MyListing's public About tab.
 * This does not remove, blank, or alter the saved registration answers.
 * Account Details and wp-admin user records remain unaffected.
 */
body.author .profile-menu li:has(
	> a.profile-tab-toggle[data-section-id="about"]
) {
	display: none !important;
}

/* Fallback: hide the link itself if the parent selector changes. */
body.author a.profile-tab-toggle[data-section-id="about"] {
	display: none !important;
}

/* Prevent the About content panel from being displayed directly. */
body.author .profile-section[data-section-id="about"],
body.author .profile-section[data-section="about"],
body.author [data-section-id="about"].profile-section,
body.author #about {
	display: none !important;
}


/* =========================================================
   HKArtsNetUK — Explore results navigation
   ========================================================= */

.explore-desktop-head {
	align-items: center;
	min-height: 44px;
	padding: 0 12px;
}

/* Hide unavailable previous/next arrows. */
.explore-desktop-head .load-batch-icon.batch-unavailable {
	visibility: hidden;
	pointer-events: none;
}

/* Style available previous/next arrows. */
.explore-desktop-head .load-batch-icon:not(.batch-unavailable) {
	display: flex;
	flex: 0 0 38px;
	width: 38px;
	height: 38px;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
}

.explore-desktop-head .load-batch-icon:not(.batch-unavailable) a {
	display: flex;
	width: 100%;
	height: 100%;
	align-items: center;
	justify-content: center;
	border-radius: inherit;
	color: #222;
}

.explore-desktop-head .load-batch-icon:not(.batch-unavailable) a:hover {
	background: #9ee800;
	color: #111;
}

/* Keep the result count centred. */
.explore-desktop-head .fl-results-no {
	flex: 1;
	text-align: center !important;
}


/* =========================================================
   HKArtsNetUK — desktop Explore card alignment
   ========================================================= */

@media (min-width: 992px) {

	/* Correct MyListing's oversized nested Bootstrap container. */
	#c27-explore-listings
	.i-section.explore-type-2 > .container {
		width: 100% !important;
		max-width: 100% !important;
		margin-right: 0 !important;
		margin-left: 0 !important;
		padding-right: 0 !important;
		padding-left: 0 !important;
	}

	/*
	 * Offset the card-column padding so the visible card edges
	 * align with the filter bar.
	 */
	#c27-explore-listings .results-view {
		width: auto !important;
		margin-top: 20px !important;
		margin-right: -10px !important;
		margin-left: -10px !important;
	}

	/* Align the result-count row with the filter bar. */
	#c27-explore-listings .fl-head {
		width: auto !important;
		margin: 20px 0 !important;
	}
}


/* =========================================================
   HKArtsNetUK — mobile and tablet
   ========================================================= */

@media (max-width: 991px) {

	.explore-desktop-head {
		padding-right: 10px;
		padding-left: 10px;
	}
}


/* =========================================================
   HKArtsNetUK — Event Explore
   ========================================================= */

/*
 * Hide the Hosted by/Source filter visually.
 * Keep the filter in MyListing's Advanced Form so its preset
 * Explore value can continue to work.
 */
.search-filters.type-event.type-id-145 .cts-term-hierarchy {
	display: none !important;
}


/* =========================================================
   HKArtsNetUK — filter drawer alignment
   ========================================================= */

@media (min-width: 768px) {

	body #c27-explore-listings #finderSearch {
		position: fixed !important;
		top: 0 !important;
		right: auto !important;
		bottom: 0 !important;
		left: 0 !important;
		margin: 0 !important;
		transform: none !important;
		z-index: 99999 !important;
	}
}

/* Remove the drawer's inner horizontal inset. */
body #c27-explore-listings .finder-tabs {
	padding-right: 0 !important;
	padding-left: 0 !important;
}

/* Hide “Change avatar” and prevent its Gravatar popup/link */
.woocommerce-account-gravatar__edit-wrapper,
a.woocommerce-account-gravatar__edit {
    display: none !important;
}

/* Preserve the designer's outlined arrow */
.hkan-line-arrow .elementor-icon svg {
    width: 24px !important;
    height: 24px !important;
    fill: none !important;
}

.hkan-line-arrow .elementor-icon svg line,
.hkan-line-arrow .elementor-icon svg polyline,
.hkan-line-arrow .elementor-icon svg path {
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.6 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

/* =====================================================
   HKAN — Replace MyListing icons with designer SVG files
   Replace each URL below with the corresponding Media URL
   ===================================================== */

/* Common replacement settings */
i.mi.favorite_border::before,
i.mi.favorite::before,
i.mi.share::before,
i.icon-settings-1::before,
i.mi.zoom_in::before {
    content: "" !important;
    display: inline-block !important;
    width: 1em !important;
    height: 1em !important;
    background-color: currentColor !important;
    background-image: none !important;
    -webkit-mask-position: center !important;
    mask-position: center !important;
    -webkit-mask-repeat: no-repeat !important;
    mask-repeat: no-repeat !important;
    -webkit-mask-size: contain !important;
    mask-size: contain !important;
}

/* Bookmark — normal and bookmarked states */
i.mi.favorite_border::before,
i.mi.favorite::before {
    -webkit-mask-image: url("https://hkartsnetuk.com/wp-content/uploads/2026/08/save-heart.svg") !important;
    mask-image: url("https://hkartsnetuk.com/wp-content/uploads/2026/08/save-heart.svg") !important;
}

/* Share */
i.mi.share::before {
    -webkit-mask-image: url("https://hkartsnetuk.com/wp-content/uploads/2026/08/share.svg") !important;
    mask-image: url("https://hkartsnetuk.com/wp-content/uploads/2026/08/share.svg") !important;
}

/* Explore Filters */
i.icon-settings-1::before {
    -webkit-mask-image: url("https://hkartsnetuk.com/wp-content/uploads/2026/08/filter.svg") !important;
    mask-image: url("https://hkartsnetuk.com/wp-content/uploads/2026/08/filter.svg") !important;
}

/* Listing Preview / Quick View */
i.mi.zoom_in::before {
    -webkit-mask-image: url("https://hkartsnetuk.com/wp-content/uploads/2026/09/zoom.svg") !important;
    mask-image: url("https://hkartsnetuk.com/wp-content/uploads/2026/09/zoom.svg") !important;
}

/* Remove the large lime calendar */
.upcoming-event-date > i.fa-calendar-alt {
    display: none !important;
}

/* Common replacement treatment */
.add-to-i-cal i.fa-calendar-alt::before,
.add-to-google-cal i.fa-check::before {
    content: "" !important;
    display: block !important;
    width: 1em !important;
    height: 1em !important;
    background-color: currentColor !important;
    -webkit-mask-position: center !important;
    mask-position: center !important;
    -webkit-mask-repeat: no-repeat !important;
    mask-repeat: no-repeat !important;
    -webkit-mask-size: contain !important;
    mask-size: contain !important;
}

/* iCalendar icon */
.add-to-i-cal i.fa-calendar-alt::before {
    -webkit-mask-image: url("https://hkartsnetuk.com/wp-content/uploads/2026/08/calendar.svg") !important;
    mask-image: url("https://hkartsnetuk.com/wp-content/uploads/2026/08/calendar.svg") !important;
}

/* Upcoming status icon */
.add-to-google-cal i.fa-check::before {
    -webkit-mask-image: url("https://hkartsnetuk.com/wp-content/uploads/2026/08/check.svg") !important;
    mask-image: url("https://hkartsnetuk.com/wp-content/uploads/2026/08/check.svg") !important;
}

/* Replace the “Other” social-network link icon */
.social-nav i.fa-link::before {
    content: "" !important;
    display: inline-block !important;
    width: 1em !important;
    height: 1em !important;
    background-color: currentColor !important;

    -webkit-mask-image: url("https://hkartsnetuk.com/wp-content/uploads/2026/08/copy-link.svg") !important;
    mask-image: url("https://hkartsnetuk.com/wp-content/uploads/2026/08/copy-link.svg") !important;

    -webkit-mask-position: center !important;
    mask-position: center !important;
    -webkit-mask-repeat: no-repeat !important;
    mask-repeat: no-repeat !important;
    -webkit-mask-size: contain !important;
    mask-size: contain !important;
}

/* Remove icon beside “Add a comment” */
.block-type-reviews .pf-head .title-style-1 > i.mi.chat_bubble_outline {
    display: none !important;
}

/* Home Hero Smart Slider #5 — compact mobile height */
@media only screen and (max-width: 700px) {
    #n2-ss-5,
    #n2-ss-5 .n2-ss-slider-1,
    #n2-ss-5 .n2-ss-slider-2,
    #n2-ss-5 .n2-ss-slider-3,
    #n2-ss-5 .n2-ss-slider-4,
    #n2-ss-5 .n2-ss-slide-backgrounds,
    #n2-ss-5 .n2-ss-slide,
    #n2-ss-5 .n2-ss-slide--focus,
    #n2-ss-5 .n2-ss-layers-container,
    #n2-ss-5 .n2-ss-section-main-content {
        height: 350px !important;
        min-height: 350px !important;
    }

    #n2-ss-5 .n2-ss-item-image-content {
        width: 350px !important;
        max-width: 100% !important;
        height: 350px !important;
        margin: auto !important;
    }

    #n2-ss-5 .n2-ss-item-image-content img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
    }
}

/* /* ==================================================
   MYLISTING FULL-SCREEN MOBILE/TABLET MENU
   ================================================== */

@media only screen and (max-width: 1200px) {

    /*
     Reveal the normally hidden menu container only
     after MyListing opens the menu.
    */
    body.disable-scroll .c27-main-header .header-center {
        display: block !important;
        position: fixed !important;
        inset: 0 !important;
        width: 100vw !important;
        height: 100dvh !important;
        z-index: 10000 !important;
        pointer-events: none !important;
    }

    /* Full-screen white menu panel */
    body.disable-scroll .c27-main-header .i-nav.mobile-menu-open {
        display: flex !important;
        flex-direction: column !important;
        visibility: visible !important;
        opacity: 1 !important;

        position: fixed !important;
        inset: 0 !important;

        width: 100vw !important;
        max-width: none !important;
        height: 100dvh !important;
        max-height: none !important;

        margin: 0 !important;
        padding: 0 !important;

        background: #ffffff !important;
        z-index: 10002 !important;
        pointer-events: auto !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
    }

    /* Menu header containing the close button */
    body.disable-scroll .i-nav .mobile-nav-head {
        display: flex !important;
        flex: 0 0 70px !important;
        width: 100% !important;
        min-height: 70px !important;
        align-items: center !important;
        justify-content: flex-end !important;
        padding: 0 24px !important;
        border-bottom: 1px solid #e5e5e5 !important;
        box-sizing: border-box !important;
    }

    /* Close button */
    body.disable-scroll .i-nav .mnh-close-icon {
        display: block !important;
        margin: 0 !important;
    }

    body.disable-scroll .i-nav .mnh-close-icon a {
        display: flex !important;
        width: 44px !important;
        height: 44px !important;
        align-items: center !important;
        justify-content: center !important;
        color: #141400 !important;
    }

    /* Change desktop horizontal menu into a vertical list */
    body.disable-scroll .i-nav ul.main-menu {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        flex-wrap: nowrap !important;

        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
    }

    /* Each navigation item occupies one complete row */
    body.disable-scroll .i-nav ul.main-menu > li {
        display: block !important;
        flex: none !important;
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
        border-bottom: 1px solid #e5e5e5 !important;
        text-align: left !important;
    }

    /* Navigation links */
    body.disable-scroll .i-nav ul.main-menu > li > a {
        display: flex !important;
        width: 100% !important;
        min-height: 62px !important;
        align-items: center !important;
        justify-content: flex-start !important;

        margin: 0 !important;
        padding: 16px 24px !important;
        box-sizing: border-box !important;

        color: #141400 !important;
        background: #ffffff !important;
        font-size: 18px !important;
        line-height: 1.35 !important;
        text-align: left !important;
        white-space: normal !important;
    }

    body.disable-scroll .i-nav ul.main-menu > li > a:hover,
    body.disable-scroll .i-nav ul.main-menu > li.current-menu-item > a {
        color: #141400 !important;
        background: #A6DD12 !important;
    }

    /*
     Keep the overlay behind the full-screen panel.
     It must not cover the menu itself.
    */
    body.disable-scroll .c27-main-header .i-nav-overlay {
        display: block !important;
        visibility: visible !important;
        position: fixed !important;
        inset: 0 !important;
        width: 100vw !important;
        height: 100dvh !important;
        z-index: 10001 !important;
        pointer-events: auto !important;
    }
}

/* =========================================================
   PREVENT PAGE-WIDE HORIZONTAL SCROLLING
   ========================================================= */

html,
body,
#c27-site-wrapper {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}


/* =========================================================
   HOMEPAGE MOBILE HERO
   Page ID: 763
   ========================================================= */

@media only screen and (max-width: 767px) {

    /* Prevent the word “community” exceeding narrow screens */
    .elementor-page-763
    .elementor-element-67f2612
    .elementor-heading-title {
        font-size: clamp(46px, 15vw, 66px) !important;
        line-height: 1 !important;
        overflow-wrap: normal;
    }

    .elementor-page-763 .elementor-section,
    .elementor-page-763 .e-con,
    .elementor-page-763 .elementor-widget-wrap {
        max-width: 100%;
    }
}


/* HKAN mobile header: hamburger left, logo centred, account icon right. */
@media only screen and (max-width: 767px) {
	.c27-main-header .header-top.container-fluid {
		position: relative !important;
		display: flex !important;
		align-items: center !important;
		justify-content: space-between !important;
		width: 100% !important;
		max-width: none !important;
		height: 60px !important;
		margin: 0 !important;
		padding: 10px 30px !important;
		box-sizing: border-box !important;
	}

	.c27-main-header .header-left {
		position: static !important;
		display: flex !important;
		align-items: center !important;
		width: auto !important;
		height: 40px !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	.c27-main-header .mobile-menu {
		position: relative !important;
		left: auto !important;
		top: auto !important;
		margin: 0 !important;
		padding: 0 !important;
		z-index: 3 !important;
	}

	.c27-main-header .header-left .logo {
		position: absolute !important;
		left: 50% !important;
		top: 50% !important;
		width: auto !important;
		margin: 0 !important;
		padding: 0 !important;
		transform: translate(-50%, -50%) !important;
		z-index: 2 !important;
	}

	.c27-main-header .header-left .logo img {
		max-height: 40px !important;
		width: auto !important;
	}

	.c27-main-header .header-right {
		position: static !important;
		display: flex !important;
		align-items: center !important;
		justify-content: flex-end !important;
		width: auto !important;
		height: 40px !important;
		margin: 0 0 0 auto !important;
		padding: 0 !important;
		z-index: 3 !important;
	}

	.c27-main-header .header-right .mob-sign-in {
		position: relative !important;
		right: auto !important;
		top: auto !important;
		margin: 0 !important;
		padding: 0 !important;
	}
}

/* Slightly narrower gutters on very small phones. */
@media only screen and (max-width: 360px) {
	.c27-main-header .header-top.container-fluid {
		padding-right: 20px !important;
		padding-left: 20px !important;
	}
}

@media (max-width: 767px) {
  footer.footer .hkan-footer-columns {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 20px;
  }

  footer.footer .hkan-footer-columns > .wp-block-column:first-child {
    grid-column: 1 / -1;
  }

  footer.footer .hkan-footer-columns > .wp-block-column:nth-child(2),
  footer.footer .hkan-footer-columns > .wp-block-column:nth-child(3) {
    min-width: 0;
  }
}

/* Match the footer block's native Gutenberg padding on every page. */
@media (max-width: 767px) {
  footer.footer .hkan-footer-columns.has-background {
    padding: var(--wp--style--block-background-padding, 1.25em 2.375em) !important;
  }

  /* Keep the account password eye below the open mobile navigation. */
  .toggle-password .show-toggle-password {
    z-index: 3 !important;
		 pointer-events: auto !important;
    touch-action: manipulation;
  }
}

@media (max-width: 767px) {
  body.disable-scroll .i-nav .mobile-user-menu li > a:hover,
  body.disable-scroll .i-nav .mobile-user-menu li > a:focus-visible,
  body.disable-scroll .i-nav .mobile-user-menu li > a:active {
    background: #a6dd12 !important;
    color: #141400 !important;
  }
}

.woocommerce-account .mlduo-account-menu .woocommerce-account-gravatar {
  padding-top: 20px;
}

.woocommerce-account #job-manager-job-dashboard
.job-dashboard-actions > li.cts-listing-action-promote {
  display: none !important;
}

/* =========================================================
   HKAN — MyListing password fields
   Clean mobile spacing + eye icon
   ========================================================= */

.woocommerce-EditAccountForm .toggle-password {
	position: relative !important;
	display: block !important;
	width: 100% !important;
	margin-bottom: 18px !important;
}

.woocommerce-EditAccountForm .toggle-password > .form-group {
	position: relative !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 38px 0 0 !important;
	box-sizing: border-box !important;
}

/* Label/title */
.woocommerce-EditAccountForm .toggle-password label {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	white-space: normal !important;
	line-height: 1.35 !important;
	margin: 0 0 10px 0 !important;
	padding: 0 !important;
}

/* Password input */
.woocommerce-EditAccountForm .toggle-password input {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
	margin: 0 !important;
}

/* Eye icon */
.woocommerce-EditAccountForm .toggle-password > .show-toggle-password {
	position: absolute !important;
	right: 6px !important;
	bottom: 6px !important;
	top: auto !important;
	left: auto !important;
	transform: none !important;

	width: 28px !important;
	height: 28px !important;

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

	margin: 0 !important;
	padding: 0 !important;
	z-index: 5 !important;
}

/* Small screens */
@media (max-width: 600px) {

	.woocommerce-EditAccountForm .toggle-password {
		margin-bottom: 20px !important;
	}

	.woocommerce-EditAccountForm .toggle-password label {
		font-size: 14px !important;
		line-height: 1.35 !important;
		margin-bottom: 10px !important;
	}

	.woocommerce-EditAccountForm .toggle-password > .form-group {
		padding-right: 36px !important;
	}
}

/* HKAN — Communities mobile active tab underline only */
@media (max-width: 767px) {

  #c27-explore-listings .explore-types .item .type-info h4 {
    position: relative;
  }

  #c27-explore-listings .explore-types .item .type-info h4::after {
    content: "";
    position: absolute;

    left: 0;
    right: 0;
    bottom: -7px;

    height: 2px;
    background: #A6DD12;

    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
  }

  #c27-explore-listings .explore-types .item.active .type-info h4::after {
    transform: scaleX(1);
  }
}

/* =========================================================
   HK Arts Net UK — Delete Account
   MyListing-style appearance
   ========================================================= */

.wpfda-delete-account-container {
	max-width: 900px;
	margin: 45px auto 70px;
	padding: 34px 38px;
	color: #242429;
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 2px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
	font-family: inherit;
	font-size: inherit;
}

/* Page heading */
.wpfda-delete-account-container::before {
	content: "Delete your account";
	display: block;
	margin-bottom: 26px;
	padding-bottom: 17px;
	color: #242429;
	border-bottom: 1px solid #e5e5e5;
	font-family: inherit;
	font-size: 23px;
	font-weight: 600;
	line-height: 1.3;
}

/* Labels and other text */
.wpfda-delete-account-container label,
.wpfda-delete-account-container p {
	color: #242429;
	font-family: inherit;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.6;
}

/* Password input */
.wpfda-delete-account-container input[type="password"],
.wpfda-delete-account-container input[type="text"] {
	display: block;
	width: 100% !important;
	min-height: 47px;
	margin: 9px 0 23px;
	padding: 10px 13px !important;
	color: #242429;
	background: #fff !important;
	border: 1px solid #d6d6d6 !important;
	border-radius: 2px !important;
	box-shadow: none !important;
	font-family: inherit !important;
	font-size: 15px !important;
	font-weight: 400;
	line-height: 1.4;
	transition:
		border-color 0.2s ease,
		box-shadow 0.2s ease;
}

.wpfda-delete-account-container input[type="password"]:focus,
.wpfda-delete-account-container input[type="text"]:focus {
	background: #fff !important;
	border-color: #9fdc00 !important;
	box-shadow: 0 0 0 2px rgba(159, 220, 0, 0.15) !important;
	outline: none !important;
}

/* Destructive confirmation button */
.wpfda-delete-account-container button,
.wpfda-delete-account-container input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 43px;
	margin-top: 5px;
	padding: 10px 22px !important;
	color: #fff !important;
	background: #bd3030 !important;
	border: 1px solid #bd3030 !important;
	border-radius: 2px !important;
	box-shadow: none !important;
	font-family: inherit !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	line-height: 1.2;
	text-transform: none !important;
	letter-spacing: 0 !important;
	cursor: pointer;
	transition:
		background-color 0.2s ease,
		border-color 0.2s ease;
}

.wpfda-delete-account-container button:hover,
.wpfda-delete-account-container input[type="submit"]:hover {
	background: #982626 !important;
	border-color: #982626 !important;
}

.wpfda-delete-account-container button:focus-visible,
.wpfda-delete-account-container input[type="submit"]:focus-visible {
	outline: 2px solid rgba(189, 48, 48, 0.3) !important;
	outline-offset: 2px;
}

/* Plugin notices */
.wpfda-delete-account-container .woocommerce-error,
.wpfda-delete-account-container .woocommerce-message,
.wpfda-delete-account-container .woocommerce-info {
	margin: 0 0 22px !important;
	padding: 14px 16px !important;
	border-radius: 2px !important;
	font-family: inherit;
	font-size: 14px;
}

/* Mobile */
@media (max-width: 767px) {
	.wpfda-delete-account-container {
		margin: 25px 15px 45px;
		padding: 25px 20px;
		border-radius: 2px;
	}

	.wpfda-delete-account-container::before {
		margin-bottom: 21px;
		font-size: 20px;
	}

	.wpfda-delete-account-container button,
	.wpfda-delete-account-container input[type="submit"] {
		width: 100%;
	}
}

/*
 * HK Arts Net UK — complete mobile fixes
 * Replaces all previous mobile logo, contact-field and Submit-button fixes.
 */
@media only screen and (max-width: 767px) {

	/* Consistent mobile header logo across iPhone models. */
	.c27-main-header .header-left .logo img,
	.c27-main-header .header-top .logo a img {
		width: 112px !important;
		height: auto !important;
		max-width: 112px !important;
		max-height: 44px !important;
		object-fit: contain !important;
	}

	/* Prevent horizontal page movement. */
	html,
	body,
	#c27-site-wrapper {
		width: 100% !important;
		max-width: 100% !important;
		overflow-x: hidden !important;
	}

	@supports (overflow-x: clip) {
		html,
		body,
		#c27-site-wrapper {
			overflow-x: clip !important;
		}
	}

	/* Keep the contact form and its wrappers within the page. */
	body .contact-form,
	body .contact-form form,
	body .contact-form .grunion-field-wrap,
	body .contact-form .contact-form-field {
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		box-sizing: border-box !important;
	}

	/*
	 * Full-width fields.
	 * The 16px font prevents iOS Safari zooming and shifting the page.
	 */
	body .contact-form input[type="text"],
	body .contact-form input[type="email"],
	body .contact-form input[type="tel"],
	body .contact-form input[type="url"],
	body .contact-form input[type="number"],
	body .contact-form select,
	body .contact-form textarea {
		display: block !important;
		width: 100% !important;
		inline-size: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		box-sizing: border-box !important;
		margin-right: 0 !important;
		font-size: 16px !important;
	}

	/* Submit button matching the desktop button’s proportions. */
	body .contact-form input[type="submit"],
	body .contact-form button[type="submit"] {
		display: inline-flex !important;
		align-items: center !important;
		justify-content: center !important;

		width: 34% !important;
		min-width: 120px !important;
		max-width: 425px !important;
		height: 52px !important;
		min-height: 52px !important;

		margin: 0 !important;
		padding: 0 20px !important;
		box-sizing: border-box !important;

		border: 0 !important;
		border-radius: 8px !important;
		background-color: #A6DD12 !important;
		color: #111 !important;

		font-size: 16px !important;
		font-weight: 600 !important;
		line-height: 1 !important;
		white-space: nowrap !important;

		box-shadow: none !important;
		appearance: none !important;
		-webkit-appearance: none !important;
	}
}

/* Slight adjustment for particularly narrow phones. */
@media only screen and (max-width: 360px) {

	.c27-main-header .header-left .logo img,
	.c27-main-header .header-top .logo a img {
		width: 104px !important;
		max-width: 104px !important;
		max-height: 41px !important;
	}
	
	/* Correct homepage height when Safari’s toolbar changes position. */
@supports (min-height: 100dvh) {
	body.home
	.elementor-763
	.elementor-element.elementor-element-11c6d70 {
		--min-height: 100dvh !important;
		min-height: 100dvh !important;
	}
}

/*
 * HK Arts Net UK — complete mobile/iPhone corrections
 */
@media only screen and (max-width: 767px) {

	/* Consistent mobile header logo. */
	.c27-main-header .header-left .logo img,
	.c27-main-header .header-top .logo a img {
		width: 112px !important;
		height: auto !important;
		max-width: 112px !important;
		max-height: 44px !important;
		object-fit: contain !important;
	}

	/* Prevent horizontal movement of the page. */
	html,
	body,
	#c27-site-wrapper {
		width: 100% !important;
		max-width: 100% !important;
		overflow-x: hidden !important;
	}

	@supports (overflow-x: clip) {
		html,
		body,
		#c27-site-wrapper {
			overflow-x: clip !important;
		}
	}

	/* Keep all common form containers inside the mobile viewport. */
	form,
	.form-group,
	.woocommerce,
	.woocommerce form,
	.woocommerce-form-row,
	.mylisting-register,
	.sign-in-box,
	.sign-in-form,
	.c27-submit-listing-form,
	.add-listing-step,
	.job-manager-form,
	.job-manager-form .fieldset,
	.select2-container {
		min-width: 0 !important;
		max-width: 100% !important;
		box-sizing: border-box !important;
	}

	/*
	 * Prevent iOS Safari’s automatic field zoom.
	 * Keep all :not() conditions together without spaces.
	 */
	input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="hidden"]):not([type="file"]),
	select,
	textarea,
	.select2-search__field {
		font-size: 16px !important;
		max-width: 100% !important;
		box-sizing: border-box !important;
	}

	/* Full-width Contact form lines. */
	body .contact-form,
	body .contact-form form,
	body .contact-form .grunion-field-wrap,
	body .contact-form .contact-form-field {
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		box-sizing: border-box !important;
	}

	body .contact-form input[type="text"],
	body .contact-form input[type="email"],
	body .contact-form input[type="tel"],
	body .contact-form input[type="url"],
	body .contact-form input[type="number"],
	body .contact-form select,
	body .contact-form textarea {
		display: block !important;
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		box-sizing: border-box !important;
		margin-right: 0 !important;
		font-size: 16px !important;
	}

	/* Contact Submit button. */
	body .contact-form input[type="submit"],
	body .contact-form button[type="submit"] {
		display: inline-flex !important;
		align-items: center !important;
		justify-content: center !important;
		width: 34% !important;
		min-width: 120px !important;
		max-width: 425px !important;
		height: 52px !important;
		min-height: 52px !important;
		margin: 0 !important;
		padding: 0 20px !important;
		box-sizing: border-box !important;
		border: 0 !important;
		border-radius: 8px !important;
		background-color: #A6DD12 !important;
		color: #111 !important;
		font-size: 16px !important;
		font-weight: 600 !important;
		line-height: 1 !important;
		white-space: nowrap !important;
		box-shadow: none !important;
		appearance: none !important;
		-webkit-appearance: none !important;
	}
}

/* Smaller logo only on phones whose viewport is 360px or narrower. */
@media only screen and (max-width: 360px) {

	.c27-main-header .header-left .logo img,
	.c27-main-header .header-top .logo a img {
		width: 104px !important;
		max-width: 104px !important;
		max-height: 41px !important;
	}
}

/* Modern Safari homepage viewport height. */
@supports (min-height: 100dvh) {

	body.home
	.elementor-763
	.elementor-element.elementor-element-11c6d70 {
		--min-height: 100dvh !important;
		min-height: 100dvh !important;
	}
}