﻿/*
 Theme Name:     istore
 Theme URI:      https://www.redhotdesign.co.za
 Description:    New site and theme for iStore South Africa
 Author:         NJV RedHot Design
 Author URI:     https://www.redhotdesign.co.za
 Template:       Divi
 Version:        4.7
*/

@import url("../Divi/style.css");
@import url("css/global-header.css");

/* ======================================================
   INTER FONT
   ====================================================== */

@font-face {
	font-family: "Inter";
	src: url("fonts/InterVariable.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Inter";
	src: url("fonts/InterVariable-Italic.woff2") format("woff2");
	font-weight: 100 900;
	font-style: italic;
	font-display: swap;
}

/* ======================================================
   GLOBAL TYPOGRAPHY
   ====================================================== */

body,
input,
textarea,
select,
button {
	font-family: "Inter", sans-serif !important;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5em;
}
h1,
h2,
h3,
h4,
h5,
h6,
p,
li,
label,
legend,
table,
th,
td,
blockquote,
figcaption,
.et_pb_text,
.et_pb_button,
.et_pb_menu,
.et_pb_menu a,
.et_pb_blurb,
.gform_wrapper,
.client-declaration,
#client-declaration {
	font-family: "Inter", sans-serif !important;
}

/* ======================================================
   DIVI MENU
   ====================================================== */

.et_pb_menu--with-logo .et_pb_menu__menu > nav > ul > li > a {
	padding: 23px 0;
}
.et_pb_menu .et-menu > li {
	margin: 0 30px !important;
	font-weight: 600;
}

/* ======================================================
   GRAVITY FORMS
   ====================================================== */

div#gfield_description_4_70 {
	margin-top: -5px !important;
	padding-top: 0 !important;
	color: #ff0000 !important;
	font-size: 1.2em !important;
	font-weight: 700 !important;
}
.gform_wrapper.gf_browser_chrome .ginput_complex .ginput_right select,
.gform_wrapper.gf_browser_chrome .ginput_complex select {
	margin-bottom: 0 !important;
}
div#input_1_5_chosen {
	min-height: 33px !important;
	padding: 0;
	border-radius: 6px;
}
select#input_5_66_2 {
	min-height: 40px !important;
	padding: 0;
	border-radius: 6px;
}
.insurance-application .gform_wrapper .gform_page_fields > ul > .gfield_html:first-child {
	width: 100% !important;
	margin: -20px 0 70px !important;
}
.gform_wrapper h1,
.gform_wrapper h2,
.gform_wrapper h3 {
	margin-top: 60px;
	color: #000000 !important;
	font-size: 24px;
	line-height: 1.5em;
}
body .entry-content .gform_wrapper div.gform_body ul.gform_fields li.gfield.gfield_html,
body .entry-content .gform_wrapper div.gform_body ul.gform_fields li.gfield.gfield_html ul {
	color: #000000;
	font-size: 15px;
	line-height: 1.2em;
}
.entry-content .gform_wrapper .chosen-container-single .chosen-single span {
	min-height: 30px !important;
}

/* ======================================================
   DIVI BLURBS
   ====================================================== */

.et_pb_main_blurb_image {
	display: inline-block;
	max-width: 100%;
	margin-bottom: 12px;
	line-height: 0;
}

/* ======================================================
   FOOTER
   ====================================================== */

.et-social-icons {
	float: right;
	margin-right: 9%;
}
.footer-widget {
	margin-bottom: 2.5% !important;
}
#footer-widgets {
	padding: 3% 0 0 !important;
}

/**
 * Global footer (CO 2026-09-10)
 * Theme Builder section uses CSS class "istore-footer".
 * Link columns: WP menus via [istore_footer_menu]; badges/legal/partners are TB Text/Image modules.
 -----------------------------------------------------------------------*/
.et-l--footer .istore-footer.et_pb_section,
.et_pb_section.istore-footer {
	--istore-footer-text: #1d1d1f;
	--istore-footer-muted: #424245;
	--istore-footer-link: #0066cc;
	--istore-footer-border: #F2F2F2;
	background-color: #ffffff !important;
	padding: 48px 0 40px !important;
	margin: 0 !important;
	border-top: 3px solid var(--istore-footer-border);
}
.et-l--footer .istore-footer .et_pb_row,
.et_pb_section.istore-footer .et_pb_row {
	width: 87% !important;
	max-width: 1320px !important;
	margin-left: auto !important;
	margin-right: auto !important;
}
.et-l--footer .istore-footer .istore-footer__nav.et_pb_row,
.et_pb_section.istore-footer .istore-footer__nav.et_pb_row {
	padding: 0 0 48px !important;
	margin-bottom: 0 !important;
}
.et-l--footer .istore-footer .istore-footer__legal-row.et_pb_row,
.et_pb_section.istore-footer .istore-footer__legal-row.et_pb_row {
	padding: 32px 0 0 !important;
	margin-top: 0 !important;
	border-top: 0;
}
.et-l--footer .istore-footer .et_pb_column,
.et_pb_section.istore-footer .et_pb_column {
	padding-left: 0 !important;
	padding-right: 12px !important;
	margin-bottom: 0 !important;
}
.et-l--footer .istore-footer .et_pb_text,
.et_pb_section.istore-footer .et_pb_text,
.et-l--footer .istore-footer .et_pb_code,
.et_pb_section.istore-footer .et_pb_code {
	padding-bottom: 0 !important;
	margin-bottom: 0 !important;
}
.et-l--footer .istore-footer .et_pb_text h5,
.et_pb_section.istore-footer .et_pb_text h5,
.et-l--footer .istore-footer .istore-footer__col-title,
.et_pb_section.istore-footer .istore-footer__col-title {
	color: var(--istore-footer-text) !important;
	font-family: "Inter", sans-serif !important;
	font-size: 22px !important;
	font-weight: 700 !important;
	line-height: 1.3 !important;
	margin: 0 0 32px !important;
	padding: 0 !important;
}
.et-l--footer .istore-footer .istore-footer__badges .et_pb_text,
.et_pb_section.istore-footer .istore-footer__badges .et_pb_text {
	margin-bottom: 12px !important;
}
.et-l--footer .istore-footer .istore-footer__menu,
.et_pb_section.istore-footer .istore-footer__menu,
.et-l--footer .istore-footer .et_pb_text ul,
.et_pb_section.istore-footer .et_pb_text ul {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}
.et-l--footer .istore-footer .istore-footer__menu li,
.et_pb_section.istore-footer .istore-footer__menu li,
.et-l--footer .istore-footer .et_pb_text ul li,
.et_pb_section.istore-footer .et_pb_text ul li {
	margin: 0 0 12px !important;
	padding: 0 !important;
	line-height: 1.35 !important;
	list-style: none !important;
}
.et-l--footer .istore-footer .istore-footer__menu li::before,
.et_pb_section.istore-footer .istore-footer__menu li::before,
.et-l--footer .istore-footer .istore-footer__menu li::marker,
.et_pb_section.istore-footer .istore-footer__menu li::marker {
	content: none !important;
	display: none !important;
}
.et-l--footer .istore-footer .istore-footer__menu a,
.et_pb_section.istore-footer .istore-footer__menu a,
.et-l--footer .istore-footer .et_pb_text ul li a,
.et_pb_section.istore-footer .et_pb_text ul li a {
	color: var(--istore-footer-text) !important;
	font-family: "Inter", sans-serif !important;
	font-size: 14px !important;
	font-weight: 400 !important;
	line-height: 1.35 !important;
	text-decoration: none !important;
}
.et-l--footer .istore-footer .istore-footer__menu a:hover,
.et_pb_section.istore-footer .istore-footer__menu a:hover,
.et-l--footer .istore-footer .et_pb_text ul li a:hover,
.et_pb_section.istore-footer .et_pb_text ul li a:hover {
	text-decoration: underline !important;
}
.et-l--footer .istore-footer .istore-footer__badges .et_pb_image,
.et_pb_section.istore-footer .istore-footer__badges .et_pb_image {
	margin: 0 0 14px !important;
	padding: 0 !important;
	text-align: left !important;
}
.et-l--footer .istore-footer .istore-footer__badges .et_pb_image:last-child,
.et_pb_section.istore-footer .istore-footer__badges .et_pb_image:last-child {
	margin-bottom: 0 !important;
}
.et-l--footer .istore-footer .istore-footer__badges .et_pb_image:first-child img,
.et_pb_section.istore-footer .istore-footer__badges .et_pb_image:first-child img {
	max-width: 140px !important;
}
.et-l--footer .istore-footer .istore-footer__legal.et_pb_text,
.et_pb_section.istore-footer .istore-footer__legal.et_pb_text {
	color: var(--istore-footer-muted) !important;
	font-family: "Inter", sans-serif !important;
	font-size: 12px !important;
	font-weight: 400 !important;
	line-height: 1.5 !important;
}
.et-l--footer .istore-footer .istore-footer__legal.et_pb_text p,
.et_pb_section.istore-footer .istore-footer__legal.et_pb_text p {
	color: var(--istore-footer-muted) !important;
	font-size: 14px !important;
	line-height: 1.5 !important;
	margin: 0 0 8px !important;
}
.et-l--footer .istore-footer .istore-footer__legal.et_pb_text p:last-child,
.et_pb_section.istore-footer .istore-footer__legal.et_pb_text p:last-child {
	margin-bottom: 0 !important;
}
.et-l--footer .istore-footer .istore-footer__legal.et_pb_text strong,
.et_pb_section.istore-footer .istore-footer__legal.et_pb_text strong {
	color: var(--istore-footer-text) !important;
	font-weight: 600 !important;
}
.et-l--footer .istore-footer .istore-footer__legal.et_pb_text a,
.et_pb_section.istore-footer .istore-footer__legal.et_pb_text a {
	color: var(--istore-footer-link) !important;
	text-decoration: none !important;
}
.et-l--footer .istore-footer .istore-footer__legal.et_pb_text a:hover,
.et_pb_section.istore-footer .istore-footer__legal.et_pb_text a:hover {
	text-decoration: underline !important;
}
.et-l--footer .istore-footer .istore-footer__partners.et_pb_column,
.et_pb_section.istore-footer .istore-footer__partners.et_pb_column {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 28px;
}
.et-l--footer .istore-footer .istore-footer__partners .et_pb_image,
.et_pb_section.istore-footer .istore-footer__partners .et_pb_image {
	margin: 0 !important;
	padding: 0 !important;
	width: auto !important;
	max-width: none !important;
}
.et-l--footer .istore-footer .istore-footer__partners .et_pb_image .et_pb_image_wrap,
.et_pb_section.istore-footer .istore-footer__partners .et_pb_image .et_pb_image_wrap {
	width: auto !important;
	max-width: none !important;
}
.et-l--footer .istore-footer .istore-footer__partners .et_pb_image img,
.et_pb_section.istore-footer .istore-footer__partners .et_pb_image img {
	display: block !important;
	height: auto !important;
	max-height: 64px !important;
	width: auto !important;
	max-width: 200px !important;
}

