/* ============================================
   Product page — inline trust badge style
   ============================================ */
.gg-product__trust-delivery {
	flex-direction: column;
	align-items: flex-start !important;
}

.gged-delivery-estimate--trust {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--gg-dark-gray, #444);
	line-height: 1.4;
}

.gged-delivery-estimate--trust svg {
	width: 18px;
	height: 18px;
	fill: var(--gg-success, #43A047);
	flex-shrink: 0;
}

.gged-delivery-estimate--trust .gged-text {
	display: inline;
}

.gged-delivery-estimate--trust .gged-text strong {
	color: var(--gg-success, #43A047);
}

.gged-delivery-estimate--trust .gged-to-location {
	color: var(--gg-dark-gray, #666);
	font-weight: 400;
}

.gged-delivery-estimate--trust a.gged-change-location {
	color: var(--gg-primary, #0097A7);
	text-decoration: underline;
	text-decoration-style: dotted;
	text-underline-offset: 2px;
	cursor: pointer;
	font-weight: 500;
	white-space: nowrap;
}

.gged-delivery-estimate--trust a.gged-change-location:hover {
	color: var(--gg-primary-dark, #00838F);
	text-decoration-style: solid;
}

/* Location modal — compact inline form */
.gged-location-modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
}

.gged-location-modal {
	background: #fff;
	border-radius: 8px;
	padding: 24px;
	max-width: 380px;
	width: 90%;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.gged-location-modal h3 {
	margin: 0 0 8px;
	font-size: 1.125rem;
}

.gged-location-modal p {
	margin: 0 0 16px;
	font-size: 0.875rem;
	color: var(--gg-dark-gray, #666);
}

.gged-location-modal-form {
	margin-bottom: 16px;
}

.gged-modal-zip-input {
	width: 100%;
	padding: 10px 12px;
	border: 1.5px solid var(--gg-light-gray, #E0E0E0);
	border-radius: var(--gg-radius, 6px);
	font-size: 1rem;
	box-sizing: border-box;
}

.gged-modal-zip-input:focus {
	border-color: var(--gg-primary, #0097A7);
	outline: none;
	box-shadow: 0 0 0 3px rgba(0, 151, 167, 0.12);
}

/* ============================================
   Cart summary sidebar (GlucoseGear custom cart)
   ============================================ */
.gg-cart-summary__delivery {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 1rem 0;
	padding: 0;
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--gg-dark-gray, #444);
}

.gg-cart-summary__delivery svg {
	width: 18px;
	height: 18px;
	fill: var(--gg-success, #43A047);
	flex-shrink: 0;
}

.gg-cart-summary__delivery strong {
	color: var(--gg-success, #43A047);
}

.gg-cart-summary__delivery a.gged-change-location {
	color: var(--gg-primary, #0097A7);
	text-decoration: underline;
	text-decoration-style: dotted;
	text-underline-offset: 2px;
	cursor: pointer;
	white-space: nowrap;
}

.gg-cart-summary__delivery a.gged-change-location:hover {
	text-decoration-style: solid;
}

.gg-cart-summary__delivery .gged-to-location {
	font-weight: 400;
}

/* ============================================
   Cart / Checkout table rows
   ============================================ */
.gged-delivery-estimate--table {
	font-size: 0.875rem;
	line-height: 1.4;
}

.gged-delivery-estimate--table strong {
	color: var(--gg-success, #43A047);
}

.gged-delivery-estimate--table a.gged-change-location {
	color: var(--gg-primary, #0097A7);
	text-decoration: underline;
	text-decoration-style: dotted;
	text-underline-offset: 2px;
	cursor: pointer;
}

.gged-delivery-estimate--table a.gged-change-location:hover {
	text-decoration-style: solid;
}

/* ============================================
   Address validation modal
   ============================================ */
.gged-address-modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
}

.gged-address-modal {
	background: #fff;
	border-radius: 8px;
	padding: 24px;
	max-width: 520px;
	width: 90%;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.gged-address-modal h3 {
	margin: 0 0 16px;
	font-size: 18px;
}

.gged-address-option {
	border: 2px solid var(--gg-light-gray, #ddd);
	border-radius: 6px;
	padding: 12px 14px;
	margin-bottom: 10px;
	cursor: pointer;
	transition: border-color 0.2s;
}

.gged-address-option:hover,
.gged-address-option.selected {
	border-color: var(--gg-primary, #0097A7);
	background: rgba(0, 151, 167, 0.04);
}

.gged-address-option label {
	display: block;
	cursor: pointer;
	font-size: 14px;
}

.gged-address-option .gged-option-title {
	font-weight: 600;
	margin-bottom: 4px;
}

.gged-address-modal-actions {
	margin-top: 16px;
	display: flex;
	gap: 10px;
	justify-content: flex-end;
}

.gged-btn-primary {
	background: var(--gg-primary, #0097A7);
	color: #fff;
	border: none;
	padding: 8px 20px;
	border-radius: var(--gg-radius, 6px);
	font-size: 14px;
	cursor: pointer;
}

.gged-btn-primary:hover {
	background: var(--gg-primary-dark, #00838F);
}

.gged-btn-secondary {
	background: var(--gg-off-white, #f7f7f7);
	color: var(--gg-dark-gray, #333);
	border: 1.5px solid var(--gg-light-gray, #ccc);
	padding: 8px 20px;
	border-radius: var(--gg-radius, 6px);
	font-size: 14px;
	cursor: pointer;
}

/* ============================================
   Block checkout delivery estimate
   ============================================ */
.gged-block-checkout-delivery {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.75rem 1rem;
	margin-top: 1rem;
	font-size: 0.875rem;
	font-weight: 500;
	color: #455A64;
	border-top: 1px solid #E8ECF1;
}

.gged-block-checkout-delivery .gged-text {
	line-height: 1.4;
}