@media (max-width: 980px) {
	.et-l--footer .istore-footer.et_pb_section,
	.et_pb_section.istore-footer {
		padding: 36px 0 28px !important;
	}
	.et-l--footer .istore-footer .istore-footer__nav .et_pb_column,
	.et_pb_section.istore-footer .istore-footer__nav .et_pb_column {
		width: 50% !important;
		margin-bottom: 28px !important;
	}
	.et-l--footer .istore-footer .istore-footer__partners,
	.et_pb_section.istore-footer .istore-footer__partners {
		justify-content: flex-start;
		margin-top: 20px;
	}
}

@media (max-width: 767px) {
	.et-l--footer .istore-footer .istore-footer__nav .et_pb_column,
	.et_pb_section.istore-footer .istore-footer__nav .et_pb_column {
		width: 100% !important;
	}
}

/* ======================================================
   HEADER AND NAVIGATION
   ====================================================== */

.et-cart-info {
	display: none !important;
}
#main-header .nav li ul {
	background-color: rgba(31, 31, 33, 0.9) !important;
}
.get-started {
	border-radius: 0;
}
.get-started a {
	color: #ffffff !important;
}
li.get-started {
	padding: 20px 10px 10px !important;
	border-radius: 6px;
	background-color: #1588c9;
	font-weight: 300 !important;
	text-align: center;
	transition: all 0.7s;
}
li.get-started:hover {
	background-color: rgba(21, 136, 201, 0.5);
}

/* Fixed-header button text */
.et-fixed-header #top-menu .get-started a {
	color: #ffffff !important;
}
.get-started li.current-menu-ancestor > a,
.get-started li.current-menu-item > a {
	color: #ffffff !important;
}
.mobile_menu_bar::before {
	color: #ffffff;
}
.et_header_style_left #et-top-navigation nav > ul > li > a,
.et_header_style_split #et-top-navigation nav > ul > li > a {
	padding-bottom: 20px;
}
.et-fixed-header #et-top-navigation,
.et_header_style_left #et-top-navigation {
	position: relative;
	float: none;
	margin-left: 50%;
	padding-left: 0 !important;
}
.et-fixed-header #top-menu-nav,
.et_header_style_left #top-menu-nav {
	margin-left: -50%;
}

/**
 * Global header styles live in css/global-header.css (also used by CORE Self Service).
 -----------------------------------------------------------------------*/

/* ======================================================
   LAYOUT
   ====================================================== */

.container {
	position: relative;
	width: 95%;
	max-width: 95%;
	margin: auto;
}

/* Remove the divider between content and sidebar */
#main-content .container::before {
	background: none;
}

/* ======================================================
   WOOCOMMERCE
   ====================================================== */

.woocommerce div.product .stock {
	display: none;
	color: #77a464;
}
.woocommerce .woocommerce-breadcrumb {
	display: none;
}

/* ======================================================
   CUSTOM LISTS
   ====================================================== */

.ul-no-bullets ul {
	padding-left: 0;
	list-style: none;
}
.ul-inline li {
	display: inline-block;
	margin-right: 30px;
}
.list-check-circle ul,
.list-times-circle ul {
	list-style-type: none !important;
}
.list-check-circle li::before,
.list-times-circle li::before {
	content: "";
	display: inline-block;
	width: 26px;
	height: 26px;
	margin-right: 10px;
	margin-bottom: -5px;
	background-image: url("images/list-check-circle.png");
	background-repeat: no-repeat;
	background-size: 26px;
}
.list-times-circle li::before {
	background-image: url("images/list-times-circle.png");
}

/* ======================================================
   DESKTOP
   ====================================================== */


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

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

	.et_pb_menu--style-left_aligned.et_pb_text_align_center .et_pb_menu__wrap {
		justify-content: flex-end;
	}
	.et_pb_menu_0_tb_header.et_pb_menu .et_mobile_menu {
		margin-top: 7px;
	}
	.ul-inline li {
		display: list-item;
		margin-right: 0;
	}
	.et_pb_module.et_pb_text_align_right.footer-copyright {
		margin-top: -30px;
		padding-bottom: 30px;
		text-align: left;
	}
	.et_pb_social_media_follow li a {
		margin-right: 0;
	}
	.footer-heading > .et_pb_column {
		width: 50% !important;
		margin-bottom: 0;
	}
}

/**
 * Custom styles
 */
@media only screen and (min-width: 641px) {
	#input_4_48.gfield_radio {
		width: calc(95% + 16px) !important;
	}
}

/* Base style: No wrapping, full width */
#field_4_48 ul li {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	gap: 8px;
	margin-bottom: 12px;
	white-space: nowrap;
	width: 100%;
	overflow-x: auto;
}
#field_4_48 ul li label {
	margin-right: 6px;
	white-space: nowrap;
	flex-shrink: 0;
}
.info-icon {
	display: inline-block;
	background: #0073aa;
	color: #fff;
	border-radius: 50%;
	width: 16px;
	height: 16px;
	text-align: center;
	line-height: 16px;
	font-size: 11px;
	font-weight: bold;
	margin-left: 4px;
	margin-right: 4px;
	flex-shrink: 0;
}
.tooltip-text {
	display: inline-block;
	font-size: 11px;
	color: #444;
	max-width: none;
	line-height: 1.3;
	white-space: nowrap;
	flex-shrink: 0;
}

/* On small screens: allow wrapping */
@media (max-width: 768px) {
	#field_4_48 ul li {
		flex-wrap: wrap;
		white-space: normal;
	}
	.tooltip-text {
		white-space: normal;
	}
}

/* Safari-specific CSS */
@media not all and (min-resolution: 0.001dpcm) {
	@supports (-webkit-appearance: none) {
		select::-webkit-search-cancel-button {
			display: none;
		}
		select::-webkit-search-decoration {
			display: none;
		}
		select::-webkit-search-results-button {
			display: none;
		}
		select::-webkit-search-results-decoration {
			display: none;
		}

		/* Hide the entire search box */
		select::-webkit-search-input {
			display: none;
		}
	}
}
select#input_5_56 {
	height: 46px !important;
}
select#input_5_57 {
	height: 46px !important;
}
select#input_5_55 {
	height: 46px !important;
}
select#input_5_66_2 {
	height: 46px !important;
}
select {
	-webkit-appearance: none !important;
}

/*
div.validation_error {
display: none !important;
}
*/

body .entry-content .gform_wrapper div.gform_body ul.gform_fields li.gfield.gfield_html ul {
	line-height: 1.6em !important;
	margin-top: 30px !important;
}
select#input_4_2_2 {
	height: 47px !important;
}

/* file upload button */
input[type="file"]::file-selector-button {
	font-size: 14px !important;
	font-weight: 400 !important;
	color: #1588C9 !important;
	border-radius: 12px;
	padding: 0 20px;
	height: 38px;
	cursor: pointer;
	background-color: white;
	border: 2px solid #1588C9;
	box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.05);
	margin-right: 16px;
	transition: background-color 200ms;
}

/* file upload button hover state */
input[type="file"]::file-selector-button:hover {
	background-color: #ffffff;
}

/* file upload button active state */
input[type="file"]::file-selector-button:active {
	background-color: #ffffff;
}

/* ------------------------ */

.client-declaration {
	font-family: "Inter", arial, sans-serif !important;
}
.device-imei {
	color: #ff0000 !important;
	font-weight: bold !important;
}
#client-declaration {
	font-family: Arial !important;
}
.insurance-application2 h2 {
	background: #f7f7f7;
	padding: 17px 0;
	font-size: 1.714em;
	line-height: 1.618em;
}
.gform_legacy_markup_wrapper .left_label input[type="file"].medium {
	width: 100%;
}

/**
 * Front page (CO Landing Page 1) — scoped to .istore-home only
 -----------------------------------------------------------------------*/
.istore-home {
	--istore-blue: #0071e3;
	--istore-text: #1d1d1f;
	--istore-muted: #6e6e73;
	--istore-surface: #f5f5f5;
	--istore-surface-alt: #f2f2f2;
	--istore-new: #bf4800;
	--istore-card-radius: 18px;
	--istore-card-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}
.istore-home.et_pb_section {
	margin: 0 !important;
}
.istore-home.istore-home__hero {
	background-color: var(--istore-surface) !important;
}
.istore-home.istore-home__why-intro {
	background-color: #ffffff !important;
}
.istore-home.istore-home__why-covers,
.istore-home.istore-home__shop {
	background-color: var(--istore-surface-alt) !important;
}
.istore-home.istore-home__cats,
.istore-home.istore-home__feat,
.istore-home.istore-home__policy {
	background-color: #ffffff !important;
}
.istore-home .et_pb_row {
	width: 87% !important;
	max-width: 1200px !important;
}
.istore-home h1 strong {
	font-weight: 700 !important;
}
.istore-home__section-title h2 {
	margin: 0 !important;
}
.istore-home__new {
	color: var(--istore-new) !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	line-height: 1.3 !important;
}
.istore-home p {
	margin-top: 0;
}
.istore-home__price {
	font-size: 16px !important;
	line-height: 1em !important;
	margin-bottom: 40px;
}

/* Buttons — Divi Button modules own text size; HTML btn-links keep size here */
.istore-home .et_pb_button.istore-home__btn {
	border-radius: 40px !important;
	display: inline-block;
	font-family: "Inter", sans-serif !important;
	font-weight: 700 !important;
	line-height: 1.25 !important;
	padding: 12px 28px !important;
	text-decoration: none !important;
	transition: opacity 0.2s ease;
}
.istore-home a.istore-home__btn-link {
	border-radius: 40px !important;
	display: inline-block;
	font-family: "Inter", sans-serif !important;
	font-size: 16px !important;
	font-weight: 700 !important;
	line-height: 1.25 !important;
	padding: 12px 28px !important;
	text-decoration: none !important;
	transition: opacity 0.2s ease;
}
.istore-home .et_pb_button.istore-home__btn:after {
	display: none !important;
}
.istore-home .et_pb_button.istore-home__btn--solid,
.istore-home a.istore-home__btn-link--solid {
	background-color: var(--istore-blue) !important;
	border: 0 !important;
	color: #ffffff !important;
}
.istore-home .et_pb_button.istore-home__btn--outline,
.istore-home a.istore-home__btn-link--outline {
	background-color: transparent !important;
	border: 1px solid var(--istore-blue) !important;
	color: var(--istore-blue) !important;
}
.istore-home .et_pb_button.istore-home__btn:hover,
.istore-home a.istore-home__btn-link:hover {
	opacity: 0.88;
}

/* Hero */
.istore-home__hero .istore-home__hero-row {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
}
.istore-home__hero-brand strong {
	font-weight: 700 !important;
}
/* H1 size: Divi Text `header_font_size` shortcode attrs do not emit CSS here; keep responsive sizes in theme */
.istore-home__hero-headline h1 {
	font-size: 52px !important;
	font-weight: 400 !important;
	line-height: 1.1 !important;
	margin: 0 !important;
}
.istore-home__hero-headline {
	margin-bottom: 0 !important;
}
.istore-home__hero.et_pb_section {
	background-color: #ffffff !important;
}
.istore-home__hero-media .et_pb_image_wrap {
	background: transparent;
	border-radius: 0;
	display: block;
	overflow: visible;
}
.istore-home__feat-card--large .et_pb_image img,
.istore-home__feat-wide-media img,
.istore-home__shop-card .et_pb_image img,
.istore-home__cat-card .et_pb_image img {
	background: #ffffff;
	display: block;
	height: auto;
	margin-left: auto;
	margin-right: auto;
	max-height: none;
	object-fit: contain;
	width: auto;
	max-width: 100%;
}
.istore-home__feat-card--large .et_pb_image img {
	max-height: 300px;
}
.istore-home__shop-card .et_pb_image,
.istore-home__shop-card .et_pb_image_wrap {
	background: #ffffff !important;
}
.istore-home__feat-wide-media {
	background: #ffffff;
	border-radius: 8px;
	overflow: hidden;
}
.istore-home__cat-card .et_pb_image img {
	max-height: 140px;
}

/* Why Get Covered — title/body sizes owned by Divi Text modules */
.istore-home__why-body,
.istore-home__why-body p {
	margin: 0 !important;
}
.istore-home__why-body strong {
	font-weight: 700 !important;
}
.istore-home__why-cols.et_pb_row,
.istore-home__why-cta.et_pb_row {
	max-width: 900px !important;
	width: 78% !important;
}
.istore-home__cover-card {
	background: #ffffff;
	border-radius: 28px;
	box-shadow: none;
	padding: 24px 40px !important;
	margin-top: 20px;
	text-align: left;
}
.istore-home__cover-item {
	align-items: center;
	display: flex;
	gap: 18px;
	margin: 0 0 0 !important;
}
.istore-home__cover-item:last-child {
	margin-bottom: 0 !important;
}
.istore-home__cover-item img {
	display: block;
	flex: 0 0 64px;
	height: 64px;
	object-fit: contain;
	width: 64px;
}

/* Category cards */
.istore-home__cat-card {
	background: #ffffff;
	border: 1px solid #e8e8ed;
	border-radius: var(--istore-card-radius);
	box-shadow: var(--istore-card-shadow);
	padding: 24px 16px 28px !important;
	text-align: center;
}
.istore-home__cat-card h4 {
	margin: 0 0 16px !important;
}
.istore-home__cat-card .et_pb_image {
	margin-bottom: 12px !important;
}
.istore-home__cat-card .et_pb_image img {
	height: auto;
	max-height: 140px;
	object-fit: contain;
	width: auto;
}

/* Featured */
.istore-home__feat-card--large {
	background: #ffffff;
	border-radius: var(--istore-card-radius);
	box-shadow: var(--istore-card-shadow);
	padding: 32px 24px !important;
	text-align: center;
}
.istore-home__feat-card--large h3 {
	margin: 0 0 6px !important;
}
.istore-home__feat-stack {
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.istore-home__feat-stack > .et_pb_module {
	margin-bottom: 0 !important;
}
.istore-home__feat-card--wide {
	background: #ffffff !important;
	border-radius: var(--istore-card-radius);
	box-shadow: var(--istore-card-shadow);
	flex: 1 1 auto;
	overflow: hidden;
	padding: 20px !important;
}
.istore-home__feat-card--large .et_pb_image img {
	height: auto;
	max-height: 230px;
	object-fit: contain;
	width: auto;
}
.istore-home__feat-wide-inner {
	align-items: center;
	display: flex;
	gap: 20px;
}
.istore-home__feat-wide-media {
	flex: 0 0 46%;
}
.istore-home__feat-wide-media img {
	display: block;
	height: auto;
	max-width: 100%;
}
.istore-home__feat-wide-copy {
	flex: 1 1 auto;
	text-align: center;
}
.istore-home__feat-wide-copy h3 {
	margin: 0 0 6px !important;
}

/* Shop */
.istore-home__shop-card {
	background: #ffffff;
	border-radius: var(--istore-card-radius);
	box-shadow: var(--istore-card-shadow);
	padding: 20px 18px 24px !important;
}
.istore-home__shop-card .et_pb_image img {
	height: auto;
	max-height: 160px;
	object-fit: contain;
	width: auto;
}
.istore-home__shop-card .istore-home__price {
	margin-bottom: 0 !important;
	margin-top: 16px !important;
}
.istore-home__shop-card .istore-home__tagline {
	font-size: 14px !important;
	line-height: 1.4 !important;
	margin-bottom: 0 !important;
}

/* Policy — text size owned by Divi Text module */
.istore-home__policy-note p {
	margin: 0 0 10px !important;
}
.istore-home__policy-note p:last-child {
	margin-bottom: 0 !important;
}
.istore-home__policy-note a {
	color: var(--istore-blue) !important;
	text-decoration: none !important;
}
.istore-home__policy-note a:hover {
	text-decoration: underline !important;
}
.istore-home__btn--policy {
	min-width: 280px;
}

/* Desktop column gutters for card rows */
@media only screen and (min-width: 981px) {
	.istore-home__cats-row .et_pb_column,
	.istore-home__why-cols .et_pb_column,
	.istore-home__feat-row .et_pb_column {
		margin-right: 4% !important;
	}
	.istore-home__cats-row .et_pb_column:last-child,
	.istore-home__why-cols .et_pb_column:last-child,
	.istore-home__feat-row .et_pb_column:last-child {
		margin-right: 0 !important;
	}
	.istore-home__cats-row .et_pb_column.istore-home__cat-card {
		width: 22% !important;
	}
	.istore-home__why-cols .et_pb_column.istore-home__cover-col,
	.istore-home__feat-row > .et_pb_column {
		width: 48% !important;
	}
}

/* Tablet / mobile adaptation — Divi shortcode seeding emits desktop sizes; tablet/phone need CSS backup */
@media only screen and (max-width: 980px) {
	.istore-home__hero-headline h1 {
		font-size: 36px !important;
	}
	.istore-home__section-title h2,
	.istore-home__why-title h2 {
		font-size: 28px !important;
	}
	.istore-home__why-body,
	.istore-home__why-body p {
		font-size: 16px !important;
		line-height: 1.55 !important;
	}
	.istore-home__hero .istore-home__hero-copy {
		margin-bottom: 28px !important;
		text-align: center;
	}
	.istore-home__hero .et_pb_button_alignment_left {
		text-align: center;
	}
	.istore-home__cover-col,
	.istore-home__cat-card,
	.istore-home__shop-card,
	.istore-home__feat-card--large,
	.istore-home__feat-card--wide {
		margin-bottom: 20px !important;
	}
	.istore-home__cover-card {
		padding: 28px 24px !important;
	}
	.istore-home__feat-wide-inner {
		flex-direction: column;
		text-align: center;
	}
}

@media only screen and (max-width: 767px) {
	.istore-home__hero-headline h1 {
		font-size: 30px !important;
	}
	.istore-home__why-body {
		width: 100% !important;
	}
	.istore-home__policy-note {
		width: 100% !important;
	}
	.istore-home__btn--policy {
		min-width: 0;
		width: 100%;
	}
}

/**
 * Quick Quote (/quotation/) — scoped to .istore-quote
 -----------------------------------------------------------------------*/
.istore-quote {
	--istore-blue: #0071e3;
	--istore-text: #1d1d1f;
	--istore-muted: #6e6e73;
	--istore-surface: #f5f5f5;
	--istore-border: #d2d2d7;
	--istore-card-radius: 24px;
	--istore-input-radius: 12px;
	--istore-card-shadow: 0 2px 16px rgba(0, 0, 0, 0.15);
	--istore-card-pad: 40px 48px;
}
.istore-quote.et_pb_section {
	margin: 0 !important;
}
.istore-quote h1,
.istore-quote h2,
.istore-quote .istore-quote-card__title {
	color: var(--istore-text);
	font-family: "Inter", sans-serif !important;
	margin: 0;
	padding: 0;
}

/* Hero */
.istore-quote__notes {
	list-style: none !important;
}
.istore-quote__notes li {
	position: relative;
	color: var(--istore-text);
	font-size: 15px;
	line-height: 1.5;
	margin: 0 0 8px;
	padding-left: 1.15em;
}
.istore-quote__notes li::before {
	content: ">";
	position: absolute;
	left: 0;
	top: 0;
	color: var(--istore-blue);
	font-weight: 600;
}
.istore-quote__req {
	color: var(--istore-blue);
}
.istore-quote__hero-img .et_pb_image_wrap,
.istore-quote__hero-img img {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	display: block;
	margin: 0 auto;
	max-height: 280px;
	width: auto !important;
	object-fit: contain;
}

/* Form shell — kill old single-card look */
.istore-quote__form .insurance-application,
.istore-quote #gform_wrapper_5 {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	padding: 0 !important;
	margin: 0 !important;
}
.istore-quote #gform_wrapper_5 .gform_heading {
	display: none !important;
}
.istore-quote #gform_wrapper_5 .gform_body,
.istore-quote #gform_wrapper_5 .gform_fields {
	margin: 0 !important;
	padding: 0 !important;
}
.istore-quote #gform_wrapper_5 ul.gform_fields {
	display: flex;
	flex-direction: column;
	gap: 0;
}

/* Visual cards — one wrapper (.istore-quote-card) per group; single continuous shadow */
.istore-quote #gform_wrapper_5 .istore-quote-card {
	background: #fff !important;
	border: 0 !important;
	border-radius: var(--istore-card-radius) !important;
	box-shadow: var(--istore-card-shadow) !important;
	display: block !important;
	list-style: none !important;
	margin: 20px 0 28px !important;
	padding: 40px 48px !important;
	width: 100% !important;
	max-width: 100% !important;
}
.istore-quote #gform_wrapper_5 .istore-quote-card--personal {
	margin-bottom: 0 !important;
}
.istore-quote #gform_wrapper_5 .istore-quote-card__fields {
	display: flex;
	flex-direction: column;
	gap: 0;
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	width: 100%;
}
.istore-quote #gform_wrapper_5 .istore-quote-card .gfield.istore-quote-card--device,
.istore-quote #gform_wrapper_5 .istore-quote-card .gfield.istore-quote-card--details,
.istore-quote #gform_wrapper_5 .istore-quote-card .gfield.istore-quote-card--personal {
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	margin: 0 !important;
	padding: 12px 0 !important;
	width: 100% !important;
	max-width: 100% !important;
}
.istore-quote #gform_wrapper_5 .istore-quote-card .gfield.istore-quote-card-start {
	padding-top: 0 !important;
}
.istore-quote #gform_wrapper_5 .istore-quote-card .gfield.istore-quote-card-end {
	padding-bottom: 0 !important;
}

/* Hide date-restrict script HTML from layout (field 78) */
.istore-quote #gform_wrapper_5 #field_5_78 {
	height: 0 !important;
	margin: 0 !important;
	overflow: hidden !important;
	padding: 0 !important;
}

/* Section titles */
.istore-quote #gform_wrapper_5 .istore-quote-card__title,
.istore-quote #gform_wrapper_5 .gfield.istore-quote-section-heading h2 {
	color: var(--istore-text) !important;
	font-size: 54px !important;
	font-weight: 400 !important;
	line-height: 1.25 !important;
	margin: 0 0 8px !important;
	background: transparent !important;
	padding: 0 !important;
}
.istore-quote #gform_wrapper_5 .istore-quote-card__title strong {
	font-weight: 600 !important;
}
.istore-quote #gform_wrapper_5 .gfield.istore-quote-section-heading .ginput_container,
.istore-quote #gform_wrapper_5 .gfield.istore-quote-section-heading .gfield_label {
	display: none !important;
}
.istore-quote #gform_wrapper_5 .gfield.istore-quote-section-heading .gfield_html,
.istore-quote #gform_wrapper_5 .gfield.istore-quote-section-heading .gfield_html_formatted {
	padding: 0 !important;
	margin: 0 !important;
}

/* Labels */
.istore-quote #gform_wrapper_5 label.gfield_label,
.istore-quote #gform_wrapper_5 label.gfield_label.gform-field-label,
.istore-quote #gform_wrapper_5 legend.gfield_label,
.istore-quote #gform_wrapper_5 .gform-field-label__text,
.istore-quote #gform_wrapper_5 .istore-quote-group-label {
	color: var(--istore-blue) !important;
	font-size: 26px !important;
	font-weight: 600 !important;
	line-height: 1.3 !important;
	margin-bottom: 10px !important;
}
.istore-quote #gform_wrapper_5 .gfield_required {
	color: var(--istore-blue) !important;
	padding-left: 2px;
}
/* Sublabels only (Title / First / Last), not primary field labels */
.istore-quote #gform_wrapper_5 .ginput_container > label,
.istore-quote #gform_wrapper_5 .ginput_complex label {
	color: var(--istore-muted) !important;
	font-size: 12px !important;
	font-weight: 500 !important;
	margin-bottom: 4px !important;
}
/* Hide GF Partial Entries duplicate of hero note */
.istore-quote-page .partial_entry_warning,
.istore-quote .partial_entry_warning {
	display: none !important;
}

/* Inputs */
.istore-quote #gform_wrapper_5 input[type="text"],
.istore-quote #gform_wrapper_5 input[type="email"],
.istore-quote #gform_wrapper_5 input[type="tel"],
.istore-quote #gform_wrapper_5 input[type="number"],
.istore-quote #gform_wrapper_5 input[type="url"],
.istore-quote #gform_wrapper_5 select,
.istore-quote #gform_wrapper_5 textarea,
.istore-quote #gform_wrapper_5 .chosen-container-single .chosen-single {
	background: #fff !important;
	border: 1px solid var(--istore-border) !important;
	border-radius: var(--istore-input-radius) !important;
	box-shadow: none !important;
	color: var(--istore-text) !important;
	font-size: 15px !important;
	height: 48px !important;
	line-height: 46px !important;
	min-height: 48px !important;
	padding: 0 16px !important;
	width: 100% !important;
	max-width: 400px !important;
}
.istore-quote #gform_wrapper_5 select {
	-webkit-appearance: none;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'%3E%3Ccircle cx='14' cy='14' r='14' fill='%230071e3'/%3E%3Cpath d='M9 12l5 5 5-5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: right 10px center !important;
	background-size: 28px 28px !important;
	padding-right: 48px !important;
}
.istore-quote #gform_wrapper_5 .ginput_container_date {
	position: relative;
}
.istore-quote #gform_wrapper_5 .ginput_container_date input {
	padding-right: 48px !important;
}
.istore-quote #gform_wrapper_5 .gform-datepicker-toggle,
.istore-quote #gform_wrapper_5 .ui-datepicker-trigger {
	position: absolute !important;
	right: 12px !important;
	top: 50% !important;
	transform: translateY(-50%);
	z-index: 2;
}
.istore-quote #gform_wrapper_5 .gform-calendar-icon,
.istore-quote #gform_wrapper_5 .dashicons-calendar-alt {
	color: var(--istore-blue) !important;
	font-size: 22px !important;
	width: 22px !important;
	height: 22px !important;
}

/* Kill Divi .entry-content table cell borders inside GF datepicker */
.entry-content .gform-datepicker-calendar table:not(.variations),
.istore-quote .gform-datepicker-calendar table,
.istore-quote-page .gform-datepicker-calendar table {
	border: 0 !important;
	margin: 0 !important;
	width: 100% !important;
}
.entry-content .gform-datepicker-calendar tr td,
.entry-content .gform-datepicker-calendar tr th,
.istore-quote .gform-datepicker-calendar tr td,
.istore-quote .gform-datepicker-calendar tr th,
.istore-quote-page .gform-datepicker-calendar tr td,
.istore-quote-page .gform-datepicker-calendar tr th {
	border: 0 !important;
	border-top: 0 !important;
	padding: 5px !important;
}

/* Radios */
.istore-quote #gform_wrapper_5 .gfield_radio {
	display: flex;
	flex-direction: column;
	gap: 12px 28px;
	margin: 0 !important;
	padding: 0 !important;
}
.istore-quote #gform_wrapper_5 .gfield_radio li {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	gap: 8px;
	margin: 0 !important;
	padding: 0 !important;
	position: relative;
	white-space: nowrap;
	width: auto !important;
}
.istore-quote #gform_wrapper_5 .gfield_radio input[type="radio"] {
	accent-color: var(--istore-blue);
	height: 18px !important;
	margin: 0 !important;
	min-height: 0 !important;
	width: 18px !important;
}
.istore-quote #gform_wrapper_5 .gfield_radio label {
	color: var(--istore-text) !important;
	font-size: 15px !important;
	font-weight: 400 !important;
	margin: 0 !important;
	padding: 0 !important;
}

/* Pre-Owned tooltips (quotation only) */
.istore-quote #field_5_48 .gfield_radio,
.istore-quote #field_5_48 .gfield_radio li {
	overflow: visible !important;
}
.istore-quote #field_5_48 {
	overflow: visible !important;
	position: relative;
	z-index: 6;
}
.istore-quote #field_5_48 .gfield_radio li {
	z-index: 1;
}
.istore-quote #field_5_48 .gfield_radio li.is-tooltip-open,
.istore-quote #field_5_48 .gfield_radio li:hover,
.istore-quote #field_5_48 .gfield_radio li:focus-within {
	z-index: 30;
}
.istore-quote #field_5_48 .info-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--istore-blue);
	border: 0;
	border-radius: 50%;
	color: #fff;
	cursor: pointer;
	flex-shrink: 0;
	font-family: "Inter", sans-serif;
	font-size: 11px;
	font-style: italic;
	font-weight: 700;
	height: 18px;
	line-height: 1;
	margin: 0;
	padding: 0;
	width: 18px;
}
.istore-quote #field_5_48 .tooltip-text {
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
	color: var(--istore-text);
	display: none;
	font-size: 13px;
	left: 0;
	line-height: 1.4;
	max-width: 280px;
	padding: 12px 14px;
	position: absolute;
	top: calc(100% + 8px);
	white-space: normal;
	width: max-content;
	z-index: 40;
}
.istore-quote #field_5_48 li:hover .tooltip-text,
.istore-quote #field_5_48 li:focus-within .tooltip-text,
.istore-quote #field_5_48 li.is-tooltip-open .tooltip-text,
.istore-quote #field_5_48 .info-icon:focus + .tooltip-text {
	display: block;
}

/**
 * Details card — label left / field right
 -----------------------------------------------------------------------*/
.istore-quote #gform_wrapper_5 .istore-quote-card--details > .istore-quote-card__fields > .gfield {
	align-items: center;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	gap: 16px 40px;
	width: 100% !important;
	max-width: 100% !important;
}
.istore-quote #gform_wrapper_5 .istore-quote-card--details > .istore-quote-card__fields > .gfield > .gfield_label,
.istore-quote #gform_wrapper_5 .istore-quote-card--details > .istore-quote-card__fields > .gfield > legend.gfield_label {
	color: var(--istore-text) !important;
	flex: 0 0 200px;
	font-size: 24px !important;
	font-weight: 600 !important;
	line-height: 1.3 !important;
	margin: 0 !important;
	max-width: 200px !important;
	padding: 0 !important;
	width: 200px !important;
}
.istore-quote #gform_wrapper_5 .istore-quote-card--details > .istore-quote-card__fields > .gfield > .gfield_label .gform-field-label__text,
.istore-quote #gform_wrapper_5 .istore-quote-card--details > .istore-quote-card__fields > .gfield > .gfield_label .gfield_required {
	color: inherit !important;
}
.istore-quote #gform_wrapper_5 .istore-quote-card--details > .istore-quote-card__fields > #field_5_49 > .gfield_label,
.istore-quote #gform_wrapper_5 .istore-quote-card--details > .istore-quote-card__fields > #field_5_49 > .gfield_label .gform-field-label__text,
.istore-quote #gform_wrapper_5 .istore-quote-card--details > .istore-quote-card__fields > #field_5_49 > .gfield_label .gfield_required {
	color: var(--istore-blue) !important;
}
.istore-quote #gform_wrapper_5 .istore-quote-card--details > .istore-quote-card__fields > .gfield > .ginput_container {
	flex: 0 1 320px;
	margin: 0 !important;
	max-width: 320px !important;
	position: relative;
	width: 320px !important;
}
.istore-quote #gform_wrapper_5 .istore-quote-card--details > .istore-quote-card__fields > .gfield > .ginput_container select,
.istore-quote #gform_wrapper_5 .istore-quote-card--details > .istore-quote-card__fields > .gfield > .ginput_container input[type="text"],
.istore-quote #gform_wrapper_5 .istore-quote-card--details > .istore-quote-card__fields > .gfield > .ginput_container input[type="number"] {
	max-width: 100% !important;
	width: 100% !important;
}

/**
 * Custom selects — Device Type radios + native <select> enhancers
 -----------------------------------------------------------------------*/
.istore-quote #field_5_49.istore-quote-device-type,
.istore-quote .istore-quote-select {
	position: relative;
	z-index: 5;
}
.istore-quote .istore-quote-select {
	display: block;
	max-width: 100%;
	width: 100%;
}
.istore-quote .istore-quote-select.is-open,
.istore-quote #field_5_49.is-open {
	z-index: 40;
}
.istore-quote .istore-quote-select.is-disabled .istore-quote-select-trigger {
	cursor: not-allowed;
	opacity: 0.55;
}

/* Keep real <select> for GF / core-grail; hide native chrome */
.istore-quote #gform_wrapper_5 .istore-quote-select__native {
	background-image: none !important;
	height: 1px !important;
	left: 0;
	line-height: 0 !important;
	margin: 0 !important;
	max-width: 1px !important;
	min-height: 0 !important;
	opacity: 0 !important;
	padding: 0 !important;
	pointer-events: none;
	position: absolute !important;
	top: 0;
	width: 1px !important;
}

.istore-quote .istore-quote-select-trigger {
	align-items: center;
	background: #fff;
	border: 1px solid var(--istore-border);
	border-radius: var(--istore-input-radius);
	color: var(--istore-text);
	cursor: pointer;
	display: flex;
	font-size: 15px;
	height: 48px;
	justify-content: space-between;
	padding: 0 12px 0 16px;
	text-align: left;
	width: 100%;
}
.istore-quote .istore-quote-select-trigger__label {
	display: block;
	flex: 1 1 auto;
	max-width: none !important;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	width: auto !important;
}
/* .ginput_complex span { width:100% } must not stretch the chevron */
.istore-quote .istore-quote-select-trigger__chevron,
.istore-quote #gform_wrapper_5 .ginput_complex .istore-quote-select-trigger__chevron {
	background: var(--istore-blue);
	border-radius: 50%;
	display: block;
	flex: 0 0 28px;
	flex-shrink: 0;
	height: 28px !important;
	margin-left: 8px;
	max-width: 28px !important;
	position: relative;
	width: 28px !important;
}
.istore-quote .istore-quote-select-trigger__chevron::after {
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-top: 6px solid #fff;
	content: "";
	left: 50%;
	position: absolute;
	top: 52%;
	transform: translate(-50%, -40%);
}
.istore-quote .istore-quote-select.is-open .istore-quote-select-trigger__chevron::after,
.istore-quote #field_5_49.is-open .istore-quote-select-trigger__chevron::after {
	border-bottom: 6px solid #fff;
	border-top: 0;
	top: 48%;
	transform: translate(-50%, -50%);
}

.istore-quote .istore-quote-select-panel,
.istore-quote #field_5_49 .gfield_radio.istore-quote-select-panel {
	background: #fff;
	border-radius: 14px;
	box-shadow: 0 10px 32px rgba(0, 0, 0, 0.14);
	display: none;
	flex-direction: column;
	gap: 0;
	left: 0;
	list-style: none;
	margin: 8px 0 0 !important;
	max-height: 280px;
	max-width: 100%;
	overflow-y: auto;
	padding: 10px 0 !important;
	position: absolute;
	right: 0;
	top: 100%;
	width: 100%;
	z-index: 30;
}
.istore-quote .istore-quote-select.is-open > .istore-quote-select-panel,
.istore-quote #field_5_49.is-open .gfield_radio.istore-quote-select-panel {
	display: flex;
}

.istore-quote .istore-quote-select-panel .istore-quote-select-option {
	align-items: center;
	color: var(--istore-text);
	cursor: pointer;
	display: flex;
	font-size: 15px;
	gap: 8px;
	line-height: 1.35;
	padding: 10px 18px;
}
.istore-quote .istore-quote-select-panel .istore-quote-select-option::before {
	background: #fff;
	border: 2px solid #86868b;
	border-radius: 50%;
	box-sizing: border-box;
	content: "";
	flex-shrink: 0;
	height: 18px;
	width: 18px;
}
.istore-quote .istore-quote-select-panel .istore-quote-select-option.is-selected::before {
	border-color: var(--istore-blue);
	box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 9px var(--istore-blue);
}
.istore-quote .istore-quote-select-panel .istore-quote-select-option:hover,
.istore-quote .istore-quote-select-panel .istore-quote-select-option.is-selected {
	background: #f5f5f7;
}

.istore-quote #field_5_49 .gfield_radio.istore-quote-select-panel li {
	align-items: center;
	display: flex !important;
	gap: 8px;
	padding: 0 !important;
	width: 100% !important;
}
.istore-quote #field_5_49 .gfield_radio.istore-quote-select-panel li input[type="radio"] {
	accent-color: var(--istore-blue);
	align-self: center;
	flex-shrink: 0;
	height: 18px !important;
	margin: 0 0 0 18px !important;
	min-height: 0 !important;
	width: 18px !important;
}
.istore-quote #field_5_49 .gfield_radio.istore-quote-select-panel li label {
	cursor: pointer;
	display: block !important;
	flex: 1 1 auto;
	margin: 0 !important;
	max-width: none !important;
	padding: 10px 18px 10px 0 !important;
	width: auto !important;
}
.istore-quote #field_5_49 .gfield_radio.istore-quote-select-panel li:hover {
	background: #f5f5f7;
}

/* Personal card: match blue value colour on custom triggers */
.istore-quote #gform_wrapper_5 .istore-quote-card--personal .istore-quote-select-trigger {
	color: var(--istore-blue);
}

/* Name complex */
.istore-quote #gform_wrapper_5 .ginput_complex {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.istore-quote #gform_wrapper_5 .ginput_complex span {
	display: block;
	width: 100% !important;
}
.istore-quote #gform_wrapper_5 .ginput_complex label {
	display: block;
	margin-bottom: 4px !important;
}

/**
 * Personal card — label left / field right
 -----------------------------------------------------------------------*/
.istore-quote #gform_wrapper_5 .istore-quote-card--personal > .istore-quote-card__fields > .gfield:not(.istore-quote-section-heading):not(.istore-quote-contact-heading):not(.apply-channel) {
	align-items: flex-start;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	gap: 16px 40px;
	width: 100% !important;
	max-width: 100% !important;
}
.istore-quote #gform_wrapper_5 .istore-quote-card--personal > .istore-quote-card__fields > .gfield.contact-phone:not(.istore-quote-section-heading):not(.istore-quote-contact-heading),
.istore-quote #gform_wrapper_5 .istore-quote-card--personal > .istore-quote-card__fields > .gfield.contact-email:not(.istore-quote-section-heading):not(.istore-quote-contact-heading) {
	align-items: center;
}
.istore-quote #gform_wrapper_5 .istore-quote-card--personal > .istore-quote-card__fields > .gfield:not(.istore-quote-section-heading):not(.istore-quote-contact-heading):not(.apply-channel) > .gfield_label,
.istore-quote #gform_wrapper_5 .istore-quote-card--personal > .istore-quote-card__fields > .gfield:not(.istore-quote-section-heading):not(.istore-quote-contact-heading):not(.apply-channel) > legend.gfield_label {
	color: var(--istore-text) !important;
	flex: 0 0 180px;
	font-size: 18px !important;
	font-weight: 600 !important;
	line-height: 1.3 !important;
	margin: 0 !important;
	max-width: 180px !important;
	padding: 0 !important;
	width: 180px !important;
}
.istore-quote #gform_wrapper_5 .istore-quote-card--personal > .istore-quote-card__fields > .gfield:not(.istore-quote-section-heading):not(.istore-quote-contact-heading):not(.apply-channel) > .gfield_label .gform-field-label__text,
.istore-quote #gform_wrapper_5 .istore-quote-card--personal > .istore-quote-card__fields > .gfield:not(.istore-quote-section-heading):not(.istore-quote-contact-heading):not(.apply-channel) > .gfield_label .gfield_required {
	color: inherit !important;
}
.istore-quote #gform_wrapper_5 .istore-quote-card--personal > .istore-quote-card__fields > #field_5_66 > .gfield_label,
.istore-quote #gform_wrapper_5 .istore-quote-card--personal > .istore-quote-card__fields > #field_5_66 > .gfield_label .gform-field-label__text,
.istore-quote #gform_wrapper_5 .istore-quote-card--personal > .istore-quote-card__fields > #field_5_66 > .gfield_label .gfield_required {
	color: var(--istore-blue) !important;
}
.istore-quote #gform_wrapper_5 .istore-quote-card--personal > .istore-quote-card__fields > .gfield:not(.istore-quote-section-heading):not(.istore-quote-contact-heading):not(.apply-channel) > .ginput_container {
	flex: 0 1 320px;
	margin: 0 !important;
	max-width: 320px !important;
	width: 320px !important;
}
.istore-quote #gform_wrapper_5 .istore-quote-card--personal > .istore-quote-card__fields > .gfield > .ginput_container select,
.istore-quote #gform_wrapper_5 .istore-quote-card--personal > .istore-quote-card__fields > .gfield > .ginput_container input[type="text"],
.istore-quote #gform_wrapper_5 .istore-quote-card--personal > .istore-quote-card__fields > .gfield > .ginput_container input[type="email"],
.istore-quote #gform_wrapper_5 .istore-quote-card--personal > .istore-quote-card__fields > .gfield > .ginput_container input[type="tel"],
.istore-quote #gform_wrapper_5 .istore-quote-card--personal > .istore-quote-card__fields > .gfield > .ginput_container input[type="number"] {
	color: var(--istore-blue) !important;
	max-width: 100% !important;
	width: 100% !important;
}
.istore-quote #gform_wrapper_5 .istore-quote-card--personal > .istore-quote-card__fields > #field_5_66 .ginput_complex {
	gap: 14px;
	max-width: 320px;
	width: 100%;
}
.istore-quote #gform_wrapper_5 .istore-quote-card--personal > .istore-quote-card__fields > #field_5_66 .ginput_complex span {
	max-width: 100% !important;
	width: 100% !important;
}
.istore-quote #gform_wrapper_5 .istore-quote-card--personal > .istore-quote-card__fields > #field_5_66 .ginput_complex label {
	color: var(--istore-muted) !important;
	font-size: 12px !important;
	font-weight: 500 !important;
	margin-bottom: 4px !important;
}

/* Contact Details group heading */
.istore-quote #gform_wrapper_5 .gfield.istore-quote-contact-heading .gfield_label {
	display: none !important;
}
.istore-quote #gform_wrapper_5 .istore-quote-group-label {
	color: var(--istore-blue) !important;
	font-size: 18px !important;
	font-weight: 600 !important;
	line-height: 1.3 !important;
	margin: 20px 0 12px !important;
}
.istore-quote #gform_wrapper_5 .istore-quote-group-label .gfield_required {
	color: var(--istore-blue) !important;
}

/* Contact rows — icon + label left, field right */
.istore-quote #gform_wrapper_5 .gfield.contact-phone > .gfield_label,
.istore-quote #gform_wrapper_5 .gfield.contact-email > .gfield_label {
	align-items: center;
	color: var(--istore-text) !important;
	display: flex !important;
	font-size: 16px !important;
	font-weight: 500 !important;
	gap: 10px;
}
.istore-quote #gform_wrapper_5 .gfield.contact-phone > .gfield_label .gform-field-label__text,
.istore-quote #gform_wrapper_5 .gfield.contact-email > .gfield_label .gform-field-label__text {
	color: var(--istore-text) !important;
	font-size: inherit !important;
	font-weight: inherit !important;
}
.istore-quote #gform_wrapper_5 .gfield.contact-phone .gfield_required,
.istore-quote #gform_wrapper_5 .gfield.contact-email .gfield_required {
	display: none !important;
}
.istore-quote #gform_wrapper_5 .gfield.contact-phone > .gfield_label::before,
.istore-quote #gform_wrapper_5 .gfield.contact-email > .gfield_label::before {
	background-color: var(--istore-blue);
	background-position: center;
	background-repeat: no-repeat;
	background-size: 14px 14px;
	border-radius: 50%;
	content: "";
	display: inline-block;
	flex-shrink: 0;
	height: 28px;
	width: 28px;
	margin-top: -0.5em;
}
.istore-quote #gform_wrapper_5 .gfield.contact-phone > .gfield_label::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.81.36 1.6.68 2.35a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.75.32 1.54.55 2.35.68A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
}
.istore-quote #gform_wrapper_5 .gfield.contact-email > .gfield_label::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'/%3E%3Cpolyline points='22,6 12,13 2,6'/%3E%3C/svg%3E");
}
.istore-quote #gform_wrapper_5 .gfield.contact-phone .ginput_container,
.istore-quote #gform_wrapper_5 .gfield.contact-email .ginput_container {
	position: relative;
}
.istore-quote #gform_wrapper_5 .gfield.contact-phone input,
.istore-quote #gform_wrapper_5 .gfield.contact-email input {
	padding-left: 16px !important;
}
/* Terms HTML duplicates policy download row */
.istore-quote #gform_wrapper_5 .gfield.terms-and-conditions,
.istore-quote #field_5_69 {
	display: none !important;
}
/* Capitalise Device Type label presentation */
.istore-quote #field_5_49 .gform-field-label__text {
	text-transform: capitalize;
}

/* Quote response + submit */
.istore-quote #gform_wrapper_5 .gfield.quote-response,
.istore-quote #gform_wrapper_5 .gfield.terms-and-conditions {
	background: transparent !important;
	margin: 16px 0 !important;
	padding: 0 !important;
	width: 100% !important;
	max-width: 100% !important;
}
.istore-quote #gform_wrapper_5 .gfield.quote-response .ginput_container,
.istore-quote #gform_wrapper_5 .gfield.quote-response .gfield_html,
.istore-quote #gform_wrapper_5 .gfield.quote-response .gfield_html_formatted {
	width: 100% !important;
	max-width: 100% !important;
}
.istore-quote .quick-quotation-response:empty {
	display: none !important;
}
.istore-quote .quick-quotation-response {
	background: #fff;
	border-radius: var(--istore-card-radius);
	box-shadow: var(--istore-card-shadow);
	color: var(--istore-text);
	font-size: 17px;
	font-weight: 400;
	line-height: 1.45;
	margin: 8px 0 24px;
	max-width: 100%;
	padding: 28px 36px;
	width: 100%;
}
.istore-quote .quick-quotation-response.istore-quote-premium {
	align-items: baseline;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
}
.istore-quote .quick-quotation-response .istore-quote-premium__label {
	color: var(--istore-muted);
	flex: 1 1 180px;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.35;
	margin: 0;
}
.istore-quote .quick-quotation-response .istore-quote-premium__amount {
	color: var(--istore-blue);
	flex: 0 1 auto;
	font-size: 40px;
	font-weight: 600;
	letter-spacing: -0.02em;
	line-height: 1.1;
	margin: 0;
}
.istore-quote .quick-quotation-response .istore-quote-premium__period {
	color: var(--istore-muted);
	font-size: 15px;
	font-weight: 500;
	margin: 0 0 0 4px;
}
.istore-quote .quick-quotation-response.istore-quote-premium--message {
	color: var(--istore-text);
	display: block;
	font-size: 16px;
	line-height: 1.5;
}
.istore-quote .quick-quotation-response strong {
	color: var(--istore-blue);
	font-weight: 600;
}
.istore-quote #gform_wrapper_5 .gform_footer,
.istore-quote #gform_wrapper_5 .gform_page_footer {
	margin: 8px 0 60px !important;
	padding: 0 !important;
	text-align: left !important;
}
.istore-quote #gform_wrapper_5 .gform_button,
.istore-quote #gform_wrapper_5 .core-get-quotation,
.istore-quote #gform_wrapper_5 input[type="submit"] {
	background: var(--istore-blue) !important;
	border: 0 !important;
	border-radius: 40px !important;
	box-shadow: none !important;
	color: #fff !important;
	cursor: pointer;
	font-size: 16px !important;
	font-weight: 600 !important;
	height: auto !important;
	line-height: 1.2 !important;
	min-height: 0 !important;
	padding: 14px 28px !important;
	width: auto !important;
}

/* Policy download */
.istore-quote__policy-inner {
	align-items: center;
	justify-content: center;
	display: flex;
	flex-wrap: wrap;
	gap: 16px 20px;
}
.istore-quote__download {
	align-items: center;
	background: var(--istore-blue);
	border-radius: 40px;
	color: #fff !important;
	display: inline-flex;
	font-size: 13px;
	font-weight: 700;
	gap: 12px;
	line-height: 1;
	padding: 6px 22px 6px 6px;
	text-decoration: none !important;
	text-transform: uppercase;
}
.istore-quote__download:hover {
	opacity: 0.92;
	color: #fff !important;
}
.istore-quote__download-icon {
	background: #fff;
	border-radius: 50%;
	box-sizing: border-box;
	display: inline-block;
	flex-shrink: 0;
	height: 36px;
	position: relative;
	width: 36px;
}
.istore-quote__download-icon::after {
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-top: 6px solid var(--istore-blue);
	content: "";
	left: 50%;
	position: absolute;
	top: 58%;
	transform: translate(-50%, -50%);
}
.istore-quote__download-icon::before {
	background: var(--istore-blue);
	content: "";
	height: 10px;
	left: 50%;
	position: absolute;
	top: 8px;
	transform: translateX(-50%);
	width: 2px;
}
.istore-quote__policy-text {
	color: var(--istore-text);
	font-size: 15px;
	margin: 0;
}
.istore-quote__policy-text a {
	color: var(--istore-blue) !important;
	font-weight: 600;
	text-decoration: none;
}
.istore-quote__policy-text a:hover {
	text-decoration: underline;
}

/* Override legacy left-label widths from core-grail */
.istore-quote #gform_wrapper_5 .gfield,
.istore-quote #gform_wrapper_5 .gfield .ginput_container,
.istore-quote #gform_wrapper_5 .top_label .gfield_label,
.istore-quote #gform_wrapper_5 .gform_legacy_markup_wrapper .top_label div.ginput_container {
	width: 100% !important;
	max-width: 400px !important;
}
.istore-quote #gform_wrapper_5 .gform_legacy_markup_wrapper .gfield_label {
	float: none !important;
}

@media only screen and (max-width: 980px) {
	.istore-quote__title h1 {
		font-size: 32px !important;
	}
	.istore-quote #gform_wrapper_5 .istore-quote-card {
		padding: 28px !important;
	}
	.istore-quote #gform_wrapper_5 .istore-quote-card .gfield.istore-quote-card--device,
	.istore-quote #gform_wrapper_5 .istore-quote-card .gfield.istore-quote-card--details,
	.istore-quote #gform_wrapper_5 .istore-quote-card .gfield.istore-quote-card--personal {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}
}

@media only screen and (max-width: 767px) {
	.istore-quote__title h1 {
		font-size: 28px !important;
		text-align: center;
	}
	.istore-quote__notes {
		margin-bottom: 16px;
	}
	.istore-quote__hero-img {
		margin-top: 8px;
	}
	.istore-quote__policy-inner {
		align-items: flex-start;
		flex-direction: column;
	}
	.istore-quote #gform_wrapper_5 .gfield_radio {
		flex-direction: column;
		align-items: flex-start;
	}
	.istore-quote #gform_wrapper_5 .istore-quote-card--details > .istore-quote-card__fields > .gfield {
		align-items: stretch;
		flex-direction: column;
		gap: 8px;
	}
	.istore-quote #gform_wrapper_5 .istore-quote-card--details > .istore-quote-card__fields > .gfield > .gfield_label,
	.istore-quote #gform_wrapper_5 .istore-quote-card--details > .istore-quote-card__fields > .gfield > legend.gfield_label {
		flex: none;
		max-width: 100% !important;
		width: 100% !important;
	}
	.istore-quote #gform_wrapper_5 .istore-quote-card--details > .istore-quote-card__fields > .gfield > .ginput_container {
		flex: none;
		max-width: 100% !important;
		width: 100% !important;
	}
	.istore-quote #gform_wrapper_5 .istore-quote-card--personal > .istore-quote-card__fields > .gfield:not(.istore-quote-section-heading):not(.istore-quote-contact-heading):not(.apply-channel) {
		align-items: stretch;
		flex-direction: column;
		gap: 8px;
	}
	.istore-quote #gform_wrapper_5 .istore-quote-card--personal > .istore-quote-card__fields > .gfield:not(.istore-quote-section-heading):not(.istore-quote-contact-heading):not(.apply-channel) > .gfield_label,
	.istore-quote #gform_wrapper_5 .istore-quote-card--personal > .istore-quote-card__fields > .gfield:not(.istore-quote-section-heading):not(.istore-quote-contact-heading):not(.apply-channel) > legend.gfield_label {
		flex: none;
		max-width: 100% !important;
		width: 100% !important;
	}
	.istore-quote #gform_wrapper_5 .istore-quote-card--personal > .istore-quote-card__fields > .gfield:not(.istore-quote-section-heading):not(.istore-quote-contact-heading):not(.apply-channel) > .ginput_container {
		flex: none;
		max-width: 100% !important;
		width: 100% !important;
	}
	.istore-quote #gform_wrapper_5 .istore-quote-card--personal > .istore-quote-card__fields > #field_5_66 .ginput_complex {
		max-width: 100%;
	}
}
